Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
b57a963b
Commit
b57a963b
authored
Mar 12, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mozilla: stop playing on page reload and when already playing
parent
37b3b800
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
projects/mozilla/vlcplugin.cpp
projects/mozilla/vlcplugin.cpp
+2
-0
projects/mozilla/vlcplugin.h
projects/mozilla/vlcplugin.h
+2
-0
No files found.
projects/mozilla/vlcplugin.cpp
View file @
b57a963b
...
@@ -495,6 +495,8 @@ VlcPlugin::~VlcPlugin()
...
@@ -495,6 +495,8 @@ VlcPlugin::~VlcPlugin()
if
(
libvlc_media_player
)
if
(
libvlc_media_player
)
{
{
if
(
playlist_isplaying
()
)
playlist_stop
();
events
.
unhook_manager
();
events
.
unhook_manager
();
libvlc_media_player_release
(
libvlc_media_player
);
libvlc_media_player_release
(
libvlc_media_player
);
}
}
...
...
projects/mozilla/vlcplugin.h
View file @
b57a963b
...
@@ -237,6 +237,8 @@ public:
...
@@ -237,6 +237,8 @@ public:
void
playlist_play
()
void
playlist_play
()
{
{
if
(
playlist_isplaying
()
)
playlist_stop
();
if
(
libvlc_media_player
||
playlist_select
(
0
)
)
if
(
libvlc_media_player
||
playlist_select
(
0
)
)
libvlc_media_player_play
(
libvlc_media_player
);
libvlc_media_player_play
(
libvlc_media_player
);
}
}
...
...
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