[gstreamer-bugs] [Bug 615793] [flactag] when used after flacenc: gst_adapter_take_buffer: assertion `nbytes > 0'

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 14 15:52:22 PDT 2010


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
         AssignedTo|gstreamer-bugs at lists.source |t.i.m at zen.co.uk
                   |forge.net                   |
     Ever Confirmed|0                           |1

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-04-14 22:52:16 UTC ---
Created an attachment (id=158764)
 View: https://bugzilla.gnome.org/attachment.cgi?id=158764
 Review: https://bugzilla.gnome.org/review?bug=615793&attachment=158764

flactag: fix adapter assertion when used directly after flacenc

    flactag: fix adapter assertion when used directly after flacenc

    Unlike filesrc, flacenc outputs the flac blocks neatly aligned one in
    each buffer. This means that when we switch from metadata mode to
    audio data passthrough mode, there's no data left in the adapter to
    push out at this point, so check if there's data in the adapter
    before requesting buffers from it (also needed in case we get input
    buffers of 0 size).

    Fixes #615793.

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