[vlc-commits] input: InputGetExtraFiles: handle rar splits

Filip Roséen git at videolan.org
Mon May 29 11:52:40 CEST 2017


vlc | branch: master | Filip Roséen <filip at atch.se> | Thu May 25 21:58:05 2017 +0200| [e6f85aeaa734aeace475ad6a5ca4cb1351a6652b] | committer: Jean-Baptiste Kempf

input: InputGetExtraFiles: handle rar splits

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/src/input/input.c b/src/input/input.c
index a634f2e4ff..7aa81b4c00 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2902,6 +2902,10 @@ static void InputGetExtraFiles( input_thread_t *p_input,
     } patterns[] = {
         /* XXX the order is important */
         { "concat", ".001", "%s.%.3d", 2, 999 },
+        { NULL, ".part1.rar","%s.part%.1d.rar", 2, 9 },
+        { 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 },
     };
 
     TAB_INIT( *pi_list, *pppsz_list );



More information about the vlc-commits mailing list