[Bug 700127] New: seek/position query fails with mpeg-ts video file

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat May 11 09:28:02 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=700127
  GStreamer | don't know | 1.0.6

           Summary: seek/position query fails with mpeg-ts video file
    Classification: Platform
           Product: GStreamer
           Version: 1.0.6
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lips.john at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=243854)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=243854)
stdout without debug

As you can see in test_output pos_ns jumps around forward and back despite the
fact that this is the output for four one second skips forward as defined here
(in fullscreen02.c):

        gint64 dur_ns, pos_ns, seek_ns;
        GstFormat format;

        format = GST_FORMAT_TIME;

        if ( !gst_element_query_position(pipeline,format,&pos_ns) )
            g_print("query position failed\n");

        seek_ns = pos_ns + 10*GST_SECOND;
        g_print ("pos_ns: %li, seek_ns: %li\n",pos_ns,seek_ns);
        g_print ("position: %" GST_TIME_FORMAT "\n", GST_TIME_ARGS (seek_ns));

        if ( !gst_element_seek_simple (pipeline, GST_FORMAT_TIME,
GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT, seek_ns) ) 
          g_print ("Seek failed!\n");

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list