mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
Remove the media specific types, the unit type is now defined by the caps (frames/samples/etc..)
Original commit message from CVS: Remove the media specific types, the unit type is now defined by the caps (frames/samples/etc..)
This commit is contained in:
parent
54580cf3fb
commit
ee7c28d455
1 changed files with 5 additions and 10 deletions
|
@ -32,16 +32,11 @@ typedef enum {
|
||||||
GST_FORMAT_NONE = 0,
|
GST_FORMAT_NONE = 0,
|
||||||
GST_FORMAT_DEFAULT = 1,
|
GST_FORMAT_DEFAULT = 1,
|
||||||
GST_FORMAT_BYTES = 2,
|
GST_FORMAT_BYTES = 2,
|
||||||
GST_FORMAT_TIME = 6,
|
GST_FORMAT_TIME = 3,
|
||||||
GST_FORMAT_BUFFERS = 7,
|
GST_FORMAT_BUFFERS = 4,
|
||||||
GST_FORMAT_PERCENT = 8,
|
GST_FORMAT_PERCENT = 5,
|
||||||
|
/* samples for audio, frames/fields for video */
|
||||||
/* audio related */
|
GST_FORMAT_UNIT = 6,
|
||||||
GST_FORMAT_SAMPLES = 3,
|
|
||||||
|
|
||||||
/* video related */
|
|
||||||
GST_FORMAT_FRAMES = 4, /* can also be used for compressed audio */
|
|
||||||
GST_FORMAT_FIELDS = 5,
|
|
||||||
} GstFormat;
|
} GstFormat;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
Loading…
Reference in a new issue