Merge branch 'master' of ssh://houllier/home/carl/git/dvdomatic
authorCarl Hetherington <cth@carlh.net>
Mon, 1 Jul 2013 21:40:49 +0000 (22:40 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 1 Jul 2013 21:40:49 +0000 (22:40 +0100)
ChangeLog
debian/changelog
src/lib/film.cc
src/lib/trimmer.cc
src/tools/wscript
wscript

index 0a14ccd3d8feb9e8cd4acba55caba4934a0cd5dc..83bd209868af44dc1dad1b7c7302a70c4caf3050 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-01  Carl Hetherington  <cth@carlh.net>
+
+       * Version 0.106beta1 released.
+
 2013-06-28  Carl Hetherington  <cth@carlh.net>
 
        * Version 0.105 released.
index 7ccc2bf84e5b542b6044825bd161d05baacefa06..4ea30321961140b69fba6343568cefad1efbdcef 100644 (file)
@@ -1,3 +1,9 @@
+dvdomatic (0.106beta1-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- Carl Hetherington <carl@houllier.lan>  Mon, 01 Jul 2013 16:18:29 +0100
+
 dvdomatic (0.105-1) UNRELEASED; urgency=low
 
   * New upstream release.
index 217673a7f3c1a7e770a3e71b36217d4abd0c4795..1d4d050bcb9c0af541e02fed0839fd8e294e6cd2 100644 (file)
@@ -695,7 +695,7 @@ Film::read_metadata ()
                
        _dirty = false;
 
-       _log->log (String::compose ("Loaded film with use_content_audio = %1", use_content_audio ()));
+       _log->log (String::compose ("Loaded film with use_content_audio = %1", _use_content_audio));
 }
 
 libdcp::Size
index 1ec9e2a5b70c6571b9646859cf5c937ff390a085..99f04793fc3d29e749f8776c4fe7d96207adea24 100644 (file)
@@ -62,8 +62,15 @@ Trimmer::Trimmer (
           the current set of regression tests).  This could be
           removed if a) the regression tests are regenerated and b) I
           can work out what DCP length should be.
+
+          There is also a problem whereby black video frames inserted
+          at the start of the output by the matcher are not taken into account,
+          so if black frames are inserted it means more gets trimmed off the
+          end than should be.  Hack around this in similar fashion with the
+          _video_end = INT_MAX line.
        */
        if (video_trim_end == 0) {
+               _video_end = INT_MAX;
                _audio_end = INT64_MAX;
        }
 }
index 386aa452e20bb7c942a6fbb1f8d94c64805bd515..20a92cad2f4adb38df59f88394426b4f0306853b 100644 (file)
@@ -16,6 +16,8 @@ def build(bld):
         for t in ['dvdomatic', 'dvdomatic_batch', 'servomatic_gui']:
             obj = bld(features = 'cxx cxxprogram')
             obj.uselib = 'DCP OPENJPEG AVFORMAT AVFILTER AVCODEC AVUTIL SWSCALE POSTPROC CXML WXWIDGETS'
+            if bld.env.STATIC:
+                obj.uselib += ' GTK'
             obj.includes = ['..']
             obj.use    = ['libdvdomatic', 'libdvdomatic-wx']
             obj.source = '%s.cc' % t
diff --git a/wscript b/wscript
index e8f6240d3e61338da3756f0808c2a3ee87e9304f..93db7d3ee08516357c3d97c46132499890fbae77 100644 (file)
--- a/wscript
+++ b/wscript
@@ -3,7 +3,7 @@ import os
 import sys
 
 APPNAME = 'dvdomatic'
-VERSION = '0.106pre'
+VERSION = '0.106beta1'
 
 def options(opt):
     opt.load('compiler_cxx')
@@ -112,8 +112,11 @@ def configure(conf):
 
     if conf.env.TARGET_LINUX:
         conf.check_cfg(package='liblzma', args='--cflags --libs', uselib_store='LZMA', mandatory=True)
-        # On Linux we need to be able to include <gtk/gtk.h> to check GTK's version
-        conf.check_cfg(package='gtk+-2.0', args='--cflags', uselib_store='GTK', mandatory=True)
+        if conf.env.STATIC:
+            conf.check_cfg(package='gtk+-2.0', args='--cflags --libs', uselib_store='GTK', mandatory=True)
+        else:
+            # On Linux we need to be able to include <gtk/gtk.h> to check GTK's version
+            conf.check_cfg(package='gtk+-2.0', args='--cflags', uselib_store='GTK', mandatory=True)
 
     conf.check_cfg(package = '', path = conf.options.magickpp_config, args = '--cppflags --cxxflags --libs', uselib_store = 'MAGICK', mandatory = True)