Commit b50daf07 authored by michael's avatar michael

Do not skip frames until the first keyframe when stream copying but

no starttime is set. 
Fixes at least -vcodec copy with VS2k5DebugDemo-01-partial.avi.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16159 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ee5b664d
...@@ -1353,7 +1353,7 @@ static int output_packet(AVInputStream *ist, int ist_index, ...@@ -1353,7 +1353,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
AVPacket opkt; AVPacket opkt;
av_init_packet(&opkt); av_init_packet(&opkt);
if (!ost->frame_number && !(pkt->flags & PKT_FLAG_KEY)) if ((!ost->frame_number && !(pkt->flags & PKT_FLAG_KEY)) && start_time)
continue; continue;
/* no reencoding needed : output the packet directly */ /* no reencoding needed : output the packet directly */
......
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