mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
ffmpegdec: react to the reconfigure event
Also renegotiate the caps and bufferpool when we have a rereconfigure event pending.
This commit is contained in:
parent
dc12f1c9c9
commit
7ae8b453ca
1 changed files with 2 additions and 0 deletions
|
@ -1211,6 +1211,8 @@ gst_ffmpegdec_video_negotiate (GstFFMpegDec * ffmpegdec, gboolean force)
|
||||||
|
|
||||||
oclass = (GstFFMpegDecClass *) (G_OBJECT_GET_CLASS (ffmpegdec));
|
oclass = (GstFFMpegDecClass *) (G_OBJECT_GET_CLASS (ffmpegdec));
|
||||||
|
|
||||||
|
force |= gst_pad_check_reconfigure (ffmpegdec->srcpad);
|
||||||
|
|
||||||
/* first check if anything changed */
|
/* first check if anything changed */
|
||||||
if (!update_video_context (ffmpegdec, force))
|
if (!update_video_context (ffmpegdec, force))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue