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
1548a691
Commit
1548a691
authored
Mar 22, 2006
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/video_output/caca.c: Compilation fixes.
parent
20edd952
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
modules/video_output/caca.c
modules/video_output/caca.c
+9
-16
No files found.
modules/video_output/caca.c
View file @
1548a691
...
...
@@ -149,7 +149,7 @@ static int Create( vlc_object_t *p_this )
}
#ifdef CACA_API_VERSION_1
p_vout
->
p_sys
->
p_qq
=
cucul_init
();
p_vout
->
p_sys
->
p_qq
=
cucul_init
(
0
,
0
);
if
(
!
p_vout
->
p_sys
->
p_qq
)
{
msg_Err
(
p_vout
,
"cannot initialize libcucul"
);
...
...
@@ -210,22 +210,15 @@ static int Init( vout_thread_t *p_vout )
/* Create the libcaca bitmap */
p_vout
->
p_sys
->
p_bitmap
=
#ifdef CACA_API_VERSION_1
cucul_create_bitmap
(
p_vout
->
p_sys
->
p_qq
,
32
,
p_vout
->
output
.
i_width
,
p_vout
->
output
.
i_height
,
4
*
((
p_vout
->
output
.
i_width
+
15
)
&
~
15
),
p_vout
->
output
.
i_rmask
,
p_vout
->
output
.
i_gmask
,
p_vout
->
output
.
i_bmask
,
0x00000000
);
cucul_create_bitmap
#else
caca_create_bitmap
(
32
,
p_vout
->
output
.
i_width
,
p_vout
->
output
.
i_height
,
4
*
((
p_vout
->
output
.
i_width
+
15
)
&
~
15
),
p_vout
->
output
.
i_rmask
,
p_vout
->
output
.
i_gmask
,
p_vout
->
output
.
i_bmask
,
0x00000000
);
caca_create_bitmap
#endif
(
32
,
p_vout
->
output
.
i_width
,
p_vout
->
output
.
i_height
,
4
*
((
p_vout
->
output
.
i_width
+
15
)
&
~
15
),
p_vout
->
output
.
i_rmask
,
p_vout
->
output
.
i_gmask
,
p_vout
->
output
.
i_bmask
,
0x00000000
);
if
(
!
p_vout
->
p_sys
->
p_bitmap
)
{
msg_Err
(
p_vout
,
"could not create libcaca bitmap"
);
...
...
@@ -271,7 +264,7 @@ static int Init( vout_thread_t *p_vout )
static
void
End
(
vout_thread_t
*
p_vout
)
{
#ifdef CACA_API_VERSION_1
cucul_free_bitmap
(
p_vout
->
p_sys
->
p_
qq
,
p_vout
->
p_sys
->
p_
bitmap
);
cucul_free_bitmap
(
p_vout
->
p_sys
->
p_bitmap
);
#else
caca_free_bitmap
(
p_vout
->
p_sys
->
p_bitmap
);
#endif
...
...
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