Signed-off-by: Anton Baskanov baskanov@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; }