summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/spu_dec/spuhdmv_decoder.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/spu_dec/spuhdmv_decoder.c b/src/spu_dec/spuhdmv_decoder.c
index 4a32d982c..15f2e733c 100644
--- a/src/spu_dec/spuhdmv_decoder.c
+++ b/src/spu_dec/spuhdmv_decoder.c
@@ -969,6 +969,9 @@ static void spudec_decode_data (spu_decoder_t * this_gen, buf_element_t * buf)
if ((buf->type & 0xffff0000) != BUF_SPU_HDMV)
return;
+ if ((this->stream->spu_channel & 0x1f) != (buf->type & 0x1f))
+ return;
+
if (buf->size < 1)
return;