summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-04-20 19:36:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-20 19:50:58 +0200
commitbac7084fbd372676b6a4c7c1ab487640d4f945de (patch)
treeed88fd942b1a5cef68cad907a3010b99894d6959 /ffmpeg.h
parent57865a974780c4427cc5084629c75e4ac1d87a74 (diff)
downloadffmpeg-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 9050202318..71061daff6 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -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() */