[vlc-commits] input: fix missing force flags (fixes #22002)

Rémi Denis-Courmont git at videolan.org
Tue Mar 5 17:16:45 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  5 18:15:23 2019 +0200| [a6d1f82ced568f6ea917f7a8434b1376a3152651] | committer: Rémi Denis-Courmont

input: fix missing force flags (fixes #22002)

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

 src/input/demux.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/input/demux.c b/src/input/demux.c
index c3689c65bc..8c199941ff 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -175,10 +175,11 @@ static int demux_Probe(void *func, bool forced, va_list ap)
         return VLC_EGENERIC;
     }
 
+    demux->obj.force = forced;
+
     int ret = probe(VLC_OBJECT(demux));
     if (ret)
         vlc_objres_clear(VLC_OBJECT(demux));
-    (void) forced;
     return ret;
 }
 



More information about the vlc-commits mailing list