From: Mikko Rasa Date: Sat, 17 Oct 2015 10:10:12 +0000 (+0300) Subject: Move the xine_open call after event queue creation X-Git-Url: http://git.tdb.fi/?p=xinema.git;a=commitdiff_plain;h=f12432159e6064c5219a4bf264b9b7e752e6471b Move the xine_open call after event queue creation --- diff --git a/source/xinestream.cpp b/source/xinestream.cpp index 49ed80c..1d7433e 100644 --- a/source/xinestream.cpp +++ b/source/xinestream.cpp @@ -13,9 +13,8 @@ XineStream::XineStream(XineEngine &e, const string &mrl): channels_changed(false) { stream = xine_stream_new(engine.get_engine(), engine.get_audio_driver(), engine.get_video_driver()); - xine_open(stream, mrl.c_str()); - queue = xine_event_new_queue(stream); + xine_open(stream, mrl.c_str()); update_channels(); update_info();