[vlc-commits] macosx: Add helper to unset rd demux filter

Marvin Scholz git at videolan.org
Wed Jul 12 23:08:40 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Jul 12 23:04:02 2017 +0200| [5ee33d4b2c481eabaea635c08567c52dc6eeff25] | committer: Marvin Scholz

macosx: Add helper to unset rd demux filter

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ee33d4b2c481eabaea635c08567c52dc6eeff25
---

 modules/gui/macosx/VLCRendererMenuController.m | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/gui/macosx/VLCRendererMenuController.m b/modules/gui/macosx/VLCRendererMenuController.m
index dab5b43aff..721514810f 100644
--- a/modules/gui/macosx/VLCRendererMenuController.m
+++ b/modules/gui/macosx/VLCRendererMenuController.m
@@ -180,6 +180,11 @@
     var_SetString(playlist, "sout", "");
 }
 
+- (void)unsetDemuxFilterForPlaylist:(playlist_t*)playlist
+{
+    var_SetString(playlist, "demux-filter", "");
+}
+
 #pragma mark VLCRendererDiscovery delegate methods
 - (void)addedRendererItem:(VLCRendererItem *)item from:(VLCRendererDiscovery *)sender
 {



More information about the vlc-commits mailing list