* [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-live/files: vdr-1.7.27-compatibility.patch
@ 2012-04-02 20:30 Christian Ruppert (idl0r)
0 siblings, 0 replies; only message in thread
From: Christian Ruppert (idl0r) @ 2012-04-02 20:30 UTC (permalink / raw
To: gentoo-commits
idl0r 12/04/02 20:30:50
Added: vdr-1.7.27-compatibility.patch
Log:
Add vdr >=1.7.27 compatibility patch
(Portage version: 2.2.0_alpha98/cvs/Linux x86_64)
Revision Changes Path
1.1 media-plugins/vdr-live/files/vdr-1.7.27-compatibility.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/files/vdr-1.7.27-compatibility.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/vdr-live/files/vdr-1.7.27-compatibility.patch?rev=1.1&content-type=text/plain
Index: vdr-1.7.27-compatibility.patch
===================================================================
commit 94a0a210a485ce1fc95c47a6bc67c4c16c89a0f9
Author: Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>
Date: Sun Mar 25 16:42:12 2012 +0200
Updated LIVE to latest changes in vdr 1.7.27
- Do not use the direct access to cRecoding members any more.
diff --git a/epg_events.cpp b/epg_events.cpp
index a514769..cd4996e 100644
--- a/epg_events.cpp
+++ b/epg_events.cpp
@@ -182,12 +182,20 @@ namespace vdrlive
time_t EpgRecording::GetStartTime() const
{
+#if VDRVERSNUM < 10726
return m_recording ? m_recording->start : 0;
+#else
+ return m_recording ? m_recording->Start() : 0;
+#endif
}
time_t EpgRecording::GetEndTime() const
{
+#if VDRVERSNUM < 10726
return m_recording ? m_recording->start : 0;
+#else
+ return m_recording ? m_recording->Start() : 0;
+#endif
}
const string EpgRecording::Name() const
diff --git a/recman.cpp b/recman.cpp
index fb315d2..6a2fc00 100644
--- a/recman.cpp
+++ b/recman.cpp
@@ -383,7 +383,11 @@ namespace vdrlive {
time_t RecordingsItemRec::StartTime() const
{
+#if VDRVERSNUM < 10726
return m_recording->start;
+#else
+ return m_recording->Start();
+#endif
}
long RecordingsItemRec::Duration() const
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-04-02 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 20:30 [gentoo-commits] gentoo-x86 commit in media-plugins/vdr-live/files: vdr-1.7.27-compatibility.patch Christian Ruppert (idl0r)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox