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
e5aac02e
Commit
e5aac02e
authored
Apr 24, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Libass: set more debug messages.
parent
6907b236
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/codec/libass.c
modules/codec/libass.c
+6
-1
No files found.
modules/codec/libass.c
View file @
e5aac02e
/*****************************************************************************
/*****************************************************************************
* SSA/ASS subtitle decoder using libass.
* SSA/ASS subtitle decoder using libass.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2008 the VideoLAN team
* Copyright (C) 2008
-2009
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Laurent Aimar <fenrir@videolan.org>
* Authors: Laurent Aimar <fenrir@videolan.org>
...
@@ -617,6 +617,7 @@ static void RegionDraw( subpicture_region_t *p_region, ass_image_t *p_img )
...
@@ -617,6 +617,7 @@ static void RegionDraw( subpicture_region_t *p_region, ass_image_t *p_img )
static
void
SubpictureReleaseRegions
(
spu_t
*
p_spu
,
subpicture_t
*
p_subpic
)
static
void
SubpictureReleaseRegions
(
spu_t
*
p_spu
,
subpicture_t
*
p_subpic
)
{
{
VLC_UNUSED
(
p_spu
);
subpicture_region_ChainDelete
(
p_subpic
->
p_region
);
subpicture_region_ChainDelete
(
p_subpic
->
p_region
);
p_subpic
->
p_region
=
NULL
;
p_subpic
->
p_region
=
NULL
;
}
}
...
@@ -685,6 +686,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
...
@@ -685,6 +686,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
char
*
psz_font_dir
=
NULL
;
char
*
psz_font_dir
=
NULL
;
#if defined(WIN32)
#if defined(WIN32)
/* This makes Windows build of VLC hang */
const
UINT
uPath
=
GetSystemWindowsDirectoryW
(
NULL
,
0
);
const
UINT
uPath
=
GetSystemWindowsDirectoryW
(
NULL
,
0
);
if
(
uPath
>
0
)
if
(
uPath
>
0
)
{
{
...
@@ -709,6 +711,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
...
@@ -709,6 +711,7 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
if
(
!
psz_font_dir
)
if
(
!
psz_font_dir
)
goto
error
;
goto
error
;
msg_Dbg
(
p_dec
,
"Setting libass fontdir: %s"
,
psz_font_dir
);
ass_set_fonts_dir
(
p_library
,
psz_font_dir
);
ass_set_fonts_dir
(
p_library
,
psz_font_dir
);
free
(
psz_font_dir
);
free
(
psz_font_dir
);
...
@@ -751,6 +754,8 @@ error:
...
@@ -751,6 +754,8 @@ error:
if
(
p_library
)
if
(
p_library
)
ass_library_done
(
p_library
);
ass_library_done
(
p_library
);
msg_Warn
(
p_dec
,
"Libass creation failed"
);
free
(
p_ass
);
free
(
p_ass
);
vlc_mutex_unlock
(
&
libass_lock
);
vlc_mutex_unlock
(
&
libass_lock
);
return
NULL
;
return
NULL
;
...
...
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