summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-27 03:37:27 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-27 03:52:31 +0200
commit65f7aee63b6283a2336d03046faa37f2391d98e0 (patch)
tree4d4e8cceeb08c916f0b6d73a032a8ccc9f10be26 /ffmpeg.h
parentd37044647f83f53a1cb711ea4655b944ff4af0e5 (diff)
downloadffmpeg-65f7aee63b6283a2336d03046faa37f2391d98e0.tar.gz
ffmpeg: add option to control copying of frames prior to start.
Normally we discard things prior to the intended start for stream copy this is not always possible, and its not done by default this option allows discarding to be enabled this is primarely usefull when transcoding a video and stream copying an audio stream. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index 85a11a01d9..56f8dfc5f1 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -157,6 +157,8 @@ typedef struct OptionsContext {
int nb_presets;
SpecifierOpt *copy_initial_nonkeyframes;
int nb_copy_initial_nonkeyframes;
+ SpecifierOpt *copy_prior_start;
+ int nb_copy_prior_start;
SpecifierOpt *filters;
int nb_filters;
SpecifierOpt *fix_sub_duration;
@@ -326,6 +328,7 @@ typedef struct OutputStream {
int stream_copy;
const char *attachment_filename;
int copy_initial_nonkeyframes;
+ int copy_prior_start;
int keep_pix_fmt;
} OutputStream;