From 5f33750491674ffffc4dd9065cc6baa3762497f3 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 3 Nov 2012 16:44:01 -0500 Subject: Fix deprecation build warnings. The "preferred" function has been available since at least xine 1.1.1 from 2005-11-15. --- src/xineplayer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xineplayer.cpp b/src/xineplayer.cpp index dfca10e..884b3ed 100644 --- a/src/xineplayer.cpp +++ b/src/xineplayer.cpp @@ -192,8 +192,8 @@ static void event_listener(void * /*user_data*/, const xine_event_t *event) { break; case XINE_EVENT_MRL_REFERENCE: fprintf(stderr, "XINE_EVENT_MRL_REFERENCE %s\n", - ((xine_mrl_reference_data_t*)event->data)->mrl); - TQApplication::postEvent (xineapp, new XineURLEvent (TQString::fromLocal8Bit (((xine_mrl_reference_data_t*)event->data)->mrl))); + ((xine_mrl_reference_data_ext_t*)event->data)->mrl); + TQApplication::postEvent (xineapp, new XineURLEvent (TQString::fromLocal8Bit (((xine_mrl_reference_data_ext_t*)event->data)->mrl))); break; case XINE_EVENT_FRAME_FORMAT_CHANGE: fprintf (stderr, "XINE_EVENT_FRAME_FORMAT_CHANGE\n"); -- cgit v1.2.1