summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-03 16:44:44 +0100
committerwm4 <wm4@nowhere>2014-01-03 16:44:44 +0100
commit6e6291dcfd1d4d7cebd16790a89004e60e970eb2 (patch)
treebe434ee44ebdf71a21786ba1a02c0eec200521d8 /stream
parent52ed634811c67cb2fe3dee017df6fb1961c35668 (diff)
downloadmpv-6e6291dcfd1d4d7cebd16790a89004e60e970eb2.tar.bz2
mpv-6e6291dcfd1d4d7cebd16790a89004e60e970eb2.tar.xz
stream_pvr: fix crash on initialization
Fallout from the mp_msg conversions.
Diffstat (limited to 'stream')
-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 e88529e589..12a2c8d5f5 100644
--- a/stream/stream_pvr.c
+++ b/stream/stream_pvr.c
@@ -1520,6 +1520,7 @@ pvr_stream_open (stream_t *stream, int mode)
return STREAM_UNSUPPORTED;
pvr = pvr_init ();
+ pvr->log = stream->log;
/**
* if the url, i.e. 'pvr://8', contains the channel, use it,