-struct Decoders {
- Decoders () {}
-
- Decoders (boost::shared_ptr<VideoDecoder> v, boost::shared_ptr<AudioDecoder> a)
- : video (v)
- , audio (a)
- {}
-
- boost::shared_ptr<VideoDecoder> video;
- boost::shared_ptr<AudioDecoder> audio;
-};
-
-extern Decoders decoder_factory (
- boost::shared_ptr<Film>, DecodeOptions
+extern boost::shared_ptr<Decoder> decoder_factory (
+ boost::shared_ptr<const Film> film,
+ boost::shared_ptr<const Content> content,
+ bool fast,
+ bool tolerant,
+ boost::shared_ptr<Decoder> old_decoder