Skip to content

Commit

Permalink
Disabled the debug code in signal handler.
Browse files Browse the repository at this point in the history
Removed NO_BUFFERING define for this release will not hold fast seeking mods.
  • Loading branch information
jehutting committed Feb 9, 2014
1 parent 005da18 commit 29827b0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions omxplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ enum{ERROR=-1,SUCCESS,ONEBYTE};

void sig_handler(int s)
{
#define SIG_HANDLER_DEBUG
//#define SIG_HANDLER_DEBUG
#if defined(SIG_HANDLER_DEBUG)
printf("omxplayer:: sig_handler() ");
if (s == SIGINT)
Expand Down Expand Up @@ -1164,7 +1164,6 @@ int main(int argc, char *argv[])
PrintSubtitleInfo();

/* JEHUTTING*/
//#define NO_BUFFERING
#define FIX_ErrorInsufficientResources
#if defined(FIX_ErrorInsufficientResources)
m_av_clock->OMXReset(m_has_video, m_has_audio);
Expand Down Expand Up @@ -1524,7 +1523,6 @@ int main(int argc, char *argv[])
goto do_exit;
}

#if !defined(NO_BUFFERING)
if (update)
{
/* when the video/audio fifos are low, we pause clock, when high we resume */
Expand Down Expand Up @@ -1663,7 +1661,6 @@ int main(int argc, char *argv[])
}
}
}
#endif

if (!sentStarted)
{
Expand Down

0 comments on commit 29827b0

Please sign in to comment.