[vlc-commits] decoder: flush aout at end
Rémi Denis-Courmont
git at videolan.org
Wed Aug 10 21:31:15 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 10 22:31:00 2011 +0300| [fd60cd251576a85cf4e86d82ec05a321cad6d485] | committer: Rémi Denis-Courmont
decoder: flush aout at end
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd60cd251576a85cf4e86d82ec05a321cad6d485
---
src/input/decoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index e478294..c193d63 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -2116,6 +2116,8 @@ static void DeleteDecoder( decoder_t * p_dec )
/* Cleanup */
if( p_owner->p_aout )
{
+ /* TODO: REVISIT gap-less audio */
+ aout_DecFlush( p_owner->p_aout );
aout_DecDelete( p_owner->p_aout );
input_resource_RequestAout( p_owner->p_resource, p_owner->p_aout );
if( p_owner->p_input != NULL )
More information about the vlc-commits
mailing list