diff options
author | Darrell Anderson <[email protected]> | 2012-11-03 16:44:01 -0500 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-11-04 01:42:18 +0100 |
commit | cedbe3eaaa6d5a182b28557844de1695023c9729 (patch) | |
tree | 943c2eedab59407d58f9e0b2cc863ee9ffa7309e | |
parent | a65e2314710206b6a00d201c0e7a6a446b240421 (diff) | |
download | kmplayer-cedbe3eaaa6d5a182b28557844de1695023c9729.tar.gz kmplayer-cedbe3eaaa6d5a182b28557844de1695023c9729.zip |
Fix deprecation build warnings. The "preferred" function has
been available since at least xine 1.1.1 from 2005-11-15.
(cherry picked from commit 5f33750491674ffffc4dd9065cc6baa3762497f3)
-rw-r--r-- | src/xineplayer.cpp | 4 |
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"); |