[svn] / branches / dev-api-4 / xvidcore / vfw / src / status.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/src/status.c

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

revision 1361, Sun Feb 15 13:26:04 2004 UTC revision 1362, Mon Feb 16 03:29:02 2004 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: status.c,v 1.1.2.5 2004-01-23 13:27:59 edgomez Exp $   * $Id: status.c,v 1.1.2.6 2004-02-16 03:29:02 syskin Exp $
23   *   *
24   *****************************************************************************/   *****************************************************************************/
25    
# Line 363  Line 363 
363  void status_update(status_t *s, int type, int length, int quant)  void status_update(status_t *s, int type, int length, int quant)
364  {  {
365          s->count[0]++;          s->count[0]++;
         s->count[type]++;  
366    
367          status_debugoutput(s, type, length, quant);          status_debugoutput(s, type, length, quant);
368    
369          if (type == 4) type = 2; /* XVID_TYPE_SVOP to XVID_TYPE_PVOP */          if (type == XVID_TYPE_SVOP) type = XVID_TYPE_PVOP;
370            s->count[type]++;
371    
372          if (s->min_quant[0]==0 || quant<s->min_quant[0]) s->min_quant[0] = quant;          if (s->min_quant[0]==0 || quant<s->min_quant[0]) s->min_quant[0] = quant;
373          if (s->max_quant[0]==0 || quant>s->max_quant[0]) s->max_quant[0] = quant;          if (s->max_quant[0]==0 || quant>s->max_quant[0]) s->max_quant[0] = quant;

Legend:
Removed from v.1361  
changed lines
  Added in v.1362

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