mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 12:02:27 +00:00
rtph263depay: baseclass handles timestamps for us
This commit is contained in:
parent
27ff4a8a47
commit
564581e1b8
1 changed files with 1 additions and 3 deletions
|
@ -301,7 +301,6 @@ gst_rtp_h263_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
|||
if (rtph263depay->start) {
|
||||
/* frame is completed */
|
||||
guint avail;
|
||||
guint32 timestamp;
|
||||
|
||||
if (rtph263depay->offset) {
|
||||
/* push in the leftover */
|
||||
|
@ -320,8 +319,7 @@ gst_rtp_h263_depay_process (GstBaseRTPDepayload * depayload, GstBuffer * buf)
|
|||
|
||||
GST_DEBUG ("Pushing out a buffer of %d bytes", avail);
|
||||
|
||||
timestamp = gst_rtp_buffer_get_timestamp (buf);
|
||||
gst_base_rtp_depayload_push_ts (depayload, timestamp, outbuf);
|
||||
gst_base_rtp_depayload_push (depayload, outbuf);
|
||||
rtph263depay->offset = 0;
|
||||
rtph263depay->leftover = 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue