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
517ea0f4
Commit
517ea0f4
authored
Sep 20, 2013
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jitterbuffer: improve debug
parent
c395bf62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/gstrtpjitterbuffer.c
+9
-7
No files found.
gst/rtpmanager/gstrtpjitterbuffer.c
View file @
517ea0f4
...
...
@@ -1496,8 +1496,8 @@ add_timer (GstRtpJitterBuffer * jitterbuffer, TimerType type,
gint
len
;
GST_DEBUG_OBJECT
(
jitterbuffer
,
"add timer for seqnum %d to %"
GST_TIME_FORMAT
,
seqnum
,
GST_TIME_ARGS
(
timeout
));
"add timer for seqnum %d to %"
GST_TIME_FORMAT
", delay %"
GST_TIME_FORMAT
,
seqnum
,
GST_TIME_ARGS
(
timeout
),
GST_TIME_ARGS
(
delay
));
len
=
priv
->
timers
->
len
;
g_array_set_size
(
priv
->
timers
,
len
+
1
);
...
...
@@ -2506,14 +2506,16 @@ wait_next_timeout (GstRtpJitterBuffer * jitterbuffer)
if
(
!
priv
->
timer_running
)
break
;
GST_DEBUG_OBJECT
(
jitterbuffer
,
"sync done, %d, #%d, %"
G_GINT64_FORMAT
,
ret
,
priv
->
timer_seqnum
,
clock_jitter
);
if
(
ret
!=
GST_CLOCK_UNSCHEDULED
)
{
now
=
timer_timeout
+
MAX
(
clock_jitter
,
0
);
GST_DEBUG_OBJECT
(
jitterbuffer
,
"sync done, %d, #%d, %"
G_GINT64_FORMAT
,
ret
,
priv
->
timer_seqnum
,
clock_jitter
);
}
else
{
GST_DEBUG_OBJECT
(
jitterbuffer
,
"sync unscheduled"
);
}
/* and free the entry */
gst_clock_id_unref
(
id
);
priv
->
clock_id
=
NULL
;
if
(
ret
!=
GST_CLOCK_UNSCHEDULED
)
now
=
timer_timeout
+
MAX
(
clock_jitter
,
0
);
}
else
{
/* no timers, wait for activity */
GST_DEBUG_OBJECT
(
jitterbuffer
,
"waiting"
);
...
...
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