diff options
-rw-r--r-- | plugins/elements/gstvalve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elements/gstvalve.c b/plugins/elements/gstvalve.c index 6a373537b..e4ef0a284 100644 --- a/plugins/elements/gstvalve.c +++ b/plugins/elements/gstvalve.c @@ -253,7 +253,7 @@ gst_valve_query (GstPad * pad, GstObject * parent, GstQuery * query) { GstValve *valve = GST_VALVE (parent); - if (g_atomic_int_get (&valve->drop)) + if (GST_QUERY_IS_SERIALIZED (query) && g_atomic_int_get (&valve->drop)) return FALSE; return gst_pad_query_default (pad, parent, query); |