﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
10346	Stream_type 0x80 is not video in DVB	klaas.de.waal@…	danielk	"In my DVB-C cable system are TV channels that cannot be recorded by MythTV. However, they can be recorded with gnutv and the resulting recordings can be played by MythTV when placed in a Video directory.
[[BR]][[BR]]
Analyzing the streams recorded with gnutv shows that there is a private data stream with stream_type of 0x80 present. This stream is erroneously identified as an OpenCableVideo stream in MythTV.
[[BR]][[BR]]
This problem has been identified before (see #2556 and the thread http://www.gossamer-threads.com/lists/mythtv/dev/231271?search_string=opencable;#231271) and the fix was to use the first identified video stream as the real video stream. This worked because in #2556 the 0x80 stream came after the real video stream. However, I have TV channels where the 0x80 stream is seen first so this does not work for me.
[[BR]]
I've fixed this by adding a new IsVideo function that also checks that the sistandard is ""opencable"" when the stream_type is recognized as OpenCableVideo (0x80). I have also changed the test in StreamID::Normalize to check explicitly on ""opencable"".
[[BR]][[BR]]
There are changes in mpegstreamdata.cpp, mpegtables.h and mpegtables.cpp. Patch is attached.


"	Bug Report - General	closed	minor	unknown	MythTV - DVB	Master Head	low	Won't Fix	opencable, dvb, pmt		0
