event: Unset SNAP flags when creating a new seek event without KEY_UNIT flag
authorSebastian Dröge <sebastian@centricular.com>
Mon, 11 Jun 2018 07:22:39 +0000 (10:22 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 18 Jun 2018 07:31:16 +0000 (10:31 +0300)
commit8f496b7392185dd8fe1eec22b30dab7f7d481627
tree8b82a289ce00de2b1932c6ba343564eb2714f1da
parent1908daf29caa15b08ad629ce9dd7486927090da0
event: Unset SNAP flags when creating a new seek event without KEY_UNIT flag

The SNAP flags only make sense in combination with the KEY_UNIT flag,
and without they expose all kinds of unexpected behaviour in various
elements that don't expect this from happening.

Also warn if this ever happens.

https://bugzilla.gnome.org/show_bug.cgi?id=796558
gst/gstevent.c