mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Set the toplevel property in xvideosin;k to FALSE as we are going to embed the window.
Original commit message from CVS: Set the toplevel property in xvideosin;k to FALSE as we are going to embed the window.
This commit is contained in:
parent
5922227d63
commit
1935179204
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ gst_play_init (GstPlay *play)
|
||||||
priv->video_element = gst_elementfactory_make ("bin", "video_bin");
|
priv->video_element = gst_elementfactory_make ("bin", "video_bin");
|
||||||
|
|
||||||
priv->video_show = gst_elementfactory_make ("xvideosink", "show");
|
priv->video_show = gst_elementfactory_make ("xvideosink", "show");
|
||||||
|
g_object_set (G_OBJECT (priv->video_show), "toplevel", FALSE, NULL);
|
||||||
g_return_if_fail (priv->video_show != NULL);
|
g_return_if_fail (priv->video_show != NULL);
|
||||||
/* gtk_object_set (GTK_OBJECT (priv->video_element), "xv_enabled", FALSE, NULL); */
|
/* gtk_object_set (GTK_OBJECT (priv->video_element), "xv_enabled", FALSE, NULL); */
|
||||||
g_signal_connect (G_OBJECT (priv->video_show), "frame_displayed",
|
g_signal_connect (G_OBJECT (priv->video_show), "frame_displayed",
|
||||||
|
|
Loading…
Reference in a new issue