Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
19f019c7
Commit
19f019c7
authored
Sep 23, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a "Media Files" extension list + i18n
parent
35b15af9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
include/vlc_interface.h
include/vlc_interface.h
+3
-0
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+15
-4
No files found.
include/vlc_interface.h
View file @
19f019c7
...
...
@@ -186,4 +186,7 @@ VLC_EXPORT( void, intf_Destroy, ( intf_thread_t * ) );
#define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.m3u;*.pls;*.vlc;*.xspf"
#define EXTENSIONS_MEDIA EXTENSIONS_VIDEO ";" EXTENSIONS_AUDIO ";" \
EXTENSIONS_PLAYLIST
#define EXTENSIONS_SUBTITLE "*.idx;*.srt;*.sub;*.utf"
modules/gui/qt4/dialogs_provider.cpp
View file @
19f019c7
...
...
@@ -276,13 +276,24 @@ void DialogsProvider::openMLDirectory()
QStringList
DialogsProvider
::
showSimpleOpen
()
{
QString
FileTypes
;
FileTypes
=
"Video Files ( "
;
FileTypes
=
_
(
"Media Files"
);
FileTypes
+=
" ( "
;
FileTypes
+=
EXTENSIONS_MEDIA
;
FileTypes
+=
");;"
;
FileTypes
+=
_
(
"Video Files"
);
FileTypes
+=
" ( "
;
FileTypes
+=
EXTENSIONS_VIDEO
;
FileTypes
+=
");; Sound Files ( "
;
FileTypes
+=
");;"
;
FileTypes
+=
_
(
"Sound Files"
);
FileTypes
+=
" ( "
;
FileTypes
+=
EXTENSIONS_AUDIO
;
FileTypes
+=
");; PlayList Files ( "
;
FileTypes
+=
");;"
;
FileTypes
+=
_
(
"PlayList Files"
);
FileTypes
+=
" ( "
;
FileTypes
+=
EXTENSIONS_PLAYLIST
;
FileTypes
+=
");; All Files (*.*)"
;
FileTypes
+=
");;"
;
FileTypes
+=
_
(
"All Files"
);
FileTypes
+=
" (*.*)"
;
FileTypes
.
replace
(
QString
(
";*"
),
QString
(
" *"
));
return
QFileDialog
::
getOpenFileNames
(
NULL
,
qfu
(
I_POP_SEL_FILES
),
p_intf
->
p_libvlc
->
psz_homedir
,
FileTypes
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment