summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-07-07 18:23:54 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-07-07 18:23:54 +0000
commit4d508e4de54ba3d4bbcc1df3dc8a7a027006a71f (patch)
treefe7691170499daed0569a0ba967bdc27854b9218 /libavfilter
parent00f72577adc7377cc28c46ebef75c18b10bc32e5 (diff)
Implement avfilter_copy_picref_props().
Originally committed as revision 24091 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index f8b765458d..e7ed0e1ded 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -25,8 +25,8 @@
#include "libavutil/avutil.h"
#define LIBAVFILTER_VERSION_MAJOR 1
-#define LIBAVFILTER_VERSION_MINOR 20
-#define LIBAVFILTER_VERSION_MICRO 1
+#define LIBAVFILTER_VERSION_MINOR 21
+#define LIBAVFILTER_VERSION_MICRO 0
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
LIBAVFILTER_VERSION_MINOR, \
@@ -121,6 +121,19 @@ typedef struct AVFilterPicRef
} AVFilterPicRef;
/**
+ * Copy properties of src to dst, without copying the actual video
+ * data.
+ */
+static inline void avfilter_copy_picref_props(AVFilterPicRef *dst, AVFilterPicRef *src)
+{
+ dst->pts = src->pts;
+ dst->pos = src->pos;
+ dst->pixel_aspect = src->pixel_aspect;
+ dst->interlaced = src->interlaced;
+ dst->top_field_first = src->top_field_first;
+}
+
+/**
* Add a new reference to a picture.
* @param ref an existing reference to the picture
* @param pmask a bitmask containing the allowable permissions in the new