~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to mediastreamer2/src/theora.c

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-03-18 07:29:23 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090318072923-tcioxk5hqw2h3h0p
Tags: 3.0.0-3
Fix "spurious gnome-applets" Removed Build-Depends: (Closes: #520133)

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        s->tinfo.target_bitrate=codecbr*0.8;
125
125
        s->tinfo.keyframe_data_target_bitrate=codecbr;
126
126
        /*those default settings would need to be affined*/
127
 
        if (br>=512000){
 
127
        if (br>=1024000){
 
128
                vsize.width = MS_VIDEO_SIZE_4CIF_W;
 
129
                vsize.height = MS_VIDEO_SIZE_4CIF_H;
 
130
                s->tinfo.quality=32;
 
131
                fps=15;
 
132
        }else if (br>=512000){
128
133
                vsize.width = MS_VIDEO_SIZE_CIF_W;
129
134
                vsize.height = MS_VIDEO_SIZE_CIF_H;
130
135
                s->tinfo.quality=32;