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
6aec5db7
Commit
6aec5db7
authored
Dec 20, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used VLC_TS_INVALID/0 in MP4.
parent
5c8ab0cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+3
-3
No files found.
modules/demux/mp4/mp4.c
View file @
6aec5db7
...
...
@@ -616,7 +616,7 @@ static int Demux( demux_t *p_demux )
MP4_UpdateSeekpoint
(
p_demux
);
/* first wait for the good time to read a packet */
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
p_sys
->
i_pcr
+
1
);
es_out_Control
(
p_demux
->
out
,
ES_OUT_SET_PCR
,
VLC_TS_0
+
p_sys
->
i_pcr
);
p_sys
->
i_pcr
=
MP4_GetMoviePTS
(
p_sys
);
...
...
@@ -713,7 +713,7 @@ static int Demux( demux_t *p_demux )
}
}
/* dts */
p_block
->
i_dts
=
MP4_TrackGetDTS
(
p_demux
,
tk
)
+
1
;
p_block
->
i_dts
=
VLC_TS_0
+
MP4_TrackGetDTS
(
p_demux
,
tk
)
;
/* pts */
i_delta
=
MP4_TrackGetPTSDelta
(
tk
);
if
(
i_delta
!=
-
1
)
...
...
@@ -721,7 +721,7 @@ static int Demux( demux_t *p_demux )
else
if
(
tk
->
fmt
.
i_cat
!=
VIDEO_ES
)
p_block
->
i_pts
=
p_block
->
i_dts
;
else
p_block
->
i_pts
=
0
;
p_block
->
i_pts
=
VLC_TS_INVALID
;
if
(
!
tk
->
b_drms
||
(
tk
->
b_drms
&&
tk
->
p_drms
)
)
es_out_Send
(
p_demux
->
out
,
tk
->
p_es
,
p_block
);
...
...
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