[vlc-commits] Recognize crf file extension
Felix Paul Kühne
git at videolan.org
Wed Jan 27 21:14:54 CET 2016
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 27 12:12:10 2016 -0800| [4869acae65ff65069cf65bdeb8b39b3e1176528d] | committer: Felix Paul Kühne
Recognize crf file extension
It's just MPEG-TS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4869acae65ff65069cf65bdeb8b39b3e1176528d
---
extras/package/macosx/Info.plist.in | 43 ++++++++++++++++++++++++++++++++---
include/vlc_interface.h | 4 ++--
2 files changed, 42 insertions(+), 5 deletions(-)
diff --git a/extras/package/macosx/Info.plist.in b/extras/package/macosx/Info.plist.in
index 3b3977a..a7d4e78 100644
--- a/extras/package/macosx/Info.plist.in
+++ b/extras/package/macosx/Info.plist.in
@@ -729,6 +729,42 @@
<dict>
<key>CFBundleTypeExtensions</key>
<array>
+ <string>bik</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>movie.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>Bink Video File</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>crf</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>movie.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>CRF Video File</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
+ <string>evo</string>
+ </array>
+ <key>CFBundleTypeIconFile</key>
+ <string>movie.icns</string>
+ <key>CFBundleTypeName</key>
+ <string>EVO Video File</string>
+ <key>CFBundleTypeRole</key>
+ <string>Viewer</string>
+ </dict>
+ <dict>
+ <key>CFBundleTypeExtensions</key>
+ <array>
<string>mov</string>
<string>moov</string>
<string>qt</string>
@@ -979,12 +1015,12 @@
<dict>
<key>CFBundleTypeExtensions</key>
<array>
- <string>3gp</string>
+ <string>m4a</string>
</array>
<key>CFBundleTypeIconFile</key>
- <string>movie.icns</string>
+ <string>m4a.icns</string>
<key>CFBundleTypeName</key>
- <string>3GPP File</string>
+ <string>MPEG-4 Audio File</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
@@ -1639,6 +1675,7 @@
<string>rm</string>
<string>ram</string>
<string>rmvb</string>
+ <string>rpl</string>
</array>
</dict>
</dict>
diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index 14e66aa..45382df 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -154,7 +154,7 @@ typedef enum vlc_dialog {
"oga", "ogg", "oma", "opus", "qcp", "ra", "rmi", "s3m", "sid", "spx", "tak", "thd", "tta", \
"voc", "vqf", "w64", "wav", "wma", "wv", "xa", "xm"
-#define EXTENSIONS_VIDEO_CSV "3g2", "3gp", "3gp2", "3gpp", "amv", "asf", "avi", "bik", "divx", "drc", "dv", \
+#define EXTENSIONS_VIDEO_CSV "3g2", "3gp", "3gp2", "3gpp", "amv", "asf", "avi", "bik", "crf", "divx", "drc", "dv", \
"evo", "f4v", "flv", "gvi", "gxf", "iso", \
"m1v", "m2v", "m2t", "m2ts", "m4v", "mkv", "mov",\
"mp2", "mp2v", "mp4", "mp4v", "mpe", "mpeg", "mpeg1", \
@@ -222,7 +222,7 @@ typedef enum vlc_dialog {
"*.xa;" \
"*.xm"
-#define EXTENSIONS_VIDEO "*.3g2;*.3gp;*.3gp2;*.3gpp;*.amv;*.asf;*.avi;*.bik;*.bin;*.divx;*.drc;*.dv;*.evo;*.f4v;*.flv;*.gvi;*.gxf;*.iso;*.m1v;*.m2v;" \
+#define EXTENSIONS_VIDEO "*.3g2;*.3gp;*.3gp2;*.3gpp;*.amv;*.asf;*.avi;*.bik;*.bin;*.crf;*.divx;*.drc;*.dv;*.evo;*.f4v;*.flv;*.gvi;*.gxf;*.iso;*.m1v;*.m2v;" \
"*.m2t;*.m2ts;*.m4v;*.mkv;*.mov;*.mp2;*.mp2v;*.mp4;*.mp4v;*.mpe;*.mpeg;*.mpeg1;" \
"*.mpeg2;*.mpeg4;*.mpg;*.mpv2;*.mts;*.mtv;*.mxf;*.mxg;*.nsv;*.nuv;" \
"*.ogg;*.ogm;*.ogv;*.ogx;*.ps;" \
More information about the vlc-commits
mailing list