Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
8a4ad005
Commit
8a4ad005
authored
Nov 02, 2003
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/demux/mkv.cpp:
* proper fix for timing with vobsub tracks ( and possibly some other cases )
parent
a77da791
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+4
-7
No files found.
modules/demux/mkv.cpp
View file @
8a4ad005
...
...
@@ -2,7 +2,7 @@
* mkv.cpp : matroska demuxer
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mkv.cpp,v 1.3
4 2003/11/02 16:12:27
sigmunau Exp $
* $Id: mkv.cpp,v 1.3
5 2003/11/02 18:03:45
sigmunau Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -1508,7 +1508,8 @@ static pes_packet_t *MemToPES( input_thread_t *p_input, uint8_t *p_mem, int i_me
p_pes
->
p_first
=
p_pes
->
p_last
=
p_data
;
p_pes
->
i_nb_data
=
1
;
p_pes
->
i_pes_size
=
i_mem
;
p_pes
->
i_rate
=
p_input
->
stream
.
control
.
i_rate
;
return
p_pes
;
}
...
...
@@ -1686,11 +1687,7 @@ static void BlockDecode( input_thread_t *p_input, KaxBlock *block, mtime_t i_pts
input_DecodePES
(
tk
.
p_es
->
p_decoder_fifo
,
p_pes
);
/* use time stamp only for first block */
if
(
!
strcmp
(
tk
.
psz_codec
,
"S_VOBSUB"
)
)
{
i_pts
+=
1000
*
i_duration
;
}
else
i_pts
=
0
;
i_pts
=
0
;
}
#undef tk
...
...
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