summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-06-15 09:59:40 +0200
committerAnton Khirnov <anton@khirnov.net>2013-08-05 10:53:41 +0200
commit811bd0784679dfcb4ed02043a37c92f9df10500e (patch)
tree3d64eb21fc159c1862614819bd16adb1ba6aaf6b /avconv.h
parent56ee3f9de7b9f6090d599a27d33a392890a2f7b8 (diff)
avconv: make input -ss accurate when transcoding
Insert (a)trim filters on the corresponding inputs, so the extra frames are decoded and discarded.
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h3
1 files changed, 3 insertions, 0 deletions
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 */