Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
fe06bee1
Commit
fe06bee1
authored
Nov 12, 2012
by
Jean-Baptiste Kempf
Browse files
DTS to S/PDIF: Update copyright holders
And comments
parent
8fec5772
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/audio_filter/converter/dtstospdif.c
View file @
fe06bee1
/*****************************************************************************
/*****************************************************************************
* dtstospdif.c : encapsulates DTS frames into S/PDIF packets
* dtstospdif.c : encapsulates DTS frames into S/PDIF packets
*****************************************************************************
*****************************************************************************
* Copyright (C) 2003
,
200
6
the VideoLAN team
* Copyright (C) 2003
-
200
9
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Gildas Bazin
* Derk-Jan Hartman
* Pierre d'Herbemont
* Rémi Denis-Courmont
* Rafaël Carré
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* it under the terms of the GNU General Public License as published by
...
@@ -41,7 +46,7 @@ struct filter_sys_t
...
@@ -41,7 +46,7 @@ struct filter_sys_t
{
{
mtime_t
start_date
;
mtime_t
start_date
;
/* 3 DTS frames have to be packed into an S/PDIF frame.
/* 3 DTS frames
(max 2048)
have to be packed into an S/PDIF frame
(6144)
.
* We accumulate DTS frames from the decoder until we have enough to
* We accumulate DTS frames from the decoder until we have enough to
* send. */
* send. */
size_t
i_frame_size
;
size_t
i_frame_size
;
...
@@ -86,6 +91,7 @@ static int Create( vlc_object_t *p_this )
...
@@ -86,6 +91,7 @@ static int Create( vlc_object_t *p_this )
p_sys
=
p_filter
->
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
p_sys
=
p_filter
->
p_sys
=
malloc
(
sizeof
(
*
p_sys
)
);
if
(
!
p_sys
)
if
(
!
p_sys
)
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
p_sys
->
p_buf
=
NULL
;
p_sys
->
p_buf
=
NULL
;
p_sys
->
i_frame_size
=
0
;
p_sys
->
i_frame_size
=
0
;
p_sys
->
i_frames
=
0
;
p_sys
->
i_frames
=
0
;
...
...
Write
Preview
Supports
Markdown
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