History

options: fix runtime update of teletext-page

Kacper Michajłow committed 2 years ago

Commit 7b181c91 parent 1394e5a1 file · +1 −1Browse files

Unified · Split

options/options.c+1−1
@@ -322,7 +322,7 @@ const struct m_sub_options mp_subtitle_sub_opts = { · 321 unmodified lines
322322 {"sub-ass-scale-with-window", OPT_BOOL(ass_scale_with_window)},
323323 {"sub", OPT_SUBSTRUCT(sub_style, sub_style_conf)},
324324 {"sub-clear-on-seek", OPT_BOOL(sub_clear_on_seek)},
325− {"teletext-page", OPT_INT(teletext_page), M_RANGE(-1, 999)},
325+ {"teletext-page", OPT_INT(teletext_page), M_RANGE(-1, 999), .flags = UPDATE_SUB_FILT},
326326 {"sub-past-video-end", OPT_BOOL(sub_past_video_end)},
327327 {"sub-ass-force-style", OPT_REPLACED("sub-ass-style-overrides")},
328328 {"sub-lavc-o", OPT_KEYVALUELIST(sub_avopts)},

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