mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
gst-libs/gst/rtp/gstrtpbuffer.c: Fix typos and wrong extension check. Fixes #511274.
Original commit message from CVS: Patch by: Thijs Vermeir <thijsvermeir at gmail dot com> * gst-libs/gst/rtp/gstrtpbuffer.c: (gst_rtp_buffer_get_extension_data): Fix typos and wrong extension check. Fixes #511274.
This commit is contained in:
parent
40d76b6dbc
commit
d821d8b783
3 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2008-01-22 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
Patch by: Thijs Vermeir <thijsvermeir at gmail dot com>
|
||||||
|
|
||||||
|
* gst-libs/gst/rtp/gstrtpbuffer.c:
|
||||||
|
(gst_rtp_buffer_get_extension_data):
|
||||||
|
Fix typos and wrong extension check. Fixes #511274.
|
||||||
|
|
||||||
2008-01-18 Jan Schmidt <jan.schmidt@sun.com>
|
2008-01-18 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* po/sk.po:
|
* po/sk.po:
|
||||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 0efbab89d333b5d07cc7da1a501c38edf5bb4f72
|
Subproject commit 662f544d56a6d6ef20b8ea5f56e975f9e139bc78
|
|
@ -592,11 +592,11 @@ gst_rtp_buffer_set_extension (GstBuffer * buffer, gboolean extension)
|
||||||
* @data: location for data
|
* @data: location for data
|
||||||
* @wordlen: location for length of @data in 32 bits words
|
* @wordlen: location for length of @data in 32 bits words
|
||||||
*
|
*
|
||||||
* Get the extension data. @bits will contain the extrnsion 16 bits of custom
|
* Get the extension data. @bits will contain the extension 16 bits of custom
|
||||||
* data. @data will point to the data in the extension and @wordlen will contain
|
* data. @data will point to the data in the extension and @wordlen will contain
|
||||||
* the length of @data in 32 bits words.
|
* the length of @data in 32 bits words.
|
||||||
*
|
*
|
||||||
* If @buffer did not contain an extenstion, this function will return %FALSE
|
* If @buffer did not contain an extension, this function will return %FALSE
|
||||||
* with @bits, @data and @wordlen unchanged.
|
* with @bits, @data and @wordlen unchanged.
|
||||||
*
|
*
|
||||||
* Returns: TRUE if @buffer had the extension bit set.
|
* Returns: TRUE if @buffer had the extension bit set.
|
||||||
|
@ -613,7 +613,7 @@ gst_rtp_buffer_get_extension_data (GstBuffer * buffer, guint16 * bits,
|
||||||
g_return_val_if_fail (GST_IS_BUFFER (buffer), FALSE);
|
g_return_val_if_fail (GST_IS_BUFFER (buffer), FALSE);
|
||||||
g_return_val_if_fail (GST_BUFFER_DATA (buffer) != NULL, FALSE);
|
g_return_val_if_fail (GST_BUFFER_DATA (buffer) != NULL, FALSE);
|
||||||
|
|
||||||
if (GST_RTP_HEADER_EXTENSION (buffer))
|
if (!GST_RTP_HEADER_EXTENSION (buffer))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* move to the extension */
|
/* move to the extension */
|
||||||
|
|
Loading…
Reference in a new issue