[vdr] VDR constantly adding and deleting filters

Anssi Hannula anssi.hannula at gmail.com
Tue May 6 04:27:35 CEST 2008


Hi all!

While debugging another issue, I noticed (ADDF/DELF streamdev traffic)
that VDR is constantly adding and deleting filters in cPatFilter::Process().

As I don't know of this filter stuff, I ask here:
Is this correct behaviour?

It probably is, but I just want to be sure :)

Below is a log excerpt with the attached patch:

> May  6 05:18:42 epsilon vdr: [30688] Adding, pmtPid 264, Index = 7, Sid = 4417
> May  6 05:18:42 epsilon vdr: [30682] Deleting, pmtPid 256, pmtIndex = 1, lastPmtScan = 0
> May  6 05:18:42 epsilon vdr: [30682] Adding, pmtPid 257, Index = 3, Sid = 97
> May  6 05:18:42 epsilon vdr: [30685] Deleting, pmtPid 256, pmtIndex = 0, lastPmtScan = 0
> May  6 05:18:42 epsilon vdr: [30685] Adding, pmtPid 257, Index = 2, Sid = 273
> May  6 05:18:42 epsilon vdr: [30688] Deleting, pmtPid 264, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:42 epsilon vdr: [30688] Adding, pmtPid 266, Index = 8, Sid = 4481
> May  6 05:18:42 epsilon vdr: [30682] Deleting, pmtPid 257, pmtIndex = 2, lastPmtScan = 0
> May  6 05:18:42 epsilon vdr: [30682] Adding, pmtPid 264, Index = 4, Sid = 209
> May  6 05:18:42 epsilon vdr: [30685] Deleting, pmtPid 257, pmtIndex = 1, lastPmtScan = 0
> May  6 05:18:42 epsilon vdr: [30685] Adding, pmtPid 258, Index = 3, Sid = 289
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 266, pmtIndex = 7, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 265, Index = 9, Sid = 4433
> May  6 05:18:43 epsilon vdr: [30679] Deleting, pmtPid 1150, pmtIndex = 4, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30679] Adding, pmtPid 1151, Index = 6, Sid = 1187
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 264, pmtIndex = 3, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 260, Index = 5, Sid = 257
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 258, pmtIndex = 2, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 259, Index = 4, Sid = 305
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 260, pmtIndex = 4, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 261, Index = 6, Sid = 241
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 259, pmtIndex = 3, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 261, Index = 5, Sid = 353
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 265, pmtIndex = 8, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 263, Index = 10, Sid = 4401
> May  6 05:18:43 epsilon vdr: [30679] Deleting, pmtPid 1151, pmtIndex = 5, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 261, pmtIndex = 5, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 259, Index = 7, Sid = 177
> May  6 05:18:43 epsilon vdr: [30679] Adding, pmtPid 1119, Index = 7, Sid = 1190
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 261, pmtIndex = 4, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 262, Index = 6, Sid = 385
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 259, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 262, pmtIndex = 5, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 263, Index = 7, Sid = 369
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 263, pmtIndex = 9, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 258, Index = 1, Sid = 65
> May  6 05:18:43 epsilon vdr: [30679] Deleting, pmtPid 1119, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30679] Adding, pmtPid 1154, Index = 8, Sid = 1354
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 263, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 260, Index = 8, Sid = 337
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 256, Index = 1, Sid = 17
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 258, pmtIndex = 0, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 256, Index = 2, Sid = 49
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 256, pmtIndex = 0, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 257, Index = 2, Sid = 33
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 260, pmtIndex = 7, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 256, pmtIndex = 1, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 257, Index = 3, Sid = 97
> May  6 05:18:43 epsilon vdr: [30679] Deleting, pmtPid 1154, pmtIndex = 7, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30679] Adding, pmtPid 1144, Index = 9, Sid = 1380
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 257, pmtIndex = 1, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 259, Index = 3, Sid = 81
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 256, Index = 1, Sid = 225
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 257, pmtIndex = 2, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 264, Index = 4, Sid = 209
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 259, pmtIndex = 2, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 260, Index = 4, Sid = 129
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 256, pmtIndex = 0, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 257, Index = 2, Sid = 273
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 264, pmtIndex = 3, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 260, Index = 5, Sid = 257
> May  6 05:18:43 epsilon vdr: [30679] Deleting, pmtPid 1144, pmtIndex = 8, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30679] Adding, pmtPid 1145, Index = 10, Sid = 1510
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 260, pmtIndex = 3, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 258, Index = 5, Sid = 145
> May  6 05:18:43 epsilon vdr: [30682] Deleting, pmtPid 260, pmtIndex = 4, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30682] Adding, pmtPid 261, Index = 6, Sid = 241
> May  6 05:18:43 epsilon vdr: [30685] Deleting, pmtPid 257, pmtIndex = 1, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30685] Adding, pmtPid 258, Index = 3, Sid = 289
> May  6 05:18:43 epsilon vdr: [30688] Deleting, pmtPid 258, pmtIndex = 4, lastPmtScan = 0
> May  6 05:18:43 epsilon vdr: [30688] Adding, pmtPid 261, Index = 6, Sid = 4369
> May  6 05:18:44 epsilon vdr: [30682] Deleting, pmtPid 261, pmtIndex = 5, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30682] Adding, pmtPid 259, Index = 7, Sid = 177
> May  6 05:18:44 epsilon vdr: [30685] Deleting, pmtPid 258, pmtIndex = 2, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30685] Adding, pmtPid 259, Index = 4, Sid = 305
> May  6 05:18:44 epsilon vdr: [30688] Deleting, pmtPid 261, pmtIndex = 5, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30688] Adding, pmtPid 264, Index = 7, Sid = 4417
> May  6 05:18:44 epsilon vdr: [30685] Deleting, pmtPid 259, pmtIndex = 3, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30685] Adding, pmtPid 261, Index = 5, Sid = 353
> May  6 05:18:44 epsilon vdr: [30682] Deleting, pmtPid 259, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30685] Deleting, pmtPid 261, pmtIndex = 4, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30685] Adding, pmtPid 262, Index = 6, Sid = 385
> May  6 05:18:44 epsilon vdr: [30679] Deleting, pmtPid 1145, pmtIndex = 9, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30679] Adding, pmtPid 1146, Index = 11, Sid = 1520
> May  6 05:18:44 epsilon vdr: [30688] Deleting, pmtPid 264, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30688] Adding, pmtPid 266, Index = 8, Sid = 4481
> May  6 05:18:44 epsilon vdr: [30682] Adding, pmtPid 258, Index = 1, Sid = 65
> May  6 05:18:44 epsilon vdr: [30685] Deleting, pmtPid 262, pmtIndex = 5, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30685] Adding, pmtPid 263, Index = 7, Sid = 369
> May  6 05:18:44 epsilon vdr: [30688] Deleting, pmtPid 266, pmtIndex = 7, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30688] Adding, pmtPid 265, Index = 9, Sid = 4433
> May  6 05:18:44 epsilon vdr: [30685] Deleting, pmtPid 263, pmtIndex = 6, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30685] Adding, pmtPid 260, Index = 8, Sid = 337
> May  6 05:18:44 epsilon vdr: [30688] Deleting, pmtPid 265, pmtIndex = 8, lastPmtScan = 0
> May  6 05:18:44 epsilon vdr: [30688] Adding, pmtPid 263, Index = 10, Sid = 4401
> May  6 05:18:44 epsilon vdr: [30679] Deleting, pmtPid 1146, pmtIndex = 10, lastPmtScan = 0

-- 
Anssi Hannula
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vdr-1.6.0-filterdebug.diff
Url: http://www.linuxtv.org/pipermail/vdr/attachments/20080506/eb978bc2/attachment.ksh 


More information about the vdr mailing list