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