[packages/gegl] - rel 2; ffmpeg build fix

arekm arekm at pld-linux.org
Sun Nov 4 15:03:31 CET 2012


commit 711531026fb9ef30289b8d425dc0ef41f2c1e493
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 4 15:03:29 2012 +0100

    - rel 2; ffmpeg build fix

 gegl-ffmpeg.patch | 21 +++++++++++----------
 gegl.spec         |  2 +-
 2 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/gegl.spec b/gegl.spec
index 17bfedf..feb4daa 100644
--- a/gegl.spec
+++ b/gegl.spec
@@ -21,7 +21,7 @@ Summary:	Generic image processing library
 Summary(pl.UTF-8):	Ogólna biblioteka przetwarzania obrazu
 Name:		gegl
 Version:	0.2.0
-Release:	1
+Release:	2
 License:	LGPL v3+
 Group:		Libraries
 Source0:	ftp://ftp.gimp.org/pub/gegl/0.2/%{name}-%{version}.tar.bz2
diff --git a/gegl-ffmpeg.patch b/gegl-ffmpeg.patch
index 8ca69e8..a33ec6f 100644
--- a/gegl-ffmpeg.patch
+++ b/gegl-ffmpeg.patch
@@ -1,11 +1,12 @@
-diff -burNp gegl-0.0.22/operations/external/ff-load.c gegl-0.0.22-new/operations/external/ff-load.c
---- gegl-0.0.22/operations/external/ff-load.c	2008-12-31 02:38:58.000000000 +0100
-+++ gegl-0.0.22-new/operations/external/ff-load.c	2009-01-04 20:50:31.009948147 +0100
-@@ -289,6 +289,7 @@ prepare (GeglOperation *operation)
-       p->codec = avcodec_find_decoder (p->enc->codec_id);
- 
-       /* p->enc->error_resilience = 2; */
-+      p->enc->error_recognition = 2;
-       p->enc->error_concealment = 3;
-       p->enc->workaround_bugs = FF_BUG_AUTODETECT;
+diff -Naur gegl-0.2.0/operations/external/ff-load.c gegl-0.2.0-1/operations/external/ff-load.c
+--- gegl-0.2.0/operations/external/ff-load.c	2012-04-01 13:17:57.000000000 +0200
++++ gegl-0.2.0-1/operations/external/ff-load.c	2012-07-11 12:42:05.174756560 +0200
+@@ -271,7 +271,7 @@
+       gint err;
  
+       ff_cleanup (o);
+-      err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL);
++err = avformat_open_input (&p->ic, o->path, NULL, NULL);
+       if (err < 0)
+         {
+           print_error (o->path, err);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gegl.git/commitdiff/711531026fb9ef30289b8d425dc0ef41f2c1e493



More information about the pld-cvs-commit mailing list