Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Seungha Yang
gst-plugins-base
Commits
96463bb8
Commit
96463bb8
authored
Apr 06, 2011
by
Bastien Nocera
Committed by
Sebastian Dröge
Apr 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtp: Remove unused variables
https://bugzilla.gnome.org/show_bug.cgi?id=646924
parent
a29e55f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
11 deletions
+1
-11
gst-libs/gst/rtp/gstbasertpdepayload.c
gst-libs/gst/rtp/gstbasertpdepayload.c
+1
-5
gst-libs/gst/rtp/gstrtpbuffer.c
gst-libs/gst/rtp/gstrtpbuffer.c
+0
-6
No files found.
gst-libs/gst/rtp/gstbasertpdepayload.c
View file @
96463bb8
...
...
@@ -271,7 +271,7 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in)
GstClockTime
timestamp
;
guint16
seqnum
;
guint32
rtptime
;
gboolean
reset_seq
,
discont
;
gboolean
discont
;
gint
gap
;
filter
=
GST_BASE_RTP_DEPAYLOAD
(
GST_OBJECT_PARENT
(
pad
));
...
...
@@ -299,7 +299,6 @@ gst_base_rtp_depayload_chain (GstPad * pad, GstBuffer * in)
seqnum
=
gst_rtp_buffer_get_seq
(
in
);
rtptime
=
gst_rtp_buffer_get_timestamp
(
in
);
reset_seq
=
TRUE
;
discont
=
FALSE
;
GST_LOG_OBJECT
(
filter
,
"discont %d, seqnum %u, rtptime %u, timestamp %"
...
...
@@ -547,11 +546,8 @@ static GstFlowReturn
gst_base_rtp_depayload_prepare_push
(
GstBaseRTPDepayload
*
filter
,
gboolean
do_ts
,
guint32
rtptime
,
gboolean
is_list
,
gpointer
obj
)
{
GstBaseRTPDepayloadPrivate
*
priv
;
HeaderData
data
;
priv
=
filter
->
priv
;
data
.
depayload
=
filter
;
data
.
caps
=
GST_PAD_CAPS
(
filter
->
srcpad
);
data
.
rtptime
=
rtptime
;
...
...
gst-libs/gst/rtp/gstrtpbuffer.c
View file @
96463bb8
...
...
@@ -1614,7 +1614,6 @@ gst_rtp_buffer_add_extension_onebyte_header (GstBuffer * buffer, guint8 id,
guint8
*
pdata
;
guint
wordlen
;
gboolean
has_bit
;
guint
bytelen
;
g_return_val_if_fail
(
id
>
0
&&
id
<
15
,
FALSE
);
g_return_val_if_fail
(
size
>=
1
&&
size
<=
16
,
FALSE
);
...
...
@@ -1623,8 +1622,6 @@ gst_rtp_buffer_add_extension_onebyte_header (GstBuffer * buffer, guint8 id,
has_bit
=
gst_rtp_buffer_get_extension_data
(
buffer
,
&
bits
,
(
gpointer
)
&
pdata
,
&
wordlen
);
bytelen
=
wordlen
*
4
;
if
(
has_bit
)
{
gulong
offset
=
0
;
guint8
*
nextext
;
...
...
@@ -1738,7 +1735,6 @@ gst_rtp_buffer_add_extension_twobytes_header (GstBuffer * buffer,
guint8
*
pdata
;
guint
wordlen
;
gboolean
has_bit
;
guint
bytelen
;
g_return_val_if_fail
((
appbits
&
0xF0
)
==
0
,
FALSE
);
g_return_val_if_fail
(
size
<
256
,
FALSE
);
...
...
@@ -1747,8 +1743,6 @@ gst_rtp_buffer_add_extension_twobytes_header (GstBuffer * buffer,
has_bit
=
gst_rtp_buffer_get_extension_data
(
buffer
,
&
bits
,
(
gpointer
)
&
pdata
,
&
wordlen
);
bytelen
=
wordlen
*
4
;
if
(
has_bit
)
{
gulong
offset
=
0
;
guint8
*
nextext
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment