提交 09a76db8 编写于 作者: M Michael Niedermayer

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.

Originally committed as revision 16159 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 2169b79c
......@@ -1353,7 +1353,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
AVPacket 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;
/* no reencoding needed : output the packet directly */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册