mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-22 20:51:17 +03:00
hwcodec: remove bad MY_DECODER_STATE
When reset, the new of the decoder will be after it's drop Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -178,7 +178,7 @@ pub struct HwDecoders {
|
||||
}
|
||||
|
||||
impl HwDecoder {
|
||||
fn best() -> CodecInfos {
|
||||
pub fn best() -> CodecInfos {
|
||||
get_config(CFG_KEY_DECODER).unwrap_or(CodecInfos {
|
||||
h264: None,
|
||||
h265: None,
|
||||
|
||||
Reference in New Issue
Block a user