[Bug 727498] New: videodecoder: deactivates downstream bufferpool

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 2 08:29:16 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=727498
  GStreamer | gst-plugins-base | git

           Summary: videodecoder: deactivates downstream bufferpool
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: thiago.sousa.santos at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


In playbin, we end up with the following branch:

videodecoder ! ... ! deinterlace ! ... ! videosink

When changing from or to passthrough, deinterlace currently renegotiates and
might discard or acquire a new bufferpool. When it changes from passthrough to
non-passthrough it acquires a new bufferpool provided by the videosink.

This same bufferpool is also being used by the videodecoder because it does a
late renegotiation (only when the next buffer arrives) and when it renegotiates
it will deactivate its current bufferpool before asking for another one. This
bufferpool is the same that is being used by deinterlace and it will fail on
the
next buffer with FLUSHING when trying to get a buffer.

To prevent this, videodecoder should not deactivate the buffer pool when
renegotiating, it will be deactivated by itself when it is freed.

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