Build fix and temporary libdv compatability
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 18 Sep 2004 18:35:11 +0000 (18:35 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Sat, 18 Sep 2004 18:35:11 +0000 (18:35 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@427 d19143bc-622f-0410-bfdd-b5b2a6649095

Makefile
src/humperdink/Makefile
src/modules/dv/producer_libdv.c

index 01259e9..bb54598 100644 (file)
--- 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)'; \
index 0e96cb7..c5d82c6 100644 (file)
@@ -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)
 
index 7a0c16b..249213d 100644 (file)
@@ -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 ) );