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
1916bc59
Commit
1916bc59
authored
Feb 07, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/dts.c: DTS S/PDIF fix (Thanks Dnumgis for all the testing).
parent
a02533c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/codec/dts.c
modules/codec/dts.c
+4
-2
No files found.
modules/codec/dts.c
View file @
1916bc59
...
...
@@ -2,7 +2,7 @@
* dts.c: parse DTS audio sync info and packetize the stream
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: dts.c,v 1.1
6 2004/02/06 18:15
:44 gbazin Exp $
* $Id: dts.c,v 1.1
7 2004/02/07 00:56
:44 gbazin Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Gildas Bazin <gbazin@netcourrier.com>
...
...
@@ -334,7 +334,9 @@ static uint8_t *GetOutBuffer( decoder_t *p_dec, void **pp_out_buffer )
p_dec
->
fmt_out
.
audio
.
i_rate
=
p_sys
->
i_rate
;
p_dec
->
fmt_out
.
audio
.
i_channels
=
p_sys
->
i_channels
;
p_dec
->
fmt_out
.
audio
.
i_bytes_per_frame
=
p_sys
->
i_frame_size
;
/* Hack for DTS S/PDIF filter which needs to pad the DTS frames */
p_dec
->
fmt_out
.
audio
.
i_bytes_per_frame
=
__MAX
(
p_sys
->
i_frame_size
,
p_sys
->
i_frame_length
*
4
);
p_dec
->
fmt_out
.
audio
.
i_frame_length
=
p_sys
->
i_frame_length
;
p_dec
->
fmt_out
.
audio
.
i_original_channels
=
p_sys
->
i_channels_conf
;
...
...
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