mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
examples: update for new force-aspect-ratio default
This commit is contained in:
parent
cc8b526c00
commit
01270a447e
2 changed files with 0 additions and 10 deletions
|
@ -2070,11 +2070,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, PlaybackApp * app)
|
|||
g_print ("got prepare-xwindow-id, setting XID %" G_GUINTPTR_FORMAT "\n",
|
||||
app->embed_xid);
|
||||
|
||||
if (g_object_class_find_property (G_OBJECT_GET_CLASS (element),
|
||||
"force-aspect-ratio")) {
|
||||
g_object_set (element, "force-aspect-ratio", TRUE, NULL);
|
||||
}
|
||||
|
||||
/* Should have been initialised from main thread before (can't use
|
||||
* GDK_WINDOW_XID here with Gtk+ >= 2.18, because the sync handler will
|
||||
* be called from a streaming thread and GDK_WINDOW_XID maps to more than
|
||||
|
|
|
@ -2443,11 +2443,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, GstPipeline * data)
|
|||
|
||||
g_print ("got prepare-window-handle, setting XID %lu\n", embed_xid);
|
||||
|
||||
if (g_object_class_find_property (G_OBJECT_GET_CLASS (element),
|
||||
"force-aspect-ratio")) {
|
||||
g_object_set (element, "force-aspect-ratio", TRUE, NULL);
|
||||
}
|
||||
|
||||
/* Should have been initialised from main thread before (can't use
|
||||
* GDK_WINDOW_XID here with Gtk+ >= 2.18, because the sync handler will
|
||||
* be called from a streaming thread and GDK_WINDOW_XID maps to more than
|
||||
|
|
Loading…
Reference in a new issue