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
7072cbe0
Commit
7072cbe0
authored
Apr 18, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/visualization/visual/visual.c: more sanity checks for fail over situations.
parent
179f99f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
modules/visualization/visual/visual.c
modules/visualization/visual/visual.c
+11
-4
No files found.
modules/visualization/visual/visual.c
View file @
7072cbe0
...
...
@@ -202,16 +202,17 @@ static int Open( vlc_object_t *p_this )
msg_Err
(
p_filter
,
"Unable to parse effect list. Aborting"
);
break
;
}
p_effect
->
psz_args
=
strndup
(
psz_parser
,
psz_eoa
-
psz_parser
);
p_effect
->
psz_args
=
strndup
(
psz_parser
,
psz_eoa
-
psz_parser
);
}
TAB_APPEND
(
p_sys
->
i_effect
,
p_sys
->
effect
,
p_effect
);
}
else
{
msg_Err
(
p_filter
,
"unknown visual effect"
);
msg_Err
(
p_filter
,
"unknown visual effect: %s"
,
psz_parser
);
free
(
p_effect
);
}
TAB_APPEND
(
p_sys
->
i_effect
,
p_sys
->
effect
,
p_effect
);
if
(
strchr
(
psz_parser
,
','
)
)
{
psz_parser
=
strchr
(
psz_parser
,
','
)
+
1
;
...
...
@@ -231,6 +232,12 @@ static int Open( vlc_object_t *p_this )
free
(
psz_effects
);
}
if
(
!
p_sys
->
i_effect
)
{
msg_Err
(
p_filter
,
"no effects found"
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
/* Open the video output */
p_sys
->
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