提交 d6304440 编写于 作者: H Hans Verkuil 提交者: Mauro Carvalho Chehab

[media] saa7134-empress: add missing MPEG controls

Reported by, and based on a patch from, Martin Dauskardt.

The AUDIO_AC3_BITRATE control is still missing from this list, but such
optional controls are a bit hard to handle. This will be fixed automatically
when we switch to the control framework.
Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
Reported-by: NMartin Dauskardt <martin.dauskardt@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 e68044e2
...@@ -373,6 +373,10 @@ static int empress_queryctrl(struct file *file, void *priv, ...@@ -373,6 +373,10 @@ static int empress_queryctrl(struct file *file, void *priv,
static const u32 mpeg_ctrls[] = { static const u32 mpeg_ctrls[] = {
V4L2_CID_MPEG_CLASS, V4L2_CID_MPEG_CLASS,
V4L2_CID_MPEG_STREAM_TYPE, V4L2_CID_MPEG_STREAM_TYPE,
V4L2_CID_MPEG_STREAM_PID_PMT,
V4L2_CID_MPEG_STREAM_PID_AUDIO,
V4L2_CID_MPEG_STREAM_PID_VIDEO,
V4L2_CID_MPEG_STREAM_PID_PCR,
V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ, V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ,
V4L2_CID_MPEG_AUDIO_ENCODING, V4L2_CID_MPEG_AUDIO_ENCODING,
V4L2_CID_MPEG_AUDIO_L2_BITRATE, V4L2_CID_MPEG_AUDIO_L2_BITRATE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册