using the new GST_SEEK_FLAG_INSTANT_RATE_CHANGE of 1.17-1.18

Mathieu Duponchelle mathieu at centricular.com
Sun Aug 23 21:22:00 UTC 2020


The source / demuxer you're seeking needs to support instant rate changes,
maybe check that :)

On 8/22/20 6:54 PM, Mikel Pérez wrote:
> 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


More information about the gstreamer-devel mailing list