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
dd05d100
Commit
dd05d100
authored
Dec 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated FLAC to use VLC_TS_INVALID/0.
parent
88f65af8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/flac.c
modules/demux/flac.c
+2
-2
No files found.
modules/demux/flac.c
View file @
dd05d100
...
...
@@ -204,7 +204,7 @@ static int Demux( demux_t *p_demux )
if
(
!
(
p_block_in
=
stream_Block
(
p_demux
->
s
,
FLAC_PACKET_SIZE
)
)
)
return
0
;
p_block_in
->
i_pts
=
p_block_in
->
i_dts
=
p_sys
->
b_start
?
1
:
0
;
p_block_in
->
i_pts
=
p_block_in
->
i_dts
=
p_sys
->
b_start
?
VLC_TS_0
:
VLC_TS_INVALID
;
p_sys
->
b_start
=
false
;
while
(
(
p_block_out
=
p_sys
->
p_packetizer
->
pf_packetize
(
...
...
@@ -223,7 +223,7 @@ static int Demux( demux_t *p_demux )
p_sys
->
p_es
=
es_out_Add
(
p_demux
->
out
,
&
p_sys
->
p_packetizer
->
fmt_out
);
}
p_sys
->
i_pts
=
p_block_out
->
i_dts
;
p_sys
->
i_pts
=
p_block_out
->
i_dts
-
VLC_TS_0
;
/* Correct timestamp */
p_block_out
->
i_pts
+=
p_sys
->
i_time_offset
;
...
...
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