From 7a7b157a2d90f5c30ad687fca055de33d71ab167 Mon Sep 17 00:00:00 2001 From: iive Date: Tue, 5 Jul 2005 09:47:12 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15920 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/dmo/DMO_VideoDecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/dmo') diff --git a/loader/dmo/DMO_VideoDecoder.c b/loader/dmo/DMO_VideoDecoder.c index 04fbc96e05..b2b5dd3823 100644 --- a/loader/dmo/DMO_VideoDecoder.c +++ b/loader/dmo/DMO_VideoDecoder.c @@ -330,7 +330,7 @@ int DMO_VideoDecoder_DecodeInternal(DMO_VideoDecoder *this, const void* src, int 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); -- cgit v1.2.3