diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-27 12:12:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-29 07:09:29 +0100 |
commit | ed019b8e5bfefe59e307ce01f2860777e037b94b (patch) | |
tree | 1496ddd98dcb258a887f2456fa9b389d754b773f /libavcodec/rv10enc.c | |
parent | 956fb91e0333634aa25dcb5632c6e4e3769d05ee (diff) | |
download | ffmpeg-ed019b8e5bfefe59e307ce01f2860777e037b94b.tar.gz |
lavc: add -mpv_flags to mpegvideo_enc-based encoders.
Deprecate CODEC_FLAG2_SKIP_RD in favor of the corresponding mpv_flags
flag.
Diffstat (limited to 'libavcodec/rv10enc.c')
-rw-r--r-- | libavcodec/rv10enc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/rv10enc.c b/libavcodec/rv10enc.c index 47fb2225e4..1b4694c502 100644 --- a/libavcodec/rv10enc.c +++ b/libavcodec/rv10enc.c @@ -56,6 +56,8 @@ void ff_rv10_encode_picture_header(MpegEncContext *s, int picture_number) put_bits(&s->pb, 3, 0); /* ignored */ } +FF_MPV_GENERIC_CLASS(rv10) + AVCodec ff_rv10_encoder = { .name = "rv10", .type = AVMEDIA_TYPE_VIDEO, @@ -66,4 +68,5 @@ AVCodec ff_rv10_encoder = { .close = ff_MPV_encode_end, .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("RealVideo 1.0"), + .priv_class = &rv10_class, }; |