From 088b37ef3c54e32143d16300ad9fa82524e84fc4 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sun, 21 Jun 2020 16:12:51 +0200 Subject: Get rid of some deprecated. given warning: "xine_mrl_reference_data_t XINE_DEPRECATED" Signed-off-by: gregory guy --- src/app/xineEngine.cpp | 2 +- src/part/xineEngine.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/xineEngine.cpp b/src/app/xineEngine.cpp index 295d155..2e113c8 100644 --- a/src/app/xineEngine.cpp +++ b/src/app/xineEngine.cpp @@ -722,7 +722,7 @@ VideoWindow::xineEventListener( void *p, const xine_event_t* xineEvent ) case XINE_EVENT_MRL_REFERENCE: { //FIXME this is not the right way, it will have bugs debug() << "XINE_EVENT_MRL_REFERENCE\n"; - engine->m_url = TQString::fromUtf8( ((xine_mrl_reference_data_t*)xineEvent->data)->mrl ); + engine->m_url = TQString::fromUtf8( ((xine_mrl_reference_data_ext_t*)xineEvent->data)->mrl ); TQTimer::singleShot( 0, engine, SLOT(play()) ); break; } diff --git a/src/part/xineEngine.cpp b/src/part/xineEngine.cpp index 5069e40..ac04c4a 100644 --- a/src/part/xineEngine.cpp +++ b/src/part/xineEngine.cpp @@ -221,7 +221,7 @@ VideoWindow::xineEventListener( void *p, const xine_event_t* xineEvent ) case XINE_EVENT_MRL_REFERENCE: { mxcl::WaitCursor allocateOnStack; - const char *mrl = ((xine_mrl_reference_data_t*)xineEvent->data)->mrl; + const char *mrl = ((xine_mrl_reference_data_ext_t*)xineEvent->data)->mrl; debug() << "XINE_EVENT_MRL_REFERENCE: " << mrl << endl; -- cgit v1.2.1