[FFmpeg-cvslog] r16159 - trunk/ffmpeg.c
michael
subversion
Tue Dec 16 04:11:37 CET 2008
Author: michael
Date: Tue Dec 16 04:11:36 2008
New Revision: 16159
Log:
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.
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Tue Dec 16 04:11:36 2008
@@ -1353,7 +1353,7 @@ static int output_packet(AVInputStream *
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 */
More information about the ffmpeg-cvslog
mailing list