mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
gtk: Fix rotation not being applied when paused
The video wouldn't be redrawn immediately when a rotation was applied but the pipeline was paused, as no new buffers were scheduled to be displayed. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1618>
This commit is contained in:
parent
ec77a1aac8
commit
32633a9a14
1 changed files with 2 additions and 0 deletions
|
@ -752,6 +752,8 @@ gtk_gst_gl_widget_set_rotate_method (GtkGstGLWidget * gst_widget,
|
||||||
priv->current_rotate_method = method;
|
priv->current_rotate_method = method;
|
||||||
}
|
}
|
||||||
GTK_GST_BASE_WIDGET_UNLOCK (gst_widget);
|
GTK_GST_BASE_WIDGET_UNLOCK (gst_widget);
|
||||||
|
|
||||||
|
gtk_gst_base_widget_queue_draw (GTK_GST_BASE_WIDGET (gst_widget));
|
||||||
}
|
}
|
||||||
|
|
||||||
GstVideoOrientationMethod
|
GstVideoOrientationMethod
|
||||||
|
|
Loading…
Reference in a new issue