<pre><font size=4>
I am trying to fiddle with the playback rate but haven't been able to make the video go slower or faster. Anyone know how to do this?

Tried:
1. gst_element_seek();
2.
    /* Create the seek event */
        if (playRate > 0) {
                seek_event =
                        gst_event_new_seek(playRate, GST_FORMAT_TIME,
                                (GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE), GST_SEEK_TYPE_SET,
                                gPosition, GST_SEEK_TYPE_END, 0);
        }
        else {
                seek_event =
                        gst_event_new_seek(playRate, GST_FORMAT_TIME,
                        (GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE), GST_SEEK_TYPE_SET, 0,
                                GST_SEEK_TYPE_SET, gPosition);
        }

        if (video_sink == NULL) {
                /* If we have not done so, obtain the sink through which we will send the seek events */
                g_object_get(G_OBJECT(gespipeline), "video-sink", &video_sink, NULL);
        }
        if (audio_sink == NULL) {
                /* If we have not done so, obtain the sink through which we will send the seek events */
                g_object_get(G_OBJECT(gespipeline), "audio-sink", &audio_sink, NULL);
                if(audio_sink != NULL)
                {
                        gboolean mute = (playRate > 1.0)?TRUE:FALSE;
                                g_object_set(G_OBJECT(audio_sink), "mute",mute, NULL);

                }
        }

        /* Send the event */
        <b>// tried the gespipeline and the gst_element(gespipeline) that has the main pipe.
GstElement* pipeline = (GST_ELEMENT(gespipeline)) / gespipeline;</b>
        gst_element_send_event(pipeline, seek_event);
</font></pre>

        
        
        <div class="signature" style="margin-top:1em;color:#666666;font-size:11px;">
                                ------------------------------
<br/>Gstreamer 1.14.3
<br/>------------------------------
<br/>Windows
                        </div>
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>