[MPlayer-cvslog] CVS: main/loader/dmo DMO_VideoDecoder.c,1.8,1.9

Ivan Kalvachev CVS syncmail at mplayerhq.hu
Tue Jul 5 11:47:15 CEST 2005


CVS change done by Ivan Kalvachev CVS

Update of /cvsroot/mplayer/main/loader/dmo
In directory mail:/var2/tmp/cvs-serv28794

Modified Files:
	DMO_VideoDecoder.c 
Log Message:
hardcode SYNC flag, so no problems could rise if first frame is skipped
frame skipping is still done by passing NULL buffer to the decoder
patch by Shachar Raindel <shacharr at gmail.com>


Index: DMO_VideoDecoder.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/dmo/DMO_VideoDecoder.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DMO_VideoDecoder.c	26 May 2005 21:57:24 -0000	1.8
+++ DMO_VideoDecoder.c	5 Jul 2005 09:47:12 -0000	1.9
@@ -330,7 +330,7 @@
     bufferin = CMediaBufferCreate(size, (void*)src, size, 0);
     result = this->m_pDMO_Filter->m_pMedia->vt->ProcessInput(this->m_pDMO_Filter->m_pMedia, 0,
 						      (IMediaBuffer*)bufferin,
-						      (is_keyframe) ? DMO_INPUT_DATA_BUFFERF_SYNCPOINT : 0,
+						      DMO_INPUT_DATA_BUFFERF_SYNCPOINT,
 						      0, 0);
     ((IMediaBuffer*)bufferin)->vt->Release((IUnknown*)bufferin);
 




More information about the MPlayer-cvslog mailing list