mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
faad: Make sure that the srcpad has caps before finishing actual audio data
This commit is contained in:
parent
adb4b010ed
commit
c849631686
1 changed files with 2 additions and 1 deletions
|
@ -485,7 +485,8 @@ gst_faad_update_caps (GstFaad * faad, faacDecFrameInfo * info)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (G_LIKELY (!fmt_change))
|
if (G_LIKELY (gst_pad_has_current_caps (GST_AUDIO_DECODER_SRC_PAD (faad))
|
||||||
|
&& !fmt_change))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue