0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/common
wm4 e9e93b4dbe player: add a number of new playlist contol commands/properties
Should give a good deal more explicit control and insight over the
player state.

Some feel a bit pointless, and/or expose internal weirdness. However,
it's not like the existing weirdness didn't exist before, or can be made
go away. (In part, the weirdness is because certain in-between states
are visible. Hiding them would make things simpler, but less flexible.)

Maybe this actually gives users a better idea how the API _should_ look
like, too.

On a side note, this tries to really guarantee that mpctx->playing is
set between playback start/end. For that, the loadfile.c changes assume
that mpctx->playing is set (guaranteed by code above the change), and
that playing->filename is set (probably could never be false; was broken
before and actually would have crashed if that could ever happen; in any
case, also add an assert to playlist.c for this).

playlist_entry_to_index() now tolerates playlist_entrys that are not
part of the playlist. This is also needed for mpctx->playing.
2020-03-21 19:32:50 +01:00
..
av_common.c demux: use no overlapping packets for lossless audio 2019-09-19 20:37:04 +02:00
av_common.h demux: use no overlapping packets for lossless audio 2019-09-19 20:37:04 +02:00
av_log.c player: rearrange libav* library check 2020-03-08 19:38:10 +01:00
av_log.h player: rearrange libav* library check 2020-03-08 19:38:10 +01:00
codecs.c codecs: remove unused family field 2018-02-01 10:21:55 +01:00
codecs.h codecs: remove unused family field 2018-02-01 10:21:55 +01:00
common.c common: add a helper to round up to next power of 2 2019-11-06 21:35:49 +01:00
common.h common: add a helper to round up to next power of 2 2019-11-06 21:35:49 +01:00
encode_lavc.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
encode_lavc.h encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
encode.h encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
global.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
msg_control.h msg: make --log-file buffered through a thread 2020-01-29 23:34:59 +01:00
msg.c msg: slightly improve --msg-time output 2020-02-14 16:12:37 +01:00
msg.h msg: try to document purpose of log levels better 2019-11-07 22:53:13 +01:00
playlist.c player: add a number of new playlist contol commands/properties 2020-03-21 19:32:50 +01:00
playlist.h command: add a playlist-unshuffle command 2019-12-28 21:32:15 +01:00
recorder.c Remove remains of Libav compatibility 2020-02-16 15:14:55 +01:00
recorder.h recorder: don't use a magic index for mp_recorder_get_sink() 2019-09-29 01:41:19 +02:00
tags.c demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
tags.h demux: support for some kinds of timed metadata 2018-04-18 01:17:42 +03:00
version.c build: move copyright statement to a shared location 2018-01-01 21:05:09 +00:00