tests/screen-cast-client: Add a couple of more debug logs
It makes it easier to diagnose issues. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4065>
This commit is contained in:
parent
9358d00381
commit
e417643d78
@ -452,6 +452,7 @@ stream_wait_for_cursor_position (Stream *stream,
|
|||||||
static void
|
static void
|
||||||
stream_wait_for_streaming (Stream *stream)
|
stream_wait_for_streaming (Stream *stream)
|
||||||
{
|
{
|
||||||
|
g_debug ("Waiting for stream to stream");
|
||||||
while (stream->state != PW_STREAM_STATE_STREAMING)
|
while (stream->state != PW_STREAM_STATE_STREAMING)
|
||||||
g_main_context_iteration (NULL, TRUE);
|
g_main_context_iteration (NULL, TRUE);
|
||||||
}
|
}
|
||||||
@ -461,6 +462,7 @@ stream_wait_for_render (Stream *stream)
|
|||||||
{
|
{
|
||||||
int initial_buffer_count = stream->buffer_count;
|
int initial_buffer_count = stream->buffer_count;
|
||||||
|
|
||||||
|
g_debug ("Waiting for new buffer");
|
||||||
while (stream->buffer_count == initial_buffer_count)
|
while (stream->buffer_count == initial_buffer_count)
|
||||||
g_main_context_iteration (NULL, TRUE);
|
g_main_context_iteration (NULL, TRUE);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user