[Bug 673508] New: [basesink] gst_base_sink_get_position - wrong state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 4 07:20:03 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=673508
  GStreamer | gstreamer (core) | 0.10.x

           Summary: [basesink] gst_base_sink_get_position - wrong state
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jlehuraux at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Summary :

When querying position (get position) after seeking (set position) repeatedly,
basesink function gst_base_sink_get_position may hit :

if (!basesink->have_newsegment)
    goto wrong_state;

because the query occured between a flush stop and a new segment.


Steps to reproduce :

* Alternate calls to set/get position on any pipeline with any basesink
subclassed element.
* get position may send -1.
* Try it in pause state.


Expected results :

gst_base_sink_get_position delayed until new segment has been received,
basesink->have_newsegment == TRUE.

-- 
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