[vlc-devel] [PATCH 15/16] chromecast: cleaner release of the device on exit
Steve Lhomme
robux4 at videolabs.io
Thu Apr 28 14:20:59 CEST 2016
---
modules/stream_out/chromecast/chromecast_ctrl.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index 632fa67..4a1d6d4 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -127,9 +127,12 @@ intf_sys_t::~intf_sys_t()
// Generate the close messages.
msgReceiverClose(appTransportId);
// ft
+ case CHROMECAST_TLS_CONNECTED:
case CHROMECAST_AUTHENTICATED:
msgReceiverClose(DEFAULT_CHOMECAST_RECEIVER);
// ft
+ case CHROMECAST_DISCONNECTED:
+ case CHROMECAST_CONNECTION_DEAD:
default:
break;
}
--
2.7.0
More information about the vlc-devel
mailing list