summaryrefslogtreecommitdiff
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-11-04 10:02:27 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-09 19:05:34 +0100
commit0f8bdfe3e807276d2a6f1799a7cc111cf78434bd (patch)
treee68bb715a962a7043d444ff1bea0c819bdeb2bc3 /ffmpeg.h
parentef8f293472851e77800bc6bd8004d7b27ec4a2bf (diff)
ffmpeg: store value of -filter and -filter_script per-stream option in OutputStream struct
Avoid the need for multiple potentially inconsistent access operations, slightly factorize code.
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 c001d2cc16..409525c2eb 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -357,6 +357,8 @@ typedef struct OutputStream {
OutputFilter *filter;
char *avfilter;
+ char *filters; ///< filtergraph associated to the -filter option
+ char *filters_script; ///< filtergraph script associated to the -filter_script option
int64_t sws_flags;
AVDictionary *opts;