vdr/dvbhdffdevice.patch
Martin Gansser 1b915afdbe Dropped dvbsddevice and rcu plugins
SPEC File cleanup
Dropped patch9  vdr-1.7.29-hlcutter-0.2.3.diff
Dropped patch14 0001-Fix-build-with-systemd-230.patch
Dropped patch19 vdr-2.2.0-menuselection.patch
Dropped Patch20 %{name}-2.3.2-unsignedtosigned.diff
Dropped Patch21 %{name}-gcc7-fix.patch
Add %{name}-2.4.0-01-fix-svdrp-modt-recflag.diff
Add skincurses-log-errors.patch
Add 12_osdbase-maxitems.patch
2018-04-23 18:53:05 +02:00

12 lines
630 B
Diff

--- dvbhddevice/dvbhdffdevice.c.orig 2018-04-17 13:57:26.871268867 +0200
+++ dvbhddevice/dvbhdffdevice.c 2018-04-17 13:58:45.698264299 +0200
@@ -461,7 +461,8 @@
const tTrackId *TrackId = GetTrack(Type);
if (TrackId && TrackId->id) {
int streamType = 0;
- cChannel * channel = Channels.GetByNumber(CurrentChannel());
+ LOCK_CHANNELS_READ;
+ const cChannel * channel = Channels->GetByNumber(CurrentChannel());
if (channel) {
if (IS_AUDIO_TRACK(Type))
streamType = channel->Atype(Type - ttAudioFirst);