[vlc-commits] vout: remove wrong use of pl_Get()
Rémi Denis-Courmont
git at videolan.org
Mon Nov 26 23:19:52 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 26 19:00:35 2012 +0200| [d629c7df98f8c99faa3d2702e4223002e1e44fc7] | committer: Rémi Denis-Courmont
vout: remove wrong use of pl_Get()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d629c7df98f8c99faa3d2702e4223002e1e44fc7
---
src/video_output/event.h | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/src/video_output/event.h b/src/video_output/event.h
index 111c0e6..df4ebb9 100644
--- a/src/video_output/event.h
+++ b/src/video_output/event.h
@@ -22,7 +22,6 @@
*****************************************************************************/
#include <vlc_common.h>
-#include <vlc_playlist.h>
#include <math.h>
#include "vout_control.h"
@@ -40,12 +39,9 @@
static inline void vout_SendEventClose(vout_thread_t *vout)
{
- /* Ask to stop
- * FIXME works only for input handled by the playlist
- */
-#warning FIXME: remove pl_Get
- playlist_t *playlist = pl_Get(vout);
- playlist_Stop(playlist);
+#warning FIXME: implement video close event
+ /* FIXME: this code is disabled as it breaks the non-playlist cases */
+ //playlist_Stop(pl_Get(vout));
}
static inline void vout_SendEventKey(vout_thread_t *vout, int key)
{
More information about the vlc-commits
mailing list