diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2005-02-09 20:03:18 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2005-02-09 20:03:18 +0000 |
commit | 98ae0af69a0e10d5fe88414617d47ddd7eab1147 (patch) | |
tree | f8db6d101dfb2f3b0e1b6f2660d1d39f7ae0b270 /src/xine-engine/xine.c | |
parent | 3a2698a5975e3a9cc7f1f4c006677f664da2c194 (diff) | |
download | xine-lib-98ae0af69a0e10d5fe88414617d47ddd7eab1147.tar.gz xine-lib-98ae0af69a0e10d5fe88414617d47ddd7eab1147.tar.bz2 |
Finally commit the plugin loader improvements.
see my last mail about this stuff:
http://thread.gmane.org/gmane.comp.video.xine.devel/12547
and this thread:
http://thread.gmane.org/gmane.comp.video.xine.devel/11213
CVS patchset: 7395
CVS date: 2005/02/09 20:03:18
Diffstat (limited to 'src/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index fc744bcfd..49ee8788e 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.308 2005/01/21 18:47:54 hadess Exp $ + * $Id: xine.c,v 1.309 2005/02/09 20:03:21 tmattern Exp $ */ /* @@ -359,9 +359,8 @@ static void close_internal (xine_stream_t *stream) { stream->xine->port_ticket->release(stream->xine->port_ticket, 1); stream->ignore_speed_change = 0; - lprintf ("disposing demux\n"); if (stream->demux_plugin) { - stream->demux_plugin->dispose (stream->demux_plugin); + _x_free_demux_plugin(stream, stream->demux_plugin); stream->demux_plugin = NULL; } @@ -370,7 +369,7 @@ static void close_internal (xine_stream_t *stream) { */ if (stream->input_plugin) { - stream->input_plugin->dispose(stream->input_plugin); + _x_free_input_plugin(stream, stream->input_plugin); stream->input_plugin = NULL; } @@ -1042,12 +1041,12 @@ static int open_internal (xine_stream_t *stream, const char *mrl) { if (stream->demux_plugin->get_status(stream->demux_plugin) != DEMUX_OK) { xine_log (stream->xine, XINE_LOG_MSG, _("xine: demuxer failed to start\n")); - stream->demux_plugin->dispose (stream->demux_plugin); + _x_free_demux_plugin(stream, stream->demux_plugin); stream->demux_plugin = NULL; xprintf (stream->xine, XINE_VERBOSITY_DEBUG, "demux disposed\n"); - stream->input_plugin->dispose (stream->input_plugin); + _x_free_input_plugin(stream, stream->input_plugin); stream->input_plugin = NULL; stream->err = XINE_ERROR_NO_DEMUX_PLUGIN; |