From: Wim T. <wt...@us...> - 2002-06-02 11:54:51
|
CVS Root: /cvsroot/gstreamer Module: gstreamer Changes by: wtay Date: Sun Jun 02 2002 04:54:48 PDT Log message: Remove the media specific types, the unit type is now defined by the caps (frames/samples/etc..) Modified files: gst : gstformat.h Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstformat.h.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: gstformat.h =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/gst/gstformat.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstformat.h 31 May 2002 08:51:32 -0000 1.2 +++ gstformat.h 2 Jun 2002 11:54:36 -0000 1.3 @@ -32,16 +32,11 @@ GST_FORMAT_NONE = 0, GST_FORMAT_DEFAULT = 1, GST_FORMAT_BYTES = 2, - GST_FORMAT_TIME = 6, - GST_FORMAT_BUFFERS = 7, - GST_FORMAT_PERCENT = 8, - - /* audio related */ - GST_FORMAT_SAMPLES = 3, - - /* video related */ - GST_FORMAT_FRAMES = 4, /* can also be used for compressed audio */ - GST_FORMAT_FIELDS = 5, + GST_FORMAT_TIME = 3, + GST_FORMAT_BUFFERS = 4, + GST_FORMAT_PERCENT = 5, + /* samples for audio, frames/fields for video */ + GST_FORMAT_UNIT = 6, } GstFormat; G_END_DECLS |