&out_keyframe);
/* add to adapter */
+ gst_buffer_unmap (nal, &map);
+
GST_DEBUG_OBJECT (depayload, "adding NAL to picture adapter");
gst_adapter_push (rtph264depay->picture_adapter, nal);
rtph264depay->last_ts = in_timestamp;
/* no merge, output is input nal */
GST_DEBUG_OBJECT (depayload, "using NAL as output");
outbuf = nal;
+ gst_buffer_unmap (nal, &map);
}
- gst_buffer_unmap (nal, &map);
if (outbuf) {
/* prepend codec_data */
rtptime = gst_rtp_buffer_get_timestamp (&rtp);
M = gst_rtp_buffer_get_marker (&rtp);
- gst_rtp_buffer_unmap (&rtp);
-
if (rtpmp4gdepay->sizelength > 0) {
gint num_AU_headers, AU_headers_bytes, i;
GstBsParse bs;