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
3180a620
Commit
3180a620
authored
Mar 11, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vcdx: use ifdef instead of if.
parent
8aa361fc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+4
-4
modules/access/vcdx/intf.h
modules/access/vcdx/intf.h
+1
-1
modules/access/vcdx/vcd.h
modules/access/vcdx/vcd.h
+3
-3
No files found.
modules/access/vcdx/access.c
View file @
3180a620
...
...
@@ -512,7 +512,7 @@ VCDLIDs( access_t * p_access )
vcdinfo_visit_lot
(
p_vcdplayer
->
vcd
,
false
);
#if FIXED
#if
def
FIXED
/*
We need to change libvcdinfo to be more robust when there are
problems reading the extended PSD. Given that area-highlighting and
...
...
@@ -544,7 +544,7 @@ VCDLIDs( access_t * p_access )
TAB_APPEND
(
t
->
i_seekpoint
,
t
->
seekpoint
,
s
);
}
#if DYNAMICALLY_ALLOCATED
#if
def
DYNAMICALLY_ALLOCATED
TAB_APPEND
(
p_vcdplayer
->
i_titles
,
p_vcdplayer
->
p_title
,
t
);
#else
p_vcdplayer
->
p_title
[
p_vcdplayer
->
i_titles
]
=
t
;
...
...
@@ -958,13 +958,13 @@ VCDOpen ( vlc_object_t *p_this )
free
(
p_access
->
psz_demux
);
p_access
->
psz_demux
=
strdup
(
"ps"
);
#if FIXED
#if
def
FIXED
if
(
play_single_item
)
VCDFixupPlayList
(
p_access
,
p_vcd
,
psz_source
,
&
itemid
,
play_single_item
);
#endif
#if FIXED
#if
def
FIXED
p_vcdplayer
->
p_intf
=
intf_Create
(
p_access
,
"vcdx"
);
p_vcdplayer
->
p_intf
->
b_block
=
false
;
#endif
...
...
modules/access/vcdx/intf.h
View file @
3180a620
...
...
@@ -38,7 +38,7 @@ struct intf_sys_t
mtime_t
m_still_time
;
/* Time in microseconds remaining
to wait in still frame.
*/
#if FINISHED
#if
def
FINISHED
vcdplay_ctrl_t
control
;
#else
int
control
;
...
...
modules/access/vcdx/vcd.h
View file @
3180a620
...
...
@@ -31,12 +31,12 @@
*****************************************************************************/
typedef
struct
{
#if FINISHED
#if
def
FINISHED
vcdplay_ptr
vmg
;
#endif
intf_thread_t
*
p_intf
;
#if DEMUX_FINISHED
#if
def
DEMUX_FINISHED
int
i_audio_nb
;
int
i_spu_nb
;
#endif
...
...
@@ -44,7 +44,7 @@ typedef struct
int
i_still_time
;
bool
b_end_of_cell
;
#if FINISHED
#if
def
FINISHED
vcdplay_event_t
event
;
vcdplay_ctrl_t
control
;
vcdplay_highlight_t
hli
;
...
...
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