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
32 32
33::33::
34 34
35 --- mpv 0.28.0 ---
35 1.26 - remove glMPGetNativeDisplay("drm") support36 1.26 - remove glMPGetNativeDisplay("drm") support
36 - add mpv_opengl_cb_window_pos and mpv_opengl_cb_drm_params and37 - add mpv_opengl_cb_window_pos and mpv_opengl_cb_drm_params and
37 support via glMPGetNativeDisplay() for using it38 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 corresponding42 1.25 - remove setting "no-" options via mpv_set_option*(). (See corresponding
40 deprecation in 0.23.0.)43 deprecation in 0.23.0.)
DOCS/man/options.rst+4−5
@@ -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-only370 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 or371 files.
372 video-only files.
373 372
374Program Behavior373Program Behavior
375----------------374----------------
etc/builtin.conf+0−1
@@ -20,7 +20,6 @@ osc=no · 19 unmodified lines
20ytdl=no20ytdl=no
21input-default-bindings=no21input-default-bindings=no
22input-vo-keyboard=no22input-vo-keyboard=no
23stop-playback-on-init-failure=yes
24# OSX/Cocoa global input hooks23# OSX/Cocoa global input hooks
25input-appleremote=no24input-appleremote=no
26input-media-keys=no25input-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