diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-08-12 17:54:52 +0100 |
---|---|---|
committer | Luis de Bethencourt <luis@debethencourt.com> | 2015-08-12 17:54:55 +0100 |
commit | 397b5d06ec7acac7f2818c0ed01743362fdf4d05 (patch) | |
tree | b02a5c7195af05bea08225b0ebde772248d50a61 /gst | |
parent | ef9b7ef60a388dd0ff76b9543e7165ab299504cc (diff) | |
download | gstreamer-plugins-bad-397b5d06ec7acac7f2818c0ed01743362fdf4d05.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
Diffstat (limited to 'gst')
-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; |