[packages/xine-lib] - one more ffmpeg 3 bit - rel 4

baggins baggins at pld-linux.org
Mon Mar 21 09:53:45 CET 2016


commit 99636ae468083c45f06811090769f4ea8f7a9e56
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 21 09:53:30 2016 +0100

    - one more ffmpeg 3 bit
    - rel 4

 ffmpeg3.patch | 11 +++++++++++
 xine-lib.spec |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/xine-lib.spec b/xine-lib.spec
index be02dc1..9818362 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -40,7 +40,7 @@ Summary(pl.UTF-8):	Odtwarzacz filmów
 Summary(pt_BR.UTF-8):	Xine, um player de video
 Name:		xine-lib
 Version:	1.2.6
-Release:	3
+Release:	4
 Epoch:		2
 License:	GPL v2+
 Group:		Libraries
diff --git a/ffmpeg3.patch b/ffmpeg3.patch
index 4169721..690d367 100644
--- a/ffmpeg3.patch
+++ b/ffmpeg3.patch
@@ -38,3 +38,14 @@
    this->context           = avcodec_alloc_context();
    this->context->opaque   = this;
  #if AVPALETTE == 1
+--- xine-lib-1.2.6/src/dxr3/ffmpeg_encoder.c~	2014-03-13 05:06:09.000000000 +0100
++++ xine-lib-1.2.6/src/dxr3/ffmpeg_encoder.c	2016-03-21 09:53:09.998107003 +0100
+@@ -161,7 +161,7 @@
+       "dxr3_mpeg_encoder: Couldn't start the ffmpeg library\n");
+     return 0;
+   }
+-  this->picture = avcodec_alloc_frame();
++  this->picture = av_frame_alloc();
+   if (!this->picture) {
+     xprintf(drv->class->xine, XINE_VERBOSITY_LOG,
+       "dxr3_mpeg_encoder: Couldn't allocate ffmpeg frame\n");
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xine-lib.git/commitdiff/99636ae468083c45f06811090769f4ea8f7a9e56



More information about the pld-cvs-commit mailing list