diff options
author | Maksym Veremeyenko <verem@m1stereo.tv> | 2011-02-15 12:44:08 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-02-25 22:31:16 +0100 |
commit | d184c86cd309bbd61c5d1a1dfcf60d133da4c1e3 (patch) | |
tree | 6b2e70971f1e32d0f5a884b211395fe27e3038f2 /libavformat/movenc.c | |
parent | 77d207cbe64710b7b34865f347e608b9c0e15968 (diff) | |
download | ffmpeg-streaming-d184c86cd309bbd61c5d1a1dfcf60d133da4c1e3.zip ffmpeg-streaming-d184c86cd309bbd61c5d1a1dfcf60d133da4c1e3.tar.gz |
store pasp atom for all types of quicktime movie
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 59c579a..93d6ce9 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -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); } |