projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.
[dcpomatic.git]
/
src
/
wx
/
timing_panel.cc
diff --git
a/src/wx/timing_panel.cc
b/src/wx/timing_panel.cc
index a0e1f8f8a4845b8ebc9c852202d89818b55f8f01..27d5b9cd35f3f4e87bd771d3f76402c1f674592e 100644
(file)
--- a/
src/wx/timing_panel.cc
+++ b/
src/wx/timing_panel.cc
@@
-166,9
+166,10
@@
TimingPanel::film_content_changed (int property)
set<float> check;
shared_ptr<VideoContent> vc;
for (ContentList::const_iterator i = cl.begin (); i != cl.end(); ++i) {
set<float> check;
shared_ptr<VideoContent> vc;
for (ContentList::const_iterator i = cl.begin (); i != cl.end(); ++i) {
- vc = dynamic_pointer_cast<VideoContent> (*i);
- if (vc) {
- check.insert (vc->video_frame_rate ());
+ shared_ptr<VideoContent> t = dynamic_pointer_cast<VideoContent> (*i);
+ if (t) {
+ check.insert (t->video_frame_rate ());
+ vc = t;
}
}
if (check.size() == 1) {
}
}
if (check.size() == 1) {