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
84995ec7
Commit
84995ec7
authored
May 15, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: use 1 as starting time (allow to have a valid date for the first frame).
parent
3bcdafa1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
modules/demux/aac.c
modules/demux/aac.c
+1
-1
modules/demux/au.c
modules/demux/au.c
+2
-2
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+2
-2
modules/demux/rawdv.c
modules/demux/rawdv.c
+1
-1
modules/demux/wav.c
modules/demux/wav.c
+1
-1
No files found.
modules/demux/aac.c
View file @
84995ec7
...
@@ -135,7 +135,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -135,7 +135,7 @@ static int Open( vlc_object_t * p_this )
p_demux
->
pf_control
=
Control
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_sys
->
i_time
=
0
;
p_sys
->
i_time
=
1
;
/* peek the begining (10 is for adts header) */
/* peek the begining (10 is for adts header) */
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
10
)
<
10
)
if
(
stream_Peek
(
p_demux
->
s
,
&
p_peek
,
10
)
<
10
)
...
...
modules/demux/au.c
View file @
84995ec7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* au.c : au file input module for vlc
* au.c : au file input module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id
: au.c,v 1.14 2004/03/03 11:40:19 fenrir Exp
$
* $Id$
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -131,7 +131,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -131,7 +131,7 @@ static int Open( vlc_object_t *p_this )
}
}
p_sys
=
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_sys
=
p_demux
->
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_sys
->
i_time
=
0
;
p_sys
->
i_time
=
1
;
p_sys
->
i_header_size
=
GetDWBE
(
&
hdr
[
0
]
);
p_sys
->
i_header_size
=
GetDWBE
(
&
hdr
[
0
]
);
/* skip extra header data */
/* skip extra header data */
...
...
modules/demux/mkv.cpp
View file @
84995ec7
...
@@ -1654,7 +1654,7 @@ static void Seek( demux_t *p_demux, mtime_t i_date, int i_percent)
...
@@ -1654,7 +1654,7 @@ static void Seek( demux_t *p_demux, mtime_t i_date, int i_percent)
return
;
return
;
}
}
p_sys
->
i_pts
=
block
->
GlobalTimecode
()
*
(
mtime_t
)
1000
/
p_sys
->
i_timescale
;
p_sys
->
i_pts
=
block
->
GlobalTimecode
()
*
(
mtime_t
)
1000
/
p_sys
->
i_timescale
+
1
;
for
(
i_track
=
0
;
i_track
<
p_sys
->
i_track
;
i_track
++
)
for
(
i_track
=
0
;
i_track
<
p_sys
->
i_track
;
i_track
++
)
{
{
...
@@ -1709,7 +1709,7 @@ static int Demux( demux_t *p_demux)
...
@@ -1709,7 +1709,7 @@ static int Demux( demux_t *p_demux)
return
0
;
return
0
;
}
}
p_sys
->
i_pts
=
block
->
GlobalTimecode
()
*
(
mtime_t
)
1000
/
p_sys
->
i_timescale
;
p_sys
->
i_pts
=
block
->
GlobalTimecode
()
*
(
mtime_t
)
1000
/
p_sys
->
i_timescale
+
1
;
if
(
p_sys
->
i_pts
>
0
)
if
(
p_sys
->
i_pts
>
0
)
{
{
...
...
modules/demux/rawdv.c
View file @
84995ec7
...
@@ -203,7 +203,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -203,7 +203,7 @@ static int Open( vlc_object_t * p_this )
p_sys
->
frame_size
=
dv_header
.
dsf
?
12
*
150
*
80
:
10
*
150
*
80
;
p_sys
->
frame_size
=
dv_header
.
dsf
?
12
*
150
*
80
:
10
*
150
*
80
;
p_sys
->
f_rate
=
dv_header
.
dsf
?
25
:
29
.
97
;
p_sys
->
f_rate
=
dv_header
.
dsf
?
25
:
29
.
97
;
p_sys
->
i_pcr
=
0
;
p_sys
->
i_pcr
=
1
;
p_sys
->
p_es_video
=
NULL
;
p_sys
->
p_es_video
=
NULL
;
p_sys
->
p_es_audio
=
NULL
;
p_sys
->
p_es_audio
=
NULL
;
...
...
modules/demux/wav.c
View file @
84995ec7
...
@@ -100,7 +100,7 @@ static int Open( vlc_object_t * p_this )
...
@@ -100,7 +100,7 @@ static int Open( vlc_object_t * p_this )
p_demux
->
pf_control
=
Control
;
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_demux
->
p_sys
=
p_sys
=
malloc
(
sizeof
(
demux_sys_t
)
);
p_sys
->
p_es
=
NULL
;
p_sys
->
p_es
=
NULL
;
p_sys
->
i_time
=
0
;
p_sys
->
i_time
=
1
;
/* skip riff header */
/* skip riff header */
stream_Read
(
p_demux
->
s
,
NULL
,
12
);
/* cannot fail as peek succeed */
stream_Read
(
p_demux
->
s
,
NULL
,
12
);
/* cannot fail as peek succeed */
...
...
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