[Bug 707130] New: Output selector changes the start of the segment it sends to a pad when making it active.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 30 07:14:35 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=707130
  GStreamer | gstreamer (core) | git

           Summary: Output selector changes the start of the segment it
                    sends to a pad when making it active.
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: mathieu.duponchelle at epitech.eu
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In GES, transition bins are now going to look like that :

http://antopics.fr/transition.svg

We switch output selector's active pads when we want to go from a crossfade to
a smpte type transition.

The problem is that our first clip has a positive segment start now, for
example 1 second. When switching the active pad, output selector does the right
thing, which is sending a segment to the newly activated pad. However, before
doing so, it sets segment start to the current position when resend last buffer
is FALSE.

That sounds wrong, and videomixer has a problem with that, in that it then gets
buffers with timestamps [1 second, ...], and when converting them to running
time still gets 1 second, when it should in fact have 0 to match them with the
other pad's timestamps. This leads to having these buffers dropped, and having
only the second pad's buffers blended.

In my opinion, output selector should just not change the start of the segment
because it's not his business. Changing position makes sense though afaiu.

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