Commit 68a0e6ff authored by François Cartegnie's avatar François Cartegnie 🤞

codec: png: encoder wants RGB

refs #13349
parent 387c991a
......@@ -346,6 +346,9 @@ static int OpenEncoder(vlc_object_t *p_this)
p_enc->fmt_in.video.i_visible_height;
p_enc->fmt_in.i_codec = VLC_CODEC_RGB24;
p_enc->fmt_in.video.i_bmask = 0;
video_format_FixRgb( &p_enc->fmt_in.video );
p_enc->pf_encode_video = EncodeBlock;
return VLC_SUCCESS;
......
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