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

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


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

input: fix missing force flags (fixes #22002)

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

 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..969c4bcda1 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;
     }
 
+    obj->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