Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-Android
Commits
cfa7ca76
Commit
cfa7ca76
authored
Jul 10, 2014
by
Edward Wang
Browse files
VideoPlayerActivity: cosmetic touches
parent
871993a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
cfa7ca76
...
...
@@ -1876,7 +1876,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
try
{
mLocation
=
URLDecoder
.
decode
(
mLocation
,
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
e
.
printStackTrace
(
);
Log
.
w
(
TAG
,
"UnsupportedEncodingException while decoding MRL "
+
mLocation
);
}
}
}
else
{
...
...
@@ -1901,11 +1901,11 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
mSurface
.
setKeepScreenOn
(
true
);
if
(
mLibVLC
==
null
)
if
(
mLibVLC
==
null
)
return
;
/* WARNING: hack to avoid a crash in mediacodec on KitKat.
* Disable
the
hardware acceleration the media has a ts extension. */
* Disable hardware acceleration
if
the media has a ts extension. */
if
(
mLocation
!=
null
&&
LibVlcUtil
.
isKitKatOrLater
())
{
String
locationLC
=
mLocation
.
toLowerCase
(
Locale
.
ENGLISH
);
if
(
locationLC
.
endsWith
(
".ts"
)
...
...
Write
Preview
Supports
Markdown
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