public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-php5/ffmpeg-php/files: ffmpeg-php-0.6.0-avutil50.patch
@ 2009-09-22  4:44 Alexis Ballier (aballier)
  0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier (aballier) @ 2009-09-22  4:44 UTC (permalink / raw
  To: gentoo-commits

aballier    09/09/22 04:44:18

  Added:                ffmpeg-php-0.6.0-avutil50.patch
  Log:
  Fix build with latest ffmpeg, by Thomas Scheiblauer <thomas.scheiblauer@hauptversammlung.at>, bug #283998
  (Portage version: 2.2_rc41/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-php5/ffmpeg-php/files/ffmpeg-php-0.6.0-avutil50.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ffmpeg-php/files/ffmpeg-php-0.6.0-avutil50.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ffmpeg-php/files/ffmpeg-php-0.6.0-avutil50.patch?rev=1.1&content-type=text/plain

Index: ffmpeg-php-0.6.0-avutil50.patch
===================================================================
Index: ffmpeg-php-0.6.0/ffmpeg_frame.c
===================================================================
--- ffmpeg-php-0.6.0.orig/ffmpeg_frame.c
+++ ffmpeg-php-0.6.0/ffmpeg_frame.c
@@ -333,7 +333,7 @@ FFMPEG_PHP_METHOD(ffmpeg_frame, toGDImag
 
     GET_FRAME_RESOURCE(getThis(), ff_frame);
 
-    _php_convert_frame(ff_frame, PIX_FMT_RGBA32);
+    _php_convert_frame(ff_frame, PIX_FMT_RGB32);
 
     return_value->value.lval = _php_get_gd_image(ff_frame->width, 
             ff_frame->height);
@@ -418,7 +418,7 @@ FFMPEG_PHP_METHOD(ffmpeg_frame, ffmpeg_f
 
             /* create a an av_frame and allocate space for it */
             frame = avcodec_alloc_frame();
-            avpicture_alloc((AVPicture*)frame, PIX_FMT_RGBA32, width, height);
+            avpicture_alloc((AVPicture*)frame, PIX_FMT_RGB32, width, height);
 
             /* copy the gd image to the av_frame */
             _php_gd_image_to_avframe(gd_img, frame, width, height);
@@ -429,7 +429,7 @@ FFMPEG_PHP_METHOD(ffmpeg_frame, ffmpeg_f
             /* set the ffpmeg_frame's properties */
             ff_frame->width = width;
             ff_frame->height = height;
-            ff_frame->pixel_format = PIX_FMT_RGBA32;
+            ff_frame->pixel_format = PIX_FMT_RGB32;
             break;
         default:
             zend_error(E_ERROR, "Invalid argument\n");






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-php5/ffmpeg-php/files: ffmpeg-php-0.6.0-avutil50.patch
@ 2011-12-14 22:30 Matti Bickel (mabi)
  0 siblings, 0 replies; 2+ messages in thread
From: Matti Bickel (mabi) @ 2011-12-14 22:30 UTC (permalink / raw
  To: gentoo-commits

mabi        11/12/14 22:30:04

  Removed:              ffmpeg-php-0.6.0-avutil50.patch
  Log:
  Moving package from dev-php5 to dev-php category (bug #324665)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-14 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 22:30 [gentoo-commits] gentoo-x86 commit in dev-php5/ffmpeg-php/files: ffmpeg-php-0.6.0-avutil50.patch Matti Bickel (mabi)
  -- strict thread matches above, loose matches on Subject: below --
2009-09-22  4:44 Alexis Ballier (aballier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox