aboutsummaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer2014-10-01 16:23:48 +0200
committerMichael Niedermayer2014-10-01 16:39:20 +0200
commitf2e53808e329c403d1a409f3c35a93854064b6a2 (patch)
tree519cbcdb9c5db4c644f9542bf919c063a28152f9 /libavformat/movenc.c
parent0a7afedc4819167a50516a4402a4638c7439df6e (diff)
avformat/movenc: automatically set AVC-Intra tag
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index ef7496ebd1..bfee86633c 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -1126,6 +1126,7 @@ static int mov_get_codec_tag(AVFormatContext *s, MOVTrack *track)
(track->enc->codec_id == AV_CODEC_ID_DVVIDEO ||
track->enc->codec_id == AV_CODEC_ID_RAWVIDEO ||
track->enc->codec_id == AV_CODEC_ID_H263 ||
+ track->enc->codec_id == AV_CODEC_ID_H264 ||
track->enc->codec_id == AV_CODEC_ID_MPEG2VIDEO ||
av_get_bits_per_sample(track->enc->codec_id)))) { // pcm audio
if (track->enc->codec_id == AV_CODEC_ID_DVVIDEO)