[FFmpeg-cvslog] avconv: Don't split out inline sequence headers when stream copying VC1

Martin Storsjö git at videolan.org
Wed Feb 15 02:14:06 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Jan 23 13:06:07 2012 +0200| [ae5a9355744f048e14c9242142f78f7023fa357f] | committer: Martin Storsjö

avconv: Don't split out inline sequence headers when stream copying VC1

This is required when stream copying VC1 in ismv - there's one
global header in the moov atom, but keyframes have a separate
sequence header prepended.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae5a9355744f048e14c9242142f78f7023fa357f
---

 avconv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/avconv.c b/avconv.c
index 92ffd0f..862e325 100644
--- a/avconv.c
+++ b/avconv.c
@@ -1795,6 +1795,7 @@ static void do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *p
     if (  ost->st->codec->codec_id != CODEC_ID_H264
        && ost->st->codec->codec_id != CODEC_ID_MPEG1VIDEO
        && ost->st->codec->codec_id != CODEC_ID_MPEG2VIDEO
+       && ost->st->codec->codec_id != CODEC_ID_VC1
        ) {
         if (av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, pkt->data, pkt->size, pkt->flags & AV_PKT_FLAG_KEY))
             opkt.destruct = av_destruct_packet;



More information about the ffmpeg-cvslog mailing list