Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
186d3093
Commit
186d3093
authored
Jun 21, 2017
by
Erwan Croze
👋🏻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix log on H264Helper.java
parent
735268f8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
java/impl/org/linphone/tools/H264Helper.java
java/impl/org/linphone/tools/H264Helper.java
+3
-3
No files found.
java/impl/org/linphone/tools/H264Helper.java
View file @
186d3093
...
...
@@ -54,7 +54,7 @@ public class H264Helper {
// if android >= 5.0 use MediaCodec
if
(
Build
.
VERSION
.
SDK_INT
>=
Build
.
VERSION_CODES
.
LOLLIPOP_MR1
)
{
Log
.
i
(
"H264Helper"
,
" setH264Mode MODE_AUTO 1 - Mode = "
+
mode
);
Log
.
i
(
"
LinphoneCoreFactoryImpl
"
,
" Openh264 disabled on the project, now using MediaCodec"
);
Log
.
i
(
"
H264Helper
"
,
" Openh264 disabled on the project, now using MediaCodec"
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_OPENH264_DEC
,
false
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_OPENH264_ENC
,
false
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_MEDIA_CODEC_DEC
,
true
);
...
...
@@ -63,14 +63,14 @@ public class H264Helper {
//otherwise use OpenH264
else
{
Log
.
i
(
"H264Helper"
,
" setH264Mode MODE_AUTO 2 - Mode = "
+
mode
);
Log
.
i
(
"
LinphoneCoreFactoryImpl
"
,
" Openh264 enabled on the project"
);
Log
.
i
(
"
H264Helper
"
,
" Openh264 enabled on the project"
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_MEDIA_CODEC_DEC
,
false
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_MEDIA_CODEC_ENC
,
false
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_OPENH264_DEC
,
true
);
linphoneCore
.
getMSFactory
().
enableFilterFromName
(
FILTER_NAME_OPENH264_ENC
,
true
);
}
}
else
{
Log
.
i
(
"
LinphoneCoreFactoryImpl
"
,
" Error: Openh264 mode not reconized !"
);
Log
.
i
(
"
H264Helper
"
,
" Error: Openh264 mode not reconized !"
);
}
Log
.
i
(
"H264Helper"
,
" setH264Mode - Mode = "
+
mode
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment