X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg.h;h=56eb66a6e85c674e9e947918e558fbfd61de88e3;hb=61af6bebb457c8d9bb00baaccd65a39632437bcd;hp=6545286ad0c9b6588ee3fc89bb27cb8bf788a9b6;hpb=3ff5ca89fc8783cabed56887f556bdd83279ffb0;p=ffmpeg diff --git a/ffmpeg.h b/ffmpeg.h index 6545286ad0c..56eb66a6e85 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -243,7 +243,10 @@ typedef struct InputStream { 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' */ + int decoding_needed; /* non zero if the packets must be decoded in 'raw_fifo', see DECODING_FOR_* */ +#define DECODING_FOR_OST 1 +#define DECODING_FOR_FILTER 2 + AVCodecContext *dec_ctx; AVCodec *dec; AVFrame *decoded_frame;