examples: playout: Decrement the currently-playing counter correctly
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 12 Jun 2015 20:05:59 +0000 (01:35 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 12 Jun 2015 20:14:57 +0000 (21:14 +0100)
commit4d42704312091c9fc71b5f3f99ae69c171111089
tree9fe5153b41e130106b4deb37fd03fbcc587341be
parent5da10b4f57f5f1a9490873f4f13302c03ece3e09
examples: playout: Decrement the currently-playing counter correctly

Only do that when we're removing an item that was playing, otherwise we'll mess
things up while trying to edit the play queue (playlist).
tests/examples/playout.c