User`s manual
Reference Manual 111
format->hdr.bmiHeader.biWidth,
format->hdr.bmiHeader.biHeight,
long(format->hdr.AvgTimePerFrame),
format->hdr.dwBitRate);
OutputDebugString(szDebugInfo);
break;
}
case MPEG4:
case H263:
case MOTIONJPEG:
{
if ( pmt->formattype != FORMAT_VideoInfo )
goto next_stream_caps;
VIDEOINFOHEADER* format =
(VIDEOINFOHEADER*)pmt->pbFormat;
if ( format->bmiHeader.biWidth !=
(int)video_config->rescfg.width ) goto
next_stream_caps;
if ( format->bmiHeader.biHeight !=
(int)video_config->rescfg.height ) goto
next_stream_caps;
if ( video_config->strcfg.compress_mode ==
MPEG4 )
{
switch ( video_config-
>strcfg.mpeg4_mode )
{
case DIVX_MPEG4:
if ( format-
>bmiHeader.biCompression !=
FCC_FORMAT_DIVX_MPEG4)
goto next_stream_caps;
break;