After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
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.
when trying to seek a seekable .dat format video file using gst_element_seek(...
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.19
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-27 07:26 UTC by Anantvijay
Modified: 2009-01-19 08:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Anantvijay 2008-05-27 07:26:43 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.
Comment 1 Sebastian Dröge (slomo) 2008-05-28 09:57:34 UTC
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?
Comment 2 Christoph Wurm 2009-01-19 08:30:49 UTC
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!