summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-24 22:25:30 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-24 22:25:30 +0100
commit2ee5d40d5ce7406ce4f1975c4fbf88f70dbe2106 (patch)
tree0184a6f777c12ce8263f9ed775d2985c8fab7373 /src/lib/ffmpeg_content.cc
parent4656657c27198d67a188b11e17c42c6ac58ecfba (diff)
Restore nice rendering of content paths.
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