diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 14:05:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:54:49 -0400 |
commit | 5fa56ccdacc54f5f694141c1a74f781cf77874bb (patch) | |
tree | 9e94fce2d895a7742557ced8eb354c670128766c /drivers/media/video/saa7164/saa7164-api.c | |
parent | f91d095c92e8fdcb6bd8cb35e8fa9c87d9c10768 (diff) |
[media] saa7164: allow variable length GOP sizes and switch encoder default to CBR
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-api.c')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-api.c b/drivers/media/video/saa7164/saa7164-api.c index 5f72bb854e60..5630a5d40896 100644 --- a/drivers/media/video/saa7164/saa7164-api.c +++ b/drivers/media/video/saa7164/saa7164-api.c | |||
@@ -33,7 +33,7 @@ int saa7164_api_set_gop_size(struct saa7164_port *port) | |||
33 | dprintk(DBGLVL_ENC, "%s()\n", __func__); | 33 | dprintk(DBGLVL_ENC, "%s()\n", __func__); |
34 | 34 | ||
35 | gs.ucRefFrameDist = port->encoder_params.refdist; | 35 | gs.ucRefFrameDist = port->encoder_params.refdist; |
36 | gs.ucGOPSize = SAA7164_ENCODER_DEFAULT_GOP_SIZE; | 36 | gs.ucGOPSize = port->encoder_params.gop_size; |
37 | ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, | 37 | ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, |
38 | EU_VIDEO_GOP_STRUCTURE_CONTROL, | 38 | EU_VIDEO_GOP_STRUCTURE_CONTROL, |
39 | sizeof(gs), &gs); | 39 | sizeof(gs), &gs); |