Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
56c32065
Commit
56c32065
authored
Sep 20, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return values for spu_Create() and spu_Init().
parent
072bd8fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+2
-4
src/video_output/vout_subpictures.c
src/video_output/vout_subpictures.c
+2
-2
No files found.
modules/stream_out/transcode.c
View file @
56c32065
...
...
@@ -2857,8 +2857,7 @@ static int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_t *id )
if
(
!
p_sys
->
p_spu
)
{
p_sys
->
p_spu
=
spu_Create
(
p_stream
);
if
(
spu_Init
(
p_sys
->
p_spu
)
!=
VLC_SUCCESS
)
msg_Err
(
p_sys
,
"spu initialisation failed"
);
spu_Init
(
p_sys
->
p_spu
);
}
return
VLC_SUCCESS
;
...
...
@@ -2902,8 +2901,7 @@ static int transcode_osd_process( sout_stream_t *p_stream,
if
(
!
p_sys
->
p_spu
)
{
p_sys
->
p_spu
=
spu_Create
(
p_stream
);
if
(
spu_Init
(
p_sys
->
p_spu
)
!=
VLC_SUCCESS
)
msg_Err
(
p_stream
,
"spu initialisation failed"
);
spu_Init
(
p_sys
->
p_spu
);
}
}
...
...
src/video_output/vout_subpictures.c
View file @
56c32065
...
...
@@ -114,7 +114,7 @@ int spu_Init( spu_t *p_spu )
spu_ParseChain
(
p_spu
);
return
VLC_
EGENERIC
;
return
VLC_
SUCCESS
;
}
int
spu_ParseChain
(
spu_t
*
p_spu
)
...
...
@@ -167,7 +167,7 @@ int spu_ParseChain( spu_t *p_spu )
}
if
(
val
.
psz_string
)
free
(
val
.
psz_string
);
return
VLC_
EGENERIC
;
return
VLC_
SUCCESS
;
}
/**
...
...
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