summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-27 19:05:06 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-27 19:05:06 +0100
commite72546dc3846c9516563d972091c9cf31affd5f5 (patch)
treea5d7a4ba99bcdaa40f1ea7ce29d770362863eef1 /src/lib
parent28dbf4fd074d2046a3c8ddebac9a537a80fd457a (diff)
Allow multiple selection of content files, and improve behaviour on examining still-image content.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/player.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc
index 09f1f55a3..b21224587 100644
--- a/src/lib/player.cc
+++ b/src/lib/player.cc
@@ -309,10 +309,7 @@ Player::content_changed (weak_ptr<Content> w, int p)
}
if (p == VideoContentProperty::VIDEO_LENGTH) {
- if (dynamic_pointer_cast<FFmpegContent> (c)) {
- /* FFmpeg content length changes are serious; we need new decoders */
- _have_valid_decoders = false;
- }
+ _have_valid_decoders = false;
}
}