mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
gstgtk: No need to realize the widget
The widget already does that.
This commit is contained in:
parent
bdbff3bc8e
commit
b68f478467
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