Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306515
b: refs/heads/master
c: 8e15670
h: refs/heads/master
i:
  306513: d52dee6
  306511: 1b20b13
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed May 20, 2012
1 parent a9c48bf commit 1f442a1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adabb266efb5a8d36f664ca44f7000063e566671
refs/heads/master: 8e156702aadbec4b478f60b9fc6af91990fcd6d0
10 changes: 10 additions & 0 deletions trunk/drivers/media/dvb/dvb-core/dvb_demux.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,16 @@ void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf, size_t count)
}
EXPORT_SYMBOL(dvb_dmx_swfilter_204);

void dvb_dmx_swfilter_raw(struct dvb_demux *demux, const u8 *buf, size_t count)
{
spin_lock(&demux->lock);

demux->feed->cb.ts(buf, count, NULL, 0, &demux->feed->feed.ts, DMX_OK);

spin_unlock(&demux->lock);
}
EXPORT_SYMBOL(dvb_dmx_swfilter_raw);

static struct dvb_demux_filter *dvb_dmx_filter_alloc(struct dvb_demux *demux)
{
int i;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/dvb/dvb-core/dvb_demux.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,5 +145,7 @@ void dvb_dmx_swfilter_packets(struct dvb_demux *dvbdmx, const u8 *buf,
void dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count);
void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf,
size_t count);
void dvb_dmx_swfilter_raw(struct dvb_demux *demux, const u8 *buf,
size_t count);

#endif /* _DVB_DEMUX_H_ */

0 comments on commit 1f442a1

Please sign in to comment.