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
490af54f
Commit
490af54f
authored
Nov 18, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/input/input_dec.c: fixed nasty bug. Thanks Meuuh :)
parent
7d5b21c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
src/input/input_dec.c
src/input/input_dec.c
+14
-13
No files found.
src/input/input_dec.c
View file @
490af54f
...
...
@@ -2,7 +2,7 @@
* input_dec.c: Functions for the management of decoders
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: input_dec.c,v 1.
69 2003/11/18 20:34:23 fenrir
Exp $
* $Id: input_dec.c,v 1.
70 2003/11/18 22:08:07 gbazin
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -303,6 +303,7 @@ struct decoder_owner_sys_t
vout_thread_t
*
p_vout
;
sout_packetizer_input_t
*
p_sout
;
sout_format_t
sout_format
;
/* Current format in use by the output */
video_format_t
video
;
...
...
@@ -486,26 +487,26 @@ static int DecoderThread( decoder_t * p_dec )
{
if
(
!
p_dec
->
p_owner
->
p_sout
)
{
sout_format_t
sout_format
;
sout_format_t
*
p_format
=
&
p_dec
->
p_owner
->
sout_format
;
sout_format
.
i_cat
=
p_dec
->
fmt_out
.
i_cat
;
sout_format
.
i_fourcc
=
p_dec
->
fmt_out
.
i_codec
;
sout_format
.
i_sample_rate
=
p_format
->
i_cat
=
p_dec
->
fmt_out
.
i_cat
;
p_format
->
i_fourcc
=
p_dec
->
fmt_out
.
i_codec
;
p_format
->
i_sample_rate
=
p_dec
->
fmt_out
.
audio
.
i_rate
;
sout_format
.
i_channels
=
p_format
->
i_channels
=
p_dec
->
fmt_out
.
audio
.
i_channels
;
sout_format
.
i_block_align
=
p_format
->
i_block_align
=
p_dec
->
fmt_out
.
audio
.
i_blockalign
;
sout_format
.
i_width
=
p_format
->
i_width
=
p_dec
->
fmt_out
.
video
.
i_width
;
sout_format
.
i_height
=
p_format
->
i_height
=
p_dec
->
fmt_out
.
video
.
i_height
;
sout_format
.
i_bitrate
=
p_dec
->
fmt_out
.
i_bitrate
;
sout_format
.
i_extra_data
=
p_dec
->
fmt_out
.
i_extra
;
sout_format
.
p_extra_data
=
p_dec
->
fmt_out
.
p_extra
;
p_format
->
i_bitrate
=
p_dec
->
fmt_out
.
i_bitrate
;
p_format
->
i_extra_data
=
p_dec
->
fmt_out
.
i_extra
;
p_format
->
p_extra_data
=
p_dec
->
fmt_out
.
p_extra
;
p_dec
->
p_owner
->
p_sout
=
sout_InputNew
(
p_dec
,
&
sout
_format
);
sout_InputNew
(
p_dec
,
p
_format
);
if
(
p_dec
->
p_owner
->
p_sout
==
NULL
)
{
...
...
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