GNOME Bugzilla – Bug 705553
rtph264pay: Entries of SPS and PPS duplicated
Last modified: 2013-08-13 14:39:41 UTC
The function add_sps_pps_without_duplicates() in gstrtph264pay.c actually duplicates entries of SPS and PPS if they have the same id but different content. The function gst_rtp_h264_add_sps_pps() in gstrtph264depay.c does this in a way that no duplicates are created.
Do you want to provide a patch that fixes this?
I do not have the possibility to provide a patch
Created attachment 251418 [details] [review] rtph264depay: Make the SPS/PPS deduplication function generic Alright, here are patches to use the working function in both, also deletes quite some duplicated code
Created attachment 251419 [details] [review] rtph264pay: Use the SPS/PPS handling function from the depayloader Remove duplicated copies
Fixed commit 4c6e636720c4e054e958a7c6bdc42bdc315ed1b9 Author: Olivier Crête <olivier.crete@collabora.com> Date: Mon Aug 12 15:28:34 2013 -0400 rtph264pay: Use the SPS/PPS handling function from the depayloader Remove duplicated copies https://bugzilla.gnome.org/show_bug.cgi?id=705553 commit 742b90747da5f2f9bd1efd8ccc83e32a3a8fe2e1 Author: Olivier Crête <olivier.crete@collabora.com> Date: Mon Aug 12 15:26:08 2013 -0400 rtph264depay: Make the SPS/PPS deduplication function generic Make it not touch any internals of the depayloader https://bugzilla.gnome.org/show_bug.cgi?id=705553