This was off for mpv CLI, but on for libmpv. The motivation behind this was that it would be confusing for applications if libmpv continued playback in a severely "degraded" way (without either audio or video), and that it would be better to fail early. In reality the behavior was just a confusing difference to mpv CLI, and has confused actual users as well. Get rid of it. Not bothering with a version bump, since this is so minor, and it's easy to ensure compatibility in affected applications by just setting the option explicitly. (Also adding the missing next-release-marker in client-api-changes.rst.)
Unified · Split
| @@ -32,9 +32,12 @@ API changes · 31 unmodified lines | |||
| 32 | 32 | ||
| 33 | :: | 33 | :: |
| 34 | 34 | ||
| 35 | --- mpv 0.28.0 --- | ||
| 35 | 1.26 - remove glMPGetNativeDisplay("drm") support | 36 | 1.26 - remove glMPGetNativeDisplay("drm") support |
| 36 | - add mpv_opengl_cb_window_pos and mpv_opengl_cb_drm_params and | 37 | - add mpv_opengl_cb_window_pos and mpv_opengl_cb_drm_params and |
| 37 | support via glMPGetNativeDisplay() for using it | 38 | support via glMPGetNativeDisplay() for using it |
| 39 | - make --stop-playback-on-init-failure=no the default in libmpv (just | ||
| 40 | like in mpv CLI) | ||
| 38 | --- mpv 0.27.0 --- | 41 | --- mpv 0.27.0 --- |
| 39 | 1.25 - remove setting "no-" options via mpv_set_option*(). (See corresponding | 42 | 1.25 - remove setting "no-" options via mpv_set_option*(). (See corresponding |
| 40 | deprecation in 0.23.0.) | 43 | deprecation in 0.23.0.) |
| @@ -365,11 +365,10 @@ Playback Control · 364 unmodified lines | |||
| 365 | Without ``--hr-seek``, skipping will snap to keyframes. | 365 | Without ``--hr-seek``, skipping will snap to keyframes. |
| 366 | 366 | ||
| 367 | ``--stop-playback-on-init-failure=<yes|no>`` | 367 | ``--stop-playback-on-init-failure=<yes|no>`` |
| 368 | Stop playback if either audio or video fails to initialize. Currently, | 368 | Stop playback if either audio or video fails to initialize (default: no). |
| 369 | the default behavior is ``no`` for the command line player, but ``yes`` | 369 | With ``no``, playback will continue in video-only or audio-only mode if one |
| 370 | for libmpv. With ``no``, playback will continue in video-only or audio-only | 370 | of them fails. This doesn't affect playback of audio-only or video-only |
| 371 | mode if one of them fails. This doesn't affect playback of audio-only or | 371 | files. |
| 372 | video-only files. | ||
| 373 | 372 | ||
| 374 | Program Behavior | 373 | Program Behavior |
| 375 | ---------------- | 374 | ---------------- |
| @@ -20,7 +20,6 @@ osc=no · 19 unmodified lines | |||
| 20 | ytdl=no | 20 | ytdl=no |
| 21 | input-default-bindings=no | 21 | input-default-bindings=no |
| 22 | input-vo-keyboard=no | 22 | input-vo-keyboard=no |
| 23 | stop-playback-on-init-failure=yes | ||
| 24 | # OSX/Cocoa global input hooks | 23 | # OSX/Cocoa global input hooks |
| 25 | input-appleremote=no | 24 | input-appleremote=no |
| 26 | input-media-keys=no | 25 | input-media-keys=no |