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
f90f0553
Commit
f90f0553
authored
Feb 11, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup input stats when sout fails
parent
61f1c0ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/input/input.c
src/input/input.c
+4
-1
No files found.
src/input/input.c
View file @
f90f0553
...
@@ -1142,7 +1142,7 @@ static int Init( input_thread_t * p_input )
...
@@ -1142,7 +1142,7 @@ static int Init( input_thread_t * p_input )
#ifdef ENABLE_SOUT
#ifdef ENABLE_SOUT
ret
=
InitSout
(
p_input
);
ret
=
InitSout
(
p_input
);
if
(
ret
!=
VLC_SUCCESS
)
if
(
ret
!=
VLC_SUCCESS
)
return
ret
;
/* FIXME: goto error; should be better here */
goto
error_stats
;
#endif
#endif
/* Create es out */
/* Create es out */
...
@@ -1240,6 +1240,9 @@ error:
...
@@ -1240,6 +1240,9 @@ error:
input_ressource_SetInput
(
p_input
->
p
->
p_ressource
,
NULL
);
input_ressource_SetInput
(
p_input
->
p
->
p_ressource
,
NULL
);
}
}
#ifdef ENABLE_SOUT
error_stats:
#endif
if
(
!
p_input
->
b_preparsing
&&
libvlc_stats
(
p_input
)
)
if
(
!
p_input
->
b_preparsing
&&
libvlc_stats
(
p_input
)
)
{
{
#define EXIT_COUNTER( c ) do { if( p_input->p->counters.p_##c ) \
#define EXIT_COUNTER( c ) do { if( p_input->p->counters.p_##c ) \
...
...
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