fix muesli hating me for going to paused before stopped
author Harald Sitter
()
committer Trever Fischer
()
commit 2875650dbccf2f99f108aec70af4d69028c9b76d
tree 55f21cfe625636890e6a813760e8dede5d989dc2
parent 2cc6522d7e2ea3ad180d6aa7efbc84bbe263166d
fix muesli hating me for going to paused before stopped

gstreamer is a very funny thing in that it goes to paused before going to
stopped (Which is because gstreamer does not actually know stopped), to
prevent this we simply turn of statechange emission entirely while working
on endofstream (in which go to translated stopped) and emit but one
change to stopped

this only applies to non-gapless use cases

Conflicts:
gstreamer/mediaobject.cpp
gstreamer/mediaobject.cpp
gstreamer/mediaobject.h