]> git.sesse.net Git - ffmpeg/commit
lavf/segment: do not copy codec_tag when not available
authorChanMin Kim <kcm1700@gmail.com>
Sat, 17 Nov 2012 16:39:51 +0000 (17:39 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 20 Nov 2012 18:19:31 +0000 (19:19 +0100)
commit4293464705d01ddd47b52822d0a0f1021895bc30
tree101aaa99cbd651068fbac2ff7a0b01fdf16ee1ce
parent6253cee497ffc72cb11c84485816c924b85b0bbd
lavf/segment: do not copy codec_tag when not available

Some muxers do not allow stream if codec_tag is incompatible.

Sometimes the passed input codec's codec_tag is not compatible with the
output muxer.

Because the codec_tag field of the segment muxer cannot be set, ffmpeg.c
doesn't know how to handle these cases.

Signed-off-by: ChanMin Kim <kcm1700@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/segment.c