mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 18:13:38 +01:00
Codec (Linux): fixes bug in ffDetectCodecByVdpau
This commit is contained in:
@@ -306,7 +306,7 @@ static const struct FFCodecVdpauCodec {
|
||||
};
|
||||
|
||||
static const char* ffDetectCodecByVdpau(FFCodecOptions* options, FFlist* result) {
|
||||
if (options->showType == FF_CODEC_SHOW_TYPE_DECODER) {
|
||||
if (options->showType != FF_CODEC_SHOW_TYPE_DECODER) {
|
||||
return "VDPAU only supports decoding";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user