Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
00a6dd82
Commit
00a6dd82
authored
Feb 17, 2015
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused lock/notify
CID #1270649, #1270650, #1270651, #1270652
parent
a51125f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
...d/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+0
-16
No files found.
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
00a6dd82
...
...
@@ -1969,11 +1969,6 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
if
(
mLibVLC
!=
null
)
{
final
Surface
newSurface
=
holder
.
getSurface
();
if
(
mSurface
!=
newSurface
)
{
if
(
mSurface
!=
null
)
{
synchronized
(
mSurface
)
{
mSurface
.
notifyAll
();
}
}
mSurface
=
newSurface
;
Log
.
d
(
TAG
,
"surfaceChanged: "
+
mSurface
);
mLibVLC
.
attachSurface
(
mSurface
,
VideoPlayerActivity
.
this
);
...
...
@@ -1989,9 +1984,6 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
public
void
surfaceDestroyed
(
SurfaceHolder
holder
)
{
Log
.
d
(
TAG
,
"surfaceDestroyed"
);
if
(
mLibVLC
!=
null
)
{
synchronized
(
mSurface
)
{
mSurface
.
notifyAll
();
}
mSurface
=
null
;
mLibVLC
.
detachSurface
();
}
...
...
@@ -2004,11 +1996,6 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
if
(
mLibVLC
!=
null
)
{
final
Surface
newSurface
=
holder
.
getSurface
();
if
(
mSubtitleSurface
!=
newSurface
)
{
if
(
mSubtitleSurface
!=
null
)
{
synchronized
(
mSubtitleSurface
)
{
mSubtitleSurface
.
notifyAll
();
}
}
mSubtitleSurface
=
newSurface
;
mLibVLC
.
attachSubtitlesSurface
(
mSubtitleSurface
);
}
...
...
@@ -2022,9 +2009,6 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
@Override
public
void
surfaceDestroyed
(
SurfaceHolder
holder
)
{
if
(
mLibVLC
!=
null
)
{
synchronized
(
mSubtitleSurface
)
{
mSubtitleSurface
.
notifyAll
();
}
mSubtitleSurface
=
null
;
mLibVLC
.
detachSubtitlesSurface
();
}
...
...
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