[Bug 763165] qtdemux: Seeking in push mode broken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 7 18:31:53 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763165

--- Comment #20 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
commit d8fb7a9c96b108814beeaa0e63f818d4648c7fe9
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date:   Mon Mar 7 10:28:06 2016 -0300

    qtdemux: reset pending segment if we are already pushing one

    When upstream is running in bytes in push-mode, qtdemux will
    convert seeks from time to bytes and send it upstream. Upstream
    element will perform a byte seek and send a byte segment to qtdemux
    that will convert it to time and push it downstream.

    There is, however, the pending_segment variable that stores a new
    segment event to be pushed before the next data. When handling seeks
    as mentioned above this variable was being ignored and, if it contained
    some segment event, it would override the one resulting from the seek.
    This would restore a previous segment and would cause the seek segment
    to be discarded downstream.

    This patch fixes this issue by unrefing any pending segment as the
    seek from upstream should contain the latest one that should be
    used, as requested by the application.

    https://bugzilla.gnome.org/show_bug.cgi?id=763165

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