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.
parent d6c0e907
......@@ -1011,8 +1011,12 @@ gst_video_rate_query (GstBaseTransform * trans, GstPadDirection direction,
gst_object_unref (peer);
/* Simple fallthrough if we don't have a latency or not a peer that we
* can't ask about its latency yet.. */
/* Simple fall back if we don't have a latency or a peer that we
* can ask about its latency yet.. */
res =
GST_BASE_TRANSFORM_CLASS (parent_class)->query (trans, direction,
Supports Markdown
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