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
41f75f96
Commit
41f75f96
authored
Oct 21, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Turn #if DVBDEBUG into #ifdef DVBDEBUG
parent
073c529c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/codec/dvbsub.c
modules/codec/dvbsub.c
+4
-4
No files found.
modules/codec/dvbsub.c
View file @
41f75f96
...
...
@@ -1571,7 +1571,7 @@ static subpicture_t *YuvaYuvp( encoder_t *p_enc, subpicture_t *p_subpic )
+
p_region
->
picture
.
p
[
0
].
i_pitch
*
1
/
3
;
int
i_tolerance
=
0
;
#if DEBUG_DVBSUB
#if
def
DEBUG_DVBSUB
msg_Dbg
(
p_enc
,
"YuvaYuvp: i_pixels=%d, i_iterator=%d"
,
i_pixels
,
i_iterator
);
#endif
p_fmt
->
i_chroma
=
VLC_FOURCC
(
'Y'
,
'U'
,
'V'
,
'P'
);
...
...
@@ -1648,7 +1648,7 @@ static subpicture_t *YuvaYuvp( encoder_t *p_enc, subpicture_t *p_subpic )
}
}
#if DEBUG_DVBSUB
#if
def
DEBUG_DVBSUB
msg_Dbg
(
p_enc
,
"best palette has %d colors"
,
p_fmt
->
p_palette
->
i_entries
);
#endif
...
...
@@ -1742,7 +1742,7 @@ static subpicture_t *YuvaYuvp( encoder_t *p_enc, subpicture_t *p_subpic )
p_fmt
->
p_palette
->
palette
[
i
][
3
]
=
0
;
}
p_fmt
->
p_palette
->
i_entries
=
i_max_entries
;
#if DEBUG_DVBSUB
#if
def
DEBUG_DVBSUB
msg_Dbg
(
p_enc
,
"best palette has %d colors"
,
p_fmt
->
p_palette
->
i_entries
);
#endif
}
...
...
@@ -1799,7 +1799,7 @@ static block_t *Encode( encoder_t *p_enc, subpicture_t *p_subpic )
}
/* End of hack */
#if DEBUG_DVBSUB
#if
def
DEBUG_DVBSUB
msg_Dbg
(
p_enc
,
"encoding subpicture"
);
#endif
p_block
=
block_New
(
p_enc
,
64000
);
...
...
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