changeset 15919:b612f732e420

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>
author iive
date Tue, 05 Jul 2005 09:47:12 +0000
parents 8f6c98310f38
children e5bc2812c4a0
files loader/dmo/DMO_VideoDecoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dmo/DMO_VideoDecoder.c	Mon Jul 04 18:29:48 2005 +0000
+++ b/loader/dmo/DMO_VideoDecoder.c	Tue Jul 05 09:47:12 2005 +0000
@@ -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);