mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-27 15:25:58 +00:00
Fix fallback to software decoding in FFmpeg.
This commit is contained in:
@@ -128,7 +128,7 @@ using CodecPointer = std::unique_ptr<AVCodecContext, CodecDeleter>;
|
||||
|
||||
struct CodecDescriptor {
|
||||
not_null<AVStream*> stream;
|
||||
AVHWDeviceType type = AV_HWDEVICE_TYPE_NONE;
|
||||
bool hwAllowed = false;
|
||||
};
|
||||
[[nodiscard]] CodecPointer MakeCodecPointer(CodecDescriptor descriptor);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user