From 811bd0784679dfcb4ed02043a37c92f9df10500e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 15 Jun 2013 09:59:40 +0200 Subject: avconv: make input -ss accurate when transcoding Insert (a)trim filters on the corresponding inputs, so the extra frames are decoded and discarded. --- avconv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'avconv.h') diff --git a/avconv.h b/avconv.h index 1244d86ec3..2143c0fc79 100644 --- a/avconv.h +++ b/avconv.h @@ -88,6 +88,7 @@ typedef struct OptionsContext { /* input options */ int64_t input_ts_offset; int rate_emu; + int accurate_seek; SpecifierOpt *ts_scale; int nb_ts_scale; @@ -237,9 +238,11 @@ typedef struct InputFile { int eagain; /* true if last read attempt returned EAGAIN */ int ist_index; /* index of first stream in ist_table */ int64_t ts_offset; + int64_t start_time; /* user-specified start time in AV_TIME_BASE or AV_NOPTS_VALUE */ int nb_streams; /* number of stream that avconv is aware of; may be different from ctx.nb_streams if new streams appear during av_read_frame() */ int rate_emu; + int accurate_seek; #if HAVE_PTHREADS pthread_t thread; /* thread reading from this file */ -- cgit v1.2.3