[PATCH 2/2] store pasp atom for all types of quicktime movie
Maksym Veremeyenko
verem
Fri Jan 28 15:09:20 CET 2011
---
libavformat/movenc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 8a85cd4..ba8340e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -839,8 +839,7 @@ static int mov_write_video_tag(ByteIOContext *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.3.5
--------------000808040503050305080302--
More information about the ffmpeg-devel
mailing list