[Bug 724536] Infinite loop while encoding audio to aac

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Feb 20 13:22:55 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=724536
  GStreamer | gst-libav | git

Thiago Sousa Santos <thiago.sousa.santos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.3.1

--- Comment #12 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-02-20 21:43:29 UTC ---
Seems that we do it correctly for the other cases.

For video we already use NULL for draining the encoder.

For decoding the correct way is using pkt.data = NULL and pkt.size = 0 and we
already do that.

commit 845b874575480800e0bdb3209ef7dcc0337a0a16
Author: Thiago Santos <ts.santos at sisa.samsung.com>
Date:   Thu Feb 20 17:25:35 2014 -0300

    avaudenc: fix audio encoder flushing according to libav docs

     * @param[in] frame AVFrame containing the raw audio data to be encoded.
     *                  May be NULL when flushing an encoder that has the
     *                  CODEC_CAP_DELAY capability set.

    The AVFrame itself should be null, not the frame.data pointer

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

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