1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
mpv/common
wm4 c0fbab7a7c player: deal with some corner cases with playlist navigation
The purpose is making accessing the current playlist entry saner when
commands are executed during initialization, termination, or after
playlist navigation commands.

For example, the "playlist_remove current" command will invalidate
playlist->current - but some things still access the playlist entry even
on uninit. Until now, checking stop_play implicitly took care of it, so
it worked, but it was still messy.

Introduce the mpctx->playing field, which points to the current playlist
entry, even if the entry was removed and/or the playlist's current entry
was moved (e.g. due to playlist navigation).
2014-09-09 01:23:10 +02:00
..
av_common.c demux: always use AVPacket 2014-08-25 00:46:26 +02:00
av_common.h Improve setting AVOptions 2014-08-02 03:12:33 +02:00
av_log.c av_log: add tons of warnings against mismatched ffmpeg/libav libraries 2014-02-10 23:28:10 +01:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
codecs.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
codecs.h codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
common.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
common.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
encode_lavc.c encode: deal with codec->time_base deprecation 2014-07-22 23:04:12 +02:00
encode_lavc.h encode: make option struct local 2014-06-11 02:05:07 +02:00
encode.h encode: make option struct local 2014-06-11 02:05:07 +02:00
global.h stream: remove interrupt callback global variables 2014-04-25 19:12:24 +02:00
msg_control.h Add more const 2014-06-11 00:39:14 +02:00
msg.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
msg.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
playlist.c player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
playlist.h player: deal with some corner cases with playlist navigation 2014-09-09 01:23:10 +02:00
tags.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
tags.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
version.c Add more const 2014-06-11 00:39:14 +02:00