summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-03 16:44:44 +0100
committerwm4 <wm4@nowhere>2014-01-06 20:21:39 +0100
commit9f6551160ac7eb306f0ee87bd0a599e279f7fe8b (patch)
treee23970ea0a205e099a72d931f43d9d2b99bd1d85
parent89b854165e759d019ecf53d755f83eaecbf2d99c (diff)
downloadmpv-9f6551160ac7eb306f0ee87bd0a599e279f7fe8b.tar.bz2
mpv-9f6551160ac7eb306f0ee87bd0a599e279f7fe8b.tar.xz
stream_pvr: fix crash on initialization
Fallout from the mp_msg conversions.
-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,