Commit 700da852 authored by James Almer's avatar James Almer

Merge commit '4c0588b4'

* commit '4c0588b4':
  mpeg2enc: Don't mark all streams as component video
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 53fc4310 4c0588b4
......@@ -353,7 +353,7 @@ static void mpeg1_encode_sequence_header(MpegEncContext *s)
if (s->seq_disp_ext == 1 || (s->seq_disp_ext == -1 && use_seq_disp_ext)) {
put_header(s, EXT_START_CODE);
put_bits(&s->pb, 4, 2); // sequence display extension
put_bits(&s->pb, 3, 0); // video_format: 0 is components
put_bits(&s->pb, 3, 5); // video_format: 5 is unspecified
put_bits(&s->pb, 1, 1); // colour_description
put_bits(&s->pb, 8, s->avctx->color_primaries); // colour_primaries
put_bits(&s->pb, 8, s->avctx->color_trc); // transfer_characteristics
......
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