[svn] / branches / dev-api-4 / xvidcore / dshow / src / CXvidDecoder.cpp Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/dshow/src/CXvidDecoder.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1208, Sat Nov 15 02:51:41 2003 UTC revision 1250, Tue Dec 9 14:32:52 2003 UTC
# Line 19  Line 19 
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    
# Line 596  Line 596 
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");
# Line 617  Line 618 
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 ||

Legend:
Removed from v.1208  
changed lines
  Added in v.1250

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4