Very thanks for ur reply! I will try it later. By the way, it seems that SDL 1.2 just doesn`t support more than one window, while SDL 1.3 support this function but is unstable. I find maybe i can use VLC, or I can use ffmpeg and directX.
2011/1/25 wl2776 <[email protected]> > > > xutm wrote: > > > > and I pass two HWNDs into SDL to create two areas to show video > > pictures. But HOW can I achieve this? > > You have to set SDL_WINDOWID environment variable. > documentation: http://www.libsdl.org/docs/html/sdlenvvars.html > examples: http://www.ogre3d.org/tikiwiki/Using+SDL+Input > -- > View this message in context: > http://libav-users.943685.n4.nabble.com/make-a-multi-windows-Player-using-SDL-and-ffmpeg-in-VS2005-MFC-programs-tp3233611p3235692.html > Sent from the libav-users mailing list archive at Nabble.com. > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
