diff options
author | Stefan Kost <ensonic@users.sourceforge.net> | 2007-02-13 09:10:53 +0000 |
---|---|---|
committer | Stefan Kost <ensonic@users.sourceforge.net> | 2007-02-13 09:10:53 +0000 |
commit | 5ee674182742171c24a3f648bd57231d086f2d95 (patch) | |
tree | e8c1906933b1a6a8ca6836e1edb3e2acfbe67b27 | |
parent | f7f2e89e636dfbdf0eb7da14806a9415f18b5dd5 (diff) | |
download | gstreamer-5ee674182742171c24a3f648bd57231d086f2d95.tar.gz |
docs/design/draft-klass.txt: Add existing category analysis.
Original commit message from CVS:
* docs/design/draft-klass.txt:
Add existing category analysis.
* gst/gstcaps.c:
Fix doc example, framerate is a fraction.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | docs/design/draft-klass.txt | 12 | ||||
-rw-r--r-- | gst/gstcaps.c | 8 |
3 files changed, 23 insertions, 5 deletions
@@ -1,3 +1,11 @@ +2007-02-13 Stefan Kost <ensonic@users.sf.net> + + * docs/design/draft-klass.txt: + Add existing category analysis. + + * gst/gstcaps.c: + Fix doc example, framerate is a fraction. + 2007-02-12 Stefan Kost <ensonic@users.sf.net> * configure.ac: diff --git a/docs/design/draft-klass.txt b/docs/design/draft-klass.txt index 22f2969c54..35e85877bf 100644 --- a/docs/design/draft-klass.txt +++ b/docs/design/draft-klass.txt @@ -105,6 +105,16 @@ Proposal: * Visualisation : intended to be used for audio visualisation * Debug : intended usage is more for debugging purposes. + - Categories found, but not yet in one of the above lists + + * Bin : playbin, decodebin, bin, pipeline + * Codec : lots of decoders, encoder, demuxers + should be removed? + * Generic : should be removed? + * File : like network, should go to Extra? + * Editor : gnonlin, textoverlays + * DVD, GDP, LADSPA, Parser, Player, Subtitle, Testing, ... + 3) suggested order: <functional>[/<media type>]*[/<extra...>]* @@ -138,7 +148,7 @@ Proposal: decodebin : Decoder/Demuxer level : Filter/Analyzer/Audio tee : Connector/Debug - + Use cases: - get a list of all elements implementing a video effect (pitivi): diff --git a/gst/gstcaps.c b/gst/gstcaps.c index c923e4bff3..0e21170b95 100644 --- a/gst/gstcaps.c +++ b/gst/gstcaps.c @@ -26,8 +26,8 @@ * They are composed of an array of #GstStructure. * * Caps are exposed on #GstPadTemplate to describe all possible types a - * given pad can handle. They are also stored in the registry along with - * a description of the element. + * given pad can handle. They are also stored in the #GstRegistry along with + * a description of the #GstElement. * * Caps are exposed on the element pads using the gst_pad_get_caps() pad * function. This function describes the possible types that the pad can @@ -45,7 +45,7 @@ * GstCaps *caps; * caps = gst_caps_new_simple ("video/x-raw-yuv", * "format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('I', '4', '2', '0'), - * "framerate", G_TYPE_DOUBLE, 25.0, + * "framerate", GST_TYPE_FRACTION, 25, 1, * "pixel-aspect-ratio", GST_TYPE_FRACTION, 1, 1, * "width", G_TYPE_INT, 320, * "height", G_TYPE_INT, 240, @@ -60,7 +60,7 @@ * Various methods exist to work with the media types such as subtracting * or intersecting. * - * Last reviewed on 2005-11-23 (0.9.5) + * Last reviewed on 2007-02-13 (0.10.10) */ #ifdef HAVE_CONFIG_H |