1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

store pasp atom for all types of quicktime movie

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit d184c86cd3)
This commit is contained in:
Maksym Veremeyenko 2011-02-15 12:44:08 +02:00 committed by Michael Niedermayer
parent eea040212c
commit aaa71a3e1d

View File

@ -840,8 +840,7 @@ static int mov_write_video_tag(AVIOContext *pb, MOVTrack *track)
} else if(track->vosLen > 0)
mov_write_glbl_tag(pb, track);
if (track->mode == MODE_MOV &&
track->enc->sample_aspect_ratio.den && track->enc->sample_aspect_ratio.num &&
if (track->enc->sample_aspect_ratio.den && track->enc->sample_aspect_ratio.num &&
track->enc->sample_aspect_ratio.den != track->enc->sample_aspect_ratio.num) {
mov_write_pasp_tag(pb, track);
}