[vlc-commits] vout: add a warning
Rémi Denis-Courmont
git at videolan.org
Tue Aug 21 20:32:26 CEST 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Aug 21 20:57:12 2012 +0300| [c2f88e59463c9fbf9f28d0e302f65c0c8ec141fa] | committer: Rémi Denis-Courmont
vout: add a warning
pl_Get() can only be used in interfaces, playlist and ML code.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2f88e59463c9fbf9f28d0e302f65c0c8ec141fa
---
src/video_output/event.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/video_output/event.h b/src/video_output/event.h
index 38c7be4..111c0e6 100644
--- a/src/video_output/event.h
+++ b/src/video_output/event.h
@@ -43,6 +43,7 @@ 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);
}
More information about the vlc-commits
mailing list