TranscodeJob::TranscodeJob (shared_ptr<const Film> film)
: Job (film)
{
-
+
}
string
/// TRANSLATORS: fps here is an abbreviation for frames per second
s << "; " << fixed << setprecision (1) << fps << " " << _("fps");
}
-
+
return s.str ();
}
{
/* _transcoder might be destroyed by the job-runner thread */
shared_ptr<Transcoder> t = _transcoder;
-
+
if (!t) {
return 0;
}
-
+
float fps = t->current_encoding_rate ();
if (fps == 0) {