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
f9d72915
Commit
f9d72915
authored
Aug 10, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: disable recycling for the time being
parent
b6455039
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/audio_output/dec.c
src/audio_output/dec.c
+6
-2
No files found.
src/audio_output/dec.c
View file @
f9d72915
...
@@ -81,7 +81,7 @@ int aout_DecNew( audio_output_t *p_aout,
...
@@ -81,7 +81,7 @@ int aout_DecNew( audio_output_t *p_aout,
}
}
aout_owner_t
*
owner
=
aout_owner
(
p_aout
);
aout_owner_t
*
owner
=
aout_owner
(
p_aout
);
#ifdef RECYCLE
/* Calling decoder is responsible for serializing aout_DecNew() and
/* Calling decoder is responsible for serializing aout_DecNew() and
* aout_DecDelete(). So no need to lock to _read_ those properties. */
* aout_DecDelete(). So no need to lock to _read_ those properties. */
if
(
owner
->
module
!=
NULL
)
/* <- output exists */
if
(
owner
->
module
!=
NULL
)
/* <- output exists */
...
@@ -96,7 +96,7 @@ int aout_DecNew( audio_output_t *p_aout,
...
@@ -96,7 +96,7 @@ int aout_DecNew( audio_output_t *p_aout,
/* No recycling: delete everything and restart from scratch */
/* No recycling: delete everything and restart from scratch */
aout_Shutdown
(
p_aout
);
aout_Shutdown
(
p_aout
);
}
}
#endif
int
ret
=
-
1
;
int
ret
=
-
1
;
/* TODO: reduce lock scope depending on decoder's real need */
/* TODO: reduce lock scope depending on decoder's real need */
...
@@ -177,7 +177,11 @@ void aout_DecDelete (audio_output_t *aout)
...
@@ -177,7 +177,11 @@ void aout_DecDelete (audio_output_t *aout)
aout_owner_t
*
owner
=
aout_owner
(
aout
);
aout_owner_t
*
owner
=
aout_owner
(
aout
);
assert
(
owner
->
module
!=
NULL
);
assert
(
owner
->
module
!=
NULL
);
#ifdef RECYCLE
(
void
)
owner
;
(
void
)
owner
;
#else
aout_Shutdown
(
aout
);
#endif
}
}
#define AOUT_RESTART_OUTPUT 1
#define AOUT_RESTART_OUTPUT 1
...
...
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