[vlc-commits] ts: define pf_calls at the end of Open
Ilkka Ollakka
git at videolan.org
Sat Nov 16 16:10:03 CET 2013
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Thu Nov 14 18:41:16 2013 +0200| [200dc6518f29c4783d3740dc1071096341a7597e] | committer: Ilkka Ollakka
ts: define pf_calls at the end of Open
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=200dc6518f29c4783d3740dc1071096341a7597e
---
modules/mux/mpeg/ts.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index d514f5c..49ae2fc 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -516,11 +516,6 @@ static int Open( vlc_object_t *p_this )
return VLC_ENOMEM;
p_sys->i_num_pmt = 1;
- p_mux->pf_control = Control;
- p_mux->pf_addstream = AddStream;
- p_mux->pf_delstream = DelStream;
- p_mux->pf_mux = Mux;
- p_mux->p_sys = p_sys;
#if (DVBPSI_VERSION_INT >= DVBPSI_VERSION_WANTED(1,0,0))
p_sys->p_dvbpsi = dvbpsi_new( &dvbpsi_messages, DVBPSI_MSG_DEBUG );
@@ -729,6 +724,12 @@ static int Open( vlc_object_t *p_this )
p_sys->csa = csaSetup(p_this);
+ p_mux->pf_control = Control;
+ p_mux->pf_addstream = AddStream;
+ p_mux->pf_delstream = DelStream;
+ p_mux->pf_mux = Mux;
+ p_mux->p_sys = p_sys;
+
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list