mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-07 16:49:52 +00:00
gst/rtp/gstrtpmpaenc.c: Set buffer duration correctly.
Original commit message from CVS: * gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_flush), (gst_rtpmpaenc_handle_buffer): Set buffer duration correctly.
This commit is contained in:
parent
41af36aa2f
commit
d040c225c4
3 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-09-26 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/rtp/gstrtpmpaenc.c: (gst_rtpmpaenc_flush),
|
||||
(gst_rtpmpaenc_handle_buffer):
|
||||
Set buffer duration correctly.
|
||||
|
||||
2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/avi/gstavidemux.c: (gst_avi_demux_base_init),
|
||||
|
|
|
@ -210,6 +210,7 @@ gst_rtpmpaenc_flush (GstRtpMPAEnc * rtpmpaenc)
|
|||
gst_rtpbuffer_set_marker (outbuf, TRUE);
|
||||
|
||||
GST_BUFFER_TIMESTAMP (outbuf) = rtpmpaenc->first_ts;
|
||||
GST_BUFFER_DURATION (outbuf) = rtpmpaenc->duration;
|
||||
|
||||
ret = gst_basertppayload_push (GST_BASE_RTP_PAYLOAD (rtpmpaenc), outbuf);
|
||||
}
|
||||
|
|
|
@ -210,6 +210,7 @@ gst_rtpmpaenc_flush (GstRtpMPAEnc * rtpmpaenc)
|
|||
gst_rtpbuffer_set_marker (outbuf, TRUE);
|
||||
|
||||
GST_BUFFER_TIMESTAMP (outbuf) = rtpmpaenc->first_ts;
|
||||
GST_BUFFER_DURATION (outbuf) = rtpmpaenc->duration;
|
||||
|
||||
ret = gst_basertppayload_push (GST_BASE_RTP_PAYLOAD (rtpmpaenc), outbuf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue