mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +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);
|
||||
gtk_container_add (GTK_CONTAINER (window), area);
|
||||
|
||||
gtk_widget_realize (area);
|
||||
g_object_unref (area);
|
||||
|
||||
caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 640,
|
||||
|
|
Loading…
Reference in a new issue