Skip to content

Commit

Permalink
[rbp/omxplayer] When opening a stream don't try to update gui so often
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Apr 3, 2020
1 parent 29988e3 commit 1230d51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/dialogs/GUIDialogBusy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ bool CGUIDialogBusy::WaitOnEvent(CEvent &event, unsigned int displaytime /* = 10

dialog->Open();

#ifdef TARGET_RASPBERRY_PI
while(!event.WaitMSec(100))
#else
while(!event.WaitMSec(1))
#endif
{
dialog->ProcessRenderLoop(false);
if (allowCancel && dialog->IsCanceled())
Expand Down

0 comments on commit 1230d51

Please sign in to comment.