rtpmp4vpay: config-interval -1 send at idr
authorMarc Leeman <marc.leeman@gmail.com>
Thu, 1 Aug 2019 14:28:04 +0000 (14:28 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 1 Aug 2019 14:28:04 +0000 (14:28 +0000)
commitd365c4fdf9baa2217cb132fcd25a67887abb067a
treea8e0f957f445f270420e901aec45c5c2df4c9110
parent5451e4e9007bda433350d031d7561592a99f6f43
rtpmp4vpay: config-interval -1 send at idr

adjust/port from rtph264pay and allow sending the configuration data at
every IDR

The payloader was stripping the configuration data when the
config-interval was set to 0. The code was written in such a way !(a >
0) that it stripped the config when it was set at -1 (send config_data
as soon as possible).

This resulted in some MPEG4 streams where no GOP/VOP-I was detected to
be sent out without configuration.
gst/rtp/gstrtpmp4vpay.c
gst/rtp/gstrtpmp4vpay.h