[matroska] r920 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2004-10-26 16:39:11 +0400 (Tue, 26 Oct 2004)
New Revision: 920

Modified:
   trunk/DvdMenuXtractor/VobParser.cpp
   trunk/DvdMenuXtractor/VobParser.h
   trunk/DvdMenuXtractor/makefile.vc
Log:
remove some unused code

Modified: trunk/DvdMenuXtractor/VobParser.cpp
===================================================================
--- trunk/DvdMenuXtractor/VobParser.cpp	2004-10-26 12:32:19 UTC (rev 919)
+++ trunk/DvdMenuXtractor/VobParser.cpp	2004-10-26 12:39:11 UTC (rev 920)
@@ -749,8 +749,6 @@
 				ble->y2 = m_pci.btnit[i].end_y;
 				cell->btt_list.Append(ble);
 			}
-			
-			SetDemuxer(new DemuxStreamMapper(cell));
         }
     }
 }

Modified: trunk/DvdMenuXtractor/VobParser.h
===================================================================
--- trunk/DvdMenuXtractor/VobParser.h	2004-10-26 12:32:19 UTC (rev 919)
+++ trunk/DvdMenuXtractor/VobParser.h	2004-10-26 12:39:11 UTC (rev 920)
@@ -447,9 +447,6 @@
 
 	uint8_t vobid;
 	uint8_t cellid;
-	bool hasVideo;
-	bool hasAudio;
-	bool hasSubs;
 	ButtonsListType btt_list;
 };
 
@@ -505,36 +502,6 @@
 	CellsInfoHashType CellsHash;
 };
 
-// ----------------------------------------------------------------------------
-
-class DemuxStreamMapper : public Demuxer
-{
-public:
-	DemuxStreamMapper(cell_info_node* cid) : m_cid(cid) {}
-
-	void ProcessVideoStream(uint8_t* buff, uint32_t size, int32_t delay)
-	{
-		m_cid->hasVideo = true;
-	}
-
-	void ProcessAudioStream(uint8_t* buff, uint32_t size, uint8_t streamID, int32_t delay)
-	{
-		m_cid->hasAudio = true;
-	}
-
-	void ProcessAC3Stream(uint8_t* buff, uint32_t size, uint8_t streamID, int32_t delay)
-	{
-		m_cid->hasAudio = true;
-	}
-
-	void ProcessSubStream(uint8_t* buff, uint32_t size, uint8_t streamID, int32_t delay)
-	{
-		m_cid->hasSubs = true;
-	}
-private:
-	cell_info_node* m_cid;
-};
-
 // ============================================================================
 // Main class
 // ============================================================================

Modified: trunk/DvdMenuXtractor/makefile.vc
===================================================================
--- trunk/DvdMenuXtractor/makefile.vc	2004-10-26 12:32:19 UTC (rev 919)
+++ trunk/DvdMenuXtractor/makefile.vc	2004-10-26 12:39:11 UTC (rev 920)
@@ -155,7 +155,7 @@
 build\DvdMenuXtractor_A52Decoder.obj: .\A52Decoder.cpp
 	$(CXX) /c /nologo /TP /Fo$@ $(DVDMENUXTRACTOR_CXXFLAGS) $**
 
-build\DvdMenuXtractor_DvdMenuXtractor.obj: .\DvdMenuXtractor.cpp .\VobParser.h
+build\DvdMenuXtractor_DvdMenuXtractor.obj: .\DvdMenuXtractor.cpp
 	$(CXX) /c /nologo /TP /Fo$@ $(DVDMENUXTRACTOR_CXXFLAGS) $**
 
 build\DvdMenuXtractor_IFOFile.obj: .\IFOFile.cpp
@@ -170,7 +170,7 @@
 build\DvdMenuXtractor_SUBDecoder.obj: .\SUBDecoder.cpp
 	$(CXX) /c /nologo /TP /Fo$@ $(DVDMENUXTRACTOR_CXXFLAGS) $**
 
-build\DvdMenuXtractor_VobParser.obj: .\VobParser.cpp .\VobParser.h
+build\DvdMenuXtractor_VobParser.obj: .\VobParser.cpp
 	$(CXX) /c /nologo /TP /Fo$@ $(DVDMENUXTRACTOR_CXXFLAGS) $**
 
 build\DvdMenuXtractor_base64.obj: .\base64.cpp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.