Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226371
b: refs/heads/master
c: 44c6e2a
h: refs/heads/master
i:
  226369: 1e1a3cc
  226367: 6bb6b77
v: v3
  • Loading branch information
Ang Way Chuang authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent fd4e35f commit 41a05b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: fe04164647588ec55937e6d696da1ebeca04d000
refs/heads/master: 44c6e2a7c2ec76dd495a0f330f9beac572a2fdd7
8 changes: 6 additions & 2 deletions trunk/drivers/media/video/cx88/cx88-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug,"enable debug messages [dvb]");

static unsigned int dvb_buf_tscnt = 32;
module_param(dvb_buf_tscnt, int, 0644);
MODULE_PARM_DESC(dvb_buf_tscnt, "DVB Buffer TS count [dvb]");

DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr);

#define dprintk(level,fmt, arg...) if (debug >= level) \
Expand All @@ -80,10 +84,10 @@ static int dvb_buf_setup(struct videobuf_queue *q,
struct cx8802_dev *dev = q->priv_data;

dev->ts_packet_size = 188 * 4;
dev->ts_packet_count = 32;
dev->ts_packet_count = dvb_buf_tscnt;

*size = dev->ts_packet_size * dev->ts_packet_count;
*count = 32;
*count = dvb_buf_tscnt;
return 0;
}

Expand Down

0 comments on commit 41a05b2

Please sign in to comment.