Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: MP3/MPlayer plugin 0.7.2 available (plugin development)



On 16 Aug 2002 Dariush Forouher <dariush@forouher.de> wrote:

> The VDR's osd and input isn't disabled while replaying mplayer, which
> conflicts then with mplayers lirc input functions. And if you exit

There is nothing that can be done against this without patching
the VDR core. I think all MPlayer patches since ever had this
"feature".

Please be aware that the MPlayer plugin is still a hack. The
player interface wasn't designed to hand out control to an extern
programm.

> mplayer via mplayer's quit command, then mplayer plugin semms to ignore
> that and you habe to stop Replay by hand in VDR's menu.

Could you please try:

--- ../plugins/mp3-0.7.2/player-mplayer.c	Fri Aug 16 16:45:07 2002
+++ PLUGINS/SRC/mp3/player-mplayer.c	Fri Aug 16 22:25:15 2002
@@ -68,6 +68,7 @@
 bool cMPlayerPlayer::Active(void)
 {
   if(kill(pid,0)<0 && errno==ESRCH) return false;
+  waitpid(pid,0,WNOHANG);
   return true;
 }

-- 
Stefan Huelswitt
huels@iname.com  | http://home.pages.de/~nathan




Home | Main Index | Thread Index