diff options
author | Andy Walls <awalls@radix.net> | 2009-01-01 17:02:31 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:24 -0400 |
commit | 0d82fe801d7c6d8cb8987e66b570f6decde9e235 (patch) | |
tree | c161730acec942f8474516d5aa7587d6d64e2fd9 /drivers/media/video/ivtv | |
parent | 50299994181b835e5a6ee2882df2ee07e7fb4491 (diff) |
V4L/DVB (10276): cx18, cx2341x, ivtv: Add AC-3 audio encoding control to cx18
Initial addition of controls to set AC-3 audio encoding for the CX23418 - it
does not work yet due to firmware or cx18 driver issues. This change affects
the common cx2341x and ivtv modules due to shared structures and
common functions.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.h | 2 | ||||
-rw-r--r-- | drivers/media/video/ivtv/ivtv-fileops.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h index ce8d9b74357e..94f7f44d5989 100644 --- a/drivers/media/video/ivtv/ivtv-driver.h +++ b/drivers/media/video/ivtv/ivtv-driver.h | |||
@@ -696,7 +696,7 @@ struct ivtv { | |||
696 | u64 vbi_data_inserted; /* number of VBI bytes inserted into the MPEG stream */ | 696 | u64 vbi_data_inserted; /* number of VBI bytes inserted into the MPEG stream */ |
697 | u32 last_dec_timing[3]; /* cache last retrieved pts/scr/frame values */ | 697 | u32 last_dec_timing[3]; /* cache last retrieved pts/scr/frame values */ |
698 | unsigned long dualwatch_jiffies;/* jiffies value of the previous dualwatch check */ | 698 | unsigned long dualwatch_jiffies;/* jiffies value of the previous dualwatch check */ |
699 | u16 dualwatch_stereo_mode; /* current detected dualwatch stereo mode */ | 699 | u32 dualwatch_stereo_mode; /* current detected dualwatch stereo mode */ |
700 | 700 | ||
701 | 701 | ||
702 | /* VBI state info */ | 702 | /* VBI state info */ |
diff --git a/drivers/media/video/ivtv/ivtv-fileops.c b/drivers/media/video/ivtv/ivtv-fileops.c index d594bc29f07f..617667d1ceba 100644 --- a/drivers/media/video/ivtv/ivtv-fileops.c +++ b/drivers/media/video/ivtv/ivtv-fileops.c | |||
@@ -148,10 +148,10 @@ void ivtv_release_stream(struct ivtv_stream *s) | |||
148 | static void ivtv_dualwatch(struct ivtv *itv) | 148 | static void ivtv_dualwatch(struct ivtv *itv) |
149 | { | 149 | { |
150 | struct v4l2_tuner vt; | 150 | struct v4l2_tuner vt; |
151 | u16 new_bitmap; | 151 | u32 new_bitmap; |
152 | u16 new_stereo_mode; | 152 | u32 new_stereo_mode; |
153 | const u16 stereo_mask = 0x0300; | 153 | const u32 stereo_mask = 0x0300; |
154 | const u16 dual = 0x0200; | 154 | const u32 dual = 0x0200; |
155 | 155 | ||
156 | new_stereo_mode = itv->params.audio_properties & stereo_mask; | 156 | new_stereo_mode = itv->params.audio_properties & stereo_mask; |
157 | memset(&vt, 0, sizeof(vt)); | 157 | memset(&vt, 0, sizeof(vt)); |