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

Alexandre Janniaux alexandre.janniaux at gmail.com
Wed Jun 27 15:22:28 CEST 2018


Some set top boxes are recording videos with first a .mts then .mts$ID
filenames. Bind the pattern to concat access module.
---
 src/input/input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/input.c b/src/input/input.c
index a4136838dd..860c4c04d4 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -3039,6 +3039,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 );
-- 
2.18.0



More information about the vlc-devel mailing list