plugin: Present fallback window right after assembled UI

When started from gst-play/launch-1.0 show window right after it was created.
No need to idle dispatch window present when changing state, since we are
already on correct thread when opening resources using start() method.
This commit is contained in:
Rafał Dzięgiel
2023-02-12 13:53:45 +01:00
parent 9556ec4da2
commit bf52197896
2 changed files with 3 additions and 22 deletions

View File

@@ -54,8 +54,6 @@ struct _GstClapperSink
GtkWidget *widget;
GtkWindow *window;
gboolean presented_window;
/* Properties */
gboolean force_aspect_ratio;
gint par_n, par_d;