# HG changeset patch # User albeu # Date 1145930481 0 # Node ID 89bd33b746b9dce537c9892e1c304b540d0300ae # Parent 2bf9ae91ff54413f10d983a0f9ca8083471fa307 No need to include the whole libinput in mencoder for a single useless function. diff -r 2bf9ae91ff54 -r 89bd33b746b9 Makefile --- a/Makefile Tue Apr 25 01:38:02 2006 +0000 +++ b/Makefile Tue Apr 25 02:01:21 2006 +0000 @@ -111,7 +111,6 @@ $(DS_LIB) \ libaf/libaf.a \ libmpdemux/libmpdemux.a \ - input/libinput.a \ postproc/libswscale.a \ osdep/libosdep.a \ $(DVDREAD_LIB) \ @@ -370,6 +369,7 @@ LIBS_MPLAYER = libvo/libvo.a \ libao2/libao2.a \ + input/libinput.a \ $(MENU_LIBS) \ $(VIDIX_LIBS) \ $(GUI_LIBS) \ diff -r 2bf9ae91ff54 -r 89bd33b746b9 mencoder.c --- a/mencoder.c Tue Apr 25 01:38:02 2006 +0000 +++ b/mencoder.c Tue Apr 25 02:01:21 2006 +0000 @@ -213,7 +213,11 @@ char *info_sourceform=NULL; char *info_comment=NULL; - +// Needed by libmpdemux. +int mp_input_check_interrupt(int time) { + usec_sleep(time); + return 0; +} //char *out_audio_codec=NULL; // override audio codec //char *out_video_codec=NULL; // override video codec