GNOME Bugzilla – Bug 397827
Seeking is not working
Last modified: 2007-01-18 10:10:09 UTC
With a simple pipeline filesrc ! mad ! audiosink using gst_element_send_event does not work and returns FALSE. Attached is simple program that demonstrates it
Created attachment 80559 [details] program demonstrating that gst_element_send_event is broken
I'm going to close this bug because it's not a bug. You're doing a seek while the pipeline is in the NULL state, which will definitely not work. If you want a seek to work, you need to wait for the pipeline to be in the PAUSED or PLAYING state. Also, when looking at your seek event, you are doing a seek in GST_FORMAT_DEFAULT from 1 to 10. I don't think DEFAULT has any correlation in the audio world. Maybe you wanted to do a seek in GST_FORMAT_TIME fro 1 * GST_SECOND to 10 * GST_SECOND.
> Also, when looking at your seek event, you are doing a seek in > GST_FORMAT_DEFAULT from 1 to 10. I don't think DEFAULT has any correlation in > the audio world. DEFAULT means samples/frames for audio streams, but I wouldn't count on it being supported across the board. TIME format is usually much better supported.