blob: 2ec7f2ab70b650a0f280164df010ff7c08fea5e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
Index: softdevice-cvs/setup-softdevice.h
===================================================================
--- softdevice-cvs.orig/setup-softdevice.h
+++ softdevice-cvs/setup-softdevice.h
@@ -175,6 +175,8 @@ struct cSetupStore {
setSourceRectangleLocked;
char alsaDevice [ALSA_DEVICE_NAME_LENGTH];
char alsaAC3Device [ALSA_DEVICE_NAME_LENGTH];
+
+ int setupStoreShmid;
};
#define OSDMODE_PSEUDO 0
Index: softdevice-cvs/softdevice.c
===================================================================
--- softdevice-cvs.orig/softdevice.c
+++ softdevice-cvs/softdevice.c
@@ -850,6 +850,7 @@ cPluginSoftDevice::cPluginSoftDevice(voi
ctl=NULL;
};
setupStore->InitSetupStore();
+ setupStore->setupStoreShmid = setupStoreShmId;
#endif
}
Index: softdevice-cvs/video-shm.c
===================================================================
--- softdevice-cvs.orig/video-shm.c
+++ softdevice-cvs/video-shm.c
@@ -91,6 +91,7 @@ cShmVideoOut::cShmVideoOut(cSetupStore *
ctl->pict_shmid=-1;
ctl->osd_shmid=-1;
ctl->attached = 0;
+ ctl->setup_shmid = setupStore->setupStoreShmid;
};
if ( ctl->semid == -1 ) {
|