OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea0402
)
store pasp atom for all types of quicktime movie
author
Maksym Veremeyenko
<verem@m1stereo.tv>
Tue, 15 Feb 2011 10:44:08 +0000
(12:44 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:09 +0000
(
03:16
+0100)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit
d184c86cd309bbd61c5d1a1dfcf60d133da4c1e3
)
libavformat/movenc.c
patch
|
blob
|
history
diff --git
a/libavformat/movenc.c
b/libavformat/movenc.c
index
59c579a
..
93d6ce9
100644
(file)
--- 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);
}