diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-05-13 22:20:45 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-05-13 22:20:45 +0000 |
commit | 67091cbe8c28696063a62175319278d896903107 (patch) | |
tree | e987a7e998b0132c83ec68ea40ab45719e7060f7 /src | |
parent | 58c2ec53b1877fb43142d57c37443f2e1381daf1 (diff) | |
download | xine-lib-67091cbe8c28696063a62175319278d896903107.tar.gz xine-lib-67091cbe8c28696063a62175319278d896903107.tar.bz2 |
Complete the previous patch.
CVS patchset: 1882
CVS date: 2002/05/13 22:20:45
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_asf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c index 8962adaa5..885d20918 100644 --- a/src/demuxers/demux_asf.c +++ b/src/demuxers/demux_asf.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: demux_asf.c,v 1.37 2002/05/13 21:41:43 tmattern Exp $ + * $Id: demux_asf.c,v 1.38 2002/05/13 22:20:45 tmattern Exp $ * * demultiplexer for asf streams * @@ -1198,7 +1198,7 @@ static void demux_asf_stop (demux_plugin_t *this_gen) { pthread_mutex_lock( &this->mutex ); - if (this->status != DEMUX_OK) { + if (!this->thread_running) { printf ("demux_asf: stop...ignored\n"); pthread_mutex_unlock( &this->mutex ); return; @@ -1398,7 +1398,7 @@ static int demux_asf_open(demux_plugin_t *this_gen, if(!ending) return DEMUX_CANNOT_HANDLE; - + xine_strdupa(valid_ends, (this->config->register_string(this->config, "mrl.ends_asf", VALID_ENDS, "valid mrls ending for asf demuxer", @@ -1454,7 +1454,7 @@ demux_plugin_t *init_demuxer_plugin(int iface, xine_t *xine) { (void*) this->config->register_string(this->config, "mrl.ends_asf", VALID_ENDS, "valid mrls ending for asf demuxer", - NULL, NULL, NULL); + NULL, NULL, NULL); this->demux_plugin.interface_version = DEMUXER_PLUGIN_IFACE_VERSION; this->demux_plugin.open = demux_asf_open; |