summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-06-02 21:14:24 +0100
committerCarl Hetherington <cth@carlh.net>2016-06-02 21:14:24 +0100
commitca436a8e96e02f982790d4168ac3dfe1d589451c (patch)
tree6f3ee681e03c2633b48fedb3e11b5ce2fadbaa06 /src/lib/ffmpeg_content.cc
parent6f68971e81a9b16973b3784f2f3f93f42ceb2af1 (diff)
Fix crash when loading old state files.
Diffstat (limited to 'src/lib/ffmpeg_content.cc')
-rw-r--r--src/lib/ffmpeg_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_content.cc b/src/lib/ffmpeg_content.cc
index 0f66180d0..b2b67e565 100644
--- a/src/lib/ffmpeg_content.cc
+++ b/src/lib/ffmpeg_content.cc
@@ -73,7 +73,7 @@ FFmpegContent::FFmpegContent (shared_ptr<const Film> film, cxml::ConstNodePtr no
: Content (film, node)
{
video = VideoContent::from_xml (this, node, version);
- audio = AudioContent::from_xml (this, node);
+ audio = AudioContent::from_xml (this, node, version);
subtitle = SubtitleContent::from_xml (this, node, version);
list<cxml::NodePtr> c = node->node_children ("SubtitleStream");