summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-30 13:57:52 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-30 13:57:52 +0100
commit74fe68e5895654e27a7cf8097917c1e95fa89519 (patch)
tree8afd88ce9f43293798dfb8018d024adac09388c2
parent3c2a72e6e1d4fa47490155a0d6f5e9c5a3a17f68 (diff)
parent7d93aa13507094e87bc9086986b36edd96a613b0 (diff)
Merge master.
-rw-r--r--ChangeLog25
-rw-r--r--debian/changelog6
-rw-r--r--src/lib/playlist.cc3
-rw-r--r--src/wx/film_editor.cc6
-rw-r--r--src/wx/wscript4
5 files changed, 38 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index cb4d1c3c7..12d262f4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,31 @@
* Add subtitle view.
+2014-06-30 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.72.0 released.
+
+2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.71.2 released.
+
+2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.71.1 released.
+
+2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Fix crash on analysing audio (and possibly DCP creation) with
+ resampled content.
+
+2014-06-27 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.71.0 released.
+
+2014-06-27 Carl Hetherington <cth@carlh.net>
+
+ * Fix up/down buttons in content list.
+
2014-06-26 Carl Hetherington <cth@carlh.net>
* Version 1.70.1 released.
diff --git a/debian/changelog b/debian/changelog
index 7a38ec535..69508cb10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-dcpomatic (1.70.1-1) UNRELEASED; urgency=low
+dcpomatic (1.72.0-1) UNRELEASED; urgency=low
* New upstream release.
* New upstream release.
@@ -163,8 +163,10 @@ dcpomatic (1.70.1-1) UNRELEASED; urgency=low
* New upstream release.
* New upstream release.
* New upstream release.
+ * New upstream release.
+ * New upstream release.
- -- Carl Hetherington <carl@d1stkfactory> Thu, 26 Jun 2014 19:30:39 +0100
+ -- Carl Hetherington <carl@d1stkfactory> Mon, 30 Jun 2014 10:43:16 +0100
dcpomatic (0.87-1) UNRELEASED; urgency=low
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc
index 710b9cc09..1c65d1326 100644
--- a/src/lib/playlist.cc
+++ b/src/lib/playlist.cc
@@ -366,6 +366,7 @@ Playlist::move_earlier (shared_ptr<Content> c)
if (previous == _content.end ()) {
return;
}
+
DCPTime const p = (*previous)->position ();
(*previous)->set_position (p + c->length_after_trim ());
@@ -394,6 +395,6 @@ Playlist::move_later (shared_ptr<Content> c)
DCPTime const p = (*next)->position ();
(*next)->set_position (c->position ());
- c->set_position (p + c->length_after_trim ());
+ c->set_position (c->position() + c->length_after_trim ());
sort (_content.begin(), _content.end(), ContentSorter ());
}
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index 002f89604..0c70d4b3e 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -529,6 +529,8 @@ FilmEditor::film_content_changed (int property)
setup_dcp_name ();
} else if (property == ContentProperty::PATH) {
setup_content ();
+ } else if (property == ContentProperty::POSITION) {
+ setup_content ();
}
}
@@ -749,6 +751,8 @@ FilmEditor::setup_content ()
_content->DeleteAllItems ();
ContentList content = _film->content ();
+ sort (content.begin(), content.end(), ContentSorter ());
+
for (ContentList::iterator i = content.begin(); i != content.end(); ++i) {
int const t = _content->GetItemCount ();
bool const valid = (*i)->paths_valid ();
@@ -757,7 +761,7 @@ FilmEditor::setup_content ()
if (!valid) {
s = _("MISSING: ") + s;
}
-
+
_content->InsertItem (t, std_to_wx (s));
if ((*i)->summary() == selected_summary) {
diff --git a/src/wx/wscript b/src/wx/wscript
index bc21f9d81..bb5309894 100644
--- a/src/wx/wscript
+++ b/src/wx/wscript
@@ -72,8 +72,8 @@ def configure(conf):
conf.in_msg = 1
wx_version = conf.check_cfg(package='', path=conf.options.wx_config, args='--version').strip()
conf.im_msg = 0
- if wx_version != '3.0.0':
- conf.fatal('wxwidgets version 3.0.0 is required; %s found' % wx_version)
+ if not wx_version.startswith('3.0.'):
+ conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version)
def build(bld):
if bld.env.BUILD_STATIC: