Fix various typos across multiple modules

This commit is contained in:
Ryan Foster
2017-04-25 22:39:42 -04:00
parent 786f993317
commit be98cee2a0
35 changed files with 54 additions and 54 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ static void flv_video(struct serializer *s, struct encoder_packet *packet,
s_wb24(s, get_ms_time(packet, offset));
s_write(s, packet->data, packet->size);
/* write tag size (starting byte doesnt count) */
/* write tag size (starting byte doesn't count) */
s_wb32(s, (uint32_t)serializer_get_pos(s) + 4 - 1);
}
@@ -241,7 +241,7 @@ static void flv_audio(struct serializer *s, struct encoder_packet *packet,
s_w8(s, is_header ? 0 : 1);
s_write(s, packet->data, packet->size);
/* write tag size (starting byte doesnt count) */
/* write tag size (starting byte doesn't count) */
s_wb32(s, (uint32_t)serializer_get_pos(s) + 4 - 1);
}
+1 -1
View File
@@ -223,6 +223,6 @@ enum qsv_cpu_platform qsv_get_cpu_platform()
return QSV_CPU_PLATFORM_HSW;
}
//assume newer revisions are at least as capable as haswell
//assume newer revisions are at least as capable as Haswell
return QSV_CPU_PLATFORM_INTEL;
}
+1 -1
View File
@@ -534,7 +534,7 @@ mfxStatus QSV_Encoder_Internal::Encode(uint64_t ts, uint8_t *pDataY,
}
for (;;) {
// Encode a frame asychronously (returns immediately)
// Encode a frame asynchronously (returns immediately)
sts = m_pmfxENC->EncodeFrameAsync(NULL, pSurface,
&m_pTaskPool[nTaskIdx].mfxBS,
&m_pTaskPool[nTaskIdx].syncp);
+1 -1
View File
@@ -351,7 +351,7 @@ mfxStatus simple_lock(mfxHDL pthis, mfxMemId mid, mfxFrameData* ptr)
} else {
pSurface->GetDesc(&desc);
// copy data only in case of user wants o read from stored surface
// copy data only in case of user wants to read from stored surface
if (memId->rw & WILL_READ)
g_pD3D11Ctx->CopySubresourceRegion(pStage, 0, 0, 0, 0, pSurface, 0, NULL);
+1 -1
View File
@@ -22,7 +22,7 @@ Copyright(c) 2011-2014 Intel Corporation. All Rights Reserved.
class IGFXS3DControl;
/** Direct3D 9 device implementation.
@note Can be initilized for only 1 or two 2 views. Handle to
@note Can be initialized for only 1 or two 2 views. Handle to
MFX_HANDLE_GFXS3DCONTROL must be set prior if initializing for 2 views.
@note Device always set D3DPRESENT_PARAMETERS::Windowed to TRUE.
+1 -1
View File
@@ -62,7 +62,7 @@ mfxStatus simple_free(mfxHDL pthis, mfxFrameAllocResponse* response);
void PrintErrString(int err,const char* filestr,int line);
// LoadRawFrame: Reads raw frame from YUV file (YV12) into NV12 surface
// - YV12 is a more common format for for YUV files than NV12 (therefore the conversion during read and write)
// - YV12 is a more common format for YUV files than NV12 (therefore the conversion during read and write)
// - For the simulation case (fSource = NULL), the surface is filled with default image data
// LoadRawRGBFrame: Reads raw RGB32 frames from file into RGB32 surface
// - For the simulation case (fSource = NULL), the surface is filled with default image data
+1 -1
View File
@@ -12,7 +12,7 @@ Copyright(c) 2011-2015 Intel Corporation. All Rights Reserved.
#if defined(WIN32) || defined(WIN64)
//prefast singnature used in combaseapi.h
//prefast signature used in combaseapi.h
#ifndef _PREFAST_
#pragma warning(disable:4068)
#endif
+1 -1
View File
@@ -58,7 +58,7 @@ enum {
}; //mfxHandleType
/** Direct3D 9 device implementation.
@note Can be initilized for only 1 or two 2 views. Handle to
@note Can be initialized for only 1 or two 2 views. Handle to
MFX_HANDLE_GFXS3DCONTROL must be set prior if initializing for 2 views.
@note Device always set D3DPRESENT_PARAMETERS::Windowed to TRUE.
+1 -1
View File
@@ -635,7 +635,7 @@ static void parse_packet(struct obs_qsv *obsqsv, struct encoder_packet *packet,
//int iType = iFrame ? 0 : (bFrame ? 1 : (pFrame ? 2 : -1));
//int64_t interval = obsqsv->params.nbFrames + 1;
// In case MSDK does't support automatic DecodeTimeStamp, do manual
// In case MSDK doesn't support automatic DecodeTimeStamp, do manual
// calculation
if (g_pts2dtsShift >= 0)
{
@@ -142,7 +142,7 @@ static bool d3d8_shmem_init(IDirect3DDevice8 *device)
return false;
}
hlog("d3d8 memory capture successfull");
hlog("d3d8 memory capture successful");
return true;
}
+1 -1
View File
@@ -351,7 +351,7 @@ void WASAPISource::Reconnect()
if (!reconnectThread.Valid())
blog(LOG_WARNING, "[WASAPISource::Reconnect] "
"Failed to intiialize reconnect thread: %lu",
"Failed to initialize reconnect thread: %lu",
GetLastError());
}