set_content (largest_file);
}
+/** Start a job to examine our content file */
void
Film::examine_content ()
{
return f;
}
+/** Start a job to send our DCP to the configured TMS */
void
Film::send_dcp_to_tms ()
{
JobManager::instance()->add (j);
}
+/** Count the number of frames that have been encoded for this film.
+ * @return frame count.
+ */
int
Film::encoded_frames () const
{
return N;
}
+/** Return the filename of a subtitle image if one exists for a given thumb index.
+ * @param Thumbnail index.
+ * @return Position of the image within the source frame, and the image filename, if one exists.
+ * Otherwise the filename will be empty.
+ */
pair<Position, string>
Film::thumb_subtitle (int n) const
{
using namespace std;
using namespace boost;
-/** Write state to a stream.
- * @param f Stream to write to.
- */
+/** Write state to our `metadata' file */
void
FilmState::write_metadata () const
{
_dirty = false;
}
-/** Read state from a key / value pair.
- * @param k Key.
- * @param v Value.
- */
+/** Read state from our metadata file */
void
FilmState::read_metadata ()
{