2015-04-12 Carl Hetherington <cth@carlh.net>
+ * Hand-apply 83f1ea8eacb4d56860ccdb9db5acdf12c6e71dfb from master;
+ ellipsize filters strings if it is long.
+
* Hand-apply 24ae3a8f0a68529b50c34079e643caf6b9327523 from master;
use the number of mapped audio channels for the DCP name, not the
number of DCP channels (#479).
-83f1ea8eacb4d56860ccdb9db5acdf12c6e71dfb
c0e0b90d987af2586323d4a67bd67330256da51d
69866d9ba972d21375081c313ac245535ac55be9
}
} 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));
}
}