mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
Add call to gst_rtp_h264_pay_clear_sps_pps() when receiving a STREAM_START event
https://bugzilla.gnome.org/show_bug.cgi?id=692787
This commit is contained in:
parent
b137f79581
commit
8eceb8f327
1 changed files with 4 additions and 0 deletions
|
@ -1217,6 +1217,10 @@ gst_rtp_h264_pay_sink_event (GstRTPBasePayload * payload, GstEvent * event)
|
|||
gst_rtp_h264_pay_handle_buffer (payload, NULL);
|
||||
break;
|
||||
}
|
||||
case GST_EVENT_STREAM_START:
|
||||
GST_DEBUG_OBJECT (rtph264pay, "New stream detected => Clear SPS and PPS");
|
||||
gst_rtp_h264_pay_clear_sps_pps (rtph264pay);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue