mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
rtpasfpay: Use GstRTPBasePayload method to push buffer
This way the event is also pushed. https://bugzilla.gnome.org/show_bug.cgi?id=719553
This commit is contained in:
parent
c635cb233f
commit
0a970f1cd1
1 changed files with 1 additions and 3 deletions
|
@ -287,9 +287,7 @@ gst_rtp_asf_pay_handle_packet (GstRtpAsfPay * rtpasfpay, GstBuffer * buffer)
|
|||
rtppay->timestamp = packetinfo->send_time;
|
||||
|
||||
GST_DEBUG_OBJECT (rtpasfpay, "Pushing rtp buffer");
|
||||
ret =
|
||||
gst_pad_push (GST_RTP_BASE_PAYLOAD_SRCPAD (rtppay),
|
||||
rtpasfpay->current);
|
||||
ret = gst_rtp_base_payload_push (rtppay, rtpasfpay->current);
|
||||
rtpasfpay->current = NULL;
|
||||
if (ret != GST_FLOW_OK) {
|
||||
gst_buffer_unref (buffer);
|
||||
|
|
Loading…
Reference in a new issue