[MPlayer-cvslog] r29874 - trunk/libmpdemux/demuxer.c
reimar
subversion at mplayerhq.hu
Tue Nov 10 12:26:03 CET 2009
Author: reimar
Date: Tue Nov 10 12:26:03 2009
New Revision: 29874
Log:
Free demuxer->teletext when closing the demuxer.
Modified:
trunk/libmpdemux/demuxer.c
Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c Tue Nov 10 12:24:29 2009 (r29873)
+++ trunk/libmpdemux/demuxer.c Tue Nov 10 12:26:03 2009 (r29874)
@@ -39,6 +39,7 @@
#include "mf.h"
#include "libaf/af_format.h"
+#include "libmpcodecs/dec_teletext.h"
#ifdef CONFIG_ASS
#include "libass/ass.h"
@@ -389,6 +390,8 @@ void free_demuxer(demuxer_t *demuxer)
}
free(demuxer->attachments);
}
+ if (demuxer->teletext)
+ teletext_control(demuxer->teletext, TV_VBI_CONTROL_STOP, NULL);
free(demuxer);
}
More information about the MPlayer-cvslog
mailing list