diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-05-21 01:44:34 +0300 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-05-21 02:04:45 +0300 |
commit | c4f864193f9753df3f721d5cebe39f32bd04ac11 (patch) | |
tree | 94eea1e972dce89c80d2930b8099e08f5fb61869 /libavformat | |
parent | 8f6b919d99687416deaedb2df6b8b5f49645a291 (diff) |
lavf/mov: Write colour matrix "6" for color_space bt470bg.
This matches the demuxer's behaviour.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/movenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b6821d447c..4aa64b097a 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1608,6 +1608,7 @@ static int mov_write_colr_tag(AVIOContext *pb, MOVTrack *track) } switch (track->enc->colorspace) { case AVCOL_TRC_BT709: avio_wb16(pb, 1); break; + case AVCOL_SPC_BT470BG: case AVCOL_PRI_SMPTE170M: avio_wb16(pb, 6); break; case AVCOL_PRI_SMPTE240M: avio_wb16(pb, 7); break; default: avio_wb16(pb, 2); |