Commit e80765c9 authored by Thibault Saunier's avatar Thibault Saunier 🌵

gtk: When setting format check if pending format changed

In case the format changed fast and the pending format is different
than the currently set but the currently set is equal to the pending
one we could end up having mismatch between the finally set format
and the data stream format.
parent f08f8d77
......@@ -454,7 +454,7 @@ gtk_gst_base_widget_set_format (GtkGstBaseWidget * widget,
if (gst_video_info_is_equal (&widget->v_info, v_info)) {
if (gst_video_info_is_equal (&widget->pending_v_info, v_info)) {
return TRUE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment