[PATCH 3/3] store pasp atom for all types of quicktime movie
Maksym Veremeyenko
verem
Tue Feb 15 11:44:08 CET 2011
---
libavformat/movenc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 1ad1f5b..cdb3b4a 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -839,8 +839,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);
}
--
1.7.4
--------------010106070002060500050909--
More information about the ffmpeg-devel
mailing list