19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: CXvidDecoder.cpp,v 1.1.2.3 2003-11-15 02:51:41 suxen_drol Exp $ |
* $Id: CXvidDecoder.cpp,v 1.1.2.4 2003-12-09 14:32:52 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
596 |
if (pIn->IsPreroll() != S_OK) |
if (pIn->IsPreroll() != S_OK) |
597 |
{ |
{ |
598 |
length = xvid_decore(m_create.handle, XVID_DEC_DECODE, &m_frame, &stats); |
length = xvid_decore(m_create.handle, XVID_DEC_DECODE, &m_frame, &stats); |
599 |
|
|
600 |
if (length < 0) |
if (length < 0) |
601 |
{ |
{ |
602 |
DPRINTF("*** XVID_DEC_DECODE"); |
DPRINTF("*** XVID_DEC_DECODE"); |
618 |
m_frame.output.csp = tmp; |
m_frame.output.csp = tmp; |
619 |
} |
} |
620 |
|
|
621 |
|
if (stats.type == XVID_TYPE_NOTHING) { |
622 |
|
DPRINTF("B-Frame decoder lag"); |
623 |
|
return S_FALSE; |
624 |
|
} |
625 |
|
|
626 |
|
|
627 |
if (stats.type == XVID_TYPE_VOL) |
if (stats.type == XVID_TYPE_VOL) |
628 |
{ |
{ |
629 |
if (stats.data.vol.width != m_create.width || |
if (stats.data.vol.width != m_create.width || |