Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
eac01044
Commit
eac01044
authored
Nov 26, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile fix
parent
9353736b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+6
-1
No files found.
modules/stream_out/transcode.c
View file @
eac01044
...
@@ -1264,6 +1264,11 @@ static int audio_BitsPerSample( vlc_fourcc_t i_format )
...
@@ -1264,6 +1264,11 @@ static int audio_BitsPerSample( vlc_fourcc_t i_format )
return
0
;
return
0
;
}
}
static
block_t
*
transcode_audio_alloc
(
filter_t
*
filter
,
int
size
)
{
return
block_New
(
filter
,
size
);
}
static
filter_t
*
transcode_audio_filter_new
(
sout_stream_t
*
p_stream
,
static
filter_t
*
transcode_audio_filter_new
(
sout_stream_t
*
p_stream
,
sout_stream_id_t
*
id
,
sout_stream_id_t
*
id
,
es_format_t
*
p_fmt_in
,
es_format_t
*
p_fmt_in
,
...
@@ -1274,7 +1279,7 @@ static filter_t *transcode_audio_filter_new( sout_stream_t *p_stream,
...
@@ -1274,7 +1279,7 @@ static filter_t *transcode_audio_filter_new( sout_stream_t *p_stream,
filter_t
*
p_filter
=
vlc_object_create
(
p_stream
,
VLC_OBJECT_FILTER
);
filter_t
*
p_filter
=
vlc_object_create
(
p_stream
,
VLC_OBJECT_FILTER
);
vlc_object_attach
(
p_filter
,
p_stream
);
vlc_object_attach
(
p_filter
,
p_stream
);
p_filter
->
pf_audio_buffer_new
=
(
block_t
*
(
*
)
(
filter_t
*
,
int
))
__block_New
;
p_filter
->
pf_audio_buffer_new
=
transcode_audio_alloc
;
p_filter
->
fmt_in
=
*
p_fmt_in
;
p_filter
->
fmt_in
=
*
p_fmt_in
;
p_filter
->
fmt_out
=
*
p_fmt_out
;
p_filter
->
fmt_out
=
*
p_fmt_out
;
...
...
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