Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-plugins
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-plugins
Commits
27e01fd8
Commit
27e01fd8
authored
3 years ago
by
Aline Gondim Santos
Browse files
Options
Downloads
Patches
Plain Diff
WaterMark: fix filter init if locale does not use . as decimal
Change-Id: I26ddc4ba70a3d7c882a52ab6d5770bf09a26adb4
parent
adba0af0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
WaterMark/WatermarkVideoSubscriber.cpp
+2
-0
2 additions, 0 deletions
WaterMark/WatermarkVideoSubscriber.cpp
with
2 additions
and
0 deletions
WaterMark/WatermarkVideoSubscriber.cpp
+
2
−
0
View file @
27e01fd8
...
...
@@ -43,6 +43,8 @@ WatermarkVideoSubscriber::WatermarkVideoSubscriber(const std::string& dataPath,
if
(
std
::
setlocale
(
LC_TIME
,
std
::
locale
(
""
).
name
().
c_str
())
==
NULL
)
{
Plog
::
log
(
Plog
::
LogPriority
::
INFO
,
TAG
,
"error while setting locale"
);
}
std
::
setlocale
(
LC_NUMERIC
,
"C"
);
fontFile_
=
dataPath
+
sep
+
"Muli-Light.ttf"
;
#ifdef WIN32
for
(
int
i
=
fontFile_
.
size
();
i
>
0
;
i
--
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment