Get rid of some deprecated.

given warning: "xine_mrl_reference_data_t XINE_DEPRECATED"

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/1/head
gregory guy 4 years ago
parent 0b2288da16
commit 088b37ef3c
No known key found for this signature in database
GPG Key ID: 3BCCA0F7AB4536F4

@ -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;
}

@ -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;

Loading…
Cancel
Save