From: Olivier CrĂȘte Date: Thu, 5 Dec 2013 21:50:27 +0000 (-0500) Subject: rtpasfpay: Use GstRTPBasePayload method to push buffer X-Git-Tag: 1.19.3~507^2~12894 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a970f1cd11c3fd3d070bd52bbde3216aa697335;p=platform%2Fupstream%2Fgstreamer.git rtpasfpay: Use GstRTPBasePayload method to push buffer This way the event is also pushed. https://bugzilla.gnome.org/show_bug.cgi?id=719553 --- diff --git a/gst/asfmux/gstrtpasfpay.c b/gst/asfmux/gstrtpasfpay.c index ce821fd..e5ff0de 100644 --- a/gst/asfmux/gstrtpasfpay.c +++ b/gst/asfmux/gstrtpasfpay.c @@ -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);