File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1919#include "menu_options.h"
2020#include "mpv_service.h"
2121
22- static const char * VERSION = "1.6.0 "
22+ static const char * VERSION = "1.6.1 "
2323#ifdef GIT_REV
2424 "-GIT" GIT_REV
2525#endif
Original file line number Diff line number Diff line change @@ -553,6 +553,11 @@ void cMpvPlayer::PlayerStart()
553553 check_error (mpv_set_option_string (hMpv , "hwdec-codecs" , "all" ));
554554 check_error (mpv_set_option_string (hMpv , "vd-lavc-o" , "deint=adaptive" ));
555555 }
556+ else if (strstr (MpvPluginConfig -> HwDec .c_str (),"nvdec" ))
557+ {
558+ check_error (mpv_set_option_string (hMpv , "hwdec-codecs" , "all" ));
559+ check_error (mpv_set_option_string (hMpv , "vf" , "bwdif_cuda=1:-1:1" ));
560+ }
556561 else
557562 {
558563 check_error (mpv_set_option_string (hMpv , "deinterlace" , "yes" ));
You can’t perform that action at this time.
0 commit comments