X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fffmpeg_content.cc;h=de967c04554cb843c08a8cbb09330078d483e1a6;hb=acb1ace5884337757102bc05074b6b37f04c49cd;hp=901cb53cf6ac8454995745703866e2af32c668d8;hpb=49a51ff9778f3b72ee962d3e8bd9cf71944f3c2b;p=dcpomatic.git diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc index 901cb53cf..de967c045 100644 --- a/src/lib/ffmpeg_content.cc +++ b/src/lib/ffmpeg_content.cc @@ -166,7 +166,8 @@ FFmpegContent::examine (shared_ptr job) string FFmpegContent::summary () const { - return String::compose (_("%1 [movie]"), path()); + /* Get the string() here so that the name does not have quotes around it */ + return String::compose (_("%1 [movie]"), path().filename().string()); } string @@ -186,6 +187,7 @@ FFmpegContent::technical_summary () const return Content::technical_summary() + " - " + VideoContent::technical_summary() + " - " + + AudioContent::technical_summary() + " - " + String::compose ( "ffmpeg: audio %1, subtitle %2, filters %3 %4", as, ss, filt.first, filt.second ); @@ -344,7 +346,7 @@ FFmpegSubtitleStream::as_xml (xmlpp::Node* root) const } Time -FFmpegContent::length () const +FFmpegContent::full_length () const { shared_ptr film = _film.lock (); assert (film);