[gstreamer-bugs] [Bug 526768] New: Basetransform bufferalloc passing through to easily

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 7 10:04:35 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=526768

  GStreamer | gstreamer (core) | Ver: HEAD CVS
           Summary: Basetransform bufferalloc passing through to easily
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: sjoerd at luon.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


If the Basetransform child is in passthrough mode and gets an allocation
request for a buffer with different caps it just passes this through. Which
normall makes sense but not really when the klass has passthrough_on_same_caps
enabled.

A pratical example i've got a pipeline looking like
  customsrcbinthingy ! videoscale ! queue ! xvimagesink..

Under some circumstances the customsrcbinthingy changes it's resolution to
something larger then the xvimagesink can handle. But the videoscale just
passes through the buffer allocation for this, causing it to fail. Not passing
through buffer allocation when the caps are different and
passthrough_on_same_caps is used fixes this issue..

I'll attach a patch in a bit.


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




More information about the Gstreamer-bugs mailing list