Merge pull request #124 from jp9000/new-locale-handling

Update to new module locale API
This commit is contained in:
Jim
2014-06-25 12:58:05 -07:00
46 changed files with 210 additions and 208 deletions
+4 -4
View File
@@ -251,9 +251,9 @@ void DShowInput::Update(obs_data_t settings)
/* ------------------------------------------------------------------------- */
static const char *GetDShowInputName(const char *locale)
static const char *GetDShowInputName(void)
{
UNUSED_PARAMETER(locale);
/* TODO: locale */
return "Video Capture Device";
}
@@ -778,9 +778,9 @@ static bool DeviceIntervalChanged(obs_properties_t props, obs_property_t p,
return true;
}
static obs_properties_t GetDShowProperties(const char *locale)
static obs_properties_t GetDShowProperties(void)
{
obs_properties_t ppts = obs_properties_create(locale);
obs_properties_t ppts = obs_properties_create();
PropertiesData *data = new PropertiesData;
obs_properties_set_param(ppts, data, PropertiesDataDestroy);