mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
vadeinterlace: Fix passthrough latency query
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3038>
This commit is contained in:
parent
ec291ce6bb
commit
f720a5dd66
1 changed files with 2 additions and 4 deletions
|
@ -645,15 +645,13 @@ gst_va_deinterlace_query (GstBaseTransform * trans, GstPadDirection direction,
|
||||||
{
|
{
|
||||||
GstVaDeinterlace *self = GST_VA_DEINTERLACE (trans);
|
GstVaDeinterlace *self = GST_VA_DEINTERLACE (trans);
|
||||||
|
|
||||||
if (direction == GST_PAD_SRC && GST_QUERY_TYPE (query) == GST_QUERY_LATENCY) {
|
if (direction == GST_PAD_SRC && GST_QUERY_TYPE (query) == GST_QUERY_LATENCY
|
||||||
|
&& !gst_base_transform_is_passthrough (trans)) {
|
||||||
GstPad *peer;
|
GstPad *peer;
|
||||||
GstClockTime latency, min, max;
|
GstClockTime latency, min, max;
|
||||||
gboolean res = FALSE;
|
gboolean res = FALSE;
|
||||||
gboolean live;
|
gboolean live;
|
||||||
|
|
||||||
if (gst_base_transform_is_passthrough (trans))
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
peer = gst_pad_get_peer (GST_BASE_TRANSFORM_SINK_PAD (trans));
|
peer = gst_pad_get_peer (GST_BASE_TRANSFORM_SINK_PAD (trans));
|
||||||
if (!peer)
|
if (!peer)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue