File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,11 @@ class AvExport Option
50
50
51
51
// flags
52
52
int getFlags () const { return _avOption->flags ; }
53
- bool isEncodingOpt () const { return (_avOption-> flags & AV_OPT_FLAG_ENCODING_PARAM) == AV_OPT_FLAG_ENCODING_PARAM; }
54
- bool isDecodingOpt () const { return (_avOption-> flags & AV_OPT_FLAG_DECODING_PARAM) == AV_OPT_FLAG_DECODING_PARAM; }
55
- bool isAudioOpt () const { return (_avOption-> flags & AV_OPT_FLAG_AUDIO_PARAM) == AV_OPT_FLAG_AUDIO_PARAM; }
56
- bool isVideoOpt () const { return (_avOption-> flags & AV_OPT_FLAG_VIDEO_PARAM) == AV_OPT_FLAG_VIDEO_PARAM; }
57
- bool isSubtitleOpt () const { return (_avOption-> flags & AV_OPT_FLAG_SUBTITLE_PARAM) == AV_OPT_FLAG_SUBTITLE_PARAM; }
53
+ bool isEncodingOpt () const { return (getFlags () & AV_OPT_FLAG_ENCODING_PARAM) == AV_OPT_FLAG_ENCODING_PARAM; }
54
+ bool isDecodingOpt () const { return (getFlags () & AV_OPT_FLAG_DECODING_PARAM) == AV_OPT_FLAG_DECODING_PARAM; }
55
+ bool isAudioOpt () const { return (getFlags () & AV_OPT_FLAG_AUDIO_PARAM) == AV_OPT_FLAG_AUDIO_PARAM; }
56
+ bool isVideoOpt () const { return (getFlags () & AV_OPT_FLAG_VIDEO_PARAM) == AV_OPT_FLAG_VIDEO_PARAM; }
57
+ bool isSubtitleOpt () const { return (getFlags () & AV_OPT_FLAG_SUBTITLE_PARAM) == AV_OPT_FLAG_SUBTITLE_PARAM; }
58
58
59
59
// get default value
60
60
bool getDefaultBool () const ;
You can’t perform that action at this time.
0 commit comments