Commit 48ab02e4 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

demux/adaptive: FakeEsOut: use mem-initializer-list in constructor

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 89293e91
......@@ -32,10 +32,14 @@
using namespace adaptive;
FakeESOut::FakeESOut( es_out_t *es, CommandsQueue *queue )
: real_es_out( es )
, extrainfo( NULL )
, commandsqueue( queue )
, fakeesout( new es_out_t )
, timestamps_offset( 0 )
, timestamps_expected( 0 )
, timestamps_check_done( false )
{
real_es_out = es;
fakeesout = new es_out_t;
fakeesout->pf_add = esOutAdd_Callback;
fakeesout->pf_control = esOutControl_Callback;
fakeesout->pf_del = esOutDel_Callback;
......@@ -43,12 +47,6 @@ FakeESOut::FakeESOut( es_out_t *es, CommandsQueue *queue )
fakeesout->pf_send = esOutSend_Callback;
fakeesout->p_sys = (es_out_sys_t*) this;
commandsqueue = queue;
timestamps_offset = 0;
timestamps_expected = 0;
timestamps_check_done = false;
extrainfo = NULL;
vlc_mutex_init(&lock);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment