DVD-o-matic generates Digital Cinema Packages (DCPs) from video and audio
files (such as those from DVDs or Blu-Rays) for presentation on DCI-compliant
digital projectors.
+
+Package: dvdomatic-dbg
+Architecture: i386
+Section: debug
+Priority: extra
+Depends: ${dvdomatic:Depends}, ${misc:Depends}
+Description: debugging symbols for dvdomatic
+ This package contains the debugging symbols for dvdomatic.
+
DVD-o-matic generates Digital Cinema Packages (DCPs) from video and audio
files (such as those from DVDs or Blu-Rays) for presentation on DCI-compliant
digital projectors.
+
+Package: dvdomatic-dbg
+Architecture: amd64
+Section: debug
+Priority: extra
+Depends: dvdomatic = (${binary:Version}), ${misc:Depends}
+Description: debugging symbols for dvdomatic
+ This package contains the debugging symbols for dvdomatic.
+
DVD-o-matic generates Digital Cinema Packages (DCPs) from video and audio
files (such as those from DVDs or Blu-Rays) for presentation on DCI-compliant
digital projectors.
+
+Package: dvdomatic-dbg
+Architecture: i386
+Section: debug
+Priority: extra
+Depends: dvdomatic = (${binary:Version}), ${misc:Depends}
+Description: debugging symbols for dvdomatic
+ This package contains the debugging symbols for dvdomatic.
+
DVD-o-matic generates Digital Cinema Packages (DCPs) from video and audio
files (such as those from DVDs or Blu-Rays) for presentation on DCI-compliant
digital projectors.
+
+Package: dvdomatic-dbg
+Architecture: amd64
+Section: debug
+Priority: extra
+Depends: dvdomatic = (${binary:Version}), ${misc:Depends}
+Description: debugging symbols for dvdomatic
+ This package contains the debugging symbols for dvdomatic.
+
env.set('CDIST_CXXFLAGS', env.get('CXXFLAGS'))
env.set('CDIST_PKG_CONFIG_PATH', env.get('PKG_CONFIG_PATH'))
env.command('dpkg-buildpackage')
- return os.path.abspath(glob.glob('../*.deb')[0])
+
+ debs = []
+ for p in glob.glob('../*.deb'):
+ debs.append(os.path.abspath(p))
+
+ return debs
def make_pot(env):
env.command('./waf pot')
override_dh_auto_configure:
LINKFLAGS=$(CDIST_LINKFLAGS) CXXFLAGS="$(CXXFLAGS) $(CDIST_CXXFLAGS)" PKG_CONFIG_PATH=$(CDIST_PKG_CONFIG_PATH) \
- ./waf --nocache configure --prefix=/usr --static
+ ./waf --nocache configure --prefix=/usr --static --enable-debug
override_dh_auto_build:
./waf --nocache build
override_dh_auto_install:
./waf --nocache install --destdir=debian/dvdomatic
+.PHONY: override_dh_strip
+override_dh_strip:
+ dh_strip --dbg-package=dvdomatic-dbg
assert (_encoder);
shared_ptr<AudioStream> st = f->audio_stream();
- _matcher.reset (new Matcher (f->log(), st->sample_rate(), f->source_frame_rate()));
+ if (st) {
+ _matcher.reset (new Matcher (f->log(), st->sample_rate(), f->source_frame_rate()));
+ }
_delay_line.reset (new DelayLine (f->log(), f->audio_delay() / 1000.0f));
_gain.reset (new Gain (f->log(), f->audio_gain()));
/* Set up the decoder to use the film's set streams */
_decoders.video->set_subtitle_stream (f->subtitle_stream ());
- _decoders.audio->set_audio_stream (f->audio_stream ());
+ if (f->audio_stream ()) {
+ _decoders.audio->set_audio_stream (f->audio_stream ());
+ }
_decoders.video->connect_video (_delay_line);
- _delay_line->connect_video (_matcher);
- _matcher->connect_video (_encoder);
+ if (_matcher) {
+ _delay_line->connect_video (_matcher);
+ _matcher->connect_video (_encoder);
+ } else {
+ _delay_line->Video.connect (bind (&Encoder::process_video, _encoder, _1, _2, _3));
+ }
_decoders.audio->connect_audio (_delay_line);
- _delay_line->connect_audio (_matcher);
- _matcher->connect_audio (_gain);
+ if (_matcher) {
+ _delay_line->connect_audio (_matcher);
+ _matcher->connect_audio (_gain);
+ } else {
+ _delay_line->Audio.connect (bind (&Encoder::process_audio, _encoder, _1));
+ }
_gain->connect_audio (_encoder);
}
}
_delay_line->process_end ();
- _matcher->process_end ();
+ if (_matcher) {
+ _matcher->process_end ();
+ }
_gain->process_end ();
_encoder->process_end ();
}