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
ecde7dcc
Commit
ecde7dcc
authored
Nov 18, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* input_dec.c : handle SPU_ES (and not as VIDEO_ES ....) so subtitle
should work again.
parent
490af54f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
src/input/input_dec.c
src/input/input_dec.c
+18
-2
No files found.
src/input/input_dec.c
View file @
ecde7dcc
...
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: input_dec.c,v 1.7
0 2003/11/18 22:08:07 gbazin
Exp $
* $Id: input_dec.c,v 1.7
1 2003/11/18 22:48:46 fenrir
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -554,7 +554,7 @@ static int DecoderThread( decoder_t * p_dec )
p_dec
->
p_owner
->
p_aout_input
,
p_aout_buf
);
}
}
else
else
if
(
p_dec
->
fmt_in
.
i_cat
==
VIDEO_ES
)
{
picture_t
*
p_pic
;
...
...
@@ -564,10 +564,26 @@ static int DecoderThread( decoder_t * p_dec )
vout_DisplayPicture
(
p_dec
->
p_owner
->
p_vout
,
p_pic
);
}
}
else
if
(
p_dec
->
fmt_in
.
i_cat
==
SPU_ES
)
{
p_dec
->
pf_decode_sub
(
p_dec
,
&
p_block
);
}
else
{
msg_Err
(
p_dec
,
"unknown ES format !!"
);
p_dec
->
p_fifo
->
b_error
=
1
;
break
;
}
input_DeletePES
(
p_dec
->
p_fifo
->
p_packets_mgt
,
p_pes
);
}
while
(
!
p_dec
->
p_fifo
->
b_die
)
{
/* Trash all received PES packets */
input_ExtractPES
(
p_dec
->
p_fifo
,
NULL
);
}
return
0
;
}
...
...
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