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
Julian Bouzas
WirePlumber
Commits
0e98e415
Commit
0e98e415
authored
Dec 19, 2019
by
George Kiagiadakis
Browse files
config-policy: debug handling of endpoints
parent
40e4ce89
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/module-config-policy/config-policy.c
View file @
0e98e415
...
...
@@ -382,9 +382,15 @@ links_table_handle_foreach (gpointer key, gpointer value, gpointer data)
/* Sort the link infos by role and creation time */
g_ptr_array_sort_with_data
(
link_infos
,
link_info_compare_func
,
target
);
g_debug
(
"handling endpoints:"
);
/* Handle the first endpoint and also the ones with keep=true */
for
(
guint
i
=
0
;
i
<
link_infos
->
len
;
i
++
)
{
struct
link_info
*
li
=
g_ptr_array_index
(
link_infos
,
i
);
g_debug
(
" %2u: %s:%d, keep:%d"
,
i
,
wp_base_endpoint_get_name
(
li
->
ep
),
li
->
stream_id
,
li
->
keep
);
if
(
i
==
0
||
li
->
keep
)
if
(
wp_config_policy_handle_pending_link
(
self
,
li
,
target
))
self
->
endpoint_handled
=
li
->
ep
==
self
->
pending_endpoint
;
...
...
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