Commit f9d110f5 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

videorate: fix LATENCY query

The latency query originally had a fallthrough to the default
label at the end as fallback, but that got messed up when the
DURATION and POSITION queries were added, so it then fell through
to the duration query handler instead. Restore original behaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=699077
parent d6c0e907
...@@ -1011,8 +1011,12 @@ gst_video_rate_query (GstBaseTransform * trans, GstPadDirection direction, ...@@ -1011,8 +1011,12 @@ gst_video_rate_query (GstBaseTransform * trans, GstPadDirection direction,
gst_object_unref (peer); gst_object_unref (peer);
break; break;
} }
/* Simple fallthrough if we don't have a latency or not a peer that we /* Simple fall back if we don't have a latency or a peer that we
* can't ask about its latency yet.. */ * can ask about its latency yet.. */
res =
GST_BASE_TRANSFORM_CLASS (parent_class)->query (trans, direction,
query);
break;
} }
case GST_QUERY_DURATION: case GST_QUERY_DURATION:
{ {
......
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