aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/h261enc.c
diff options
context:
space:
mode:
authorAnton Khirnov2012-02-27 12:12:19 +0100
committerAnton Khirnov2012-02-29 07:09:29 +0100
commited019b8e5bfefe59e307ce01f2860777e037b94b (patch)
tree1496ddd98dcb258a887f2456fa9b389d754b773f /libavcodec/h261enc.c
parent956fb91e0333634aa25dcb5632c6e4e3769d05ee (diff)
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/h261enc.c')
-rw-r--r--libavcodec/h261enc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index 0ae48ca092..1f3cf714f1 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
@@ -321,6 +321,8 @@ static void h261_encode_block(H261Context * h, DCTELEM * block, int n){
}
}
+FF_MPV_GENERIC_CLASS(h261)
+
AVCodec ff_h261_encoder = {
.name = "h261",
.type = AVMEDIA_TYPE_VIDEO,
@@ -331,4 +333,5 @@ AVCodec ff_h261_encoder = {
.close = ff_MPV_encode_end,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
.long_name= NULL_IF_CONFIG_SMALL("H.261"),
+ .priv_class = &h261_class,
};