Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
006562c9
Commit
006562c9
authored
Jun 28, 2013
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
theorapay: small cleanups
parent
cdc66462
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gst/rtp/gstrtptheorapay.c
gst/rtp/gstrtptheorapay.c
+2
-3
No files found.
gst/rtp/gstrtptheorapay.c
View file @
006562c9
...
...
@@ -462,7 +462,6 @@ gst_rtp_theora_pay_finish_headers (GstRTPBasePayload * basepayload)
/* store length for each header */
for
(
walk
=
rtptheorapay
->
headers
;
walk
;
walk
=
g_list_next
(
walk
))
{
GstBuffer
*
buf
=
GST_BUFFER_CAST
(
walk
->
data
);
guint
bsize
,
size
,
temp
;
guint
flag
;
...
...
@@ -487,7 +486,7 @@ gst_rtp_theora_pay_finish_headers (GstRTPBasePayload * basepayload)
size
--
;
data
[
size
]
=
(
bsize
&
0x7f
)
|
flag
;
bsize
>>=
7
;
flag
=
0x80
;
flag
=
0x80
;
/* Flag bit on all bytes of the length except the last */
}
data
+=
temp
;
}
...
...
@@ -683,9 +682,9 @@ gst_rtp_theora_pay_payload_buffer (GstRtpTheoraPay * rtptheorapay, guint8 TDT,
}
}
if
(
fragmented
)
{
gst_rtp_buffer_unmap
(
&
rtp
);
/* fragmented packets are always flushed and have ptks of 0 */
rtptheorapay
->
payload_pkts
=
0
;
gst_rtp_buffer_unmap
(
&
rtp
);
ret
=
gst_rtp_theora_pay_flush_packet
(
rtptheorapay
);
if
(
size
>
0
)
{
...
...
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