diff options
author | Edward Hervey <edward@collabora.com> | 2012-07-26 18:36:53 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2012-07-26 18:38:42 +0200 |
commit | 6423a4027ecb75958af6f9def2e31c62483bf684 (patch) | |
tree | f12664fbce5643d8c097086e39d8eeaac24227bb /gst-libs/gst/video/gstvideoutils.h | |
parent | 40a0624e99de34241cd80a81e484f8ac787a3d31 (diff) |
video: Make all frame_number guint32
Unifies the code and ensures that:
* subclasses needing to use the frame_number on a void* field will
always work
* wraparounds will be automatically taken care of if we have to deal
with more than 2**32 frames
Diffstat (limited to 'gst-libs/gst/video/gstvideoutils.h')
-rw-r--r-- | gst-libs/gst/video/gstvideoutils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/video/gstvideoutils.h b/gst-libs/gst/video/gstvideoutils.h index 60e27eabf..50cb2b56f 100644 --- a/gst-libs/gst/video/gstvideoutils.h +++ b/gst-libs/gst/video/gstvideoutils.h @@ -222,9 +222,9 @@ struct _GstVideoCodecFrame guint32 flags; /*< public >*/ - gint system_frame_number; /* ED */ - gint decode_frame_number; /* ED */ - gint presentation_frame_number; /* ED */ + guint32 system_frame_number; /* ED */ + guint32 decode_frame_number; /* ED */ + guint32 presentation_frame_number; /* ED */ GstClockTime dts; /* ED */ GstClockTime pts; /* ED */ |