summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-06-21 16:12:51 +0200
committergregory guy <gregory-tde@laposte.net>2020-06-21 16:12:51 +0200
commit088b37ef3c54e32143d16300ad9fa82524e84fc4 (patch)
tree2323aa133a3defb6e3d9034db4d3249873f1076b
parent0b2288da16894d45e95caf5c0f1f5cba3f17c2dd (diff)
downloadcodeine-088b37ef3c54e32143d16300ad9fa82524e84fc4.tar.gz
codeine-088b37ef3c54e32143d16300ad9fa82524e84fc4.zip
Get rid of some deprecated.
given warning: "xine_mrl_reference_data_t XINE_DEPRECATED" Signed-off-by: gregory guy <gregory-tde@laposte.net>
-rw-r--r--src/app/xineEngine.cpp2
-rw-r--r--src/part/xineEngine.cpp2
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;