Mercurial > hg > easaier-soundaccess
diff data/fileio/VideoFileReader.cpp @ 130:b3df8b8185db
video in a widget, with a basic solution (not optimal)
author | benoitrigolleau |
---|---|
date | Thu, 08 Nov 2007 14:27:36 +0000 |
parents | 587ad94d6ac2 |
children | 3b2b790e47e5 |
line wrap: on
line diff
--- a/data/fileio/VideoFileReader.cpp Thu Nov 08 13:29:48 2007 +0000 +++ b/data/fileio/VideoFileReader.cpp Thu Nov 08 14:27:36 2007 +0000 @@ -190,10 +190,10 @@ // we get the size from our active video stream, if no active video stream // exists, width and height are set to default values (320x240) SDL_ffmpegGetVideoSize(file, &w, &h); - + SDL_Init(SDL_INIT_VIDEO); // Open the Video device screen = SDL_SetVideoMode(w, h, 0, SDL_DOUBLEBUF|SDL_HWSURFACE); - SDL_WM_SetCaption("EASAIER Video Player", "EASAIER Video Player"); + //SDL_WM_SetCaption("EASAIER Video Player", "EASAIER Video Player"); if(!screen) { printf("Couldn't open video: %s\n", SDL_GetError()); return false;