Revision 09b0499f ffmpeg.c

View differences:

ffmpeg.c
170 170
static int qns = 0;
171 171
static int closed_gop = 0;
172 172
static int strict_gop = 0;
173
static int no_output = 0;
173 174
static int do_deinterlace = 0;
174 175
static int do_interlace_dct = 0;
175 176
static int do_interlace_me = 0;
......
3220 3221
                if (do_interlace_me) {
3221 3222
                    video_enc->flags |= CODEC_FLAG_INTERLACED_ME;
3222 3223
                }
3224
                if (no_output) {
3225
                    video_enc->flags2 |= CODEC_FLAG2_NO_OUTPUT;
3226
                }
3223 3227
                video_enc->qmin = video_qmin;
3224 3228
                video_enc->qmax = video_qmax;
3225 3229
                video_enc->lmin = video_lmin;
......
4025 4029
    { "naq", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&do_normalize_aqp}, "normalize adaptive quantization" },
4026 4030
    { "cgop", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&closed_gop}, "closed gop" },
4027 4031
    { "sgop", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&strict_gop}, "strict gop" },
4032
    { "noout", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&no_output}, "skip bitstream encoding" },
4028 4033
    { "scan_offset", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_scan_offset}, "enable SVCD Scan Offset placeholder" },
4029 4034
    { "qpel", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_qpel}, "enable 1/4-pel" },
4030 4035
    { "intra_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_intra_matrix}, "specify intra matrix coeffs", "matrix" },

Also available in: Unified diff