diff options
author | Olivier Crete <tester@tester.ca> | 2008-08-05 09:42:53 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-08-05 09:42:53 +0000 |
commit | 971ec2d278fe51f1239f2d730c48e9a1beb1fa15 (patch) | |
tree | aed2bf3277b4884c3c301b24703c72165d8b71af /gst/rtpmanager/rtpjitterbuffer.c | |
parent | e0f52ef74db25bf2f7593ff5c34c7d85fe05a39e (diff) | |
download | gst-plugins-bad-971ec2d278fe51f1239f2d730c48e9a1beb1fa15.tar.gz gst-plugins-bad-971ec2d278fe51f1239f2d730c48e9a1beb1fa15.tar.bz2 gst-plugins-bad-971ec2d278fe51f1239f2d730c48e9a1beb1fa15.zip |
gst/rtpmanager/gstrtpjitterbuffer.c: Make the buffer metadata writable before inserting it in the jitterbuffer becaus...
Original commit message from CVS:
Based on patch by: Olivier Crete <tester at tester dot ca>
* gst/rtpmanager/gstrtpjitterbuffer.c:
(gst_rtp_jitter_buffer_chain), (gst_rtp_jitter_buffer_loop):
Make the buffer metadata writable before inserting it in the
jitterbuffer because the jitterbuffer will modify the timestamps.
* gst/rtpmanager/rtpjitterbuffer.c:
Update method comment about requiring writable metadata on buffers.
* gst/rtpmanager/rtpsession.c: (rtp_session_process_sr),
(rtp_session_process_rtcp):
Make the RTCP buffer metadata writable because we want to modify the
metadata.
Fixes #546312.
Diffstat (limited to 'gst/rtpmanager/rtpjitterbuffer.c')
-rw-r--r-- | gst/rtpmanager/rtpjitterbuffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtpmanager/rtpjitterbuffer.c b/gst/rtpmanager/rtpjitterbuffer.c index caca165d..70a49c1e 100644 --- a/gst/rtpmanager/rtpjitterbuffer.c +++ b/gst/rtpmanager/rtpjitterbuffer.c @@ -339,6 +339,7 @@ no_skew: * Inserts @buf into the packet queue of @jbuf. The sequence number of the * packet will be used to sort the packets. This function takes ownerhip of * @buf when the function returns %TRUE. + * @buf should have writable metadata when calling this function. * * Returns: %FALSE if a packet with the same number already existed. */ |