~ubuntu-branches/ubuntu/feisty/avidemux/feisty

« back to all changes in this revision

Viewing changes to avidemux/ADM_video/ADM_vidForcedPP.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2006-12-15 17:13:20 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061215171320-w79pvpehxx2fr217
Tags: 1:2.3.0-0.0ubuntu1
* Merge from debian-multimedia.org, remaining Ubuntu change:
  - desktop file,
  - no support for ccache and make -j.
* Closes Ubuntu: #69614.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        int forced;
58
58
                postproc=_param->postProcType;
59
59
                strength=_param->postProcStrength;
 
60
                forced=_param->forcedQuant;
60
61
                uv=0;
61
62
                if( DIA_getMPParams( &postproc,&strength,&uv))
62
63
                {
63
 
                                _param->postProcType=postproc;
64
 
                                _param->postProcStrength=strength;
65
 
                                
66
 
                                forced=_param->forcedQuant;
 
64
 
67
65
                                if( DIA_GetIntegerValue(&forced,2,31, "Quant Value","Enter forced Q:"))
68
66
                                {
 
67
                                        _param->postProcType=postproc;
 
68
                                        _param->postProcStrength=strength;
69
69
                                        _param->forcedQuant=forced;
 
70
                                        updatePostProc(&_postproc );                            
 
71
                                        return 1;
70
72
                                }
71
 
 
72
 
                                updatePostProc(&_postproc );                            
73
 
 
74
73
                }
75
 
        return 1;       
 
74
        return 0;       
76
75
        
77
76
}
78
77
uint8_t ADMVideoForcedPP::getCoupledConf( CONFcouple **couples)