[SCM] libav/experimental: Add pts to frame references
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:14:52 UTC 2013
The following commit has been merged in the experimental branch:
commit 1a18860a8ffe22b0d2f05637ccd02d80745e121e
Author: Vitor Sessak <vitor1001 at gmail.com>
Date: Fri Feb 15 22:12:50 2008 +0000
Add pts to frame references
Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40
Originally committed as revision 12083 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index b14f814..5f4968b 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
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list