Commit a9b274ce authored by François Cartegnie's avatar François Cartegnie 🤞

codec: png: encoder wants RGB

refs #13349

(cherry picked from commit 68a0e6ff)
parent f8cb7f8f
......@@ -346,6 +346,9 @@ static int OpenEncoder(vlc_object_t *p_this)
p_enc->fmt_in.i_codec = VLC_CODEC_RGB24;
p_enc-> = 0;
video_format_FixRgb( &p_enc-> );
p_enc->pf_encode_video = EncodeBlock;
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