mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
fixed a memory leak in cStreamdevPatFilter::GetPid (thanks to lhanisch)
This commit is contained in:
parent
2f027a6ffc
commit
8a128f7c57
@ -139,3 +139,6 @@ Valdemaras Pipiras
|
||||
|
||||
sk8ter
|
||||
for fixing failures when switching between two encrypted channels
|
||||
|
||||
lhanisch
|
||||
for fixing a memory leak in cStreamdevPatFilter::GetPid
|
||||
|
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
||||
VDR Plugin 'streamdev' Revision History
|
||||
---------------------------------------
|
||||
|
||||
- fixed a memory leak in cStreamdevPatFilter::GetPid (thanks to lhanisch)
|
||||
- length -1 is the correct value for streams in M3U playlists
|
||||
- switching between two encrypted channels on the same transponder didn't
|
||||
always work (thanks to sk8ter@vdrportal)
|
||||
|
@ -174,14 +174,17 @@ int cStreamdevPatFilter::GetPid(SI::PMT::Stream& stream)
|
||||
case SI::AC3DescriptorTag:
|
||||
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
||||
stream.getPid(), psStreamTypes[stream.getStreamType()], "AC3");
|
||||
delete d;
|
||||
return stream.getPid();
|
||||
case SI::TeletextDescriptorTag:
|
||||
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
||||
stream.getPid(), psStreamTypes[stream.getStreamType()], "Teletext");
|
||||
delete d;
|
||||
return stream.getPid();
|
||||
case SI::SubtitlingDescriptorTag:
|
||||
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
||||
stream.getPid(), psStreamTypes[stream.getStreamType()], "DVBSUB");
|
||||
delete d;
|
||||
return stream.getPid();
|
||||
default:
|
||||
Dprintf("cStreamdevPatFilter PMT scanner: NOT adding PID %d (%s) %s\n",
|
||||
@ -214,6 +217,7 @@ int cStreamdevPatFilter::GetPid(SI::PMT::Stream& stream)
|
||||
stream.getPid(), stream.getStreamType(),
|
||||
d->getLength(), rawdata[2], rawdata[3],
|
||||
rawdata[4], rawdata[5]);
|
||||
delete d;
|
||||
return stream.getPid();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user