Commit 4d2de10d authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics (vout).

parent 7a2431ff
......@@ -1023,15 +1023,13 @@ static void ThreadChangeFilters(vout_thread_t *vout, const char *filters)
vlc_mutex_lock(&vout->p->filter.lock);
filter_chain_Reset(vout->p->filter.chain_static, &fmt, &fmt);
filter_chain_Reset(vout->p->filter.chain_interactive, &fmt, &fmt);
for (int a = 0; a < 2; a++) {
vlc_array_t *array = a == 0 ? &array_static :
&array_interactive;
filter_chain_t *chain = a == 0 ? vout->p->filter.chain_static :
vout->p->filter.chain_interactive;
filter_chain_Reset(chain, &fmt, &fmt);
for (int i = 0; i < vlc_array_count(array); i++) {
vout_filter_t *e = vlc_array_item_at_index(array, i);
msg_Dbg(vout, "Adding '%s' as %s", e->name, a == 0 ? "static" : "interactive");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment