Commit eb0181e5 authored by Laurent Aimar's avatar Laurent Aimar

Fixed regression introduced in [8ffbd86a]

(close #1805)
parent be95e90b
...@@ -573,6 +573,7 @@ static void video_release_buffer( picture_t *p_pic ) ...@@ -573,6 +573,7 @@ static void video_release_buffer( picture_t *p_pic )
static picture_t *video_new_buffer( decoder_t *p_dec ) static picture_t *video_new_buffer( decoder_t *p_dec )
{ {
p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
return picture_New( p_dec->fmt_out.video.i_chroma, return picture_New( p_dec->fmt_out.video.i_chroma,
p_dec->fmt_out.video.i_width, p_dec->fmt_out.video.i_width,
p_dec->fmt_out.video.i_height, p_dec->fmt_out.video.i_height,
......
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