Commit 87244c8f authored by Michael Niedermayer's avatar Michael Niedermayer

matroskaenc: remove MATROSKA_ID_VIDEODISPLAYUNIT 3

Should fix ticket 1754

Thanks-to: Moritz Bunkus <moritz@bunkus.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 79d30321
...@@ -640,7 +640,6 @@ static int mkv_write_tracks(AVFormatContext *s) ...@@ -640,7 +640,6 @@ static int mkv_write_tracks(AVFormatContext *s)
int d_width = codec->width*av_q2d(st->sample_aspect_ratio); int d_width = codec->width*av_q2d(st->sample_aspect_ratio);
put_ebml_uint(pb, MATROSKA_ID_VIDEODISPLAYWIDTH , d_width); put_ebml_uint(pb, MATROSKA_ID_VIDEODISPLAYWIDTH , d_width);
put_ebml_uint(pb, MATROSKA_ID_VIDEODISPLAYHEIGHT, codec->height); put_ebml_uint(pb, MATROSKA_ID_VIDEODISPLAYHEIGHT, codec->height);
put_ebml_uint(pb, MATROSKA_ID_VIDEODISPLAYUNIT, 3);
} }
if (codec->codec_id == AV_CODEC_ID_RAWVIDEO) { if (codec->codec_id == AV_CODEC_ID_RAWVIDEO) {
......
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