diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 14:58:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:54:45 -0200 |
commit | 3ed43cf96aa9fc565d74855649d8cee0def67f38 (patch) | |
tree | 52d4a9d03c1ef4456574e373eab56ce3d74e646b /drivers/media/video/saa7164/saa7164-api.c | |
parent | 2600d71cc535907e5d95cd31751c587afc370065 (diff) |
[media] saa7164: allow the IBP reference distance to be configurable
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 fec5138737e..34ac6483c73 100644 --- a/drivers/media/video/saa7164/saa7164-api.c +++ b/drivers/media/video/saa7164/saa7164-api.c @@ -32,7 +32,7 @@ int saa7164_api_set_gop_size(struct saa7164_port *port) dprintk(DBGLVL_ENC, "%s()\n", __func__); - gs.ucRefFrameDist = SAA7164_ENCODER_DEFAULT_GOP_DIST; + gs.ucRefFrameDist = port->encoder_params.refdist; gs.ucGOPSize = SAA7164_ENCODER_DEFAULT_GOP_SIZE; ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, EU_VIDEO_GOP_STRUCTURE_CONTROL, |