The GST_BUFFER_OFFSET of output buffers returned to GstRtpBasePayload
should reflect the number of "samples" in the unit of the RTP clock in this
buffer. If this is not true, then it shouldn't be set.
https://bugzilla.gnome.org/show_bug.cgi?id=761943
GST_DEBUG_OBJECT (rtpmp4gpay, "reset");
gst_adapter_clear (rtpmp4gpay->adapter);
GST_DEBUG_OBJECT (rtpmp4gpay, "reset");
gst_adapter_clear (rtpmp4gpay->adapter);
- rtpmp4gpay->offset = 0;
GST_BUFFER_PTS (outbuf) = rtpmp4gpay->first_timestamp;
GST_BUFFER_DURATION (outbuf) = rtpmp4gpay->first_duration;
GST_BUFFER_PTS (outbuf) = rtpmp4gpay->first_timestamp;
GST_BUFFER_DURATION (outbuf) = rtpmp4gpay->first_duration;
- if (rtpmp4gpay->frame_len) {
- GST_BUFFER_OFFSET (outbuf) = rtpmp4gpay->offset;
- rtpmp4gpay->offset += rtpmp4gpay->frame_len;
- }
+ GST_BUFFER_OFFSET (outbuf) = GST_BUFFER_OFFSET_NONE;
if (rtpmp4gpay->discont) {
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DISCONT);
if (rtpmp4gpay->discont) {
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_DISCONT);
GstClockTime first_timestamp;
GstClockTime first_duration;
gboolean discont;
GstClockTime first_timestamp;
GstClockTime first_duration;
gboolean discont;
- GstClockTime duration;
- guint64 offset;
gint rate;
gchar *params;
gint rate;
gchar *params;