rtph265depay: PPS replaces old PPS if it has the same id
https://bugzilla.gnome.org/show_bug.cgi?id=753228
This commit is contained in:
parent
021333a9fc
commit
4edf2ac1c5
@ -686,7 +686,7 @@ gst_rtp_h265_add_vps_sps_pps (GstElement * rtph265, GPtrArray * vps_array,
|
|||||||
gst_buffer_map (pps, &ppsmap, GST_MAP_READ);
|
gst_buffer_map (pps, &ppsmap, GST_MAP_READ);
|
||||||
parse_pps (&ppsmap, &tmp_sps_id, &tmp_pps_id);
|
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 &&
|
if (map.size == ppsmap.size &&
|
||||||
memcmp (map.data, ppsmap.data, ppsmap.size) == 0) {
|
memcmp (map.data, ppsmap.data, ppsmap.size) == 0) {
|
||||||
GST_LOG_OBJECT (rtph265, "Unchanged PPS %u:%u, not updating", sps_id,
|
GST_LOG_OBJECT (rtph265, "Unchanged PPS %u:%u, not updating", sps_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user