[PATCH 4/5] winegstreamer: Remove redundant wait from mpeg_audio_parser_init_gst().
Anton Baskanov
baskanov at gmail.com
Mon Jun 21 09:35:05 CDT 2021
Signed-off-by: Anton Baskanov <baskanov at gmail.com>
---
dlls/winegstreamer/wg_parser.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c
index 98a53f69132..4ee8d7198e4 100644
--- a/dlls/winegstreamer/wg_parser.c
+++ b/dlls/winegstreamer/wg_parser.c
@@ -1804,15 +1804,6 @@ static BOOL mpeg_audio_parser_init_gst(struct wg_parser *parser)
return FALSE;
}
- pthread_mutex_lock(&parser->mutex);
- while (!parser->has_duration && !parser->error && !stream->eos)
- pthread_cond_wait(&parser->init_cond, &parser->mutex);
- if (parser->error)
- {
- pthread_mutex_unlock(&parser->mutex);
- return FALSE;
- }
- pthread_mutex_unlock(&parser->mutex);
return TRUE;
}
--
2.25.1
More information about the wine-devel
mailing list