From f5edf7f0297789cd7ecb6dee57156dd230732c67 Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Sat, 8 Dec 2012 11:41:47 +0100 Subject: [PATCH] Fix subtitles playback on live tv --- demuxerts.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demuxerts.cc b/demuxerts.cc index defd432..19fb41d 100644 --- a/demuxerts.cc +++ b/demuxerts.cc @@ -638,7 +638,7 @@ int DemuxerTS::processTS(UCHAR* buf) } if (pid == subID) { - subPacket.init(PESTYPE_PRIVATE_1); + subPacket.init(PESTYPE_PRIVATE_1,PESTYPE_SUBSTREAM_DVBSUBTITLE0); subLength = (buf[4] << 8) + buf[5]; buf += 6; datalen -= 6; } -- 2.39.5