Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
fae5455b
Commit
fae5455b
authored
Mar 04, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cases were p_md was not checked in Mozilla toolbar code.
parent
adc068db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
projects/mozilla/vlcshell.cpp
projects/mozilla/vlcshell.cpp
+4
-3
No files found.
projects/mozilla/vlcshell.cpp
View file @
fae5455b
...
...
@@ -820,7 +820,7 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
libvlc_exception_clear
(
&
ex
);
f_length
=
(
float
)
f_length
*
(
((
float
)
i_xPos
-
4
)
/
(
((
float
)
i_width
-
8
)
/
100
)
);
(
((
float
)
i_xPos
-
4
)
/
(
((
float
)
i_width
-
8
)
/
100
)
);
libvlc_exception_init
(
&
ex
);
libvlc_media_instance_set_time
(
p_md
,
f_length
,
&
ex
);
...
...
@@ -860,7 +860,7 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
i_playing
=
libvlc_playlist_isplaying
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_exception_clear
(
&
ex
);
if
(
i_playing
==
1
)
if
(
(
i_playing
==
1
)
&&
p_md
)
{
libvlc_exception_init
(
&
ex
);
libvlc_set_fullscreen
(
p_md
,
1
,
&
ex
);
...
...
@@ -875,7 +875,8 @@ static void ControlHandler( Widget w, XtPointer closure, XEvent *event )
libvlc_audio_toggle_mute
(
p_plugin
->
getVLC
(),
&
ex
);
libvlc_exception_clear
(
&
ex
);
}
libvlc_media_instance_release
(
p_md
);
if
(
p_md
)
libvlc_media_instance_release
(
p_md
);
}
Redraw
(
w
,
closure
,
event
);
}
...
...
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