Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Teletext broken in 20020603 CVS driver snapshot?
- To: linux-dvb@linuxtv.org
- Subject: [linux-dvb] Re: Teletext broken in 20020603 CVS driver snapshot?
- From: Douglas Kosovic <douglask@dstc.edu.au>
- Date: Mon, 22 Jul 2002 17:46:21 +1000
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=us-ascii; format=flowed
- References: <E17Ev71-0002TJ-00@intern.SerNet.DE>
- Sender: linux-dvb-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607
Lutz Pressler wrote:
>Hello,
>
>all other things equal (especially tuning application -- vdr),
>with 20020603 and 20020503 driver versions under Linux kernel
>2.4.19-pre8 (where I had to comment out "busy" in
>"struct video_device dvb_template" of driver/dvb.c to get it
>compiled, btw) there is no teletext signal on the video output
>of Siemens DVB-C card. With driver included for 2.4.18-SuSE of SuSE
>8.0, that works.
>
I had to modify dvb_feed_start_pid() in driver/dvb.c to get teletext
signal on the video output.
Find the patch at end of this email.
Cheers,
Doug.
------ Attached Patch -----
Index: dvb.c
===================================================================
RCS file: /cvs/linuxtv/DVB/driver/dvb.c,v
retrieving revision 1.139
diff -c -r1.139 dvb.c
*** dvb.c 9 Jul 2002 13:01:46 -0000 1.139
--- dvb.c 22 Jul 2002 07:36:44 -0000
***************
*** 3813,3832 ****
i=dvbdmxfeed->pes_type;
npids[i] = (pid[i] & 0x8000) ? 0 : pid[i];
- if ((dvbdmxfeed->pes_type==DMX_TS_PES_TELETEXT)
- && npids[DMX_TS_PES_TELETEXT]
- && (dvbdmxfeed->ts_type&TS_PACKET)) {
- npids[DMX_TS_PES_TELETEXT]=0;
- ChangePIDs(dvb,
- npids[DMX_TS_PES_VIDEO],
npids[DMX_TS_PES_AUDIO],
- npids[DMX_TS_PES_TELETEXT],
- npids[DMX_TS_PES_SUBTITLE],
npids[DMX_TS_PES_PCR]);
- StartHWFilter(dvbdmxfeed->filter);
- return;
- }
-
if ((dvbdmxfeed->pes_type==DMX_TS_PES_VIDEO)
|| (dvbdmxfeed->pes_type==DMX_TS_PES_AUDIO)
|| (dvbdmxfeed->pes_type==DMX_TS_PES_PCR))
ChangePIDs(dvb,
npids[DMX_TS_PES_VIDEO],
npids[DMX_TS_PES_AUDIO],
--- 3813,3822 ----
i=dvbdmxfeed->pes_type;
npids[i] = (pid[i] & 0x8000) ? 0 : pid[i];
if ((dvbdmxfeed->pes_type==DMX_TS_PES_VIDEO)
|| (dvbdmxfeed->pes_type==DMX_TS_PES_AUDIO)
+ || (dvbdmxfeed->pes_type==DMX_TS_PES_TELETEXT)
+ || (dvbdmxfeed->pes_type==DMX_TS_PES_SUBTITLE)
|| (dvbdmxfeed->pes_type==DMX_TS_PES_PCR))
ChangePIDs(dvb,
npids[DMX_TS_PES_VIDEO],
npids[DMX_TS_PES_AUDIO],
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index