Ticket URL: <
http://trac.wxwidgets.org/ticket/14738>
#14738: [MSW] Creation of wxWebView changes wxMediaCtrl behavior
-------------------------------------------+--------------------------------
Reporter: ericj | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: wxMSW | Version: 2.9-svn
Keywords: wxWebView wxMediaCtrl ActiveX | Blockedby:
Patch: 0 | Blocking:
-------------------------------------------+--------------------------------
If the wxWebView is created before the wxMediaCtrl, the ActiveX backend
wxMEDIABACKEND_DIRECTSHOW does not work any more and the
wxMEDIABACKEND_WMP10 backend will be used instead.
If the wxMediaCtrl is created first, everything seems to work fine.
This is not a big problem in itself, but it might be an indication that
something with the ActiveX/COM initialization code is not 100% correct.
Unfortunately i'm not familiar with that code on the Windows side, so i'm
not sure i can help with debugging it.
The reason why i wanted the wxMEDIABACKEND_DIRECTSHOW backend, is because
it keeps the aspect ratio of the movie, while the WMP10 backend always
stretches the movie to fill the window, regardless of its aspect ratio.
Additionally, the player controls sometimes are party overdrawn by the
movie. (That's a different issue, if i find out when or how exactly that
happens, i'll create a new ticket).
The provided patch to the minimal sample shows the problem. If this is
tested on a system other than XP, the path to the AVI file must be
adjusted accordingly, because the clock.avi will not be there.
--
Ticket URL: <
http://trac.wxwidgets.org/ticket/14738>