[Matroska-devel] New Build of MPC with internal splitters disabledby default ?
Liisachan at faireal.net
Mon Nov 1 12:04:03 CET 2004
Did you check MPC 126.96.36.199 cvs versions that can correctly
open newer MKV muxed by mkvmerge 0.9.5+?
MPC that can play newer MKV by itself is a lot better
than using old MPC with disabled old internal filter.
BTW, altho I know I'm talking about what I shouldnt do,
if you really wanted to do so,
the Matroska Pack (installer) could disable MPC's internal
MatroskaSplitter forcefully in this hackish way:
LPCTSTR lpszKeyMPCSettings = "Software\\Gabest\\Media PlayerClassic\\Settings";
LPCTSTR lpszValueName = "SrcFilters";
HKEY hKeyMPCSettings = NULL;
KEY_ALL_ACCESS, &hKeyMPCSettings );
// Read the Current Settings for SrcFIlters
dwCurrentData = MAKEWPARAM( MAKEWORD( bytes[ 0 ], bytes[ 1 ]
), MAKEWORD( bytes[ 2 ], bytes[ 3 ] ) );
// Alter the data to disable MatroskaSplitter
dwNewData = ( dwCurrentData & 0xFFFFFFBF );
bytes[ 0 ] = LOBYTE( LOWORD( dwNewData ) );
bytes[ 1 ] = HIBYTE( LOWORD( dwNewData ) );
bytes[ 2 ] = LOBYTE( HIWORD( dwNewData ) );
bytes[ 3 ] = HIBYTE( HIWORD( dwNewData ) );
// Write that hacked data without asking the user :P
RegSetValueEx( hKeyMPCSettings, lpszValueName, 0, REG_DWORD,
bytes, 4 );
RegCloseKey( hKeyMPCSettings );
I know this is noobish, bad, too violent way to do things,
so please dont get angry...^^;
Christian HJ Wiesner <chris at matroska.org> wrote:
> Alexander Noe' wrote:
> > Christian HJ Wiesner wrote:
> >> Hi guys, lo Gabest,
> >> is it possible to build MPC so that the internal splitters are
> >> disabled by default, or only used if no primary DShow parser is found
> >> ? We get more and more complaints of MPC users who cant open MKV
> >> files using the new INT 64 block duration elements.
> > Then they should fix their files, no?
> > Alex
> No. These files are 100% perfectly spec compliant, and if MPC 's
> internal parser cant support them, it has to be updated or disabled.
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
More information about the Matroska-devel