Commit c2f88e59 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout: add a warning

pl_Get() can only be used in interfaces, playlist and ML code.
parent f8439038
...@@ -43,6 +43,7 @@ static inline void vout_SendEventClose(vout_thread_t *vout) ...@@ -43,6 +43,7 @@ static inline void vout_SendEventClose(vout_thread_t *vout)
/* Ask to stop /* Ask to stop
* FIXME works only for input handled by the playlist * FIXME works only for input handled by the playlist
*/ */
#warning FIXME: remove pl_Get
playlist_t *playlist = pl_Get(vout); playlist_t *playlist = pl_Get(vout);
playlist_Stop(playlist); playlist_Stop(playlist);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment