Browse Source

Bump up the priority on the decoding thread.

Originally committed as revision 1201 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
François Revol 22 years ago
parent
commit
3c97fdb8bb
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libav/beosaudio.cpp

+ 1
- 2
libav/beosaudio.cpp View File

@@ -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;
}



Loading…
Cancel
Save