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

Alexandre Janniaux git at videolan.org
Fri Jun 29 14:03:10 CEST 2018


vlc/vlc-3.0 | branch: master | Alexandre Janniaux <alexandre.janniaux at gmail.com> | Wed Jun 27 15:22:28 2018 +0200| [c0ad9d38b82b9e09ebc56e8d36e56e4a3cd00b4a] | committer: Jean-Baptiste Kempf

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>
(cherry picked from commit 44b17440047cdbc0bb895c47238d1eb0945b3247)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/src/input/input.c b/src/input/input.c
index a0f542cee2..9814a0b95d 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -3170,6 +3170,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