mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
rtph26*pay: Update param set timestamp even if parameters unchanged
rtph264pay and rtph265pay skip updating the parameter set timestamp if the units they see contain no new configuration. This can result in them injecting duplicate parameters. https://bugzilla.gnome.org/show_bug.cgi?id=796748
This commit is contained in:
parent
0f6a4e7c98
commit
20758215b5
2 changed files with 2 additions and 2 deletions
|
@ -716,7 +716,7 @@ gst_rtp_h264_pay_decode_nal (GstRtpH264Pay * payloader,
|
|||
payloader->sps, payloader->pps, nal);
|
||||
|
||||
/* remember when we last saw SPS */
|
||||
if (updated && pts != -1)
|
||||
if (pts != -1)
|
||||
payloader->last_spspps =
|
||||
gst_segment_to_running_time (&GST_RTP_BASE_PAYLOAD_CAST
|
||||
(payloader)->segment, GST_FORMAT_TIME, pts);
|
||||
|
|
|
@ -801,7 +801,7 @@ gst_rtp_h265_pay_decode_nal (GstRtpH265Pay * payloader,
|
|||
payloader->vps, payloader->sps, payloader->pps, nal);
|
||||
|
||||
/* remember when we last saw VPS */
|
||||
if (updated && pts != -1)
|
||||
if (pts != -1)
|
||||
payloader->last_vps_sps_pps =
|
||||
gst_segment_to_running_time (&GST_RTP_BASE_PAYLOAD_CAST
|
||||
(payloader)->segment, GST_FORMAT_TIME, pts);
|
||||
|
|
Loading…
Reference in a new issue