summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-11 11:50:32 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-18 08:48:30 +0200
commit3c0df9058438b68925be2fc6f5af2a05086ad99e (patch)
treebc1a2ace6271700af353e68bf7519ff2b852e1b1 /avconv.h
parent91e59fea30f57af7abd1ad6a68a8f6663805ee44 (diff)
avconv: make -shortest a per-output file option.
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/avconv.h b/avconv.h
index 756d197ef5..94b3f670e6 100644
--- a/avconv.h
+++ b/avconv.h
@@ -113,6 +113,7 @@ typedef struct OptionsContext {
uint64_t limit_filesize;
float mux_preload;
float mux_max_delay;
+ int shortest;
int video_disable;
int audio_disable;
@@ -303,6 +304,8 @@ typedef struct OutputFile {
int64_t recording_time; /* desired length of the resulting file in microseconds */
int64_t start_time; /* start time in microseconds */
uint64_t limit_filesize;
+
+ int shortest;
} OutputFile;
extern InputStream **input_streams;
@@ -333,7 +336,6 @@ extern int do_hex_dump;
extern int do_pkt_dump;
extern int copy_ts;
extern int copy_tb;
-extern int opt_shortest;
extern int exit_on_error;
extern int print_stats;
extern int qp_hist;