summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-25 09:54:06 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-25 09:54:06 +0100
commitec7c27b80a07bffcdb175512fa6d3811c277d959 (patch)
tree1fcdfdecd9e7a5e5650c16e14062b9aef8c15e4a /src/lib/ffmpeg_content.cc
parent871fd0585082b5e00b5b0053dadd298b9ddf60b6 (diff)
parent595f564a52d69d0401f5622c7d81cacda679005c (diff)
Merge branch '1.0' of ssh://carlh.dnsalias.org/home/carl/git/dvdomatic into 1.0
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index 901cb53cf..24378ed3d 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -166,7 +166,8 @@ FFmpegContent::examine (shared_ptr<Job> 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