From 3c0df9058438b68925be2fc6f5af2a05086ad99e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 11 Aug 2012 11:50:32 +0200 Subject: avconv: make -shortest a per-output file option. --- avconv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'avconv.h') 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; -- cgit v1.2.3