[gstreamer-bugs] [Bug 543444] gst_base_sink_get_position can return 0 unexpectedly

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Aug 19 09:47:37 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=543444

  GStreamer | gstreamer (core) | Ver: HEAD CVS

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.21




------- Comment #1 from Wim Taymans  2008-08-19 16:47 UTC -------
        * libs/gst/base/gstbasesink.c: (gst_base_sink_render_object),
        (gst_base_sink_event), (gst_base_sink_chain_unlocked),
        (gst_base_sink_negotiate_pull), (gst_base_sink_pad_activate_pull),
        (gst_base_sink_get_position), (gst_base_sink_change_state):
        Improve position reporting in the flushing state.
        Also report the position when we are not yet prerolled but we
        have a newsegment event. Fixes #543444.
        Improve the pull-based negotiation code.

        * tests/check/elements/fakesink.c: (GST_START_TEST),
        (fakesink_suite):
        Add testcase for position reporting while flushing in PAUSED and
        PLAYING.

        * tests/check/generic/sinks.c: (GST_START_TEST):
        Update unit-test, we can now query the position as soon as we receive a
        NEWSEGMENT event.


-- 
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=543444.




More information about the Gstreamer-bugs mailing list