mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-13 13:37:49 +08:00
commit
7b3968d949
@ -67,7 +67,8 @@ public:
|
||||
}
|
||||
flag = task();
|
||||
break;
|
||||
case SDL_QUIT:
|
||||
}
|
||||
case SDL_QUIT:{
|
||||
InfoL << event.type;
|
||||
return;
|
||||
}
|
||||
@ -168,7 +169,7 @@ public:
|
||||
}
|
||||
}
|
||||
if (_texture) {
|
||||
#if (SDL_PATCHLEVEL >= 16 || SDL_MINOR_VERSION > 0)
|
||||
#if SDL_VERSION_ATLEAST(2,0,16)
|
||||
//需要更新sdl到最新(>=2.0.16)
|
||||
if (pFrame->format == AV_PIX_FMT_NV12) {
|
||||
SDL_UpdateNVTexture(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user