This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: How to use gstreamer's gst_element_seek()

Part Number: AM4378

Hi,

We have a question from a customer of ours that is using Linux SDK7.0.3 on AM4378.
They are trying to rewind an avi file encoded in H264 using gstreamer.
They have specified the gst_element_seek() function as follows, but it does not work, just returns 0.

gst_element_seek(pipeline, (gdouble)rate,
GST_FORMAT_TIME,
(GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT),
GST_SEEK_TYPE_SET, 0,
GST_SEEK_TYPE_SET, cur);

How do they implement rewinding using the gst_element_seek() function?

Best Regards,

Kouji Nishigata