summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r--src/xine-engine/video_decoder.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c
index ad06a7bda..853fa6fc4 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.58 2001/10/20 20:13:08 jcdutton Exp $
+ * $Id: video_decoder.c,v 1.59 2001/10/21 12:09:06 jcdutton Exp $
*
*/
@@ -112,6 +112,17 @@ void *video_decoder_loop (void *this_gen) {
profiler_stop_count (prof_spu_decode);
break;
+ case BUF_SPU_SUBP_CONTROL:
+ profiler_start_count (prof_spu_decode);
+
+ spu_decoder = update_spu_decoder(this, buf->type);
+
+ if (spu_decoder)
+ spu_decoder->decode_data (spu_decoder, buf);
+
+ profiler_stop_count (prof_spu_decode);
+ break;
+
case BUF_CONTROL_SPU_CHANNEL:
this->spu_channel = buf->decoder_info[0];
break;