Change the marshalilng of element_added/element_removed signals to use gst_marshal_VO...
[platform/upstream/gstreamer.git] / ChangeLog
1 2004-01-03  Jan Schmidt  <thaytan@mad.scientist.com>
2
3         * gst/gstbin.c: (gst_bin_class_init):
4         Change the marshalling of element_added/element_removed
5         to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER 
6         complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
7
8 2004-01-01  David Schleef  <ds@schleef.org>
9
10         * gst/gstpad.c: (gst_pad_set_explicit_caps),
11         (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
12         (gst_pad_use_explicit_caps):
13         * gst/gstpad.h:
14         Add new functions.  gst_pad_use_explicit_caps() sets up a pad
15         to use an internal getcaps and link fuction so that negotiation
16         always results in the explicitly set caps.
17         gst_pad_set_explicit_caps() sets the explicit caps.  These functions
18         are particularly useful for decoders.
19
20 2003-12-31  David Schleef  <ds@schleef.org>
21
22         * gst/elements/gstidentity.c: (gst_identity_class_init),
23         (gst_identity_init), (gst_identity_chain),
24         (gst_identity_set_property), (gst_identity_get_property):
25         * gst/elements/gstidentity.h:
26         * gst/gstqueue.c: (gst_queue_init):
27           Negotiation fixes.
28
29 2003-12-31  David Schleef  <ds@schleef.org>
30
31         * gst/gstcaps.c: (gst_caps_intersect),
32         (_gst_caps_normalize_foreach), (gst_caps_normalize):
33           Implement gst_caps_normalize().
34         * testsuite/caps/normalisation.c: (main):
35           Add an additional test
36
37 2003-12-31  Ronald Bultje  <rbultje@ronald.bitfreak.net>
38
39         * gst/gstqueue.c: (gst_queue_init):
40           use gst_pad_proxy_getcaps()
41
42 2003-12-31  David Schleef  <ds@schleef.org>
43
44         * gst/elements/gstshaper.c: (gst_shaper_link):
45         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
46         * gst/gstqueue.c: (gst_queue_link):
47           Negotiation fixes.
48
49 2003-12-31  David Schleef  <ds@schleef.org>
50
51         * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
52         * gst/gstpad.h: Add functions that are useful as default pad
53         link and fixate functions for elements.
54
55 2003-12-30  David Schleef  <ds@schleef.org>
56
57         * gst/gstpad.c: (gst_pad_link_try):
58           Fix segfault when attempting to return to old caps
59
60 2003-12-29  David Schleef  <ds@schleef.org>
61
62         * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
63         (gst_caps_structure_simplify), (gst_caps_simplify):
64         * gst/gstcaps.h:
65           Add simplify function
66         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
67         (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
68         * gst/gstpad.h:
69           Copy over srcnotify, sinknotify when calling old pad_link
70           functions.  Add new is_negotiated() function.
71         * gst/gststructure.c: (gst_structure_copy):
72           Fix an incredibly stupid bug that should have been noticed
73           weeks ago.  _copy() returned the argument, not the new copy.
74
75 2003-12-27  Benjamin Otte  <in7y118@public.uni-hamburg.de>
76
77         * gst/gstcaps.c: (gst_caps_append):
78           add sanity checks
79         * gst/gstcaps.h: (gst_caps_debug):
80           remove, it doesn't exist anymore.
81         * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
82         (gst_element_threadsafe_properties_post_run):
83           make debugging messages not clutter up THREAD debug category
84         (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
85         (gst_element_change_state):
86           update to new caps API
87         * gst/gstinterface.c: (gst_implements_interface_cast):
88           don't put vital code in g_return_if_fail
89         * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps), 
90         (gst_pad_link_filtered):
91           add pst_pad_try_link and use it.
92         (gst_pad_perform_negotiate), (gst_pad_renegotiate):
93           implement correctly, deprecate first one.
94         (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
95           add and implement.
96         (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
97           implement.
98         (gst_pad_get_negotiated_caps):
99           add and implement. Make GST_PAD_CAPS call this function.
100         (gst_pad_get_caps):
101           remove unneeded check..
102         (gst_pad_recover_caps_error):
103           disable, always return FALSE.
104         (gst_real_pad_dispose):
105           don't free caps and appfilter anymore, they're unused.
106         * gst/gstpad.h:
107           Reflect changes mentioned above.
108         * gst/gstsystemclock.c: (gst_system_clock_wait):
109           Make 'clock is way behind' a debugging message.
110         * gst/gstthread.c: (gst_thread_change_state):
111           Fix debugging message
112
113 2003-12-25  Thomas Vander Stichele  <thomas at apestaart dot org>
114
115         * gst/gstinfo.h:
116           fix GST_DEBUG_CATEGORY_INIT gtk-doc description
117         * docs/gst/tmpl/gstreamer-unused.sgml:
118           removed all traces of cvs conflicts
119
120 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
121
122         * configure.ac:
123         * gst/schedulers/cothreads_compat.h:
124         * libs/Makefile.am:
125           remove last instances of wingo cothread usage
126
127 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
128
129         * gst/gstplugin.c:
130         * gst/gstversion.h.in:
131         * gst/parse/grammar.y:
132           change comment block from /** to /* when not gtk-doc comments
133
134 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
135
136         * gst/gst.c: whitespace and doc style fixes
137
138 2003-12-24  Thomas Vander Stichele  <thomas at apestaart dot org>
139
140         * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
141
142 2003-12-24  Colin Walters  <walters@verbum.org>
143
144         * gst/elements/gsttypefindelement.c:
145           gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
146           Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
147           Don't double-free caps.
148
149 2003-12-23  David Schleef  <ds@schleef.org>
150
151         * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
152           gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
153           Many little fixes and additions of debug statements to
154           get rhythmbox working.
155
156 2003-12-23  Colin Walters  <walters@verbum.org>
157
158         * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
159         Use GST_PAD_LINK_SUCCESSFUL.
160
161 2003-12-23  David Schleef  <ds@schleef.org>
162
163         * gst/elements/gstaggregator.c:
164         * gst/elements/gsttee.c:
165           Use gst_pad_proxy_getcaps().
166         * gst/gstpad.c:
167         * gst/gstpad.h:
168           Add gst_pad_proxy_getcaps(), which filter elements can use
169           as a generic getcaps implementation.
170           Fix gst_pad_get_allowed_caps().  It just wasn't doing what
171           was advertised.
172
173 2003-12-23  David Schleef  <ds@schleef.org>
174
175         * gst/gstpad.c:
176           Rearrange/rewrite much of the pad negotiation code, since it
177           resembled pasta.  This actually changes the way some
178           negotiation works, since the previous code was inconsistent
179           depending on how it was invoked.  Add (internal) structure
180           GstPadLink, which is used to hold some information (more in
181           the future) about the link between two pads.  Fixes a number
182           of bugs, including random lossage of filter caps when the
183           initial negotiation is delayed.  A few functions are still
184           unimplemented.
185         * gst/gstpad.h:
186           Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
187           these when testing GstPadLinkReturn values instead of comparing
188           directly.
189
190 2003-12-23  David Schleef  <ds@schleef.org>
191
192         * gst/gstvalue.c: 
193         * gst/gstvalue.h:
194           Rearrange lots of code.  Change registration of compare function
195           into registration of compare/serialize/deserialize functions.
196           Doesn't include implementation of gst_value_[de]serialize(),
197           but that should be easy.
198
199 2003-12-23  Thomas Vander Stichele  <thomas at apestaart dot org>
200
201         * docs/gst/gstreamer-sections.txt:
202         * docs/gst/tmpl/gstprops.sgml: removed
203         * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
204           David removed props and caps code, so let's remove their docs as well.
205           Removed all no longer existing symbols from gstreamer-sections.txt
206           
207 2003-12-22  Colin Walters  <walters@verbum.org>
208
209         * gst/gsttaginterface.c, gst/gsttaginterface.h,
210           gst/gsttag.c, gst/gsttag.h:  Add interface to setting GValues
211           of tags directly.
212
213 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
214
215         * gst/elements/gstelements.c:
216           Set ranks of elements to NONE, so the autoplugger doesn't use them.
217         * gst/elements/gstshaper.c: (gst_shaper_getcaps):
218           Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
219           gst_caps (peer).
220
221 2003-12-22  Benjamin Otte  <in7y118@public.uni-hamburg.de>
222
223         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
224         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
225         (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
226         (gst_spider_identity_sink_loop_type_finding):
227         * gst/autoplug/gstspideridentity.h:
228           Fix autoplugging in spider element, so it works with new caps.
229           This was mainly caused by identifying empty caps incorrectly.
230
231 2003-12-22  David Schleef  <ds@schleef.org>
232
233         * gststructure.c, gstvalue.c, gstvalue.h: Add
234           gst_value_init_and_copy() and use it, to avoid silly mistakes in
235           using g_value_copy()
236
237 2003-12-21  David Schleef  <ds@schleef.org>
238
239         * many, many files: Merge CAPS branch.  This includes:
240           - implemention of GstValue and several GstValue types
241           - implemention of GstStructure
242           - entire rewrite of GstCaps
243           - removal of GstProps
244           - many changes to GstPad to compensate for new caps paradigm
245           - removal of GstBufferpool
246         * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
247         gstvalue.h, gst/gstcaps[2]*.[ch]:
248           - rename gstcaps2.[ch] to gstcaps.[ch]
249
250 2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>
251
252         * gst/gstqueue.c: (gst_queue_handle_pending_events),
253         (gst_queue_chain), (gst_queue_handle_src_event):
254           implement timeout for sending events. Workaround for if the
255           pipeline on this queue is not passing any data.
256
257 2003-12-21  Ronald Bultje <rbultje@ronald.bitfreak.net>
258                                                                                 
259         * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
260         * moved CVS to freedesktop.org
261