using the new GST_SEEK_FLAG_INSTANT_RATE_CHANGE of 1.17-1.18

Nicolas Dufresne nicolas at ndufresne.ca
Sun Aug 23 12:45:53 UTC 2020


You can test this feature with gst-play-1.0, you can then look at code for
example usage.

Le sam. 22 août 2020 14 h 00, Mikel Pérez <io at mikelpr.com> a écrit :

> I'm very interested in instant rate change but I can't get it working
> this is my code:
>
> gst_element_seek(
>   GST_ELEMENT(player->pipeline)
> , (double) player->speed
> , GST_FORMAT_UNDEFINED // also tried with GST_FORMAT_TIME here
> , GST_SEEK_FLAG_INSTANT_RATE_CHANGE
> , GST_SEEK_TYPE_NONE
> , GST_CLOCK_TIME_NONE
> , GST_SEEK_TYPE_NONE
> , GST_CLOCK_TIME_NONE
> );
>
> rate won't change. the previous way, doing a normal seek (with
> GST_FORMAT_TIME, GST_SEEK_TYPE_SET and GST_SEEK_FLAG_FLUSH |
> GST_SEEK_FLAG_ACCURATE) does work but I need instant as I'm
> implementing a pitch control
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200823/878072be/attachment.htm>


More information about the gstreamer-devel mailing list