From 4a81d9b9116d151179c25d371c07620e222abcbe Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 20 Jun 2005 15:13:43 +0000 Subject: [PATCH] docs/random/wingo/porting-plugins-to-0.9: A pitiful document I will be adding to later. Original commit message from CVS: 2005-06-20 Andy Wingo * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I will be adding to later. --- ChangeLog | 3 +++ docs/random/wingo/porting-plugins-to-0.9 | 32 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 docs/random/wingo/porting-plugins-to-0.9 diff --git a/ChangeLog b/ChangeLog index 923d280f42..51d804e1bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-06-20 Andy Wingo + * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I + will be adding to later. + * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock if its socks fill with rocks. (gst_system_clock_obtain): Set the name on object construction. diff --git a/docs/random/wingo/porting-plugins-to-0.9 b/docs/random/wingo/porting-plugins-to-0.9 new file mode 100644 index 0000000000..dc56f73323 --- /dev/null +++ b/docs/random/wingo/porting-plugins-to-0.9 @@ -0,0 +1,32 @@ +-*- outline -*- + + +Some collected notes porting plugins to GStreamer 0.9. + + +* General notes + +Consider using the base classes. There are base classes for sources, +sinks, and "transformers", which are plugins that have the same caps on +their source and sink sides. + +These base classes offer interfaces that are much more appropriate to +the function of specific plugins than the general GstElement interface. + + +* Functions that changed + +** gst_pad_use_explicit_caps +** gst_pad_set_explicit_caps + +Not needed; just set the caps on the first buffer you push out. + +** gst_element_set_loop_function + +Use gst_pad_set_loop_function. Note that loop-based elements participate +more in the scheduling process in 0.9, so you'll need to add hooks to +the activate function to start up a task. + +refcounting: +_get_ accessors +GValue, GstObject, and refcounts (arrrrgh) \ No newline at end of file -- 2.34.1