Commit db9f635a authored by vitor's avatar vitor

Add pts to frame references

Commited in SoC by Bobby Bingham on 2007-07-14 17:31:40


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12083 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a17d66b7
...@@ -53,7 +53,7 @@ typedef struct AVFilterPic ...@@ -53,7 +53,7 @@ typedef struct AVFilterPic
* and dimensions are per-reference properties. Linesize is also useful for * and dimensions are per-reference properties. Linesize is also useful for
* image flipping, frame to field filters, etc, and so is also per-reference. * 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 typedef struct AVFilterPicRef
{ {
...@@ -62,6 +62,8 @@ typedef struct AVFilterPicRef ...@@ -62,6 +62,8 @@ typedef struct AVFilterPicRef
int linesize[4]; int linesize[4];
int w, h; int w, h;
int64_t pts; ///< presentation timestamp in milliseconds
int perms; ///< permissions int perms; ///< permissions
#define AV_PERM_READ 0x01 ///< can read from the buffer #define AV_PERM_READ 0x01 ///< can read from the buffer
#define AV_PERM_WRITE 0x02 ///< can write to the buffer #define AV_PERM_WRITE 0x02 ///< can write to the buffer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment