projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4589acd
)
Fix subtitle panel enabling.
author
Carl Hetherington
<cth@carlh.net>
Fri, 11 Jul 2014 10:32:57 +0000
(11:32 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 11 Jul 2014 10:32:57 +0000
(11:32 +0100)
src/wx/subtitle_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/subtitle_panel.cc
b/src/wx/subtitle_panel.cc
index 7473e5c3a642462212da080421f0c55cbb0ce888..16c10f5ef9f58229e4011495f81f28a4f96b357a 100644
(file)
--- a/
src/wx/subtitle_panel.cc
+++ b/
src/wx/subtitle_panel.cc
@@
-166,7
+166,7
@@
SubtitlePanel::setup_sensitivity ()
shared_ptr<const SubRipContent> sc = boost::dynamic_pointer_cast<const SubRipContent> (*i);
shared_ptr<const DCPSubtitleContent> dsc = boost::dynamic_pointer_cast<const DCPSubtitleContent> (*i);
if (fc) {
- if (
!
fc->has_subtitles ()) {
+ if (fc->has_subtitles ()) {
++ffmpeg_subs;
++any_subs;
}