[Mplayer-advusers] help - wmv9dmo playback has no video for some files.

Pierre Lombard p_l at gmx.fr
Sun Sep 14 16:25:50 CEST 2003


Hi,

* Hauke Johannknecht <ash at ash.de> [2003-09-14 15:15]:
> On Sat, 13 Sep 2003, jo blo wrote:
> 
> > http://mplayerhq.hu/pipermail/mplayer-advusers/2003-August/000596.html
> 
> > I was wondering if you have discovered a fix/workaround? I am having the
> > same problem where the video stays black.
> 
> so far, there has been no reaction at all (besides your question)
> to my report, i guess its ignored as just another weird codec
> problem or so.

Please test the attached patch.

I've not a clear idea of how the things function around this code, but
after searching for this *&@#$ issue, "it workarounds here".

Please report your failure/success.

-- 
Best regards,
  Pierre Lombard
-------------- next part --------------
Index: loader/dmo/DMO_VideoDecoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dmo/DMO_VideoDecoder.c,v
retrieving revision 1.6
diff -u -r1.6 DMO_VideoDecoder.c
--- loader/dmo/DMO_VideoDecoder.c	24 Apr 2003 18:48:27 -0000	1.6
+++ loader/dmo/DMO_VideoDecoder.c	14 Sep 2003 14:56:53 -0000
@@ -343,7 +343,7 @@
     db.rtTimestamp = 0;
     db.rtTimelength = 0;
     db.dwStatus = 0;
-    db.pBuffer = (IMediaBuffer*) CMediaBufferCreate(this->m_sDestType.lSampleSize,
+    db.pBuffer = (IMediaBuffer*) CMediaBufferCreate(this->m_sDestType.lSampleSize * 2,
 						    imdata, 0, 0);
     result = this->m_pDMO_Filter->m_pMedia->vt->ProcessOutput(this->m_pDMO_Filter->m_pMedia,
 						   (imdata) ? 0 : DMO_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER,


More information about the MPlayer-advusers mailing list