[mythtv-commits] Ticket #201: DVB: For streams not correctly
identifying as video
MythTV
mythtv at cvs.mythtv.org
Sat Aug 6 20:21:15 UTC 2005
#201: DVB: For streams not correctly identifying as video
--------------------------------+-------------------------------------------
Reporter: atomjack at gmail.com | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version: 0.18.1
Severity: medium | Cc: |
--------------------------------+-------------------------------------------
I had problems getting myth to tune to Discovery HD theater, and it turns
out it was because the stream wasn't being properly identified as having
video - dvbtraffic showed OTHER for that stream, although it also showed
that it had a type 0x80. I had no problems tuning to and capturing this
channel outside of myth, however. Upon inspection of the source, I found
that it looked like this fix was started but never finished. Here's the
diff:
{{{
Index: libs/libmythtv/siparser.cpp
===================================================================
--- libs/libmythtv/siparser.cpp (revision 6995)
+++ libs/libmythtv/siparser.cpp (working copy)
@@ -795,6 +795,8 @@
e.Type = ES_TYPE_VIDEO_MPEG1;
break;
case 0x80: // OpenCable Mpeg2
+ e.Type = ES_TYPE_VIDEO_MPEG2;
+ break;
case 0x02: // DVB/ATSC Mpeg2
e.Type = ES_TYPE_VIDEO_MPEG2;
break;
}}}
You'll notice all I had to add was the two lines underneath case 0x80,
which was already there. This is my first contribution. Hope I did
everything right.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/201>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list