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
cacaf61d
Commit
cacaf61d
authored
Dec 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used VLC_TS_0 in AIFF demuxer.
AIFF is VLC_TS_INVALID compliant.
parent
6aec5db7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/aiff.c
modules/demux/aiff.c
+4
-4
No files found.
modules/demux/aiff.c
View file @
cacaf61d
...
...
@@ -118,7 +118,7 @@ static int Open( vlc_object_t *p_this )
/* Fill p_demux field */
DEMUX_INIT_COMMON
();
p_sys
=
p_demux
->
p_sys
;
es_format_Init
(
&
p_sys
->
fmt
,
UNKNOWN_ES
,
0
);
p_sys
->
i_time
=
1
;
p_sys
->
i_time
=
0
;
p_sys
->
i_ssnd_pos
=
-
1
;
for
(
;;
)
...
...
@@ -240,7 +240,7 @@ static int Demux( demux_t *p_demux )
}
/* Set PCR */
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
p_sys
->
i_time
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
VLC_TS_0
+
p_sys
->
i_time
);
/* we will read 100ms at once */
i_read
=
p_sys
->
i_ssnd_fsize
*
(
p_sys
->
fmt
.
audio
.
i_rate
/
10
);
...
...
@@ -254,7 +254,7 @@ static int Demux( demux_t *p_demux )
}
p_block
->
i_dts
=
p_block
->
i_pts
=
p_sys
->
i_time
;
p_block
->
i_pts
=
VLC_TS_0
+
p_sys
->
i_time
;
p_sys
->
i_time
+=
(
int64_t
)
1000000
*
p_block
->
i_buffer
/
...
...
@@ -309,7 +309,7 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
return
VLC_EGENERIC
;
}
p_sys
->
i_time
=
1
+
(
int64_t
)
1000000
*
i_frame
/
p_sys
->
fmt
.
audio
.
i_rate
;
p_sys
->
i_time
=
(
int64_t
)
1000000
*
i_frame
/
p_sys
->
fmt
.
audio
.
i_rate
;
return
VLC_SUCCESS
;
}
return
VLC_EGENERIC
;
...
...
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