Hi,
I fixed the problem of subpicture rendering by addding
these lines of code in MPEG2DecFilter.cpp
const AMOVIESETUP_MEDIATYPE
sudPinTypesSubPictureIn[] =
{
{&MEDIATYPE_DVD_ENCRYPTED_PACK,
&MEDIASUBTYPE_DVD_SUBPICTURE},
{&MEDIATYPE_MPEG2_PACK,
&MEDIASUBTYPE_DVD_SUBPICTURE},
{&MEDIATYPE_MPEG2_PES,
&MEDIASUBTYPE_DVD_SUBPICTURE}
};
// Input and output pin properties
const AMOVIESETUP_PIN sudpPins[] = {
{L"", FALSE, FALSE, FALSE, FALSE, &CLSID_NULL,
NULL, countof(sudPinTypesIn), sudPinTypesIn},
{L"", FALSE, FALSE, FALSE, FALSE, &CLSID_NULL,
NULL, countof(sudPinTypesSubPictureIn),
sudPinTypesSubPictureIn},
{L"", FALSE, TRUE, FALSE, FALSE, &CLSID_NULL, NULL,
countof(sudPinTypesOut), sudPinTypesOut}
};
but now the problem is when i am playing a DVD a i want
to fast rewind the dvd picture gets stopped but it works
fine with fast forward. some one please help me.
regards
Wasim
Logged In: YES
user_id=944049
Hallo,
I don't work on GplMpgDec at the moment. Hope to have
more time in a few months. Anybody else wants to help
maintaining the decoder?