Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
4714362c
Commit
4714362c
authored
Oct 12, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo filter: fail early if the logo hasn't been specified (rather than segfaulting)
parent
17ed8b54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/video_filter/logo.c
modules/video_filter/logo.c
+8
-8
No files found.
modules/video_filter/logo.c
View file @
4714362c
...
...
@@ -322,13 +322,6 @@ static int Create( vlc_object_t *p_this )
return
VLC_ENOMEM
;
}
p_vout
->
pf_init
=
Init
;
p_vout
->
pf_end
=
End
;
p_vout
->
pf_manage
=
NULL
;
p_vout
->
pf_render
=
Render
;
p_vout
->
pf_display
=
NULL
;
p_vout
->
pf_control
=
Control
;
config_ChainParse
(
p_vout
,
CFG_PREFIX
,
ppsz_filter_options
,
p_vout
->
p_cfg
);
...
...
@@ -337,9 +330,16 @@ static int Create( vlc_object_t *p_this )
if
(
!
p_logo_list
->
psz_filename
||
!*
p_logo_list
->
psz_filename
)
{
msg_Err
(
p_vout
,
"logo file not specified"
);
return
0
;
return
VLC_EGENERIC
;
}
p_vout
->
pf_init
=
Init
;
p_vout
->
pf_end
=
End
;
p_vout
->
pf_manage
=
NULL
;
p_vout
->
pf_render
=
Render
;
p_vout
->
pf_display
=
NULL
;
p_vout
->
pf_control
=
Control
;
p_sys
->
pos
=
var_CreateGetIntegerCommand
(
p_vout
,
"logo-position"
);
p_sys
->
posx
=
var_CreateGetIntegerCommand
(
p_vout
,
"logo-x"
);
p_sys
->
posy
=
var_CreateGetIntegerCommand
(
p_vout
,
"logo-y"
);
...
...
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