summaryrefslogtreecommitdiff
path: root/src/lib/film.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/film.cc')
-rw-r--r--src/lib/film.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index de3a73465..333fe139b 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -948,6 +948,7 @@ Film::set_content (string c)
_content = c;
}
+ /* Reset streams here in case the new content doesn't have one or the other */
_content_audio_stream = shared_ptr<AudioStream> ();
_subtitle_stream = shared_ptr<SubtitleStream> ();