mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
fftools/ffmpeg_dec: move flags to DecoderOpts
Will be useful in the following commit.
This commit is contained in:
@@ -287,6 +287,8 @@ enum DecoderFlags {
|
||||
};
|
||||
|
||||
typedef struct DecoderOpts {
|
||||
int flags;
|
||||
|
||||
/* hwaccel options */
|
||||
enum HWAccelID hwaccel_id;
|
||||
enum AVHWDeviceType hwaccel_device_type;
|
||||
@@ -738,7 +740,7 @@ AVBufferRef *hw_device_for_filter(void);
|
||||
* is transferred to the decoder.
|
||||
*/
|
||||
int dec_open(InputStream *ist, Scheduler *sch, unsigned sch_idx,
|
||||
AVDictionary **dec_opts, int flags, const DecoderOpts *o);
|
||||
AVDictionary **dec_opts, const DecoderOpts *o);
|
||||
void dec_free(Decoder **pdec);
|
||||
|
||||
int dec_add_filter(Decoder *dec, InputFilter *ifilter);
|
||||
|
||||
Reference in New Issue
Block a user