Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

options.c cleanup #15313

wants to merge 5 commits into from

Conversation

na-na-hi
Copy link
Contributor

Move several option definitions to the respective modules and use common prefix if possible.

Copy link

github-actions bot commented Nov 14, 2024

Download the artifacts for this pull request:

Windows
macOS

@@ -67,6 +67,29 @@ struct seen_packet {
double pts;
};

#undef OPT_BASE_STRUCT
Copy link
Contributor

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.

Copy link
Contributor Author

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.

.opts = mp_get_config_group(ft, sd->global, &mp_sub_filter_opts),

options/options.c Show resolved Hide resolved
The options and struct are only used in stream_dvdnav.c.
Also use dvd prefix for dvd_conf.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants