summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 11:24:29 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-10 11:24:29 +0000
commitbd82936f6353c29d9ef11e9eafe944771dcd2db3 (patch)
treef2a00d47ae6f75e832022926694bfb72769e0537 /stream/tv.c
parent78290719a61eed47dda8c7524de93e436c7f5fd5 (diff)
downloadmpv-bd82936f6353c29d9ef11e9eafe944771dcd2db3.tar.bz2
mpv-bd82936f6353c29d9ef11e9eafe944771dcd2db3.tar.xz
Set demuxer->teletext to NULL when closing the TV interface,
since analog teletext can not (yet) work without the TV interface. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29873 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/tv.c b/stream/tv.c
index b27486d086..6d4609840b 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -831,6 +831,7 @@ static void demux_close_tv(demuxer_t *demuxer)
tv_uninit(tvh);
free(tvh);
demuxer->priv=NULL;
+ demuxer->teletext=NULL;
}
/* utilities for mplayer (not mencoder!!) */