[svn] / branches / release-1_1-branch / xvidcore / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /branches/release-1_1-branch/xvidcore/vfw/src/codec.c

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

revision 1716, Mon Jul 10 17:25:23 2006 UTC revision 1717, Mon Jul 10 17:26:13 2006 UTC
# Line 580  Line 580 
580    
581                    create.global |= XVID_GLOBAL_CLOSED_GOP;                    create.global |= XVID_GLOBAL_CLOSED_GOP;
582    
583        /* dxn: restrict max bframes and enable packed bframes */        /* restrict max bframes */
584        if ((profiles[codec->config.profile].flags & PROFILE_EXTRA)) {        if ((create.max_bframes > profiles[codec->config.profile].xvid_max_bframes) && (profiles[codec->config.profile].xvid_max_bframes >= 0))
   
         if (create.max_bframes > profiles[codec->config.profile].xvid_max_bframes)  
585            create.max_bframes = profiles[codec->config.profile].xvid_max_bframes;            create.max_bframes = profiles[codec->config.profile].xvid_max_bframes;
586    
587          /* dxn: enable packed bframes */
588          if ((profiles[codec->config.profile].flags & PROFILE_PACKED)) {
589    
590          create.global |= XVID_GLOBAL_PACKED;          create.global |= XVID_GLOBAL_PACKED;
591        }        }
592      }      }

Legend:
Removed from v.1716  
changed lines
  Added in v.1717

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