[wxPython-users] Re: how to embed a mplayer vidio play window into wxpython

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Wed, Feb 17, 2010 at 12:57:09AM +0000, Timothy W. Grove wrote:
> Reimar D?ffinger wrote:
> >On Tue, Feb 16, 2010 at 05:16:03AM +0000, Timothy W. Grove wrote:
> >>I started out using
> >>"-vo direct3d" for my target driver which worked well but I couldn't
> >>get mplayer to resize along with containing window. Fortunately,
> >>this issue went away when I switched to "-vo gl".
> >
> >Hm? Those two use the same code for handling the resizing, and SMPlayer
> >seems to work fine with both.
> Well, not in my application. Sure, if I resize the containing window
> (in my case a wx.SplitterWindow) and then play the movie from
> paused, it will rescale to fill the window, but I want it to rescale
> as I resize the window with the splitter.

Oh, I missed that you speak about resizing when paused.
I fear Direct3D does not implement redrawing the frame, which in particular
means it can't resize.
Fixing it should be mostly a matter of splitting render_d3d_frame.
However at least I probably won't do anything about it, both because
I consider Direct3D a misdesign at least for anything not a game and
more importantly my Windows installation is in a VM on a PC about 1000km
away..
As a final note: with this use case you will have some strange behaviour
with -vo gl as well, when subtitles are displayed.
They will not move or scale with the frame.


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux