diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-04-20 19:36:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-20 19:50:58 +0200 |
commit | bac7084fbd372676b6a4c7c1ab487640d4f945de (patch) | |
tree | ed88fd942b1a5cef68cad907a3010b99894d6959 /ffmpeg.h | |
parent | 57865a974780c4427cc5084629c75e4ac1d87a74 (diff) | |
download | ffmpeg-bac7084fbd372676b6a4c7c1ab487640d4f945de.tar.gz |
ffmpeg: add option not to offset seek position by start time
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -92,6 +92,7 @@ typedef struct OptionsContext { /* input/output options */ int64_t start_time; + int seek_timestamp; const char *format; SpecifierOpt *codec_names; @@ -339,6 +340,7 @@ typedef struct InputFile { int64_t ts_offset; int64_t last_ts; int64_t start_time; /* user-specified start time in AV_TIME_BASE or AV_NOPTS_VALUE */ + int seek_timestamp; int64_t recording_time; int nb_streams; /* number of stream that ffmpeg is aware of; may be different from ctx.nb_streams if new streams appear during av_read_frame() */ |