summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-03 16:44:01 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-03 16:44:01 -0500
commit5f33750491674ffffc4dd9065cc6baa3762497f3 (patch)
treec709adb40157725c3d2b81d4ff029d1f4e53cd99 /src
parente9c83ca1603162e32acbe35d2368ebb14814e7e2 (diff)
downloadkmplayer-5f33750491674ffffc4dd9065cc6baa3762497f3.tar.gz
kmplayer-5f33750491674ffffc4dd9065cc6baa3762497f3.zip
Fix deprecation build warnings. The "preferred" function has
been available since at least xine 1.1.1 from 2005-11-15.
Diffstat (limited to 'src')
-rw-r--r--src/xineplayer.cpp4
1 files changed, 2 insertions, 2 deletions
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");