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
0b3b9581
Commit
0b3b9581
authored
Jun 17, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: remove disabled FF_API_VSRC_BUFFER_ADD_FRAME cruft
parent
6c1e065b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
61 deletions
+0
-61
Makefile
libavfilter/Makefile
+0
-1
buffersrc.c
libavfilter/buffersrc.c
+0
-20
version.h
libavfilter/version.h
+0
-3
vsrc_buffer.h
libavfilter/vsrc_buffer.h
+0
-37
No files found.
libavfilter/Makefile
View file @
0b3b9581
...
@@ -10,7 +10,6 @@ HEADERS = avfilter.h \
...
@@ -10,7 +10,6 @@ HEADERS = avfilter.h \
buffersink.h
\
buffersink.h
\
buffersrc.h
\
buffersrc.h
\
version.h
\
version.h
\
vsrc_buffer.h
\
OBJS
=
allfilters.o
\
OBJS
=
allfilters.o
\
audio.o
\
audio.o
\
...
...
libavfilter/buffersrc.c
View file @
0b3b9581
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
#include "formats.h"
#include "formats.h"
#include "internal.h"
#include "internal.h"
#include "video.h"
#include "video.h"
#include "vsrc_buffer.h"
#include "libavutil/audioconvert.h"
#include "libavutil/audioconvert.h"
#include "libavutil/fifo.h"
#include "libavutil/fifo.h"
...
@@ -70,25 +69,6 @@ typedef struct {
...
@@ -70,25 +69,6 @@ typedef struct {
return AVERROR(EINVAL);\
return AVERROR(EINVAL);\
}
}
#if FF_API_VSRC_BUFFER_ADD_FRAME
int
av_vsrc_buffer_add_frame
(
AVFilterContext
*
buffer_filter
,
AVFrame
*
frame
,
int64_t
pts
,
AVRational
pixel_aspect
)
{
int64_t
orig_pts
=
frame
->
pts
;
AVRational
orig_sar
=
frame
->
sample_aspect_ratio
;
int
ret
;
frame
->
pts
=
pts
;
frame
->
sample_aspect_ratio
=
pixel_aspect
;
if
((
ret
=
av_buffersrc_write_frame
(
buffer_filter
,
frame
))
<
0
)
return
ret
;
frame
->
pts
=
orig_pts
;
frame
->
sample_aspect_ratio
=
orig_sar
;
return
0
;
}
#endif
int
av_buffersrc_write_frame
(
AVFilterContext
*
buffer_filter
,
AVFrame
*
frame
)
int
av_buffersrc_write_frame
(
AVFilterContext
*
buffer_filter
,
AVFrame
*
frame
)
{
{
BufferSourceContext
*
c
=
buffer_filter
->
priv
;
BufferSourceContext
*
c
=
buffer_filter
->
priv
;
...
...
libavfilter/version.h
View file @
0b3b9581
...
@@ -44,9 +44,6 @@
...
@@ -44,9 +44,6 @@
* Those FF_API_* defines are not part of public API.
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
* They may change, break or disappear at any time.
*/
*/
#ifndef FF_API_VSRC_BUFFER_ADD_FRAME
#define FF_API_VSRC_BUFFER_ADD_FRAME (LIBAVFILTER_VERSION_MAJOR < 3)
#endif
#ifndef FF_API_DEFAULT_CONFIG_OUTPUT_LINK
#ifndef FF_API_DEFAULT_CONFIG_OUTPUT_LINK
#define FF_API_DEFAULT_CONFIG_OUTPUT_LINK (LIBAVFILTER_VERSION_MAJOR < 3)
#define FF_API_DEFAULT_CONFIG_OUTPUT_LINK (LIBAVFILTER_VERSION_MAJOR < 3)
#endif
#endif
...
...
libavfilter/vsrc_buffer.h
deleted
100644 → 0
View file @
6c1e065b
/*
* Copyright (c) 2008 Vitor Sessak
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVFILTER_VSRC_BUFFER_H
#define AVFILTER_VSRC_BUFFER_H
/**
* @file
* memory buffer source API for video
*/
#include "libavcodec/avcodec.h"
/* AVFrame */
#include "avfilter.h"
#if FF_API_VSRC_BUFFER_ADD_FRAME
int
av_vsrc_buffer_add_frame
(
AVFilterContext
*
buffer_filter
,
AVFrame
*
frame
,
int64_t
pts
,
AVRational
pixel_aspect
);
#endif
#endif
/* AVFILTER_VSRC_BUFFER_H */
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