[vlc-commits] commit: Attached aout to its parent in aout_New(). (Laurent Aimar )

git at videolan.org git at videolan.org
Tue May 25 22:39:39 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue May 25 22:38:48 2010 +0200| [5e1e150cc50494f679ddcd9ad8534bf2177a1fd7] | committer: Laurent Aimar 

Attached aout to its parent in aout_New().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5e1e150cc50494f679ddcd9ad8534bf2177a1fd7
---

 src/audio_output/common.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/audio_output/common.c b/src/audio_output/common.c
index 5d5da1e..e3c7d94 100644
--- a/src/audio_output/common.c
+++ b/src/audio_output/common.c
@@ -102,6 +102,8 @@ aout_instance_t * __aout_New( vlc_object_t * p_parent )
 
     vlc_object_set_destructor( p_aout, aout_Destructor );
 
+    vlc_object_attach( p_aout, p_parent );
+
     return p_aout;
 }
 



More information about the vlc-commits mailing list