]> git.sesse.net Git - vlc/commit
libvlc: Make sure the media_player has its own state cached.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 7 Dec 2009 19:35:10 +0000 (20:35 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 7 Dec 2009 20:49:31 +0000 (21:49 +0100)
commitbbce7c4cae681298d6f49c7e605ed3775cbc0e1d
treeca5bf32465047903b37f23e6dba2b131bf77c1fc
parent71eb5e10f671e0f3aee8734309588c47a22d2914
libvlc: Make sure the media_player has its own state cached.

A weirdness was introduced somehow. We were relying on the media state. (!)

Also, make sure that we always require stop() to be called when the media_player is destroyed. This may prevent some unwanted bad usage, whose consequence might be that _release() will block on input thread destruction.
src/control/media_list_player.c
src/control/media_player.c
src/control/media_player_internal.h