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
d69e26a8
Commit
d69e26a8
authored
Oct 02, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directory: let's hope that the directory module is slightly less unstable this way.
parent
b1aa0a1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/access/directory.c
modules/access/directory.c
+4
-4
No files found.
modules/access/directory.c
View file @
d69e26a8
...
...
@@ -208,7 +208,6 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
input_thread_t
*
p_input
=
(
input_thread_t
*
)
vlc_object_find
(
p_access
,
VLC_OBJECT_INPUT
,
FIND_PARENT
);
playlist_item_t
*
p_item_in_category
;
input_item_t
*
p_current_input
;
playlist_item_t
*
p_current
;
if
(
!
p_input
)
...
...
@@ -219,8 +218,9 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
return
VLC_ENOOBJ
;
}
p_current_input
=
input_GetItem
(
p_input
);
p_current
=
playlist_ItemGetByInput
(
p_playlist
,
p_current_input
,
pl_Unlocked
);
vlc_mutex_lock
(
&
input_GetItem
(
p_input
)
->
lock
);
p_current
=
playlist_ItemGetByInput
(
p_playlist
,
input_GetItem
(
p_input
),
pl_Unlocked
);
vlc_mutex_unlock
(
&
input_GetItem
(
p_input
)
->
lock
);
if
(
!
p_current
)
{
...
...
@@ -260,7 +260,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
ReadDir
(
p_access
,
p_playlist
,
psz_name
,
i_mode
,
p_item_in_category
,
p_current_input
,
(
DIR
*
)
p_access
->
p_sys
,
NULL
);
p_current
->
p
_input
,
(
DIR
*
)
p_access
->
p_sys
,
NULL
);
var_SetBool
(
p_playlist
,
"intf-change"
,
true
);
playlist_Signal
(
p_playlist
);
...
...
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