nlecomposition: Fix small remaining race in previous commit
authorSebastian Dröge <sebastian@centricular.com>
Thu, 10 Nov 2016 13:17:50 +0000 (15:17 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 11 Nov 2016 05:44:28 +0000 (07:44 +0200)
commitacfa0e9045c052535447b7bd4403d87178171e6b
treed5505476da62e1beb7fd3d7f62cf6b3769cc24cf
parentd88cee856e78ba2e4c6e075a59af43369b53423a
nlecomposition: Fix small remaining race in previous commit

The seek action might currently be handled (in which case it is not in
the actions list and the action lock is not locked), but not actually
handled completely yet (the seqnum is not stored yet).

To prevent this, we remember what the current action is that is being
handled, and also compare to that.

https://bugzilla.gnome.org/show_bug.cgi?id=774149
plugins/nle/nlecomposition.c