[gstreamer-bugs] [Bug 604913] rtph264pay/NALU/rtph264depay

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 21 08:22:38 PST 2009


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

--- Comment #9 from Wim Taymans <wim.taymans at gmail.com> 2009-12-21 16:22:32 UTC ---
 /* resend SPS */
 sps = gst_buffer_new_and_alloc (rtph264pay->sps_len);
 gst_buffer_set_data (sps, rtph264pay->sps, rtph264pay->sps_len);

This leaks the allocated data and frees the sps multiple times. Maybe you meant
to memcpy into the allocated buffer data.

Also your code does nothing for the packetized case. I'm rewriting it a bit now
to reset the counters in the _decode_nal() function and to prepend the SPS in
the _payload_nal() function (when needed).

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