committed by
Norman Feske
parent
70c44f934b
commit
b3b2a5f59b
@@ -12,7 +12,7 @@
|
||||
static int av_sync_type = AV_SYNC_AUDIO_MASTER;
|
||||
static int64_t start_time = AV_NOPTS_VALUE;
|
||||
static int64_t duration = AV_NOPTS_VALUE;
|
||||
@@ -902,6 +902,16 @@
|
||||
@@ -902,6 +902,18 @@
|
||||
&& is->height== screen->h && screen->h == h)
|
||||
return 0;
|
||||
|
||||
@@ -23,13 +23,15 @@
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ w = modes[0]->w;
|
||||
+ h = modes[0]->h;
|
||||
+ if (modes != (SDL_Rect**)-1) {
|
||||
+ w = modes[0]->w;
|
||||
+ h = modes[0]->h;
|
||||
+ }
|
||||
+
|
||||
#if defined(__APPLE__) && !SDL_VERSION_ATLEAST(1, 2, 14)
|
||||
/* setting bits_per_pixel = 0 or 32 causes blank video on OS X and older SDL */
|
||||
screen = SDL_SetVideoMode(w, h, 24, flags);
|
||||
@@ -962,7 +972,7 @@
|
||||
@@ -962,7 +974,7 @@
|
||||
av_get_bytes_per_sample(is->sdl_sample_fmt);
|
||||
}
|
||||
if (bytes_per_sec)
|
||||
|
||||
Reference in New Issue
Block a user