summaryrefslogtreecommitdiff
path: root/src/lib/transcoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-05 23:10:16 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-05 23:10:16 +0000
commit18614dda0d53b713ace5ad1df57298d049dba87f (patch)
treee68887db77ec57a2de344f8230b0e801030bdca5 /src/lib/transcoder.cc
parent8fa7b8c13a76bd54207156de7bb0d09316bad379 (diff)
Split timed from untimed sinks / sources. Should produce same output, in theory.
Diffstat (limited to 'src/lib/transcoder.cc')
-rw-r--r--src/lib/transcoder.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/transcoder.cc b/src/lib/transcoder.cc
index 9720ca56a..3beda2b8b 100644
--- a/src/lib/transcoder.cc
+++ b/src/lib/transcoder.cc
@@ -72,7 +72,8 @@ Transcoder::Transcoder (shared_ptr<Film> f, DecodeOptions o, Job* j, shared_ptr<
_decoders.video->connect_video (_matcher);
_matcher->connect_video (_encoder);
} else {
- _decoders.video->connect_video (_encoder);
+ /* Discard timestamps here */
+ _decoders.video->Video.connect (boost::bind (&Encoder::process_video, _encoder, _1, _2, _3));
}
if (_matcher && _delay_line && _decoders.audio) {