Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92428
b: refs/heads/master
c: b01cd93
h: refs/heads/master
v: v3
  • Loading branch information
Peter Hartley authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent ad3c886 commit 3a076d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 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: 3c66e4e18b250f4524f24fd5b4ccdcd12bef9cc2
refs/heads/master: b01cd937895ad4114a07114cfb6b8b5d2be52241
5 changes: 3 additions & 2 deletions trunk/drivers/media/dvb/dvb-core/dmxdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ static int dvb_dmxdev_ts_callback(const u8 *buffer1, size_t buffer1_len,
return 0;
}

if (dmxdevfilter->params.pes.output == DMX_OUT_TAP)
if (dmxdevfilter->params.pes.output == DMX_OUT_TAP
|| dmxdevfilter->params.pes.output == DMX_OUT_TSDEMUX_TAP)
buffer = &dmxdevfilter->buffer;
else
buffer = &dmxdevfilter->dev->dvr_buffer;
Expand Down Expand Up @@ -618,7 +619,7 @@ static int dvb_dmxdev_filter_start(struct dmxdev_filter *filter)
else
ts_type = 0;

if (otype == DMX_OUT_TS_TAP)
if (otype == DMX_OUT_TS_TAP || otype == DMX_OUT_TSDEMUX_TAP)
ts_type |= TS_PACKET;

if (otype == DMX_OUT_TAP)
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/dvb/dmx.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ typedef enum
DMX_OUT_DECODER, /* Streaming directly to decoder. */
DMX_OUT_TAP, /* Output going to a memory buffer */
/* (to be retrieved via the read command).*/
DMX_OUT_TS_TAP /* Output multiplexed into a new TS */
DMX_OUT_TS_TAP, /* Output multiplexed into a new TS */
/* (to be retrieved by reading from the */
/* logical DVR device). */
DMX_OUT_TSDEMUX_TAP /* Like TS_TAP but retrieved from the DMX device */
} dmx_output_t;


Expand Down

0 comments on commit 3a076d8

Please sign in to comment.