History

Implement avfilter_copy_picref_props().

Originally committed as revision 24091 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 16 years ago

Commit 4d508e41 parent 00f72571 file · +15 −2Browse files

Showing the changes to libavfilter/avfilter.h (1 of 1 file). Show all

Unified · Split

libavfilter/avfilter.h+15−2
@@ -25,8 +25,8 @@ · 24 unmodified lines
2525 #include "libavutil/avutil.h"
2626
2727 #define LIBAVFILTER_VERSION_MAJOR 1
28−#define LIBAVFILTER_VERSION_MINOR 20
29−#define LIBAVFILTER_VERSION_MICRO 1
28+#define LIBAVFILTER_VERSION_MINOR 21
29+#define LIBAVFILTER_VERSION_MICRO 0
3030
3131 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
3232 LIBAVFILTER_VERSION_MINOR, \
@@ -120,6 +120,19 @@ typedef struct AVFilterPicRef · 87 unmodified lines
120120 int top_field_first;
121121 } AVFilterPicRef;
122122
123+/**
124+ * Copy properties of src to dst, without copying the actual video
125+ * data.
126+ */
127+static inline void avfilter_copy_picref_props(AVFilterPicRef *dst, AVFilterPicRef *src)
128+{
129+ dst->pts = src->pts;
130+ dst->pos = src->pos;
131+ dst->pixel_aspect = src->pixel_aspect;
132+ dst->interlaced = src->interlaced;
133+ dst->top_field_first = src->top_field_first;
134+}
135+
123136 /**
124137 * Add a new reference to a picture.
125138 * @param ref an existing reference to the picture

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t