AbiosGaming / desktop-stream-viewer

View multiple streams on your desktop!
7 stars 1 forks source link

Remove Hack #87

Closed kaszim closed 7 years ago

kaszim commented 7 years ago

Remove this hack and make the thread sleep instead, as per libvlc docs:

@note If no data is immediately available, then the callback should sleep. @warning The application is responsible for avoiding deadlock situations. In particular, the callback should return an error if playback is stopped; if it does not return, then L{libvlc_media_player_stop}() will never return.

kaszim commented 7 years ago

I tested this again. Sleeping the callback does not actually work, one cannot seek if done. So I am closing this.