summaryrefslogtreecommitdiffstats
path: root/stream/stream_pvr.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_pvr.c')
-rw-r--r--stream/stream_pvr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_pvr.c b/stream/stream_pvr.c
index 6fa0b93926..50a8ee5cba 100644
--- a/stream/stream_pvr.c
+++ b/stream/stream_pvr.c
@@ -1573,6 +1573,7 @@ pvr_stream_open (stream_t *stream)
if (ioctl (pvr->dev_fd, VIDIOC_G_EXT_CTRLS, &ctrls) < 0)
{
MP_ERR(pvr, "%s device do not support MPEG input.\n", LOG_LEVEL_ENCODER);
+ pvr_uninit (pvr);
return STREAM_ERROR;
}