Changeset 67 for trunk/Utilities
- Timestamp:
- May 25, 2012, 1:31:49 PM (12 years ago)
- Location:
- trunk/Utilities/WindowsMediaCodecList
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/WindowsMediaCodecList/MainDialog.h
r66 r67 483 483 const CMediaType& pMediaType = reinterpret_cast<const CMediaType&>(m_pCodecFormatData->m_pMediaType); 484 484 //sText.AppendFormat(_T(" ...\r\n"), pMediaType->majortype); 485 sText.AppendFormat(_T(" subtype: %ls\r\n"), _PersistHelper::StringFromIdentifier(pMediaType->subtype)); 485 if(memcmp(&pMediaType->subtype.Data2, &MEDIASUBTYPE_MJPG.Data2, sizeof (GUID) - offsetof(GUID, Data2)) == 0) 486 sText.AppendFormat(_T(" subtype: %ls (%s)\r\n"), _PersistHelper::StringFromIdentifier(pMediaType->subtype), _FilterGraphHelper::GetFourccCodeString(pMediaType->subtype.Data1)); 487 else 488 sText.AppendFormat(_T(" subtype: %ls\r\n"), _PersistHelper::StringFromIdentifier(pMediaType->subtype)); 486 489 sText.AppendFormat(_T(" bFixedSizeSamples: %s\r\n"), _StringHelper::FormatNumber((LONG) pMediaType->bFixedSizeSamples)); 487 490 sText.AppendFormat(_T(" bTemporalCompression: %s\r\n"), _StringHelper::FormatNumber((LONG) pMediaType->bTemporalCompression)); 488 491 sText.AppendFormat(_T(" lSampleSize: %s\r\n"), _StringHelper::FormatNumber((LONG) pMediaType->lSampleSize)); 489 sText.AppendFormat(_T(" formattype: %ls\r\n"), _PersistHelper::StringFromIdentifier(pMediaType->formattype)); 492 #pragma region Format 493 static const struct 494 { 495 GUID formattype; 496 LPCTSTR pszTitle; 497 } g_pMap[] = 498 { 499 { FORMAT_VideoInfo, _T("FORMAT_VideoInfo") }, 500 { FORMAT_VideoInfo2, _T("FORMAT_VideoInfo2") }, 501 { FORMAT_MPEG2_VIDEO, _T("FORMAT_MPEG2_VIDEO") }, 502 { FORMAT_WaveFormatEx, _T("FORMAT_WaveFormatEx") }, 503 }; 504 BOOL bFound = FALSE; 505 for(SIZE_T nIndex = 0; nIndex < DIM(g_pMap); nIndex++) 506 if(pMediaType->formattype == g_pMap[nIndex].formattype) 507 { 508 sText.AppendFormat(_T(" formattype: %ls (%s)\r\n"), _PersistHelper::StringFromIdentifier(pMediaType->formattype), g_pMap[nIndex].pszTitle); 509 bFound = TRUE; 510 break; 511 } 512 if(!bFound) 513 sText.AppendFormat(_T(" formattype: %ls\r\n"), _PersistHelper::StringFromIdentifier(pMediaType->formattype)); 514 #pragma endregion 490 515 sText.AppendFormat(_T(" cbFormat: %s\r\n"), _StringHelper::FormatNumber((LONG) pMediaType->cbFormat)); 491 516 if(pMediaType->formattype == FORMAT_VideoInfo) -
trunk/Utilities/WindowsMediaCodecList/WindowsMediaCodecList.rc
r66 r67 122 122 123 123 VS_VERSION_INFO VERSIONINFO 124 FILEVERSION 1, 0, 0, 195124 FILEVERSION 1, 0, 0, 205 125 125 PRODUCTVERSION 1,0,0,1 126 126 FILEFLAGSMASK 0x3fL … … 141 141 VALUE "Created By", "Roman Ryltsov <roman@alax.info>" 142 142 VALUE "FileDescription", "Windows Media Codec List Utility" 143 VALUE "FileVersion", "1, 0, 0, 195\0"143 VALUE "FileVersion", "1, 0, 0, 205\0" 144 144 VALUE "InternalName", "WindowsMediaCodecList" 145 145 VALUE "LegalCopyright", "Copyright © Alax.Info, Roman Ryltsov, 2009-2012"
Note: See TracChangeset
for help on using the changeset viewer.