From f12432159e6064c5219a4bf264b9b7e752e6471b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 17 Oct 2015 13:10:12 +0300 Subject: [PATCH] Move the xine_open call after event queue creation --- source/xinestream.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.45.2