-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Should audio/sub tracks (-aid/-sid options) start counting from 0 or 1? #191
Comments
It would be "2/3" which is not pretty at all, and will not make much sense to users unfamiliar with the inner workings of mpv. IF we switch to 1-based, we can go with: |
I don't think 1 based IDs are a necessarily a bad thing for the command line options. Even without the OSC, it seems natural to select the first and second audio tracks with |
|
|
Indexing != Counting. Even with 0-based indexing, your counting is always 1-based. You need to be able to express "none" after all.
Too long and ugly. |
So it seems nobody really cares about this and only ChrisK is insisting on changing it to 1... then, so be it. Changed with c8a7140. |
Is there any way to reverse this??? It's driving me absolutely insane and breaking my scripts that I'm trying to port from mplayer. |
Currently, these start counting from 0, but the OSC (on screen controller, see issue #172) starts from 1, meaning it will show different track numbers than native mpv functionality (including the -aid/-sid options and the terminal output).
For consistency, it would be better if all of mpv follows a single convention.
So which should it be?
The text was updated successfully, but these errors were encountered: