rtph265depay: PPS replaces old PPS if it has the same id
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 12 Aug 2015 15:43:48 +0000 (16:43 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 Feb 2016 00:24:40 +0000 (00:24 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=753228

gst/rtp/gstrtph265depay.c

index de4e202..5ee4a74 100644 (file)
@@ -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,