Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
08ae7414
Commit
08ae7414
authored
Feb 22, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* sub.c: VobSub fix.
parent
3e78ed5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/demux/util/sub.c
modules/demux/util/sub.c
+2
-1
No files found.
modules/demux/util/sub.c
View file @
08ae7414
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* sub.c: subtitle demux for external subtitle files
* sub.c: subtitle demux for external subtitle files
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2004 VideoLAN
* Copyright (C) 1999-2004 VideoLAN
* $Id: sub.c,v 1.5
1 2004/01/27 23:09:25 hartman
Exp $
* $Id: sub.c,v 1.5
2 2004/02/22 15:59:53 fenrir
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Derk-Jan Hartman <hartman at videolan dot org>
* Derk-Jan Hartman <hartman at videolan dot org>
...
@@ -1207,6 +1207,7 @@ static int DemuxVobSub( subtitle_demux_t *p_demux, block_t *p_bk )
...
@@ -1207,6 +1207,7 @@ static int DemuxVobSub( subtitle_demux_t *p_demux, block_t *p_bk )
if
(
p_demux
->
p_es
&&
i_spu
==
0
)
if
(
p_demux
->
p_es
&&
i_spu
==
0
)
{
{
p_pkt
->
i_pts
=
p_bk
->
i_pts
;
p_pkt
->
i_pts
=
p_bk
->
i_pts
;
p_pkt
->
i_dts
=
0
;
es_out_Send
(
p_demux
->
p_input
->
p_es_out
,
p_demux
->
p_es
,
p_pkt
);
es_out_Send
(
p_demux
->
p_input
->
p_es_out
,
p_demux
->
p_es
,
p_pkt
);
p_bk
->
i_pts
=
0
;
/* only first packet has a pts */
p_bk
->
i_pts
=
0
;
/* only first packet has a pts */
...
...
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