mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'e01fba5562133ac56a4f44c6f214a80ee33cb388'
* commit 'e01fba5562133ac56a4f44c6f214a80ee33cb388':
movenc: Add an F4V muxer
Conflicts:
Changelog
libavformat/allformats.c
libavformat/movenc.c
libavformat/version.h
See: 7bc70930dd
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
76424b2da8
|
@ -1051,6 +1051,7 @@ static const AVCodecTag codec_f4v_tags[] = { // XXX: add GIF/PNG/JPEG?
|
||||||
{ AV_CODEC_ID_MP3, MKTAG('.','m','p','3') },
|
{ AV_CODEC_ID_MP3, MKTAG('.','m','p','3') },
|
||||||
{ AV_CODEC_ID_AAC, MKTAG('m','p','4','a') },
|
{ AV_CODEC_ID_AAC, MKTAG('m','p','4','a') },
|
||||||
{ AV_CODEC_ID_H264, MKTAG('a','v','c','1') },
|
{ AV_CODEC_ID_H264, MKTAG('a','v','c','1') },
|
||||||
|
{ AV_CODEC_ID_VP6A, MKTAG('V','P','6','A') },
|
||||||
{ AV_CODEC_ID_VP6F, MKTAG('V','P','6','F') },
|
{ AV_CODEC_ID_VP6F, MKTAG('V','P','6','F') },
|
||||||
{ AV_CODEC_ID_NONE, 0 },
|
{ AV_CODEC_ID_NONE, 0 },
|
||||||
};
|
};
|
||||||
|
@ -1069,7 +1070,7 @@ static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)
|
||||||
tag = ipod_get_codec_tag(s, track);
|
tag = ipod_get_codec_tag(s, track);
|
||||||
else if (track->mode & MODE_3GP)
|
else if (track->mode & MODE_3GP)
|
||||||
tag = ff_codec_get_tag(codec_3gp_tags, track->enc->codec_id);
|
tag = ff_codec_get_tag(codec_3gp_tags, track->enc->codec_id);
|
||||||
else if (track->mode & MODE_F4V)
|
else if (track->mode == MODE_F4V)
|
||||||
tag = ff_codec_get_tag(codec_f4v_tags, track->enc->codec_id);
|
tag = ff_codec_get_tag(codec_f4v_tags, track->enc->codec_id);
|
||||||
else
|
else
|
||||||
tag = mov_get_codec_tag(s, track);
|
tag = mov_get_codec_tag(s, track);
|
||||||
|
@ -1224,7 +1225,11 @@ static int mov_write_video_tag(AVIOContext *pb, MOVTrack *track)
|
||||||
mov_write_uuid_tag_ipod(pb);
|
mov_write_uuid_tag_ipod(pb);
|
||||||
} else if (track->enc->codec_id == AV_CODEC_ID_VC1 && track->vos_len > 0)
|
} else if (track->enc->codec_id == AV_CODEC_ID_VC1 && track->vos_len > 0)
|
||||||
mov_write_dvc1_tag(pb, track);
|
mov_write_dvc1_tag(pb, track);
|
||||||
else if (track->vos_len > 0)
|
else if (track->enc->codec_id == AV_CODEC_ID_VP6F ||
|
||||||
|
track->enc->codec_id == AV_CODEC_ID_VP6A) {
|
||||||
|
/* Don't write any potential extradata here - the cropping
|
||||||
|
* is signalled via the normal width/height fields. */
|
||||||
|
} else if (track->vos_len > 0)
|
||||||
mov_write_glbl_tag(pb, track);
|
mov_write_glbl_tag(pb, track);
|
||||||
|
|
||||||
if (track->enc->codec_id != AV_CODEC_ID_H264 &&
|
if (track->enc->codec_id != AV_CODEC_ID_H264 &&
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_MAJOR 55
|
#define LIBAVFORMAT_VERSION_MAJOR 55
|
||||||
#define LIBAVFORMAT_VERSION_MINOR 19
|
#define LIBAVFORMAT_VERSION_MINOR 19
|
||||||
#define LIBAVFORMAT_VERSION_MICRO 103
|
#define LIBAVFORMAT_VERSION_MICRO 104
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||||
LIBAVFORMAT_VERSION_MINOR, \
|
LIBAVFORMAT_VERSION_MINOR, \
|
||||||
|
|
Loading…
Reference in New Issue