Commit 837cfa00 authored by michael's avatar michael

Alternative solution for the mpegvideo_split + mov problem.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21625 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c404e1fa
......@@ -1507,7 +1507,10 @@ static int output_packet(AVInputStream *ist, int ist_index,
opkt.flags= pkt->flags;
//FIXME remove the following 2 lines they shall be replaced by the bitstream filters
if(ost->st->codec->codec_id != CODEC_ID_H264) {
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
) {
if(av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, data_buf, data_size, pkt->flags & PKT_FLAG_KEY))
opkt.destruct= av_destruct_packet;
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment