aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordteirney <dteirney@svn>2009-10-31 00:45:51 +0000
committerdteirney <dteirney@svn>2009-10-31 00:45:51 +0000
commit9dd9a1b948e5cca6c1fd8331a383cce0bc3cd7f8 (patch)
tree1ff3c1c0351b15892c813b9853e27c34337ef765
parent1d1692c4415ac4a7a91db7b2695df8bda11acecd (diff)
Added: public method to get the location of the MPlayer EDL file.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@24147 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/cores/dvdplayer/Edl.cpp5
-rw-r--r--xbmc/cores/dvdplayer/Edl.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/cores/dvdplayer/Edl.cpp b/xbmc/cores/dvdplayer/Edl.cpp
index 268d4505e8..364485341f 100644
--- a/xbmc/cores/dvdplayer/Edl.cpp
+++ b/xbmc/cores/dvdplayer/Edl.cpp
@@ -561,6 +561,11 @@ bool CEdl::WriteMPlayerEdl()
return true;
}
+CStdString GetMPlayerEdl()
+{
+ return MPLAYER_EDL_FILENAME;
+}
+
bool CEdl::HasCut()
{
return !m_vecCuts.empty();
diff --git a/xbmc/cores/dvdplayer/Edl.h b/xbmc/cores/dvdplayer/Edl.h
index 18f052e4f2..f0409cf9e2 100644
--- a/xbmc/cores/dvdplayer/Edl.h
+++ b/xbmc/cores/dvdplayer/Edl.h
@@ -64,6 +64,8 @@ public:
bool GetNextSceneMarker(bool bPlus, const int64_t iClock, int64_t *iSceneMarker);
+ CStdString GetMPlayerEdl();
+
static CStdString MillisecondsToTimeString(const int64_t iMilliseconds);
protected: