Mercurial > mplayer.hg
view loader/dmo/Makefile @ 11352:d8b1f7509df2
Patch by Nico <nsabbi@libero.it>
this patch fixes a recently discovered bug for which DVB-C users
couldn't tune
(wrong parsing of the config file and incorrect parameter passing to
tune_it())
and includes the still unapplied patch posted in date 6/9/2003:
- it works correctly with and without caches; in the former case it
doesn't take anymore a lot of time to empty the cache before changing channel;
the uninit_cache() function is called in mplayer.c just after
the new tuning operation
- initialized a variable identifying the tuner type, and exit if it
isn't supported
- doesn't crash anymore when
1) the channels file doesn't exists
2) the tuner is used by another application
3) in the menu, when trying to select a channel before the first
4) some mp_msg() called in case of error
author | attila |
---|---|
date | Sat, 01 Nov 2003 15:17:01 +0000 |
parents | 5d5d1b3ec737 |
children | ce1ba8fd57e7 |
line wrap: on
line source
LIBNAME = libDMO_Filter.a include ../../config.mak # DS_AudioDec.c SRCS = DMO_AudioDecoder.c DMO_VideoDecoder.c buffer.c dmo.c dmo_guids.c OBJS = $(SRCS:.c=.o) INCLUDE = -I. -I../dshow -I.. $(EXTRA_INC) CFLAGS = $(OPTFLAGS) $(INCLUDE) -DNOAVIFILE_HEADERS .SUFFIXES: .c .o # .PHONY: all clean .c.o: $(CC) -c $(CFLAGS) -o $@ $< $(LIBNAME): $(OBJS) $(AR) r $(LIBNAME) $(OBJS) test: test.c $(LIBNAME) $(CC) test.c $(CFLAGS) -o test ./libDMO_Filter.a ../libloader.a $(ARCH_LIBS) -lstdc++ all: $(LIBNAME) clean: rm -f *.o *.a *~ distclean: rm -f Makefile.bak *.o *.a *~ .depend test test.raw dep: depend depend: $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend # # include dependency files if they exist # ifneq ($(wildcard .depend),) include .depend endif