Re: [kaffeine-devel] Automatic resize
Brought to you by:
hftom,
lasselindqvist
From: <jue...@ch...> - 2004-02-28 11:47:31
|
Carlo Miotto schrieb: >Alle 16:18, martedì 24 febbraio 2004, Jürgen Kofler ha scritto: > > >>I tried another way: I moved the resizing to the >>VideoWindow::FrameOutputCallback, that have some advantages: >>*) works for DVDs >>*) works for audio visualizations >>*) we can correct the video frame size with the pixel aspect ratio of >>the video >> >> >Sounds good. > > > >>I use QWidget::isFullScreen() to prevent a resize in fullscreen mode, >>and posTimer::isActive() to make sure there is no resize before/after >>playback (logo file). >> >>Works perfekt vor me. What do you think? >> >> >> >Don't work in every case. If I do "file->open..." it don't resize the win, >maybe cause when VideoWindow::FrameOutputCallback is called the first time >posTimer is not yet active. >I've tried to move the call "posTimer.start(500);" in VideoWindow::PlayMRL >just before start to play (xine_play(xineStream, 0,0)) and it works well. >There's something wrong with this? > > Did you tried the second patch i sent you? Works for me. Anyway, i just commited the changes, try out current CVS version (should be in anonymous cvs in some hours). Jürgen |