[vlc-commits] duplicate: restore filter mode

Rémi Denis-Courmont git at videolan.org
Sun Oct 11 16:27:41 CEST 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 11 17:26:57 2020 +0300| [3d3895ccded57c0eee3fe90672ba0fed8d9412fe] | committer: Rémi Denis-Courmont

duplicate: restore filter mode

Regression from 7fc6e51819e060255990b2f5307f5d46efcd6e4c.

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

 modules/stream_out/duplicate.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/stream_out/duplicate.c b/modules/stream_out/duplicate.c
index 313d1da939..730f46bc85 100644
--- a/modules/stream_out/duplicate.c
+++ b/modules/stream_out/duplicate.c
@@ -46,6 +46,10 @@ vlc_module_begin ()
     set_category( CAT_SOUT )
     set_subcategory( SUBCAT_SOUT_STREAM )
     set_callbacks( Open, Close )
+    add_submodule()
+    set_capability("sout filter", 0)
+    add_shortcut("duplicate", "dup")
+    set_callbacks(Open, Close)
 vlc_module_end ()
 
 



More information about the vlc-commits mailing list