mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Another fix.
Originally committed to SVN as r870.
This commit is contained in:
parent
8aee6bd50b
commit
7b6af3ac8a
@ -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…
x
Reference in New Issue
Block a user