summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/video_panel.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index cdd2eb5de..67c369de2 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -262,10 +262,13 @@ VideoPanel::film_content_changed (int property)
}
} else if (property == FFmpegContentProperty::FILTERS) {
if (fcs) {
- string const p = Filter::ffmpeg_string (fcs->filters ());
+ string p = Filter::ffmpeg_string (fcs->filters ());
if (p.empty ()) {
_filters->SetLabel (_("None"));
} else {
+ if (p.length() > 25) {
+ p = p.substr (0, 25) + "...";
+ }
_filters->SetLabel (std_to_wx (p));
}
}