Fixed possible duplicate component entries in the info of an ongoing recording

This commit is contained in:
Klaus Schmidinger 2024-01-24 13:24:51 +01:00
parent a2591d6e98
commit 385738cadd
3 changed files with 6 additions and 2 deletions

View File

@ -2471,6 +2471,7 @@ Christoph Haubrich <christoph1.haubrich@arcor.de>
for adding the frame width, height, scan type and aspect ratio of a recording to the 'F'
tag of the 'info' file
for adding a workaround in detecting frame height for channels with wrong crop parameters
for reporting duplicate component entries in the info of an ongoing recording
Pekka Mauno <pekka.mauno@iki.fi>
for fixing cSchedule::GetFollowingEvent() in case there is currently no present

View File

@ -9863,7 +9863,7 @@ Video Disk Recorder Revision History
- The recording info of the default skins now shows the frame parameters of the
recording at the end of the description (if such information is available).
2024-01-23:
2024-01-24:
- Changed installing config files to handle potentially broken 'cp -n'.
- Fixed height calculation in progress display (thanks to Matthias Senzel).
@ -9884,3 +9884,5 @@ Video Disk Recorder Revision History
- Fixed handling primary device on headless systems (thanks to Markus Ehrnsperger).
- Workaround in detecting frame height for channels with wrong crop parameters
(thanks to Christoph Haubrich).
- Fixed possible duplicate component entries in the info of an ongoing recording
(reported by Christoph Haubrich).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recording.c 5.25 2024/01/21 10:43:20 kls Exp $
* $Id: recording.c 5.26 2024/01/24 13:24:51 kls Exp $
*/
#include "recording.h"
@ -519,6 +519,7 @@ bool cRecordingInfo::Read(FILE *f)
ownEvent->SetDuration(Duration);
ownEvent->SetTableID(uchar(TableID));
ownEvent->SetVersion(uchar(Version));
ownEvent->SetComponents(NULL);
}
}
break;