\r
#include <boost/noncopyable.hpp>\r
\r
+#include <agents.h>\r
#include <vector>\r
\r
struct AVFrame;\r
safe_ptr<implementation> impl_;\r
};\r
\r
+class frame_muxer2 : boost::noncopyable\r
+{\r
+public:\r
+ \r
+ typedef Concurrency::ISource<bool> token_t;\r
+ typedef Concurrency::ISource<std::shared_ptr<AVFrame>> video_source_t;\r
+ typedef Concurrency::ISource<std::shared_ptr<core::audio_buffer>> audio_source_t;\r
+ typedef Concurrency::ITarget<std::shared_ptr<core::basic_frame>> target_t;\r
+\r
+ frame_muxer2(token_t& active_token,\r
+ video_source_t& video_source,\r
+ audio_source_t& audio_source, \r
+ target_t& target,\r
+ double in_fps, \r
+ const safe_ptr<core::frame_factory>& frame_factory);\r
+ \r
+ int64_t calc_nb_frames(int64_t nb_frames) const;\r
+private:\r
+ struct implementation;\r
+ safe_ptr<implementation> impl_;\r
+};\r
+\r
}}
\ No newline at end of file