Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f14ae4a2
Commit
f14ae4a2
authored
Jan 26, 2004
by
hartman
Browse files
* Remove crud
parent
8f2d732d
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/demux/util/sub.h
View file @
f14ae4a2
...
...
@@ -2,7 +2,7 @@
* sub.h
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
* $Id: sub.h,v 1.1
5
2004/01/26 22:
3
2:5
1
hartman Exp $
* $Id: sub.h,v 1.1
6
2004/01/26 22:
4
2:5
0
hartman Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -49,8 +49,7 @@ typedef struct subtitle_demux_s
int
(
*
pf_open
)
(
struct
subtitle_demux_s
*
p_sub
,
input_thread_t
*
p_input
,
char
*
psz_name
,
mtime_t
i_microsecperframe
,
int
i_track_id
);
mtime_t
i_microsecperframe
);
int
(
*
pf_demux
)(
struct
subtitle_demux_s
*
p_sub
,
mtime_t
i_maxdate
);
int
(
*
pf_seek
)
(
struct
subtitle_demux_s
*
p_sub
,
mtime_t
i_date
);
void
(
*
pf_close
)(
struct
subtitle_demux_s
*
p_sub
);
...
...
src/input/input.c
View file @
f14ae4a2
...
...
@@ -4,7 +4,7 @@
* decoders.
*****************************************************************************
* Copyright (C) 1998-2004 VideoLAN
* $Id: input.c,v 1.28
0
2004/01/26 2
0
:4
8:10 fenrir
Exp $
* $Id: input.c,v 1.28
1
2004/01/26 2
2
:4
2:50 hartman
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -820,7 +820,7 @@ static int InitThread( input_thread_t * p_input )
{
subtitle_demux_t
*
p_sub
;
if
(
(
p_sub
=
subtitle_New
(
p_input
,
strdup
(
val
.
psz_string
),
i_microsecondperframe
,
0
)
)
)
i_microsecondperframe
)
)
)
{
p_sub_toselect
=
p_sub
;
TAB_APPEND
(
p_input
->
p_sys
->
i_sub
,
p_input
->
p_sys
->
sub
,
p_sub
);
...
...
@@ -838,7 +838,7 @@ static int InitThread( input_thread_t * p_input )
for
(
i
=
0
;
*
tmp2
!=
NULL
;
i
++
)
{
if
(
(
p_sub
=
subtitle_New
(
p_input
,
*
tmp2
,
i_microsecondperframe
,
i
)
)
)
i_microsecondperframe
)
)
)
{
TAB_APPEND
(
p_input
->
p_sys
->
i_sub
,
p_input
->
p_sys
->
sub
,
p_sub
);
}
...
...
Write
Preview
Supports
Markdown
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