Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3061664a
Commit
3061664a
authored
Aug 31, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avoid ambigous buffersink names
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
e4e02a7d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
filtering_audio.c
doc/examples/filtering_audio.c
+1
-1
filtering_video.c
doc/examples/filtering_video.c
+1
-1
ffmpeg_filter.c
ffmpeg_filter.c
+2
-2
ffplay.c
ffplay.c
+1
-1
lavfi.c
libavdevice/lavfi.c
+2
-2
No files found.
doc/examples/filtering_audio.c
View file @
3061664a
...
...
@@ -84,7 +84,7 @@ static int init_filters(const char *filters_descr)
char
args
[
512
];
int
ret
;
AVFilter
*
abuffersrc
=
avfilter_get_by_name
(
"abuffer"
);
AVFilter
*
abuffersink
=
avfilter_get_by_name
(
"abuffersink"
);
AVFilter
*
abuffersink
=
avfilter_get_by_name
(
"
ff
abuffersink"
);
AVFilterInOut
*
outputs
=
avfilter_inout_alloc
();
AVFilterInOut
*
inputs
=
avfilter_inout_alloc
();
const
enum
AVSampleFormat
sample_fmts
[]
=
{
AV_SAMPLE_FMT_S16
,
-
1
};
...
...
doc/examples/filtering_video.c
View file @
3061664a
...
...
@@ -84,7 +84,7 @@ static int init_filters(const char *filters_descr)
char
args
[
512
];
int
ret
;
AVFilter
*
buffersrc
=
avfilter_get_by_name
(
"buffer"
);
AVFilter
*
buffersink
=
avfilter_get_by_name
(
"buffersink"
);
AVFilter
*
buffersink
=
avfilter_get_by_name
(
"
ff
buffersink"
);
AVFilterInOut
*
outputs
=
avfilter_inout_alloc
();
AVFilterInOut
*
inputs
=
avfilter_inout_alloc
();
enum
PixelFormat
pix_fmts
[]
=
{
PIX_FMT_GRAY8
,
PIX_FMT_NONE
};
...
...
ffmpeg_filter.c
View file @
3061664a
...
...
@@ -294,7 +294,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter,
snprintf
(
name
,
sizeof
(
name
),
"output stream %d:%d"
,
ost
->
file_index
,
ost
->
index
);
ret
=
avfilter_graph_create_filter
(
&
ofilter
->
filter
,
avfilter_get_by_name
(
"buffersink"
),
avfilter_get_by_name
(
"
ff
buffersink"
),
name
,
NULL
,
NULL
/*buffersink_params*/
,
fg
->
graph
);
av_freep
(
&
buffersink_params
);
...
...
@@ -377,7 +377,7 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
snprintf
(
name
,
sizeof
(
name
),
"output stream %d:%d"
,
ost
->
file_index
,
ost
->
index
);
ret
=
avfilter_graph_create_filter
(
&
ofilter
->
filter
,
avfilter_get_by_name
(
"abuffersink"
),
avfilter_get_by_name
(
"
ff
abuffersink"
),
name
,
NULL
,
NULL
,
fg
->
graph
);
if
(
ret
<
0
)
return
ret
;
...
...
ffplay.c
View file @
3061664a
...
...
@@ -1606,7 +1606,7 @@ static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const c
buffersink_params
->
pixel_fmts
=
pix_fmts
;
ret
=
avfilter_graph_create_filter
(
&
filt_out
,
avfilter_get_by_name
(
"buffersink"
),
avfilter_get_by_name
(
"
ff
buffersink"
),
"ffplay_buffersink"
,
NULL
,
buffersink_params
,
graph
);
av_freep
(
&
buffersink_params
);
if
(
ret
<
0
)
...
...
libavdevice/lavfi.c
View file @
3061664a
...
...
@@ -95,8 +95,8 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx)
avfilter_register_all
();
buffersink
=
avfilter_get_by_name
(
"buffersink"
);
abuffersink
=
avfilter_get_by_name
(
"abuffersink"
);
buffersink
=
avfilter_get_by_name
(
"
ff
buffersink"
);
abuffersink
=
avfilter_get_by_name
(
"
ff
abuffersink"
);
if
(
!
lavfi
->
graph_str
)
lavfi
->
graph_str
=
av_strdup
(
avctx
->
filename
);
...
...
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