History

client API: change --stop-playback-on-init-failure default

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.)

wm4 committed 8 years ago

Commit d690ee01 parent 9ed8ca23 files · +7 −6Browse files

Unified · Split

3 files
  1. DOCS/client-api-changes.rst +3 −0
  2. DOCS/man/options.rst +4 −5
  3. etc/builtin.conf +0 −1
DOCS/client-api-changes.rst+3−0
@@ -32,9 +32,12 @@ API changes · 31 unmodified lines
3232
3333 ::
3434
35+ --- mpv 0.28.0 ---
3536 1.26 - remove glMPGetNativeDisplay("drm") support
3637 - add mpv_opengl_cb_window_pos and mpv_opengl_cb_drm_params and
3738 support via glMPGetNativeDisplay() for using it
39+ - make --stop-playback-on-init-failure=no the default in libmpv (just
40+ like in mpv CLI)
3841 --- mpv 0.27.0 ---
3942 1.25 - remove setting "no-" options via mpv_set_option*(). (See corresponding
4043 deprecation in 0.23.0.)
DOCS/man/options.rst+4−5
@@ -365,11 +365,10 @@ Playback Control · 364 unmodified lines
365365 Without ``--hr-seek``, skipping will snap to keyframes.
366366
367367 ``--stop-playback-on-init-failure=<yes|no>``
368− Stop playback if either audio or video fails to initialize. Currently,
369− the default behavior is ``no`` for the command line player, but ``yes``
370− for libmpv. With ``no``, playback will continue in video-only or audio-only
371− mode if one of them fails. This doesn't affect playback of audio-only or
372− video-only files.
368+ Stop playback if either audio or video fails to initialize (default: no).
369+ With ``no``, playback will continue in video-only or audio-only mode if one
370+ of them fails. This doesn't affect playback of audio-only or video-only
371+ files.
373372
374373 Program Behavior
375374 ----------------
etc/builtin.conf+0−1
@@ -20,7 +20,6 @@ osc=no · 19 unmodified lines
2020 ytdl=no
2121 input-default-bindings=no
2222 input-vo-keyboard=no
23−stop-playback-on-init-failure=yes
2423 # OSX/Cocoa global input hooks
2524 input-appleremote=no
2625 input-media-keys=no

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t