[vlc-devel] [PATCH 2/2] avcodec: video: use the video context to signal small format changes
Steve Lhomme
robux4 at ycbcr.xyz
Fri Nov 6 10:33:30 CET 2020
Changes include stereoscopic mode changes, HDR metadata changes.
---
modules/codec/avcodec/video.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index ecde33199bc..13b00e3f26d 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -860,7 +860,7 @@ static int DecodeSidedata( decoder_t *p_dec, const AVFrame *frame, picture_t *p_
else
p_pic->format.multiview_mode = p_dec->fmt_out.video.multiview_mode;
- if (format_changed && decoder_UpdateVideoFormat( p_dec ))
+ if (format_changed && decoder_UpdateVideoOutput( p_dec, p_sys->vctx_out ))
return -1;
const AVFrameSideData *p_avcc = av_frame_get_side_data( frame, AV_FRAME_DATA_A53_CC );
--
2.26.2
More information about the vlc-devel
mailing list