How to set "rate_step" when using gst-play ?

Michael Z Freeman michael at michaelzfreeman.org
Sun Aug 21 11:27:32 UTC 2022


Actually my bad,  I do know what a function is, lol. So @ 1477 various stepping values are 
defined.



[1]

On Saturday, 20 August 2022 16:00:36 BST Michael Z Freeman via gstreamer-devel wrote:
> Hi,
> 
> Just built this ...
> https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/
> subprojects/gst-plugins-base/tools/gst-play.c[1]
> 
> It's working fine but I want to change the playback rate (when using +/-
> keyboard controls) as smoothly as possible. I can see a "rate_step" @ 1088.
> There's refs to it in other files (I just searched the entire code base)
> but I can't see where its actually set to the 0.10 steps it goes in.
> 
> Cheers
> 
> Michael
> 
> 
> 
> [2]
> 
> --------
> [1]
> https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/
> gst-plugins-base/tools/gst-play.c [2] sig.png



--------
[1] sig.png
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220821/52251729/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sig.png
Type: image/png
Size: 135693 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220821/52251729/attachment-0001.png>


More information about the gstreamer-devel mailing list