[gstreamer-bugs] [Bug 535036] New: when trying to seek a seekable .dat format video file using gst_element_seek(), seeking doesn't happen. Instead it starts from the begining.

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue May 27 00:26:44 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=535036

  GStreamer | don't know | Ver: 0.10.19
           Summary: when trying to seek a seekable .dat format video file
                    using gst_element_seek(), seeking doesn't happen.
                    Instead it starts from the begining.
           Product: GStreamer
           Version: 0.10.19
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: anantvijayk at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


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.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=535036.




More information about the Gstreamer-bugs mailing list