Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] pcrpatch for scan
- To: linux-dvb@linuxtv.org
- Subject: [linux-dvb] pcrpatch for scan
- From: Lauri Tischler <lauri.tischler@efore.fi>
- Date: Tue, 24 Jun 2003 20:48:38 +0300
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=us-ascii; format=flowed
- Sender: linux-dvb-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507
Adds pcr-pids to vpids where pcrpid <> vpid.
like format :vpid+pcrpid:
diff -u /usr/local/dvb/DVB/apps/scan/dump-vdr.c
/usr/local/dvb/DVB-patch/apps/scan/dump-vdr.c
--- /usr/local/dvb/DVB/apps/scan/dump-vdr.c 2003-06-24
13:19:01.000000000 +0300
+++ /usr/local/dvb/DVB-patch/apps/scan/dump-vdr.c 2003-06-24
20:40:59.000000000 +0300
@@ -113,6 +113,7 @@
struct dvb_frontend_parameters *p,
char polarity,
int video_pid,
+int pcr_pid,
uint16_t *audio_pid,
int audio_num,
int teletext_pid,
@@ -132,7 +133,11 @@
fprintf (f, "%s:", provider_name);
fprintf (f, "%s:", service_name);
vdr_dump_dvb_parameters (f, type, p, polarity, orbital_pos, we_flag);
- fprintf (f, "%i:", video_pid);
+ if ((pcr_pid != video_pid) & (video_pid > 0)) {
+ fprintf (f, "%i+%i:", video_pid, pcr_pid);
+ }else{
+ fprintf (f, "%i:", video_pid);
+ }
fprintf (f, "%i", audio_pid[0]);
for (i=1; i<audio_num; i++)
fprintf (f, ",%i", audio_pid[i]);
diff -u /usr/local/dvb/DVB/apps/scan/dump-vdr.h
/usr/local/dvb/DVB-patch/apps/scan/dump-vdr.h
--- /usr/local/dvb/DVB/apps/scan/dump-vdr.h 2003-06-13
19:51:27.000000000 +0300
+++ /usr/local/dvb/DVB-patch/apps/scan/dump-vdr.h 2003-06-24
20:40:27.000000000 +0300
@@ -16,6 +16,7 @@
struct dvb_frontend_parameters *p,
char polarity,
int video_pid,
+ int pcr_pid,
uint16_t *audio_pid,
int audio_num,
int teletext_pid,
diff -u /usr/local/dvb/DVB/apps/scan/scan.c
/usr/local/dvb/DVB-patch/apps/scan/scan.c
--- /usr/local/dvb/DVB/apps/scan/scan.c 2003-06-18 16:03:34.000000000 +0300
+++ /usr/local/dvb/DVB-patch/apps/scan/scan.c 2003-06-24
19:32:56.000000000 +0300
@@ -1469,6 +1469,7 @@
&t->param,
sat_polarisation(t),
s->video_pid,
+s->pcr_pid,
s->audio_pid,
//FIXME: s->audio_lang
s->audio_num,
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index