[matroska] r768 - trunk/DvdMenuXtractor
| Newsgroups | gmane.comp.multimedia.matroska.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: robux4
Date: 2004-09-09 00:43:04 +0400 (Thu, 09 Sep 2004)
New Revision: 768
Modified:
trunk/DvdMenuXtractor/IFOFile.cpp
trunk/DvdMenuXtractor/IFOFile.h
Log:
support for Language Unit
Modified: trunk/DvdMenuXtractor/IFOFile.cpp
===================================================================
--- trunk/DvdMenuXtractor/IFOFile.cpp 2004-09-08 20:30:35 UTC (rev 767)
+++ trunk/DvdMenuXtractor/IFOFile.cpp 2004-09-08 20:43:04 UTC (rev 768)
@@ -104,6 +104,16 @@
// ----------------------------------------------------------------------------
+const pgci_ut_t *IFOFile::LanguageUnits()
+{
+ if (m_ifo)
+ return m_ifo->pgci_ut;
+ else
+ return NULL;
+}
+
+// ----------------------------------------------------------------------------
+
// declare a hash map with int keys and CellListElem* values
WX_DECLARE_HASH_MAP( int, CellListElem*, wxIntegerHash, wxIntegerEqual, CellsHashType );
#define MAKE_CELLS_KEY(__cell_elem__) ((__cell_elem__->vobid << 8) | __cell_elem__->cellid)
Modified: trunk/DvdMenuXtractor/IFOFile.h
===================================================================
--- trunk/DvdMenuXtractor/IFOFile.h 2004-09-08 20:30:35 UTC (rev 767)
+++ trunk/DvdMenuXtractor/IFOFile.h 2004-09-08 20:43:04 UTC (rev 768)
@@ -44,6 +44,7 @@
bool IsACandidateCell(const unsigned int vobid, const unsigned int cellid);
virtual ~IFOFile();
const pgc_t *FirstPlayPGC();
+ const pgci_ut_t *LanguageUnits();
private:
ifo_handle_t* m_ifo;