Permalink
Browse files

remove a couple more remnants of legacy real_width and _height

  • Loading branch information...
1 parent 6fd6dd1 commit 6a82bf3b0a78db9e38f1e7e940c3cff5972063fe @ddennedy ddennedy committed Mar 5, 2012
Showing with 2 additions and 6 deletions.
  1. +0 −2 src/modules/decklink/producer_decklink.cpp
  2. +2 −4 src/modules/qimage/qimage_wrapper.cpp
@@ -323,10 +323,8 @@ class DeckLinkProducer
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 );
@@ -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;
}

0 comments on commit 6a82bf3

Please sign in to comment.