From 694ae6dd84dc4f98add11474607d8e211bd4ae4a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 2 Oct 2019 17:54:21 +0200 Subject: [PATCH] update for flags --- src/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.c b/src/stream.c index 76dc272ff..71df4c296 100644 --- a/src/stream.c +++ b/src/stream.c @@ -892,7 +892,7 @@ static int create_stream(pa_stream_direction_t direction, fl = PW_STREAM_FLAG_AUTOCONNECT | PW_STREAM_FLAG_MAP_BUFFERS; - s->corked = SPA_FLAG_CHECK(flags, PA_STREAM_START_CORKED); + s->corked = SPA_FLAG_IS_SET(flags, PA_STREAM_START_CORKED); if (s->corked) fl |= PW_STREAM_FLAG_INACTIVE;