diff --git a/src/main/filter.c b/src/main/filter.c index a8f2314..391df42 100644 --- a/src/main/filter.c +++ b/src/main/filter.c @@ -77,14 +77,17 @@ static void filter_stream_cb(liStream *stream, liStreamEvent event) { break; case LI_STREAM_CONNECTED_SOURCE: filter->in = (NULL != filter->stream.source) ? filter->stream.source->out : NULL; - /* fall through */ - case LI_STREAM_CONNECTED_DEST: if (NULL != filter->handle_event) { filter->handle_event(filter->vr, filter, event); } else { li_stream_again(stream); } break; + case LI_STREAM_CONNECTED_DEST: + if (NULL != filter->handle_event) { + filter->handle_event(filter->vr, filter, event); + } + break; case LI_STREAM_DISCONNECTED_SOURCE: filter->in = NULL; if (NULL != filter->handle_event) {