diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-08-15 16:22:20 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-02-16 00:24:41 +0000 |
commit | 698e5bbfb59f4b88da05aa32b992607a8dd5b9ea (patch) | |
tree | 9c14e1003c2c0228c0093f68449dae9198a88212 | |
parent | 1e55d0d725c4f86fddcbbf3663f1edc65b6aae54 (diff) | |
download | gstreamer-plugins-good-698e5bbfb59f4b88da05aa32b992607a8dd5b9ea.tar.gz |
rtph265depay: make sure we call handle_nal for each NAL
Call handle_nal for each NAL in the STAP-A RTP packet. This makes sure
we correctly extract the SPS and PPS.
https://bugzilla.gnome.org/show_bug.cgi?id=730999
-rw-r--r-- | gst/rtp/gstrtph265depay.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c index 9718d5831..bfc2e13a0 100644 --- a/gst/rtp/gstrtph265depay.c +++ b/gst/rtp/gstrtph265depay.c @@ -1311,7 +1311,11 @@ gst_rtp_h265_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp) gst_rtp_copy_meta (GST_ELEMENT_CAST (rtph265depay), outbuf, buf, g_quark_from_static_string (GST_META_TAG_VIDEO_STR)); - gst_adapter_push (rtph265depay->adapter, outbuf); + outbuf = + gst_rtp_h265_depay_handle_nal (rtph265depay, outbuf, timestamp, + marker); + if (outbuf) + gst_adapter_push (rtph265depay->adapter, outbuf); payload += nalu_size; payload_len -= nalu_size; |