Sorry if you already know this, but Windows Media Player works with the
following patch^H^H^H^H^Hnasty hack:
--cut--
Index: dlls/ddraw/ddraw/dga.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/ddraw/dga.c,v
retrieving revision 1.16
diff -c -r1.16 dga.c
*** dlls/ddraw/ddraw/dga.c 2000/10/23 00:36:45 1.16
--- dlls/ddraw/ddraw/dga.c 2000/10/30 03:30:26
***************
*** 421,427 ****
TRACE(" Creating IDirectDraw4 interface (%p)\n", *obj);
return S_OK;
}
! if ( IsEqualGUID( &IID_IDirectDraw7, refiid ) ) {
IDirectDraw4Impl *dd = HeapAlloc(GetProcessHeap(),0,sizeof(*dd));
ICOM_VTBL(dd) = &dga_dd7vt;dd->ref = 1;dd->d = This->d;This->d++;
*obj = dd;
--- 421,428 ----
TRACE(" Creating IDirectDraw4 interface (%p)\n", *obj);
return S_OK;
}
! if ( IsEqualGUID( &IID_IDirectDraw7, refiid ) ||
! (FIXME(" NASTY HACK! IDirectDraw unknown interface, using DDraw4. (%p)\n",
*obj) || 1)) {
IDirectDraw4Impl *dd = HeapAlloc(GetProcessHeap(),0,sizeof(*dd));
ICOM_VTBL(dd) = &dga_dd7vt;dd->ref = 1;dd->d = This->d;This->d++;
*obj = dd;
--cut--
And by "works" I mean it can play a DivX movie, and both video and sound
work right. :)
--
Kenneth Arnold <[EMAIL PROTECTED]> / kcarnold / Linux user #180115
http://arnoldnet.net/~kcarnold/