mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-04 14:38:48 +00:00
gstgtk: No need to realize the widget
The widget already does that.
This commit is contained in:
parent
1f9bdcad87
commit
0c647ec8a7
1 changed files with 0 additions and 2 deletions
|
@ -154,8 +154,6 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
g_object_get (videosink, "widget", &area, NULL);
|
g_object_get (videosink, "widget", &area, NULL);
|
||||||
gtk_container_add (GTK_CONTAINER (window), area);
|
gtk_container_add (GTK_CONTAINER (window), area);
|
||||||
|
|
||||||
gtk_widget_realize (area);
|
|
||||||
g_object_unref (area);
|
g_object_unref (area);
|
||||||
|
|
||||||
caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 640,
|
caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 640,
|
||||||
|
|
Loading…
Reference in a new issue