diff options
author | Christophe Gisquet | 2014-11-29 19:15:02 +0100 |
---|---|---|
committer | Michael Niedermayer | 2014-11-30 13:11:34 +0100 |
commit | 4c592c39087a15e2b37aa46956775b7fa869fa57 (patch) | |
tree | ffb2270e5270d05dfc1dbeb7d9accd502af81d0d /ffmpeg.h | |
parent | 0b5adc35200888ca87e68823ac73905b7eb4279e (diff) |
ffmpeg: take bsf arguments from the command line
The format is now:
-bsf:X filter1[=opt1=str1/opt2=str2],filter2
ie the parameters are appended after the filter name using '='. As ','
has been reserved already for the list of filters, '/' is just an
example of token separation for now, but that could become part of the
API to avoid each bsf using its own tokenization.
The proper solution would be using AVOption, but this is overkill for now.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -422,6 +422,7 @@ typedef struct OutputStream { AVDictionary *encoder_opts; AVDictionary *swr_opts; AVDictionary *resample_opts; + AVDictionary *bsf_args; char *apad; OSTFinished finished; /* no more packets should be written for this stream */ int unavailable; /* true if the steram is unavailable (possibly temporarily) */ |