Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/avfilter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index b14f814c63..5f4968bb38 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -53,7 +53,7 @@ typedef struct AVFilterPic
* and dimensions are per-reference properties. Linesize is also useful for
* image flipping, frame to field filters, etc, and so is also per-reference.
*
- * TODO: add pts, and anything necessary for frame reordering
+ * TODO: add anything necessary for frame reordering
*/
typedef struct AVFilterPicRef
{
@@ -62,6 +62,8 @@ typedef struct AVFilterPicRef
int linesize[4];
int w, h;
+ int64_t pts; ///< presentation timestamp in milliseconds
+
int perms; ///< permissions
#define AV_PERM_READ 0x01 ///< can read from the buffer
#define AV_PERM_WRITE 0x02 ///< can write to the buffer