Revision 88d6903e libavcodec/opt.c

View differences:

libavcodec/opt.c
258 258
            continue;
259 259

  
260 260
        av_log(av_log_obj, AV_LOG_INFO, "-%-17s ", opt->name);
261

  
262
        switch( opt->type )
263
        {
264
            case FF_OPT_TYPE_FLAGS:
265
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<flags>" );
266
                break;
267
            case FF_OPT_TYPE_INT:
268
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<int>" );
269
                break;
270
            case FF_OPT_TYPE_INT64:
271
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<int64>" );
272
                break;
273
            case FF_OPT_TYPE_DOUBLE:
274
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<double>" );
275
                break;
276
            case FF_OPT_TYPE_FLOAT:
277
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<float>" );
278
                break;
279
            case FF_OPT_TYPE_STRING:
280
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<string>" );
281
                break;
282
            case FF_OPT_TYPE_RATIONAL:
283
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "<rational>" );
284
                break;
285
            case FF_OPT_TYPE_CONST:
286
            default:
287
                av_log( av_log_obj, AV_LOG_INFO, "%-7s ", "" );
288
                break;
289
        }
261 290
        av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_ENCODING_PARAM) ? 'E' : '.');
262 291
        av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_DECODING_PARAM) ? 'D' : '.');
263 292
        av_log(av_log_obj, AV_LOG_INFO, "%c", (opt->flags & AV_OPT_FLAG_VIDEO_PARAM   ) ? 'V' : '.');

Also available in: Unified diff