vlc | branch: master | Steve Lhomme <[email protected]> | Fri Nov  6 10:28:25 
2020 +0100| [253cd9881e883f859b2f0a6fdacf5c37a9600ab2] | committer: Steve Lhomme

avcodec: video: use the video context to signal small format changes

Changes include stereoscopic mode changes, HDR metadata changes.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=253cd9881e883f859b2f0a6fdacf5c37a9600ab2
---

 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 ecde33199b..13b00e3f26 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 );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to