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:
1f061da
)
avconv: fix the check for -ss as an output option.
author
Anton Khirnov
<anton@khirnov.net>
Wed, 4 Jul 2012 00:53:25 +0000
(
02:53
+0200)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 6 Jul 2012 10:54:52 +0000
(12:54 +0200)
start time is already substracted from the frame timestamp, so it needs
to be checked against 0, not start time.
avconv.c
patch
|
blob
|
history
diff --git
a/avconv.c
b/avconv.c
index
6517c4b
..
c59916e
100644
(file)
--- a/
avconv.c
+++ b/
avconv.c
@@
-1568,7
+1568,7
@@
static int poll_filters(void)
AV_TIME_BASE_Q,
ost->st->codec->time_base);
- if (of->start_time && filtered_frame->pts <
of->start_time
) {
+ if (of->start_time && filtered_frame->pts <
0
) {
avfilter_unref_buffer(picref);
continue;
}