diff options
author | James Almer <jamrial@gmail.com> | 2017-11-11 07:24:55 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-11 07:24:55 +0300 |
commit | 700da852b58bf3354dec6652dc1500192ef63154 (patch) | |
tree | 63e0cdf7aba0a7051efe6bd6fdd164b313a53be9 /libavcodec/mpeg12enc.c | |
parent | 53fc4310f1ba74cd6f264f7263359440a2e5646a (diff) | |
parent | 4c0588b4562abad5540f6a5435c62828de9e4fdf (diff) |
Merge commit '4c0588b4562abad5540f6a5435c62828de9e4fdf'
* commit '4c0588b4562abad5540f6a5435c62828de9e4fdf':
mpeg2enc: Don't mark all streams as component video
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpeg12enc.c')
-rw-r--r-- | libavcodec/mpeg12enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12enc.c b/libavcodec/mpeg12enc.c index f45598a087..0084f544f2 100644 --- a/libavcodec/mpeg12enc.c +++ b/libavcodec/mpeg12enc.c @@ -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 |