diff options
Diffstat (limited to 'stream/stream_pvr.c')
-rw-r--r-- | stream/stream_pvr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/stream/stream_pvr.c b/stream/stream_pvr.c index 8b5251cb06..e45c9005a1 100644 --- a/stream/stream_pvr.c +++ b/stream/stream_pvr.c @@ -1510,15 +1510,12 @@ pvr_stream_read (stream_t *stream, char *buffer, int size) } static int -pvr_stream_open (stream_t *stream, int mode) +pvr_stream_open (stream_t *stream) { struct v4l2_capability vcap; struct v4l2_ext_controls ctrls; struct pvr_t *pvr = NULL; - if (mode != STREAM_READ) - return STREAM_UNSUPPORTED; - pvr = pvr_init (); pvr->log = stream->log; |