summaryrefslogtreecommitdiff
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-04-10 15:02:01 +0200
committerAnton Khirnov <anton@khirnov.net>2013-04-30 12:00:55 +0200
commit8cd472d3f947a6233e7dc628f0dc71c74e62413a (patch)
tree773631b217b23469445ea644c859afb7e282fc0b /avconv.c
parenta83c0da539fb07260310bc3b34056239d2b138b2 (diff)
avconv: make output -ss insert trim/atrim filters.
This makes output -ss sample-accurate for audio and will allow further simplication in the future.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/avconv.c b/avconv.c
index 3b50f20cbb..3b4d2f674d 100644
--- a/avconv.c
+++ b/avconv.c
@@ -681,11 +681,6 @@ static int poll_filter(OutputStream *ost)
av_rescale_q(of->start_time,
AV_TIME_BASE_Q,
ost->st->codec->time_base);
-
- if (of->start_time && filtered_frame->pts < 0) {
- av_frame_unref(filtered_frame);
- return 0;
- }
}
switch (ost->filter->filter->inputs[0]->type) {