Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219435
b: refs/heads/master
c: d453333
h: refs/heads/master
i:
  219433: 37a2ddb
  219431: df3f396
v: v3
  • Loading branch information
Janne Grunau authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 9c94d5e commit f405b39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 35b53664d5d0331c8ec2ef44e74eaf4d18f00c06
refs/heads/master: d4533332c0c60335f117ffc65cc4a067314bb441
6 changes: 5 additions & 1 deletion trunk/drivers/media/video/hdpvr/hdpvr-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,12 @@ static int hdpvr_probe(struct usb_interface *interface,
if (default_video_input < HDPVR_VIDEO_INPUTS)
dev->options.video_input = default_video_input;

if (default_audio_input < HDPVR_AUDIO_INPUTS)
if (default_audio_input < HDPVR_AUDIO_INPUTS) {
dev->options.audio_input = default_audio_input;
if (default_audio_input == HDPVR_SPDIF)
dev->options.audio_codec =
V4L2_MPEG_AUDIO_ENCODING_AC3;
}

dev->udev = usb_get_dev(interface_to_usbdev(interface));

Expand Down

0 comments on commit f405b39

Please sign in to comment.