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

Replace generate_static_mpd to generate_static_live_mpd #672

Merged
merged 3 commits into from
Nov 15, 2019
Merged

Replace generate_static_mpd to generate_static_live_mpd #672

merged 3 commits into from
Nov 15, 2019

Conversation

Korilakkuma
Copy link
Contributor

Correspond to TODO comment.

Copy link
Contributor

@kqyang kqyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on it. Can you add it to "https://github.com/google/shaka-packager/blob/master/packager/app/retired_flags.cc" to inform our users that the flag is retired? You can follow "generate_widevine_pssh" in that file.

@@ -35,9 +35,6 @@ DEFINE_int32(
num_subsegments_per_sidx,
0,
"This flag is deprecated. Use --generate_sidx_in_media_segments instead.");
DEFINE_bool(generate_widevine_pssh,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't remove this flag.

Add the retired flag 'generate_static_mpd' here in a similar way to 'generate_widevine_pssh' 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.

Sorry ... I mistaken ... 🙇

if (value) {
fprintf(stderr,
"WARNING: %s is deprecated and ignored. Please switch to "
"generate_static_live_mpd.\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add "--" before generate_static_live_mpd?

@kqyang
Copy link
Contributor

kqyang commented Nov 1, 2019

Sorry for not noticing it earlier. Please update the commands in the docs too, e.g. in https://github.com/google/shaka-packager/blob/master/docs/source/tutorials/dash.rst. Please do a source code search and replace all matchings.

@kqyang
Copy link
Contributor

kqyang commented Nov 4, 2019

Thanks for the update. I believe there are others: https://github.com/google/shaka-packager/search?q=--generate_static_mpd&unscoped_q=--generate_static_mpd. Can you the ones in other *.rst too? Thanks.

@kqyang kqyang merged commit 0b53b40 into shaka-project:master Nov 15, 2019
@kqyang
Copy link
Contributor

kqyang commented Nov 15, 2019

@Korilakkuma The pull request has been merged. Thanks a lot for your help!

@kqyang kqyang added this to the v2.4 milestone Dec 25, 2019
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 24, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants