comparison loader/dmo/DMO_VideoDecoder.c @ 9503:f47d484d8f28

cbAlign=1 fix for proper Windows support (noticed by Sascha Sommer)
author alex
date Tue, 25 Feb 2003 16:17:23 +0000
parents fb88ccbc5ccc
children 305cc11b27e5
comparison
equal deleted inserted replaced
9502:241bba8f60e8 9503:f47d484d8f28
278 this->m_pDMO_Filter->Start(this->m_pDMO_Filter); 278 this->m_pDMO_Filter->Start(this->m_pDMO_Filter);
279 279
280 props.cBuffers = 1; 280 props.cBuffers = 1;
281 props.cbBuffer = this->m_sDestType.lSampleSize; 281 props.cbBuffer = this->m_sDestType.lSampleSize;
282 282
283 //don't know how to do this correctly 283 props.cbAlign = 1;
284 props.cbAlign = props.cbPrefix = 0; 284 props.cbPrefix = 0;
285 this->m_pDMO_Filter->m_pAll->vt->SetProperties(this->m_pDMO_Filter->m_pAll, &props, &props1); 285 this->m_pDMO_Filter->m_pAll->vt->SetProperties(this->m_pDMO_Filter->m_pAll, &props, &props1);
286 this->m_pDMO_Filter->m_pAll->vt->Commit(this->m_pDMO_Filter->m_pAll); 286 this->m_pDMO_Filter->m_pAll->vt->Commit(this->m_pDMO_Filter->m_pAll);
287 #endif 287 #endif
288 this->iv.m_State = START; 288 this->iv.m_State = START;
289 } 289 }