[vlc-commits] input: add .mts%d extra file recognition pattern

Alexandre Janniaux git at videolan.org
Fri Jun 29 13:58:20 CEST 2018


vlc | branch: master | Alexandre Janniaux <alexandre.janniaux at gmail.com> | Wed Jun 27 15:22:28 2018 +0200| [44b17440047cdbc0bb895c47238d1eb0945b3247] | committer: Thomas Guillem

input: add .mts%d extra file recognition pattern

Some set top boxes are recording videos with first a .mts then .mts$ID
filenames. Bind the pattern to concat access module.

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 src/input/input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/input.c b/src/input/input.c
index 802d486682..c904c2e00b 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -3051,6 +3051,7 @@ static void InputGetExtraFiles( input_thread_t *p_input,
         { NULL, ".part01.rar","%s.part%.2d.rar", 2, 99, },
         { NULL, ".part001.rar", "%s.part%.3d.rar", 2, 999 },
         { NULL, ".rar", "%s.r%.2d", 0, 99 },
+        { "concat", ".mts", "%s.mts%d", 1, 999 },
     };
 
     TAB_INIT( *pi_list, *pppsz_list );



More information about the vlc-commits mailing list