Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e692b86a
Commit
e692b86a
authored
May 12, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmstu: handle keepalive error case
parent
2cb44954
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+13
-5
No files found.
modules/access/mms/mmstu.c
View file @
e692b86a
...
...
@@ -201,6 +201,11 @@ int MMSTUOpen( access_t *p_access )
/* Keep the connection alive when paused */
p_sys
->
p_keepalive
=
malloc
(
sizeof
(
mmstu_keepalive_t
)
);
if
(
!
p_sys
->
p_keepalive
)
{
MMSTUClose
(
p_access
);
return
VLC_ENOMEM
;
}
p_sys
->
p_keepalive
->
p_access
=
p_access
;
vlc_mutex_init
(
&
p_sys
->
p_keepalive
->
lock
);
vlc_cond_init
(
&
p_sys
->
p_keepalive
->
wait
);
...
...
@@ -305,11 +310,14 @@ static int Control( access_t *p_access, int i_query, va_list args )
else
Seek
(
p_access
,
p_access
->
info
.
i_pos
);
if
(
p_sys
->
p_keepalive
)
{
vlc_mutex_lock
(
&
p_sys
->
p_keepalive
->
lock
);
p_sys
->
p_keepalive
->
b_paused
=
b_bool
;
if
(
b_bool
)
vlc_cond_signal
(
&
p_sys
->
p_keepalive
->
wait
);
vlc_mutex_unlock
(
&
p_sys
->
p_keepalive
->
lock
);
}
break
;
case
ACCESS_GET_TITLE_INFO
:
...
...
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