Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
856f945d
Commit
856f945d
authored
Jan 06, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Something about microdvd fps and a huge bug in its defaults.
parent
25cd1327
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/demux/util/sub.c
modules/demux/util/sub.c
+3
-4
No files found.
modules/demux/util/sub.c
View file @
856f945d
...
...
@@ -2,7 +2,7 @@
* sub.c
*****************************************************************************
* Copyright (C) 1999-2003 VideoLAN
* $Id: sub.c,v 1.
39 2003/11/27 04:11:40 fenrir
Exp $
* $Id: sub.c,v 1.
40 2004/01/06 14:35:16 hartman
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -72,7 +72,7 @@ vlc_module_begin();
set_description
(
_
(
"Text subtitles demux"
)
);
set_capability
(
"subtitle demux"
,
12
);
add_category_hint
(
"Subtitles"
,
NULL
,
VLC_TRUE
);
add_float
(
"sub-fps"
,
0
.
0
,
NULL
,
add_float
(
"sub-fps"
,
25
.
0
,
NULL
,
"Frames per second"
,
SUB_FPS_LONGTEXT
,
VLC_TRUE
);
add_integer
(
"sub-delay"
,
0
,
NULL
,
...
...
@@ -297,10 +297,9 @@ static int sub_open ( subtitle_demux_t *p_sub,
var_Get
(
p_sub
,
"sub-fps"
,
&
val
);
if
(
val
.
i_int
>=
1
.
0
)
{
var_Get
(
p_sub
,
"sub-fps"
,
&
val
);
i_microsecperframe
=
(
mtime_t
)(
(
float
)
1000000
/
val
.
f_float
);
}
else
if
(
i_microsecperframe
<=
0
)
else
if
(
val
.
f_float
<=
0
)
{
i_microsecperframe
=
40000
;
/* default: 25fps */
}
...
...
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