mirror of https://github.com/odrling/Aegisub
Fix handling of LAVCKeyFrames to be when building WITH_FFMPEG rather than some guesses based on platform.
Originally committed to SVN as r1808.
This commit is contained in:
parent
46ccee56b5
commit
0e60c4b9cb
|
@ -296,13 +296,11 @@ void VideoContext::SetVideo(const wxString &filename) {
|
|||
KeyFrames = VFWWrapper::GetKeyFrames(filename);
|
||||
keyFramesLoaded = true;
|
||||
#else
|
||||
#ifndef __APPLE__
|
||||
#ifdef WITH_FFMPEG
|
||||
LAVCKeyFrames k(filename);
|
||||
KeyFrames = k.GetKeyFrames();
|
||||
keyFramesLoaded = true;
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue