minor fix

This commit is contained in:
shenweip committed 2020-08-01 19:50:23 +08:00
1 parent fd619c9fc5
commit 5de721bb4c
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -106,8 +106,8 @@ AudioFormatTransform g_AudioFormats[] = {
const int g_cVideoFormats = ARRAYSIZE(g_VideoFormats);
const int g_cAudioFormats = ARRAYSIZE(g_AudioFormats);
MediaParam defaultVideoParam = { 640, 480, 0, MFVideoFormat_RGB24 };
MediaParam defaultAudioParam = { 44100, 2, 2, MFAudioFormat_PCM };
MediaParam defaultVideoParam = { 640, 480, 0, MFVideoFormat_RGB24 };
MediaParam defaultAudioParam = { 44100, 2, 16, MFAudioFormat_PCM };
HRESULT GetDefaultStride(IMFMediaType *pType, LONG *plStride);