ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Linux-DVB/eg/extract-si
(Generate patch)

Comparing Linux-DVB/eg/extract-si (file contents):
Revision 1.2 by root, Mon Sep 6 06:28:33 2004 UTC vs.
Revision 1.3 by root, Wed Sep 8 19:47:30 2004 UTC

25 print "new scanner\n"; 25 print "new scanner\n";
26 my $self = bless { }; 26 my $self = bless { };
27 27
28 $self->{dmx} = ::new_demux; 28 $self->{dmx} = ::new_demux;
29 $self->{dmx}->sct_filter ($PID, "", ""); 29 $self->{dmx}->sct_filter ($PID, "", "");
30 $self->{dmx}->buffer (0x10000);
30 $self->{dmx}->start; 31 $self->{dmx}->start;
31 32
32 $self->{w} = Event->io (fd => $self->{dmx}->fh, poll => 'r', cb => sub { 33 $self->{w} = Event->io (fd => $self->{dmx}->fh, poll => 'r', cb => sub {
33 sysread $self->{dmx}->fh, my $data, 8192; 34 sysread $self->{dmx}->fh, my $data, 4096;
34 print Data::Dumper::Dumper Linux::DVB::Decode::si $data; 35 print Data::Dumper::Dumper Linux::DVB::Decode::si $data;
35 }); 36 });
36} 37}
37 38
38sub DESTROY { 39sub DESTROY {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines