Commit f24ac8e0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Use RGB for TIFF encoding

Close #10844
parent bd467e94
......@@ -519,6 +519,11 @@ int OpenEncoder( vlc_object_t *p_this )
p_enc->fmt_in.i_codec = VLC_CODEC_I420;
/* Very few application support YUV in TIFF, not even VLC */
if( p_enc->fmt_out.i_codec == VLC_CODEC_TIFF )
p_enc->fmt_in.i_codec = VLC_CODEC_RGB24;
p_enc->fmt_in.video.i_chroma = p_enc->fmt_in.i_codec;
GetFfmpegChroma( &p_context->pix_fmt, &p_enc->fmt_in.video );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment