Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GStreamer
gstreamer
Commits
73953055
Commit
73953055
authored
Mar 15, 2009
by
Stefan Kost
Browse files
systemclock: these warnings are serious, give more detail in the message
parent
c2f1cb40
Changes
1
Hide whitespace changes
Inline
Side-by-side
gst/gstsystemclock.c
View file @
73953055
...
...
@@ -43,6 +43,8 @@
#include
"gstsystemclock.h"
#include
"gstpoll.h"
#include
<errno.h>
/* Define this to get some extra debug about jitter from each clock_wait */
#undef WAIT_DEBUGGING
...
...
@@ -322,7 +324,9 @@ gst_system_clock_wakeup_async_unlocked (GstSystemClock * sysclock)
GST_CAT_DEBUG
(
GST_CAT_CLOCK
,
"writing control"
);
while
(
!
gst_poll_write_control
(
sysclock
->
priv
->
timer
))
{
g_warning
(
"gstsystemclock: write control failed, trying again
\n
"
);
g_warning
(
"gstsystemclock: write control failed in wakeup_async, trying again : %d:%s
\n
"
,
errno
,
g_strerror
(
errno
));
}
sysclock
->
priv
->
async_wakeup_count
++
;
}
...
...
@@ -758,7 +762,9 @@ gst_system_clock_id_unschedule (GstClock * clock, GstClockEntry * entry)
* is usually done when shutting down or some other exceptional case. */
GST_CAT_DEBUG
(
GST_CAT_CLOCK
,
"writing control"
);
while
(
!
gst_poll_write_control
(
GST_SYSTEM_CLOCK_CAST
(
clock
)
->
priv
->
timer
))
{
g_warning
(
"gstsystemclock: write control failed, trying again
\n
"
);
g_warning
(
"gstsystemclock: write control failed in unschedule, trying again
\n
: %d:%s
\n
"
,
errno
,
g_strerror
(
errno
));
}
}
/* when it leaves the poll, it'll detect the unscheduled */
...
...
Write
Preview
Supports
Markdown
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