projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b57e6a2
)
Fix bug with setting up content digest.
author
Carl Hetherington
<cth@carlh.net>
Wed, 24 Oct 2012 15:37:54 +0000
(16:37 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 24 Oct 2012 15:37:54 +0000
(16:37 +0100)
src/lib/film_state.cc
patch
|
blob
|
history
diff --git
a/src/lib/film_state.cc
b/src/lib/film_state.cc
index 0d92a16eec38c8421d948e5273dc05a6c45840cd..0ab38214dd7b1d9cec3a16d7aabce95c6707f781 100644
(file)
--- a/
src/lib/film_state.cc
+++ b/
src/lib/film_state.cc
@@
-537,10
+537,11
@@
FilmState::set_content (string c)
set_subtitle_streams (d->subtitle_streams ());
set_audio_stream (audio_streams().empty() ? -1 : 0);
set_subtitle_stream (subtitle_streams().empty() ? -1 : 0);
- set_content_digest (md5_digest (c));
_content = c;
signal_changed (CONTENT);
+
+ set_content_digest (md5_digest (content_path ()));
}
void