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
1 changed files with 0 additions and 2 deletions
|
@ -296,13 +296,11 @@ void VideoContext::SetVideo(const wxString &filename) {
|
||||||
KeyFrames = VFWWrapper::GetKeyFrames(filename);
|
KeyFrames = VFWWrapper::GetKeyFrames(filename);
|
||||||
keyFramesLoaded = true;
|
keyFramesLoaded = true;
|
||||||
#else
|
#else
|
||||||
#ifndef __APPLE__
|
|
||||||
#ifdef WITH_FFMPEG
|
#ifdef WITH_FFMPEG
|
||||||
LAVCKeyFrames k(filename);
|
LAVCKeyFrames k(filename);
|
||||||
KeyFrames = k.GetKeyFrames();
|
KeyFrames = k.GetKeyFrames();
|
||||||
keyFramesLoaded = true;
|
keyFramesLoaded = true;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue