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
ca235087
Commit
ca235087
authored
Jun 05, 2008
by
Vincent Penquerc'h
Committed by
Rémi Denis-Courmont
Jun 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable display of background bitmaps (eg, picture subtitles)
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
26716258
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
configure.ac
configure.ac
+1
-1
modules/codec/kate.c
modules/codec/kate.c
+2
-2
No files found.
configure.ac
View file @
ca235087
...
...
@@ -3752,7 +3752,7 @@ dnl
AC_ARG_ENABLE(kate,
[ --enable-kate kate codec (default enabled)])
AS_IF([test "${enable_kate}" != "no"], [
PKG_CHECK_MODULES(KATE,[kate >= 0.1.
1
], [
PKG_CHECK_MODULES(KATE,[kate >= 0.1.
2
], [
VLC_ADD_PLUGIN([kate])
VLC_ADD_CFLAGS([kate],[$KATE_CFLAGS])
VLC_ADD_LIBS([kate],[$KATE_LIBS]) ],[
...
...
modules/codec/kate.c
View file @
ca235087
...
...
@@ -39,7 +39,7 @@
/* #define ENABLE_PACKETIZER */
/* #define ENABLE_FORMATTING */
/* #define ENABLE_BITMAPS */
#define ENABLE_BITMAPS
/*****************************************************************************
* decoder_sys_t : decoder descriptor
...
...
@@ -468,7 +468,7 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
p_spu
->
b_pausable
=
true
;
#ifdef ENABLE_BITMAPS
if
(
ev
->
bitmap
&&
ev
->
palette
)
{
if
(
ev
->
bitmap
&&
ev
->
bitmap
->
type
==
kate_bitmap_type_paletted
&&
ev
->
palette
)
{
/* create a separate region for the bitmap */
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
fmt
.
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'P'
);
...
...
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