[vlc-devel] [PATCH 2/3] avcodec: tell the source chroma when an	opaque chroma is used
    Steve Lhomme 
    robux4 at videolabs.io
       
    Tue Jul 12 16:59:47 CEST 2016
    
    
  
---
 modules/codec/avcodec/video.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index a97fec2..1852f6b 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -149,6 +149,7 @@ static int lavc_GetVideoFormat(decoder_t *dec, video_format_t *restrict fmt,
         return -1; /* invalid display size */
     }
 
+    fmt->i_original_chroma = FindVlcChroma(sw_pix_fmt);
     fmt->i_width = width;
     fmt->i_height = height;
     fmt->i_visible_width = ctx->width;
-- 
2.8.2
    
    
More information about the vlc-devel
mailing list