[vlc-devel] commit: demux_PacketizerNew: missing object attachment ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Feb 13 10:50:33 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 13 11:50:19 2010 +0200| [a7516f027d7d55c86d3e63bafc1013bef80761d7] | committer: Rémi Denis-Courmont 

demux_PacketizerNew: missing object attachment

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

 src/input/demux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/input/demux.c b/src/input/demux.c
index 41441f9..981799f 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -326,6 +326,7 @@ decoder_t *demux_PacketizerNew( demux_t *p_demux, es_format_t *p_fmt, const char
     p_packetizer->fmt_in = *p_fmt;
     es_format_Init( &p_packetizer->fmt_out, UNKNOWN_ES, 0 );
 
+    vlc_object_attach( p_packetizer, p_demux );
     p_packetizer->p_module = module_need( p_packetizer, "packetizer", NULL, false );
     if( !p_packetizer->p_module )
     {




More information about the vlc-devel mailing list