GNOME Bugzilla – Bug 325990
patch videotestsrc for using glib types
Last modified: 2006-01-10 10:12:46 UTC
Index: ./gst-plugins-base/gst/videotestsrc/videotestsrc.h =================================================================== RCS file: /cvs/gstreamer/gst-plugins-base/gst/videotestsrc/videotestsrc.h,v retrieving revision 1.15 diff -u -r1.15 videotestsrc.h --- ./gst-plugins-base/gst/videotestsrc/videotestsrc.h 6 Dec 2005 19:42:00 -0000 1.15 +++ ./gst-plugins-base/gst/videotestsrc/videotestsrc.h 6 Jan 2006 15:25:09 -0000 @@ -20,12 +20,10 @@ #ifndef __VIDEO_TEST_SRC_H__ #define __VIDEO_TEST_SRC_H__ -#include "_stdint.h" - struct vts_color_struct { - uint8_t Y, U, V; - uint8_t R, G, B; + guint8 Y, U, V; + guint8 R, G, B; }; typedef struct paintinfo_struct paintinfo;
Applied, thanks! (And btw, it's usually a good idea to provide a rationale for a patch as well, so we don't have to second-guess or try to remember what was said on IRC days ago ;)) 2006-01-10 Tim-Philipp Müller <tim at centricular dot net> * gst/videotestsrc/videotestsrc.h: Use GLib types here (that way we don't have to include the generated _stdint.h header, which makes life easier for win32 folks that don't use autotools for the build) (#325990, patch by: Sergey Scobich).