gst 0.10 doesn't have gst_video_overlay_set_render_rectangle
Change-Id: I499e32ce86fabd18c52ac2f99713af0933572f7c
This commit is contained in:
@@ -489,9 +489,10 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
|
||||
if ( mnWindowID != 0 )
|
||||
{
|
||||
gst_video_overlay_set_window_handle( mpXOverlay, mnWindowID );
|
||||
|
||||
#ifndef AVMEDIA_GST_0_10
|
||||
if (maArea.Width > 0 && maArea.Height > 0)
|
||||
gst_video_overlay_set_render_rectangle(mpXOverlay, maArea.X, maArea.Y, maArea.Width, maArea.Height);
|
||||
#endif
|
||||
}
|
||||
|
||||
return GST_BUS_DROP;
|
||||
|
Reference in New Issue
Block a user