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.
This commit is contained in:
Stefano Sabatini
2013-11-04 10:02:27 +01:00
parent ef8f293472
commit 0f8bdfe3e8
2 changed files with 19 additions and 24 deletions

View File

@@ -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;