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
1c1a74e5
Commit
1c1a74e5
authored
Nov 18, 2002
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ogg: change i_dts usage for subtitle ES.
parent
d7510989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/demux/ogg.c
modules/demux/ogg.c
+4
-3
No files found.
modules/demux/ogg.c
View file @
1c1a74e5
...
...
@@ -2,7 +2,7 @@
* ogg.c : ogg stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: ogg.c,v 1.
8 2002/11/06 21:48:23 gbazin
Exp $
* $Id: ogg.c,v 1.
9 2002/11/18 19:31:20 fenrir
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -368,7 +368,8 @@ static void Ogg_DecodePacket( input_thread_t *p_input,
input_DeletePES
(
p_input
->
p_method_data
,
p_pes
);
return
;
}
p_pes
->
i_dts
=
p_oggpacket
->
granulepos
;
/* Convert the pcr into a pts */
if
(
p_stream
->
i_cat
!=
SPU_ES
)
{
...
...
@@ -383,6 +384,7 @@ static void Ogg_DecodePacket( input_thread_t *p_input,
input_ClockGetTS
(
p_input
,
p_input
->
stream
.
p_selected_program
,
p_oggpacket
->
granulepos
*
90000
/
p_stream
->
i_rate
);
p_pes
->
i_dts
=
0
;
}
/* Convert the next granule into a pcr */
...
...
@@ -414,7 +416,6 @@ static void Ogg_DecodePacket( input_thread_t *p_input,
}
p_pes
->
i_nb_data
=
1
;
p_pes
->
i_dts
=
p_oggpacket
->
granulepos
;
p_pes
->
p_first
=
p_pes
->
p_last
=
p_data
;
p_pes
->
i_pes_size
=
p_oggpacket
->
bytes
;
...
...
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