Commit Graph

2 Commits

Author SHA1 Message Date
Stefan Seyfried
e4dba8b30e libtriple: avoid race conditions in cVideo::ShowPicture
ShowPicture() and Stop() were racing, and the calling order from
neutrino seems to be not necessarily "correct". With gcc-4.8 /
glibc-2.16 binaries it happened that on switching to radio mode,
ShowPicture() was called and then the Stop() from stopping video
playback happened. This broke the stillpicture. Fix by adding more
locks and explicitly bailing out of Stop() if a picture is shown.
2013-12-02 00:58:37 +01:00
Stefan Seyfried
69527185a9 all: clean up cVideo header, separate private stuff 2013-11-02 18:44:34 +01:00