diff options
author | Michael Niedermayer | 2014-05-31 05:53:06 +0200 |
---|---|---|
committer | Michael Niedermayer | 2014-06-07 21:26:22 +0200 |
commit | 01ef127bf8556c934262f96d6876e4479bba9d5f (patch) | |
tree | 5884463baae9e4b9f3bea1802ec35688a719f520 /ffmpeg.h | |
parent | 5affab960cd50c6cf83ba05e3c24b3e6c1a9e733 (diff) |
ffmpeg: support setting AVStream.discard
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r-- | ffmpeg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -204,6 +204,8 @@ typedef struct OptionsContext { int nb_guess_layout_max; SpecifierOpt *apad; int nb_apad; + SpecifierOpt *discard; + int nb_discard; } OptionsContext; typedef struct InputFilter { @@ -240,6 +242,7 @@ typedef struct InputStream { int file_index; AVStream *st; int discard; /* true if stream data should be discarded */ + int user_set_discard; int decoding_needed; /* true if the packets must be decoded in 'raw_fifo' */ AVCodecContext *dec_ctx; AVCodec *dec; |