[mythtv-commits] Ticket #7736: DVB captions for Danish broadcasting channels (H.264 over DVB-T)
MythTV
mythtv at cvs.mythtv.org
Sat Dec 12 01:51:56 UTC 2009
#7736: DVB captions for Danish broadcasting channels (H.264 over DVB-T)
-----------------------------------------------+----------------------------
Reporter: Morten Grouleff <mg@…> | Owner: janne
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - DVB | Version: 0.22-fixes
Severity: medium | Mlocked: 0
-----------------------------------------------+----------------------------
The captions are missing. Digging aroung in the debug-output and
sourcecode I noticed the following.
In mpegts.c, function mpegts_parse_desc, while looking at the desc_tag
value of DVB_SUBT_DESCID, the resulting sub_id for these subtitles is
zero. The result of that is that the function pmt_cb (around line 792)
does not detect it as a subtitle, but leaves it as a PRIVATE_DATA:
if (dvbci.sub_id && (stream_type == STREAM_TYPE_PRIVATE_DATA))
stream_type = STREAM_TYPE_SUBTITLE_DVB;
I found a simple cure: Relocate the change of stream_type to within
function mpegts_parse_desc and remove the sub_id inspecting lines at
792. This change is attached as a patch against rev 22974 on
0.22-fixes.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7736>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list