From e70ef78ecdcec088a27ae3b721e9af016966b436 Mon Sep 17 00:00:00 2001
From: Antoine Cellerier <dionoea@videolan.org>
Date: Sun, 15 Apr 2007 20:46:28 +0000
Subject: [PATCH]  * Switch b_strict to true in module_Need calls (we're
 requiring a specific module)  * Add missing space in help string.

---
 src/libvlc-module.c                 | 2 +-
 src/video_output/video_output.c     | 3 ++-
 src/video_output/vout_subpictures.c | 5 +++--
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 4a1dd3ee0d55..e28c3c4414f6 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -896,7 +896,7 @@ static const char *ppsz_clock_descriptions[] =
     "for example if you associated VLC with some media types and you " \
     "don't want a new instance of VLC to be opened each time you " \
     "open a file in your file manager. This option will allow you " \
-    "to play the file with the already running instance or enqueue it." \
+    "to play the file with the already running instance or enqueue it. " \
     "This option require the D-Bus session daemon to be active " \
     "and the running instance of VLC to use D-Bus control interface.")
 
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index ed3fe443b898..cdb156d91599 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -975,7 +975,8 @@ static void RunThread( vout_thread_t *p_vout)
 
                 p_vfilter->p_cfg = p_vout->p_vfilters_cfg[i];
                 p_vfilter->p_module = module_Need( p_vfilter, "video filter2",
-                                                 p_vout->psz_vfilters[i], 0 );
+                                                   p_vout->psz_vfilters[i],
+                                                   VLC_TRUE );
 
                 if( p_vfilter->p_module )
                 {
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index 89eb203867d2..02d0e06efd46 100644
--- a/src/video_output/vout_subpictures.c
+++ b/src/video_output/vout_subpictures.c
@@ -140,7 +140,7 @@ int spu_ParseChain( spu_t *p_spu )
         p_spu->pp_filter[p_spu->i_filter]->p_cfg = p_cfg;
         p_spu->pp_filter[p_spu->i_filter]->p_module =
             module_Need( p_spu->pp_filter[p_spu->i_filter],
-                         "sub filter", psz_name, 0 );
+                         "sub filter", psz_name, VLC_TRUE );
         if( p_spu->pp_filter[p_spu->i_filter]->p_module )
         {
             filter_owner_sys_t *p_sys = malloc( sizeof(filter_owner_sys_t) );
@@ -551,7 +551,8 @@ void spu_RenderSubpictures( spu_t *p_spu, video_format_t *p_fmt,
             if( psz_modulename && *psz_modulename )
             {
                 p_spu->p_text->p_module =
-                    module_Need( p_spu->p_text, "text renderer", psz_modulename, VLC_TRUE );
+                    module_Need( p_spu->p_text, "text renderer",
+                                 psz_modulename, VLC_TRUE );
             }
             if( !p_spu->p_text->p_module )
             {
-- 
GitLab