[matroska] r992 - trunk/DvdMenuXtractor

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-01-01 20:16:24 +0300 (Sat, 01 Jan 2005)
New Revision: 992

Modified:
   trunk/DvdMenuXtractor/DvdMenuXtractor.cfg
   trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
   trunk/DvdMenuXtractor/IFOFile.cpp
Log:
DMX: more verbose about still cells

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cfg
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cfg	2004-12-29 20:42:15 UTC (rev 991)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cfg	2005-01-01 17:16:24 UTC (rev 992)
@@ -1,5 +1,4 @@
 [Input]
-MenuIFOFilename=H:\\MATRIX\\VIDEO_TS\\Matrix.ifo
-MenuVOBFilename=H:\\MATRIX\\VIDEO_TS\\VTS_02_0.VOB
-MovieIFOFilename=
-OutputDirectory=H:\\MATRIX\\VIDEO_TS\\out\\
+OutputDirectory=T:\\test\\placebo\\out2\\
+InputDirectory=T:\\test\\placebo\\
+MtxDirectory=D:\\Perso\\Programmes\\Matroska\\mkvmerge\\mkvtoolnix-head\\

Modified: trunk/DvdMenuXtractor/DvdMenuXtractor.cpp
===================================================================
--- trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2004-12-29 20:42:15 UTC (rev 991)
+++ trunk/DvdMenuXtractor/DvdMenuXtractor.cpp	2005-01-01 17:16:24 UTC (rev 992)
@@ -73,7 +73,7 @@
 wxString outputDirectory;
 wxString mtxDirectory;
 const wxString APPLICATION_NAME = "DVDMenuXtractor: DMX - a fair-use tool";
-const wxString APPLICATION_VERSION = "0.6.1";
+const wxString APPLICATION_VERSION = "0.6.2";
 
 // ----------------------------------------------------------------------------
 

Modified: trunk/DvdMenuXtractor/IFOFile.cpp
===================================================================
--- trunk/DvdMenuXtractor/IFOFile.cpp	2004-12-29 20:42:15 UTC (rev 991)
+++ trunk/DvdMenuXtractor/IFOFile.cpp	2005-01-01 17:16:24 UTC (rev 992)
@@ -237,8 +237,12 @@
 				cle->isStill = (srp.pgc->cell_playback[k].still_time > 0);
 				if (cle->isStill)
 				{
-// _todo_ Still should be optional 
-					cle->frame_dur = srp.pgc->cell_playback[k].still_time * 1000.0 / cle->nb_frames;
+					if (srp.pgc->cell_playback[k].still_time == 0xFF)
+						myfprintf(stderr, "Cell %d.%d with infinite duration !", vob_id, cell_id);
+					else {
+						myfprintf(stdout, "Cell %d.%d is still, %d s", srp.pgc->cell_playback[k].still_time);
+						cle->frame_dur = srp.pgc->cell_playback[k].still_time * 1000.0 / cle->nb_frames;
+					}
 				}
 				cle->first_sector = srp.pgc->cell_playback[k].first_sector;
 			}
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.