summaryrefslogtreecommitdiff
path: root/gst-libs/gst/video/gstvideoutils.h
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2012-07-26 18:36:53 +0200
committerEdward Hervey <edward@collabora.com>2012-07-26 18:38:42 +0200
commit6423a4027ecb75958af6f9def2e31c62483bf684 (patch)
treef12664fbce5643d8c097086e39d8eeaac24227bb /gst-libs/gst/video/gstvideoutils.h
parent40a0624e99de34241cd80a81e484f8ac787a3d31 (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.h6
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 */