]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avcodec.h
vf_scale: support dynamically changing input parameters.
[ffmpeg] / libavfilter / avcodec.h
index cec847146fac5e0d0aac53286b7d212683edeb60..9636cfd1bc3943e4591c182044f18c5423d85492 100644 (file)
 /**
  * Copy the frame properties of src to dst, without copying the actual
  * image data.
+ *
+ * @return 0 on success, a negative number on error.
  */
 int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src);
 
+/**
+ * Copy the frame properties and data pointers of src to dst, without copying
+ * the actual data.
+ *
+ * @return 0 on success, a negative number on error.
+ */
+int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src);
+
 /**
  * Create and return a picref reference from the data and properties
  * contained in frame.