From a420b41a9a0771635b340649961f9fb69d3774fe Mon Sep 17 00:00:00 2001 From: lilo_booter Date: Sat, 18 Sep 2004 18:35:11 +0000 Subject: [PATCH] Build fix and temporary libdv compatability git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@427 d19143bc-622f-0410-bfdd-b5b2a6649095 --- Makefile | 4 ++-- src/humperdink/Makefile | 2 +- src/modules/dv/producer_libdv.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 01259e9d..bb54598c 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ include config.mak SUBDIRS = src/framework \ - src/modules \ src/inigo \ src/valerie \ src/miracle \ src/humperdink \ - src/albino + src/albino \ + src/modules all clean depend: list='$(SUBDIRS)'; \ diff --git a/src/humperdink/Makefile b/src/humperdink/Makefile index 0e96cb7a..c5d82c64 100644 --- a/src/humperdink/Makefile +++ b/src/humperdink/Makefile @@ -8,7 +8,7 @@ OBJS = client.o \ CFLAGS += -I.. -rdynamic -LDFLAGS += -L ../valerie -lvalerie +LDFLAGS += -L ../valerie -L ../framework -lvalerie -lmlt SRCS := $(OBJS:.o=.c) diff --git a/src/modules/dv/producer_libdv.c b/src/modules/dv/producer_libdv.c index 7a0c16bc..249213d2 100644 --- a/src/modules/dv/producer_libdv.c +++ b/src/modules/dv/producer_libdv.c @@ -76,7 +76,7 @@ dv_decoder_t *dv_decoder_alloc( ) // Configure the decoder this = dv_decoder_new( FALSE, FALSE, FALSE ); - this->quality = DV_QUALITY_COLOR | DV_QUALITY_AC_1; + this->quality = DV_QUALITY_COLOR | DV_QUALITY_AC_2; this->audio->arg_audio_emphasis = 2; dv_set_audio_correction( this, DV_AUDIO_CORRECT_AVERAGE ); @@ -419,7 +419,7 @@ static int producer_get_frame( mlt_producer producer, mlt_frame_ptr frame, int i // Parse the header for meta info dv_parse_header( dv_decoder, data ); - mlt_properties_set_int( properties, "progressive", dv_is_progressive( dv_decoder ) ); + //mlt_properties_set_int( properties, "progressive", dv_is_progressive( dv_decoder ) ); mlt_properties_set_double( properties, "aspect_ratio", dv_format_wide( dv_decoder ) ? ( this->is_pal ? 512.0/351.0 : 96.0/79.0 ) : ( this->is_pal ? 128.0/117.0 : 72.0/79.0 ) ); -- 2.39.2