GNOME Bugzilla – Bug 535036
when trying to seek a seekable .dat format video file using gst_element_seek(), seeking doesn't happen. Instead it starts from the begining.
Last modified: 2009-01-19 08:30:49 UTC
Steps to reproduce: 1. Create a pipeline. 2. get the pipeline's bus and add a callback to it. 3. Play the video file. 4. Listen on the bus message: GST_MESSAGE_STATE_CHANGED 4.1 use gst_message_state_change() to get the old & new state. if(old == READY && new == PAUSE) #generate a query using query = gst_query_new_seeking(GST_FORMAT_TIME); if(gst_element_query(playbin, query) gst_query_parse_seeking() you will get the seekable flag as TRUE. #Similarly genertate a query to get the duration. you will see the duration=0; 5. Similarly genertate a query to get the position of the seek, say after every second, it will give the position correctly. 6. Now when you try to seek the video to new position, it gives the following error messages "(olaiplayer:22967): GStreamer-CRITICAL **: gst_event_new_new_segment_full: assertion `start != -1' failed (olaiplayer:22967): GStreamer-CRITICAL **: gst_pad_push_event: assertion `event != NULL' failed" and the video restarts from the begining. The same problem is seen with the totem-player 2.18.2 version.
Could you give a sample file to reproduce this or run the application in gdb with G_DEBUG=fatal_warnings and get a backtrace of those warnings?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!