diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 14:59:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 07:54:46 -0200 |
commit | 968b11b20143036098a7013817a15615a54383d3 (patch) | |
tree | 8b0f946481d9ceeb2a8bee47aae5b6d8355c687b /drivers/media/video/saa7164/saa7164-api.c | |
parent | 3ed43cf96aa9fc565d74855649d8cee0def67f38 (diff) |
[media] saa7164: implement encoder peak bitrate feature
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 34ac6483c73..54568cfe933 100644 --- a/drivers/media/video/saa7164/saa7164-api.c +++ b/drivers/media/video/saa7164/saa7164-api.c @@ -64,7 +64,7 @@ int saa7164_api_set_encoder(struct saa7164_port *port) else vb.ucVideoBitRateMode = EU_VIDEO_BIT_RATE_MODE_VARIABLE_PEAK; vb.dwVideoBitRate = port->encoder_params.bitrate; - vb.dwVideoBitRatePeak = vb.dwVideoBitRate; + vb.dwVideoBitRatePeak = port->encoder_params.bitrate_peak; ret = saa7164_cmd_send(port->dev, port->hwcfg.sourceid, SET_CUR, EU_VIDEO_BIT_RATE_CONTROL, sizeof(tmComResEncVideoBitRate_t), &vb); if (ret != SAA_OK) |