Remove VDPAU support on SDL

This commit is contained in:
Iwan Timmer
2017-06-10 15:30:05 +02:00
parent b21dce7f2a
commit 819503dd4d

View File

@@ -34,8 +34,6 @@ static char* ffmpeg_buffer;
static int sdl_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
int avc_flags = SLICE_THREADING;
if (drFlags & FORCE_HARDWARE_ACCELERATION)
avc_flags |= HARDWARE_ACCELERATION;
if (ffmpeg_init(videoFormat, width, height, avc_flags, SDL_BUFFER_FRAMES, sysconf(_SC_NPROCESSORS_ONLN), NULL) < 0) {
fprintf(stderr, "Couldn't initialize video decoding\n");