projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2169b79
)
Do not skip frames until the first keyframe when stream copying but
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Dec 2008 03:11:36 +0000
(
03:11
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 16 Dec 2008 03:11:36 +0000
(
03:11
+0000)
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
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index a6f66c7e1cea0831e1a186d72082ff60a8d116ae..a4765f5beedd9b42bbde5ae139efc36fcf12d795 100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-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 */