summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-softdevice/files/rc-addon.sh')
-rw-r--r--media-plugins/vdr-softdevice/files/rc-addon.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/media-plugins/vdr-softdevice/files/rc-addon.sh b/media-plugins/vdr-softdevice/files/rc-addon.sh
index b0646e4f71d0..ede3fa313f07 100644
--- a/media-plugins/vdr-softdevice/files/rc-addon.sh
+++ b/media-plugins/vdr-softdevice/files/rc-addon.sh
@@ -9,6 +9,12 @@ plugin_pre_vdr_start() {
fi
}
+plugin_pre_vdr_stop() {
+ if [[ ${SOFTDEVICE_VIDEO_OUT} == "shm" ]]; then
+ killall ShmClient
+ fi
+}
+
# for compatibility
if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
plugin_pre_vdr_start