Revision baced9f5 ffmpeg.c

View differences:

ffmpeg.c
182 182
static int coder = 0;
183 183
static int context = 0;
184 184
static int predictor = 0;
185
static int video_profile = FF_PROFILE_UNKNOWN;
186
static int video_level = FF_LEVEL_UNKNOWN;
185 187
extern int loop_input; /* currently a hack */
186 188

  
187 189
static int gop_size = 12;
......
3150 3152
                video_enc->coder_type= coder;
3151 3153
                video_enc->context_model= context;
3152 3154
                video_enc->prediction_method= predictor;
3155
                video_enc->profile= video_profile;
3156
                video_enc->level= video_level;
3153 3157

  
3154 3158
                if(packet_size){
3155 3159
                    video_enc->rtp_mode= 1;
......
3839 3843
    { "coder", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&coder}, "coder type", "" },
3840 3844
    { "context", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&context}, "context model", "" },
3841 3845
    { "pred", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&predictor}, "prediction method", "" },
3846
    { "vprofile", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_profile}, "profile", "" },
3847
    { "vlevel", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_level}, "level", "" },
3842 3848

  
3843 3849
    /* audio options */
3844 3850
    { "ab", HAS_ARG | OPT_AUDIO, {(void*)opt_audio_bitrate}, "set audio bitrate (in kbit/s)", "bitrate", },

Also available in: Unified diff