[FFmpeg-cvslog] r24091 - trunk/libavfilter/avfilter.h
stefano
subversion
Wed Jul 7 20:23:54 CEST 2010
Author: stefano
Date: Wed Jul 7 20:23:54 2010
New Revision: 24091
Log:
Implement avfilter_copy_picref_props().
Modified:
trunk/libavfilter/avfilter.h
Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h Wed Jul 7 20:14:58 2010 (r24090)
+++ trunk/libavfilter/avfilter.h Wed Jul 7 20:23:54 2010 (r24091)
@@ -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
More information about the ffmpeg-cvslog
mailing list