Skip to content

Commit

Permalink
remove a couple more remnants of legacy real_width and _height
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Mar 5, 2012
1 parent 6fd6dd1 commit 6a82bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/modules/decklink/producer_decklink.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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_num", profile->frame_rate_num );
mlt_properties_set_int( properties, "meta.media.frame_rate_den", profile->frame_rate_den ); 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, "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, "meta.media.width", profile->width );
mlt_properties_set_int( properties, "height", profile->height ); 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, "meta.media.height", profile->height );
mlt_properties_set_int( properties, "format", mlt_image_yuv422 ); mlt_properties_set_int( properties, "format", mlt_image_yuv422 );
mlt_properties_set_int( properties, "colorspace", m_colorspace ); mlt_properties_set_int( properties, "colorspace", m_colorspace );
Expand Down
6 changes: 2 additions & 4 deletions src/modules/qimage/qimage_wrapper.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ int refresh_qimage( producer_qimage self, mlt_frame frame )
self->current_height = qimage->height( ); self->current_height = qimage->height( );


mlt_events_block( producer_props, NULL ); mlt_events_block( producer_props, NULL );
mlt_properties_set_int( producer_props, "_real_width", self->current_width ); mlt_properties_set_int( producer_props, "meta.media.width", self->current_width );
mlt_properties_set_int( producer_props, "_real_height", self->current_height ); mlt_properties_set_int( producer_props, "meta.media.height", self->current_height );
mlt_properties_set_int( producer_props, "_disable_exif", disable_exif ); mlt_properties_set_int( producer_props, "_disable_exif", disable_exif );
mlt_events_unblock( producer_props, NULL ); mlt_events_unblock( producer_props, NULL );
} }
Expand All @@ -209,8 +209,6 @@ int refresh_qimage( producer_qimage self, mlt_frame frame )
// Set width/height of frame // Set width/height of frame
mlt_properties_set_int( properties, "width", self->current_width ); mlt_properties_set_int( properties, "width", self->current_width );
mlt_properties_set_int( properties, "height", self->current_height ); 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; return image_idx;
} }
Expand Down

0 comments on commit 6a82bf3

Please sign in to comment.