History

player/command: reinit video decoder when it's options change

Christoph Heinrich committed 1 year ago

Commit 4fd98931 parent eb612b21 file · +1 −1Browse files

Unified · Split

video/decode/vd_lavc.c+1−1
@@ -111,7 +111,7 @@ const struct m_sub_options vd_lavc_conf = { · 110 unmodified lines
111111 {"vd-lavc-skipidct", OPT_DISCARD(skip_idct)},
112112 {"vd-lavc-skipframe", OPT_DISCARD(skip_frame)},
113113 {"vd-lavc-framedrop", OPT_DISCARD(framedrop)},
114− {"vd-lavc-threads", OPT_INT(threads), M_RANGE(0, DBL_MAX)},
114+ {"vd-lavc-threads", OPT_INT(threads), M_RANGE(0, DBL_MAX), .flags = UPDATE_VD},
115115 {"vd-lavc-bitexact", OPT_BOOL(bitexact)},
116116 {"vd-lavc-assume-old-x264", OPT_BOOL(old_x264)},
117117 {"vd-lavc-check-hw-profile", OPT_BOOL(check_hw_profile)},

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t