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
ccbc738202
commit
fc99a72467
@ -117,3 +117,6 @@ Alwin Esch
|
|||||||
|
|
||||||
BBlack
|
BBlack
|
||||||
for reporting that updating recordings list on CmdPLAY is a bad idea
|
for reporting that updating recordings list on CmdPLAY is a bad idea
|
||||||
|
|
||||||
|
lhanisch
|
||||||
|
for fixing a memory leak in cStreamdevPatFilter::GetPid
|
||||||
|
1
HISTORY
1
HISTORY
@ -1,6 +1,7 @@
|
|||||||
VDR Plugin 'streamdev' Revision History
|
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
|
- length -1 is the correct value for streams in M3U playlists
|
||||||
- added DELT FORCE option to delete running timers (thanks to Alwin Esch)
|
- added DELT FORCE option to delete running timers (thanks to Alwin Esch)
|
||||||
- fixed missing virtual destructor for cTSRemux
|
- fixed missing virtual destructor for cTSRemux
|
||||||
|
@ -183,14 +183,17 @@ int cStreamdevPatFilter::GetPid(SI::PMT::Stream& stream)
|
|||||||
case SI::AC3DescriptorTag:
|
case SI::AC3DescriptorTag:
|
||||||
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
||||||
stream.getPid(), psStreamTypes[stream.getStreamType()], "AC3");
|
stream.getPid(), psStreamTypes[stream.getStreamType()], "AC3");
|
||||||
|
delete d;
|
||||||
return stream.getPid();
|
return stream.getPid();
|
||||||
case SI::TeletextDescriptorTag:
|
case SI::TeletextDescriptorTag:
|
||||||
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
||||||
stream.getPid(), psStreamTypes[stream.getStreamType()], "Teletext");
|
stream.getPid(), psStreamTypes[stream.getStreamType()], "Teletext");
|
||||||
|
delete d;
|
||||||
return stream.getPid();
|
return stream.getPid();
|
||||||
case SI::SubtitlingDescriptorTag:
|
case SI::SubtitlingDescriptorTag:
|
||||||
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
|
||||||
stream.getPid(), psStreamTypes[stream.getStreamType()], "DVBSUB");
|
stream.getPid(), psStreamTypes[stream.getStreamType()], "DVBSUB");
|
||||||
|
delete d;
|
||||||
return stream.getPid();
|
return stream.getPid();
|
||||||
default:
|
default:
|
||||||
Dprintf("cStreamdevPatFilter PMT scanner: NOT adding PID %d (%s) %s\n",
|
Dprintf("cStreamdevPatFilter PMT scanner: NOT adding PID %d (%s) %s\n",
|
||||||
@ -223,6 +226,7 @@ int cStreamdevPatFilter::GetPid(SI::PMT::Stream& stream)
|
|||||||
stream.getPid(), stream.getStreamType(),
|
stream.getPid(), stream.getStreamType(),
|
||||||
d->getLength(), rawdata[2], rawdata[3],
|
d->getLength(), rawdata[2], rawdata[3],
|
||||||
rawdata[4], rawdata[5]);
|
rawdata[4], rawdata[5]);
|
||||||
|
delete d;
|
||||||
return stream.getPid();
|
return stream.getPid();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user