-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
options.c cleanup #15313
base: master
Are you sure you want to change the base?
options.c cleanup #15313
Conversation
Also use sub-filter common prefix.
Move them to a suboption so the suboption prefix can be used.
Download the artifacts for this pull request: |
@@ -67,6 +67,29 @@ struct seen_packet { | |||
double pts; | |||
}; | |||
|
|||
#undef OPT_BASE_STRUCT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be in filter_sdh.c
, not here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mp_sub_filter_opts
is used in sd_ass.c
, not in filter_sdh.c
.
Line 184 in 70aaba7
.opts = mp_get_config_group(ft, sd->global, &mp_sub_filter_opts), |
The options and struct are only used in stream_dvdnav.c. Also use dvd prefix for dvd_conf.
264952f
to
40ae2fc
Compare
Move several option definitions to the respective modules and use common prefix if possible.