diff options
author | François Revol <revol@free.fr> | 2002-11-12 02:20:02 +0000 |
---|---|---|
committer | François Revol <revol@free.fr> | 2002-11-12 02:20:02 +0000 |
commit | 3c97fdb8bbdd3b67ddfa2ad1a4f26d4e90a527a0 (patch) | |
tree | 6e23d3532e1abfd2b399316fc181df1fa74d5e72 | |
parent | 34dfe896e36def9d757a09e91589eadb2ee37457 (diff) | |
download | ffmpeg-3c97fdb8bbdd3b67ddfa2ad1a4f26d4e90a527a0.tar.gz |
Bump up the priority on the decoding thread.
Originally committed as revision 1201 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libav/beosaudio.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libav/beosaudio.cpp b/libav/beosaudio.cpp index 991237094d..a1ae0a53c8 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; } |