From 5ee674182742171c24a3f648bd57231d086f2d95 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 13 Feb 2007 09:10:53 +0000 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ docs/design/draft-klass.txt | 12 +++++++++++- gst/gstcaps.c | 8 ++++---- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8eb354c5f0..45a9c7f63d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-02-13 Stefan Kost + + * docs/design/draft-klass.txt: + Add existing category analysis. + + * gst/gstcaps.c: + Fix doc example, framerate is a fraction. + 2007-02-12 Stefan Kost * 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: [/]*[/]* @@ -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