diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-08-12 17:54:52 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-02-16 00:24:40 +0000 |
commit | 3bede1c95beba530694afc76e017e574376bbe92 (patch) | |
tree | a0bcd67b4eb97168db017074c6f4bbda262f1789 | |
parent | 18b628824b7b3aaaf847efba74e049027df05ac3 (diff) | |
download | gstreamer-plugins-good-3bede1c95beba530694afc76e017e574376bbe92.tar.gz |
rtph265depay: checking if depay has sps/pps nals before insertion
Related to: https://bugzilla.gnome.org/show_bug.cgi?id=753430
https://bugzilla.gnome.org/show_bug.cgi?id=753228
-rw-r--r-- | gst/rtp/gstrtph265depay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c index 99755d7d2..7d573fe9e 100644 --- a/gst/rtp/gstrtph265depay.c +++ b/gst/rtp/gstrtph265depay.c @@ -574,7 +574,7 @@ gst_rtp_h265_set_src_caps (GstRtpH265Depay * rtph265depay) gst_caps_unref (srccaps); /* Insert SPS and PPS into the stream on next opportunity */ - { + if (rtph265depay->sps->len > 0 || rtph265depay->pps->len > 0) { gint i; GstBuffer *codec_data; GstMapInfo map; |