static void exit_handler(int signum) { LogInfo(VB_GENERAL, "Caught signal %d\n",signum); CloseCommand(); if(mediaOutputStatus.status == MEDIAOUTPUTSTATUS_PLAYING) { CloseMediaOutput(); } exit(signum); }
int Player::StopMedia(void) { CloseMediaOutput(); }