Commit 469b2b1f authored by mmu_man's avatar mmu_man

Bump up the priority on the decoding thread.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1201 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 161d777c
...@@ -228,8 +228,7 @@ static int audio_open(AudioData *s, int is_output) ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment