gst-play: Don't force accurate seeking
authorEdward Hervey <edward@centricular.com>
Thu, 9 Feb 2023 16:23:55 +0000 (17:23 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 21 Feb 2023 12:54:10 +0000 (12:54 +0000)
commit90508b7387c39c8c34f72c649560ab55c2e36bbd
tree7783f2ecc5ed598e0ace5d65a140c089536fabcc
parent286020bd23f204f7384ac552e9b876fc196463c5
gst-play: Don't force accurate seeking

This crept in several years ago sadly :(

The usage of accurate seeking should be reserved to use-cases where it is
essential that we seek to that position. This should not be the default.

There is a new option `--acurate-seeks/-a` to be able to force that.

Furthermore, if accurate seeks aren't required, a player should be using the
GST_SEEK_FLAG_KEY_UNIT flag to seek to the closest keyframe and provide the most
reactive experience.

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