[SCM] kodi-pvr-vdr-vnsi/master: VNSIRecording: catch VNSI_CHANNELSTREAM_CLOSE errors
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Fri Nov 4 00:20:25 UTC 2016
The following commit has been merged in the master branch:
commit 7c499d520e50ac4a2349143e3b617a9bef958624
Author: Max Kellermann <max at duempel.org>
Date: Mon Jul 4 14:56:34 2016 +0200
VNSIRecording: catch VNSI_CHANNELSTREAM_CLOSE errors
diff --git a/src/VNSIRecording.cpp b/src/VNSIRecording.cpp
index 1dc2f20..d6d6c93 100644
--- a/src/VNSIRecording.cpp
+++ b/src/VNSIRecording.cpp
@@ -73,9 +73,13 @@ void cVNSIRecording::Close()
{
if(IsOpen())
{
- cRequestPacket vrp;
- vrp.init(VNSI_RECSTREAM_CLOSE);
- ReadSuccess(&vrp);
+ try {
+ cRequestPacket vrp;
+ vrp.init(VNSI_RECSTREAM_CLOSE);
+ ReadSuccess(&vrp);
+ } catch (std::exception e) {
+ XBMC->Log(LOG_ERROR, "%s - %s", __FUNCTION__, e.what());
+ }
}
cVNSISession::Close();
--
kodi-pvr-vdr-vnsi packaging
More information about the pkg-multimedia-commits
mailing list