poll: set_controllable(), restart() and set_flushing() are only valid for non-timer...
authorSebastian Dröge <sebastian@centricular.com>
Wed, 29 Jun 2016 11:26:57 +0000 (13:26 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 29 Jun 2016 19:21:04 +0000 (21:21 +0200)
commit254955df62d5057ad724f9fb20ad68c6340a2d4e
tree6deb2f41cc8f189f56e01bb126d5861186c6cc74
parent0bfc9fb21202441a0ca848cd3d8eeef696f882e6
poll: set_controllable(), restart() and set_flushing() are only valid for non-timer GstPolls

On timer GstPolls it will cause the control socket state to become
inconsistent as now one less read_control() than write_control() be would
needed.

Similarly, read_control() and write_control() are only valid on timer
GstPolls.

https://bugzilla.gnome.org/show_bug.cgi?id=750397
gst/gstpoll.c