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
09ed6d81
Commit
09ed6d81
authored
Sep 02, 2005
by
Benjamin Pracht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Don't try to release NULL
* Fixes the "vlc would crash when hitting play" bug
parent
731c3c84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/video_output/video_widgets.c
src/video_output/video_widgets.c
+4
-1
No files found.
src/video_output/video_widgets.c
View file @
09ed6d81
...
@@ -40,6 +40,7 @@ void vout_OSDSlider( vlc_object_t *p_caller, int i_channel, int i_position,
...
@@ -40,6 +40,7 @@ void vout_OSDSlider( vlc_object_t *p_caller, int i_channel, int i_position,
{
{
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_caller
,
VLC_OBJECT_VOUT
,
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_caller
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
FIND_ANYWHERE
);
if
(
p_vout
&&
(
config_GetInt
(
p_caller
,
"osd"
)
||
(
i_position
>=
0
)
)
)
if
(
p_vout
&&
(
config_GetInt
(
p_caller
,
"osd"
)
||
(
i_position
>=
0
)
)
)
{
{
osd_Slider
(
p_caller
,
p_vout
->
p_spu
,
p_vout
->
render
.
i_width
,
osd_Slider
(
p_caller
,
p_vout
->
p_spu
,
p_vout
->
render
.
i_width
,
...
@@ -56,10 +57,12 @@ void vout_OSDIcon( vlc_object_t *p_caller, int i_channel, short i_type )
...
@@ -56,10 +57,12 @@ void vout_OSDIcon( vlc_object_t *p_caller, int i_channel, short i_type )
{
{
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_caller
,
VLC_OBJECT_VOUT
,
vout_thread_t
*
p_vout
=
vlc_object_find
(
p_caller
,
VLC_OBJECT_VOUT
,
FIND_ANYWHERE
);
FIND_ANYWHERE
);
if
(
!
p_vout
)
return
;
if
(
p_vout
&&
config_GetInt
(
p_caller
,
"osd"
)
)
if
(
p_vout
&&
config_GetInt
(
p_caller
,
"osd"
)
)
{
{
osd_Icon
(
p_caller
,
p_vout
->
p_spu
,
p_vout
->
render
.
i_width
,
osd_Icon
(
p_caller
,
p_vout
->
p_spu
,
p_vout
->
render
.
i_width
,
p_vout
->
render
.
i_height
,
i_channel
,
i_type
);
p_vout
->
render
.
i_height
,
i_channel
,
i_type
);
}
}
vlc_object_release
(
p_vout
);
}
}
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