summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
authorRich J Wareham <richwareham@users.sourceforge.net>2001-10-18 14:42:59 +0000
committerRich J Wareham <richwareham@users.sourceforge.net>2001-10-18 14:42:59 +0000
commit99b10adaf384ec06310020e553e5081be6624128 (patch)
tree53b8e7b6004289cb922669b93170c97bec94fe24 /src/xine-engine/video_decoder.c
parentc19c9b4e2690724ef09066b37cfabdc81c171c06 (diff)
downloadxine-lib-99b10adaf384ec06310020e553e5081be6624128.tar.gz
xine-lib-99b10adaf384ec06310020e553e5081be6624128.tar.bz2
Slight re-ordering to make sure that input plugins can register event listeners
CVS patchset: 830 CVS date: 2001/10/18 14:42:59
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index d454aae3a..f958098e4 100644
--- a/src/xine-engine/video_decoder.c
+++ b/src/xine-engine/video_decoder.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: video_decoder.c,v 1.54 2001/10/05 01:56:57 miguelfreitas Exp $
+ * $Id: video_decoder.c,v 1.55 2001/10/18 14:43:00 richwareham Exp $
*
*/
@@ -241,9 +241,11 @@ static void spu_event_handler(xine_t *this, event_t *event, void *data) {
switch(event->type) {
case XINE_SPU_EVENT:
+ /* -- This can cause a segfault!
if (!this->cur_spu_decoder_plugin)
- update_spu_decoder(this, BUF_SPU_CLUT); /* preload spu decoder */
-
+ update_spu_decoder(this, BUF_SPU_CLUT);
+ */
+
if (this->cur_spu_decoder_plugin)
this->cur_spu_decoder_plugin->event(this->cur_spu_decoder_plugin,
(spu_event_t*) event);