mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
This commit is contained in:
parent
d6c0e9072b
commit
f9d110f596
1 changed files with 6 additions and 2 deletions
|
@ -1011,8 +1011,12 @@ gst_video_rate_query (GstBaseTransform * trans, GstPadDirection direction,
|
|||
gst_object_unref (peer);
|
||||
break;
|
||||
}
|
||||
/* 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,
|
||||
query);
|
||||
break;
|
||||
}
|
||||
case GST_QUERY_DURATION:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue