Another fix.
Originally committed to SVN as r870.
This commit is contained in:
parent
8aee6bd50b
commit
7b6af3ac8a
1 changed files with 1 additions and 1 deletions
|
@ -245,11 +245,11 @@ void VideoContext::SetVideo(const wxString &filename) {
|
|||
|
||||
// Choose a provider
|
||||
provider = VideoProviderFactory::GetProvider(filename,overFps);
|
||||
loaded = provider != NULL;
|
||||
|
||||
// Get subtitles provider
|
||||
subsProvider = provider->GetAsSubtitlesProvider();
|
||||
if (!subsProvider) subsProvider = SubtitlesProviderFactory::GetProvider();
|
||||
loaded = provider != NULL;
|
||||
|
||||
// Set frame rate
|
||||
fps = provider->GetFPS();
|
||||
|
|
Loading…
Reference in a new issue