projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
642a967
)
Mark video/stills differently on the timeline.
author
Carl Hetherington
<cth@carlh.net>
Thu, 18 Jul 2013 23:31:41 +0000
(
00:31
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 18 Jul 2013 23:31:41 +0000
(
00:31
+0100)
src/wx/timeline.cc
patch
|
blob
|
history
diff --git
a/src/wx/timeline.cc
b/src/wx/timeline.cc
index 6eba7f7936ceb619864f11552a4befaffa3b8ba3..3747a3dac0c44574e271d4bac6afdf95ae07648c 100644
(file)
--- a/
src/wx/timeline.cc
+++ b/
src/wx/timeline.cc
@@
-219,7
+219,11
@@
private:
wxString type () const
{
wxString type () const
{
- return _("video");
+ if (dynamic_pointer_cast<FFmpegContent> (content ())) {
+ return _("video");
+ } else {
+ return _("still");
+ }
}
wxColour colour () const
}
wxColour colour () const