diff options
author | phelin <phelin> | 2008-02-22 15:50:56 +0000 |
---|---|---|
committer | phelin <phelin> | 2008-02-22 15:50:56 +0000 |
commit | 46605b95abf71a7c863db1976080cdd18df5823a (patch) | |
tree | 88624fe743fbc99af940a9cb0a0f2e0a697a5611 | |
parent | a6d3ddc7e720b72b5285e6fbd3e0c31e5b077720 (diff) | |
download | xineliboutput-46605b95abf71a7c863db1976080cdd18df5823a.tar.gz xineliboutput-46605b95abf71a7c863db1976080cdd18df5823a.tar.bz2 |
Fix the DVD title and chapter information shown on the OSD.
-rw-r--r-- | media_player.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media_player.c b/media_player.c index 2069d9d1..1b6b406c 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.46 2008-02-20 22:23:15 phintuka Exp $ + * $Id: media_player.c,v 1.47 2008-02-22 15:50:56 phelin Exp $ * */ @@ -903,6 +903,7 @@ eOSState cXinelibDvdPlayerControl::ProcessKey(eKeys Key) if (ti && ti[0] && (!m_CurrentDVDTitle || !strstr(m_CurrentDVDTitle, ti))) { memset(m_CurrentDVDTitle, 0, 63); strn0cpy(m_CurrentDVDTitle, ti, 63); + m_Player->Playlist().Current()->Title = cString::sprintf("%s", m_CurrentDVDTitle); MsgReplaying(m_CurrentDVDTitle, NULL); } } |