Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d028a7a0
Commit
d028a7a0
authored
Oct 21, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Qt] Win32: correctly open VIDEO_TS folders from open directory
parent
0474537c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/gui/qt4/dialogs_provider.cpp
modules/gui/qt4/dialogs_provider.cpp
+8
-5
No files found.
modules/gui/qt4/dialogs_provider.cpp
View file @
d028a7a0
...
...
@@ -423,11 +423,14 @@ static void openDirectory( intf_thread_t *p_intf, bool pl, bool go )
if
(
!
dir
.
isEmpty
()
)
{
msg_Dbg
(
p_intf
,
"Directory opening: %s"
,
qtu
(
dir
)
);
input_item_t
*
p_input
=
input_item_NewExt
(
THEPL
,
qtu
(
dir
.
endsWith
(
"VIDEO_TS"
,
Qt
::
CaseInsensitive
)
?
"dvd://"
:
"directory://"
+
toNativeSeparators
(
dir
)
),
QString
dir2
;
if
(
dir
.
endsWith
(
"VIDEO_TS"
,
Qt
::
CaseInsensitive
)
)
dir2
=
"dvd://"
+
dir
;
else
dir2
=
"directory://"
+
dir
;
msg_Dbg
(
p_intf
,
"Directory opening: %s"
,
qtu
(
dir2
)
);
input_item_t
*
p_input
=
input_item_NewExt
(
THEPL
,
qtu
(
dir2
),
NULL
,
0
,
NULL
,
-
1
);
/* FIXME: playlist_AddInput() can fail */
...
...
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