rtspsrc: Don't propagate spurious state change returns from internal elements further
authorSebastian Dröge <sebastian@centricular.com>
Wed, 27 Apr 2016 15:27:17 +0000 (18:27 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 27 Apr 2016 17:52:15 +0000 (20:52 +0300)
commitd24e68719bc13dfb900f8e71ccca0893c04d11db
tree26a0a960a382bc22c65d6e38d7313df8a65ef77e
parente538608b3f90539003de21c1db238f3c9b946e30
rtspsrc: Don't propagate spurious state change returns from internal elements further

We handle them inside rtspsrc and override them in all other cases anyway, so
do the same for "internal" state changes like PAUSED->PAUSED and
PLAYING->PLAYING.

This keeps unexpected NO_PREROLL to confuse state changes in GstBin.

See also https://bugzilla.gnome.org/show_bug.cgi?id=760532

https://bugzilla.gnome.org/show_bug.cgi?id=765689
gst/rtsp/gstrtspsrc.c