: _job (j)
, _player (f->make_player ())
, _encoder (new Encoder (f, j))
+ , _finishing (false)
{
_player->Video.connect (bind (video_proxy, _encoder, _1, _2, _3, _4));
_player->Audio.connect (bind (audio_proxy, _encoder, _1));
{
_encoder->process_begin ();
while (!_player->pass ()) {}
+
+ _finishing = true;
_encoder->process_end ();
}
{
return _encoder->video_frames_out ();
}
+