follow orginal commit https://github.com/stax76/mpv.net/commit/243b45326ef8defa038edacd01fafee13f6a009a