下载地址 http://pan.baidu.com/s/1ntMalO9
一定要解压到 D:\ffmpeg\ 目录下 双击 OpenWith_FFPlay.reg 注册ffplay 在视频文件名上面,单击鼠标右键,选择 FFPlay 无边框,显示播放时间 HH:MM:SS.ms 精确到微妙 ESC 退出 S 下一帧 [ -0.5秒 ] +0.5秒 +1秒 ; -3秒 ‘ +3秒 -> -10秒 下载地址 http://pan.baidu.com/s/1ntMalO9------------------------------------------------------------------------------------ SDL1.2 无标题窗口鼠标单击拖动 ------------------------------------------------------------------------------------ #include "windows.h" #include "SDL/SDL.h" #include "SDL/SDL_syswm.h" ... static int dragging = 0; static SDL_SysWMinfo windowInfo; static HWND windowHandle=0; static int sx=0,sy=0,wx=0,wy=0,sx2=0,sy2=0; static RECT rc; ... case SDL_MOUSEBUTTONDOWN: SDL_GetWMInfo(&windowInfo); windowHandle = windowInfo.window; SDL_GetMouseState(&sx,&sy); dragging = 1; break; case SDL_MOUSEBUTTONUP: dragging = 0; break; case SDL_MOUSEMOTION: if(dragging) { SDL_GetMouseState(&sx2,&sy2); GetWindowRect(windowHandle,&rc); MoveWindow(windowHandle,rc.left+sx2-sx,rc.top+sy2-sy,rc.right-rc.left,rc.bottom-rc.top,1); } ------------------------------------------------------------------------------------时间: 2024-08-08 21:49:41