summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-08-12 16:43:48 +0100
committerLuis de Bethencourt <luis@debethencourt.com>2015-08-12 16:51:18 +0100
commit4edf2ac1c51011cce4a52306e7c16bae489b436a (patch)
tree7107c59b390ded1c95fac4ed74e6f482603e97b1 /gst
parent021333a9fc38a67d4054302c55188598c325e98f (diff)
downloadgstreamer-plugins-bad-4edf2ac1c51011cce4a52306e7c16bae489b436a.tar.gz
rtph265depay: PPS replaces old PPS if it has the same id
https://bugzilla.gnome.org/show_bug.cgi?id=753228
Diffstat (limited to 'gst')
-rw-r--r--gst/rtp/gstrtph265depay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtp/gstrtph265depay.c b/gst/rtp/gstrtph265depay.c
index de4e20292..5ee4a74e7 100644
--- a/gst/rtp/gstrtph265depay.c
+++ b/gst/rtp/gstrtph265depay.c
@@ -686,7 +686,7 @@ gst_rtp_h265_add_vps_sps_pps (GstElement * rtph265, GPtrArray * vps_array,
gst_buffer_map (pps, &ppsmap, GST_MAP_READ);
parse_pps (&ppsmap, &tmp_sps_id, &tmp_pps_id);
- if (sps_id == tmp_sps_id && pps_id == tmp_pps_id) {
+ if (pps_id == tmp_pps_id) {
if (map.size == ppsmap.size &&
memcmp (map.data, ppsmap.data, ppsmap.size) == 0) {
GST_LOG_OBJECT (rtph265, "Unchanged PPS %u:%u, not updating", sps_id,