mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-29 21:47:48 +02:00
Bump up the priority on the decoding thread.
Originally committed as revision 1201 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
34dfe896e3
commit
3c97fdb8bb
@ -228,8 +228,7 @@ static int audio_open(AudioData *s, int is_output)
|
|||||||
s->player->Start();
|
s->player->Start();
|
||||||
s->player->SetHasData(true);
|
s->player->SetHasData(true);
|
||||||
/* bump up the priority (avoid realtime though) */
|
/* 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_DISPLAY_PRIORITY+1);
|
||||||
// set_thread_priority(find_thread(NULL), B_LOW_PRIORITY);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user