From 3c97fdb8bbdd3b67ddfa2ad1a4f26d4e90a527a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 12 Nov 2002 02:20:02 +0000 Subject: [PATCH] Bump up the priority on the decoding thread. Originally committed as revision 1201 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/beosaudio.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libav/beosaudio.cpp b/libav/beosaudio.cpp index 991237094d8..a1ae0a53c8a 100644 --- a/libav/beosaudio.cpp +++ b/libav/beosaudio.cpp @@ -228,8 +228,7 @@ static int audio_open(AudioData *s, int is_output) s->player->Start(); s->player->SetHasData(true); /* bump up the priority (avoid realtime though) */ -// set_thread_priority(find_thread(NULL), B_URGENT_DISPLAY_PRIORITY+1); -// set_thread_priority(find_thread(NULL), B_LOW_PRIORITY); + set_thread_priority(find_thread(NULL), B_DISPLAY_PRIORITY+1); return 0; } -- 2.39.5