[MPlayer-users] Latest SVN mplayer unable to play Apple's keynote speech

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 16 19:28:33 CEST 2010


On Tue, Jun 15, 2010 at 05:13:38PM -0400, Tom D. wrote:
> >> Reimar Döffinger said:
> >> The SIGPIPE at the end of the stream.
> >> I think this should maybe be fixed in the live555 library (and maybe even
> >> is in a newer version), though it maybe would also be better to make
> >> MPlayer ignore SIGPIPE.
> >> You could try this:
> >> Index: mplayer.c
> >> ===================================================================
> >> --- mplayer.c   (revision 31425)
> >> +++ mplayer.c   (working copy)
> >> @@ -3030,7 +3030,7 @@
> >>   signal(SIGINT,exit_sighandler);  // Interrupt from keyboard
> >>
> >>   signal(SIGQUIT,exit_sighandler); // Quit from keyboard
> >>-  signal(SIGPIPE,exit_sighandler); // Some window managers cause this
> >>+  signal(SIGPIPE,SIG_IGN); // Some window managers cause this
> >> #ifdef CONFIG_SIGHANDLER
> >>   // fatal errors:
> >>   signal(SIGBUS,exit_sighandler);  // bus error
> >
> > Thank you for the patch. I'll now apply the patch and let you know how
> > things work out.
> 
> Okay I applied the patch did make distclean and rebuild and installed.
> But the problem now  is mplayer won't
> quit when want to exit mplayer. When i click X on upper right hand
> corner of the mplayer's window the window

Which window manager is that? MPlayer handles both MWM close request
and DestroyNotify events, if yours actually just uses SIGPIPE I'd say
it's doing it wrong.


More information about the MPlayer-users mailing list