summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-07-31 07:56:56 -0700
committerJohn Stebbins <[email protected]>2019-07-31 07:58:50 -0700
commit772c2308b91b8b912ef09805efcd3fc93e63ee52 (patch)
tree3465668ecdb158483b661b0c234a54c416fac16f
parentfc0a2c83be98bc9c029841e64829422e9830355f (diff)
stream: fix building of subtitle list in PES files
a very old cut & paste error. people must not use subtitles in PES much ;)
-rw-r--r--libhb/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c
index 0a66a7275..1e6bf1e0a 100644
--- a/libhb/stream.c
+++ b/libhb/stream.c
@@ -2153,7 +2153,7 @@ static void hb_init_subtitle_list(hb_stream_t *stream, hb_title_t *title)
break;
}
- int count = hb_list_count( title->list_audio );
+ int count = hb_list_count( title->list_subtitle );
// Now add the reset. Sort them by stream id.
for ( ii = 0; ii < stream->pes.count; ii++ )
{