[FFmpeg-devel] [PATCH] lavd: add uncoded_frame test program.
Clément Bœsch
u at pkh.me
Sat Feb 8 20:58:50 CET 2014
On Sat, Feb 08, 2014 at 08:49:31PM +0100, Nicolas George wrote:
> Le decadi 20 pluviôse, an CCXXII, Clément Bœsch a écrit :
> > What would prevent a FATE test to depend on CONFIG_UNCODED_FRAME_EXAMPLE?
>
> IIRC, the examples have a different build system.
>
Not anymore. Or to be more correct, it's duplicated. You have a build
system "example" which is deployed with them for users, and it's also
integrated with their dependencies in the project build system.
> > Having the tool in PROGS doesn't look like a wise solution to me... I'm
> > not comfortable having this tool half mixed with the fftools build system
> > at all.
>
> Do you like the attached version better?
>
Yes, thanks you :)
> Regards,
>
> --
> Nicolas George
> From dbdfa65623e16d8deac458818610deba5a466561 Mon Sep 17 00:00:00 2001
> From: Nicolas George <george at nsup.org>
> Date: Mon, 3 Feb 2014 09:12:27 +0100
> Subject: [PATCH] tools: add uncoded_frame test program.
>
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
> Makefile | 3 +-
> tools/uncoded_frame.c | 277 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 279 insertions(+), 1 deletion(-)
> create mode 100644 tools/uncoded_frame.c
>
> diff --git a/Makefile b/Makefile
> index 7317f25..250cda0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -31,7 +31,7 @@ OBJS-ffmpeg += ffmpeg_opt.o ffmpeg_filter.o
> OBJS-ffmpeg-$(HAVE_VDPAU_X11) += ffmpeg_vdpau.o
> TESTTOOLS = audiogen videogen rotozoom tiny_psnr tiny_ssim base64
> HOSTPROGS := $(TESTTOOLS:%=tests/%) doc/print_options
> -TOOLS = qt-faststart trasher
> +TOOLS = qt-faststart trasher uncoded_frame
> TOOLS-$(CONFIG_ZLIB) += cws2fws
>
> FFLIBS-$(CONFIG_AVDEVICE) += avdevice
> @@ -61,6 +61,7 @@ $(TOOLS): %$(EXESUF): %.o $(EXEOBJS)
> $(LD) $(LDFLAGS) $(LD_O) $^ $(ELIBS)
>
> tools/cws2fws$(EXESUF): ELIBS = $(ZLIB)
> +tools/uncoded_frame$(EXESUF): ELIBS = $(FF_EXTRALIBS)
>
> config.h: .config
> .config: $(wildcard $(FFLIBS:%=$(SRC_PATH)/lib%/all*.c))
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140208/897b9fcd/attachment.asc>
More information about the ffmpeg-devel
mailing list