[host] removed namespace sillyness

This commit is contained in:
Geoffrey McRae 2017-11-02 17:45:25 +11:00
parent 23b0dc7c81
commit fc192c0016

View File

@ -17,6 +17,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
#include "NvFBC.h" #include "NvFBC.h"
using namespace Capture;
#include <string> #include <string>
@ -29,9 +30,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#define NVFBC_LIBRARY_NAME "NvFBC.dll" #define NVFBC_LIBRARY_NAME "NvFBC.dll"
#endif #endif
namespace Capture
{
NvFBC::NvFBC() : NvFBC::NvFBC() :
m_initialized(false), m_initialized(false),
m_hDLL(NULL), m_hDLL(NULL),
@ -113,7 +111,6 @@ namespace Capture
params.pDevice = NULL; params.pDevice = NULL;
params.dwAdapterIdx = 0; params.dwAdapterIdx = 0;
if (m_fnCreateEx(&params) != NVFBC_SUCCESS) if (m_fnCreateEx(&params) != NVFBC_SUCCESS)
{ {
DEBUG_ERROR("Failed to create an instance of NvFBC"); DEBUG_ERROR("Failed to create an instance of NvFBC");
@ -265,5 +262,3 @@ namespace Capture
DEBUG_ERROR("Failed to grab frame"); DEBUG_ERROR("Failed to grab frame");
return false; return false;
} }
};