25 lines
739 B
Plaintext
25 lines
739 B
Plaintext
$OpenBSD: patch-ffmpeg_frame_h,v 1.2 2009/08/17 00:24:38 jolan Exp $
|
|
--- ffmpeg_frame.h.orig Mon Oct 13 18:02:40 2008
|
|
+++ ffmpeg_frame.h Sun Aug 16 18:27:37 2009
|
|
@@ -40,17 +40,19 @@
|
|
|
|
#include <avcodec.h>
|
|
#include <avformat.h>
|
|
+#include <avutil.h>
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
/* object can't be created from user space so no PHP constructor */
|
|
-//FFMPEG_PHP_METHOD(ffmpeg_frame, __construct);
|
|
+//FFMPEG_PHP_CONSTRUCTOR(ffmpeg_frame, __construct);
|
|
|
|
/* frame methods */
|
|
FFMPEG_PHP_METHOD(ffmpeg_frame, getWidth);
|
|
FFMPEG_PHP_METHOD(ffmpeg_frame, getHeight);
|
|
+FFMPEG_PHP_METHOD(ffmpeg_frame, resize);
|
|
FFMPEG_PHP_METHOD(ffmpeg_frame, isKeyFrame);
|
|
FFMPEG_PHP_METHOD(ffmpeg_frame, getPresentationTimestamp);
|
|
|