[vlc-devel] [PATCH] decoder: fix the fmt_out i_chroma
Steve Lhomme
robux4 at ycbcr.xyz
Tue Jul 9 08:37:20 CEST 2019
Otherwise no decoding picture can be allocated with a 0 chroma.
---
src/input/decoder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index 5bc702b7aa..c07e0d1684 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1177,7 +1177,7 @@ static void DecoderQueueVideo( decoder_t *p_dec, picture_t *p_pic )
static int thumbnailer_update_format( decoder_t *p_dec )
{
- VLC_UNUSED(p_dec);
+ p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
return 0;
}
--
2.17.1
More information about the vlc-devel
mailing list