gst-play: Fix trick-mode handling.
authorJan Schmidt <jan@centricular.com>
Fri, 21 Jan 2022 14:30:57 +0000 (01:30 +1100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 25 Feb 2022 08:07:25 +0000 (08:07 +0000)
commit1726361622ee9ed52ba6f3cba9eb5efbd50583a5
tree2b04da3a032493899c7e2b6db79eca205d20f365
parent19b638debe348ef9dd0a3f904d813f9e446e4909
gst-play: Fix trick-mode handling.

The instant-rate value in the TrickMode enum is a
flag, but the other values are not. Move instant-rate
to the end of the enum and give it a value large enough
for it to be used without modifying the trick-mode
setting.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1788>
subprojects/gst-plugins-base/tools/gst-play.c