]> git.sesse.net Git - mlt/commitdiff
remove a couple more remnants of legacy real_width and _height
authorDan Dennedy <dan@dennedy.org>
Mon, 5 Mar 2012 05:25:20 +0000 (21:25 -0800)
committerDan Dennedy <dan@dennedy.org>
Mon, 5 Mar 2012 07:08:07 +0000 (23:08 -0800)
src/modules/decklink/producer_decklink.cpp
src/modules/qimage/qimage_wrapper.cpp

index ea00f9452541365f4218fa9fffea9b09bbe7401b..77ed44b2b864ecb2cea777b0b1fe74e4de93d20e 100644 (file)
@@ -323,10 +323,8 @@ public:
                        mlt_properties_set_int( properties, "meta.media.frame_rate_num", profile->frame_rate_num );
                        mlt_properties_set_int( properties, "meta.media.frame_rate_den", profile->frame_rate_den );
                        mlt_properties_set_int( properties, "width", profile->width );
-                       mlt_properties_set_int( properties, "real_width", profile->width );
                        mlt_properties_set_int( properties, "meta.media.width", profile->width );
                        mlt_properties_set_int( properties, "height", profile->height );
-                       mlt_properties_set_int( properties, "real_height", profile->height );
                        mlt_properties_set_int( properties, "meta.media.height", profile->height );
                        mlt_properties_set_int( properties, "format", mlt_image_yuv422 );
                        mlt_properties_set_int( properties, "colorspace", m_colorspace );
index 5345ab2e22fdfa0ea8f537361ddb23f7d7978c75..98c7f97bfd0bfd02c3226c5e5d9fcd5fb7a304d7 100644 (file)
@@ -194,8 +194,8 @@ int refresh_qimage( producer_qimage self, mlt_frame frame )
                        self->current_height = qimage->height( );
 
                        mlt_events_block( producer_props, NULL );
-                       mlt_properties_set_int( producer_props, "_real_width", self->current_width );
-                       mlt_properties_set_int( producer_props, "_real_height", self->current_height );
+                       mlt_properties_set_int( producer_props, "meta.media.width", self->current_width );
+                       mlt_properties_set_int( producer_props, "meta.media.height", self->current_height );
                        mlt_properties_set_int( producer_props, "_disable_exif", disable_exif );
                        mlt_events_unblock( producer_props, NULL );
                }
@@ -209,8 +209,6 @@ int refresh_qimage( producer_qimage self, mlt_frame frame )
        // Set width/height of frame
        mlt_properties_set_int( properties, "width", self->current_width );
        mlt_properties_set_int( properties, "height", self->current_height );
-       mlt_properties_set_int( properties, "real_width", mlt_properties_get_int( producer_props, "_real_width" ) );
-       mlt_properties_set_int( properties, "real_height", mlt_properties_get_int( producer_props, "_real_height" ) );
 
        return image_idx;
 }