1 2005-08-17 Andy Wingo <wingo@pobox.com>
3 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
4 play-timeout==0 to mean no timeout at all. In that case, don't
5 bother with a get_state or a warning, just return directly, even
8 * gst/base/gstbasetransform.c: Debug changes.
11 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12 ensure bins post state change messages. A bit of a hack but I can't
13 think of a way to avoid it.
15 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
17 2005-08-16 Andy Wingo <wingo@pobox.com>
19 * gst/base/gstadapter.h:
20 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21 peek() but you own the data. Not terribly efficient atm.
23 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
26 (gst_element_found_tags):
28 Add two utility functions for tag handling.
30 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
32 * docs/manual/advanced-dataaccess.xml:
33 * docs/manual/basics-helloworld.xml:
34 Fix docs to use _bin_add() before _link(), which fixes the examples
35 with recent core versions (reported by Madhan Raj M
36 <raj_madan@rediffmail.com>, #313199).
38 2005-08-16 Wim Taymans <wim@fluendo.com>
40 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
41 Added subtract checks.
43 * docs/design/part-events.txt:
44 Some more docs about newsegment
46 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
49 * gst/gstcaps.c: (gst_caps_to_string):
50 Add comments, cleanups.
52 * gst/gstelement.c: (gst_element_save_thyself):
55 * gst/gstvalue.c: (gst_value_collect_int_range),
56 (gst_string_unwrap), (gst_value_union_int_int_range),
57 (gst_value_union_int_range_int_range),
58 (gst_value_intersect_int_int_range),
59 (gst_value_intersect_int_range_int_range),
60 (gst_value_intersect_double_double_range),
61 (gst_value_intersect_double_range_double_range),
62 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
63 (gst_value_subtract_int_range_int),
64 (gst_value_subtract_double_range_double),
65 (gst_value_subtract_double_range_double_range),
66 (gst_value_subtract_from_list), (gst_value_subtract_list),
67 (gst_value_can_compare), (gst_value_compare_fraction):
68 Cleanups, add comments, remove unneeded asserts.
70 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
72 * tools/gst-launch.c: (event_loop):
73 don't convert NULL structures to strings
75 2005-08-15 Stefan Kost <ensonic@users.sf.net>
77 * docs/gst/gstreamer-sections.txt:
78 made some defines private
79 * docs/gst/tmpl/gstconfig.sgml:
80 * docs/gst/tmpl/gstqueue.sgml:
81 * docs/gst/tmpl/gsttaglist.sgml:
82 * docs/gst/tmpl/gsttypes.sgml:
83 * docs/gst/tmpl/gstutils.sgml:
84 * docs/pwg/appendix-porting.xml:
85 * gst/base/gstbasesink.h:
86 * gst/base/gstbasesrc.c:
87 * gst/base/gstbasesrc.h:
88 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
89 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
90 * gst/gstelement.c: (gst_element_class_init):
91 * gst/gstpad.c: (gst_pad_class_init):
92 * gst/gstqueue.c: (gst_queue_class_init):
93 * gst/gstxml.c: (gst_xml_class_init):
94 documented all undocumented signal inline
95 * libs/gst/controller/gst-controller.h:
98 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
100 * docs/pwg/appendix-porting.xml:
101 Document _set_link_function -> _set_setcaps_function.
103 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
106 add a .check target for running the check
107 * check/gst-libs/controller.c: (GST_START_TEST):
109 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
110 complete checks for gstbuffer; would be nice if I could get the
111 gcov stuff to work so I can see if I actually completed gstbuffer.c
113 add ASSERT_BUFFER_REFCOUNT
115 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
117 * docs/gst/gstreamer-sections.txt:
118 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
120 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
121 spew out a warning if a tag that is already registered
122 is re-registered, unless it is re-registered with a
123 different type (#308438).
125 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
127 * docs/pwg/appendix-porting.xml:
128 * docs/pwg/building-state.xml:
129 Add some paragraphs about state changes in 0.9 to the PWG
130 and the porting guide, in particular about the new meaning
131 of GST_STATE_PAUSED and how to write state change functions
132 with concurrent access by multiple threads in mind.
134 2005-08-11 Stefan Kost <ensonic@users.sf.net>
136 * docs/gst/gstreamer-docs.sgml:
137 * docs/libs/gstreamer-libs-docs.sgml:
138 added deprecation and since indexes
139 * libs/gst/controller/gst-controller.c:
140 * libs/gst/controller/gst-helper.c:
144 2005-08-11 Wim Taymans <wim@fluendo.com>
146 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
147 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
148 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
149 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
150 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
151 (gst_ghost_pad_set_target):
152 Actually implement (re)setting the target on a ghostpad
153 as described in the docs.
155 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
157 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
158 Check whether GST_DEBUG_NO_COLOR environment variable is
159 set and disable coloured debug output if that is the case.
161 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
163 * gst/base/gsttypefindhelper.c: (helper_find_peek),
164 (gst_type_find_helper):
165 The memory returned by gst_type_find_peek() needs to
166 stay valid until the end of a typefind function, and
167 typefind functions may keep results from different
168 offsets around, so we can't just unref the buffer from
169 the previous _peek(), but have to save all buffers
170 returned by _peek() until typefinding is done and only
173 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
175 * docs/gst/gstreamer-sections.txt:
177 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
179 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
181 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
182 Fix a pretty good memleak.
184 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
187 Fix wrong include and 'make distcheck'.
189 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
191 * gst/gstbin.c: (bin_bus_handler):
192 Use gst_element_post_message() instead.
194 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
196 * gst/base/gstadapter.h:
197 * gst/base/gstbasesink.h:
198 * gst/base/gstbasesrc.h:
199 * gst/base/gstbasetransform.h:
200 * gst/base/gstcollectpads.h:
201 * gst/base/gstpushsrc.h:
203 Add padding to our base elements' class and instance structs and
204 to GstIterator (you will need to rebuild all plugins and apps!)
206 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
208 * gst/gstbin.c: (bin_bus_handler):
209 Make default message forwarding from child->bus to bin->bus
210 threadsafe and make it not emit warnings if the parent has no bus.
212 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
214 * gst/gstelement.c: (activate_pads):
215 On paused->ready, set pad->caps to NULL, as is the documented
216 behaviour in this state change. Fixes playback of series of
217 media files when visualization is enabled in Totem.
219 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
221 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
222 Allow NULL as filter-caps (which means "any").
224 2005-08-05 Stefan Kost <ensonic@users.sf.net>
226 * docs/libs/gstreamer-libs-sections.txt:
227 * libs/gst/controller/gst-controller.c:
228 * libs/gst/controller/gst-controller.h:
229 * libs/gst/controller/gst-helper.c:
230 adding more entries to the docs and fix small doc-bugs
232 2005-08-05 Stefan Kost <ensonic@users.sf.net>
234 * docs/gst/gstreamer-docs.sgml:
235 * docs/gst/gstreamer-sections.txt:
236 * docs/gst/gstreamer.types:
237 * docs/gst/tmpl/gstbasesink.sgml:
238 * docs/gst/tmpl/gstbasesrc.sgml:
239 * docs/gst/tmpl/gstbasetransform.sgml:
240 * docs/gst/tmpl/gstfakesrc.sgml:
241 * gst/base/gstcollectpads.c:
242 * gst/base/gstcollectpads.h:
243 * libs/gst/controller/gst-controller.c:
244 * libs/gst/controller/gst-controller.h:
245 * libs/gst/controller/gst-helper.c:
246 * libs/gst/controller/gst-interpolation.c:
247 * libs/gst/controller/lib.c:
248 added long/short desc for controller docs
249 added collectpads base class docs
250 added correct includes to base-class docs
252 2005-08-05 Stefan Kost <ensonic@users.sf.net>
254 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
255 (gst_test_mono_source_set_property),
256 (gst_test_mono_source_class_init), (GST_START_TEST),
257 (gst_controller_suite):
258 * docs/gst/gstreamer-docs.sgml:
259 * docs/gst/gstreamer-sections.txt:
260 * docs/gst/gstreamer.types:
261 * docs/libs/gstreamer-libs-docs.sgml:
262 * docs/libs/gstreamer-libs-sections.txt:
263 * gst/base/gstadapter.c:
264 * libs/gst/controller/gst-controller.c:
265 (gst_controlled_property_new), (gst_controlled_property_free),
266 (gst_controller_new_valist),
267 (gst_controller_remove_properties_valist),
268 (gst_controller_sink_values), (_gst_controller_finalize):
269 * libs/gst/controller/gst-controller.h:
270 * libs/gst/controller/gst-helper.c:
271 (gst_object_control_properties), (gst_object_uncontrol_properties),
272 (gst_object_get_controller), (gst_object_set_controller),
273 (gst_object_sink_values), (gst_object_get_value_arrays),
274 (gst_object_get_value_array):
275 more tests (and fixes) for the controller
276 more docs for the controller
277 integrated companies docs for the adapter
279 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
281 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
282 (GST_START_TEST), (fakesrc_suite):
283 add tests for sizetype
285 2005-08-04 Andy Wingo <wingo@pobox.com>
287 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
288 fixes buffer_alloc proxying among other things.
290 * gst/base/gstbasetransform.c:
291 * gst/base/gstbasetransform.h:
292 Revert patch to gstbasetransform from 7-28 removing
295 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
296 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
297 Semantics changed, should return not the size of the output buffer
298 but the byte size of a buffer with a given caps.
300 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
302 (gst_base_transform_configure_caps): Don't set out_size here: (in,
303 out) are not the pad caps until setcaps finishes.
304 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
305 not-in-place case as well. Deal with changing from in-place to
306 not-in-place within calling pad_alloc_buffer. Still a bit
307 concerned about the overhead here...
309 2005-08-03 Andy Wingo <wingo@pobox.com>
311 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
312 fixating is an error.
314 2005-08-04 Edward Hervey <edward@fluendo.com>
316 * gst/base/gstadapter.h:
317 Added gst_adapter_get_type() to the header
319 2005-08-03 Stefan Kost <ensonic@users.sf.net>
322 * check/gst-libs/controller.c:
323 * libs/gst/controller/gst-controller.c:
324 (gst_controller_new_valist):
325 added check test suite for the controller
326 * gst/base/gstpushsrc.c:
329 2005-08-03 Stefan Kost <ensonic@users.sf.net>
331 * docs/gst/Makefile.am:
332 * docs/gst/gstreamer-docs.sgml:
333 * docs/gst/gstreamer-sections.txt:
334 * docs/gst/gstreamer.types:
335 * docs/gst/tmpl/gstfakesrc.sgml:
337 * gst/base/gstbasesink.c:
338 * gst/base/gstbasesink.h:
339 * gst/base/gstbasesrc.c:
340 * gst/base/gstbasesrc.h:
341 * gst/base/gstbasetransform.c:
342 * gst/base/gstpushsrc.c:
343 * gst/base/gstpushsrc.h:
344 add short/long description docs to base classes
345 add pushsrc to the docs
346 remove consolidated doc fragments
348 2005-08-03 Stefan Kost <ensonic@users.sf.net>
351 * docs/libs/Makefile.am:
352 * docs/libs/gstreamer-libs-docs.sgml:
353 * docs/libs/gstreamer-libs-sections.txt:
354 * docs/libs/gstreamer-libs.types:
355 * examples/Makefile.am:
356 * examples/controller/.cvsignore:
357 * examples/controller/Makefile.am:
358 * examples/controller/audio-example.c: (main):
359 * libs/gst/Makefile.am:
360 * libs/gst/controller/.cvsignore:
361 * libs/gst/controller/Makefile.am:
362 * libs/gst/controller/gst-controller.c:
363 (on_object_controlled_property_changed), (gst_timed_value_compare),
364 (gst_timed_value_find),
365 (gst_controlled_property_set_interpolation_mode),
366 (gst_controlled_property_new), (gst_controlled_property_free),
367 (gst_controller_find_controlled_property),
368 (gst_controller_new_valist), (gst_controller_new),
369 (gst_controller_remove_properties_valist),
370 (gst_controller_remove_properties), (gst_controller_set),
371 (gst_controller_set_from_list), (gst_controller_unset),
372 (gst_controller_get), (gst_controller_get_all),
373 (gst_controller_sink_values), (gst_controller_get_value_arrays),
374 (gst_controller_get_value_array),
375 (gst_controller_set_interpolation_mode),
376 (_gst_controller_finalize), (_gst_controller_init),
377 (_gst_controller_class_init), (gst_controller_get_type):
378 * libs/gst/controller/gst-controller.h:
379 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
380 (g_object_uncontrol_properties), (g_object_get_controller),
381 (g_object_set_controller), (g_object_sink_values),
382 (g_object_get_value_arrays), (g_object_get_value_array):
383 * libs/gst/controller/gst-interpolation.c:
384 (gst_controlled_property_find_timed_value_node),
385 (interpolate_none_get), (interpolate_trigger_get),
386 (interpolate_trigger_get_value_array):
387 * libs/gst/controller/lib.c: (gst_controller_init):
388 * pkgconfig/Makefile.am:
389 * pkgconfig/gstreamer-control-uninstalled.pc.in:
390 * pkgconfig/gstreamer-control.pc.in:
391 * testsuite/Makefile.am:
392 * testsuite/controller/.cvsignore:
393 * testsuite/controller/Makefile.am:
394 * testsuite/controller/interpolator.c: (main):
395 added controller code
396 removed dparam pc files
398 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
399 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
400 (gst_collectpads_stop):
401 Broadcast the condition when shutting down, to make sure we wake all
402 threads up. Shut down pads on finalize, for safety.
404 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
405 * gst/base/gstbasetransform.c: (gst_base_transform_init),
406 (gst_base_transform_handle_buffer),
407 (gst_base_transform_change_state):
408 Handle PAUSED->READY->PAUSED transition after negotiation
410 * gst/gstmessage.c: (gst_message_init):
411 Extra piece of debug for new messages.
413 2005-08-01 Stefan Kost <ensonic@users.sf.net>
416 * docs/gst/tmpl/gstbasesrc.sgml:
417 * docs/gst/tmpl/gstelement.sgml:
418 * docs/gst/tmpl/gstevent.sgml:
419 * docs/gst/tmpl/gstfakesrc.sgml:
420 * docs/gst/tmpl/gstformat.sgml:
421 * docs/gst/tmpl/gstghostpad.sgml:
422 * docs/gst/tmpl/gstpad.sgml:
423 * docs/gst/tmpl/gstquery.sgml:
424 * docs/gst/tmpl/gststructure.sgml:
425 * docs/gst/tmpl/gsttaglist.sgml:
426 * docs/gst/tmpl/gstvalue.sgml:
427 * docs/libs/gstreamer-libs-docs.sgml:
428 * docs/libs/gstreamer-libs-sections.txt:
429 * docs/libs/gstreamer-libs.types:
430 * libs/gst/Makefile.am:
431 * libs/gst/control/.cvsignore:
432 * libs/gst/control/Makefile.am:
433 * libs/gst/control/control.c:
434 * libs/gst/control/control.h:
435 * libs/gst/control/dparam.c:
436 * libs/gst/control/dparam.h:
437 * libs/gst/control/dparam_smooth.c:
438 * libs/gst/control/dparam_smooth.h:
439 * libs/gst/control/dparamcommon.h:
440 * libs/gst/control/dparammanager.c:
441 * libs/gst/control/dparammanager.h:
442 * libs/gst/control/dplinearinterp.c:
443 * libs/gst/control/dplinearinterp.h:
444 * libs/gst/control/unitconvert.c:
445 * libs/gst/control/unitconvert.h:
446 * testsuite/Makefile.am:
447 * testsuite/dynparams/.cvsignore:
448 * testsuite/dynparams/Makefile.am:
449 * testsuite/dynparams/dparamstest.c:
451 * tools/gst-inspect.c: (print_element_info), (main):
452 * tools/gst-xmlinspect.c: (print_element_info), (main):
453 deactivate and remove dparams (libgstcontrol)
455 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
457 * gst/elements/gsttypefindelement.c:
458 (gst_type_find_element_have_type), (gst_type_find_element_init),
459 (stop_typefinding), (gst_type_find_element_handle_event),
460 (gst_type_find_element_chain), (gst_type_find_element_getrange):
461 * gst/elements/gsttypefindelement.h:
462 Set caps on all outgoing buffers, not just the first one.
464 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
466 * gst/elements/gsttypefindelement.c:
467 (gst_type_find_element_have_type),
468 (gst_type_find_element_check_set_buffer_caps),
469 (gst_type_find_element_init), (stop_typefinding),
470 (gst_type_find_element_handle_event),
471 (gst_type_find_element_chain), (gst_type_find_element_getrange):
472 * gst/elements/gsttypefindelement.h:
473 Set caps on first outgoing buffer when we've found the type.
475 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
477 * docs/gst/gstreamer-docs.sgml:
478 * docs/gst/gstreamer-sections.txt:
479 * docs/gst/tmpl/gstscheduler.sgml:
480 * docs/gst/tmpl/gstschedulerfactory.sgml:
481 Remove some old cruft from docs.
483 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
486 Fix inline docs for GstPadLinkReturn.
488 * gst/gststructure.c: (gst_structure_has_name):
489 * gst/gststructure.h:
490 * docs/gst/gstreamer-sections.txt:
491 New API: gst_structure_has_name().
493 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
496 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
497 and _LARGEFILE_SOURCE in config.h as required. Do not
498 export those flags in our .pc files any longer (#142209).
500 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
502 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
503 (gst_file_sink_do_seek), (gst_file_sink_event),
504 (gst_file_sink_get_current_offset), (gst_file_sink_render):
505 Redo seek/tell calls with large file support in mind; add some
506 debugging messages; add log message that tells us when large
507 file support is unavailable or not enabled for some reason.
509 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
510 Add log message that tells us when large file support
511 is unavailable or not enabled for some reason.
513 2005-07-29 Wim Taymans <wim@fluendo.com>
515 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
516 Added test for removing an element with ghostpad from a bin.
517 Fixed test as current implementation does the right thing.
519 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
520 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
521 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
522 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
523 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
524 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
525 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
526 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
527 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
528 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
529 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
530 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
531 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
532 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
533 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
534 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
536 Clean up ghostpads, remove properties for internal stuff.
539 Prepare for switching targets, not all use cases work yet.
541 2005-07-29 Wim Taymans <wim@fluendo.com>
543 * docs/design/part-gstghostpad.txt:
546 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
547 (gst_bin_remove_func):
548 Unlinking pads while holding the bin LOCK is not a good
551 * gst/gstpad.c: (gst_pad_class_init),
552 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
553 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
554 No prob setting template after creating the pad.
556 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
558 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
559 (gst_bus_peek), (gst_bus_source_dispatch),
560 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
561 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
562 gst_bus_poll may be called from other threads. Handle
563 this nicely by not making poll_data disappear off the
564 stack once gst_bus_poll returns.
565 gst_bus_peek now increments the refcount on the returned
568 2005-07-29 Wim Taymans <wim@fluendo.com>
570 * docs/design/part-gstghostpad.txt:
571 Overview of current GhostPad datastructures and use
572 cases for changing the target.
574 2005-07-28 Wim Taymans <wim@fluendo.com>
576 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
577 Added checks for hierarchy consistency whan adding linked
580 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
581 Added check to test element scheduling without bin/pipeline.
583 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
584 First add elements to bin, then link.
586 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
587 (gst_bin_remove_func):
588 Unlink pads from elements added/removed from bin to maintain
589 hierarchy consistency.
591 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
593 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
594 (gst_base_transform_handle_buffer):
595 * gst/base/gstbasetransform.h:
596 Remove broken delay_configure (fixes renegotiation of software
597 scaling pipelines); remove some leftover printf()s.
599 2005-07-28 Wim Taymans <wim@fluendo.com>
601 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
602 Added some more tests for wrong hierarchy
604 * docs/design/part-overview.txt:
607 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
610 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
611 (gst_element_dispose):
614 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
615 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
616 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
617 (gst_pad_set_caps), (gst_pad_send_event):
618 Check for correct hierarchy when linking pads. Moving to
619 strict requirement for ghostpads when linking elements in
623 Clean ups. Added WRONG_HIERARCHY return value.
625 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
627 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
628 Better debug if no transform is possible.
630 2005-07-27 Wim Taymans <wim@fluendo.com>
632 * docs/random/wtay/network-transp:
635 2005-07-27 Wim Taymans <wim@fluendo.com>
637 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
638 (gst_dp_event_from_packet):
639 Fix serialization of seek events.
641 2005-07-27 Wim Taymans <wim@fluendo.com>
643 * check/gst-libs/gdp.c: (GST_START_TEST):
644 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
645 Fix compilation and fix event serialization.
647 2005-07-27 Wim Taymans <wim@fluendo.com>
650 * docs/design/part-TODO.txt:
651 * docs/design/part-events.txt:
654 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
655 (gst_base_sink_event), (gst_base_sink_do_sync),
656 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
657 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
658 (gst_base_src_do_seek), (gst_base_src_event_handler),
660 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
661 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
662 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
663 (gst_base_transform_event), (gst_base_transform_handle_buffer),
664 (gst_base_transform_set_passthrough),
665 (gst_base_transform_is_passthrough):
666 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
667 * gst/elements/gstfilesink.c: (gst_file_sink_event):
673 * gst/gstelement.c: (gst_element_seek):
675 Update gst_element_seek.
677 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
678 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
679 (gst_event_new_flush_start), (gst_event_new_flush_stop),
680 (gst_event_new_eos), (gst_event_new_newsegment),
681 (gst_event_parse_newsegment), (gst_event_new_tag),
682 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
683 (gst_event_parse_qos), (gst_event_new_seek),
684 (gst_event_parse_seek), (gst_event_new_navigation):
686 Make GstEvent use GstStructure. Add parsing code, make sure the
687 API is sufficiently generic.
688 Mark possible directions of events and serialization.
690 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
691 (_gst_message_copy), (gst_message_new_segment_start),
692 (gst_message_new_segment_done), (gst_message_new_custom),
693 (gst_message_parse_segment_start),
694 (gst_message_parse_segment_done):
697 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
698 (gst_pad_set_caps), (gst_pad_send_event):
699 Update for new events.
700 Catch events sent in wrong directions.
702 * gst/gstqueue.c: (gst_queue_link_src),
703 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
704 (gst_queue_handle_src_query):
709 Remove event code from this file.
711 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
712 (gst_dp_event_from_packet):
715 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
717 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
718 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
719 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
720 Make debugging actually useful.
722 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
724 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
725 (gst_pad_fixate_caps):
726 Implement default fixation once again, so that gst_pad_fixate()
727 actually does anything at all. This probably needs to be some
728 sort of a last resort, and use profile-based fixation first, but
729 since that doesn't exist yet, this is the best we have. Fixes
730 visualization in Totem.
732 2005-07-22 Wim Taymans <wim@fluendo.com>
734 * docs/design/part-events.txt:
737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
738 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
739 (gst_base_sink_activate_pull):
742 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
743 (gst_fake_src_create):
744 Fix handoff marshall.
746 * gst/elements/gstidentity.c: (gst_identity_class_init),
747 (gst_identity_transform_ip):
748 We're a real inplace element.
750 * gst/gstbus.c: (gst_bus_post):
753 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
754 * tests/muxing/case1.c: (main):
755 * tests/sched/dynamic-pipeline.c: (main):
756 * tests/sched/interrupt1.c: (main):
757 * tests/sched/interrupt2.c: (main):
758 * tests/sched/interrupt3.c: (main):
759 * tests/sched/runxml.c: (main):
760 * tests/sched/sched-stress.c: (main):
761 * tests/seeking/seeking1.c: (event_received), (main):
762 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
764 * tests/threadstate/threadstate3.c: (main):
765 * tests/threadstate/threadstate4.c: (main):
766 * tests/threadstate/threadstate5.c: (main):
769 2005-07-21 Wim Taymans <wim@fluendo.com>
771 * docs/design/part-seeking.txt:
772 Some small additions.
774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
775 (gst_base_sink_get_times), (gst_base_sink_do_sync),
776 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
777 * gst/base/gstbasesink.h:
778 discont values are gint64, handle the math correctly.
780 * gst/base/gstbasesrc.c: (gst_base_src_loop):
781 Make the basesrc report error if the source pad is not linked.
783 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
784 (gst_queue_loop), (gst_queue_handle_src_query),
785 (gst_queue_src_activate_push):
786 Make queue collect data even if the srcpad is not linked.
787 Start pushing out data as soon as it is linked.
789 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
791 Added gst_flow_get_name() to ease error reporting.
793 2005-07-20 Wim Taymans <wim@fluendo.com>
795 * gst/gstmessage.c: (gst_message_new_segment_start),
796 (gst_message_new_segment_done), (gst_message_parse_segment_start),
797 (gst_message_parse_segment_done):
799 Added a bunch of messages for advanced seeking.
801 * gst/parse/grammar.y:
802 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
803 (gst_dpman_state_changed):
804 Fix some new-pad -> pad-added signals
806 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
808 * docs/manual/appendix-porting.xml:
809 * docs/pwg/appendix-porting.xml:
810 Document new-pad/state-change signal renames and the FixedList
813 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
815 * docs/manual/advanced-autoplugging.xml:
816 * docs/manual/basics-helloworld.xml:
817 * docs/manual/basics-pads.xml:
818 * docs/random/ds/0.9-suggested-changes:
819 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
824 * gst/gststructure.c: (gst_structure_value_get_generic_type),
825 (gst_structure_parse_array), (gst_structure_parse_value):
826 * gst/gstvalue.c: (gst_type_is_fixed),
827 (gst_value_list_prepend_value), (gst_value_list_append_value),
828 (gst_value_list_get_size), (gst_value_list_get_value),
829 (gst_value_transform_array_string), (gst_value_serialize_array),
830 (gst_value_deserialize_array), (gst_value_intersect_array),
831 (gst_value_is_fixed), (_gst_value_initialize):
833 GstElement::new-pad -> pad-added, GstElement::state-change ->
834 state-changed, GstValueFixedList -> GstValueArray, add format and
835 flags as their own arguments in gst_element_seek() (should improve
836 "bindeability"), remove function generators since they don't work
837 under a whole bunch of compilers (they were deprecated already
840 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
842 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
843 (_gst_debug_register_funcptr):
845 Fix illegal cast on some platforms (#309253).
847 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
849 * gst/gstmessage.c: (gst_message_new_custom):
851 Add _new_custom, make _new_application a macro to _new_custom.
853 2005-07-20 Wim Taymans <wim@fluendo.com>
855 * gst/base/gstbasesrc.c: (gst_base_src_init),
856 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
857 * gst/base/gstbasesrc.h:
858 Add a gboolean to decide when to push out a discont.
860 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
861 (gst_queue_loop), (gst_queue_handle_src_query),
862 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
863 (gst_queue_set_property), (gst_queue_get_property):
866 * tests/threadstate/threadstate1.c: (main):
867 Make a thread test compile and run... very silly..
870 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
872 * docs/manual/appendix-porting.xml:
873 Mention removal of libgstgconf-0.9.la and existence of gconf
876 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
878 * docs/pwg/advanced-clock.xml:
879 * docs/pwg/appendix-porting.xml:
880 * docs/pwg/intro-preface.xml:
881 * docs/pwg/other-base.xml:
882 * docs/pwg/other-manager.xml:
883 * docs/pwg/other-nton.xml:
884 * docs/pwg/other-ntoone.xml:
885 * docs/pwg/other-oneton.xml:
887 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
888 demuxer), remove n-to-n (was never written), fix some code examples
889 and links and update the porting section to include all this.
891 2005-07-19 Wim Taymans <wim@fluendo.com>
893 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
894 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
895 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
896 (gst_queue_src_activate_push), (gst_queue_change_state),
897 (gst_queue_get_property):
899 Propagate GstFlowReturn more intelligently upstream and output
900 an ERROR/EOS when streaming stopped due to fatal error.
902 2005-07-19 Wim Taymans <wim@fluendo.com>
904 * tools/gst-launch.c: (check_intr), (event_loop), (main):
905 Don't block forever for the state change to complete, the
906 pipeline already did with a sensible timeout.
908 2005-07-19 Wim Taymans <wim@fluendo.com>
910 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
911 Make sure we never call the create function is we
914 2005-07-19 Andy Wingo <wingo@pobox.com>
916 * gst/parse/parse.l: Attempt to solve bug #172815.
918 2005-07-19 Wim Taymans <wim@fluendo.com>
920 * docs/design/part-clocks.txt:
921 * docs/design/part-events.txt:
922 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
924 Only update the seeking values when we are not
927 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
929 * gst/base/gstbasesrc.c: (gst_base_src_loop):
930 Oops, ignore the result of gst_pad_push_event here.
932 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
934 * gst/base/gstbasesrc.c: (gst_base_src_loop),
935 (gst_base_src_activate_push):
936 Send discont event from the loop function, as pads
937 aren't activated yet in the activate_push handler.
939 * gst/gstbin.c: (bin_bus_handler):
940 Don't leak element name.
942 2005-07-18 Andy Wingo <wingo@pobox.com>
944 * configure.ac: Use AS_LIBTOOL_TAGS.
946 2005-07-18 Wim Taymans <wim@fluendo.com>
948 * docs/gst/gstreamer.types:
949 Remove deleted types.
951 2005-07-18 Wim Taymans <wim@fluendo.com>
953 * check/elements/gstfakesrc.c: (GST_START_TEST):
956 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
957 (init_popt_callback):
960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
961 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
964 * gst/gstconfig.h.in:
965 * gst/gstelement.c: (gst_element_class_init),
966 (gst_element_set_base_time), (gst_element_get_base_time),
967 (iterator_fold_with_resync), (gst_element_change_state),
968 (gst_element_dispose), (gst_element_get_bus):
970 * gst/gstelementfactory.h:
971 * gst/gsterror.c: (_gst_core_errors_init):
974 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
976 * gst/gstinfo.c: (_gst_debug_init):
977 * gst/gstmessage.c: (_gst_message_copy):
979 * gst/gstminiobject.h:
982 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
983 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
986 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
987 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
988 (gst_pipeline_get_last_stream_time):
990 * gst/gstpluginfeature.h:
992 * gst/gstscheduler.c:
993 * gst/gstscheduler.h:
994 * gst/gststructure.h:
995 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
996 (gst_task_finalize), (gst_task_func), (gst_task_create),
997 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
998 (gst_task_stop), (gst_task_pause):
1000 * gst/gsttypefind.h:
1002 * gst/registries/gstlibxmlregistry.c: (load_feature),
1003 (gst_xml_registry_load), (gst_xml_registry_save_feature):
1004 * gst/registries/gstxmlregistry.c:
1005 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
1006 * gst/schedulers/threadscheduler.c:
1007 * libs/gst/control/dparammanager.h:
1008 * tools/gst-inspect.c: (print_element_list),
1009 (print_plugin_features), (print_element_features):
1010 * tools/gst-xmlinspect.c: (print_element_list),
1011 (print_plugin_info), (main):
1012 Removed plugable schedulers.
1013 Removed Scheduler/Manager from elements.
1014 Removed gsttypes.h, rearranged includes.
1015 Removed dependency pad<->element, element<>pipeline, and
1016 various others, fix includes.
1017 implement gst_pad_get_parent() with gst_object_get_parent()
1018 Make GstTask sefcontained.
1019 Fix _get_state() on GstBin, it did not return ASYNC with a 0
1021 Fix endless loop in iterator_fold_with_resync.
1024 2005-07-18 Wim Taymans <wim@fluendo.com>
1030 2005-07-18 Wim Taymans <wim@fluendo.com>
1035 2005-07-18 Wim Taymans <wim@fluendo.com>
1041 2005-07-18 Wim Taymans <wim@fluendo.com>
1043 * docs/design/part-dynamic.txt:
1044 * docs/design/part-events.txt:
1045 * docs/design/part-seeking.txt:
1046 Some more docs in the works.
1048 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1049 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
1050 (gst_base_transform_setcaps), (gst_base_transform_get_size),
1051 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
1052 (gst_base_transform_handle_buffer),
1053 (gst_base_transform_sink_activate_push),
1054 (gst_base_transform_src_activate_pull),
1055 (gst_base_transform_set_passthrough),
1056 (gst_base_transform_is_passthrough):
1059 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
1062 * gst/gstevent.c: (gst_event_finalize):
1065 * gst/gstutils.c: (gst_element_unlink),
1066 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
1067 (gst_pad_proxy_setcaps):
1069 Add _get_parent_element() to get a pads parent as an element.
1071 2005-07-18 Wim Taymans <wim@fluendo.com>
1073 * check/gst/gstbin.c: (GST_START_TEST):
1076 2005-07-18 Wim Taymans <wim@fluendo.com>
1078 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
1079 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
1080 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
1081 (gst_base_sink_event), (gst_base_sink_do_sync),
1082 (gst_base_sink_chain), (gst_base_sink_loop),
1083 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
1084 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1086 Fix logic for returning ASYNC when not prerolled.
1088 2005-07-18 Wim Taymans <wim@fluendo.com>
1090 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1091 Fix nasty refcount bug.
1093 2005-07-16 Philippe Khalaf <burger@speedy.org>
1094 * gst/elements/gstfdsrc.c:
1095 * gst/elements/gstfdsrc.h:
1096 * gst/elements/gstelements.c:
1097 * gst/elements/Makefile.am:
1098 Ported fdsrc to 0.9.
1100 2005-07-16 Wim Taymans <wim@fluendo.com>
1102 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1103 (gst_base_sink_do_sync):
1106 2005-07-16 Wim Taymans <wim@fluendo.com>
1108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1109 (gst_base_sink_event), (gst_base_sink_get_times),
1110 (gst_base_sink_do_sync), (gst_base_sink_change_state):
1111 * gst/base/gstbasesink.h:
1112 Store and use discont values when syncing buffers as described
1115 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1116 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
1117 (gst_base_src_activate_push):
1118 Push discont event when starting.
1120 * gst/elements/gstidentity.c: (gst_identity_transform):
1123 * gst/gstbin.c: (gst_bin_change_state):
1124 Small cleanups in base_time distribution.
1126 * gst/gstelement.c: (gst_element_set_base_time),
1127 (gst_element_get_base_time), (gst_element_change_state):
1129 Added methods for the base_time of the element.
1132 * gst/gstpipeline.c: (gst_pipeline_send_event),
1133 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
1134 (gst_pipeline_get_last_stream_time):
1135 * gst/gstpipeline.h:
1137 Handle seeking as described in design doc, remove stream_time
1139 Cleanups clock and stream_time selection code. Added accessors
1140 for the stream_time.
1143 2005-07-16 Andy Wingo <wingo@pobox.com>
1145 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
1148 2005-07-16 Wim Taymans <wim@fluendo.com>
1150 * check/gst/gstbin.c: (GST_START_TEST):
1151 Make elements silent as the deep_notify refs the
1152 parent, which might make the test fail.
1154 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
1155 Don't hold the lock for too long.
1157 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
1159 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
1160 Don't unref the caps we passed to gst_caps_make_writable() after
1161 passing them. gst_caps_make_writable() will do that for us.
1163 2005-07-15 Andy Wingo <wingo@pobox.com>
1165 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
1168 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
1169 own marshalling function for the handoff signal. Properly type the
1170 buffer as a buffer. Fixes some warnings. Should do a more general
1172 (gst_identity_class_init): Plug into the right marshaller.
1174 2005-07-15 Wim Taymans <wim@fluendo.com>
1176 * docs/design/part-TODO.txt:
1177 * docs/design/part-clocks.txt:
1178 * docs/design/part-element-sink.txt:
1179 * docs/design/part-events.txt:
1180 * docs/design/part-gstpipeline.txt:
1181 Updated docs, mostly DISCONT related.
1183 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
1185 * docs/pwg/building-pads.xml:
1186 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
1188 2005-07-15 Andy Wingo <wingo@pobox.com>
1190 * tools/gst-typefind.c: Update, add copyright block.
1192 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
1193 Normalize and truncate caps before fixation.
1196 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
1197 discards all but the first structure from its argument.
1199 2005-07-15 Wim Taymans <wim@fluendo.com>
1201 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1202 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
1203 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1204 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
1205 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
1206 (gst_base_transform_chain), (gst_base_transform_change_state),
1207 (gst_base_transform_set_passthrough),
1208 (gst_base_transform_is_passthrough):
1209 * gst/base/gstbasetransform.h:
1210 Make passthrough work using the bufferpools.
1211 Changed API a bit, subclasses have to write into a buffer
1212 provided by the base class.
1213 More debug info in nego functions.
1215 * gst/elements/gstidentity.c: (gst_identity_init),
1216 (gst_identity_transform):
1217 Port to new base class.
1219 2005-07-15 Wim Taymans <wim@fluendo.com>
1221 * gst/gstmessage.c: (gst_message_new_state_changed):
1222 * tools/gst-launch.c: (event_loop), (main):
1223 Totally dump messages in -launch with the -m option.
1224 Fix message name for State messages,
1226 2005-07-14 Wim Taymans <wim@fluendo.com>
1228 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1229 Post error messages on errors.
1231 2005-07-14 Wim Taymans <wim@fluendo.com>
1233 * gst/gstcaps.c: (gst_caps_do_simplify):
1237 Define error for stream stopped.
1239 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
1240 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
1241 Do proper return values.
1243 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
1244 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
1245 (gst_pad_get_range):
1246 Better return values.
1249 Reorganise return values, add macro to check for fatal errors.
1251 * gst/gstqueue.c: (gst_queue_chain):
1252 Return proper GstFlowReturn values,
1254 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
1256 * docs/gst/gstreamer-sections.txt:
1257 * docs/gst/gstreamer.types:
1258 * docs/gst/tmpl/gst.sgml:
1259 * docs/gst/tmpl/gstbasesink.sgml:
1260 * docs/gst/tmpl/gstbasesrc.sgml:
1261 * docs/gst/tmpl/gstbasetransform.sgml:
1262 * docs/gst/tmpl/gstbin.sgml:
1263 * docs/gst/tmpl/gstbuffer.sgml:
1264 * docs/gst/tmpl/gstcaps.sgml:
1265 * docs/gst/tmpl/gstclock.sgml:
1266 * docs/gst/tmpl/gstcompat.sgml:
1267 * docs/gst/tmpl/gstconfig.sgml:
1268 * docs/gst/tmpl/gstelement.sgml:
1269 * docs/gst/tmpl/gstelementdetails.sgml:
1270 * docs/gst/tmpl/gstelementfactory.sgml:
1271 * docs/gst/tmpl/gstenumtypes.sgml:
1272 * docs/gst/tmpl/gsterror.sgml:
1273 * docs/gst/tmpl/gstevent.sgml:
1274 * docs/gst/tmpl/gstfakesink.sgml:
1275 * docs/gst/tmpl/gstfakesrc.sgml:
1276 * docs/gst/tmpl/gstfilesink.sgml:
1277 * docs/gst/tmpl/gstfilesrc.sgml:
1278 * docs/gst/tmpl/gstfilter.sgml:
1279 * docs/gst/tmpl/gstformat.sgml:
1280 * docs/gst/tmpl/gstghostpad.sgml:
1281 * docs/gst/tmpl/gstimplementsinterface.sgml:
1282 * docs/gst/tmpl/gstindex.sgml:
1283 * docs/gst/tmpl/gstindexfactory.sgml:
1284 * docs/gst/tmpl/gstinfo.sgml:
1285 * docs/gst/tmpl/gstiterator.sgml:
1286 * docs/gst/tmpl/gstmacros.sgml:
1287 * docs/gst/tmpl/gstmemchunk.sgml:
1288 * docs/gst/tmpl/gstminiobject.sgml:
1289 * docs/gst/tmpl/gstobject.sgml:
1290 * docs/gst/tmpl/gstpad.sgml:
1291 * docs/gst/tmpl/gstpadtemplate.sgml:
1292 * docs/gst/tmpl/gstparse.sgml:
1293 * docs/gst/tmpl/gstpipeline.sgml:
1294 * docs/gst/tmpl/gstplugin.sgml:
1295 * docs/gst/tmpl/gstpluginfeature.sgml:
1296 * docs/gst/tmpl/gstquery.sgml:
1297 * docs/gst/tmpl/gstqueue.sgml:
1298 * docs/gst/tmpl/gstregistry.sgml:
1299 * docs/gst/tmpl/gstregistrypool.sgml:
1300 * docs/gst/tmpl/gstscheduler.sgml:
1301 * docs/gst/tmpl/gstschedulerfactory.sgml:
1302 * docs/gst/tmpl/gststructure.sgml:
1303 * docs/gst/tmpl/gstsystemclock.sgml:
1304 * docs/gst/tmpl/gsttaglist.sgml:
1305 * docs/gst/tmpl/gsttagsetter.sgml:
1306 * docs/gst/tmpl/gsttrace.sgml:
1307 * docs/gst/tmpl/gsttrashstack.sgml:
1308 * docs/gst/tmpl/gsttypefind.sgml:
1309 * docs/gst/tmpl/gsttypefindfactory.sgml:
1310 * docs/gst/tmpl/gsttypes.sgml:
1311 * docs/gst/tmpl/gsturihandler.sgml:
1312 * docs/gst/tmpl/gsturitype.sgml:
1313 * docs/gst/tmpl/gstutils.sgml:
1314 * docs/gst/tmpl/gstvalue.sgml:
1315 * docs/gst/tmpl/gstversion.sgml:
1316 * docs/gst/tmpl/gstxml.sgml:
1317 * docs/libs/tmpl/gstcontrol.sgml:
1318 * docs/libs/tmpl/gstdataprotocol.sgml:
1319 * docs/libs/tmpl/gstdparam.sgml:
1320 * docs/libs/tmpl/gstdplinint.sgml:
1321 * docs/libs/tmpl/gstdpman.sgml:
1322 * docs/libs/tmpl/gstdpsmooth.sgml:
1323 * docs/libs/tmpl/gstgetbits.sgml:
1324 * docs/libs/tmpl/gstunitconvert.sgml:
1325 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
1326 (gst_push_src_base_init), (gst_push_src_class_init),
1327 (gst_push_src_init), (gst_push_src_create):
1328 * gst/base/gstpushsrc.h:
1329 * gst/elements/gstelements.c:
1330 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
1331 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
1332 (gst_fake_sink_init), (gst_fake_sink_set_property),
1333 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
1334 (gst_fake_sink_event), (gst_fake_sink_preroll),
1335 (gst_fake_sink_render), (gst_fake_sink_change_state):
1336 * gst/elements/gstfakesink.h:
1337 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1338 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1339 (gst_fake_src_base_init), (gst_fake_src_class_init),
1340 (gst_fake_src_init), (gst_fake_src_event_handler),
1341 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
1342 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
1343 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
1344 (gst_fake_src_create_buffer), (gst_fake_src_create),
1345 (gst_fake_src_start), (gst_fake_src_stop):
1346 * gst/elements/gstfakesrc.h:
1347 * gst/elements/gstfilesink.c: (_do_init),
1348 (gst_file_sink_base_init), (gst_file_sink_class_init),
1349 (gst_file_sink_init), (gst_file_sink_dispose),
1350 (gst_file_sink_set_location), (gst_file_sink_set_property),
1351 (gst_file_sink_get_property), (gst_file_sink_open_file),
1352 (gst_file_sink_close_file), (gst_file_sink_query),
1353 (gst_file_sink_event), (gst_file_sink_render),
1354 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
1355 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
1356 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
1357 * gst/elements/gstfilesink.h:
1358 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
1359 (gst_file_src_class_init), (gst_file_src_init),
1360 (gst_file_src_finalize), (gst_file_src_set_location),
1361 (gst_file_src_set_property), (gst_file_src_get_property),
1362 (gst_file_src_map_region), (gst_file_src_map_small_region),
1363 (gst_file_src_create_mmap), (gst_file_src_create_read),
1364 (gst_file_src_create), (gst_file_src_is_seekable),
1365 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
1366 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
1367 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
1368 (gst_file_src_uri_handler_init):
1369 * gst/elements/gstfilesrc.h:
1370 more autistic cleanliness in functions/names/defines
1372 2005-07-13 Andy Wingo <wingo@pobox.com>
1374 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
1375 source couldn't negotiate.
1377 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
1381 * gst/gstutils.c (gst_element_link_pads_filtered): New old
1382 function. I am channeling Hades. Put your boots on suckers!!!
1384 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1386 * testsuite/caps/Makefile.am:
1387 * testsuite/caps/value_compare.c:
1388 * testsuite/caps/value_intersect.c:
1389 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1390 move two testsuite apps over to the check dir
1392 2005-07-12 Wim Taymans <wim@fluendo.com>
1394 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1395 Added more debug info in the negotiate process.
1398 Prepare for segment playback.
1400 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
1406 * tools/gst-launch.c: (main):
1407 NULL pipeline on errors.
1409 2005-07-12 Andy Wingo <wingo@pobox.com>
1411 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
1412 not it comes from a malloc region. Make sure our copy gets freed.
1414 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
1416 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1417 * check/gst/gstmessage.c: (GST_START_TEST):
1418 * check/gst/gststructure.c: (GST_START_TEST),
1419 (gst_structure_suite), (main):
1421 * gst/gstelement.c: (gst_element_message_full):
1422 clean up GError and debug string now that they get copied
1423 * gst/gstmessage.c: (gst_message_new_error),
1424 (gst_message_new_warning), (gst_message_parse_error),
1425 (gst_message_parse_warning):
1426 use GST_TYPE_G_ERROR for structure_new, and take copies of
1427 arguments, so that we don't mess up refcounting
1429 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
1431 * check/Makefile.am:
1432 add per-test valgrind targets
1433 * check/gst-libs/gdp.c: (GST_START_TEST),
1434 (gst_data_protocol_suite), (main):
1437 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
1439 * check/Makefile.am:
1440 instate more valgrindable tests
1441 * check/elements/gstfakesrc.c: (chain_func), (event_func),
1442 (GST_START_TEST), (fakesrc_suite):
1443 * check/gst/gstpad.c: (GST_START_TEST):
1444 * check/gst/gststructure.c: (GST_START_TEST):
1446 * docs/gst/tmpl/gstminiobject.sgml:
1447 * gst/gstpad.c: (gst_pad_finalize):
1448 fix the static mutex leak
1450 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
1452 * check/Makefile.am:
1453 add two more tests for valgrinding
1454 * check/gst/gstvalue.c: (GST_START_TEST):
1455 test refcount of deserialized buffer, found a leak
1456 * docs/gst/gstreamer-docs.sgml:
1457 * docs/gst/gstreamer-sections.txt:
1458 * docs/gst/gstreamer.types:
1459 * docs/gst/tmpl/gstminiobject.sgml:
1460 add miniobject to docs
1461 * gst/gstminiobject.c:
1463 * gst/gstvalue.c: (gst_value_deserialize_buffer),
1464 (gst_string_unwrap):
1465 fix a hard-to-find invalid write for one of the tests
1466 fix a leak for deserialized buffers
1468 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1470 * docs/pwg/advanced-events.xml:
1471 * docs/pwg/advanced-request.xml:
1472 * docs/pwg/advanced-scheduling.xml:
1473 * docs/pwg/appendix-porting.xml:
1474 * docs/pwg/building-boiler.xml:
1475 * docs/pwg/intro-preface.xml:
1476 * docs/pwg/other-ntoone.xml:
1477 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
1478 of example code and explanation for pad activation, loop() and
1479 getrange() functions and a bit more. Remove old comments pointing
1481 * examples/pwg/Makefile.am:
1482 Add loop/getrange examples.
1484 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
1487 check for valgrind binary + some fixes
1489 valgrind suppressions for the tests
1490 * check/Makefile.am:
1491 add a valgrind: target that valgrinds the unit tests
1492 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
1493 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
1494 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1495 * check/gst/gstghostpad.c:
1497 * check/gst/gstdata.c:
1499 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
1500 (thread_unref), (gst_mini_object_suite), (main):
1502 * gst/gst.c: (gst_deinit):
1504 add a method to clean up.
1505 * gst/gstsystemclock.c: (gst_system_clock_dispose),
1506 (gst_system_clock_obtain):
1507 allow for disposing the system clock.
1508 * tools/gst-launch.c: (main):
1511 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
1513 * docs/gst/tmpl/gstbasesrc.sgml:
1514 * docs/gst/tmpl/gstfakesrc.sgml:
1515 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1516 (gst_base_src_init), (gst_base_src_set_property),
1517 (gst_base_src_get_property), (gst_base_src_get_range),
1518 (gst_base_src_start):
1519 * gst/base/gstbasesrc.h:
1520 add num-buffers property
1521 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
1522 (gst_fakesrc_init), (gst_fakesrc_set_property),
1523 (gst_fakesrc_get_property), (gst_fakesrc_create),
1524 (gst_fakesrc_start):
1525 remove num-buffers property
1527 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1529 * docs/gst/gstreamer-sections.txt:
1530 * docs/gst/tmpl/gstbasesink.sgml:
1531 * docs/gst/tmpl/gstbasesrc.sgml:
1532 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
1533 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
1534 (gst_base_sink_finalize), (gst_base_sink_set_clock),
1535 (gst_base_sink_set_property), (gst_base_sink_get_property),
1536 (gst_base_sink_handle_object), (gst_base_sink_event),
1537 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
1538 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
1539 (gst_base_sink_loop), (gst_base_sink_deactivate),
1540 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
1541 (gst_base_sink_change_state):
1542 * gst/base/gstbasesink.h:
1543 * gst/base/gstbasesrc.h:
1544 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
1545 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
1546 (gst_filesink_init):
1547 more macro splitting
1549 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1551 * gst/gstelement.c: (gst_element_get_bus):
1553 * tools/gst-launch.c: (check_intr), (event_loop):
1556 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1558 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
1561 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
1563 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1564 (gst_base_src_finalize):
1565 add finalize method and clean up properly
1566 * gst/gstpipeline.c: (gst_pipeline_dispose):
1569 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
1571 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
1573 add more things to check
1574 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
1578 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
1580 * check/elements/gstfakesrc.c: (chain_func), (event_func),
1581 (GST_START_TEST), (fakesrc_suite):
1582 * check/gst-libs/gdp.c: (GST_START_TEST):
1583 * check/gst/gst.c: (GST_START_TEST):
1584 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1585 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1586 * check/gst/gstbus.c: (GST_START_TEST):
1587 * check/gst/gstcaps.c: (GST_START_TEST):
1588 * check/gst/gstdata.c: (GST_START_TEST):
1589 * check/gst/gstelement.c: (GST_START_TEST):
1590 * check/gst/gstghostpad.c: (GST_START_TEST):
1591 * check/gst/gstiterator.c: (GST_START_TEST):
1592 * check/gst/gstmessage.c: (GST_START_TEST):
1593 * check/gst/gstobject.c: (GST_START_TEST):
1594 * check/gst/gstpad.c: (GST_START_TEST):
1595 * check/gst/gststructure.c: (GST_START_TEST):
1596 * check/gst/gstsystemclock.c: (GST_START_TEST),
1597 (gst_systemclock_suite):
1598 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1599 * check/gst/gstvalue.c: (GST_START_TEST):
1600 * check/pipelines/cleanup.c: (GST_START_TEST):
1601 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1602 * check/states/sinks.c: (GST_START_TEST):
1603 * check/gstcheck.c: (gst_check_init):
1605 add debugging category
1606 use GST_START_TEST now, so we add a debug line
1608 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
1610 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
1611 add test for state change message on a bin
1612 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
1614 * gst/gstbin.c: (gst_bin_init):
1615 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
1616 * gst/gstelement.c: (gst_element_post_message),
1617 (gst_element_set_state):
1618 * gst/gstelementfactory.c: (gst_element_factory_create):
1619 * gst/gstmessage.c: (gst_message_new):
1620 * gst/gstscheduler.c:
1621 various debugging additions and cleanups
1623 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1625 * check/Makefile.am:
1626 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
1628 adding tests for elements
1629 * gst/gstelement.c: (gst_element_dispose):
1631 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1633 * gst/registries/gstlibxmlregistry.c: (load_feature):
1634 plug more leaks. A simple gst_init() now is leakfree, yay.
1636 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1638 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
1639 (gst_xml_registry_load):
1640 plug another memleak
1642 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1645 use GST_SET_ERROR_CFLAGS
1647 change to ERROR_CFLAGS
1649 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
1652 make GST_ERROR_CFLAGS overridable and re-enable Werror
1654 add a note about error CFLAGS
1655 * docs/gst/tmpl/gstfakesrc.sgml:
1656 * gst/elements/gstfakesrc.c:
1657 comment out some unused code
1658 * gst/gst.c: (split_and_iterate):
1659 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
1663 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
1665 * common/Makefile.am:
1666 * common/gtk-doc.mak:
1667 * docs/gst/Makefile.am:
1668 factor out gtk-doc.mak
1670 2005-07-07 Wim Taymans <wim@fluendo.com>
1672 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
1673 (gst_thread_scheduler_dispose):
1674 Unlock the STREAM_LOCK completely.
1676 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
1678 * check/Makefile.am:
1679 * check/elements/.cvsignore:
1680 * check/elements/gstfakesrc.c: (chain_func), (event_func),
1681 (START_TEST), (fakesrc_suite), (main):
1682 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
1683 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
1684 (gst_fakesrc_create), (gst_fakesrc_start):
1685 * gst/elements/gstfakesrc.h:
1686 adding a first element test
1688 2005-07-07 Andy Wingo <wingo@pobox.com>
1690 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
1693 2005-07-07 Wim Taymans <wim@fluendo.com>
1699 2005-07-07 Wim Taymans <wim@fluendo.com>
1701 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1702 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
1703 Allow subclasses to implement their own negotiation.
1705 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
1707 * docs/design/part-gstbin.txt:
1708 * docs/design/part-gstpipeline.txt:
1709 Update design notes to reflect the movement of
1710 responsibility for bus handling from GstPipeline to
1713 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
1716 Remove unnecessary queue2/3/4 examples.
1718 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
1720 * examples/Makefile.am:
1721 * examples/helloworld/helloworld.c: (event_loop), (main):
1722 * examples/queue/queue.c: (event_loop), (main):
1723 * examples/queue2/queue2.c: (main):
1724 Update a couple of the examples to work again.
1726 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1727 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
1728 Spelling corrections and extra debug.
1730 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
1731 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
1732 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
1734 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
1735 (gst_pipeline_change_state):
1736 * gst/gstpipeline.h:
1737 Move the bus handler for children to the GstBin, and create a
1738 separate bus for receiving messages from children to the one the
1739 bus sends 'upwards' on.
1741 2005-07-06 Wim Taymans <wim@fluendo.com>
1744 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1745 (gst_base_sink_handle_object), (gst_base_sink_loop),
1746 (gst_base_sink_change_state):
1747 * gst/base/gstbasesink.h:
1748 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1749 (gst_base_src_init), (gst_base_src_setcaps),
1750 (gst_base_src_getcaps), (gst_base_src_loop),
1751 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
1752 (gst_base_src_start), (gst_base_src_change_state):
1753 * gst/base/gstbasesrc.h:
1754 Make basesrc negotiate.
1755 Handle the case where preroll fails in basesink.
1758 2005-07-06 Wim Taymans <wim@fluendo.com>
1760 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
1761 Implement the fixate function.
1762 Clean up acceptcaps.
1764 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1766 * docs/pwg/building-filterfactory.xml:
1768 Remove never-written filter-factory chapter; I'll add the various
1769 base classes to part 4 ("other element types") later on.
1771 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1773 * docs/pwg/advanced-negotiation.xml:
1774 * docs/pwg/building-boiler.xml:
1775 * docs/pwg/building-pads.xml:
1777 * examples/pwg/Makefile.am:
1778 Add a chapter on caps negotiation, simplify the original code
1779 samples a bit w.r.t. caps negotiation, add link to the advanced
1780 section. Add a bunch of examples showing different use cases of
1781 different types of caps negotiation. Upstream renegotiation isn't
1782 fully documented yet since nobody knows how that works.
1784 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
1786 * check/gst/gstpad.c:
1788 * gst/gstpad.c: (gst_pad_get_internal_links_default):
1789 if pad has no parent, return NULL as list of internal links
1791 2005-07-05 Andy Wingo <wingo@pobox.com>
1793 * gst/elements/gstfilesrc.c:
1794 * gst/elements/gstfakesrc.c:
1795 * gst/base/gstpushsrc.c:
1796 * gst/base/gstbasesrc.h:
1797 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
1799 2005-07-05 Stefan Kost <ensonic@users.sf.net>
1802 better report generation target (lcov needs a patch)
1804 2005-07-05 Andy Wingo <wingo@pobox.com>
1806 * gst/elements, testsuite: Null if we got it...
1808 2005-07-05 Wim Taymans <wim@fluendo.com>
1811 * libs/gst/dataprotocol/Makefile.am:
1812 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
1813 * libs/gst/dataprotocol/dataprotocol.h:
1814 * pkgconfig/Makefile.am:
1815 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
1816 * pkgconfig/gstreamer-dataprotocol.pc.in:
1817 Ported dataprotol to 0.9.
1818 Added pkgconfig files.
1820 2005-07-05 Andy Wingo <wingo@pobox.com>
1822 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
1823 Default to returning TRUE for the case when tranform_caps returns
1824 a fixed caps, like for identity or volume.
1826 * check/gst/gstbus.c (pound_bus_with_messages):
1827 * check/gst/gstmessage.c (START_TEST):
1828 * check/pipelines/simple_launch_lines.c (got_handoff): Application
1831 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
1832 logic weaks here: always run transform_caps, trying passthrough
1833 operation only if the original caps intersects with the transform.
1835 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
1836 source and sink caps.
1838 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
1839 Intersect the peer caps with the pad template before going into
1841 (gst_base_transform_transform_caps): More debugging.
1843 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
1846 2005-07-04 Edward Hervey <edward@fluendo.com>
1850 (gst_pad_add_*_probe): now returns the signal id for better wrapping
1853 2005-07-04 Andy Wingo <wingo@pobox.com>
1855 * check/gst/gstpad.c: Only set explicit caps on pads.
1857 2005-07-01 Andy Wingo <wingo@pobox.com>
1859 * tests/network-clock.scm: Commentary update.
1861 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
1862 Didn't really make sense, not implementable with basetransform,
1864 (gst_identity_transform): Unref inbuf via make_writable. Feeble
1865 attempt at implementing the sync property, needs an unlock method.
1867 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
1868 New func, by default returns the same caps (the identity
1870 (gst_base_transform_getcaps): Uses transform_caps to return
1872 (gst_base_transform_setcaps): Complicated logic to get caps on
1873 both pads, even if they are different, and to call set_caps once
1874 for every time both pads get their caps set.
1875 (gst_base_transform_handle_buffer): Give the ref to the transform
1876 function. Allows in-place modification of the buffer.
1878 * gst/base/gstbasetransform.h (transform_caps): New class method.
1879 Given caps on one side, what can I do on the other.
1880 (set_caps): Take two caps, one for each side of the element.
1883 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
1884 caps in place. This is safe because we can check the mutability of
1885 the caps, and a good idea because fixate functions are just called
1886 as a matter of last resort. (Not actually implemented.)
1887 (gst_pad_set_caps): If the caps we're setting is actually the same
1888 as the existing pad caps, just update the pointer without calling
1889 setcaps. Assert that caps is either NULL or fixed, as per the
1892 * gst/gstghostpad.c: Update for fixate changes.
1894 2005-07-02 Andy Wingo <wingo@pobox.com>
1897 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
1898 two refcounts makes it immutable, which is enough. Doc more.
1900 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
1902 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
1903 Put the mini_object into GValue as a mini_object,
1904 not a gpointer, since that's how we declared
1907 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1909 * examples/pwg/Makefile.am:
1912 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1914 * docs/pwg/building-testapp.xml:
1916 * examples/pwg/Makefile.am:
1919 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1922 * examples/Makefile.am:
1923 * examples/pwg/Makefile.am:
1924 * examples/pwg/extract.pl:
1925 Enable building the PWG examples.
1926 * docs/pwg/advanced-interfaces.xml:
1927 Add URI interface stub.
1928 * docs/pwg/advanced-types.xml:
1929 * docs/pwg/other-autoplugger.xml:
1930 * docs/pwg/appendix-porting.xml:
1932 Add porting guide (mostly stubs), remove autoplugging (see ADM).
1933 * docs/pwg/building-boiler.xml:
1934 * docs/pwg/building-chainfn.xml:
1935 * docs/pwg/building-pads.xml:
1936 * docs/pwg/building-props.xml:
1937 * docs/pwg/building-state.xml:
1938 * docs/pwg/building-testapp.xml:
1939 Update the building-*.xml parts for 0.9 changes. All examples
1940 code blocks compile in examples/pwg/*.
1942 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1944 * docs/manual/advanced-autoplugging.xml:
1945 * docs/manual/appendix-checklist.xml:
1946 * docs/manual/appendix-integration.xml:
1947 * docs/manual/highlevel-components.xml:
1948 Fix playbin/decodebin examples, update docs a bit, mention bus
1949 instead of signals in various places, mention kmplayer and
1950 kaffeine since they have a working GStreamer backend in the KDE
1953 2005-06-30 Wim Taymans <wim@fluendo.com>
1956 * docs/design/draft-ghostpads.txt:
1957 * docs/design/draft-push-pull.txt:
1958 * docs/design/draft-query.txt:
1959 * docs/design/part-TODO.txt:
1960 * docs/design/part-query.txt:
1961 Added CHANGES-0.9 doc, updated status of other docs.
1966 2005-06-30 Wim Taymans <wim@fluendo.com>
1968 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
1969 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
1970 (gst_base_sink_change_state):
1971 * gst/base/gstbasesink.h:
1972 Some tweaks, only EOS and a buffer complete a preroll.
1974 2005-06-30 Andy Wingo <wingo@pobox.com>
1976 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
1977 activate_push down to the internal pad as well.
1979 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
1981 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1983 * gst/gsttaginterface.c:
1984 Some documentation fixes (#307394 and #307397).
1986 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
1988 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1990 * gst/gstvalue.c: (gst_value_intersect_list):
1991 Fix memleak (#309125).
1993 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1995 * docs/manual/advanced-dataaccess.xml:
1996 Fix fakesrc example to compile; doesn't work, bug somewhere...?
1997 * docs/manual/basics-pads.xml:
1998 Add reference for filtered caps to above chapter.
2000 2005-06-30 Wim Taymans <wim@fluendo.com>
2002 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
2003 (gst_bin_change_state):
2005 Lame attempt at making the state change function a bit
2008 2005-06-30 Wim Taymans <wim@fluendo.com>
2010 * docs/design/part-clocks.txt:
2011 * docs/design/part-element-sink.txt:
2012 * docs/design/part-events.txt:
2013 * docs/design/part-preroll.txt:
2014 * docs/design/part-states.txt:
2015 Some more tweeks and additions to the docs.
2017 2005-06-30 Wim Taymans <wim@fluendo.com>
2019 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
2020 (default_have_data), (gst_pad_class_init), (gst_pad_init),
2021 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
2022 (gst_pad_check_pull_range), (gst_pad_get_range),
2023 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
2025 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
2026 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2027 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2028 (gst_pad_remove_buffer_probe):
2029 Removed atomic operations, use existing LOCK.
2030 Move exception handling out of main code path.
2032 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2034 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
2035 (silly_return_true_function), (gst_pad_class_init),
2036 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
2037 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
2038 (gst_pad_send_event):
2039 Fix accumulator, add default value by using _emitv() instead
2040 of _emit() for signal emission.
2042 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2044 * docs/manual/advanced-dataaccess.xml:
2045 * examples/manual/Makefile.am:
2047 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
2050 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
2052 * gst/elements/gstfilesink.c: (gst_filesink_render):
2053 Simplify code so that we don't have to handle short
2054 writes and return GST_FLOW_ERROR if an error occured.
2056 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2058 * docs/gst/gstreamer-docs.sgml:
2061 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2063 * docs/gst/gstreamer-sections.txt:
2064 * docs/gst/tmpl/gstpad.sgml:
2065 * docs/gst/tmpl/gstprobe.sgml:
2067 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
2068 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
2069 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
2070 (gst_pad_push_event), (gst_pad_send_event):
2072 * gst/gstutils.c: (gst_pad_add_data_probe),
2073 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2074 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2075 (gst_pad_remove_buffer_probe):
2077 Remove old probes, add new g-signal-based probes and some utility
2080 2005-06-29 Edward Hervey <edward@fluendo.com>
2082 * gst/gstelementfactory.c:
2085 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
2086 the definition to the header file.
2088 2005-06-29 Andy Wingo <wingo@pobox.com>
2090 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
2091 plugins from the source directory.
2093 2005-06-29 Wim Taymans <wim@fluendo.com>
2095 * docs/gst/tmpl/gstbuffer.sgml:
2096 * docs/gst/tmpl/gstclock.sgml:
2097 Some fixings for blantently wrong text.
2099 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
2101 * check/Makefile.am:
2102 * gst/gst.c: (add_path_func), (init_pre):
2103 * gst/gstregistry.c: (gst_registry_add_path):
2104 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
2105 only scan the GST_PLUGIN_PATH locations, and not add
2108 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
2110 * docs/gst/gstreamer-sections.txt:
2111 * docs/gst/tmpl/gstbasesrc.sgml:
2118 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2120 * docs/manual/advanced-autoplugging.xml:
2121 Fix autoplugging example.
2123 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2125 * docs/manual/advanced-autoplugging.xml:
2126 * docs/manual/mime-world.fig:
2127 Try to get autoplugging working, fix type detection. Fix text
2128 in hello-world image.
2130 2005-06-29 Wim Taymans <wim@fluendo.com>
2132 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2133 (gst_base_sink_change_state):
2137 map SIGNAL and BROADCAST to the right function.
2140 Remove redundant braces.
2142 * gst/gstpad.c: (gst_pad_set_caps):
2143 Don't call setcaps function when reseting caps to NULL.
2145 * gst/gstsystemclock.c: (gst_system_clock_dispose),
2146 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
2147 (gst_system_clock_id_unschedule):
2148 Use BROADCAST as this is what we do.
2150 2005-06-29 Wim Taymans <wim@fluendo.com>
2152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2153 We are actually prerolling before commiting the state
2156 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2158 * docs/manual/advanced-clocks.xml:
2159 * docs/manual/advanced-interfaces.xml:
2160 * docs/manual/advanced-metadata.xml:
2161 * docs/manual/advanced-position.xml:
2162 * docs/manual/advanced-schedulers.xml:
2163 * docs/manual/advanced-threads.xml:
2164 * docs/manual/appendix-porting.xml:
2165 * docs/manual/basics-bins.xml:
2166 * docs/manual/basics-bus.xml:
2167 * docs/manual/basics-elements.xml:
2168 * docs/manual/basics-helloworld.xml:
2169 * docs/manual/basics-pads.xml:
2170 * docs/manual/highlevel-components.xml:
2171 * docs/manual/manual.xml:
2172 * docs/manual/thread.fig:
2173 Update (until threads/scheduling) Application Development Manual;
2174 remove GstThread, add GstBus, add simple porting checklist, add
2175 documentation for tag writing, clocks, make all examples until this
2176 part compile and run.
2177 * examples/manual/Makefile.am:
2178 Update from changes to Application Development Manual; add bus
2179 example, remove thread example.
2181 2005-06-28 Wim Taymans <wim@fluendo.com>
2183 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
2184 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
2185 (gst_bus_source_dispatch):
2186 Add debugging messages.
2187 Make internal methods static.
2188 Handle the case where the bus is flushed in the handler.
2190 * gst/gstelement.c: (gst_element_get_bus):
2191 Fix refcount in _get_bus();
2193 * gst/gstpipeline.c: (gst_pipeline_change_state),
2194 (gst_pipeline_get_clock_func):
2195 Clock refcounting fixes.
2196 Handle the case where preroll timed out more gracefully.
2198 * gst/gstsystemclock.c: (gst_system_clock_dispose):
2199 Clean up the internal thread in dispose. This is needed
2200 for subclasses that actually get disposed.
2202 * gst/schedulers/threadscheduler.c:
2203 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
2204 (gst_thread_scheduler_dispose):
2205 Free thread pool in dispose.
2207 2005-06-28 Andy Wingo <wingo@pobox.com>
2209 * tests/network-clock-utils.scm (debug, print-event): New utils.
2211 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
2212 (*packet-loss*): Unified loss probability.
2213 (network-time): Report out-of-band events.
2215 * tests/plot-data: Add support for out-of-band events. Hack it
2216 into this script instead of passing it down the pipe; should fix
2219 2005-06-28 Wim Taymans <wim@fluendo.com>
2221 * docs/gst/gstreamer.types:
2222 * docs/gst/tmpl/gstbasesrc.sgml:
2223 * docs/gst/tmpl/gstpad.sgml:
2226 2005-06-28 Wim Taymans <wim@fluendo.com>
2228 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
2229 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
2230 (gst_proxy_pad_do_fixatecaps):
2231 Correctly proxy the check_pull_range function.
2233 2005-06-28 Andy Wingo <wingo@pobox.com>
2235 * tests/network-clock.scm: Removed need for slib.
2237 2005-06-28 Wim Taymans <wim@fluendo.com>
2239 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
2240 (gst_basesink_preroll_queue_flush):
2241 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
2242 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
2243 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
2244 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2245 (gst_proxy_pad_set_property):
2248 * gst/gstqueue.c: (gst_queue_init):
2249 The deprecated pad loop function is removed now.
2251 2005-06-28 Andy Wingo <wingo@pobox.com>
2253 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
2254 New parameters, simulate network packet loss.
2256 * tests/network-clock-utils.scm: Initialize the RNG.
2258 2005-06-28 Wim Taymans <wim@fluendo.com>
2260 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
2261 (gst_basesink_event), (gst_basesink_deactivate):
2262 Flushing the preroll queue always needs to unlock the waiters.
2264 2005-06-28 Edward Hervey <edward@fluendo.com>
2266 * gst/gstpipeline.c: (gst_pipeline_send_event):
2267 Wheen a seek was successful on a pipeline, set the stream_time to the
2268 seek offset in order to have a synchronized stream_time.
2270 2005-06-28 Wim Taymans <wim@fluendo.com>
2272 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
2273 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
2274 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
2275 (gst_proxy_pad_do_fixatecaps):
2276 Call wrapper function instead of just calling the function
2277 pointers. This takes care of any locking and whatmore.
2279 2005-06-28 Wim Taymans <wim@fluendo.com>
2281 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
2282 (gst_pad_pull_range):
2284 CONNECTED -> LINKED.
2286 2005-06-28 Andy Wingo <wingo@pobox.com>
2288 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
2289 source-munging commit!!!
2291 * gst/gstobject.c (gst_object_unref, gst_object_ref)
2292 (gst_object_sink): Take gpointer arguments, not GstObject --
2293 avoids casts. Like GLib.
2295 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
2298 2005-06-27 Andy Wingo <wingo@pobox.com>
2300 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
2303 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
2304 returns a sorted copy of the trace list.
2305 (gst_alloc_trace_print_live): New API, only prints traces with
2306 live objects. Sort the list.
2307 (gst_alloc_trace_print_all): Sort the list.
2308 (gst_alloc_trace_print): Align columns.
2310 * gst/elements/gstttypefindelement.c:
2311 * gst/elements/gsttee.c:
2312 * gst/base/gstbasesrc.c:
2313 * gst/base/gstbasesink.c:
2314 * gst/base/gstbasetransform.c:
2315 * gst/gstqueue.c: Adapt for pad activation changes.
2317 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
2319 (gst_pipeline_dispose): Drop ref on sched.
2321 * gst/gstpad.c (gst_pad_init): Set the default activate func.
2322 (gst_pad_activate_default): Push mode by default.
2323 (pre_activate_switch, post_activate_switch): New stubs, things to
2324 do before and after switching activation modes on pads.
2325 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
2326 the pad's activate function to choose which mode to activate.
2327 Shortcut on deactivation and call the right function directly.
2328 (gst_pad_activate_pull): New API, (de)activates a pad in pull
2330 (gst_pad_activate_push): New API, same for push mode.
2331 (gst_pad_set_activate_function)
2332 (gst_pad_set_activatepull_function)
2333 (gst_pad_set_activatepush_function): Setters for new API.
2335 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
2336 Trace all miniobjects.
2337 (gst_mini_object_make_writable): Unref the arg if we copy, like
2338 gst_caps_make_writable.
2340 * gst/gstmessage.c (_gst_message_initialize): No trace init.
2342 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
2343 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
2344 Adapt for new pad API.
2346 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
2349 * gst/gstelement.c (gst_element_iterate_src_pads)
2350 (gst_element_iterate_sink_pads): New API functions.
2352 * gst/gstelement.c (iterator_fold_with_resync): New utility,
2353 should fold into gstiterator.c in some form.
2354 (gst_element_pads_activate): Simplified via use of fold and
2355 delegation of decisions to gstpad->activate.
2357 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
2360 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
2361 class once in init, like gstmessage. Didn't run into this issue
2362 but it seems correct. Don't initialize a trace, gstminiobject does
2365 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
2366 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
2368 (assert_live_count): New util function, uses alloc traces to check
2371 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
2372 To be modified when unlink drops the internal pad.
2374 2005-06-27 Wim Taymans <wim@fluendo.com>
2376 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
2377 (gst_bin_change_state):
2378 Cleanup the get_state() function a little, make sure it
2379 iterates the same set of elements.
2380 Added stub iterate_state_order().
2382 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
2384 * docs/gst/gstreamer-docs.sgml:
2385 * docs/gst/gstreamer-sections.txt:
2386 * docs/gst/gstreamer.types:
2387 * docs/gst/tmpl/gstbasesink.sgml:
2388 * docs/gst/tmpl/gstbasesrc.sgml:
2389 * docs/gst/tmpl/gstbasetransform.sgml:
2390 * docs/gst/tmpl/gstelement.sgml:
2391 * docs/gst/tmpl/gstiterator.sgml:
2392 * gst/base/gstbasesrc.c:
2393 * gst/base/gstbasesrc.h:
2394 * gst/base/gstbasetransform.h:
2396 * gst/gstiterator.h:
2397 adding basetransform and iterator docs
2399 2005-06-27 Andy Wingo <wingo@pobox.com>
2401 * docs/design/part-activation.txt: Notes on how activation should
2402 work -- not quite implemented yet.
2404 2005-06-25 Wim Taymans <wim@fluendo.com>
2406 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
2407 At least get the chain function correct, needs more
2410 2005-06-25 Wim Taymans <wim@fluendo.com>
2412 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
2413 (gst_basesink_handle_object), (gst_basesink_event),
2414 (gst_basesink_do_sync), (gst_basesink_handle_event),
2415 (gst_basesink_change_state):
2417 Right, two problems here: ghostpads don't take locks and
2418 glib _rec_mutex_lock_full() with depth==0 still locks.
2419 Catch illegal locking and g_warn them.
2421 2005-06-25 Wim Taymans <wim@fluendo.com>
2423 * check/states/sinks.c: (START_TEST), (gst_object_suite):
2424 Have to check for completion now...
2426 2005-06-25 Wim Taymans <wim@fluendo.com>
2428 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
2429 (gst_basesink_handle_object), (gst_basesink_event),
2430 (gst_basesink_do_sync), (gst_basesink_handle_event),
2431 (gst_basesink_change_state):
2433 Unlock STREAM_LOCK whatever the recursion was.
2435 2005-06-25 Wim Taymans <wim@fluendo.com>
2437 * gst/base/gstbasesink.c: (gst_basesink_set_property),
2438 (gst_basesink_preroll_queue_empty),
2439 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
2440 (gst_basesink_event), (gst_basesink_do_sync),
2441 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
2442 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
2443 (gst_basesink_change_state):
2444 Reworked the base sink, handle event and buffer serialisation
2445 correctly and removed possible deadlock.
2446 Handle EOS correctly.
2448 2005-06-25 Wim Taymans <wim@fluendo.com>
2450 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
2451 (gst_pipeline_change_state):
2452 * tools/gst-launch.c: (check_intr), (event_loop), (main):
2453 Allow elements to post EOS in the state change function.
2454 Fix up -launch, make it exit the poll loop when the
2455 pipeline actually changed state.
2456 Fix up warning parsing in -launch.
2458 2005-06-25 Wim Taymans <wim@fluendo.com>
2460 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
2461 (gst_tee_sink_activate):
2462 Core takes STREAM_LOCK for us now.
2464 2005-06-25 Wim Taymans <wim@fluendo.com>
2466 * gst/gstelement.c: (gst_element_get_state_func),
2467 (gst_element_set_state):
2469 * gst/gstmessage.c: (gst_message_parse_error),
2470 (gst_message_parse_warning):
2471 Keep track of current target state while performing a state
2472 change so that subclasses can do something interesting.
2473 Fix parsing of warning/error messages when GError is NULL.
2475 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2477 * docs/gst/Makefile.am:
2478 * docs/gst/gstreamer-docs.sgml:
2479 * docs/gst/gstreamer-sections.txt:
2480 * docs/gst/gstreamer.types:
2481 * docs/gst/tmpl/gstbasesink.sgml:
2482 * docs/gst/tmpl/gstbasesrc.sgml:
2483 * docs/gst/tmpl/gstbin.sgml:
2484 * docs/gst/tmpl/gstcompat.sgml:
2485 * docs/gst/tmpl/gstfakesink.sgml:
2486 * docs/gst/tmpl/gstfakesrc.sgml:
2487 * docs/gst/tmpl/gstfilesink.sgml:
2488 * docs/gst/tmpl/gstfilesrc.sgml:
2489 * docs/gst/tmpl/gstindex.sgml:
2490 * docs/manual/appendix-quotes.xml:
2491 * gst/base/gstbasesrc.h:
2492 * gst/elements/gstfakesrc.h:
2494 start pulling in base classes and elements in our docs
2496 2005-06-24 Stefan Kost <ensonic@users.sf.net>
2498 * docs/gst/Makefile.am:
2499 * docs/libs/Makefile.am:
2500 fixed make distcheck with gtk-doc 1.3
2502 2005-06-23 Wim Taymans <wim@fluendo.com>
2504 * gst/gstelement.c: (gst_element_get_state_func),
2505 (gst_element_set_state), (gst_element_change_state):
2506 When the state did not change, also report NO_PREROLL
2509 2005-06-23 Wim Taymans <wim@fluendo.com>
2511 * gst/gstpad.c: (gst_pad_event_default):
2512 * gst/gstqueue.c: (gst_queue_loop):
2513 No unsafe task pausing please.
2515 2005-06-23 Wim Taymans <wim@fluendo.com>
2517 * gst/schedulers/threadscheduler.c:
2518 (gst_thread_scheduler_task_start),
2519 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
2520 Ref the task before pushing it on the threadpool. This
2521 makes sure that we have a ref when the threadfunction is
2524 2005-06-23 Andy Wingo <wingo@pobox.com>
2526 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
2527 offset is greater than the file's size.
2529 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
2530 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
2531 * gst/gstobject.c (gst_object_class_init): Make the class lock
2532 recursive. Wim won't let me drop deep_notify. Decodebin works
2535 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
2536 internal pad, and hacks accordingly. Doesn't do it on the target
2537 pad because we change its caps. Probably catches all cases of
2539 (gst_ghost_pad_set_property): Connect to notify::caps as
2542 * tests/network-clock.scm (plot-simulation): Pipe data to the
2543 elite python skript.
2545 * tests/network-clock-utils.scm (define-parameter): New macro,
2546 defines a parameter that can be set via the command line.
2547 (set-parameter!, parse-parameter-arguments): Command line args
2550 * tests/plot-data: Simple matplotlib-based plotter, takes input on
2553 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
2555 * gst/elements/gsttypefindelement.c:
2556 (gst_type_find_element_handle_event):
2557 Don't restart typefinding on a discont.
2558 * gst/gstelement.c: (gst_element_set_state):
2560 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
2561 Allow changing mode of an active pad.
2563 * gst/registries/gstlibxmlregistry.c: (load_feature):
2564 Don't cast a static pad template to a normal pad template.
2566 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2568 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
2569 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2570 remove gst_strtoll completely, since it didn't actually do
2571 anything more than what g_ascii_strtoull already does.
2572 check for range errors when deserializing
2573 do a cast for the unsigned cases; but further fixing needs
2574 a decision on what the interpretation of "(int)" and
2575 deserialization should be for values that fall outside the
2576 type's boundaries (ie, refuse, or interpret as casting)
2578 2005-06-23 Wim Taymans <wim@fluendo.com>
2580 * check/Makefile.am:
2581 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
2582 * docs/design/part-live-source.txt:
2583 * docs/design/part-states.txt:
2584 * gst/base/gstbasesrc.c: (gst_basesrc_init),
2585 (gst_basesrc_set_live), (gst_basesrc_is_live),
2586 (gst_basesrc_get_range), (gst_basesrc_activate),
2587 (gst_basesrc_change_state):
2588 * gst/base/gstbasesrc.h:
2589 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
2590 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
2591 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
2592 * gst/gstelement.c: (gst_element_get_state_func),
2593 (gst_element_set_state):
2596 * tools/gst-launch.c: (event_loop), (main):
2597 Added support for live sources and other elements that
2599 Updated design docs, added live-source design doc.
2600 Implemented live source functionality in basesrc
2601 Fix error condition in _bin_get_state()
2602 Implement live source handling in -launch.
2603 Added check for live sources.
2604 Fixed case in GstBin where elements were changed state
2608 2005-06-23 Andy Wingo <wingo@pobox.com>
2610 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
2613 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
2614 gst_caps_replace takes care of this for us.
2616 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
2617 gst_pad_set_caps on the target, not just its setcaps() function.
2619 * tests/network-clock.scm:
2620 * tests/network-clock-utils.scm: A network clock simulator.
2621 Something of an algorithmic testbed before doing something in C.
2623 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
2625 * check/Makefile.am:
2626 * check/gst/capslist.h:
2627 copy over from 0.8, and add two with bitmasks specified with
2629 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
2630 add test to parse everything from capslist.h
2631 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
2633 add test for structure deserialization
2634 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
2635 add tests for deserialization of strings to int types
2636 * gst/gststructure.c: (gst_structure_nth_field_name):
2637 * gst/gststructure.h:
2638 add a way to get the name of a field referenced by index
2639 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2640 instead of checking if the resulting long long lies between
2641 min and max, we check if the long long would fit into
2642 a number of bytes for the final type.
2643 This fixes cases where a string represents 2^32 - 1, which
2644 when cast to int would be the (valid) -1, but is bigger than
2647 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
2649 * gst/parse/grammar.y:
2650 add a log line for type deserialization
2652 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
2654 * check/gst/gstvalue.c: (START_TEST):
2655 * gst/gstvalue.c: (gst_value_deserialize):
2656 return long long, not int, so gint64 deserialization actually
2657 works. Is there any flag that makes the compiler check this ?
2660 2005-06-22 Wim Taymans <wim@fluendo.com>
2663 Added convenience macros for setting buffers in GValue.
2665 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
2667 * check/gst/.cvsignore:
2668 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
2669 add a test deserializing int64, and comment part out because
2672 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
2674 * check/Makefile.am:
2675 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
2676 * testsuite/Makefile.am:
2677 * testsuite/caps/Makefile.am:
2678 * testsuite/caps/value_serialize.c:
2679 * testsuite/test_gst_init.c:
2680 move a value_serialize test over
2682 2005-06-20 Wim Taymans <wim@fluendo.com>
2687 * gst/gstvalue.c: (gst_value_compare_buffer),
2688 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
2689 (gst_value_compare_flags), (gst_value_serialize_flags),
2690 (gst_value_deserialize_flags), (_gst_value_initialize):
2691 Fix serialisation of buffers, they are not boxed types anymore
2693 2005-06-20 Wim Taymans <wim@fluendo.com>
2695 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
2696 Testcase to show error in buffer-on-caps serialisation.
2698 2005-06-20 Andy Wingo <wingo@pobox.com>
2700 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
2701 will be adding to later.
2703 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
2704 if its socks fill with rocks.
2705 (gst_system_clock_obtain): Set the name on object construction.
2706 Avoid double-checked locking.
2708 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
2710 * gst/gsturi.c: (gst_element_make_from_uri):
2711 Fix potential endless loop.
2713 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2715 * check/Makefile.am:
2717 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
2719 move over from testsuite dir and clean up
2722 * testsuite/Makefile.am:
2723 * testsuite/tags/.cvsignore:
2724 * testsuite/tags/Makefile.am:
2725 * testsuite/tags/merge.c:
2726 remove testsuite/tags
2728 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2730 * docs/gst/gstreamer-sections.txt:
2731 * docs/gst/tmpl/gstenumtypes.sgml:
2732 * win32/gstenumtypes.c:
2733 clean up documentation build a little
2735 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2738 add macros for checking refcounts on objects and caps
2739 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
2740 add some more unit tests
2741 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2742 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
2743 fix leaked refcounts (I hope :)) so unittest works
2747 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
2749 * configure.ac: back to HEAD
2751 === release 0.9.1 ===
2753 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2759 2005-06-17 Andy Wingo <wingo@pobox.com>
2761 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
2762 assert; it's always possible that the pad gets deactivated in
2763 between the checks in gstpad.c and the implementation. Rely on
2764 finish_preroll() to return a FLUSHING or similar instead of on the
2767 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
2768 clock and post an EOS message if we come out of finish_preroll in
2771 2005-06-16 David Schleef <ds@schleef.org>
2773 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2774 (gst_capsfilter_set_property): Allow NULL as possible value
2775 for filter_caps property, indicating GST_CAPS_ANY.
2777 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2779 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
2781 * gst/schedulers/Makefile.am:
2783 * gstreamer.spec.in:
2786 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2788 * gstreamer.spec.in:
2791 2005-06-08 Andy Wingo <wingo@pobox.com>
2793 * gst/gstutils.c: RPAD fixes all around.
2794 (gst_element_link_pads): Refcounting fixes.
2796 * tools/gst-inspect.c:
2797 * tools/gst-xmlinspect.c:
2799 * gst/base/gsttypefindhelper.c:
2800 * gst/base/gstbasesink.c:
2801 * gst/gstqueue.c: RPAD fixes.
2803 * gst/gstghostpad.h:
2804 * gst/gstghostpad.c: New ghost pad implementation as full proxy
2805 pads. The tricky thing is they provide both source and sink
2806 interfaces, since they proxy the internal pad for the external
2807 pad, and vice versa. Implement with lower-level ProxyPad objects,
2808 with the interior proxy pad as a child of the exterior ghost pad.
2809 Should write a doc on this.
2811 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
2812 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
2815 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
2816 pads are real pads. No ghost pads in this file. Not documenting
2817 the myriad s/RPAD/PAD/ and REALIZE fixes.
2818 (gst_pad_class_init): Add properties for "direction" and
2819 "template". Both are construct-only, so they can't change during
2820 the life of the pad. Fixes properly deriving from GstPad.
2821 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
2822 derived objects, just set properties when creating the objects via
2824 (gst_pad_get_parent): Implement as a function, return NULL if the
2825 parent is not an element.
2826 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
2827 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
2829 * gst/gstobject.c (gst_object_class_init): Make name a construct
2830 property. Don't set it in the object init.
2832 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
2833 with UNKNOWN direction.
2834 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
2835 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
2836 (gst_element_remove_pad): Remove ghost-pad special cases.
2837 (gst_element_pads_activate): Remove rpad cruft.
2839 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
2840 catch the pad's-parent-not-an-element case.
2842 * gst/gst.h: Include gstghostpad.h.
2844 * gst/gst.c (init_post): No more real, ghost pads.
2846 * gst/Makefile.am: Add gstghostpad.[ch].
2848 * check/Makefile.am:
2849 * check/gst/gstbin.c:
2850 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
2851 into a bin creates ghost pads, and that the refcounts are right.
2852 Partly moved from gstbin.c.
2854 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
2856 * check/gst-libs/.cvsignore:
2857 * check/gst/.cvsignore:
2858 * check/pipelines/.cvsignore:
2860 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
2861 (START_TEST), (cleanup_suite), (main):
2862 add some tests related to cleanup after running pipelines
2864 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
2866 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
2867 add a testsuite for GstBuffer
2869 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
2871 * gst/gstminiobject.h:
2872 add defines for accessing the refcount
2874 2005-06-03 Stefan Kost <ensonic@users.sf.net>
2876 * Makefile.am: added support for html unit test coverage reports
2878 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
2880 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2881 Free existing caps if the capsfilter changes. Add a FIXME about
2882 setting those caps on the pads.
2884 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
2885 Before adding a ghost pad to a parent bin, check that there isn't
2886 already one for the element on the bin. Prevents infinite recursion
2887 when using decodebin in parse pipelines. Andy says he'll rewrite the
2888 way this works anyway, so ignore the hack.
2890 2005-06-02 Andy Wingo <wingo@pobox.com>
2892 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
2893 file size, pass it on to the type find helper.
2895 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
2896 segment_start and segment_end properly according to the seek
2897 method. Segment_end is still a bit flaky because offset can be
2898 negative for CUR and END cases, but it takes -1 as an "unset"
2901 2005-06-02 Wim Taymans <wim@fluendo.com>
2903 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
2904 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
2905 (gst_basesink_activate):
2906 * gst/base/gstbasesink.h:
2907 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
2908 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
2909 (gst_pad_query), (gst_pad_start_task):
2911 * gst/gstqueue.c: (gst_queue_bufferalloc),
2912 (gst_queue_handle_sink_event), (gst_queue_chain):
2913 Bufferalloc: return GstFlowReturn to more accuratly report
2914 why allocation failed.
2916 2005-06-02 Wim Taymans <wim@fluendo.com>
2918 * gst/gstpipeline.c: (gst_pipeline_send_event):
2919 Take snapshot of state without blocking.
2921 2005-06-02 Wim Taymans <wim@fluendo.com>
2923 * docs/design/part-TODO.txt:
2924 * docs/design/part-caps.txt:
2925 * docs/design/part-clocks.txt:
2926 * docs/design/part-negotiation.txt:
2927 * docs/design/part-preroll.txt:
2930 2005-05-30 Wim Taymans <wim@fluendo.com>
2932 * gst/elements/gstidentity.c: (gst_identity_event),
2933 (gst_identity_transform), (gst_identity_get_property):
2934 Protect last_message property as it is accessed from
2937 2005-05-30 Wim Taymans <wim@fluendo.com>
2939 * gst/gstelement.c: (gst_element_init),
2940 (gst_element_pads_activate), (gst_element_change_state):
2941 Slicker pad activation code.
2943 2005-05-30 Wim Taymans <wim@fluendo.com>
2947 * gst/gstelementfactory.h:
2949 Move elementfactory methods to separate .h file.
2951 2005-05-30 Wim Taymans <wim@fluendo.com>
2953 * docs/design/part-overview.txt:
2954 * gst/gstsystemclock.h:
2955 Small typo fixes, doc updates.
2957 2005-05-30 Wim Taymans <wim@fluendo.com>
2959 * gst/gst.c: (gst_init_get_popt_table), (init_post),
2960 (init_popt_callback):
2961 Remove cpu-opt flag.
2963 2005-05-30 Wim Taymans <wim@fluendo.com>
2965 * gst/gstbuffer.c: (gst_subbuffer_finalize),
2966 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
2968 Avoid typechecking in places where not needed.
2969 Added accessor for malloc_data.
2971 2005-05-30 Wim Taymans <wim@fluendo.com>
2973 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
2974 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
2975 (gst_pad_configure_sink), (gst_pad_configure_src),
2976 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
2977 (gst_pad_start_task):
2978 Propagate errors from _set_caps() in configure_src/sink
2979 functions instead of returning TRUE.
2980 FLUSH events can travel up and downstream
2983 2005-05-30 Wim Taymans <wim@fluendo.com>
2985 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
2986 (gst_basesink_activate):
2987 Handle EOS in preroll.
2989 2005-05-30 Wim Taymans <wim@fluendo.com>
2991 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2992 (gst_queue_loop), (gst_queue_handle_src_event):
2993 Remove old pieces of code
2994 Flushing the queue in an upstream event is a very bad idea.
2996 2005-05-26 Andy Wingo <wingo@pobox.com>
2998 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
2999 gst_value_set_mini_object so as to add a ref on the object (which
3000 will be removed when the value is unset).
3002 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
3003 arg type in ::handoff.
3005 * gst/gstelement.c (gst_element_change_state): Also deactivate
3006 pads in READY->NULL, just in case the element didn't make it to
3007 PAUSED. Wingo tested, Wim approved.
3009 2005-05-26 Wim Taymans <wim@fluendo.com>
3011 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
3012 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
3013 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
3014 A flushing pad cannot be used to alloc_buffer from.
3016 2005-05-26 Wim Taymans <wim@fluendo.com>
3018 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
3019 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
3020 (gst_bus_source_dispatch), (gst_bus_source_finalize),
3021 (gst_bus_create_watch), (gst_bus_add_watch_full):
3023 Implement a real GSource and use g_main_context_wakeup() to
3024 signal new messages instead of the socketpair.
3026 2005-05-25 Wim Taymans <wim@fluendo.com>
3028 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
3029 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
3030 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
3031 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
3032 (gst_pad_send_event), (gst_pad_start_task):
3033 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
3034 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
3035 (gst_queue_sink_activate), (gst_queue_src_activate),
3036 (gst_queue_change_state):
3038 Fix state changes for non sinks. We now change sinks, then elements
3039 with unconnected srcpads, then the rest.
3040 More efficient queue unlocking in flush and state changes.
3041 Set the pad activate mode even if it does not have an activate
3044 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3046 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
3047 Don't go in pull mode for non-seekable sources.
3048 * gst/elements/gsttypefindelement.h:
3049 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
3050 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
3051 (free_entry), (stop_typefinding),
3052 (gst_type_find_element_handle_event), (find_peek),
3053 (gst_type_find_element_chain), (do_pull_typefind),
3054 (gst_type_find_element_change_state):
3055 Allow typefinding (w/o seeking) in push-mode, simplified version
3057 * gst/gstutils.c: (gst_buffer_join):
3059 gst_buffer_join() from 0.8.
3061 2005-05-25 Wim Taymans <wim@fluendo.com>
3063 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
3064 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
3065 (gst_pad_send_event), (gst_pad_start_task):
3066 Disable attempt at mode switching until it is figured out.
3068 2005-05-25 Wim Taymans <wim@fluendo.com>
3070 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
3071 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
3072 (gst_basesink_finish_preroll), (gst_basesink_chain),
3073 (gst_basesink_loop), (gst_basesink_activate),
3074 (gst_basesink_change_state):
3075 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
3076 (gst_basesrc_get_range), (gst_basesrc_loop),
3077 (gst_basesrc_activate):
3078 * gst/elements/gsttee.c: (gst_tee_sink_activate):
3079 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
3080 (gst_real_pad_init), (gst_real_pad_set_property),
3081 (gst_real_pad_get_property), (gst_pad_set_active),
3082 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
3083 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
3084 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
3085 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
3086 (gst_pad_event_default_dispatch), (gst_pad_event_default),
3087 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
3088 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
3089 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
3090 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
3091 (gst_pad_stop_task):
3093 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3094 (gst_queue_loop), (gst_queue_src_activate):
3095 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
3096 (gst_task_get_state):
3098 * gst/schedulers/threadscheduler.c:
3099 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
3100 Implement gst_pad_pause/start/stop_task(), take STREAM lock
3102 Remove ACTIVE pad flag, use FLUSHING everywhere
3103 Added _pad_chain(), _pad_get_range() to call chain/getrange
3105 Add locks around IS_FLUSHING when reading.
3106 Take STREAM lock in chain(), get_range() functions so plugins
3107 don't need to take it anymore.
3111 2005-05-25 Wim Taymans <wim@fluendo.com>
3113 * tools/gst-launch.c: (event_loop):
3114 Unref message after using its contents instead of
3117 2005-05-24 Wim Taymans <wim@fluendo.com>
3119 * docs/design/draft-ghostpads.txt:
3120 * docs/design/draft-push-pull.txt:
3121 * docs/design/draft-query.txt:
3122 * docs/design/part-overview.txt:
3123 Docs updates, added general overview doc.
3125 2005-05-21 David Schleef <ds@schleef.org>
3127 * docs/gst/tmpl/old/GstBin.sgml:
3128 * docs/gst/tmpl/old/GstBuffer.sgml:
3129 * docs/gst/tmpl/old/GstCaps.sgml:
3130 * docs/gst/tmpl/old/GstClock.sgml:
3131 * docs/gst/tmpl/old/GstCompat.sgml:
3132 * docs/gst/tmpl/old/GstData.sgml:
3133 * docs/gst/tmpl/old/GstElement.sgml:
3134 * docs/gst/tmpl/old/GstEvent.sgml:
3135 * docs/gst/tmpl/old/GstIndex.sgml:
3136 * docs/gst/tmpl/old/GstStructure.sgml:
3137 * docs/gst/tmpl/old/GstTag.sgml:
3138 * docs/gst/tmpl/old/cothreads.sgml:
3139 * docs/gst/tmpl/old/cothreads_compat.sgml:
3140 * docs/gst/tmpl/old/gettext.sgml:
3141 * docs/gst/tmpl/old/gobject2gtk.sgml:
3142 * docs/gst/tmpl/old/grammar.tab.sgml:
3143 * docs/gst/tmpl/old/gst-i18n-app.sgml:
3144 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
3145 * docs/gst/tmpl/old/gst_private.sgml:
3146 * docs/gst/tmpl/old/gstaggregator.sgml:
3147 * docs/gst/tmpl/old/gstarch.sgml:
3148 * docs/gst/tmpl/old/gstatomic_impl.sgml:
3149 * docs/gst/tmpl/old/gstbufferstore.sgml:
3150 * docs/gst/tmpl/old/gstdata_private.sgml:
3151 * docs/gst/tmpl/old/gstdisksink.sgml:
3152 * docs/gst/tmpl/old/gstdisksrc.sgml:
3153 * docs/gst/tmpl/old/gstelementfactory.sgml:
3154 * docs/gst/tmpl/old/gstextratypes.sgml:
3155 * docs/gst/tmpl/old/gstfakesink.sgml:
3156 * docs/gst/tmpl/old/gstfakesrc.sgml:
3157 * docs/gst/tmpl/old/gstfdsink.sgml:
3158 * docs/gst/tmpl/old/gstfdsrc.sgml:
3159 * docs/gst/tmpl/old/gstfilesink.sgml:
3160 * docs/gst/tmpl/old/gstfilesrc.sgml:
3161 * docs/gst/tmpl/old/gsthttpsrc.sgml:
3162 * docs/gst/tmpl/old/gstidentity.sgml:
3163 * docs/gst/tmpl/old/gstindexfactory.sgml:
3164 * docs/gst/tmpl/old/gstmarshal.sgml:
3165 * docs/gst/tmpl/old/gstmd5sink.sgml:
3166 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
3167 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
3168 * docs/gst/tmpl/old/gstpadtemplate.sgml:
3169 * docs/gst/tmpl/old/gstpipefilter.sgml:
3170 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
3171 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
3172 * docs/gst/tmpl/old/gstshaper.sgml:
3173 * docs/gst/tmpl/old/gstspider.sgml:
3174 * docs/gst/tmpl/old/gstspideridentity.sgml:
3175 * docs/gst/tmpl/old/gststatistics.sgml:
3176 * docs/gst/tmpl/old/gsttee.sgml:
3177 * docs/gst/tmpl/old/gsttimecache.sgml:
3178 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
3179 * docs/gst/tmpl/old/gstxmlregistry.sgml:
3180 * docs/gst/tmpl/old/gthread-cothreads.sgml:
3181 * docs/gst/tmpl/old/types.sgml:
3182 I didn't intend to add these or check them in.
3184 2005-05-19 David Schleef <ds@schleef.org>
3186 * configure.ac: Use -no-common everywhere. In a sane world, it
3187 would be the default in libtool, because without it, you can't
3188 build DLLs on Windows.
3189 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
3190 * docs/gst/gstreamer-sections.txt:
3191 * docs/gst/tmpl/gstcpu.sgml:
3192 * docs/gst/tmpl/gstdata.sgml:
3193 * docs/gst/tmpl/gstthread.sgml:
3195 2005-05-19 David Schleef <ds@schleef.org>
3197 * gst/gstminiobject.c: (gst_value_set_mini_object),
3198 (gst_value_take_mini_object), (gst_value_get_mini_object):
3199 * gst/gstminiobject.h: Add GValue set/get functions.
3201 2005-05-19 Wim Taymans <wim@fluendo.com>
3203 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
3204 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
3205 (gst_subbuffer_init), (gst_buffer_is_span_fast):
3207 * gst/gstbus.c: (gst_bus_post):
3208 * gst/gstelement.c: (gst_element_get_random_pad):
3209 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
3210 Make subbufer unref the parent in finalize.
3211 some more debugging info.
3214 2005-05-19 Wim Taymans <wim@fluendo.com>
3216 * gst/base/gstbasesink.c: (gst_basesink_class_init),
3217 (gst_basesink_init), (gst_basesink_finalize),
3218 (gst_basesink_activate), (gst_basesink_change_state):
3219 Don't free preroll queue too early.
3221 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3225 Hi, I'm outdated. Please shoot me.
3227 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3229 * gst/gstpipeline.c: (gst_pipeline_send_event):
3230 Do not access variables after they have been deleted.
3232 2005-05-19 Wim Taymans <wim@fluendo.com>
3234 * tools/gst-inspect.c: (print_plugin_features):
3235 A plugin feature does unfortunatly not use the
3238 2005-05-18 Wim Taymans <wim@fluendo.com>
3240 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
3241 Port _span() functions to new subbuffers.
3243 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3245 * gst/gstbin.c: (gst_bin_add_func):
3246 Fix clock settery in bins when adding kids after the clock has
3249 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3251 * gst/elements/gstidentity.c: (gst_identity_class_init):
3252 Workaround until signals support GstMiniObject.
3254 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3257 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
3259 2005-05-18 Wim Taymans <wim@fluendo.com>
3261 * gst/base/Makefile.am:
3262 * gst/base/gstadapter.c: (gst_adapter_base_init),
3263 (gst_adapter_class_init), (gst_adapter_init),
3264 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
3265 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
3266 (gst_adapter_flush), (gst_adapter_available),
3267 (gst_adapter_available_fast):
3268 * gst/base/gstadapter.h:
3269 Ported and added adapter to the base classes.
3271 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3275 Make sure the class is reffed/unreffed once before threads can be
3276 used. Fixes #304551.
3278 2005-05-17 Wim Taymans <wim@fluendo.com>
3280 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
3281 (gst_basesink_chain_unlocked), (gst_basesink_activate):
3282 * gst/gstminiobject.c: (gst_mini_object_get_type),
3283 (gst_mini_object_free):
3284 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
3285 (gst_pad_push), (gst_pad_push_event):
3286 * gst/gstqueue.c: (gst_queue_change_state):
3287 Don't queue buffers in basesink when we are flushing.
3288 Unref buffer when flushing in basesink.
3289 Flush queue when going to READY
3290 Unref buffer when _push() returns an error.
3291 Don't free MiniObject instance when refcount is incremented
3292 in _finalize() so that we can recover objects.
3294 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
3296 * docs/manual/advanced-schedulers.xml:
3297 * docs/manual/appendix-checklist.xml:
3298 * docs/pwg/advanced-clock.xml:
3299 * docs/pwg/advanced-interfaces.xml:
3300 * docs/pwg/advanced-request.xml:
3301 * docs/pwg/advanced-types.xml:
3302 * docs/pwg/intro-preface.xml:
3303 * examples/plugins/example.c: (gst_example_get_type),
3304 (gst_example_class_init), (gst_example_chain),
3305 (gst_example_set_property), (gst_example_get_property),
3306 (gst_example_change_state), (plugin_init):
3307 * examples/plugins/example.h:
3310 2005-05-17 Wim Taymans <wim@fluendo.com>
3312 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
3313 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
3314 * gst/gstqueue.c: (gst_queue_change_state):
3315 Clear queue when going to READY.
3316 Remove IN_SETCAPS flag too.
3318 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
3320 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
3321 Remove implicit cast from gboolean to GstElementStateReturn;
3322 make sure we still return failure in paused => ready case if
3323 the parent class fails to change state and our own stop
3326 2005-05-17 Wim Taymans <wim@fluendo.com>
3328 * tools/gst-launch.c: (event_loop):
3329 Message was unreffed too soon.
3331 2005-05-16 Andy Wingo <wingo@pobox.com>
3333 * gst/gstbin.c (sink_iterator_filter): Err... um...
3335 * check/gst/gstbin.c (test_ghost_pads): New test for the
3336 ghosting-if-elements-not-in-same-bin behavior.
3338 2005-05-16 David Schleef <ds@schleef.org>
3340 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
3341 accessing refcount directly.
3343 2005-05-15 David Schleef <ds@schleef.org>
3345 * check/Makefile.am: remove GstData checks
3346 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
3347 * gst/Makefile.am: add miniobject, remove data
3348 * gst/gst.h: add miniobject, remove data
3349 * gst/gstdata.c: remove
3350 * gst/gstdata.h: remove
3351 * gst/gstdata_private.h: remove
3352 * gst/gsttypes.h: remove GstEvent and GstMessage
3353 * gst/gstelement.c: (gst_element_post_message): fix for API changes
3354 * gst/gstmarshal.list: change BOXED -> OBJECT
3356 Implement GstMiniObject.
3357 * gst/gstminiobject.c:
3358 * gst/gstminiobject.h:
3360 Modify to be subclasses of GstMiniObject.
3361 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
3362 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
3363 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
3364 (gst_subbuffer_get_type), (gst_subbuffer_init),
3365 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
3368 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
3369 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
3370 (_gst_event_copy), (gst_event_new):
3372 * gst/gstmessage.c: (_gst_message_initialize),
3373 (gst_message_get_type), (gst_message_class_init),
3374 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
3375 (gst_message_new), (gst_message_new_error),
3376 (gst_message_new_warning), (gst_message_new_tag),
3377 (gst_message_new_state_changed), (gst_message_new_application):
3379 * gst/gstprobe.c: (gst_probe_perform),
3380 (gst_probe_dispatcher_dispatch):
3382 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
3383 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
3384 (_gst_query_copy), (gst_query_new):
3386 Update elements for GstData -> GstMiniObject changes
3388 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
3389 (gst_queue_chain), (gst_queue_loop):
3390 * gst/elements/gstbufferstore.c:
3391 (gst_buffer_store_add_buffer_func),
3392 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
3393 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
3394 (gst_fakesink_render):
3395 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
3396 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
3397 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
3398 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
3399 (gst_filesrc_create_read):
3400 * gst/elements/gstidentity.c: (gst_identity_class_init):
3401 * gst/elements/gsttypefindelement.c:
3402 (gst_type_find_element_src_event), (free_entry_buffers),
3403 (gst_type_find_element_handle_event):
3404 * libs/gst/dataprotocol/dataprotocol.c:
3405 (gst_dp_header_from_buffer):
3406 * libs/gst/dataprotocol/dataprotocol.h:
3407 * libs/gst/dataprotocol/dp-private.h:
3409 2005-05-15 David Schleef <ds@schleef.org>
3411 * gst/elements/gstelements.c: Don't include headers that were
3414 2005-05-15 David Schleef <ds@schleef.org>
3416 * gst/elements/Makefile.am: Remove some elements that don't
3417 need to be in the core (or even exist at all).
3418 * gst/elements/gstaggregator.c:
3419 * gst/elements/gstaggregator.h:
3420 * gst/elements/gstmd5sink.c:
3421 * gst/elements/gstmd5sink.h:
3422 * gst/elements/gstmultifilesrc.c:
3423 * gst/elements/gstmultifilesrc.h:
3424 * gst/elements/gstpipefilter.c:
3425 * gst/elements/gstpipefilter.h:
3426 * gst/elements/gstshaper.c:
3427 * gst/elements/gstshaper.h:
3428 * gst/elements/gststatistics.c:
3429 * gst/elements/gststatistics.h:
3430 * po/POTFILES.in: Remove above files.
3432 2005-05-14 Andy Wingo <wingo@pobox.com>
3434 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
3435 so as to get the refs right.
3436 (sink_iterator_filter): New function, wraps bin_element_is_sink,
3437 unreffing objects that don't pass the filter.
3439 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
3440 gst_element_set_bus.
3441 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
3442 normal cases, this will destroy the bus.
3444 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
3447 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
3450 2005-05-13 Andy Wingo <wingo@pobox.com>
3452 * gst/gstutils.c (gst_element_link_pads): Instead of calling
3453 gst_pad_link, call pad_link_maybe_ghosting,
3454 (pad_link_maybe_ghosting): Links pads, making sure that the
3455 elements being linked are in the same bin.
3456 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
3457 Helpers for pad_link_maybe_ghosting.
3459 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
3462 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
3464 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
3466 * docs/design/part-element-source.txt:
3469 2005-05-12 Wim Taymans <wim@fluendo.com>
3471 * gst/base/gstbasesink.c: (gst_basesink_init),
3472 (gst_basesink_activate):
3473 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
3474 (gst_basesrc_is_seekable):
3475 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
3476 (bin_element_is_sink), (gst_bin_change_state):
3477 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
3479 Identify sinks by their flag to avoid overly complicated
3481 Do state changes even for elements not reachable from the
3483 BaseSink is a sink now :)
3484 Some more debugging info in the basesrc.
3487 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3489 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
3490 Implement _query on a bin, similar to _send_event.
3492 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
3494 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
3495 Discont event offset format should be GST_FORMAT_BYTES,
3496 not GST_FORMAT_TIME.
3498 2005-05-12 Wim Taymans <wim@fluendo.com>
3500 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
3501 Same fix as Ronald's but without the signal.
3503 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3505 * gst/gstutils.c: (gst_element_query_position):
3506 No, an element is not a pad.
3508 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3510 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
3511 (gst_bin_get_state):
3512 If a child is removed from a bin while we remove the child from
3513 the bin and while we're retrieving its state, signal this to the
3514 get_state function so we abort the wait (instead of waiting for
3515 a timeout) and can immediately re-iterate over all other elements.
3517 2005-05-12 Wim Taymans <wim@fluendo.com>
3519 * gst/base/Makefile.am:
3520 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
3521 (gst_basesrc_start):
3522 * gst/base/gstbasesrc.h:
3523 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
3524 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
3525 (gst_pushsrc_init), (gst_pushsrc_create):
3526 * gst/base/gstpushsrc.h:
3527 Added is_seekable to BaseSrc
3528 Added simple PushSrc.
3530 2005-05-11 Wim Taymans <wim@fluendo.com>
3532 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
3533 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3534 (gst_element_link_pads), (gst_element_query_position),
3535 (gst_element_query_convert), (intersect_caps_func),
3536 (gst_pad_query_position), (gst_pad_query_convert):
3537 Fix refcounting in utils function.
3538 No point in trying to activate a pad when it's added, it could
3539 be added from the state change function and then we deadlock, the
3540 element has to decide what to do.
3542 2005-05-10 Andy Wingo <wingo@pobox.com>
3544 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
3545 *all* the arguments.
3547 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
3548 stream lock if it's a FLUSH_DONE; normal flushes don't get the
3549 lock (according to the docs -- if this is wrong change the docs).
3551 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
3552 flush messages in the NULL state.
3554 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
3555 message immediately and return.
3556 (gst_bus_set_flushing): New function. If a bus is flushing, it
3557 flushes out any queued messages and immediately unrefs new
3558 messages. This is so when an element goes to NULL, all of the
3559 unhandled messages coming from it can be freed, and their
3560 references to the element dropped. In other words: message source
3561 ref considered harmful :P
3563 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
3564 we're finished with it.
3566 * gst/gstmessage.c (gst_message_new_state_changed):
3568 2005-05-10 Wim Taymans <wim@fluendo.com>
3570 * gst/gstvalue.c: (gst_value_compare_flags),
3571 (gst_value_serialize_flags), (gst_value_deserialize_flags),
3572 (_gst_value_initialize):
3573 Added flags serialize/deserialize/compare code.
3575 2005-05-09 Andy Wingo <wingo@pobox.com>
3577 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
3578 Intersect the peer's caps with our caps.
3580 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3582 * gst/base/gsttypefindhelper.c: (helper_find_peek):
3583 * gst/elements/gsttypefindelement.c: (find_peek):
3584 Handle negative offsets better. Fixes decodebin.
3586 2005-05-09 Wim Taymans <wim@fluendo.com>
3588 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
3589 (gst_base_transform_event):
3590 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
3591 Implement accept_caps.
3592 Fix silly lock/unlock mismatch in base class.
3594 2005-05-09 Wim Taymans <wim@fluendo.com>
3596 * docs/design/draft-push-pull.txt:
3597 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
3598 * gst/elements/gstfilesink.c: (gst_filesink_init),
3599 (gst_filesink_query):
3600 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
3601 (gst_type_find_handle_src_query), (find_element_get_length):
3602 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
3606 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
3607 (gst_real_pad_get_caps_unlocked),
3608 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
3609 (gst_pad_event_default_dispatch), (gst_pad_event_default),
3610 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
3611 (gst_real_pad_dispose), (gst_real_pad_finalize),
3612 (gst_pad_load_and_link), (gst_pad_save_thyself),
3613 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
3614 (gst_pad_check_pull_range), (gst_pad_pull_range),
3615 (gst_pad_template_get_type), (gst_pad_template_class_init),
3616 (gst_pad_template_init), (gst_pad_template_dispose),
3617 (name_is_valid), (gst_static_pad_template_get),
3618 (gst_pad_template_new), (gst_static_pad_template_get_caps),
3619 (gst_pad_template_get_caps), (gst_pad_set_element_private),
3620 (gst_pad_get_element_private), (gst_pad_start_task),
3621 (gst_pad_pause_task), (gst_pad_stop_task),
3622 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
3623 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
3624 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
3625 (gst_ghost_pad_new):
3627 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
3628 (gst_query_new_position), (gst_query_set_position),
3629 (gst_query_parse_position), (gst_query_new_convert),
3630 (gst_query_set_convert), (gst_query_parse_convert):
3632 * gst/gstqueryutils.c:
3633 * gst/gstqueryutils.h:
3634 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
3635 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
3636 (gst_queue_handle_src_query):
3637 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3638 (gst_element_query_position), (gst_element_query_convert),
3639 (intersect_caps_func), (gst_pad_query_position),
3640 (gst_pad_query_convert):
3642 * tools/gst-inspect.c: (print_pad_info):
3643 * tools/gst-xmlinspect.c: (print_element_info):
3644 Remove old query functions. Ported old code.
3645 Added position/convert helper functions to gstutils.
3646 Reordered gstpad.c code, grouping relevant things.
3647 Remove gst_message_new(), always need to speficy a specific
3651 2005-05-09 Andy Wingo <wingo@pobox.com>
3653 * gst/gstiterator.h: Add some includes.
3655 * gst/gstqueryutils.h: Include more headers.
3658 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
3659 some uses of gst_pad_query.
3661 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
3662 NULL out parameters.
3663 (gst_query_new_position): New proc, allocates a new position
3666 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
3667 gstqueryutils.c to the build.
3669 * gst/gststructure.c (gst_structure_set_valist): Implement with
3670 the generic G_VALUE_COLLECT.
3672 2005-05-08 Edward Hervey <bilboed@bilboed.com>
3674 * gst/Makefile.am: (gst_headers):
3675 Added gstqueryutils.h to the list of headers to install, that was
3676 a 'nachty' move wingo :)
3678 2005-05-06 Andy Wingo <wingo@pobox.com>
3681 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
3682 GstData, init a memchunk.
3683 (standard_definitions): Add a few query types, deprecate a few.
3684 (gst_query_get_type): New proc.
3685 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
3687 (gst_query_new_application, gst_query_get_structure): New public
3690 * docs/design/draft-query.txt: Removed LINKS from the query types,
3691 because all the rest can be dispatched to other pads -- seemed
3692 ugly to have a query that couldn't be dispatched. internal_links
3693 is fine as a pad method.
3695 * gst/gstpad.h: Add query2 as a pad method, add the new functions
3696 in gstpad.c, but maintain binary compatibility for the moment.
3697 Will fix before 0.9 is out.
3699 * gst/gstqueryutils.c:
3700 * gst/gstqueryutils.h: New files, implement 3 methods for each
3701 query type: parse_query, parse_response, and set. Probably need an
3704 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
3706 * gst/elements/gstfilesink.c (gst_filesink_query2):
3707 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
3708 query_types, and formats methods.
3710 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
3711 (gst_pad_set_query2_function): New functions.
3712 (gst_real_pad_init): Set query2_default as the default query2
3713 function. Basically just dispatches to internally linked pads.
3717 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
3718 without using the atomic operations. Only one thread can possibly
3719 be accessing the data at this point. Changed so as to avoid
3720 gst_atomic operations.
3722 2005-05-06 Wim Taymans <wim@fluendo.com>
3724 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
3725 Also set caps if we use the fallback buffer alloc.
3727 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
3729 * docs/gst/Makefile.am:
3730 * docs/gst/gstreamer-docs.sgml:
3731 * docs/gst/gstreamer-sections.txt:
3732 * docs/gst/tmpl/gstatomic.sgml:
3733 * docs/gst/tmpl/gstmemchunk.sgml:
3734 * testsuite/elements/struct_i386.h:
3735 * win32/GStreamer.vcproj:
3737 Purge GstAtomic stuff from docs and win32 makefiles as well
3739 2005-05-06 Wim Taymans <wim@fluendo.com>
3741 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
3742 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
3743 * gst/gstpad.c: (gst_pad_peer_get_caps):
3744 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
3745 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
3746 (gst_queue_src_activate), (gst_queue_change_state):
3748 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3749 (intersect_caps_func):
3750 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
3751 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
3752 Some fixes for the peer_get_caps() change.
3754 2005-05-06 Wim Taymans <wim@fluendo.com>
3756 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3757 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
3758 (gst_basesink_activate):
3759 Actually do something with error codes returned from the push
3762 2005-05-06 Wim Taymans <wim@fluendo.com>
3764 * docs/design/part-element-sink.txt:
3765 * docs/design/part-element-source.txt:
3766 * gst/base/gstbasesink.c: (gst_basesink_class_init),
3767 (gst_basesink_event), (gst_basesink_activate):
3768 * gst/base/gstbasesink.h:
3769 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
3770 (gst_basesrc_activate):
3771 * gst/base/gstbasesrc.h:
3772 * gst/gstelement.c: (gst_element_pads_activate):
3773 Some more documentation.
3774 Fixed scheduling decision in _pads_activate().
3776 2005-05-05 Andy Wingo <wingo@pobox.com>
3778 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
3781 2005-05-05 Wim Taymans <wim@fluendo.com>
3783 * gst/base/Makefile.am:
3784 * gst/base/gstbasesink.h:
3785 * gst/base/gstbasesrc.c: (gst_basesrc_init),
3786 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
3787 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
3788 (gst_collectpads_class_init), (gst_collectpads_init),
3789 (gst_collectpads_finalize), (gst_collectpads_new),
3790 (gst_collectpads_set_function), (gst_collectpads_add_pad),
3791 (find_pad), (gst_collectpads_remove_pad),
3792 (gst_collectpads_is_active), (gst_collectpads_collect),
3793 (gst_collectpads_collect_range), (gst_collectpads_start),
3794 (gst_collectpads_stop), (gst_collectpads_peek),
3795 (gst_collectpads_pop), (gst_collectpads_available),
3796 (gst_collectpads_read), (gst_collectpads_flush),
3797 (gst_collectpads_chain):
3798 * gst/base/gstcollectpads.h:
3799 * gst/elements/Makefile.am:
3800 * gst/elements/gstelements.c:
3801 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
3802 (gst_fakesink_get_times), (gst_fakesink_event),
3803 (gst_fakesink_preroll), (gst_fakesink_render):
3804 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
3805 (gst_filesink_init), (gst_filesink_set_location),
3806 (gst_filesink_open_file), (gst_filesink_close_file),
3807 (gst_filesink_pad_query), (gst_filesink_event),
3808 (gst_filesink_render), (gst_filesink_change_state):
3809 * gst/elements/gstfilesink.h:
3810 Added object to help in making collect pad based elements.
3812 Make event function in sink baseclass return gboolean.
3814 2005-05-05 Wim Taymans <wim@fluendo.com>
3816 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
3817 (gst_bin_get_by_name):
3819 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
3820 (gst_clock_finalize):
3821 * gst/gstdata.c: (gst_data_replace):
3823 * gst/gstelement.c: (gst_element_request_pad),
3824 (gst_element_pads_activate):
3825 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3827 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3828 (gst_pad_set_checkgetrange_function),
3829 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
3830 (gst_pad_check_pull_range), (gst_pad_pull_range),
3831 (gst_static_pad_template_get_caps), (gst_pad_start_task),
3832 (gst_pad_pause_task), (gst_pad_stop_task):
3833 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
3834 (gst_element_request_pad), (gst_pad_proxy_getcaps):
3835 Fix name lookup in GstBin.
3836 Added _data_replace() function and _buffer_replace()
3837 Use finalize method to clean up clock.
3838 Fix refcounting on request pads.
3839 Fix pad schedule mode error.
3840 Some more object refcounting debug info,
3843 2005-05-04 Andy Wingo <wingo@pobox.com>
3845 * check/Makefile.am:
3846 * docs/gst/tmpl/gstatomic.sgml:
3847 * docs/gst/tmpl/gstplugin.sgml:
3848 * gst/base/gstbasesink.c: (gst_basesink_activate):
3849 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
3850 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
3851 (gst_basesrc_query), (gst_basesrc_set_property),
3852 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
3853 (gst_basesrc_activate):
3854 * gst/base/gstbasesrc.h:
3855 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
3856 (gst_base_transform_src_activate):
3857 * gst/elements/gstelements.c:
3858 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3859 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
3860 * gst/elements/gsttee.c: (gst_tee_sink_activate):
3861 * gst/elements/gsttypefindelement.c: (find_element_get_length),
3862 (gst_type_find_element_checkgetrange),
3863 (gst_type_find_element_activate):
3864 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
3865 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
3866 (gst_caps_load_thyself):
3867 * gst/gstelement.c: (gst_element_pads_activate),
3868 (gst_element_save_thyself), (gst_element_restore_thyself):
3869 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
3870 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
3872 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
3873 (gst_xml_parse_file), (gst_xml_parse_memory),
3874 (gst_xml_get_element), (gst_xml_make_element):
3875 * gst/indexers/gstfileindex.c: (gst_file_index_load),
3876 (_file_index_id_save_xml), (gst_file_index_commit):
3877 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
3878 (read_enum), (load_pad_template), (load_feature), (load_plugin),
3880 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
3881 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
3882 * tools/gst-complete.c: (main):
3883 * tools/gst-compprep.c: (main):
3884 * tools/gst-inspect.c: (print_element_properties_info):
3885 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
3886 * tools/gst-xmlinspect.c: (print_element_properties):
3889 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3891 * gst/gstplugin.c: (gst_plugin_check_module),
3892 (gst_plugin_check_file), (gst_plugin_load_file):
3893 apply patch from #172526 to make register work on MacOSX
3895 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
3897 * docs/gst/tmpl/gstconfig.sgml:
3898 * gst/gstconfig.h.in:
3899 move documentation for some symbols. Add doc for GST_PTR_FORMAT
3900 * testsuite/debug/printf_extension.c: (main):
3901 Do not use GST_PTR_FORMAT on pointers to types with
3902 sizeof < sizeof(gpointer). Fixes test on 64-bit
3903 * testsuite/elements/property.h:
3904 use correct printf format
3906 2005-05-02 Wim Taymans <wim@fluendo.com>
3908 * docs/design/draft-push-pull.txt:
3909 * docs/design/draft-query.txt:
3910 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
3911 (gst_basesrc_start):
3912 Added draft for new query API.
3913 Added draft for better selecting scheduling methods.
3914 Make basesrc ignore length if the subclass does not support
3917 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
3920 possible fixes for automake-1.5 - _LIBADD is reserved
3922 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
3924 * docs/faq/Makefile.am:
3925 * docs/manual/Makefile.am:
3927 * docs/pwg/Makefile.am:
3929 possible fixes for automake-1.5
3931 2005-04-28 Wim Taymans <wim@fluendo.com>
3933 * gst/base/gstbasesink.c: (gst_basesink_base_init),
3934 (gst_basesink_pad_getcaps), (gst_basesink_init),
3935 (gst_basesink_do_sync):
3936 * gst/gstclock.c: (gst_clock_entry_new):
3937 * gst/gstevent.c: (gst_event_discont_get_value):
3938 * gst/gstpipeline.c: (pipeline_bus_handler),
3939 (gst_pipeline_change_state):
3940 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3941 Better debugging of clocking info.
3942 Allow NULL values when getting discont values.
3944 2005-04-27 Wim Taymans <wim@fluendo.com>
3946 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
3947 * check/gst/gstpad.c: (gst_pad_suite):
3948 Increase timeout for checks.
3950 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3952 * check/Makefile.am:
3953 fix the broken rule for cleanup. Apparently this rule is
3954 only needed on FC2, so maybe this warrants further autotool
3957 2005-04-26 Wim Taymans <wim@fluendo.com>
3959 * gst/gsttrashstack.h:
3960 Ooohh. a nasty one! After having a failed pop() from the stack,
3961 it's possible that the stack is empty. In that case, don't
3962 follow the NULL pointer.
3964 2005-04-25 Wim Taymans <wim@fluendo.com>
3966 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3967 (gst_pad_set_checkgetrange_function),
3968 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
3969 (gst_pad_check_pull_range), (gst_pad_pull_range),
3970 (gst_static_pad_template_get_caps), (gst_pad_start_task),
3971 (gst_pad_pause_task), (gst_pad_stop_task):
3972 * gst/gstplugin.c: (gst_plugin_load):
3974 Remove gst_library_load as it does more harm than good with
3975 the new g_module flags.
3976 Revert bogus caps template check in pad linking, pad caps
3977 are important when linking not the template, which is more
3978 general than the current caps.
3980 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3982 * gst/autoplug/.cvsignore:
3983 * gst/autoplug/Makefile.am:
3984 * gst/autoplug/gstsearchfuncs.c:
3985 * gst/autoplug/gstsearchfuncs.h:
3986 * gst/autoplug/gstspider.c:
3987 * gst/autoplug/gstspider.h:
3988 * gst/autoplug/gstspideridentity.c:
3989 * gst/autoplug/gstspideridentity.h:
3990 * gst/autoplug/spidertest.c:
3993 2005-04-25 Wim Taymans <wim@fluendo.com>
3995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
3996 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
3997 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
3998 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
4000 Added stubs for unimplemented functions.
4002 2005-04-24 David Schleef <ds@schleef.org>
4004 * gst/gstpad.h: Disable some unimplemented functions. Wim,
4007 2005-04-24 David Schleef <ds@schleef.org>
4009 Convert everything from GstAtomicInt to g_atomic_int_*, and
4014 * gst/gstatomic_impl.h:
4022 * gst/gstdata_private.h:
4029 * gst/gststructure.c:
4030 * gst/gststructure.h:
4031 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
4034 2005-04-24 David Schleef <ds@schleef.org>
4036 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
4037 make the regressions tests work. Remove some code that is no
4039 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
4040 Disable warning for pads without templates.
4042 2005-04-24 David Schleef <ds@schleef.org>
4044 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
4045 functions that handle filtered links.
4046 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
4048 * gst/gstutils.c: Fix/remove utility functions that handle
4051 * gst/gstvalue.c: Add serialization/deserialization of caps
4052 * gst/parse/grammar.y: Ignore filtered caps when linking. This
4053 requires fixing so that the filter caps notation creates
4054 a capsfilter element and sets the filter_caps property. I
4055 think everyone probably wants to keep the shorthand notation.
4056 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
4057 * docs/gst/tmpl/gstpad.sgml:
4059 * gst/elements/gstelements.c: Register capsfilter element.
4060 * gst/Makefile.am: fix spacing
4061 * docs/random/ds/0.9-suggested-changes: random
4063 2005-04-23 David Schleef <ds@schleef.org>
4065 * gst/elements/Makefile.am:
4066 * gst/elements/gstcapsfilter.c: New element that acts like an
4067 identity, but filters caps. Will eventually replace filtered
4068 caps in pad linking.
4069 * gst/gstutils.c: (gst_element_create_all_pads): New function
4070 to create all the ALWAYS pads that are registered with an
4071 element class. This functionality should eventually be
4072 merged in with GstElement initialization.
4074 * testsuite/trigger/README: part of trigger test code that should
4075 have been checked in a long time ago.
4077 2005-04-23 David Schleef <ds@schleef.org>
4079 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
4080 needed with new versions of libtool (nobody will confirm this),
4081 and hard to carry around.
4082 * gst/autoplug/Makefile.am:
4083 * gst/base/Makefile.am:
4084 * gst/elements/Makefile.am:
4085 * gst/indexers/Makefile.am:
4086 * gst/schedulers/Makefile.am:
4087 * libs/gst/bytestream/Makefile.am:
4088 * libs/gst/control/Makefile.am:
4089 * libs/gst/dataprotocol/Makefile.am:
4090 * libs/gst/getbits/Makefile.am:
4092 2005-04-21 Wim Taymans <wim@fluendo.com>
4094 * docs/design/draft-push-pull.txt:
4095 * docs/design/part-MT-refcounting.txt:
4096 * docs/design/part-TODO.txt:
4097 * docs/design/part-caps.txt:
4098 * docs/design/part-events.txt:
4099 * docs/design/part-gstbus.txt:
4100 * docs/design/part-gstpipeline.txt:
4101 * docs/design/part-messages.txt:
4102 * docs/design/part-push-pull.txt:
4103 * docs/design/part-query.txt:
4106 2005-04-21 Wim Taymans <wim@fluendo.com>
4108 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
4109 (gst_message_new), (gst_message_new_error),
4110 (gst_message_new_warning), (gst_message_new_tag),
4111 (gst_message_new_state_changed), (gst_message_new_application),
4112 (gst_message_get_structure):
4114 * gst/gststructure.c: (gst_structure_set_parent_refcount),
4115 (gst_structure_copy_conditional):
4116 Use parent refcount in GstMessage to ensure GstStructure
4118 Cleaned up headers a bit.
4121 2005-04-20 Wim Taymans <wim@fluendo.com>
4123 * gst/base/gstbasesink.c: (gst_basesink_base_init),
4124 (gst_basesink_pad_getcaps), (gst_basesink_init),
4125 (gst_basesink_chain_unlocked):
4126 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
4127 (gst_type_find_helper):
4128 * gst/elements/gsttypefindelement.c:
4129 (gst_type_find_element_have_type), (gst_type_find_element_init),
4130 (stop_typefinding), (gst_type_find_element_handle_event),
4131 (find_suggest), (gst_type_find_element_chain),
4132 (gst_type_find_element_checkgetrange),
4133 (gst_type_find_element_getrange), (do_typefind),
4134 (gst_type_find_element_activate):
4135 * gst/gstbuffer.c: (_gst_buffer_sub_free),
4136 (gst_buffer_default_free), (gst_buffer_default_copy),
4137 (gst_buffer_set_caps):
4138 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
4140 * gst/gstmessage.c: (gst_message_new),
4141 (gst_message_new_state_changed):
4142 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
4143 (gst_pad_set_checkgetrange_function),
4144 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
4145 (gst_pad_set_caps), (gst_pad_check_pull_range),
4146 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
4148 * gst/gsttypefind.c: (gst_type_find_register):
4149 Make gst_caps_replace() work like other _replace() functions.
4150 Use _caps_replace() where possible.
4151 Make sure _message_new() initialises its field.
4152 Add gst_static_pad_template_get_caps()
4155 2005-04-18 Andy Wingo <wingo@pobox.com>
4157 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
4158 on the peer, not the pad. I think that was a typo. Pass an extra
4159 arg to see if random access is possible. Activate the pads as
4160 PULL_RANGE if possible.
4162 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
4164 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
4165 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
4168 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4170 * docs/faq/using.xml:
4171 Add note on gstreamer-properties (#154996).
4173 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4175 * docs/random/bbb/optional-properties:
4176 Some analysis on optional properties.
4178 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4180 * docs/gst/tmpl/gstelementfactory.sgml:
4182 * gst/gstelementfactory.c: (gst_element_factory_init),
4183 (gst_element_factory_cleanup), (gst_element_register),
4184 (__gst_element_factory_add_static_pad_template),
4185 (gst_element_factory_get_static_pad_templates),
4186 (gst_element_factory_can_src_caps),
4187 (gst_element_factory_can_sink_caps):
4188 * gst/registries/Makefile.am:
4189 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
4190 (gst_xml_registry_class_init), (gst_xml_registry_init),
4191 (gst_xml_registry_new), (gst_xml_registry_set_property),
4192 (gst_xml_registry_get_property), (get_time), (make_dir),
4193 (gst_xml_registry_get_perms_func),
4194 (plugin_times_older_than_recurse), (plugin_times_older_than),
4195 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
4196 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
4197 (add_to_char_array), (read_string), (read_uint), (read_enum),
4198 (load_pad_template), (load_feature), (load_plugin), (load_paths),
4199 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
4200 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
4201 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
4202 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
4203 (gst_xml_registry_rebuild):
4204 * gst/registries/gstlibxmlregistry.h:
4205 * tools/gst-compprep.c: (main):
4206 * tools/gst-inspect.c: (print_pad_templates_info):
4207 * tools/gst-xmlinspect.c: (print_element_info):
4208 Use libxml2 for registry parsing, use staticpadtemplates in
4209 elementfactories. Makes gst_init() +/- 10x faster.
4211 2005-04-12 Wim Taymans <wim@fluendo.com>
4213 * gst/base/Makefile.am:
4214 * gst/base/gstbasesink.c: (gst_basesink_base_init),
4215 (gst_basesink_pad_getcaps), (gst_basesink_init),
4216 (gst_basesink_event), (gst_basesink_change_state):
4217 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
4218 (gst_basesrc_init), (gst_basesrc_query),
4219 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
4220 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
4221 (gst_basesrc_check_get_range), (gst_basesrc_loop),
4222 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
4223 (gst_basesrc_stop), (gst_basesrc_activate),
4224 (gst_basesrc_change_state):
4225 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4226 (helper_find_suggest), (gst_type_find_helper):
4227 * gst/base/gsttypefindhelper.h:
4228 * gst/elements/Makefile.am:
4229 * gst/elements/gstelements.c:
4230 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
4231 (gst_fakesink_get_times), (gst_fakesink_event),
4232 (gst_fakesink_preroll), (gst_fakesink_render):
4233 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4234 (gst_fakesrc_init), (gst_fakesrc_event_handler),
4235 (gst_fakesrc_get_property), (gst_fakesrc_create),
4236 (gst_fakesrc_start), (gst_fakesrc_stop):
4237 * gst/elements/gstfakesrc.h:
4238 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
4239 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
4240 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
4241 (gst_filesrc_create_read), (gst_filesrc_create),
4242 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
4243 (gst_filesrc_start):
4244 * gst/elements/gsttypefindelement.c:
4245 (gst_type_find_element_have_type), (gst_type_find_element_init),
4246 (start_typefinding), (stop_typefinding), (push_buffer_store),
4247 (gst_type_find_element_handle_event),
4248 (gst_type_find_element_chain),
4249 (gst_type_find_element_checkgetrange),
4250 (gst_type_find_element_getrange), (do_typefind),
4251 (gst_type_find_element_activate),
4252 (gst_type_find_element_change_state):
4253 * gst/elements/gsttypefindelement.h:
4254 * gst/gstpipeline.c: (pipeline_bus_handler):
4255 Added typefind helper.
4256 Small preroll fix in the base sink.
4257 Disable typefind code in basesrc.
4258 Crude port of typefindelement.
4262 2005-04-11 Wim Taymans <wim@fluendo.com>
4264 * check/gst/gstbus.c: (gstbus_suite):
4265 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
4267 Fix up the timeout so that the test does not fail.
4269 2005-04-06 Wim Taymans <wim@fluendo.com>
4272 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
4273 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
4274 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
4275 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
4276 (gst_basesrc_check_get_range), (gst_basesrc_loop),
4277 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
4278 (gst_basesrc_stop), (gst_basesrc_activate),
4279 (gst_basesrc_change_state), (basesrc_find_peek),
4280 (basesrc_find_suggest), (gst_basesrc_type_find):
4281 * gst/base/gstbasesrc.h:
4282 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
4283 (gst_filesrc_class_init), (gst_filesrc_init),
4284 (gst_filesrc_finalize), (gst_filesrc_set_location),
4285 (gst_filesrc_set_property), (gst_filesrc_get_property),
4286 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
4287 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
4288 (gst_filesrc_create_read), (gst_filesrc_create),
4289 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
4290 * gst/elements/gstfilesrc.h:
4291 * gst/gstelement.c: (gst_element_get_state_func),
4292 (gst_element_lost_state), (gst_element_pads_activate):
4293 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
4294 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
4295 (gst_pad_pull_range):
4297 More work on the generic source base class, implement seeking,
4299 Make filesrc extend the base source class.
4300 Added gst_pad_set_checkgetrange_function to GstPad.
4302 2005-04-06 Andy Wingo <wingo@pobox.com>
4304 * pkgconfig/gstreamer-base.pc.in:
4305 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
4307 * pkgconfig/Makefile.am:
4308 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
4310 2005-04-04 Wim Taymans <wim@fluendo.com>
4312 * gst/base/Makefile.am:
4314 * gst/base/gstbasesink.c: (gst_basesink_base_init),
4315 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
4316 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
4317 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
4318 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
4319 (gst_basesrc_base_init), (gst_basesrc_class_init),
4320 (gst_basesrc_init), (gst_basesrc_get_formats),
4321 (gst_basesrc_get_query_types), (gst_basesrc_query),
4322 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
4323 (gst_basesrc_set_property), (gst_basesrc_get_property),
4324 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
4325 (gst_basesrc_loop), (gst_basesrc_activate),
4326 (gst_basesrc_change_state):
4327 * gst/base/gstbasesrc.h:
4328 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
4329 (gst_fakesrc_class_init), (gst_fakesrc_init),
4330 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
4331 (gst_fakesrc_get_property), (gst_fakesrc_create):
4332 * gst/elements/gstfakesrc.h:
4333 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
4334 (gst_filesrc_open_file), (gst_filesrc_loop),
4335 (gst_filesrc_activate), (filesrc_find_peek),
4336 (gst_filesrc_type_find):
4337 Made base source class, make fakesrc extend it.
4338 Add comments to basesink class.
4339 Some filesrc cleanup.
4341 2005-03-31 David Schleef <ds@schleef.org>
4343 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
4344 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
4345 expected to link against libgstreamer.
4346 * gst/base/Makefile.am: link against libgstreamer
4347 * gst/elements/Makefile.am: same
4349 2005-03-31 Andy Wingo <wingo@pobox.com>
4351 * tests/instantiate/Makefile.am:
4352 * tests/instantiate/caps.c: Add test to test speed of caps copy
4355 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
4356 GMemChunk to be fair.
4358 * gst/gsttrashstack.h: Remove warning about using the fallback
4359 trash stack implementation, it's still faster than malloc.
4361 2005-03-30 Andy Wingo <wingo@pobox.com>
4363 * tests/complexity.c: Add a copyright.
4365 2005-03-31 Wim Taymans <wim@fluendo.com>
4367 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
4368 (gst_base_transform_class_init), (gst_base_transform_init),
4369 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4370 (gst_base_transform_get_property),
4371 (gst_base_transform_sink_activate),
4372 (gst_base_transform_src_activate),
4373 (gst_base_transform_change_state):
4374 * gst/base/gstbasetransform.h:
4375 * gst/elements/gstidentity.c: (gst_identity_class_init),
4376 (gst_identity_event), (gst_identity_check_perfect),
4377 (gst_identity_transform), (gst_identity_start),
4378 (gst_identity_stop):
4379 Added start/stop methods to transform base class so subclasses
4380 don't need to deal with state changes even.
4382 2005-03-31 Wim Taymans <wim@fluendo.com>
4384 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
4385 (gst_event_new_discontinuous), (gst_event_discont_get_value):
4387 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
4388 (gst_pad_pull_range):
4389 Added rate to the discont event to prepare for variable speed
4390 and reverse playback.
4392 2005-03-29 David Schleef <ds@schleef.org>
4395 * testsuite/trigger/Makefile.am:
4396 * testsuite/trigger/trigger.c: A little example program to show
4397 how trigger-based elements can work.
4399 2005-03-29 Wim Taymans <wim@fluendo.com>
4401 * gst/base/Makefile.am:
4403 * gst/base/gstbasesink.c: (gst_basesink_get_type),
4404 (gst_basesink_base_init), (gst_basesink_class_init),
4405 (gst_basesink_pad_getcaps), (gst_basesink_init),
4406 (gst_basesink_activate), (gst_basesink_change_state):
4407 * gst/base/gstbasesink.h:
4408 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
4409 (gst_base_transform_base_init), (gst_base_transform_finalize),
4410 (gst_base_transform_class_init), (gst_base_transform_init),
4411 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
4412 (gst_base_transform_event), (gst_base_transform_getrange),
4413 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
4414 (gst_base_transform_set_property),
4415 (gst_base_transform_get_property),
4416 (gst_base_transform_sink_activate),
4417 (gst_base_transform_src_activate),
4418 (gst_base_transform_change_state):
4419 * gst/base/gstbasetransform.h:
4420 * gst/elements/gstidentity.c: (gst_identity_finalize),
4421 (gst_identity_class_init), (gst_identity_init),
4422 (gst_identity_event), (gst_identity_check_perfect),
4423 (gst_identity_transform), (gst_identity_set_property),
4424 (gst_identity_get_property), (gst_identity_change_state):
4425 * gst/elements/gstidentity.h:
4426 * gst/gstelement.c: (gst_element_get_state_func),
4427 (gst_element_lost_state), (gst_element_pads_activate):
4428 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
4429 (gst_pad_check_pull_range), (gst_pad_pull_range):
4431 Simplify pad activation.
4432 Added function to check if pull_range can be performed.
4433 Error out when pulling inactive or flushing pads.
4434 Removed const from refcounted types as it does not make sense.
4435 Simplify pad templates in basesink
4436 Added base class for simple 1-to-1 transforms.
4437 Make identity subclass the base transform.
4439 2005-03-29 Andy Wingo <wingo@pobox.com>
4441 * docs/libs/gstreamer-libs-overrides.txt:
4442 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
4443 really don't understand what's going on, but like whatever. I want
4446 * docs/gst/Makefile.am:
4447 * docs/libs/Makefile.am: Dist the overrides files.
4449 * check/Makefile.am (clean-local): Remove .libs directories.
4451 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
4452 elements to EXTRA_DIST, so po/ files are happy.
4454 * po/POTFILES.in: Er, remove it here.
4456 * po/POTFILES: Remove gstspider.c.
4458 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
4460 * docs/libs/gstreamer-libs-docs.sgml:
4461 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
4464 * tests/complexity.c (main): Set the length of the preroll queue
4465 on the sinks to prevent a lockup.
4467 * libs/gst/dataprotocol/Makefile.am:
4468 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
4469 the same as the one in check/gst-libs/gdp.c.
4471 * po/, docs/gst/: Commit automatic changes to docs and po files.
4473 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
4474 the versioned libgstbase.
4476 * check/Makefile.am: Depend on an unversioned gst-register, seems
4477 to make autoconf happier.
4479 * gst/base/Makefile.am: Make libgstbase a versioned lib.
4481 2005-03-28 Wim Taymans <wim@fluendo.com>
4484 * docs/design/part-gstelement.txt:
4485 * docs/design/part-negotiation.txt:
4486 * docs/design/part-preroll.txt:
4487 * docs/design/part-scheduling.txt:
4488 * docs/design/part-states.txt:
4490 * gst/base/Makefile.am:
4492 * gst/base/gstbasesink.c: (gst_basesink_get_template),
4493 (gst_basesink_base_init), (gst_basesink_class_init),
4494 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
4495 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
4496 (gst_basesink_set_pad_functions),
4497 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
4498 (gst_basesink_set_property), (gst_basesink_get_property),
4499 (gst_base_sink_get_template), (gst_base_sink_get_caps),
4500 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
4501 (gst_basesink_preroll_queue_push),
4502 (gst_basesink_preroll_queue_empty),
4503 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
4504 (gst_basesink_event), (gst_basesink_get_times),
4505 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
4506 (gst_basesink_chain_unlocked), (gst_basesink_chain),
4507 (gst_basesink_loop), (gst_basesink_activate),
4508 (gst_basesink_change_state):
4509 * gst/base/gstbasesink.h:
4510 * gst/elements/Makefile.am:
4511 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
4512 (gst_fakesink_class_init), (gst_fakesink_init),
4513 (gst_fakesink_set_property), (gst_fakesink_get_property),
4514 (gst_fakesink_get_times), (gst_fakesink_event),
4515 (gst_fakesink_preroll), (gst_fakesink_render),
4516 (gst_fakesink_change_state):
4517 * gst/elements/gstfakesink.h:
4518 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
4519 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
4520 * gst/gstelement.c: (gst_element_add_pad),
4521 (gst_element_get_state_func), (gst_element_abort_state),
4522 (gst_element_commit_state), (gst_element_lost_state),
4523 (gst_element_set_state), (gst_element_pads_activate):
4524 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
4525 * gst/gstpipeline.c: (gst_pipeline_send_event),
4526 (gst_pipeline_change_state):
4527 Added state change code.
4529 Added sink base class, make fakesink extend the base class.
4530 Small cleanups in GstPipeline.
4532 2005-03-26 David Schleef <ds@schleef.org>
4534 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
4535 is broken and should be implemented in a different library.
4536 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
4537 * gst/gst.h: remove gstcpu.h
4538 * gst/gstcpu.c: remove
4539 * gst/gstcpu.h: remove
4540 * gst/Makefile.am.future: Remove this file. It's ancient.
4542 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4544 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
4545 (gst_bin_send_event):
4546 Add default event/set_manager handlers. The set_manager handler
4547 takes care that the manager is distributed over kids that were
4548 already in the bin before the manager was set. The event handler
4549 is a utility virtual function that sends the event over all sinks,
4550 so that gst_element_send_event (bin, event); has the expected
4552 * gst/gstpad.c: (gst_pad_event_default):
4553 Re-install default event handling for discontinuities, so that
4554 seeking works without requiring hacks in applications or extra
4556 * gst/gstpipeline.c: (gst_pipeline_class_init),
4557 (gst_pipeline_send_event):
4558 Half hack, half utility: set a pipeline to PAUSED for seek events,
4559 since that is the only way we can guarantee a/v sync. Means that
4560 you can do gst_element_seek (pipeline, method, pos); on a pipeline
4561 and it "just works".
4563 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4565 * gst/gstpipeline.c: (gst_pipeline_use_clock):
4566 Lock/unlock mismatch.
4568 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
4570 * docs/faq/gst-uninstalled:
4571 add gst-plugins-base
4572 * docs/gst/Makefile.am:
4573 don't error out until docs are fixed
4574 * docs/gst/gstreamer.types:
4577 2005-03-22 Wim Taymans <wim@fluendo.com>
4579 * check/Makefile.am:
4580 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
4581 * gst/gststructure.c: (gst_structure_set_valist),
4582 (gst_structure_copy_conditional):
4583 Activated more tests.
4585 Added G_TYPE_POINTER to GstStructure.
4588 2005-03-22 Wim Taymans <wim@fluendo.com>
4590 * docs/design/part-TODO.txt:
4591 * docs/design/part-events.txt:
4592 * docs/design/part-gstbin.txt:
4593 * docs/design/part-gstbus.txt:
4594 * docs/design/part-gstpipeline.txt:
4595 * docs/design/part-messages.txt:
4600 2005-03-21 Wim Taymans <wim@fluendo.com>
4602 * gst/gstbus.c: (gst_bus_post):
4603 Fix copy-and-paste error.
4605 2005-03-21 Wim Taymans <wim@fluendo.com>
4607 * check/Makefile.am:
4609 * gst/elements/Makefile.am:
4610 * gst/elements/gstelements.c:
4611 * gst/elements/gstfakesink.c: (gst_fakesink_init),
4612 (gst_fakesink_event), (gst_fakesink_chain):
4613 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4614 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
4615 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
4616 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
4617 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
4618 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
4619 (gst_fakesrc_loop), (gst_fakesrc_activate),
4620 (gst_fakesrc_change_state):
4621 * gst/elements/gstfakesrc.h:
4622 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
4623 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
4624 (gst_filesrc_open_file), (gst_filesrc_loop),
4625 (gst_filesrc_activate), (gst_filesrc_change_state),
4626 (filesrc_find_peek), (filesrc_find_suggest),
4627 (gst_filesrc_type_find):
4628 * gst/elements/gstidentity.c: (gst_identity_finalize),
4629 (gst_identity_class_init), (gst_identity_init),
4630 (gst_identity_proxy_getcaps), (identity_queue_push),
4631 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
4632 (gst_identity_getrange), (gst_identity_chain),
4633 (gst_identity_sink_loop), (gst_identity_src_loop),
4634 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
4635 (gst_identity_set_property), (gst_identity_get_property),
4636 (gst_identity_change_state):
4637 * gst/elements/gstidentity.h:
4638 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
4639 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
4640 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
4641 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
4642 (gst_tee_sink_activate):
4643 * gst/elements/gsttee.h:
4644 * gst/gst.c: (gst_register_core_elements), (init_post):
4646 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
4647 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
4648 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
4649 (gst_bin_change_state):
4651 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
4652 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
4653 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
4654 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
4655 (gst_bus_set_sync_handler), (gst_bus_create_watch),
4656 (bus_watch_callback), (bus_watch_destroy),
4657 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
4658 (poll_timeout), (gst_bus_poll):
4662 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
4663 (gst_element_post_message), (gst_element_message_full),
4664 (gst_element_get_state_func), (gst_element_get_state),
4665 (gst_element_abort_state), (gst_element_commit_state),
4666 (gst_element_lost_state), (gst_element_set_state),
4667 (gst_element_pads_activate), (gst_element_change_state),
4668 (gst_element_dispose), (gst_element_set_manager_func),
4669 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
4670 (gst_element_set_manager), (gst_element_get_manager),
4671 (gst_element_set_bus), (gst_element_get_bus),
4672 (gst_element_set_scheduler), (gst_element_get_scheduler):
4674 * gst/gstevent.c: (gst_event_new_segment_seek),
4675 (gst_event_new_flush):
4677 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
4678 (_gst_message_free), (gst_message_get_type), (gst_message_new),
4679 (gst_message_new_eos), (gst_message_new_error),
4680 (gst_message_new_warning), (gst_message_new_tag),
4681 (gst_message_new_state_changed), (gst_message_new_application),
4682 (gst_message_get_structure), (gst_message_parse_tag),
4683 (gst_message_parse_state_changed), (gst_message_parse_error),
4684 (gst_message_parse_warning):
4686 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
4687 (gst_real_pad_set_property), (gst_pad_set_active),
4688 (gst_pad_is_active), (gst_pad_set_blocked_async),
4689 (gst_pad_set_blocked), (gst_pad_is_blocked),
4690 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
4691 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
4692 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
4693 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
4694 (gst_pad_link_filtered), (gst_pad_relink_filtered),
4695 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
4696 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
4697 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
4698 (gst_pad_set_caps), (gst_pad_configure_sink),
4699 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
4700 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
4701 (gst_real_pad_dispose), (gst_real_pad_finalize),
4702 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
4703 (gst_pad_event_default_dispatch), (gst_pad_event_default),
4704 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
4706 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
4707 (pipeline_bus_handler), (gst_pipeline_change_state),
4708 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
4709 * gst/gstpipeline.h:
4711 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
4712 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
4713 (gst_queue_link_src), (gst_queue_bufferalloc),
4714 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4715 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
4716 (gst_queue_loop), (gst_queue_handle_src_event),
4717 (gst_queue_handle_src_query), (gst_queue_src_activate),
4718 (gst_queue_change_state):
4720 * gst/gstscheduler.c: (gst_scheduler_init),
4721 (gst_scheduler_dispose), (gst_scheduler_create_task),
4722 (gst_scheduler_factory_create):
4723 * gst/gstscheduler.h:
4724 * gst/gststructure.c: (gst_structure_get_type),
4725 (gst_structure_copy_conditional):
4726 * gst/gststructure.h:
4727 * gst/gsttaginterface.h:
4728 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4729 (gst_task_init), (gst_task_dispose), (gst_task_create),
4730 (gst_task_get_state), (gst_task_start), (gst_task_stop),
4736 * gst/schedulers/Makefile.am:
4737 * gst/schedulers/cothreads_compat.h:
4738 * gst/schedulers/entryscheduler.c:
4739 * gst/schedulers/faircothreads.c:
4740 * gst/schedulers/faircothreads.h:
4741 * gst/schedulers/fairscheduler.c:
4742 * gst/schedulers/gstbasicscheduler.c:
4743 * gst/schedulers/gstoptimalscheduler.c:
4744 * gst/schedulers/gthread-cothreads.h:
4745 * gst/schedulers/threadscheduler.c:
4746 (gst_thread_scheduler_task_get_type),
4747 (gst_thread_scheduler_task_class_init),
4748 (gst_thread_scheduler_task_init),
4749 (gst_thread_scheduler_task_start),
4750 (gst_thread_scheduler_task_stop),
4751 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
4752 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4753 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
4754 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
4756 * libs/gst/Makefile.am:
4757 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
4758 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
4759 (gst_file_pad_parent_set):
4760 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4761 (gst_dp_event_from_packet):
4762 * tests/complexity.c: (main):
4763 * tests/mass_elements.c: (main):
4764 * testsuite/states/locked.c: (message_received), (main):
4765 * testsuite/states/parent.c: (main):
4766 * tools/gst-inspect.c: (print_element_flag_info),
4767 (print_implementation_info), (print_pad_info):
4768 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
4770 * tools/gst-md5sum.c: (event_loop), (main):
4771 * tools/gst-typefind.c: (main):
4772 * tools/gst-xmlinspect.c: (print_element_info):
4774 Added GstBus for mainloop integration.
4775 Added GstMessage for sending notifications on the bus.
4776 Added GstTask as an abstraction for pipeline entry points.
4779 Simplified GstQueue for multithreaded core.
4780 Made _link threadsafe, removed old capsnego.
4781 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
4782 Added pad blocking functions.
4783 Reworked scheduling functions in GstPad to prepare for
4784 scheduling updates soon.
4785 Moved events out of data stream.
4786 Simplified GstEvent types.
4787 Added return values to push/pull.
4788 Removed clocking from GstElement.
4789 Added prototypes for state change function for next merge.
4790 Removed iterate from bins and state change management.
4791 Fixed some elements, disabled others for now.
4792 Fixed -inspect and -launch.
4793 Added check for GstBus.
4795 2005-03-10 Wim Taymans <wim@fluendo.com>
4797 * docs/design/part-MT-refcounting.txt:
4798 * docs/design/part-clocks.txt:
4799 * docs/design/part-gstelement.txt:
4800 * docs/design/part-gstobject.txt:
4801 * docs/design/part-standards.txt:
4802 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
4803 (gst_bin_remove_func), (gst_bin_remove):
4807 * testsuite/clock/clock1.c: (main):
4808 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
4810 * testsuite/dlopen/loadgst.c: (do_test):
4811 * testsuite/refcounting/bin.c: (add_remove_test1),
4812 (add_remove_test2), (main):
4813 * testsuite/refcounting/element.c: (main):
4814 * testsuite/refcounting/element_pad.c: (main):
4815 * testsuite/refcounting/pad.c: (main):
4816 * tools/gst-launch.c: (sigint_handler_sighandler):
4817 * tools/gst-typefind.c: (main):
4819 Added doc about clock.
4820 removed gst_bin_iterate_recurse_up(), marked methods
4822 Fix more testsuites.
4824 2005-03-09 Wim Taymans <wim@fluendo.com>
4826 * gst/gstpad.c: (gst_pad_get_direction),
4827 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
4828 (gst_pad_collect_valist):
4829 * testsuite/bins/interface.c: (main):
4830 * testsuite/caps/audioscale.c: (test_caps):
4831 * testsuite/caps/caps.c: (test1), (test2), (test3):
4832 * testsuite/caps/deserialize.c: (main):
4833 * testsuite/caps/enumcaps.c: (main):
4834 * testsuite/caps/filtercaps.c: (main):
4835 * testsuite/caps/intersect2.c: (main):
4836 * testsuite/caps/random.c: (main):
4837 * testsuite/caps/renegotiate.c: (my_fixate), (main):
4838 * testsuite/caps/sets.c: (check_caps):
4839 * testsuite/caps/simplify.c: (check_caps), (main):
4840 * testsuite/caps/subtract.c: (check_caps):
4841 Fix _pad_get_direction wrt ghostpads.
4844 2005-03-09 Wim Taymans <wim@fluendo.com>
4846 * check/Makefile.am:
4847 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
4848 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
4849 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
4850 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
4851 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
4852 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
4853 (gst_bin_remove), (gst_bin_iterate_recurse_up),
4854 (bin_element_is_sink), (gst_bin_iterate_sinks),
4855 (gst_bin_iterate_all_by_interface):
4857 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
4858 (gst_element_change_state), (gst_element_dispose),
4859 (gst_element_finalize), (gst_element_set_loop_function):
4861 * gst/gstiterator.c: (find_custom_fold_func):
4862 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
4863 (gst_pad_collectv), (gst_pad_collect_valist),
4864 (gst_pad_template_new):
4865 * gst/gstpipeline.c: (gst_pipeline_class_init),
4866 (gst_pipeline_dispose), (gst_pipeline_set_property),
4867 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
4868 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
4869 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
4871 * gst/schedulers/entryscheduler.c:
4872 * gst/schedulers/gstbasicscheduler.c:
4873 (gst_basic_scheduler_cothreaded_chain),
4874 (gst_basic_scheduler_chain_add_element):
4875 * testsuite/bins/interface.c: (main):
4877 Added GstSystemClock test.
4878 Implemented clock distribution code in GstBin.
4879 Implemented iterate sinks method for future use.
4880 Rearranged gstelement.h
4881 Fix GstIterator comparison bug.
4882 Moved some code to GstPipeline, mostly clocking related.
4884 2005-03-09 Wim Taymans <wim@fluendo.com>
4887 * gst/gst_private.h:
4888 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
4889 (gst_bin_remove_func), (gst_bin_remove),
4890 (gst_bin_get_by_name_recurse_up):
4891 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
4892 (gst_clock_id_compare_func), (gst_clock_id_wait),
4893 (gst_clock_id_wait_async), (gst_clock_init),
4894 (gst_clock_adjust_unlocked), (gst_clock_get_time):
4896 * gst/gstinfo.c: (_gst_debug_init):
4898 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
4899 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
4901 Bump version number, we're now 0.9.0
4902 Add future debugging category.
4903 Fix NULL _unref() in _get_by_name_recurse_up
4907 2005-03-08 Wim Taymans <wim@fluendo.com>
4909 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
4910 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
4911 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
4912 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
4913 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
4914 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
4915 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
4916 * gst/elements/gstidentity.c: (gst_identity_class_init):
4917 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
4918 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
4919 * gst/elements/gstshaper.c: (gst_shaper_class_init):
4920 * gst/elements/gststatistics.c: (gst_statistics_class_init):
4921 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
4923 * gst/gstelement.c: (gst_element_class_init),
4924 (gst_element_base_class_init), (gst_element_init),
4925 (gst_element_get_random_pad), (gst_element_wait_state_change),
4926 (gst_element_change_state), (gst_element_dispose),
4927 (gst_element_finalize), (gst_element_set_loop_function):
4929 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
4930 * gst/gstthread.c: (gst_thread_class_init),
4931 (gst_thread_release_children_locks), (gst_thread_change_state):
4932 * gst/schedulers/gstbasicscheduler.c:
4933 (gst_basic_scheduler_loopfunc_wrapper),
4934 (gst_basic_scheduler_chain_wrapper),
4935 (gst_basic_scheduler_src_wrapper),
4936 (gst_basic_scheduler_remove_element):
4937 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
4938 Remove threadsafe properties. Fix elements because GObject
4939 complains when installing a property before declaring a
4940 set/get_property handler.
4941 Rearrange gstelement.h file, use STATE macros for state locks.
4942 Free mutexes in the finalize method instead of dispose.
4944 2005-03-08 Wim Taymans <wim@fluendo.com>
4946 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
4947 * gst/gstthread.c: (gst_thread_release_children_locks):
4948 Added parentage check.
4949 Fix build og GstThread again.
4951 2005-03-08 Wim Taymans <wim@fluendo.com>
4953 * docs/design/part-MT-refcounting.txt:
4954 * docs/design/part-conventions.txt:
4955 * docs/design/part-gstobject.txt:
4956 * docs/design/part-relations.txt:
4957 * docs/design/part-standards.txt:
4958 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
4959 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
4960 (gst_bin_get_by_name), (gst_bin_get_by_interface),
4961 (gst_bin_iterate_all_by_interface):
4964 * gst/gstelement.c: (gst_element_class_init),
4965 (gst_element_change_state), (gst_element_set_loop_function):
4967 * gst/gstiterator.c:
4968 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
4969 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
4970 (gst_object_dispatch_properties_changed), (gst_object_set_name),
4971 (gst_object_set_parent), (gst_object_unparent),
4972 (gst_object_check_uniqueness):
4974 Docs updates, clean up some headers.
4976 2005-03-07 Wim Taymans <wim@fluendo.com>
4979 * check/Makefile.am:
4980 * check/gst-libs/.cvsignore:
4981 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
4982 * check/gst/.cvsignore:
4983 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
4984 (START_TEST), (gstbus_suite), (main):
4985 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
4986 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
4987 (gst_data_suite), (main):
4988 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
4989 (add_fold_func), (gstiterator_suite), (main):
4990 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
4991 (thread_name_object), (thread_name_object_default),
4992 (gst_object_name_compare), (gst_object_suite), (main):
4993 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
4994 (gst_pad_suite), (main):
4995 * check/gstcheck.c: (gst_check_log_message_func),
4996 (gst_check_log_critical_func), (gst_check_init):
4998 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
4999 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
5002 2005-03-07 Wim Taymans <wim@fluendo.com>
5004 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5005 (gst_list_iterator_next), (gst_list_iterator_resync),
5006 (gst_list_iterator_free), (gst_iterator_new_list),
5007 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
5008 (gst_iterator_free), (gst_iterator_push), (filter_next),
5009 (filter_resync), (filter_uninit), (filter_free),
5010 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
5011 (gst_iterator_foreach), (find_custom_fold_func),
5012 (gst_iterator_find_custom):
5013 * gst/gstiterator.h:
5014 Added missing files.
5016 2005-03-07 Wim Taymans <wim@fluendo.com>
5020 * docs/design/part-MT-refcounting.txt:
5021 * docs/design/part-conventions.txt:
5022 * docs/design/part-gstobject.txt:
5023 * docs/design/part-relations.txt:
5024 * examples/mixer/mixer.c: (main):
5025 * examples/thread/thread.c: (eos), (main):
5027 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
5028 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
5029 (gst_spider_plug_from_srcpad):
5030 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
5031 (gst_spider_identity_change_state),
5032 (gst_spider_identity_sink_loop_type_finding):
5033 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
5034 * gst/elements/gstidentity.c: (gst_identity_init):
5035 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
5036 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
5037 * gst/elements/gsttypefindelement.c: (free_entry):
5040 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
5041 (gst_bin_set_clock_func), (gst_bin_auto_clock),
5042 (gst_bin_set_index), (gst_bin_set_element_sched),
5043 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
5044 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
5045 (gst_bin_iterate_elements), (iterate_child_recurse),
5046 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
5047 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
5048 (compare_interface), (gst_bin_get_by_interface),
5049 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
5051 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
5052 (gst_buffer_default_free), (gst_buffer_default_copy),
5053 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
5054 (gst_buffer_create_sub):
5056 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
5057 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
5058 (gst_caps_unref), (gst_static_caps_get),
5059 (gst_caps_remove_and_get_structure), (gst_caps_append),
5060 (gst_caps_append_structure), (gst_caps_remove_structure),
5061 (gst_caps_copy_nth), (gst_caps_set_simple),
5062 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
5063 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
5064 (gst_caps_structure_intersect_field), (gst_caps_intersect),
5065 (gst_caps_structure_subtract_field), (gst_caps_subtract),
5066 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
5067 (gst_caps_structure_figure_out_union),
5068 (gst_caps_switch_structures), (gst_caps_do_simplify),
5069 (gst_caps_replace), (gst_caps_from_string),
5070 (gst_caps_copy_conditional):
5072 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
5073 (_gst_clock_id_free), (gst_clock_id_unref),
5074 (gst_clock_id_compare_func), (gst_clock_id_wait),
5075 (gst_clock_id_wait_async), (gst_clock_class_init),
5076 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
5077 (gst_clock_get_time), (gst_clock_set_time_adjust),
5078 (gst_clock_set_property), (gst_clock_get_property):
5081 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
5082 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
5084 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
5085 (gst_element_requires_clock), (gst_element_provides_clock),
5086 (gst_element_set_clock), (gst_element_clock_wait),
5087 (gst_element_wait), (gst_element_set_time_delay),
5088 (gst_element_is_indexable), (gst_element_add_pad),
5089 (gst_element_add_ghost_pad), (gst_element_remove_pad),
5090 (pad_compare_name), (gst_element_get_static_pad),
5091 (gst_element_request_pad), (gst_element_get_request_pad),
5092 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
5093 (gst_element_class_get_pad_template_list),
5094 (gst_element_class_get_pad_template), (gst_element_error_func),
5095 (gst_element_get_random_pad), (gst_element_get_event_masks),
5096 (gst_element_send_event), (gst_element_seek),
5097 (gst_element_get_query_types), (gst_element_query),
5098 (gst_element_get_formats), (gst_element_convert),
5099 (gst_element_is_locked_state), (gst_element_set_locked_state),
5100 (gst_element_sync_state_with_parent), (gst_element_change_state),
5101 (gst_element_finalize), (gst_element_yield),
5102 (gst_element_interrupt), (gst_element_set_scheduler),
5103 (gst_element_get_scheduler), (gst_element_set_loop_function):
5106 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
5107 (gst_format_get_by_nick), (gst_format_get_details),
5108 (gst_format_iterate_definitions):
5110 * gst/gstindex.c: (gst_index_gtype_resolver):
5113 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
5114 (gst_mem_chunk_free):
5115 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
5116 (gst_object_ref), (gst_object_unref), (gst_object_sink),
5117 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
5118 (gst_object_dispatch_properties_changed),
5119 (gst_object_set_name_default), (gst_object_set_name),
5120 (gst_object_get_name), (gst_object_set_name_prefix),
5121 (gst_object_get_name_prefix), (gst_object_set_parent),
5122 (gst_object_get_parent), (gst_object_unparent),
5123 (gst_object_check_uniqueness), (gst_object_save_thyself),
5124 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
5125 (gst_object_set_property), (gst_object_get_property),
5126 (gst_object_get_path_string):
5128 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5129 (gst_real_pad_init), (gst_real_pad_get_property),
5130 (gst_pad_custom_new), (gst_pad_get_direction),
5131 (gst_pad_set_active), (gst_pad_is_active),
5132 (gst_pad_set_event_function), (gst_pad_is_linked),
5133 (gst_pad_link_free), (gst_pad_link_intersect),
5134 (gst_pad_link_fixate), (gst_pad_set_caps),
5135 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
5136 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
5137 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
5138 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
5139 (gst_pad_get_caps), (gst_pad_peer_get_caps),
5140 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
5141 (gst_pad_realize), (gst_pad_get_allowed_caps),
5142 (gst_real_pad_dispose), (gst_real_pad_finalize),
5143 (gst_pad_collectv), (gst_pad_collect_valist),
5144 (gst_pad_template_dispose), (gst_pad_template_new),
5145 (gst_pad_get_internal_links):
5147 * gst/gstpipeline.c: (gst_pipeline_dispose),
5148 (gst_pipeline_change_state):
5149 * gst/gstpipeline.h:
5151 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
5152 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
5153 * gst/gstpluginfeature.h:
5154 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
5155 * gst/gstquery.c: (_gst_query_type_initialize),
5156 (gst_query_type_register), (gst_query_type_get_by_nick),
5157 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
5159 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
5160 * gst/gstscheduler.c: (gst_scheduler_add_element),
5161 (gst_scheduler_factory_create):
5162 * gst/gststructure.c: (gst_structure_set_parent_refcount),
5163 (gst_structure_free), (gst_structure_set_name),
5164 (gst_structure_id_set_value), (gst_structure_set_value),
5165 (gst_structure_set_valist), (gst_structure_remove_field),
5166 (gst_structure_remove_fields),
5167 (gst_structure_remove_fields_valist),
5168 (gst_structure_remove_all_fields), (gst_structure_foreach),
5169 (gst_structure_map_in_place),
5170 (gst_caps_structure_fixate_field_nearest_int),
5171 (gst_caps_structure_fixate_field_nearest_double):
5172 * gst/gststructure.h:
5173 * gst/gstsystemclock.c: (gst_system_clock_class_init),
5174 (gst_system_clock_init), (gst_system_clock_dispose),
5175 (gst_system_clock_async_thread),
5176 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
5177 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
5178 * gst/gstsystemclock.h:
5179 * gst/gsttag.c: (gst_tag_list_add_value_internal),
5180 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
5181 * gst/gsttaginterface.c:
5182 * gst/gstthread.c: (gst_thread_dispose),
5183 (gst_thread_release_children_locks), (gst_thread_change_state),
5184 (gst_thread_main_loop):
5185 * gst/gsttrashstack.h:
5186 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
5188 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5189 (gst_element_request_pad), (gst_element_get_pad_from_template),
5190 (gst_element_request_compatible_pad),
5191 (gst_element_get_compatible_pad_filtered),
5192 (gst_element_get_compatible_pad), (gst_element_state_get_name),
5193 (gst_element_link_pads_filtered), (gst_element_link_filtered),
5194 (gst_element_link_many), (gst_element_link),
5195 (gst_element_link_pads), (gst_element_unlink_pads),
5196 (gst_element_unlink_many), (gst_element_unlink),
5197 (gst_pad_can_link_filtered), (gst_pad_can_link),
5198 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
5199 (gst_object_default_error), (gst_bin_add_many),
5200 (gst_bin_remove_many), (gst_element_populate_std_props),
5201 (gst_element_class_install_std_props), (gst_buffer_merge),
5202 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
5203 (link_fold_func), (gst_pad_proxy_setcaps):
5205 * gst/gstvalue.c: (gst_value_deserialize_string):
5206 * gst/parse/grammar.y:
5207 * gst/schedulers/gstbasicscheduler.c:
5208 (gst_basic_scheduler_cothreaded_chain),
5209 (gst_basic_scheduler_chain_recursive_add),
5210 (gst_basic_scheduler_pad_link):
5211 * gst/schedulers/gstoptimalscheduler.c:
5212 (get_group_schedule_function),
5213 (gst_opt_scheduler_state_transition),
5214 (gst_opt_scheduler_add_element), (element_get_reachables_func):
5215 * libs/gst/bytestream/bytestream.c:
5216 * libs/gst/dataprotocol/dataprotocol.c:
5217 (gst_dp_header_from_buffer):
5220 * tests/threadstate/threadstate2.c: (eos):
5221 * tools/gst-compprep.c: (main):
5222 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
5223 (print_pad_info), (print_children_info):
5224 * tools/gst-launch.c: (idle_func), (main):
5225 * tools/gst-md5sum.c: (idle_func), (main):
5226 * tools/gst-xmlinspect.c: (print_element_info):
5227 First THREADED backport attempt, focusing on adding locks and
5228 making sure the API is threadsafe. Needs more work. More docs
5231 2005-02-24 Andy Wingo <wingo@pobox.com>
5233 * tests/bench-complexity.scm:
5234 * tests/complexity.gnuplot: New files, good for running complexity
5237 * tests/Makefile.am:
5238 * tests/complexity.c: New test, sets up N elements, at each level
5239 teeing into M streams per element. Eeeenteresting.
5241 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
5242 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
5243 running bench-mass_elements.scm.
5245 * tests/bench-mass_elements.scm: New script, runs mass_elements
5246 for various numbers of identities, outputting the results to a
5247 file. Requires guile 1.6. Just for testing.
5249 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
5251 * gst/schedulers/fairscheduler.c:
5252 compile with debug disabled
5254 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
5257 hunting season on 0.9 is now OPEN
5259 2005-02-22 Stefan Kost <ensonic@users.sf.net>
5261 * docs/libs/tmpl/gstcontrol.sgml:
5262 * docs/libs/tmpl/gstdparam.sgml:
5263 * docs/libs/tmpl/gstdplinint.sgml:
5264 * docs/libs/tmpl/gstdpman.sgml:
5265 * docs/libs/tmpl/gstdpsmooth.sgml:
5266 * docs/libs/tmpl/gstunitconvert.sgml:
5267 more docs for the state of dparams
5269 2005-02-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
5271 * gst/gstelementfactory.c: (gst_element_factory_create):
5272 * gst/gstobject.c: (gst_object_init),
5273 (gst_object_set_name_default), (gst_object_set_name):
5274 name objects by default, not in gst_element_factory_create. Allows
5275 using elements created with g_object_new. (fixes #167283)
5277 2005-02-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
5279 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_log_default):
5280 make the time that debugging functions print relative to when
5283 2005-02-18 Tim-Philipp Müller <tim at centricular dot net>
5285 * gst/gsttaginterface.c:
5286 Fix inline docs: tag setter vararg functions are NULL-terminated,
5287 GST_TAG_INVALID doesn't exist any more.
5289 2005-02-18 Zaheer Abbas Merali <zaheerabbas at merali dot org>
5291 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_dump_byte_array):
5292 Allocate the 1 byte more memory that was forgotten!!!!!
5293 fixes memory corruption on 64bit platforms
5295 2005-02-15 Stefan Kost <ensonic@users.sf.net>
5297 * docs/pwg/building-pads.xml:
5298 * docs/pwg/intro-basics.xml:
5299 fixed a few typos, relabeled introductionary list of types
5300 * docs/random/ensonic/dparams.txt:
5301 more notes abut dparam changes
5302 * libs/gst/control/dparam.c: (gst_dparam_attach):
5303 * libs/gst/control/dparammanager.c:
5304 * libs/gst/control/dparammanager.h:
5305 - many comments and notes on dparam implementation
5306 - new dparams are were not initialized to the default value
5309 2005-02-14 Thomas Vander Stichele <thomas at apestaart dot org>
5311 submitted by: Peter Astakhov
5315 adding Russian translation
5317 2005-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
5320 * docs/gst/Makefile.am:
5321 * docs/libs/Makefile.am:
5322 make sure popt is added to gtk-doc flags. Fixes #147782.
5324 2005-02-09 Tim-Philipp Müller <tim at centricular dot net>
5326 * docs/faq/using.xml:
5327 Fix typo in FAQ (artssink => artsdsink)
5329 2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5331 * tools/gst-launch.1.in:
5334 2005-02-08 Tim-Philipp Müller <tim at centricular dot net>
5336 * docs/faq/using.xml:
5337 Add -v argument to fakesrc/fakesink gst-launch line,
5338 so that the promised output will actually show up.
5340 2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5342 * gst/gstthread.c: (gst_thread_change_state):
5343 Implement state-change error handling (#166073).
5345 2005-02-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5347 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
5348 Release interrupt after handling (#166250).
5350 2005-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
5355 === release 0.8.9 ===
5357 2005-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
5362 releasing 0.8.9, "Like Eating Glass"
5364 2005-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
5366 submitted by: Clytie Siddall
5368 * po/vi.po: Added Vietnamese translation
5370 2005-02-07 Thomas Vander Stichele <thomas at apestaart dot org>
5372 patch by: Tim Philipp-Müller
5376 unref data when probe function returns FALSE. Fixes #166362
5378 2005-02-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5380 * gst/gst.c: (gst_init_get_popt_table):
5383 2005-02-04 Andy Wingo <wingo@pobox.com>
5385 * gst/gstelement.c (gst_element_get_compatible_pad_template): Fix
5386 the debugging on whether the caps are compatible.
5388 2005-02-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5390 * docs/manual/basics-elements.xml:
5393 2005-02-02 Wim Taymans <wim@fluendo.com>
5395 * gst/schedulers/gstoptimalscheduler.c: (remove_decoupled),
5396 (schedule_chain), (get_invalid_call), (chain_invalid_call),
5397 (loop_group_schedule_function), (gst_opt_scheduler_iterate):
5398 Remove some FIXMEs after analysing and commenting why they
5401 2005-02-02 Wim Taymans <wim@fluendo.com>
5403 * gst/schedulers/gstoptimalscheduler.c:
5404 (gst_opt_scheduler_class_init), (gst_opt_scheduler_init),
5405 (gst_opt_scheduler_finalize), (remove_decoupled), (schedule_chain),
5406 (get_invalid_call), (chain_invalid_call),
5407 (get_group_schedule_function), (loop_group_schedule_function),
5408 (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
5409 (gst_opt_scheduler_state_transition),
5410 (gst_opt_scheduler_add_element),
5411 (gst_opt_scheduler_remove_element), (gst_opt_scheduler_interrupt),
5412 (gst_opt_scheduler_error), (gst_opt_scheduler_pad_link),
5413 (gst_opt_scheduler_pad_unlink), (gst_opt_scheduler_iterate),
5414 (gst_opt_scheduler_show):
5415 Added lock to protect scheduler data structures.
5417 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5419 * testsuite/threads/threadi.c: (cb_data):
5422 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5424 * testsuite/threads/Makefile.am:
5425 * testsuite/threads/threadi.c: (cb_data), (cb_play), (main):
5426 On Wim's request, split the test in three separately-compiled
5427 tests that each test a very specific bug. Two of them still fail,
5428 will create bugs for those. threadi.c indicates why they fail.
5430 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5432 * gst/schedulers/gstoptimalscheduler.c:
5433 (get_group_schedule_function):
5434 Try to work with the threading mess that queue_link is.
5436 2005-02-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5438 * gst/gstbin.c: (gst_bin_remove_func):
5439 Explicitely make an element release locks in a group when being
5441 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
5442 If there's no scheduler, always return immediately (similar to
5443 gst_element_interrupt).
5445 2005-01-31 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5447 * gst/gstbin.c: (gst_bin_child_state_change_func):
5448 Remove a piece of code that could never be reached.
5449 * docs/gst/gstreamer-sections.txt:
5450 * gst/gstpad.c: (gst_pad_push), (gst_pad_pull),
5451 (gst_pad_call_get_function):
5453 * testsuite/pad/Makefile.am:
5454 Fix #150546, enable tests.
5456 2005-01-31 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5458 * docs/pwg/advanced-types.xml:
5459 Fix description for buffer-frames=0.
5460 * docs/gst/tmpl/gstbin.sgml:
5461 * gst/gstbin.c: (gst_bin_child_state_change_func),
5462 (gst_bin_change_state), (gst_bin_change_state_norecurse):
5464 * testsuite/threads/Makefile.am:
5465 * testsuite/threads/threadi.c: (cb_timeout), (cb_quit), (cb_eos),
5466 (cb_state), (cb_play), (main):
5467 Fix non-recursive state changes to *really* change the state
5468 of the object, and not just call parent_class->state_change.
5469 Fix a lot of lockups caused by this. Fixes #132775. Add test
5470 for the problem. Also enable test to show #142588 (fixed).
5471 * gst/gstthread.c: (gst_thread_change_state),
5472 (gst_thread_child_state_change):
5473 Don't exit the thread if we go to NULL and are inside thread
5474 context. Instead, return control to the main thread context
5475 and exit from there.
5476 * gst/gstelement.c: (gst_element_disable_threadsafe_properties):
5477 Don't unset virtual functions, since those may still be used.
5478 That's not necessarily correct, but suffices for now.
5480 * testsuite/Makefile.am:
5481 * testsuite/pad/Makefile.am:
5482 * testsuite/pad/chainnopull.c: (gst_test_sink_class_init),
5483 (gst_test_sink_base_init), (gst_test_sink_chain),
5484 (gst_test_sink_init), (main):
5485 * testsuite/pad/getnopush.c: (gst_test_src_class_init),
5486 (gst_test_src_base_init), (gst_test_src_get), (gst_test_src_init),
5488 * testsuite/pad/link.c: (gst_test_element_class_init),
5489 (gst_test_element_base_init), (gst_test_src_get),
5490 (gst_test_src_loop), (gst_test_src_init), (gst_test_filter_chain),
5491 (gst_test_filter_loop), (gst_test_filter_init),
5492 (gst_test_sink_chain), (gst_test_sink_loop), (gst_test_sink_init),
5494 Add tests to show #150546. Pass, but should fail (currently
5495 disabled from the testsuite).
5496 * gst/gstscheduler.c: (gst_scheduler_dispose):
5497 Dereference child schedulers on dispose (#94464).
5498 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
5500 * testsuite/threads/thread.c: (main):
5503 2005-01-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5505 * gst/gstpad.c: (gst_pad_push):
5506 Oops, revert previous commit, broke testsuite...
5508 2005-01-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5510 * gst/gstpad.c: (gst_pad_push):
5511 Add check that the pad on which the push is performed is not a
5512 get-based pad (#150546).
5514 2005-01-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5516 * gst/elements/gsttypefindelement.c:
5517 (gst_type_find_element_handle_event):
5518 Fix buffer pushing if stream EOSes during typefinding.
5520 2005-01-28 Edward Hervey <bilboed@bilboed.com>
5522 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5524 * gst/gstvalue.c: (gst_string_wrap):
5525 Allow NULL-strings as argument (#165365).
5527 2005-01-27 Stephane Wirtel <stephane.wirtel@belgacom.net>
5529 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5531 * gst/schedulers/faircothreads.c:
5532 (gst_fair_scheduler_cothread_queue_show):
5533 Fix build without debug enabled.
5535 2005-01-26 Stefan Kost <ensonic@users.sf.net>
5537 * docs/gst/gstreamer-sections.txt:
5538 * docs/libs/gstreamer-libs-docs.sgml:
5539 * docs/libs/gstreamer-libs-sections.txt:
5540 * docs/libs/tmpl/gstcontrol.sgml:
5541 * docs/libs/tmpl/gstdparam.sgml:
5542 * docs/libs/tmpl/gstdplinint.sgml:
5543 * docs/libs/tmpl/gstdpman.sgml:
5544 * docs/libs/tmpl/gstdpsmooth.sgml:
5545 * docs/libs/tmpl/gstputbits.sgml:
5546 * docs/libs/tmpl/gstunitconvert.sgml:
5547 * libs/gst/control/dparam.c:
5548 * libs/gst/control/dparam.h:
5549 * libs/gst/control/dparammanager.c:
5550 (gst_dpman_add_required_dparam_callback),
5551 (gst_dpman_add_required_dparam_direct),
5552 (gst_dpman_add_required_dparam_array),
5553 (gst_dpman_remove_required_dparam), (gst_dpman_attach_dparam),
5554 (gst_dpman_get_dparam), (gst_dpman_get_dparam_type),
5555 (gst_dpman_get_manager)
5556 restructured DParam docs
5558 2005-01-25 Tim-Philipp Müller <tim at centricular dot net>
5560 * gst-element-check.m4:
5561 Only check for gst-inspect if we haven't already
5562 found it in previous element check runs
5564 2005-01-25 Stefan Kost <ensonic@users.sf.net>
5566 * docs/gst/Makefile.am:
5567 * docs/libs/Makefile.am:
5568 fixed install rules to treat style.css as optional
5570 2005-01-24 Stefan Kost <ensonic@users.sf.net>
5572 * docs/gst/Makefile.am:
5573 * docs/libs/Makefile.am:
5574 install style.css along with docs
5575 * docs/gst/tmpl/gstbin.sgml:
5576 * docs/gst/tmpl/gstclock.sgml:
5577 * docs/gst/tmpl/gstdata.sgml:
5578 * docs/gst/tmpl/gstelement.sgml:
5580 * gst/gstelement.c: (gst_element_class_init):
5582 fixing incomplete docs
5584 2005-01-24 Tim-Philipp Müller <tim at centricular dot net>
5586 * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
5587 Don't unref seek event twice when fflush() fails
5589 2005-01-22 David Schleef <ds@schleef.org>
5591 * configure.ac: Add --disable-valgrind. (partial fix for #164890)
5593 2005-01-21 Stefan Kost <ensonic@users.sf.net>
5595 * docs/gst/Makefile.am:
5596 * docs/libs/Makefile.am:
5597 added params for deprecation guards
5600 * gst/gsterror.c: (_gst_resource_errors_init),
5601 (_gst_stream_errors_init):
5603 documented some more enums
5605 2005-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5606 * gst/autoplug/gstspideridentity.c:
5607 Cosmetic fix - spider_find_peek should be static
5608 * gst/parse/parse.l:
5609 Applying fix for #164261
5611 2005-01-18 Stefan Kost <ensonic@users.sf.net>
5613 * docs/gst/gstreamer-sections.txt:
5614 * docs/gst/tmpl/gstplugin.sgml:
5615 * docs/libs/gstreamer-libs-sections.txt:
5616 * docs/libs/tmpl/gstcontrol.sgml:
5620 added docs for the TAG defines
5622 2005-01-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5624 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
5625 Only unref entry if there is an entry.
5627 2005-01-17 Wim Taymans <wim@fluendo.com>
5629 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
5630 (remove_from_group), (schedule_group), (normalize_group),
5631 (gst_opt_scheduler_iterate):
5632 Also ref/unref decoupled elements before iterating the
5633 group since they are not added to the list of elements.
5635 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5637 * docs/manual/highlevel-components.xml:
5638 Add subtitle/streamselection as new features to playbin.
5640 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5642 * docs/manual/manual.xml:
5643 Re-enable dataaccess docs (oops).
5645 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5647 * docs/pwg/advanced-types.xml:
5648 * docs/random/mimetypes:
5649 Add documentation on libsndfile types (#163309), by Steve Baker
5650 <steve@stevebaker.org>.
5651 * gst/gstelement.c: (gst_element_release_request_pad):
5652 If an element has no explicit function, just remove the pad.
5654 2005-01-17 Luca Ognibene <luogni@tin.it>
5656 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5658 * gst/registries/gstxmlregistry.c: (gst_xml_registry_load):
5659 Fix memleak (#163801).
5661 2005-01-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5663 * gst/elements/gsttee.c: (gst_tee_getcaps), (gst_tee_link):
5664 I think this is actually more correct...
5666 2005-01-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5668 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
5669 Another workaround for memory access while destroyed in callback.
5670 Please, someone with refcount knowledge, have a look at this.
5672 2005-01-15 Thomas Vander Stichele <thomas at apestaart dot org>
5675 * docs/faq/legal.xml:
5676 move the legal Q&A here
5678 2005-01-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5680 * gst/elements/gsttee.c: (gst_tee_getcaps), (gst_tee_link),
5681 (gst_tee_request_new_pad):
5684 2005-01-14 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5686 * docs/random/omega/caps2:
5687 * testsuite/caps/caps_strings:
5688 replace framerate aproximations by their real value
5689 (24000/1001, 30000/1001, 60000/1001)
5690 Partially fixes bug #164049
5692 2005-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5694 * docs/gst/Makefile.am:
5695 don't fail on the stupid GstPoptOption
5697 2005-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5701 allow probes to work on ghost pads by realizing the pad
5704 2005-01-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5706 * docs/gst/gstreamer-sections.txt:
5707 * docs/gst/tmpl/gstpad.sgml:
5708 * gst/gstpad.c: (gst_pad_set_active_recursive):
5710 Add gst_pad_set_active_recursive().
5712 2005-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
5714 * docs/random/release:
5716 * gst/gst_private.h:
5719 move deep_notify logging to a new category
5722 add stuff so bindings can wrap probes
5724 2005-01-09 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5726 * gst/gstplugin.c: (gst_plugin_load):
5727 Fix plugin loading if plugin/lib was already loaded. Fixes
5730 2005-01-09 Sebastien Cote <sc5@hermes.usherb.ca>
5732 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5734 * gst/gstpluginfeature.c: (gst_plugin_feature_ensure_loaded):
5735 Protect plugin loading by a mutex so it's threadsafe. Fixes
5738 2005-01-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5740 * gst/gstevent.c: (_gst_event_copy):
5741 Reference source object when copying events, since it'll be
5742 dereferenced on event dereferencing as well.
5744 2005-01-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5746 * docs/gst/gstreamer-sections.txt:
5747 * docs/gst/tmpl/gstevent.sgml:
5748 * gst/gstevent.c: (gst_event_new_filler_stamped),
5749 (gst_event_filler_get_duration):
5751 Add two new functions for filler events (which are used to
5752 synchronize streams if one of them is not having any data
5753 for a while) without interrupting the actual data-stream.
5755 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5756 (gst_queue_link_sink), (gst_queue_link_src),
5757 (gst_queue_change_state):
5758 Allow for renegotiation while filled. Required for stream
5759 switching while playing.
5761 2005-01-08 Benjamin Otte <otte@gnome.org>
5763 * gst/gstelement.c: (gst_element_link_many):
5764 fix up g_return_if_fail's
5767 add German translation, that was somehow not included
5769 2005-01-08 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
5771 * docs/random/mimetypes:
5772 add 2 more 4CC code for DV (HDTV and SDTV-LongPlay profiles)
5773 do not add them to riff-lib as they are not common
5775 2005-01-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5777 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
5778 Check for existence of probe after performing the probe before
5779 re-accessing it to prevent segfaults caused by removal of the
5780 probe in the callback.
5782 2005-01-05 David Schleef <ds@schleef.org>
5784 * testsuite/registry/Makefile.am:
5785 * testsuite/registry/gst-print-formats.c:
5786 (print_pad_templates_info), (print_element_list),
5787 (print_typefind_list), (list_sort_func), (get_typefind_mime_list),
5788 (g_list_uniqify), (get_pad_templates_info),
5789 (get_element_mime_list), (print_mime_list), (main): A little
5790 program that looks through the registry to find elements of
5791 a given type. Not particularly interesting as a test, except
5792 that there's no other test covering the same area.
5794 2005-01-05 David Schleef <ds@schleef.org>
5796 * tools/gst-launch.c: (idle_func), (fault_handler_sighandler),
5797 (fault_handler_sigaction), (fault_spin),
5798 (sigint_handler_sighandler), (play_handler), (main): Fix deadlocks
5799 in signal.h-type signal handlers by not calling forbidden functions,
5800 including gst_element_set_state().
5802 2005-01-05 David Schleef <ds@schleef.org>
5804 * gst/gstvalue.h: Mark _gst_reserved[] as private
5806 2005-01-05 David Schleef <ds@schleef.org>
5808 * gst/gstvalue.c: Fix doc build problem.
5810 2005-01-05 David Schleef <ds@schleef.org>
5812 * gst/gstvalue.c: Add some documentation
5814 2005-01-05 Stefan Kost <ensonic@users.sf.net>
5817 another shell oneliner for empty return value docs
5820 * libs/gst/control/dparam.c:
5821 more doc fixes (parameters and return values)
5823 2005-01-05 Vincent Torri <torri@iecn.u-nancy.fr>
5825 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5827 * gst/gstregistry.h:
5828 * gst/registries/gstxmlregistry.c:
5829 Fix macro's for Mingw (fixes #162276).
5831 2005-01-04 Stefan Kost <ensonic@users.sf.net>
5834 quick shell oneliner to find undocumented members
5835 * docs/gst/tmpl/gstplugin.sgml:
5836 * docs/gst/tmpl/gstscheduler.sgml:
5837 * docs/gst/tmpl/gstthread.sgml:
5838 more enumtypes cleanup
5840 activated documentation comments, now someone needs to document
5843 2005-01-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5845 * docs/manual/manual.xml:
5846 Add dataaccess part (doh!).
5848 2005-01-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5850 * docs/manual/advanced-autoplugging.xml:
5851 Fix typo (intiate -> initiate).
5853 2005-01-02 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5855 * docs/random/bbb/streamselection:
5856 Add some notes on how to handle multi-subtitle/-audio streams.
5858 2004-12-30 Stefan Kost <ensonic@users.sf.net>
5860 * docs/gst/gstreamer-docs.sgml:
5861 * docs/gst/gstreamer-sections.txt:
5862 * docs/gst/tmpl/gstenumtypes.sgml:
5863 * docs/gst/tmpl/gsterror.sgml:
5864 * docs/gst/tmpl/gstevent.sgml:
5865 * docs/gst/tmpl/gstpad.sgml:
5866 * docs/gst/tmpl/gstpadtemplate.sgml:
5867 * docs/gst/tmpl/gstthread.sgml:
5868 removed gstenumtypes section from docs and put all the enums into
5871 2004-12-27 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
5874 document gst_library_load a bit more (riff special case + return
5875 value if already loaded)
5876 * testsuite/bytestream/filepadsink.c:
5877 plugin name is 'gstbytestream', not 'bytestream'
5879 2004-12-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5881 * docs/random/bbb/subtitles:
5882 Add some first mind rumblings on proper subtitle support.
5884 2004-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
5888 updated translations
5890 2004-12-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5892 * docs/manual/advanced-dataaccess.xml:
5893 Add section on how to use fakesrc/fakesink/identity in your
5894 application, plus section on how to embed plugins. Also mention
5896 * docs/manual/appendix-checklist.xml:
5897 * docs/manual/appendix-debugging.xml:
5898 * docs/manual/appendix-gnome.xml:
5899 * docs/manual/appendix-integration.xml:
5900 Debug -> checklist, GNOME -> integration, add sections on Linux,
5901 KDE integration and add other things useful for application
5903 * docs/manual/manual.xml:
5904 Remove some fixmes, update some file pointers.
5905 * docs/pwg/appendix-checklist.xml:
5907 * docs/pwg/building-boiler.xml:
5908 Remove ugly header and add commented fixme.
5911 * examples/manual/Makefile.am:
5912 Add example for added docs.
5914 2004-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5919 === release 0.8.8 ===
5921 2004-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5926 Releasing 0.8.8, "I'll Take Care Of You"
5928 2004-12-21 Thomas Vander Stichele <thomas at apestaart dot org>
5933 2004-12-21 Thomas Vander Stichele <thomas at apestaart dot org>
5935 patch by: Wim Taymans
5938 Fix for #159852 - make iterate emission threadsafe
5940 2004-12-21 Thomas Vander Stichele <thomas at apestaart dot org>
5943 notes about new fdo account request
5945 2004-12-20 Stefan Kost <ensonic@users.sf.net>
5947 * docs/gst/gstreamer-docs.sgml:
5948 * docs/gst/tmpl/gstenumtypes.sgml:
5949 * docs/gst/tmpl/gstplugin.sgml:
5950 * docs/libs/gstreamer-libs-docs.sgml:
5951 Added missing short docs. Added ids for navigation.
5953 2004-12-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5955 * docs/manual/advanced-autoplugging.xml:
5956 * docs/manual/advanced-schedulers.xml:
5957 * docs/manual/advanced-threads.xml:
5958 Rewrites. Remove cothreads, go a bit into opt specifically,
5959 document threads and their gotchas, and do some technical stuff
5960 on autoplugging plus add some working examples. Fixes #157395.
5961 * examples/manual/Makefile.am:
5962 Add typefind/autoplugger example (one that actually works).
5963 Remove queue example since it's a duplicate of the thread one.
5965 2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
5967 * gst/gstvalue.c: (gst_value_deserialize_string):
5968 use deprecated g_value_set_string_take_ownership to keep compatible
5971 2004-12-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
5973 * gst/gstvalue.c: (gst_value_deserialize_string):
5974 revert last patch, only dom a g_utf8_validate now before accepting
5975 the string - caps parsing strips " from strings so we can't rely on
5977 * testsuite/caps/value_serialize.c: (test_string_deserialization):
5978 disable a test that tested the above and comment it
5980 2004-12-16 Steve Lhomme <steve.lhomme@free.fr>
5982 Patch reviewed by David Schleef <ds@schleef.org>
5984 * win32/gstenumtypes.c: Update from gst/gstenumtypes.c (See
5986 * win32/gstenumtypes.h: same
5988 2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5990 * gst/gstpad.c: (gst_pad_query):
5991 Do query on realized pad, similar to how convert/send_event handle
5992 this. Also makes sense, since this pad belongs to the function to
5993 which this query will be sent. Fixes #158163.
5995 2004-12-16 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
5997 * docs/manual/appendix-programs.xml: fix pipeline to actually work
5999 2004-12-16 Christian Fredrik Kalager Schaller <christian@fluendo.com>
6001 * docs/faq/general.xml: fix pipeline to actually work
6003 2004-12-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
6005 * gst/gstvalue.c: (gst_value_deserialize_string):
6006 check that a simple string that gets deserialized does not contain
6008 * testsuite/caps/value_serialize.c: (test_string_deserialization):
6009 remove a test that tested a wring behaviour
6011 2004-12-16 Matt Kraai <kraai@alumni.cmu.edu>
6013 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6015 * docs/manual/intro-motivation.xml:
6018 2004-12-16 Edward Hervey <bilboed@bilboed.com>
6020 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6022 * docs/gst/tmpl/gstprobe.sgml:
6023 Fix documentation of probe callback - it is supposed to return
6024 FALSE, not TRUE, to remove data from the stream (#159087).
6026 2004-12-16 Daniel Gazard <dany42@free.fr>
6028 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6030 * gst/gstelementfactory.c: (gst_element_factory_create):
6031 Fix compile failure if compiling without libxml2 support (#149936).
6033 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6035 * docs/manual/advanced-autoplugging.xml:
6036 * docs/manual/highlevel-components.xml:
6037 Move spider from autoplugging to components. Autoplugging is for
6038 internals, not for solutions. ;-).
6040 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6042 * docs/random/ds/0.9-suggested-changes:
6043 Make note on device/location/uri property names.
6045 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6047 * docs/manual/advanced-autoplugging.xml:
6048 * docs/manual/advanced-clocks.xml:
6049 * docs/manual/advanced-interfaces.xml:
6050 * docs/manual/advanced-metadata.xml:
6051 * docs/manual/advanced-position.xml:
6052 * docs/manual/advanced-schedulers.xml:
6053 * docs/manual/advanced-threads.xml:
6054 * docs/manual/appendix-gnome.xml:
6055 * docs/manual/appendix-programs.xml:
6056 * docs/manual/appendix-quotes.xml:
6057 * docs/manual/autoplugging.xml:
6058 * docs/manual/basics-bins.xml:
6059 * docs/manual/basics-data.xml:
6060 * docs/manual/basics-elements.xml:
6061 * docs/manual/basics-helloworld.xml:
6062 * docs/manual/basics-init.xml:
6063 * docs/manual/basics-pads.xml:
6064 * docs/manual/basics-plugins.xml:
6065 * docs/manual/bins-api.xml:
6066 * docs/manual/bins.xml:
6067 * docs/manual/buffers-api.xml:
6068 * docs/manual/buffers.xml:
6069 * docs/manual/clocks.xml:
6070 * docs/manual/components.xml:
6071 * docs/manual/cothreads.xml:
6072 * docs/manual/debugging.xml:
6073 * docs/manual/dparams-app.xml:
6074 * docs/manual/dynamic.xml:
6075 * docs/manual/elements-api.xml:
6076 * docs/manual/elements.xml:
6077 * docs/manual/factories.xml:
6078 * docs/manual/gnome.xml:
6079 * docs/manual/goals.xml:
6080 * docs/manual/helloworld.xml:
6081 * docs/manual/helloworld2.xml:
6082 * docs/manual/highlevel-components.xml:
6083 * docs/manual/highlevel-xml.xml:
6084 * docs/manual/init-api.xml:
6085 * docs/manual/intro-basics.xml:
6086 * docs/manual/intro-motivation.xml:
6087 * docs/manual/intro-preface.xml:
6088 * docs/manual/intro.xml:
6089 * docs/manual/links-api.xml:
6090 * docs/manual/links.xml:
6091 * docs/manual/manual.xml:
6092 * docs/manual/motivation.xml:
6093 * docs/manual/pads-api.xml:
6094 * docs/manual/pads.xml:
6095 * docs/manual/plugins-api.xml:
6096 * docs/manual/plugins.xml:
6097 * docs/manual/programs.xml:
6098 * docs/manual/queues.xml:
6099 * docs/manual/quotes.xml:
6100 * docs/manual/schedulers.xml:
6101 * docs/manual/states-api.xml:
6102 * docs/manual/states.xml:
6103 * docs/manual/threads.xml:
6104 * docs/manual/typedetection.xml:
6105 * docs/manual/win32.xml:
6106 * docs/manual/xml.xml:
6107 Try 2. This time, include a short preface as a "general
6108 introduction", also add code blocks around all code samples
6109 so they get compiled. We still need a way to tell readers
6110 the filename of the code sample. In some cases, don't show
6111 all code in the documentation, but do include it in the generated
6112 code. This allows for focussing on specific bits in the docs,
6113 while still having a full test application available.
6114 * examples/manual/Makefile.am:
6115 Fix up examples for new ADM. Add several of the new examples that
6116 were either added or were missing from the build system.
6117 * examples/manual/extract.pl:
6118 Allow nameless blocks.
6120 2004-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
6122 * docs/manual/elements-api.xml:
6123 * docs/manual/helloworld.xml:
6124 * examples/manual/extract.pl:
6125 fix last example. Add example of adding code blocks that are not
6126 shown in docbook output.
6128 2004-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
6130 * docs/manual/dynamic.xml:
6131 * docs/manual/elements-api.xml:
6132 * docs/manual/gnome.xml:
6133 * docs/manual/helloworld2.xml:
6134 * docs/manual/init-api.xml:
6135 * docs/manual/queues.xml:
6136 * docs/manual/threads.xml:
6137 * docs/manual/xml.xml:
6138 * examples/manual/extract.pl:
6139 Make it possible to extract example code from separate blocks.
6140 Should make Ronald happy.
6142 2004-12-15 Wim Taymans <wim@fluendo.com>
6144 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6145 (remove_from_group), (group_elements_set_visited),
6146 (normalize_group), (gst_opt_scheduler_iterate):
6147 Fix bug where a flag was not updated on a decoupled entry point
6148 because we were just checking the group element list and decoupled
6149 elements are not in that list..
6151 2004-12-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6153 * docs/manual/advanced-autoplugging.xml:
6154 * docs/manual/advanced-clocks.xml:
6155 * docs/manual/advanced-dparams.xml:
6156 * docs/manual/advanced-interfaces.xml:
6157 * docs/manual/advanced-metadata.xml:
6158 * docs/manual/advanced-position.xml:
6159 * docs/manual/advanced-schedulers.xml:
6160 * docs/manual/advanced-threads.xml:
6161 * docs/manual/appendix-debugging.xml:
6162 * docs/manual/appendix-gnome.xml:
6163 * docs/manual/appendix-programs.xml:
6164 * docs/manual/appendix-quotes.xml:
6165 * docs/manual/appendix-win32.xml:
6166 * docs/manual/autoplugging.xml:
6167 * docs/manual/basics-bins.xml:
6168 * docs/manual/basics-data.xml:
6169 * docs/manual/basics-elements.xml:
6170 * docs/manual/basics-helloworld.xml:
6171 * docs/manual/basics-init.xml:
6172 * docs/manual/basics-pads.xml:
6173 * docs/manual/basics-plugins.xml:
6174 * docs/manual/bins-api.xml:
6175 * docs/manual/bins.xml:
6176 * docs/manual/buffers-api.xml:
6177 * docs/manual/buffers.xml:
6178 * docs/manual/clocks.xml:
6179 * docs/manual/components.xml:
6180 * docs/manual/cothreads.xml:
6181 * docs/manual/debugging.xml:
6182 * docs/manual/dparams-app.xml:
6183 * docs/manual/dynamic.xml:
6184 * docs/manual/elements-api.xml:
6185 * docs/manual/elements.xml:
6186 * docs/manual/factories.xml:
6187 * docs/manual/gnome.xml:
6188 * docs/manual/goals.xml:
6189 * docs/manual/helloworld.xml:
6190 * docs/manual/helloworld2.xml:
6191 * docs/manual/highlevel-components.xml:
6192 * docs/manual/highlevel-xml.xml:
6193 * docs/manual/init-api.xml:
6194 * docs/manual/intro-motivation.xml:
6195 * docs/manual/intro-preface.xml:
6196 * docs/manual/intro.xml:
6197 * docs/manual/links-api.xml:
6198 * docs/manual/links.xml:
6199 * docs/manual/manual.xml:
6200 * docs/manual/motivation.xml:
6201 * docs/manual/pads-api.xml:
6202 * docs/manual/pads.xml:
6203 * docs/manual/plugins-api.xml:
6204 * docs/manual/plugins.xml:
6205 * docs/manual/programs.xml:
6206 * docs/manual/queues.xml:
6207 * docs/manual/quotes.xml:
6208 * docs/manual/schedulers.xml:
6209 * docs/manual/states-api.xml:
6210 * docs/manual/states.xml:
6211 * docs/manual/threads.xml:
6212 * docs/manual/typedetection.xml:
6213 * docs/manual/win32.xml:
6214 * docs/manual/xml.xml:
6215 First try at rewriting the ADM. Needs lotsamore work, but some
6216 parts might already be somewhat useful.
6217 * docs/pwg/advanced-interfaces.xml:
6218 Remove properties interface, it never actually existed (except for
6221 2004-12-13 David Schleef <ds@schleef.org>
6223 * gst/gstpad.c: (gst_pad_set_explicit_caps): Allow caps to
6224 be NULL (bug #160220).
6226 2004-12-13 David Schleef <ds@schleef.org>
6228 * configure.ac: remove all mmx stuff, because it's not used.
6229 * docs/random/ds/0.9-suggested-changes: additional notes
6230 * include/Makefile.am: we don't use these anymore
6231 * include/mmx.h: remove
6232 * include/sse.h: remove
6234 2004-12-13 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
6236 * docs/random/mimetypes:
6237 Add FOURCC code for h264 codec (VSSH)
6238 Add alternate FOURCC codes for h263 related codecs
6240 2004-12-10 Stefan Kost <ensonic@users.sf.net>
6242 * docs/manual/programs.xml:
6243 Added more gst-launch examples.
6245 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6247 * gst/gstqueue.c: (gst_queue_handle_src_query):
6248 Check for availability again.
6250 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6252 * gst/gstcaps.c: (gst_caps_compare_structures):
6253 Simple caps go first. This has the nice side-effect of fixing an
6256 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6258 * gst/gstversion.h.in:
6261 2004-12-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6263 * gst/schedulers/gstoptimalscheduler.c:
6264 (gst_opt_scheduler_schedule_run_queue), (schedule_chain),
6265 (gst_opt_scheduler_get_wrapper):
6266 When we're recursing into a chain run, only run the directly
6267 related group, not all queued ones. This will fix a possible
6268 deadlock in chains with more than two groups.
6270 2004-12-08 Thomas Vander Stichele <thomas at apestaart dot org>
6273 remove patch if autopoint fails
6275 2004-12-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6277 * docs/gst/gstreamer-sections.txt:
6278 Document Thomas' addition, fix build, make Luis the sheriff happy.
6280 2004-12-07 Thomas Vander Stichele <thomas at apestaart dot org>
6284 add accessor for version field
6286 2004-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6288 submitted by: Luca Ferretti <elle.uca@infinito.it>
6292 New tranlation added: Italian
6294 2004-12-03 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6296 * gst/gstpad.c: (gst_pad_is_negotiated),
6297 (gst_pad_get_negotiated_caps):
6298 GST_RPAD_* will only operate on a RealPad (it casts the pointer,
6299 it doesn't actually check the contents), so be sure to hand it
6300 a RealPad else we'll crash.
6302 2004-12-03 Wim Taymans <wim@fluendo.com>
6304 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6305 (gst_queue_link), (gst_queue_handle_src_query):
6306 Reverted to 1.110 until this makes the testsuite and various
6309 2004-12-01 Christian Fredrik Kalager Schaller <christian@fluendo.com>
6311 * docs/upload.mak: fix included CVS conflict strings
6313 2004-12-01 William Jon McCann <mccann@jhu.edu>
6315 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6317 * gst/gstelement.c: (gst_element_error_full):
6318 Use g_error_new_literal because error text may have
6319 percentage signs in it. Fixes #160019.
6321 2004-12-01 Benjamin Otte <otte@gnome.org>
6323 * gst/elements/gstbufferstore.c:
6324 (gst_buffer_store_add_buffer_func):
6325 don't try to make subbuffers bigger than they can be. (fixes
6328 2004-11-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6330 * docs/gst/gstreamer-sections.txt:
6331 * docs/gst/tmpl/gstvalue.sgml:
6332 Add new function to docs to fix build.
6334 2004-11-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6336 * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
6337 * gst/gstpad.c: (_gst_pad_default_fixate_value),
6338 (_gst_pad_default_fixate_foreach):
6339 * gst/gstvalue.c: (gst_type_is_fixed), (gst_value_is_fixed):
6341 Deprecate _type_is_fixed, use _value_is_fixed instead, since
6342 in some cases (arrays), the fixedness depends on the content.
6343 * gst/gstqueue.c: (gst_queue_handle_src_query):
6344 Check for availability before doing something.
6346 2004-11-29 Wim Taymans <wim@fluendo.com>
6348 * testsuite/threads/Makefile.am:
6349 * testsuite/threads/signals.c: (gst_test_get_type),
6350 (gst_test_class_init), (gst_test_init), (gst_test_dispose),
6351 (gst_test_set_property), (gst_test_get_property),
6352 (gst_test_do_signal1), (signal2_handler), (gst_test_do_signal2),
6353 (gst_test_do_prop), (run_thread), (main):
6354 Added a bunch of testcases that show threadsafety bugs in glib.
6356 2004-11-29 Stefan Kost <ensonic@users.sf.net>
6358 * docs/manual/programs.xml:
6359 Added a first batch of gst-launch examples, as provided by Ronald
6360 and others from the devel-mlist
6362 2004-11-28 Benjamin Otte <otte@gnome.org>
6364 * gst/gstelement.c: (gst_element_negotiate_pads):
6366 * gst/gstvalue.c: (gst_string_wrap), (gst_string_unwrap),
6367 (gst_value_serialize_string), (gst_value_deserialize_string):
6368 add unwrapping of previously wrapped strings. Fix bug in wrapping
6370 * testsuite/caps/value_serialize.c: (test1),
6371 (test_string_serialization), (test_string_deserialization), (main):
6372 add tests for string (de)serialization
6374 2004-11-26 Wim Taymans <wim@fluendo.com>
6376 * testsuite/threads/159566.c: (object_deep_notify), (main):
6377 * testsuite/threads/Makefile.am:
6378 Added testsuite to show bug #159566
6380 2004-11-25 Wim Taymans <wim@fluendo.com>
6382 * gst/gstthread.c: (gst_thread_dispose), (gst_thread_change_state),
6383 (gst_thread_child_state_change), (gst_thread_main_loop):
6384 Ref the thread object in the GThread mainloop. Break out of the
6385 thread mainloop if it holds the last ref. This properly exits
6386 the threads when disposing the thread from its own context. It
6387 also avoids possible deadlocks in the dispose function.
6389 2004-11-24 Martin Soto <martinsoto@users.sourceforge.net>
6391 * gst/gstqueue.c (gst_queue_link_sink): Grab the lock only when
6392 it is necessary to wait.
6394 2004-11-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6396 * docs/pwg/building-boiler.xml:
6397 Make description somewhat clearer.
6399 2004-11-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6402 Apparently docs changed location on FDO's server.
6404 2004-11-23 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6406 * docs/pwg/appendix-checklist.xml:
6407 Add some random notes on things to check when writing an element.
6408 This list can be extended as people see fit.
6410 2004-11-23 Martin Soto <martinsoto@users.sourceforge.net>
6412 * gst/gstqueue.c (gst_queue_init, gst_queue_link_sink)
6413 (gst_queue_link_src): Allow for renegotiating the caps of the sink
6414 pad. The queue will now wait until it is empty and forward the new
6416 * gst/gstbin.c (gst_bin_set_element_sched)
6417 (gst_bin_unset_element_sched): Make sure that all elements and
6418 links are registered and unregistered with the scheduler exactly
6419 once. This elaborates on a fix by Benjamin Otte, but
6420 guarantees that decoupled elements are also registered.
6422 2004-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
6424 * docs/manual/quotes.xml:
6429 add LIBDIR and move init message higher up so it's at the start
6431 2004-11-08 Christian Fredrik Kalager Schaller <christian@fluendo.com>
6433 * gst/schedulers/Makefile.am: fix disted build fair by including .h file
6434 * gstreamer.spec.in: add fair
6436 2004-11-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6438 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6439 * gst/elements/gstidentity.c: (gst_identity_class_init):
6440 Use G_SIGNAL_TYPE_STATIC_SCOPE, patch by Christophe Fergeau
6441 <teuf@gnome.org> (#157263).
6442 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6443 (gst_type_find_handle_src_query):
6444 Subtract size of internally stored data from position queries.
6446 2004-11-07 Martin Soto <martinsoto@users.sourceforge.net>
6448 * gst/schedulers/fairscheduler.c:
6449 * gst/schedulers/faircothreads.c:
6450 * gst/schedulers/faircothreads.h:
6451 New cothread based scheduler: Fair scheduler.
6452 * gst/schedulers/gthread-cothreads.h:
6453 Add the standard #if around the whole file.
6454 Defining symbol GTHREAD_COTHREADS_NO_DEFINITIONS will now prevent
6455 compilation of the functions defined in this file. This is
6456 necessary to be able to use this file as a normal header.
6457 * gst/schedulers/Makefile.am: Add compiling support for fair
6459 * docs/gst/Makefile.am (IGNORE_HFILES): Exclude internal fair
6460 scheduler cothreads layer from documentation generation.
6462 2004-11-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6464 * gst/autoplug/gstspideridentity.c:
6465 (gst_spider_identity_sink_loop_type_finding):
6466 Don't crash if that function is not implemented.
6468 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6470 * docs/pwg/advanced-types.xml:
6473 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6475 * docs/pwg/intro-preface.xml:
6476 Hm, ok, so the brackets weren't really useful...
6477 * docs/pwg/other-ntoone.xml:
6478 Fix embarassing typo.
6480 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6482 * docs/pwg/intro-preface.xml:
6485 2004-11-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6487 * docs/pwg/advanced-scheduling.xml:
6488 * docs/pwg/advanced-tagging.xml:
6489 * docs/pwg/advanced-types.xml:
6490 * docs/pwg/building-boiler.xml:
6491 * docs/pwg/building-chainfn.xml:
6492 * docs/pwg/building-signals.xml:
6493 * docs/pwg/building-state.xml:
6494 * docs/pwg/building-testapp.xml:
6495 * docs/pwg/intro-basics.xml:
6496 * docs/pwg/other-manager.xml:
6497 * docs/pwg/other-source.xml:
6499 * docs/pwg/other-manager.xml:
6500 Add some first content. No example code yet.
6501 * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
6502 Remove double newlines.
6504 2004-11-04 Wim Taymans <wim@fluendo.com>
6506 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6507 (remove_from_group), (normalize_group), (group_migrate_connected),
6508 (gst_opt_scheduler_iterate):
6509 * testsuite/schedulers/.cvsignore:
6510 * testsuite/schedulers/Makefile.am:
6511 * testsuite/schedulers/queue_link.c: (main):
6512 Added testcase for scheduler segfault.
6513 Fix scheduler segfault when removing a decoupled
6514 entry point as the last element from a group.
6516 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6518 * gst/gstmarshal.list: add missing marshaller, fixes build
6520 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6522 * docs/random/signal: added notes about using BOXED for GstBuffer
6523 signal marshallers, not POINTER
6525 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6527 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6528 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init): more
6529 POINTER=>BOXED changes to marshal GstBuffers
6531 2004-11-03 Christophe Fergeau <teuf@gnome.org>
6533 * gst/elements/gstidentity.c: (gst_identity_class_init): GstBuffer is
6534 a boxed type, marshal the signal with VOID__BOXED, not VOID__POINTER
6536 2004-11-03 Stefan Kost <ensonic@users.sf.net>
6538 * docs/gst/gstreamer-sections.txt:
6539 * docs/gst/tmpl/gstcaps.sgml:
6540 * docs/gst/tmpl/gsterror.sgml:
6541 * docs/gst/tmpl/gstinfo.sgml:
6542 * docs/gst/tmpl/gstmacros.sgml:
6543 * docs/gst/tmpl/gstutils.sgml:
6544 * docs/random/ensonic/interfaces.txt:
6546 added some more docs, removed two obsolete defines
6548 2004-11-02 Kjartan Maraas <as at gnome.org>
6550 reviewed by: Wim Taymans, Ronald Bultje.
6552 * gst/cothreads.c: (cothread_create):
6553 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
6554 (gst_bin_child_state_change_func):
6555 * gst/gstbuffer.c: (gst_buffer_span):
6556 * gst/gstelement.c: (gst_element_get_index),
6557 (gst_element_get_event_masks), (gst_element_get_query_types),
6558 (gst_element_get_formats):
6559 * gst/gsterror.c: (_gst_core_errors_init),
6560 (_gst_library_errors_init), (_gst_resource_errors_init),
6561 (_gst_stream_errors_init):
6562 * gst/gstobject.c: (gst_object_default_deep_notify):
6563 * gst/gstpad.c: (gst_pad_get_event_masks),
6564 (gst_pad_get_internal_links_default):
6565 * gst/gstplugin.c: (gst_plugin_register_func),
6566 (gst_plugin_get_module):
6567 * gst/gststructure.c: (gst_structure_get_string),
6568 (gst_structure_get_abbrs), (gst_structure_from_abbr),
6569 (gst_structure_to_abbr):
6570 * gst/gstutils.c: (gst_print_element_args):
6571 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6572 (setup_group_scheduler), (gst_opt_scheduler_iterate):
6573 Aplied part of patch #157127: Cleanup of issues reported by
6575 Also do not try to use cothreads when there is no cothread
6578 2004-11-02 Sebastien Cote <sc5 at hermes.usherb.ca>
6580 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6581 (gst_opt_scheduler_iterate):
6582 Applied patch #154061. Running a pipeline in which an element
6583 calls GST_ELEMENT_ERROR in the chain function, the opt
6584 scheduler doesn't unref the chain so it never gets freed.
6586 2004-11-02 Wim Taymans <wim@fluendo.com>
6588 * gst/gststructure.c: (gst_structure_get_abbrs),
6589 (gst_structure_from_abbr), (gst_structure_to_abbr):
6590 Remove that ugly if-then thing in the code that converts
6591 between strings and types.
6593 2004-11-02 Wim Taymans <wim@fluendo.com>
6595 * gst/gstscheduler.c: (gst_scheduler_add_element),
6596 (gst_scheduler_remove_element), (gst_scheduler_state_transition):
6597 Aplied clock distribution patch, this should fix bug
6600 2004-10-27 Thomas Vander Stichele <thomas at apestaart dot org>
6602 Submitted by: Kjartan Maraas <kmaraas@broadpark.no>
6606 Added Norwegian Bokmaal translation
6608 2004-10-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
6610 * tools/gst-inspect.c: (print_signal_info):
6611 print signal arguments as pointers if they are
6613 2004-10-22 Stefan Kost <ensonic@users.sf.net>
6615 * docs/pwg/building-boiler.xml:
6616 exchanged GTK_ macros with G_TYPE macros (as pointed out by mathrick)
6618 2004-10-19 Wim Taymans <wim at fluendo dot com>
6620 * gst/parse/parse.l:
6621 * testsuite/parse/parse1.c: (main):
6622 Since parse can do 'element name=a:b' make 'a:b.' work as
6624 Added testcase to verify fix.
6626 2004-10-19 Wim Taymans <wim at fluendo dot com>
6628 * tools/gst-inspect.c: (print_pad_info), (print_plugin_features):
6629 Use the realpad when printing the direction.
6630 Add extra \n when printing extensions of typefind factories.
6632 2004-10-13 David Schleef <ds@schleef.org>
6634 * examples/manual/Makefile.am: $< isn't portable in Makefile
6637 2004-10-13 Stefan Kost <ensonic@users.sf.net>
6639 * docs/gst/tmpl/gstobject.sgml:
6640 * docs/gst/tmpl/gstplugin.sgml:
6641 * docs/gst/tmpl/gstpluginfeature.sgml:
6642 * docs/gst/tmpl/gstregistry.sgml:
6643 * docs/gst/tmpl/gstversion.sgml:
6645 more api documentation
6646 * gst/gstplugin.c: (gst_plugin_register_func),
6647 (gst_plugin_check_file), (gst_plugin_load_file):
6648 better error signaling and logging
6650 2004-10-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6652 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_src_query):
6653 Subtract current queue contents from position queries.
6655 2004-10-11 Johan Dahlin <johan@gnome.org>
6657 * gst/gsturi.c (gst_uri_get_location): unescape string
6658 (gst_uri_construct): escape string.
6660 2004-10-11 Benjamin Otte <otte@gnome.org>
6662 * gst/gstpad.c: (gst_pad_renegotiate), (gst_pad_try_set_caps),
6663 (gst_pad_try_set_caps_nonfixed):
6664 allow renegotiation of unconnected pads (as inside spider). Simply
6665 return OK if unconnected - mimic try_set_caps there.
6667 2004-10-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6669 * gst/gstbin.c: (gst_bin_sync_children_state):
6672 2004-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6674 * gst/elements/gstfakesrc.c: (gst_fakesrc_get):
6675 Set element to EOS before sending EOS event
6677 2004-10-08 Wim Taymans <wim at fluendo dot com>
6679 * gst/elements/gsttypefindelement.c:
6680 (gst_type_find_element_handle_event):
6681 Handle EOS events when doing the transition from
6682 typefind to data passing. This should fix the
6683 infinite loops in short files.
6685 2004-10-07 Wim Taymans <wim at fluendo dot com>
6687 * gst/gstthread.c: (gst_thread_change_state),
6688 (gst_thread_child_state_change):
6689 Make sure no iteration happens while performing
6690 the state change as it could mess up the internal
6691 consistency of the thread state.
6693 2004-10-07 Wim Taymans <wim at fluendo dot com>
6695 * gst/gstthread.c: (gst_thread_dispose), (gst_thread_sync),
6696 (gst_thread_change_state), (gst_thread_child_state_change):
6697 Do not try to grab the iterate lock in the state change method
6698 when we are in the same thread as the iterate or else we
6699 could deadlock. Some other cleanups.
6701 2004-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
6706 === release 0.8.7 ===
6708 2004-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
6714 releasing 0.8.7, "A Cruise"
6716 2004-10-06 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
6718 * docs/random/mimetypes:
6719 Add an entry for Sony ATRAC3 audio format with mime-type
6720 used by rmdemux et riff-read
6722 2004-10-06 Wim Taymans <wim at fluendo dot com>
6724 * gst/elements/gsttypefindelement.c: (stop_typefinding):
6725 Push the buffer store instead of clearing it in case that
6726 the stream is not seekable.
6728 2004-10-06 Wim Taymans <wim at fluendo dot com>
6730 * gst/gstthread.c: (gst_thread_init), (gst_thread_change_state),
6731 (gst_thread_main_loop):
6732 Lock the iteration and the state change so that automatic
6733 negotiation and fixation does not happen at the same time
6734 as the in stream negotiation.
6736 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6741 === release 0.8.6 ===
6743 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6749 releasing 0.8.6, "Narc"
6751 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6756 2004-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
6758 patch by: Steve Lhomme
6760 * gst/elements/gstfakesrc.c:
6761 * gst/elements/gstidentity.c:
6765 2004-10-01 Wim Taymans <wim at fluendo dot com>
6767 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
6768 Fix threadsafety of the crc checking function.
6770 2004-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6772 patch by: Ronald Bultje
6774 * gst/elements/gsttypefindelement.c: (stop_typefinding),
6775 (gst_type_find_element_handle_event),
6776 (gst_type_find_element_chain):
6777 * gst/elements/gsttypefindelement.h:
6779 Filter out discont event from seekable sources when typefind
6780 asks them to seek. Fixes typefind with demuxers for
6781 avi, asf and matroska.
6783 2004-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6785 * docs/gst/gstreamer-sections.txt:
6789 Revert preferred caps: (#147789)
6791 2004-09-19 Steve Lhomme <steve.lhomme@free.fr>
6796 2004-09-10 Thomas Vander Stichele <thomas at apestaart dot org>
6801 2004-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
6804 * docs/manual/elements-api.xml:
6805 restructure so that common stuff is shown first
6806 * docs/manual/init-api.xml:
6808 * docs/manual/manual.xml:
6810 * docs/url.entities:
6811 link to API on the website, possibly override later in build
6812 * examples/manual/.cvsignore:
6814 * examples/manual/Makefile.am:
6816 * examples/manual/extract.pl:
6817 error out on failure
6819 2004-09-08 Thomas Vander Stichele <thomas at apestaart dot org>
6821 * docs/gst/tmpl/gstthread.sgml:
6822 * docs/manual/init-api.xml:
6823 * examples/manual/Makefile.am:
6824 convert two code bits to examples
6826 2004-09-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6828 * gst/gstelement.c: (gst_element_change_state):
6829 Well, actually, I was about to remove this insane assert when
6830 I noticed Wim already did that. A warning is nice so we can
6831 fix actual ugs (using --g-fatal-warnings and backtraces), so
6832 I added that instead.
6834 2004-09-06 Wim Taymans <wim@fluendo.com>
6836 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
6837 (gst_element_threadsafe_properties_post_run),
6838 (gst_element_set_state), (gst_element_change_state):
6839 Added extra refcounting around various places.
6841 2004-09-06 Wim Taymans <wim@fluendo.com>
6843 * gst/gstpad.c: (gst_pad_link_call_link_functions):
6846 2004-09-06 Wim Taymans <wim@fluendo.com>
6848 * gst/schedulers/gstoptimalscheduler.c: (add_to_group),
6849 (remove_from_group):
6850 Some more debug info.
6852 2004-09-03 Wim Taymans <wim@fluendo.com>
6854 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6855 (gst_fakesrc_init), (gst_fakesrc_set_clock),
6856 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6857 (gst_fakesrc_get), (gst_fakesrc_change_state):
6858 * gst/elements/gstfakesrc.h:
6859 * gst/elements/gstidentity.c: (gst_identity_class_init),
6860 (gst_identity_init), (gst_identity_chain),
6861 (gst_identity_set_property), (gst_identity_get_property),
6862 (gst_identity_change_state):
6863 * gst/elements/gstidentity.h:
6864 Added datarate properties to limit the datarate.
6866 2004-08-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
6868 * gst/autoplug/gstspider.c: (plugin_init):
6869 don't set a rank. We don't want to autoplug by inserting spiders.
6871 2004-08-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
6873 * gst/autoplug/gstspider.c: (gst_spider_class_init),
6874 (gst_spider_identity_plug):
6875 add a template for spider's sink
6876 * gst/gst.c: (gst_register_core_elements):
6877 queue's rank should be NULL, we don't want spider to add it.
6879 2004-08-18 David Schleef <ds@schleef.org>
6881 * docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331)
6882 * docs/libs/Makefile.am: same
6883 * docs/gst/tmpl/gstxml.sgml: Remove GstXMLNs
6884 * docs/random/ds/0.9-planning: random additions
6885 * docs/random/ds/0.9-suggested-changes: same
6886 * gst/gstxml.h: remove vestigal GstXMLNs definition
6888 Preferred caps: (#147789)
6889 * docs/gst/gstreamer-sections.txt: Add symbols
6890 * docs/gst/tmpl/gstcaps.sgml: Add symbols
6891 * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
6892 (gst_caps_append), (gst_caps_copy_1), (gst_caps_intersect),
6893 (gst_caps_union), (gst_caps_save_thyself), (gst_caps_load_thyself),
6894 (gst_caps_get_preferred), (gst_caps_set_preferred),
6895 (gst_caps_get_structure_by_id), (gst_caps_prefer_foreach),
6896 (gst_caps_use_preferred): Handle caps preferences
6897 * gst/gstcaps.h: Add caps preferences
6898 * gst/gstpad.c: (gst_pad_link_get_preferred),
6899 (gst_pad_link_fixate), (gst_pad_link_call_link_functions),
6900 (gst_pad_renegotiate), (gst_pad_guess_preferred),
6901 (gst_pad_get_caps), (gst_pad_push): Use caps preferences for
6904 2004-08-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
6906 * gst/autoplug/gstspideridentity.c:
6907 (gst_spider_identity_request_new_pad):
6908 * gst/elements/gstaggregator.c: (gst_aggregator_base_init),
6909 (gst_aggregator_init):
6910 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
6911 (gst_fakesink_init):
6912 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
6914 * gst/elements/gstfdsink.c: (gst_fdsink_base_init),
6916 * gst/elements/gstfdsrc.c: (gst_fdsrc_base_init), (gst_fdsrc_init):
6917 * gst/elements/gstfilesink.c: (gst_filesink_base_init),
6918 (gst_filesink_init):
6919 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
6921 * gst/elements/gstidentity.c: (gst_identity_base_init),
6922 (gst_identity_init):
6923 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
6924 (gst_multifilesrc_init):
6925 * gst/elements/gstpipefilter.c: (gst_pipefilter_base_init),
6926 (gst_pipefilter_init):
6927 * gst/elements/gststatistics.c: (gst_statistics_base_init),
6928 (gst_statistics_init):
6929 * gst/elements/gsttee.c: (gst_tee_base_init), (gst_tee_init):
6930 * gst/gstqueue.c: (gst_queue_base_init), (gst_queue_init):
6931 s/gst_pad_new/&_from_template/
6932 register pad templates in the base_init function
6933 add static pad template definitions
6935 2004-08-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
6937 * testsuite/bytestream/gstbstest.c: (gst_bstest_init):
6938 * testsuite/dynparams/dparamstest.c: (gst_dptest_init):
6939 * testsuite/refcounting/pad.c: (main):
6940 * testsuite/refcounting/thread.c: (create_thread_ghostpads):
6941 s/gst_pad_new/&_from_template/
6942 prepare deprecation of gst_pad_new
6944 2004-08-17 Thomas Vander Stichele <thomas at apestaart dot org>
6946 patch by: Luca Ognibene <skaboy81@virgilio.it>
6952 fix memleaks. Fixes #150001
6954 2004-08-17 Benjamin Otte <in7y118@public.uni-hamburg.de>
6956 * docs/random/ds/0.9-suggested-changes:
6957 add notes - mostly about pad templates
6959 2004-08-16 Steve Lhomme <steve.lhomme@free.fr>
6961 * win32/GStreamer.vcproj:
6962 temporary locale files are .gmo not .mo
6964 2004-08-16 Thomas Vander Stichele <thomas at apestaart dot org>
6966 * configure.ac: bump nano to cvs
6968 === release 0.8.5 ===
6970 2004-08-16 Thomas Vander Stichele <thomas at apestaart dot org>
6973 releasing 0.8.5, "Stuttgart"
6977 * docs/random/release:
6980 2004-08-16 Thomas Vander Stichele <thomas at apestaart dot org>
6982 patch by: Wim Taymans (wim@fluendo.com)
6986 * libs/gst/dataprotocol/dataprotocol.c:
6987 copy KEY_UNIT and DELTA_UNIT flags correctly. Fixes #150242
6989 2004-08-13 Thomas Vander Stichele <thomas at apestaart dot org>
6993 add win32 dir to the build. Fixes #149981.
6995 2004-08-13 Thomas Vander Stichele <thomas at apestaart dot org>
6998 bump libtool versioning
6999 * gst/gststructure.c:
7000 mark function as static
7015 trademark protection
7017 2004-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
7021 set GST_PACKAGE to source, and distinguish between release and other
7022 * tools/gst-inspect.c:
7023 print out plugin an element factory is part of so we see this info
7025 2004-08-12 Thomas Vander Stichele <thomas at apestaart dot org>
7027 * docs/gst/gstreamer-sections.txt:
7028 * docs/gst/tmpl/gstbuffer.sgml:
7029 * docs/gst/tmpl/gstschedulerfactory.sgml:
7030 reorder docs a little, make GstBuffer's more sensible.
7032 API: added GST_BUFFER_FLAG_DELTA_UNIT
7033 * gst/gstscheduler.c:
7034 comment API addition
7036 2004-08-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
7038 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
7039 work with non-regular files that can be mmapped (like /dev/zero)
7040 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
7041 get rid of typefinds that require a seek when we can't seek instead
7042 of trying them over and over again
7043 * tools/gst-launch.c: (idle_func), (error_cb), (main):
7044 return non-zero failure value when the pipeline was interrupted or
7047 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
7050 * win32/GStreamer.vcproj:
7051 compile and install the locales
7053 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
7056 fix a possible memory leak under Windows
7058 2004-08-11 Steve Lhomme <steve.lhomme@free.fr>
7060 * win32/GStreamer.vcproj:
7061 fix a memory leak that occured under Windows
7062 * win32/gstreamer.def:
7063 add gst_scheduler_register
7065 2004-08-11 Benjamin Otte <otte@gnome.org>
7067 * docs/gst/gstreamer-sections.txt:
7068 * gst/gstscheduler.c: (gst_scheduler_register):
7069 * gst/gstscheduler.h:
7071 add gst_scheduler_register shortcut similar to gst_element_register
7072 * gst/schedulers/entryscheduler.c: (plugin_init):
7073 * gst/schedulers/gstbasicscheduler.c: (plugin_init):
7074 * gst/schedulers/gstoptimalscheduler.c: (plugin_init):
7077 2004-08-10 Steve Lhomme <steve.lhomme@free.fr>
7080 fix a memory leak that occured under Windows
7082 2004-08-10 Colin Walters <walters@redhat.com>
7084 * gst/registries/gstxmlregistry.c (gst_xml_registry_open_func):
7085 Don't use O_EXCL to open temporary registry. It will prevent
7086 registry creation if a temporary one already exists, which
7089 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
7091 * docs/gst/gstreamer-sections.txt:
7092 * docs/gst/tmpl/gstvalue.sgml:
7093 remove some valuable stuff from the documentation due to the use of GST_EXPORT
7095 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
7097 * win32/gstbytestream.vcproj:
7098 * win32/gstelements.vcproj:
7099 * win32/gstgetbits.vcproj:
7100 * win32/gst-inspect.vcproj:
7101 * win32/gst-launch.vcproj:
7102 * win32/gstoptimalscheduler.vcproj:
7103 * win32/GStreamer.vcproj:
7104 * win32/gst-register.vcproj:
7105 * win32/gstspider.vcproj:
7106 update the include and lib dirs to fit standard libraries as
7107 described in the Win32 manual
7109 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
7112 * win32/gstversion.h:
7113 enable NLS again, push the version number for the coming 0.8.5 release
7115 2004-08-09 Steve Lhomme <steve.lhomme@free.fr>
7118 export gst_type_XXX for windows DLLs
7120 2004-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
7122 * docs/faq/gst-uninstalled:
7123 fix PKG_CONFIG_PATH and PYTHONPATH
7124 * gst/schedulers/Makefile.am:
7126 * libs/gst/bytestream/bytestream.c:
7130 adding Albanian translation (Laurent Dhima)
7134 2004-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
7138 updated translations
7140 2004-08-04 Benjamin Otte <otte@gnome.org>
7142 * tests/mass_elements.c: (main):
7143 allow specifying src and sink element explicitly, so I can test
7144 videotestsrc instead of fakesrc
7146 2004-08-04 Benjamin Otte <otte@gnome.org>
7148 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
7149 (gst_structure_id_empty_new), (gst_structure_empty_new),
7150 (gst_structure_copy):
7151 add gst_structure_id_empty_new_with_size to allow preallocating
7152 value array sizes. Use this in gst_structure_copy to get rid of
7154 don't do quark=>string=>quark when copying structures
7156 2004-08-03 Steve Lhomme <steve.lhomme@free.fr>
7158 * docs/manual/win32.xml:
7160 update documentation with the clean version of dependencies
7162 2004-08-03 Benjamin Otte <otte@gnome.org>
7164 * gst/schedulers/entryscheduler.c:
7165 (gst_entry_scheduler_remove_element):
7166 fix for GST_DISABLE_DEBUG
7167 * tools/gst-launch.c: (print_tag):
7168 fixes for G_DISABLE_ASSERT
7170 2004-08-03 Benjamin Otte <otte@gnome.org>
7172 * gst/gst.c: (gst_register_core_elements):
7173 fix for G_DISABLE_ASSERT
7174 * gst/gstinfo.c: (__gst_in_valgrind):
7175 add for GST_DISABLE_DEBUG
7177 2004-08-03 Benjamin Otte <otte@gnome.org>
7179 * gst/parse/parse.l:
7180 fix for G_DISABLE_ASSERT
7182 2004-08-03 Wim Taymans <wim@fluendo.com>
7184 * gst/gstbin.c: (gst_bin_get_type),
7185 (gst_bin_child_state_change_func):
7186 * gst/gstthread.c: (gst_thread_change_state):
7187 Backported some debug logging from a reverted patch
7188 Don't try to destroy the thread twice. Added some more
7189 debugging in GstThread. Unlock and signal even if we
7190 are in the thread context.
7192 2004-08-03 Thomas Vander Stichele <thomas at apestaart dot org>
7197 2004-07-30 David Schleef <ds@schleef.org>
7199 * gst/gstatomic_impl.h: Enable atomic code for x86_64
7201 2004-07-29 David Schleef <ds@schleef.org>
7203 * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test):
7204 Use GST_READ_GUINTxx_BE(), since it accesses unaligned memory.
7206 2004-07-29 Thomas Vander Stichele <thomas at apestaart dot org>
7208 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
7209 (gst_bin_add_func), (gst_bin_remove_func),
7210 (gst_bin_child_state_change), (gst_bin_child_state_change_func),
7211 (set_kid_state_func), (gst_bin_change_state), (gst_bin_set_state),
7212 (gst_bin_change_state_norecurse), (gst_bin_dispose),
7213 (gst_bin_sync_children_state):
7215 * gst/gstthread.c: (gst_thread_class_init), (gst_thread_release),
7216 (gst_thread_change_state):
7217 * testsuite/states/Makefile.am:
7218 revert state change patches as agreed so we can rework them
7221 2004-07-29 Benjamin Otte <otte@gnome.org>
7223 * libs/gst/control/Makefile.am:
7224 link to libgstreamer (fixes Debian bug 262019, see
7225 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262019 )
7227 2004-07-29 Wim Taymans <wim@fluendo.com>
7229 * testsuite/caps/fraction-convert.c: (check_from_double_convert),
7230 (check_from_fraction_convert), (transform_test), (main):
7231 Make the test less pedantic about float roundoff errors.
7233 2004-07-29 Benjamin Otte <otte@gnome.org>
7235 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file),
7236 (gst_filesrc_srcpad_event):
7237 make seek events to before start/after end of file not fail, but
7238 seek to start/end instead
7239 * testsuite/caps/fraction-convert.c: (check_from_double_convert):
7242 2004-07-29 Benjamin Otte <otte@gnome.org>
7244 * gst/gstpad.c: (gst_pad_set_explicit_caps):
7245 check that caps are fixed
7246 * gst/gstpad.c: (gst_pad_template_new):
7247 don't try to simplify caps, costs too much time on gst_init
7248 * gst/gstplugin.c: (gst_plugin_add_feature):
7249 G_ERROR if features are added twice
7250 * gst/gsttypefind.c: (gst_type_find_register):
7251 * gst/gstelementfactory.c: (gst_element_register):
7252 don't add features twice
7253 * docs/random/ds/0.9-suggested-changes:
7254 add note about possible gst_init optimization
7256 2004-07-28 David Schleef <ds@schleef.org>
7258 * testsuite/elements/Makefile.am:
7259 * testsuite/elements/struct_i386.h:
7260 * testsuite/elements/struct_size.c: (main): A little test
7261 to keep distcheck from working if someone changes a structure
7264 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
7266 * docs/libs/Makefile.am:
7267 * docs/libs/gstreamer-libs-docs.sgml:
7268 * docs/libs/gstreamer-libs-sections.txt:
7269 * docs/libs/tmpl/gstbytestream.sgml:
7270 * docs/libs/tmpl/gstcontrol.sgml:
7271 * docs/libs/tmpl/gstdataprotocol.sgml:
7272 * docs/libs/tmpl/gstgetbits.sgml:
7273 * libs/gst/bytestream/Makefile.am:
7274 * libs/gst/bytestream/bytestream.c:
7275 * libs/gst/bytestream/bytestream.h:
7276 * libs/gst/control/Makefile.am:
7277 * libs/gst/dataprotocol/Makefile.am:
7278 * libs/gst/getbits/Makefile.am:
7279 * libs/gst/getbits/getbits.h:
7280 various doc and style fixes, adding bytestream to libs docs.
7282 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
7284 * docs/gst/gstreamer-docs.sgml:
7285 * docs/libs/Makefile.am:
7286 * docs/libs/gstreamer-libs-docs.sgml:
7287 * docs/libs/gstreamer-libs-sections.txt:
7288 * libs/gst/control/dparam.c:
7289 more doc fixes. gst-libs docs now build the same way as gst.
7291 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
7294 * testsuite/Makefile.am:
7295 * testsuite/bins/Makefile.am:
7296 * testsuite/caps/Makefile.am:
7297 * testsuite/cleanup/Makefile.am:
7298 * testsuite/clock/Makefile.am:
7299 * testsuite/debug/Makefile.am:
7300 * testsuite/dlopen/Makefile.am:
7301 * testsuite/dynparams/Makefile.am:
7302 * testsuite/elements/.cvsignore:
7303 * testsuite/elements/Makefile.am:
7304 * testsuite/enumcaps/Makefile.am:
7305 * testsuite/enumcaps/enumcaps.c:
7306 * testsuite/ghostpads/Makefile.am:
7307 * testsuite/indexers/Makefile.am:
7308 * testsuite/negotiation/Makefile.am:
7309 * testsuite/parse/Makefile.am:
7310 * testsuite/plugin/Makefile.am:
7311 * testsuite/refcounting/Makefile.am:
7312 * testsuite/schedulers/.cvsignore:
7313 * testsuite/states/Makefile.am:
7314 * testsuite/tags/Makefile.am:
7315 * testsuite/threads/Makefile.am:
7316 fold enumcaps into caps dir
7317 clean up Makefile.am's for testsuite
7319 2004-07-28 Thomas Vander Stichele <thomas at apestaart dot org>
7321 * docs/gst/Makefile.am:
7322 * docs/libs/Makefile.am:
7323 clean up docs build. Fixes needless rebuilding of template files.
7325 2004-07-28 Wim Taymans <wim@fluendo.com>
7327 * gst/gstbin.c: (set_kid_state_func), (gst_bin_set_state):
7328 * gst/gstthread.c: (gst_thread_release), (gst_thread_set_state):
7329 Make sure that a bin state change tries to keep the children
7331 Added debug logging to the thread.
7333 2004-07-27 Steve Lhomme <steve.lhomme@free.fr>
7335 * win32/GStreamer.vcproj:
7336 * win32/gstreamer.def:
7337 more exports for the plugins
7339 2004-07-27 Steve Lhomme <steve.lhomme@free.fr>
7341 * win32/gstgetbits.vcproj:
7342 * win32/gstgetbits.def:
7344 add support for the getbits plugin
7346 2004-07-27 Wim Taymans <wim@fluendo.com>
7348 * gst/gstvalue.c: (gst_value_transform_double_fraction),
7349 (gst_value_transform_fraction_double), (_gst_value_initialize):
7350 * testsuite/caps/Makefile.am:
7351 * testsuite/caps/fraction-convert.c: (check_from_double_convert),
7352 (check_from_fraction_convert), (transform_test), (main):
7353 Added transform functions between double and fraction.
7354 Added testcase to verify transforms
7356 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
7358 * win32/GStreamer.vcproj:
7359 rename GStreamer-0.8.lib to libgstreamer.lib
7361 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
7363 * win32/gstelements.vcproj:
7364 * win32/gstoptimalscheduler.vcproj:
7365 fixes for the Release build
7367 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
7370 update the version number
7372 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
7374 * win32/GStreamer.vcproj:
7375 add gstinterface to the build
7377 2004-07-26 Steve Lhomme <steve.lhomme@free.fr>
7379 * win32/gstreamer.def:
7380 add many definitions needed by plugins,
7381 GST_CAT_DEFAULT only available in the Debug build ?
7383 2004-07-26 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * gst/gstelement.c: (gst_element_set_eos_recursive):
7386 various whitespace fixes.
7387 doc fix, fixes #148497
7389 2004-07-25 Benjamin Otte <otte@gnome.org>
7391 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
7392 don't delay links on the sink elements, it causes unnegotiated
7394 * gst/elements/gsttypefindelement.c:
7395 (gst_type_find_element_base_init):
7396 add our padtemplates, we indeed do have some.
7397 * gst/elements/gsttypefindelement.c:
7398 (gst_type_find_element_handle_event),
7399 (gst_type_find_element_chain):
7400 don't push data when typefinding failed.
7401 * gst/gstpad.c: (gst_pad_link_fixate):
7402 check that no fixate function returns empty caps.
7403 * gst/gstpad.c: (gst_pad_push):
7404 check that the link is negotiated before data gets pushed.
7405 * tools/gst-register.c: (main):
7406 don't assert (fixes #148283)
7408 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
7410 * docs/gst/gstreamer-sections.txt:
7411 * docs/gst/tmpl/gstconfig.sgml:
7412 add GST_PLUGIN_EXPORT definition
7414 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
7417 * gst/gstconfig.h.in:
7418 * win32/gstconfig.h:
7419 * win32/gstelements.def:
7420 * win32/gstelements.vcproj:
7421 * win32/gstoptimalscheduler.def:
7422 * win32/gstoptimalscheduler.vcproj:
7423 * win32/gstspider.def:
7424 * win32/gstspider.vcproj:
7425 remove unused .def files and export symbols using GST_PLUGIN_DEFINE
7427 2004-07-25 Thomas Vander Stichele <thomas at apestaart dot org>
7429 * docs/gst/gstreamer-sections.txt:
7430 remove GST_CAT_DEFAULT because the type has changed
7432 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
7434 * win32/gstbytestream.vcproj:
7435 * win32/gstelements.vcproj:
7436 * win32/gst-inspect.vcproj:
7437 * win32/gst-launch.vcproj:
7438 * win32/gstoptimalscheduler.vcproj:
7439 * win32/GStreamer.vcproj:
7440 * win32/gst-register.vcproj:
7441 * win32/gstspider.vcproj:
7443 Copy the files where needed after building, The testsuite will be
7446 2004-07-25 Steve Lhomme <steve.lhomme@free.fr>
7450 * docs/manual/win32.xml:
7451 Fixed the plugin and GStreamer location
7453 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7455 * win32/gstreamer.def:
7456 More exports for the plugins
7458 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7461 Marc was right, we need to export literally GST_CAT_DEFAULT
7463 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7466 NLS crashes in gettext, disabled until this is solved
7468 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7470 * win32/gst-inspect.vcproj:
7471 * win32/gst-launch.vcproj:
7472 Should use NLS when available
7474 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7476 * gst/registries/gstxmlregistry.c:
7477 removing the file doesn't seem to be a good idea on Linux
7479 2004-07-24 Steve Lhomme <steve.lhomme@free.fr>
7481 * gst/registries/gstxmlregistry.c:
7482 Remove the registry before renaming the tempfile (needed for Windows)
7484 2004-07-23 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7486 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init),
7487 (gst_multifilesrc_init), (gst_multifilesrc_set_property),
7488 (gst_multifilesrc_get_property), (gst_multifilesrc_get):
7489 * gst/elements/gstmultifilesrc.h:
7490 Added newmedia property so it generates newmedia events between each
7491 file when property is set, as well as fixed eos handling
7493 2004-07-22 David Schleef <ds@schleef.org>
7495 * gst/gststructure.c: (gst_structure_id_empty_new),
7496 (gst_structure_empty_new): Set type field correctly.
7497 * gst/gststructure.h: Check type field correctly.
7498 * testsuite/caps/Makefile.am:
7499 * testsuite/caps/structure.c: (test1), (main): Add a very small
7500 test for structures.
7502 2004-07-22 David Schleef <ds@schleef.org>
7504 * docs/random/ds/0.9-suggested-changes: more comments
7505 * tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
7507 2004-07-22 Benjamin Otte <otte@gnome.org>
7509 * gst/gstelementfactory.c: (gst_element_register):
7510 set the factory in the class struct, so gst_element_get_factory
7512 * gst/parse/grammar.y:
7513 set element to playing when it gets unlocked as we can't rely on the
7514 bin state - all elements in the bin state might still be locked in
7517 2004-07-22 Benjamin Otte <otte@gnome.org>
7519 * gst/gstelement.c: (gst_element_set_state_func):
7520 make this a static function
7522 2004-07-22 Wim Taymans <wim@fluendo.com>
7524 * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
7525 (gst_opt_scheduler_pad_link):
7526 fix 147894-2 and the group_link problem.
7528 2004-07-22 Wim Taymans <wim@fluendo.com>
7530 * testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
7531 (handoff_identity), (main):
7532 * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
7533 (handoff_identity), (main):
7534 * testsuite/schedulers/Makefile.am:
7535 * testsuite/schedulers/group_link.c: (main):
7536 Show bug in scheduler when linking chain and loop based element
7537 where the chain based element was not yet in a group.
7539 2004-07-21 Benjamin Otte <otte@gnome.org>
7542 * gst/autoplug/.cvsignore:
7543 * gst/elements/.cvsignore:
7544 * gst/indexers/.cvsignore:
7545 * libs/gst/bytestream/.cvsignore:
7546 * libs/gst/control/.cvsignore:
7547 * libs/gst/getbits/.cvsignore:
7548 * testsuite/states/.cvsignore:
7549 * testsuite/threads/.cvsignore:
7550 keep this up to date, since I seem to be the only one who cares
7551 about not missing files on commits (editor's note: no you don't,
7552 but feel free to change them at the time you add stuff instead
7555 2004-07-21 Benjamin Otte <otte@gnome.org>
7557 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init),
7558 (gst_bin_fix_state), (gst_bin_add_func), (gst_bin_remove_func),
7559 (gst_bin_child_state_change_func), (set_kid_state_func),
7560 (gst_bin_set_state), (gst_bin_change_state_norecurse):
7561 make state changes work correctly and reentrant (so removing
7562 elements from bins during state changes of bins doesn't cause
7563 segfaults or even wrong states)
7564 add debugging category and debugging output to print children states
7565 * gst/gstbin.c: (gst_bin_dispose):
7566 add some assertion checks
7568 * gst/gstbin.c: (gst_bin_sync_children_state):
7569 deprecate this function - it just does gst_bin_set_state (bin,
7571 * testsuite/threads/queue.c: (main):
7572 don't use gst_bin_sync_children_state anymore
7573 * testsuite/states/Makefile.am:
7574 * testsuite/states/bin.c:
7575 test that the state changes of bins work as expected
7576 * gst/gstthread.c: (gst_thread_class_init), (gst_thread_set_state):
7577 some adjustments to change states correctly, too
7578 * gst/gstthread.c: (gst_thread_change_state):
7579 don't enable/disable "threadsafe" properties, they're unused and
7580 cause random segfaults
7581 * testsuite/threads/Makefile.am:
7582 the queue check randomly passes now, ignore it
7584 2004-07-21 Benjamin Otte <otte@gnome.org>
7587 check if data is NULL before outputting debug info. (fixes #145100)
7589 2004-07-21 Benjamin Otte <otte@gnome.org>
7591 * gst/schedulers/entryscheduler.c:
7592 (gst_entry_scheduler_loop_wrapper),
7593 (gst_entry_scheduler_chain_wrapper),
7594 (gst_entry_scheduler_get_wrapper):
7595 reset the state when the cothread starts, so we don't get assertion
7596 failures on restarting of cothreads
7598 2004-07-20 Benjamin Otte <otte@gnome.org>
7600 * gst/gstelement.c: (gst_element_link_pads_filtered):
7601 use correct sinkpad, if only sinkpad is specified, but not srcpad
7603 * gst/gstelement.c: (gst_element_set_state_func),
7604 (gst_element_change_state): ref/unref the element, signal handlers
7605 could get rid of the element otherwise
7607 2004-07-20 Ronald Bultje <rbultje@ronald.bitfreak.net>
7609 * docs/random/ds/0.9-suggested-changes:
7610 Make note about renaming fixed-list to array.
7611 * gst/gstvalue.c: (gst_value_intersect_fixed_list),
7612 (_gst_value_initialize):
7613 Add array intersections.
7614 * testsuite/caps/intersect2.c: (main):
7615 Add test for array intersections.
7617 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7619 * configure.ac: back to cvs
7621 === release 0.8.4 ===
7623 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7626 releasing 0.8.4, "Paella"
7627 bump libtool versioning
7629 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7633 adding Catalan translation (Jordi Mallach)
7635 2004-07-20 Wim Taymans <wim@fluendo.com>
7637 * testsuite/schedulers/147894-2.c: (queue_empty), (queue_filled),
7638 (handoff_identity), (main):
7639 * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
7640 (handoff_identity), (main):
7641 * testsuite/schedulers/Makefile.am:
7642 Added failing testcase for variant of #147894
7644 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7646 patch by: David Moore
7648 * gst/schedulers/gstoptimalscheduler.c: (group_has_element),
7649 (schedule_group), (gst_opt_scheduler_schedule_run_queue),
7650 (group_migrate_connected):
7651 * testsuite/schedulers/Makefile.am:
7652 fix for #142813 (Deadlock in optimal scheduler)
7654 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7656 patch by: Wim Taymans
7658 * gst/schedulers/gstoptimalscheduler.c: (group_has_element),
7659 (gst_opt_scheduler_schedule_run_queue),
7660 (gst_opt_scheduler_get_wrapper), (get_group),
7661 (group_migrate_connected):
7662 * testsuite/schedulers/Makefile.am:
7663 fix for #147819 (Add some checks in the opt scheduler)
7665 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7667 patch by: Benjamin Otte
7669 * gst/gstelementfactory.c: (__gst_element_details_set):
7670 fix for #147929: running gst-register in non-utf8 locale can cause
7673 2004-07-20 Thomas Vander Stichele <thomas at apestaart dot org>
7675 patch by: Wim Taymans
7677 * gst/schedulers/gstoptimalscheduler.c: (group_num_elements),
7678 (group_has_element), (element_get_reachables_func),
7679 (group_migrate_connected):
7680 fix for #147894 (opt scheduler decoupled elements mismanagement)
7681 * testsuite/schedulers/Makefile.am:
7682 testsuite app now passes
7684 2004-07-19 Wim Taymans <wim@fluendo.com>
7686 * testsuite/schedulers/147819.c: (handoff_identity1),
7687 (handoff_identity2), (main):
7688 * testsuite/schedulers/Makefile.am:
7689 Added testcase for bug 147819
7691 2004-07-19 Wim Taymans <wim@fluendo.com>
7693 * testsuite/schedulers/147894.c: (queue_empty), (queue_filled),
7694 (handoff_identity), (main):
7695 * testsuite/schedulers/Makefile.am:
7696 Added testcase for bug 147894
7698 2004-07-16 Wim Taymans <wim@fluendo.com>
7700 * testsuite/schedulers/142183-2.c: (handoff_identity), (main):
7701 * testsuite/schedulers/142183.c: (handoff_identity), (main):
7702 * testsuite/schedulers/Makefile.am:
7703 Added testsuite for bug 142183 in its two incarnations. Refcount
7704 is not increased for scheduled elements and threadsafe properties
7705 mutexes are not properly unlocked.
7707 2004-07-16 Wim Taymans <wim@fluendo.com>
7709 * gst/schedulers/gstoptimalscheduler.c: (gst_opt_scheduler_init),
7710 (create_chain), (destroy_chain), (create_group), (destroy_group),
7711 (add_to_group), (merge_groups), (group_elements), (group_inc_link),
7712 (group_dec_link), (gst_opt_scheduler_pad_link),
7713 (group_inc_links_for_element), (group_migrate_connected):
7714 Call group_inc_link with the proper src->sink ordering --
7715 break this, and we break sort_chain. patch from wingo for bug
7717 Partially revert patch 1.89. When adding a loop based element to
7718 the scheduler, the links to other groups are automatically followed
7719 and incremented. This should not happen because the bin will call
7720 pad_link explicitly for those connection, resulting in them counted
7721 twice. Results in assertion failure on pipeline cleanup.
7723 2004-07-16 Wim Taymans <wim@fluendo.com>
7725 * testsuite/schedulers/143777-2.c: (main):
7726 * testsuite/schedulers/147713.c: (handoff_src), (handoff_sink),
7728 * testsuite/schedulers/Makefile.am:
7729 Added cleanup code to testcase 143777-2.
7730 Added testcase to show bug 147713, does not really show the
7731 deadlock as I can't figure out how to trigger it, but it does
7732 demonstrate bad ordering in the scheduler.
7734 2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
7736 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7737 change strndup to g_strndup. Fixes #147707
7739 2004-07-16 Thomas Vander Stichele <thomas at apestaart dot org>
7751 updated translations
7753 2004-07-16 Benjamin Otte <otte@gnome.org>
7755 * gst/gstvalue.c: (gst_greatest_common_divisor):
7756 use ints and return ints, fractions only use ints, too, so this
7757 avoids accidently casting multiplications to unsigned
7758 (gst_value_lcopy_fraction): it's ints, not uint32
7759 (gst_value_set_fraction): disallow minint, multiplying and negation
7761 (gst_value_fraction_multiply): fix to make large numbers work and get
7762 rid of the assumption that the multiplication of two ints fits an
7763 int64 - dunno if that's true for all systems
7764 * testsuite/caps/Makefile.am:
7765 * testsuite/caps/fraction-multiply-and-zero.c:
7766 (check_multiplication), (check_equal), (zero_test), (main):
7767 add tests for all the stuff above
7768 * testsuite/caps/value_compare.c: (test1):
7771 * testsuite/caps/.cvsignore:
7772 * testsuite/debug/.cvsignore:
7773 * testsuite/dlopen/.cvsignore:
7774 * testsuite/states/.cvsignore:
7777 2004-07-16 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7779 * docs/manual/bins-api.xml:
7780 * docs/manual/factories.xml:
7781 * docs/manual/helloworld.xml:
7782 * docs/manual/links-api.xml:
7783 fixes for out of date info, incorrect info and grammar
7785 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7787 * docs/manual/pads.xml:
7788 * docs/manual/pads-api.xml: grammar fix
7790 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7792 * docs/manual/pads-api.xml: typo + grammar fix
7794 2004-07-15 Thomas Vander Stichele <thomas at apestaart dot org>
7796 * docs/gst/gstreamer-sections.txt:
7798 * docs/gst/tmpl/gstelement.sgml:
7799 * docs/gst/tmpl/gstpad.sgml:
7800 * docs/gst/tmpl/gsttypes.sgml:
7801 * docs/gst/tmpl/gstvalue.sgml:
7803 * gst/gststructure.c: (gst_structure_set_valist),
7804 (gst_structure_from_abbr), (gst_structure_to_abbr):
7805 * gst/gstvalue.c: (gst_value_compare_double), (gst_type_is_fixed),
7806 (gst_greatest_common_divisor), (gst_value_init_fraction),
7807 (gst_value_copy_fraction), (gst_value_collect_fraction),
7808 (gst_value_lcopy_fraction), (gst_value_set_fraction),
7809 (gst_value_get_fraction_numerator),
7810 (gst_value_get_fraction_denominator),
7811 (gst_value_fraction_multiply), (gst_value_serialize_fraction),
7812 (gst_value_deserialize_fraction),
7813 (gst_value_transform_fraction_string),
7814 (gst_value_transform_string_fraction),
7815 (gst_value_compare_fraction), (_gst_value_initialize):
7817 adding GstFraction GValue type, get/set, and multiply
7818 * testsuite/caps/Makefile.am:
7819 * testsuite/caps/fraction.c: (test), (main):
7820 * testsuite/caps/string-conversions.c: (main):
7821 * testsuite/caps/value_compare.c: (test1), (main):
7822 add regression tests for GstFraction
7824 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7826 * docs/manual/init-api.xml: Grammar fix
7828 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7830 * docs/manual/states.xml: Fix inconsistent information
7832 2004-07-15 Thomas Vander Stichele <thomas at apestaart dot org>
7834 * gst/gstelement.c: (gst_element_set_state):
7835 * gst/gstpad.c: (gst_pad_try_set_caps):
7836 * gst/gststructure.c:
7837 * gst/gstthread.c: (gst_thread_child_state_change):
7838 * gst/gstvalue.c: (gst_value_compare_double):
7840 * testsuite/parse/parse1.c: (main):
7841 debugging additions and style cleanups
7843 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7845 * docs/manual/states.xml: Grammar fix
7847 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7849 * docs/manual/pads.xml: Grammar fix
7851 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7853 * docs/manual/elements.xml: Fixed image reference
7855 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7857 * docs/manual/goals.xml: Grammar fix
7859 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7861 * docs/manual/motivation.xml:
7862 Bonobo is no longer "emerging" and added sentence regarding tcp plugins
7864 2004-07-15 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7866 * docs/manual/motivation.xml: Fix spelling
7868 2004-07-15 Benjamin Otte <otte@gnome.org>
7871 Don't GST_ERROR_OBJECT empty strings - Solaris doesn't like NULL
7873 * gst/gstelement.c (gst_element_class_init):
7874 GError's are boxed, not objects
7875 * gst/gstmarshal.list:
7876 update list for the fixed error signal
7878 2004-07-14 Andy Wingo <wingo@pobox.com>
7880 * gst/gsttag.c: Add a tag merge func for pointers. The header was
7881 there all along, but the function wasn't. (guile-gstreamer's build
7882 system uses the address of the function -- I wasn't actually
7883 trying to use this.)
7885 2004-07-14 Andy Wingo <wingo@pobox.com>
7887 * gst/gstpad.c (gst_pad_try_set_caps): Naive link functions (such
7888 as gst_pad_proxy_pad_link) just link to every other pad when they
7889 are called. In the case where the graph has cycles, this will mean
7890 that a call to try_set_caps will recurse. Allow this recursion
7891 and return OK, while we wait for the first try_set_caps to give a
7892 proper return value.
7893 (gst_pad_link_call_link_functions): Since this function is the
7894 only one to set the NEGOTIATING flag on a pad, if the flag is set
7895 it means that the link functions have indirectly recursed. If this
7896 happens, error out to avoid infinite recursion and an eventual
7898 (gst_real_pad_class_init): Remove a crufty GtkObject comment.
7899 (gst_pad_proxy_getcaps): Intersect the result with the template
7900 caps to ensure that the return value is valid.
7902 2004-07-14 Andy Wingo <wingo@pobox.com>
7904 * gst/gstdata.c (gst_data_is_writable): s/>=/>/. If there is only
7905 one refcount, the calling function is the owner of the buffer.
7907 2004-07-14 Wim Taymans <wim@fluendo.com>
7909 * gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
7910 (gst_opt_scheduler_pad_link), (group_migrate_connected):
7911 Fix stupid warning when an element is to be migrated but
7912 is already migrated.
7914 2004-07-14 Wim Taymans <wim@fluendo.com>
7916 * gst/schedulers/gstoptimalscheduler.c: (group_dec_link),
7917 (gst_opt_scheduler_pad_link), (group_migrate_connected):
7918 Make sure that a single non-loop-based element does not
7919 end up in a group. This fixes the testsuite again.
7921 2004-07-14 Wim Taymans <wim@fluendo.com>
7923 * gst/schedulers/gstoptimalscheduler.c: (create_group),
7924 (add_to_group), (merge_groups), (schedule_group),
7925 (gst_opt_scheduler_get_wrapper), (group_elements),
7926 (group_dec_link), (gst_opt_scheduler_pad_link),
7927 (group_migrate_connected), (gst_opt_scheduler_pad_unlink),
7928 (gst_opt_scheduler_iterate):
7929 move isolated groups to a new chain.
7930 Emit a warning instead of segfaulting in some error cases.
7931 Fix a bug where the link count between groups was not calculated
7932 correctly. Fixes #144510.
7934 2004-07-13 Steve Lhomme <steve.lhomme@free.fr>
7935 * gst/elements/gstfilesrc.c:
7936 Binary files support under Windows now OK
7938 2004-07-13 Benjamin Otte <otte@gnome.org>
7940 compatibility fixes for Solaris 8/gcc 2.95
7942 include libintl libs in LDFLAGS
7943 * gstvalue.c (gst_value_deserialize_buffer):
7944 cast isxdigit stuff to int to silence compiler warning
7946 2004-07-12 Benjamin Otte <otte@gnome.org>
7949 get rid of GST_O_READONLY, GST_FILE_MODE_READ and
7950 GST_FILE_MODE_WRITE, I don't want them in the exported headers. It
7951 just causes support madness
7952 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
7953 make it work without this
7954 * gst/indexers/gstfileindex.c: (_file_index_id_save_entries),
7955 (gst_file_index_commit):
7956 glib IO channels don't want binary mode
7957 * testsuite/bytestream/filepadsink.c: (main):
7958 * testsuite/bytestream/test1.c: (read_param_file):
7959 use "rb" instead of GST_FILE_MODE_READ, it works on POSIX systems
7961 2004-07-12 Benjamin Otte <otte@gnome.org>
7963 * gst/gstelement.c: (gst_element_class_init),
7964 (gst_element_set_state), (gst_element_set_state_func):
7965 virutalize gst_element_set_state, use set_state member in class
7966 struct that was already added in 0.7 for this.
7967 * gst/gstbin.c: (gst_bin_foreach), (set_kid_state_func),
7968 (gst_bin_change_state):
7969 make gst_bin_foreach works similar to other foreach functions, plug
7970 memleaks in it. Make functions using it work with the new approach.
7971 Document gst_bin_foreach, so it can be exported if we want to
7972 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_state):
7973 use virtualized set_state to make set_state on bins set the state of
7976 2004-07-12 Benjamin Otte <otte@gnome.org>
7979 require valgrind >= 2.1 (fixes Gentoo bug 53967, see
7980 http://bugs.gentoo.org/show_bug.cgi?id=53967)
7981 * gst/gstpad.c: (gst_pad_alloc_buffer):
7982 allow buffer_alloc functions to return NULL and allocate a normal
7985 2004-07-12 Steve Lhomme <steve.lhomme@free.fr>
7986 * gst/elements/gstfilesink.c:
7987 * gst/elements/gstfilesrc.c:
7988 * gst/indexers/gstfileindex.c:
7990 * testsuite/bytestream/filepadsink.c:
7991 * testsuite/bytestream/test1.c:
7992 Handle binary files under Windows
7994 2004-07-12 Steve Lhomme <steve.lhomme@free.fr>
7995 * docs/manual/win32.xml:
7997 * win32/gst-register.vcproj:
7998 * win32/gstreamer.def:
7999 Update to another gettext public build
8001 2004-07-12 Steve Lhomme <steve.lhomme@free.fr>
8003 Fix an impossible C syntax
8005 Disable i18n under Windows for the moment
8006 * win32/gst-register.vcproj:
8007 Use this configuration
8009 2004-07-12 Jan Schmidt <thaytan@mad.scientis.com>
8010 * docs/manual/quotes.xml:
8011 Keep the quotes file alive
8012 * docs/random/ds/0.9-suggested-changes:
8013 Add the suggestion of including a 'rowstride' as part of video
8016 2004-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
8018 * gst/gstelement.c: (gst_element_set_state),
8019 (gst_element_change_state):
8020 d'oh. Set PENDING state correctly before forcing bin to change.
8021 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8022 (gst_structure_parse_fixed_list):
8023 * gst/schedulers/gstoptimalscheduler.c:
8024 (gst_opt_scheduler_state_transition):
8025 * testsuite/states/parent.c: (main):
8026 remove comment now that it's fixed.
8028 2004-07-11 Benjamin Otte <otte@gnome.org>
8031 GST_SECOND shouldn't cause a conversion to unsigned.
8032 * testsuite/clock/.cvsignore:
8033 * testsuite/clock/Makefile.am:
8034 * testsuite/clock/signedness.c: (main):
8035 make sure it never will again
8037 2004-07-11 Andy Wingo <wingo@pobox.com>
8039 * gst/gstbin.c (gst_bin_add_func): If we're adding an element
8040 whose state is higher than the bin state, raise the bin state to
8041 ensure that bin state := highest child state.
8043 2004-07-11 Andy Wingo <wingo@pobox.com>
8045 * gst/gstbin.c (gst_bin_foreach): New static function. Calls a
8046 procedure on the children of a bin. Assumes that the procedure can
8047 change the set of children.
8048 (set_kid_state_func): New static function.
8049 (gst_bin_change_state): Use gst_bin_foreach to call
8050 set_kid_state_func. Fixes a bug: if a child had a state-change
8051 handler that removes it from the bin, there would be a segfault.
8052 Hopefully it should also work in the case where the state-change
8053 handler on one child adds or removes other children. In any case,
8054 fixes should go to gst_bin_foreach.
8056 2004-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
8058 * gst/gstelement.c: (gst_element_set_state):
8059 compatibility fix for latest plugins release. Change loop back
8062 2004-07-09 Wim Taymans <wim@fluendo.com>
8064 * gst/gstbin.c: (gst_bin_remove), (gst_bin_dispose):
8065 * gst/gstthread.c: (gst_thread_dispose), (gst_thread_catch),
8066 (gst_thread_main_loop):
8067 Since remove is virtual in GstBin we must not assume the
8068 elements GList to have anothing useful.
8069 Add some more logging to GstThread and be a bit more paranoid
8070 when resetting the scheduler.
8071 Set the state of the bin to NULL before removing the children.
8073 2004-07-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8075 * testsuite/threads/Makefile.am:
8076 * testsuite/threads/threadg.c:
8077 added test to check if problem when removing all elements from a
8078 GstThread before setting GstThread state to NULL
8080 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8082 * docs/gst/tmpl/gstelement.sgml:
8083 * docs/gst/tmpl/gsttypes.sgml:
8084 * gst/gstbin.c: (gst_bin_change_state):
8085 * gst/gstelement.c: (gst_element_set_state),
8086 (gst_element_change_state):
8087 rework so that for bins we try to set the state on all children
8088 as well even if the bin is in the correct state already.
8089 change while to do so at least one iteration is done.
8090 For regular elements, we fall back to the previous behaviour for
8091 now since we first need a new plugins release.
8092 * testsuite/states/parent.c: (main):
8096 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8098 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_finalize),
8099 (gst_queue_chain), (gst_queue_get), (gst_queue_handle_src_event),
8100 (gst_queue_release_locks), (gst_queue_change_state),
8101 (gst_queue_set_property):
8102 add proper lock debugging. Change dispose to finalize, since
8103 we're freeing mutexes and other stuff which should happen only once.
8105 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8107 * docs/gst/tmpl/gstelement.sgml:
8108 * docs/gst/tmpl/gstplugin.sgml:
8109 * docs/gst/tmpl/gsttypes.sgml:
8110 * docs/pwg/building-state.xml:
8111 * gst/elements/gstfakesrc.c: (gst_fakesrc_change_state):
8112 * gst/gstelement.c: (gst_element_change_state):
8113 * gst/gstthread.c: (gst_thread_change_state):
8114 catch wrong state changes in element base class.
8116 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8119 clean up layout a little.
8121 2004-07-09 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8124 * testsuite/Makefile.am:
8125 * testsuite/states/Makefile.am:
8126 * testsuite/states/parent.c: (main):
8127 re-enable states testsuite dir. Add test for state changes and
8130 2004-07-09 Wim Taymans <wim@fluendo.com>
8132 * gst/schedulers/gstoptimalscheduler.c:
8133 (gst_opt_scheduler_pad_link), (group_elements_set_visited),
8134 (element_get_reachables_func), (element_get_reachables),
8135 (debug_element), (rechain_group), (group_migrate_connected),
8136 (gst_opt_scheduler_pad_unlink):
8137 Do not try to migrate decoupled elements to a new group since
8138 they are not added to groups.
8140 2004-07-08 Benjamin Otte <otte@gnome.org>
8142 * gst/gstelement.c: (gst_element_error_func):
8143 make reentrant (= allow removing elements in error handler)
8145 2004-07-08 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8147 * gst/gstpad.c: (gst_pad_event_default_dispatch),
8148 (gst_pad_send_event), (gst_pad_call_chain_function):
8149 events sent to elements below PAUSED cannot be handled, so
8152 2004-07-08 Wim Taymans <wim@fluendo.com>
8154 * gst/schedulers/gstoptimalscheduler.c:
8155 (chain_recursively_migrate_group), (create_group),
8156 (schedule_group), (gst_opt_scheduler_pad_link),
8157 (group_elements_set_visited), (element_get_reachables_func),
8158 (element_get_reachables), (group_can_reach_group), (debug_element),
8159 (rechain_group), (group_migrate_connected),
8160 (gst_opt_scheduler_pad_unlink):
8161 * testsuite/schedulers/Makefile.am:
8162 Implemented group splitting and rechaining.
8163 Fixes 143777 and 143777-2 in the testsuite.
8165 2004-07-08 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8167 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
8170 * gst/gstinfo.c: (gst_debug_log_default):
8171 print time nicely. add thread pointer until someone figures out
8172 a completely portable way of getting at thread id's.
8173 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_try),
8174 (_invent_event), (gst_pad_pull), (gst_pad_event_default_dispatch),
8175 (gst_pad_call_chain_function):
8177 * gst/schedulers/gstoptimalscheduler.c:
8178 (get_group_schedule_function), (loop_group_schedule_function),
8179 (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
8180 (pad_clear_queued), (gst_opt_scheduler_iterate):
8181 rename BUFPEN and friends to DATAPEN since that's what they are.
8183 2004-07-07 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8185 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_chain):
8188 cleanups and debugging
8190 2004-07-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
8193 * gst/gstvalue.c: (gst_value_compare_enum),
8194 (gst_value_serialize_enum), (gst_value_deserialize_enum),
8195 (gst_value_can_compare), (gst_value_compare):
8196 * testsuite/Makefile.am:
8197 * testsuite/enumcaps/Makefile.am:
8198 * testsuite/enumcaps/enumcaps.c:
8199 Fix enum serialization, deserialization, comparison in caps, add
8200 a test to ensure that this continues working in the future.
8202 2004-07-06 David Schleef <ds@schleef.org>
8204 * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
8207 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8209 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8211 * gst/registries/gstxmlregistry.c:
8212 (plugin_times_older_than_recurse), (plugin_times_older_than),
8213 (gst_xml_registry_parse_padtemplate):
8214 only rebuild registry when actual plugins have a newer time than
8215 the registry. Fixes #145520
8217 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8219 * docs/manual/manual.xml:
8220 * docs/manual/win32.xml:
8221 add chapter on win32 building. fixes #142422
8223 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8225 patch by: Sebastien Cote <sc5 at hermes.usherb.ca>
8227 * gst/autoplug/gstspider.c: (gst_spider_init),
8228 (gst_spider_dispose):
8229 fix spider memleaks. fixes #137863
8231 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8233 patch by: Joe Marcus Clarke <marcus at freebsd dot org>
8235 * gst/schedulers/gstoptimalscheduler.c:
8236 (gst_opt_scheduler_pad_unlink):
8237 fix SIGBUS error, fixes #145338
8239 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8241 * gst/gstobject.c: (gst_object_replace):
8242 * gst/gstscheduler.c: (gst_scheduler_get_clock):
8243 * gst/gstsystemclock.c: (gst_system_clock_obtain):
8244 clean up clock lifecycle. Fixes #109831
8246 2004-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
8250 added Czech translation (Miloslav Trmac)
8252 2004-07-04 David Schleef <ds@schleef.org>
8254 * tools/Makefile.am:
8255 * tools/gst-xmlinspect.1.in: Add man page. (bug #140219)
8257 2004-07-04 David Schleef <ds@schleef.org>
8259 * common/m4/gst-doc.m4: Check for docbook2html 0.6.10 (bug #139909)
8261 2004-07-04 Thomas Vander Stichele <thomas at apestaart dot org>
8263 * gst/gstbin.c: (gst_bin_restore_thyself):
8264 chain to parent restore so the bins get restored correctly
8267 2004-07-03 David Schleef <ds@schleef.org>
8269 * gst/gstcaps.c: (gst_caps_save_thyself), (gst_caps_load_thyself):
8270 Actually do something in these functions, like before the big
8271 caps change. (bug #145137)
8273 2004-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8275 * gst/gstelement.c: (gst_element_get_compatible_pad_template),
8276 (gst_element_get_compatible_pad_filtered):
8277 * gst/gstthread.c: (gst_thread_main_loop):
8280 2004-07-02 David Schleef <ds@schleef.org>
8282 * gst/gstinfo.h: wrap #pragmas in #ifdefs for the correct compiler
8288 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8290 * gst/gstpad.c: (gst_pad_check_schedulers),
8291 (gst_pad_can_link_filtered), (gst_pad_link_filtered),
8292 (gst_pad_link_prepare):
8293 revert until testsuite is fixed
8295 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8297 * testsuite/Makefile.am:
8298 * testsuite/caps/filtercaps.c: (main):
8299 * testsuite/clock/clock1.c: (main):
8300 * testsuite/dynparams/dparamstest.c: (gst_dptest_chain), (main):
8303 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8305 * testsuite/cleanup/cleanup1.c: (create_pipeline):
8306 * testsuite/cleanup/cleanup2.c: (create_pipeline):
8307 * testsuite/cleanup/cleanup4.c: (main):
8310 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8312 * libs/gst/control/control.c:
8313 * libs/gst/control/dparam.c:
8314 * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_get_type):
8315 * libs/gst/control/dparammanager.c:
8316 * libs/gst/control/dparammanager.h:
8317 * testsuite/dynparams/Makefile.am:
8318 * testsuite/dynparams/dparamstest.c: (gst_dptest_base_init),
8319 (gst_dptest_change_state), (gst_dptest_chain), (main):
8320 fix testcase for dparams
8321 add debugging category
8323 2004-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8328 2004-07-02 Benjamin Otte <otte@gnome.org>
8331 * tests/Makefile.am:
8332 * tests/mass_elements.c: (gst_get_current_time), (main):
8333 add simple benchmark to test various speeds of fakesrc ! identity !
8334 identity ! ... ! fakesink.
8335 Usage: mass_elements [num_identities] [num_buffers]
8336 If not specified they default to 1000.
8338 2004-07-02 Benjamin Otte <otte@gnome.org>
8340 * gst/gstpad.c: (gst_pad_check_schedulers),
8341 (gst_pad_can_link_filtered), (gst_pad_link_filtered),
8342 (gst_pad_link_prepare):
8343 check that pads that get linked belong to the same manager. The old
8344 code allowed linking elements before putting them into bins, so it
8345 worked to link them and then put them in different threads, which
8346 lead to weird behaviour.
8347 Since this effectively disallows linking elements before putting
8348 them in a bin, some applications might not work after this and error
8349 out. If these applications are too critical, we might need to revert
8350 that patch. Please test this before the next release...
8352 2004-06-28 Benjamin Otte <in7y118@public.uni-hamburg.de>
8354 * gst/gstpad.c: (gst_pad_get_caps):
8355 throw an error if the getcaps function does not return a subset of
8357 * libs/gst/bytestream/filepad.c: (gst_file_pad_chain):
8358 make disconts without position info an error in debugging
8359 * tests/spidey_bench.c: (handoff), (main):
8360 don't count first try when averaging
8362 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
8364 * gst/gstplugin.c: (gst_plugin_load_file):
8365 figure out problem with dynamic test
8367 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
8369 * docs/gst/Makefile.am:
8372 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
8384 * tools/gst-register.c: (plugin_added_func), (main):
8385 i18n-ize -register, fix plural
8387 2004-06-26 Thomas Vander Stichele <thomas at apestaart dot org>
8389 * gst/elements/gstidentity.c: (gst_identity_class_init),
8390 (gst_identity_init), (gst_identity_chain),
8391 (gst_identity_set_property), (gst_identity_get_property):
8392 * gst/elements/gstidentity.h:
8393 check for perfect stream
8395 2004-06-25 Thomas Vander Stichele <thomas at apestaart dot org>
8397 * gst/elements/gstidentity.c: (gst_identity_chain):
8400 2004-06-25 Thomas Vander Stichele <thomas at apestaart dot org>
8402 * docs/gst/Makefile.am:
8403 * docs/gst/gstreamer-docs.sgml:
8406 2004-06-24 David Schleef <ds@schleef.org>
8408 * autogen.sh: Remove call to env, since the buildbot isn't
8411 2004-06-24 Wim Taymans <wim@fluendo.com>
8413 * gst/elements/Makefile.am:
8414 * gst/elements/gstelements.c:
8415 * gst/elements/gstmultifdsink.c: (gst_multifdsink_base_init),
8416 (gst_multifdsink_class_init), (gst_multifdsink_init),
8417 (gst_multifdsink_add), (gst_multifdsink_remove),
8418 (gst_multifdsink_clear), (gst_multifdsink_chain),
8419 (gst_multifdsink_set_property), (gst_multifdsink_get_property):
8420 * gst/elements/gstmultifdsink.h:
8421 Added an element that writes to multiple filedescriptors at once.
8423 2004-06-24 Benjamin Otte <otte@gnome.org>
8425 * gst/parse/grammar.y:
8426 don't try to link elements before they have been added to bins
8428 2004-06-24 Benjamin Otte <in7y118@public.uni-hamburg.de>
8430 * libs/gst/bytestream/filepad.c: (gst_file_pad_available),
8431 (gst_file_pad_get_length):
8432 * libs/gst/bytestream/filepad.h:
8435 2004-06-22 Zaheer Abbas Merali <zaheerabbas at merali dot org>
8437 * docs/gst/gstreamer-sections.txt:
8438 remove from docs, the define that Benjamin removed from gstelement.h
8440 2004-06-22 Benjamin Otte <otte@gnome.org>
8443 remove define that referenced a nonexisting GstElement struct member
8445 2004-06-20 Benjamin Otte <otte@gnome.org>
8447 * gst/gstdata.c: (gst_data_is_writable):
8448 whoops, return values were wrong, so writable data was marked as
8449 non-writable and vice versa. (fixes #143953, spotted by Francis
8451 Shows how rarely we need to copy data ;)
8453 2004-06-20 Benjamin Otte <otte@gnome.org>
8455 * testsuite/schedulers/.cvsignore:
8456 * testsuite/schedulers/Makefile.am:
8457 * testsuite/schedulers/143777-2.c: (main):
8458 add test for opt breakage in bug #143777
8460 2004-06-20 Benjamin Otte <otte@gnome.org>
8462 * gst/gstpad.c: (gst_pad_call_chain_function):
8463 check for if we were unlinked while inside the chainfunction (fixes
8464 entrygthread having issues with #143777)
8465 * testsuite/schedulers/143777.c: (main):
8466 * testsuite/schedulers/Makefile.am:
8467 add a test for that fix
8469 2004-06-20 Benjamin Otte <otte@gnome.org>
8471 * gst/gstvalue.c: (gst_value_set_int_range):
8472 test that start is smaller then end
8473 * libs/gst/bytestream/Makefile.am:
8474 * libs/gst/bytestream/filepad.c:
8475 * libs/gst/bytestream/filepad.h:
8476 add GstFilePad - a pad that behaves like a FILE*
8477 * testsuite/bytestream/.cvsignore:
8478 * testsuite/bytestream/Makefile.am:
8479 * testsuite/bytestream/filepadsink.c:
8480 test for the GstFilePad
8482 2004-06-18 Thomas Vander Stichele <thomas at apestaart dot org>
8484 * gst/elements/gstidentity.c: (gst_identity_class_init),
8485 (gst_identity_init), (gst_identity_set_clock),
8486 (gst_identity_chain), (gst_identity_set_property),
8487 (gst_identity_get_property):
8488 * gst/elements/gstidentity.h:
8489 * gst/gstclock.c: (gst_clock_id_wait):
8490 add a "sync" property to sync to the clock
8492 2004-06-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
8494 * gst/gstelementfactory.c: (gst_element_factory_create):
8495 make the freakin "elementfactory bla has no type" message more
8496 useful. So we actually can do something when someone shows up
8497 complaining about it.
8499 2004-06-15 Johan Dahlin <johan@gnome.org>
8501 * tools/gst-inspect.c (main): Fallback to plugin if no element is
8502 found. This matches the old behavior better. Thanks to Thomas for
8505 2004-06-14 David Schleef <ds@schleef.org>
8507 * gst/gstcpu.c: (gst_cpuid_i386): Fix problem when using
8508 -fomit-frame-pointer. Appears to generate correct code in
8509 other cases as well.
8511 2004-06-14 Johan Dahlin <johan@gnome.org>
8513 * tools/gst-inspect.c (main): Add two new command line options: -a
8514 to print all elements and -n to print the name on each line. Also
8515 fix some error reporting.
8516 (main): Simplify, remove -n and always print names if -a is specified
8518 2004-06-13 Steve Lhomme <steve.lhomme@free.fr>
8520 * win32/gstconfig.h:
8521 * win32/GSTreamer.vcproj:
8523 * gst/gstconfig.h.in:
8530 * docs/gst/gstreamer-sections.txt:
8531 * docs/gst/tmpl/gstconfig.sgml:
8532 rename GSTREAMER_EXPORT(S) to GST_EXPORT(S)
8534 2004-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8535 * docs/gst/gstreamer-sections.txt:
8536 * docs/gst/tmpl/gstconfig.sgml:
8537 Add the GSTREAMER_EXPORT macro to the docs
8539 2004-06-13 Jan Schmidt <thaytan@mad.scientist.com>
8541 * tools/gst-compprep.c: (handle_xmlerror), (main):
8542 Add a check for the version that introduced SetStructuredError to fix
8545 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8549 prepare to compile the testsuite with MSVC
8551 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8553 * docs/manual/win32.xml:
8554 attempt to transform the Win32 README into an XML doc
8556 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8565 * tools/gst-register.c:
8566 * win32/gstreamer.def:
8567 extern symbols are now exported for the Windows DLL
8569 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8572 fix a problem to enable/disable DEBUG under MSVC
8574 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8577 enable more debug code in DEBUG build
8579 2004-06-12 Steve Lhomme <steve.lhomme@free.fr>
8582 * gst/gst-i18n-app.h:
8583 enable NLS under Windows
8585 2004-06-12 Jan Schmidt <thaytan@mad.scientist.com>
8586 * tools/gst-compprep.c: (handle_xmlerror), (main):
8587 Make an error that baffled me a bit clearer
8589 2004-06-12 Thomas Vander Stichele <thomas at apestaart dot org>
8592 don't use g_queue_get_length () because it's 2.4, use ->length
8594 2004-06-11 Steve Lhomme <steve.lhomme@free.fr>
8596 reviewed by Benjamin Otte <in7y118@public.uni-hamburg.de>
8598 * tools/gst-inspect.c: (print_signal_info):
8599 don't free random data twice. (fixes #144185)
8601 2004-06-11 Thomas Vander Stichele <thomas at apestaart dot org>
8605 fix removing from the wrong queue on event timeout
8606 fix disposing of the event queue by casting correctly
8607 add mutexes for handling the event queue
8608 someone was sleeping when fixing queue last time around :)
8610 2004-06-10 Johan Dahlin <johan@gnome.org>
8612 * gst/gst.c (gst_init_check_with_popt_table): Do not fail on
8613 errors, like gtk. It makes it more useful in bindings. Fixes #141692.
8615 2004-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8618 * libs/gst/dataprotocol/dataprotocol-test.c: (buffer_test):
8619 * libs/gst/dataprotocol/dataprotocol.c:
8620 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8621 (gst_dp_buffer_from_header):
8622 * libs/gst/dataprotocol/dataprotocol.h:
8623 * libs/gst/dataprotocol/dp-private.h:
8624 rev version to 0.1, add buffer flags and copy them
8626 2004-06-09 Johan Dahlin <johan@gnome.org>
8628 * gst/gstbuffer.c (gst_buffer_default_copy): Don't forget to merge
8629 the flags from the buffer we're copying.
8631 2004-06-09 Wim Taymans <wim@fluendo.com>
8633 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
8634 * gst/elements/gstidentity.c: (gst_identity_init),
8635 (gst_identity_chain):
8636 Print more buffer info in fakesink.
8637 Make identity output similar to fakesink.
8639 2004-06-07 Daniel Gazard <dany42@free.fr>
8641 reviewed by Benjamin Otte <otte@gnome.org>
8644 fix cross compiling not working. (fixes #143741)
8646 2004-06-07 Benjamin Otte <otte@gnome.org>
8648 * gst/gstelement.c: (gst_element_set_time_delay):
8651 put brackets around macro arguments of GST_TIME_ARGS, add note to
8652 move it to correct header in 0.9
8654 2004-06-07 Benjamin Otte <otte@gnome.org>
8656 * gst/indexers/gstfileindex.c: (gst_file_index_get_writer_id),
8657 (gst_file_index_load), (_file_index_id_save_entries),
8658 (gst_file_index_commit), (gst_file_index_add_association),
8659 (gst_file_index_add_entry), (gst_file_index_get_assoc_entry),
8660 (gst_file_index_plugin_init):
8661 make debugging use a default category
8663 2004-06-06 David Moore <dcm@acm.org>
8665 reviewed by Benjamin Otte <otte@gnome.org>
8667 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8668 (gst_fdsrc_change_state):
8669 reset offset counter when going READY => PAUSED. (fixes #142903)
8671 2004-06-06 ed@catmur.co.uk
8673 reviewed by Benjamin Otte <otte@gnome.org>
8675 * gst/registries/gstxmlregistry.c:
8676 (gst_xml_registry_rebuild_recurse):
8677 don't rely on g_dir_open to figure out if a file is a directory, use
8678 explicit G_TEST_IS_DIR. Reiserfs4 allows opening files as
8679 directories. (fixes #142850)
8681 2004-06-06 Benjamin Otte <otte@gnome.org>
8683 * gst/gstqueue.c: (gst_queue_dispose), (gst_queue_change_state):
8684 fix memory leaks (fixes #142795). Initial patch by Sebastien Cote
8685 * libs/gst/bytestream/adapter.c:
8686 * libs/gst/bytestream/adapter.h:
8687 fix copyright in header and typo in debugging category name
8689 2004-06-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8694 === release 0.8.3 ===
8696 2004-06-05 Thomas Vander Stichele <thomas at apestaart dot org>
8699 update libtool versioning
8701 * docs/gst/tmpl/gstelement.sgml:
8702 * docs/gst/tmpl/gsttypes.sgml:
8703 * gst/gstinfo.c: (_gst_debug_init):
8704 put back GST_CAT_DATAFLOW to fix API breakage
8706 2004-06-04 David Schleef <ds@schleef.org>
8708 * autogen.sh: Add a temporary 'env' to test buildbot problems.
8710 2004-06-04 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8715 === release 0.8.2 ===
8717 2004-06-03 Thomas Vander Stichele <thomas at apestaart dot org>
8719 * gst/gst.c: (parse_debug_list), (gst_init_check_with_popt_table):
8720 check GST_DEBUG environment variable which is parsed the same way
8723 2004-05-28 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
8725 * gst/elements : gstaggregator.c gstfakesink.c gstfakesrc.c
8726 gstmd5sink.c gstshaper.c gsttee.c
8727 gsttypefindelement.c
8728 * gst/schedulers : gstbasicscheduler.c gstoptimalscheduler.c
8730 - removing trailing commas at end of enums
8731 it is correct C99 code but C90 compilers would complain
8733 ('should' fix #143290, at least partially)
8735 2004-05-27 Wim Taymans <wim@fluendo.com>
8737 * gst/schedulers/gstoptimalscheduler.c: (remove_from_chain),
8738 (chain_group_set_enabled), (create_group), (add_to_group),
8739 (merge_groups), (setup_group_scheduler), (group_elements),
8740 (gst_opt_scheduler_iterate), (gst_opt_scheduler_show):
8741 Don't try to follow the pad connections with other groups
8742 when a loop based element is added to the scheduler because
8743 the bin will inform the scheduler about the pad links a little
8746 2004-05-27 Wim Taymans <wim@fluendo.com>
8748 * gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
8749 (remove_from_chain), (chain_group_set_enabled),
8750 (setup_group_scheduler), (group_element_set_enabled),
8751 (gst_opt_scheduler_state_transition), (gst_opt_scheduler_iterate),
8752 (gst_opt_scheduler_show):
8753 Elements without a group can do a state change as well, just wait
8754 with the setup of the scheduling function when it is added to a
8757 2004-05-27 Wim Taymans <wim@fluendo.com>
8759 * gst/schedulers/gstoptimalscheduler.c: (add_to_chain),
8760 (remove_from_chain), (chain_group_set_enabled), (add_to_group),
8761 (merge_groups), (setup_group_scheduler),
8762 (group_inc_links_for_element), (gst_opt_scheduler_iterate),
8763 (gst_opt_scheduler_show):
8764 Fixes to maintain internal consistency of the scheduler data
8766 - adding an enabled group to a chain should increment the
8767 number of enabled elements in that chain.
8768 - removing an enabled group from a chain could disable the
8770 - removing a disabled group from a chain could enable the
8772 - add g_assert when internal inconsistency is detected.
8773 - adding an element to a group could increase the number of
8774 links this group has with other groups.
8775 - merging two groups also merges the chains.
8776 - also show group links in the _show method.
8779 2004-05-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
8781 * gst/gstcaps.c: (gst_caps_structure_simplify):
8782 don't print error messages when there is no error
8783 * gst/gstvalue.c: (gst_value_compare_int_range):
8784 compare the second value, too
8785 * testsuite/caps/Makefile.am:
8786 * testsuite/caps/random.c: (assert_on_error), (main):
8787 add tests to make sure the two things above are checked for
8789 2004-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
8792 * libs/gst/dataprotocol/Makefile.am:
8793 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps):
8794 * libs/gst/dataprotocol/dataprotocol.h:
8795 wrap header in GST_ENABLE_NEW. make code use it
8797 2004-05-23 Johan Dahlin <johan@gnome.org>
8799 * tools/gst-inspect.c (main): Cleanup most parts of it, don't be
8800 so verbose and print GstElement signal names all the time.
8802 2004-05-22 David Schleef <ds@schleef.org>
8804 * gst/registries/gstxmlregistry.c:
8805 (gst_xml_registry_parse_padtemplate): Fix warning on OS X.
8808 2004-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
8811 scrub cflags for glib2 so gcc doesn't complain when glib is in
8814 2004-05-21 Johan Dahlin <johan@gnome.org>
8816 * gst/gstcpu.c (gst_cpuid_i386): Protect some gcc asm stuff with
8817 __GNUC__, patch from Brian Cameron, fixes bug #142804
8819 2004-05-20 David Schleef <ds@schleef.org>
8821 * gst/gstindex.c: (gst_index_compare_func): Fix overflows in
8822 comparison code. (bug #142819)
8824 2004-05-20 Wim Taymans <wim@fluendo.com>
8826 * gst/gstbuffer.c: (gst_buffer_default_copy):
8828 Added Comment to a flag.
8829 copy relevant flags in _buffer_copy.
8831 2004-05-20 Thomas Vander Stichele <thomas at apestaart dot org>
8833 reviewed by: Wim Taymans <wim at fluendo dot com>
8836 add GST_BUFFER_IN_CAPS buffer flag
8837 * gst/gststructure.c: (gst_structure_value_get_generic_type),
8838 (gst_structure_parse_any_list), (gst_structure_parse_list),
8839 (gst_structure_parse_fixed_list), (gst_structure_parse_value):
8840 * gst/gstvalue.c: (gst_value_serialize_any_list),
8841 (gst_value_transform_any_list_string),
8842 (gst_value_list_prepend_value), (gst_value_list_append_value),
8843 (gst_value_list_get_size), (gst_value_list_get_value),
8844 (gst_value_transform_list_string),
8845 (gst_value_transform_fixed_list_string),
8846 (gst_value_serialize_list), (gst_value_serialize_fixed_list),
8847 (gst_value_deserialize_fixed_list), (gst_type_is_fixed),
8848 (_gst_value_initialize):
8850 add a GST_TYPE_FIXED_LIST which is fixed by definition and uses
8852 * testsuite/caps/string-conversions.c: (main):
8853 add regression tests for < >
8855 2004-05-20 Johan Dahlin <johan@gnome.org>
8857 * docs/gst/Makefile.am (all-local): Re-add
8859 2004-05-20 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8861 * docs/gst/Makefile.am:
8862 * docs/gst/gstreamer-docs.sgml:
8863 * docs/libs/Makefile.am:
8864 * docs/libs/gstreamer-libs-docs.sgml:
8865 fix distcheck issues
8867 2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
8869 * libs/gst/dataprotocol/Makefile.am:
8872 2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
8874 * libs/gst/dataprotocol/Makefile.am:
8875 * libs/gst/dataprotocol/dataprotocol.c:
8876 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8877 (gst_dp_packet_from_event), (gst_dp_event_from_packet):
8878 * libs/gst/dataprotocol/dp-private.h:
8879 use GST macros to read/write fixed length ints
8880 add some more asserts
8882 2004-05-19 Thomas Vander Stichele <thomas at apestaart dot org>
8884 * docs/libs/gstreamer-libs-docs.sgml:
8885 * docs/libs/gstreamer-libs-sections.txt:
8886 remove idct and putbits
8888 * docs/libs/tmpl/gstdataprotocol.sgml:
8889 * libs/gst/Makefile.am:
8890 * libs/gst/dataprotocol/Makefile.am:
8891 * libs/gst/dataprotocol/dataprotocol-test.c: (conversion_test),
8892 (buffer_test), (caps_test), (event_test), (main):
8893 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
8894 (gst_dp_dump_byte_array), (gst_dp_init),
8895 (gst_dp_header_payload_length), (gst_dp_header_payload_type),
8896 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
8897 (gst_dp_packet_from_event), (gst_dp_buffer_from_header),
8898 (gst_dp_caps_from_packet), (gst_dp_event_from_packet),
8899 (gst_dp_validate_header), (gst_dp_validate_payload),
8900 (gst_dp_validate_packet), (plugin_init):
8901 * libs/gst/dataprotocol/dataprotocol.h:
8902 * libs/gst/dataprotocol/dp-private.h:
8905 2004-05-19 Benjamin Otte <in7y118@public.uni-hamburg.de>
8907 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8908 fix int variable deserialization and add a helper so we can actually
8911 2004-05-18 David Schleef <ds@schleef.org>
8913 * testsuite/debug/commandline.c: (main): Call ./commandline, not
8914 argv[0]. Calling yourself is probably not the best way to
8915 construct a test like this, btw.
8917 2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
8919 * gst/gstbin.c: (gst_bin_iterate_func), (gst_bin_iterate):
8920 don't claim to be more intelligent than a scheduler when the
8921 scheduler claims the pipeline is stopped
8922 * gst/schedulers/entryscheduler.c: (safe_cothread_switch),
8923 (safe_cothread_destroy),
8924 (gst_entry_scheduler_remove_all_cothreads),
8925 (gst_entry_scheduler_reset), (_remove_cothread),
8926 (gst_entry_scheduler_state_transition):
8927 hold off cothread destruction if we're not in main cothread
8929 * testsuite/Makefile.am:
8931 * testsuite/schedulers/.cvsignore:
8932 * testsuite/schedulers/Makefile.am:
8934 * testsuite/schedulers/relink.c: (cb_handoff), (main):
8935 check relinking and adding/removing elements from a running pipeline
8936 * testsuite/schedulers/unlink.c: (cb_handoff), (main):
8937 check unlinking in a running pipeline
8938 * testsuite/schedulers/unref.c: (cb_handoff), (main):
8939 check unreffing a running pipeline
8940 * testsuite/schedulers/useless_iteration.c: (main):
8941 check iterating a pipeline that contains running threads works
8943 2004-05-18 David Schleef <ds@schleef.org>
8945 * docs/gst/Makefile.am: Add all-local target for when HAVE_GTK_DOC
8948 2004-05-18 Wim Taymans <wim@fluendo.com>
8950 * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
8951 (setup_group_scheduler), (gst_opt_scheduler_pad_link):
8952 Fixed an error introduced with patch for 1.63. When setting
8953 a get based element as the entry point in a group, make sure
8954 to mark the group as GET based.
8956 2004-05-18 Wim Taymans <wim@fluendo.com>
8958 * gst/schedulers/gstoptimalscheduler.c: (create_group),
8959 (setup_group_scheduler), (loop_group_schedule_function),
8960 (gst_opt_scheduler_pad_link):
8961 Added some more debug info and fixed a bug where the group
8962 type was set to LOOP but it was in fact unknown.
8964 2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
8966 * gst/schedulers/entryscheduler.c: (gst_entry_scheduler_reset):
8967 make resetting scheduler work twice in a row
8969 2004-05-18 Benjamin Otte <in7y118@public.uni-hamburg.de>
8971 * gst/gstvalue.c: (gst_strtoll), (CREATE_SERIALIZATION),
8972 (CREATE_USERIALIZATION), (_gst_value_initialize),
8973 (gst_value_compare_float), (gst_value_serialize_float),
8974 (gst_value_deserialize_float), (gst_value_compare_enum),
8975 (gst_value_serialize_enum), (gst_value_deserialize_enum):
8976 add serialization and comparison functions for long, int64, enum and
8978 * gst/gstvalue.c: (gst_value_serialize), (gst_value_deserialize):
8979 use best serialization function in type hierarchy instead of only a
8980 matching one. This is required for enums to work.
8981 * gst/parse/grammar.y:
8982 use gst_caps_deserialize
8983 * testsuite/parse/Makefile.am:
8985 * testsuite/parse/parse1.c: (main):
8986 remove aggregator check, aggregator is broken, this test works now
8987 but fails because of bug #138012
8988 * testsuite/parse/parse2.c: (main):
8989 s/xvideosink/xvimagesink - this test looks a lot like we should
8992 2004-05-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
8994 * gst/gstelement.c: (gst_element_class_init):
8995 whoops, store the signal id correctly
8996 * gst/schedulers/gstbasicscheduler.c:
8997 (gst_basic_scheduler_chain_wrapper):
8998 detect infinfinfinfinfinf^Cinite loops in chain wrapper when the
8999 chain function isn't linked
9001 2004-05-13 Jan Schmidt <thaytan@mad.scientist.com>
9003 Add $GST_PKG_CFLAGS back into GST_INT_CFLAGS so I have large file
9004 support until we decide where the flags should be used
9005 * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_query):
9006 Use GST_FORMAT_BYTES when GST_FORMAT_DEFAULT is passed
9007 * gst/gstpad.c: (gst_pad_link_call_link_functions):
9008 Output refused caps in the debug info
9010 2004-05-13 Thomas Vander Stichele <thomas at apestaart dot org>
9012 * gst/elements/gstidentity.c: (gst_identity_chain):
9014 * gst/gstinfo.c: (gst_debug_log_default):
9017 2004-05-13 Benjamin Otte <otte@gnome.org>
9019 * gst/gstpipeline.c: (gst_pipeline_dispose),
9020 (gst_pipeline_change_state):
9021 call gst_scheduler_reset on dispose (fixes #141416)
9023 2004-05-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
9025 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
9026 compute mapsize correctly
9027 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
9028 use correct datatypes when calling a varargs function
9029 * gst/elements/gsttypefindelement.c: (stop_typefinding):
9030 push a DISCONT event as first thing
9031 * gst/gst_private.h:
9032 * gst/gstinfo.c: (_gst_debug_init):
9033 remove GST_DATAFLOW debugging category
9034 * gst/gstbin.c: (gst_bin_iterate):
9035 use GST_SCHEDULING category
9036 * gst/gstpad.c: (gst_pad_get_type), (_invent_event),
9037 (gst_pad_push), (gst_pad_pull), (gst_pad_call_chain_function),
9038 (gst_pad_call_get_function):
9039 add GST_DATAFLOW to easily track flow of buffers or events.
9040 * gst/gstqueue.c: (gst_queue_get_type),
9041 (gst_queue_handle_pending_events), (gst_queue_chain),
9042 (gst_queue_get), (gst_queue_handle_src_event):
9043 use own static debugging category GST_DATAFLOW for dataflow,
9044 use DEBUG category for showing which path events go, use LOG
9045 category for buffers.
9047 2004-05-10 David Schleef <ds@schleef.org>
9049 * docs/gst/gstreamer-sections.txt: Add gst_element_no_more_pads.
9051 2004-05-10 David Schleef <ds@schleef.org>
9053 * docs/gst/Makefile.am: Dear gtk-doc, please print out the unused
9054 symbols, because otherwise we don't know what they are. Thanks,
9056 * gst/registries/gstxmlregistry.c: (make_dir): Remove a spurious ;
9058 2004-05-10 David Schleef <ds@schleef.org>
9061 * win32/Makefile: When using make clean the MS Visual Studio makefiles
9063 * win32/Makefile.inspect:
9064 * win32/Makefile.launch:
9065 * win32/Makefile.register:
9067 2004-05-10 David Schleef <ds@schleef.org>
9069 * gst/gstinfo.h: Add missing inline function.
9070 * gst/gsttrace.c: add include
9071 * gst/parse/grammar.y: remove unused code
9072 * gst/registries/gstxmlregistry.c: (make_dir): make mkdir call
9074 * tools/gst-register.c: wrap unistd.h
9076 More additions/fixes from Steve for the MSVC build.
9077 * win32/GStreamer.vcproj:
9079 * win32/Makefile.inspect:
9080 * win32/Makefile.launch:
9081 * win32/Makefile.register:
9083 * win32/gst-inspect.vcproj:
9084 * win32/gst-launch.vcproj:
9085 * win32/gst-register.vcproj:
9086 * win32/gstbytestream.def:
9087 * win32/gstbytestream.vcproj:
9088 * win32/gstconfig.h:
9089 * win32/gstelements.def:
9090 * win32/gstelements.vcproj:
9091 * win32/gstenumtypes.c:
9092 * win32/gstenumtypes.h:
9093 * win32/gstoptimalscheduler.def:
9094 * win32/gstoptimalscheduler.vcproj:
9095 * win32/gstreamer.def:
9096 * win32/gstspider.def:
9097 * win32/gstspider.vcproj:
9098 * win32/gstversion.h:
9101 2004-05-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
9103 * gst/gstelement.c: (gst_element_class_init),
9104 (gst_element_no_more_pads):
9106 add gst_element_no_more_pads and the "no-more-pads" signal
9108 2004-05-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
9110 * gst/gstregistry.c: (gst_registry_add_plugin):
9111 refuse to add plugins when a plugin with same name is already
9112 registered. Fixes a bunch of "How to remove plugins?" issues.
9113 May lead to other problems though, let's test
9115 2004-05-10 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
9117 * testsuite/caps/caps_strings : audio/ac3 => audio/x-ac3
9118 * docs/manual/pads-api.xml : audio/wav => audio/x-wav
9119 * docs/random/uraeus/gstreamer_and_midi.txt : audio/wav => audio/x-wav
9121 2004-05-09 Thomas Vander Stichele <thomas at apestaart dot org>
9123 * tests/Makefile.am: fix am16 issue
9125 2004-05-09 Benjamin Otte <otte@gnome.org>
9127 * libs/gst/bytestream/Makefile.am:
9128 we should indeed add .c files to makefiles or they won't be built
9131 2004-05-08 Benjamin Otte <otte@gnome.org>
9133 * gst/gstpad.c: (gst_pad_proxy_fixate):
9134 really reduce the set of caps
9136 2004-05-08 Benjamin Otte <otte@gnome.org>
9138 * tests/Makefile.am:
9139 * tests/spidey_bench.c: (handoff), (main):
9140 add benchmark to test how long spider needs to create a pipeline
9142 2004-05-08 Benjamin Otte <otte@gnome.org>
9144 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_unnegotiate):
9145 mark links as unengaged when unnegotiating instead of deactivating.
9146 This way pads aren't marked as unengaged when going PLAYING=>PAUSED
9148 2004-05-08 Benjamin Otte <otte@gnome.org>
9150 * docs/manual/helloworld.xml:
9151 s/audiosink/osssink (patch by Patrick Guimond)
9153 2004-05-07 David Schleef <ds@schleef.org>
9155 * configure.ac: Make sure GST_INT_CFLAGS is not clobbered,
9156 since it contains important stuff.
9158 2004-05-07 David Schleef <ds@schleef.org>
9160 * testsuite/caps/caps.c: (test3), (main): A check for appending
9163 2004-05-07 David Schleef <ds@schleef.org>
9165 * common/m4/as-compiler-flag.m4: Properly quote arguments,
9166 which may contain commas. Fixes detection of -Wa,-mregnames
9168 2004-05-06 David Schleef <ds@schleef.org>
9170 Changes to handle compilers that don't have variadic macro
9171 support. In particular, glib headers define some inlines
9172 that need G_LOG_DOMAIN defined. Additional fixes for MSVC
9176 * gst/elements/gstfdsink.c:
9177 * gst/elements/gstfdsrc.c:
9178 * gst/elements/gstfilesink.c:
9179 * gst/elements/gstfilesrc.c:
9180 * gst/gst_private.h:
9182 * gst/gstcaps.c: (gst_caps_append):
9183 * gst/gstcpu.c: (gst_cpuid_i386):
9190 * gst/gstregistry.c:
9191 * gst/gststructure.c:
9192 * gst/gsttaginterface.c:
9193 * gst/gsttrace.c: (gst_trace_new):
9194 * gst/gsttrashstack.c:
9197 * gst/parse/grammar.y:
9198 * gst/parse/parse.l:
9199 * tools/gst-inspect.c: (main):
9200 * tools/gst-launch.c: (main):
9201 * tools/gst-xmlinspect.c: (PUT_STRING):
9203 2004-05-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
9205 * gst/elements/gstfilesrc.c: (gst_filesrc_get),
9206 (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
9207 * gst/elements/gstfilesrc.h:
9208 send NEW_MEDIA events correctly
9209 * gst/elements/gsttypefindelement.c: (start_typefinding),
9210 (gst_type_find_element_handle_event):
9211 restart typefinding when we get a NEW_MEDIA event
9212 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_change_state),
9214 don't die when someone removes elements in callbacks
9215 * gst/gstelement.c: (gst_element_change_state):
9217 * gst/gstpad.c: (gst_pad_pull), (gst_pad_call_chain_function):
9218 we need a NEW_MEDIA event to engage a link
9219 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
9220 don't g_print debugging stuff
9221 * testsuite/caps/simplify.c: (check_caps):
9223 2004-05-04 Benjamin Otte <otte@gnome.org>
9225 * gst/parse/grammar.y:
9226 use GST_ERROR instead of g_warning, and always throw a GST_ERROR
9228 2004-05-04 Benjamin Otte <otte@gnome.org>
9230 * testsuite/caps/renegotiate.c: (main):
9231 improve output in error case
9233 2004-05-04 Benjamin Otte <otte@gnome.org>
9235 * gst/parse/grammar.y:
9236 fix assert to not trigger when there's no error argument
9237 * gst/parse/parse.l:
9238 fix definition of caps to allow more than two structures
9239 * testsuite/caps/Makefile.am:
9240 * testsuite/caps/renegotiate.c: (main):
9241 it's sinesrc and works in that case
9243 2004-05-04 Wim Taymans <wim@fluendo.com>
9245 * gst/schedulers/gstoptimalscheduler.c: (remove_from_group),
9246 (group_dec_link), (gst_opt_scheduler_pad_unlink):
9247 when removing an element from a group, we always need to
9248 decrement the link count that this group had with other
9249 groups through the element.
9250 added an extra assert to catch inconsistencies when decrementing
9253 2004-05-04 Thomas Vander Stichele <thomas at apestaart dot org>
9256 * docs/gst/Makefile.am:
9257 * docs/gst/gstreamer-sections.txt:
9258 * docs/gst/tmpl/gstcompat.sgml:
9259 * examples/appreader/Makefile.am:
9260 * examples/cutter/Makefile.am:
9261 * examples/events/Makefile.am:
9262 * examples/helloworld/Makefile.am:
9263 * examples/helloworld2/Makefile.am:
9264 * examples/launch/Makefile.am:
9265 * examples/manual/Makefile.am:
9266 * examples/mixer/Makefile.am:
9267 * examples/pingpong/Makefile.am:
9268 * examples/plugins/Makefile.am:
9269 * examples/queue/Makefile.am:
9270 * examples/queue2/Makefile.am:
9271 * examples/queue3/Makefile.am:
9272 * examples/queue4/Makefile.am:
9273 * examples/retag/Makefile.am:
9274 * examples/thread/Makefile.am:
9275 * examples/typefind/Makefile.am:
9276 * examples/xml/Makefile.am:
9278 * gst/autoplug/Makefile.am:
9279 * gst/elements/Makefile.am:
9281 * gst/indexers/Makefile.am:
9282 * gst/parse/Makefile.am:
9283 * gst/registries/Makefile.am:
9284 * gst/schedulers/Makefile.am:
9285 * libs/gst/bytestream/Makefile.am:
9286 * libs/gst/control/Makefile.am:
9287 * libs/gst/getbits/Makefile.am:
9297 * tests/Makefile.am:
9298 * tests/bufspeed/Makefile.am:
9299 * tests/instantiate/Makefile.am:
9300 * tests/memchunk/Makefile.am:
9301 * tests/muxing/Makefile.am:
9302 * tests/negotiation/Makefile.am:
9303 * tests/probes/Makefile.am:
9304 * tests/sched/Makefile.am:
9305 * tests/seeking/Makefile.am:
9306 * tests/threadstate/Makefile.am:
9307 * testsuite/caps/Makefile.am:
9308 * testsuite/cleanup/Makefile.am:
9309 * testsuite/dlopen/Makefile.am:
9310 * testsuite/dynparams/Makefile.am:
9311 * testsuite/plugin/Makefile.am:
9312 * testsuite/states/Makefile.am:
9313 * tools/Makefile.am:
9314 reorganize compile/link flags to be consistent
9315 put gst_info in gstcompat.h and actually use GST_DISABLE_DEPRECATED
9317 2004-05-04 David Schleef <ds@schleef.org>
9319 The "once more, with feeling" check-in.
9320 * testsuite/caps/Makefile.am: dist caps_strings
9321 * testsuite/caps/renegotiate.c: (main): This test triggers a
9322 segfault in the core. Marking as failing.
9324 2004-05-03 David Schleef <ds@schleef.org>
9326 * testsuite/caps/deserialize.c: (main): Fix problems noticed
9328 * testsuite/caps/renegotiate.c: (main): Same.
9330 2004-05-03 David Schleef <ds@schleef.org>
9332 * testsuite/caps/renegotiate.c: (my_fixate), (main): Another test.
9334 2004-05-03 David Schleef <ds@schleef.org>
9336 * testsuite/caps/deserialize.c: (main): Use the srcdir environment
9337 variable to find our source file.
9339 2004-05-03 David Schleef <ds@schleef.org>
9341 * configure.ac: Link plugins with libgstreamer and dependent
9343 * testsuite/caps/Makefile.am:
9344 * testsuite/caps/caps_strings:
9345 * testsuite/caps/deserialize.c: (main): Add a little test to slog
9346 through a file of caps strings and test each one
9348 2004-05-04 Benjamin Otte <otte@gnome.org>
9350 * libs/gst/bytestream/Makefile.am:
9351 * libs/gst/bytestream/adapter.c:
9352 * libs/gst/bytestream/adapter.h:
9353 add GstAdapter, similar to bytestream, but doesn't require ugly event
9354 handling or uglier loopbased elements
9356 2004-05-03 David Schleef <ds@schleef.org>
9358 * testsuite/caps/Makefile.am: Fix spelling of Ηρατοσθενες
9359 * testsuite/caps/erathostenes.c:
9360 * testsuite/caps/eratosthenes.c: (eratosthenes), (main):
9362 2004-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9365 remove hardcoded stylesheet path (duh)
9366 * docs/random/release:
9367 * docs/gst/gstreamer-sections.txt:
9370 * gst/gst_private.h:
9376 * gst/gstinterface.c:
9377 * gst/gstmemchunk.c:
9380 * gst/gstregistry.c:
9381 * gst/gstregistrypool.c:
9382 * gst/gststructure.c:
9383 * gst/gsttaginterface.c:
9386 * gst/gsttypefind.c: (gst_type_find_factory_get_type):
9389 deprecate gst_info; remove gstlog.h
9392 2004-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9398 updated translations
9400 2004-05-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
9402 * gst/gstbin.c: (gst_bin_dispose):
9405 2004-05-03 Johan Dahlin <johan@gnome.org>
9407 * gst/schedulers/gstoptimalscheduler.c
9408 (gst_opt_scheduler_pad_unlink): Check if element is non-NULL and
9409 really is a GstElement. Avoids critical when running gst-launch -v
9410 and a oggdemux/decoding pipeline.
9412 2004-05-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
9414 * docs/gst/tmpl/gstpipeline.sgml :
9415 * docs/manual/elements-api.xml :
9416 doc fix by Patrick Guimond (Protector) from devel ML
9419 2004-05-02 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
9421 * docs/gst/Makefile.am :
9422 * docs/libs/Makefile.am :
9423 apply a patch from Arwed v. Merkatz so that gtk-doc
9424 generated docs install (same for .devhelp file)
9425 (fixes part 1 of #138836)
9427 2004-04-30 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
9429 * docs/faq/dependencies.xml: typo
9430 * docs/faq/getting.xml :
9431 - fix download URL for new gstreamer site
9432 - hide sf.net download page as latest version aren't there
9434 - fill "get via CVS" paragraph (link to dev page on the site)
9435 * docs/faq/general.xml:
9436 hide status tables as they no more exists
9437 change case on plugins license file to reflect reality
9438 * docs/faq/troubleshooting.xml:
9439 remove the wiki question/answer as there is no more wiki
9441 2004-04-30 Thomas Vander Stichele <thomas at apestaart dot org>
9444 include the headers needed for declarations used in this header
9446 2004-04-30 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
9448 * docs/random/uraeus/gstreamer_and_midi.txt :
9449 add .kar (midi + karaoke/lyrics 'track') doc to midi doc.
9452 2004-04-30 Sebastien Cote <sc5@hermes.usherb.ca>
9454 reviewed by Benjamin Otte <otte@gnome.org>
9456 * gst/schedulers/gthread-cothreads.h:
9457 free allocated data for main cothread, too when destroying context
9460 2004-04-29 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
9462 * docs/manual/goals.xml : remove duplicated paragraph at end
9463 of doc page (fixes #141448)
9465 2004-04-29 David Schleef <ds@schleef.org>
9467 * gst/elements/gstfilesink.c: (gst_filesink_handle_event):
9468 Patch from Sebastien Cote to fix leakage of events. (bug #141414)
9470 2004-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
9472 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9477 rename typefind source file
9479 2004-04-28 David Schleef <ds@schleef.org>
9481 Several new files from Steve Lhomme's MSVC patch (bug #141317):
9482 * win32/GStreamer.vcproj:
9485 * win32/dirent.c: (_topendir), (_treaddir), (_tclosedir),
9486 (_trewinddir), (_ttelldir), (_tseekdir):
9488 * win32/gst-inspect.vcproj:
9489 * win32/gst-launch.vcproj:
9490 * win32/gst-register.vcproj:
9491 * win32/gstbytestream.vcproj:
9492 * win32/gstelements.vcproj:
9493 * win32/gstoptimalscheduler.vcproj:
9494 * win32/gstspider.vcproj:
9496 * win32/mman.c: (mmap), (mprotect), (msync), (munmap):
9501 2004-04-29 Benjamin Otte <in7y118@public.uni-hamburg.de>
9503 * gst/gst.c: (init_post):
9505 remove useless _gst_progname stuff
9506 * tools/gst-inspect.c: (print_field), (print_caps):
9509 2004-04-28 David Schleef <ds@schleef.org>
9511 Disable parsing of a lot of files that aren't part of the
9512 exported API. Move corresponding template files to old/,
9513 waiting for removal when they don't contain anything
9515 * docs/gst/Makefile.am:
9516 * docs/gst/gstreamer-sections.txt:
9517 * docs/gst/tmpl/cothreads.sgml:
9518 * docs/gst/tmpl/cothreads_compat.sgml:
9519 * docs/gst/tmpl/gettext.sgml:
9520 * docs/gst/tmpl/gobject2gtk.sgml:
9521 * docs/gst/tmpl/grammar.tab.sgml:
9522 * docs/gst/tmpl/gst-i18n-app.sgml:
9523 * docs/gst/tmpl/gst-i18n-lib.sgml:
9524 * docs/gst/tmpl/gst_private.sgml:
9525 * docs/gst/tmpl/gstaggregator.sgml:
9526 * docs/gst/tmpl/gstarch.sgml:
9527 * docs/gst/tmpl/gstatomic_impl.sgml:
9528 * docs/gst/tmpl/gstbufferstore.sgml:
9529 * docs/gst/tmpl/gstdata_private.sgml:
9530 * docs/gst/tmpl/gstdisksink.sgml:
9531 * docs/gst/tmpl/gstdisksrc.sgml:
9532 * docs/gst/tmpl/gstelementfactory.sgml:
9533 * docs/gst/tmpl/gstextratypes.sgml:
9534 * docs/gst/tmpl/gstfakesink.sgml:
9535 * docs/gst/tmpl/gstfakesrc.sgml:
9536 * docs/gst/tmpl/gstfdsink.sgml:
9537 * docs/gst/tmpl/gstfdsrc.sgml:
9538 * docs/gst/tmpl/gstfilesink.sgml:
9539 * docs/gst/tmpl/gstfilesrc.sgml:
9540 * docs/gst/tmpl/gsthttpsrc.sgml:
9541 * docs/gst/tmpl/gstidentity.sgml:
9542 * docs/gst/tmpl/gstindexfactory.sgml:
9543 * docs/gst/tmpl/gstmarshal.sgml:
9544 * docs/gst/tmpl/gstmd5sink.sgml:
9545 * docs/gst/tmpl/gstmultidisksrc.sgml:
9546 * docs/gst/tmpl/gstmultifilesrc.sgml:
9547 * docs/gst/tmpl/gstpadtemplate.sgml:
9548 * docs/gst/tmpl/gstpipefilter.sgml:
9549 * docs/gst/tmpl/gstschedulerfactory.sgml:
9550 * docs/gst/tmpl/gstsearchfuncs.sgml:
9551 * docs/gst/tmpl/gstshaper.sgml:
9552 * docs/gst/tmpl/gstspider.sgml:
9553 * docs/gst/tmpl/gstspideridentity.sgml:
9554 * docs/gst/tmpl/gststatistics.sgml:
9555 * docs/gst/tmpl/gsttee.sgml:
9556 * docs/gst/tmpl/gsttimecache.sgml:
9557 * docs/gst/tmpl/gsttypefind.sgml:
9558 * docs/gst/tmpl/gsttypefindfactory.sgml:
9559 * docs/gst/tmpl/gstxmlregistry.sgml:
9560 * docs/gst/tmpl/gthread-cothreads.sgml:
9561 * docs/gst/tmpl/old/cothreads.sgml:
9562 * docs/gst/tmpl/old/cothreads_compat.sgml:
9563 * docs/gst/tmpl/old/gettext.sgml:
9564 * docs/gst/tmpl/old/gobject2gtk.sgml:
9565 * docs/gst/tmpl/old/grammar.tab.sgml:
9566 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9567 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9568 * docs/gst/tmpl/old/gst_private.sgml:
9569 * docs/gst/tmpl/old/gstaggregator.sgml:
9570 * docs/gst/tmpl/old/gstarch.sgml:
9571 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9572 * docs/gst/tmpl/old/gstbufferstore.sgml:
9573 * docs/gst/tmpl/old/gstdata_private.sgml:
9574 * docs/gst/tmpl/old/gstdisksink.sgml:
9575 * docs/gst/tmpl/old/gstdisksrc.sgml:
9576 * docs/gst/tmpl/old/gstelementfactory.sgml:
9577 * docs/gst/tmpl/old/gstextratypes.sgml:
9578 * docs/gst/tmpl/old/gstfakesink.sgml:
9579 * docs/gst/tmpl/old/gstfakesrc.sgml:
9580 * docs/gst/tmpl/old/gstfdsink.sgml:
9581 * docs/gst/tmpl/old/gstfdsrc.sgml:
9582 * docs/gst/tmpl/old/gstfilesink.sgml:
9583 * docs/gst/tmpl/old/gstfilesrc.sgml:
9584 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9585 * docs/gst/tmpl/old/gstidentity.sgml:
9586 * docs/gst/tmpl/old/gstindexfactory.sgml:
9587 * docs/gst/tmpl/old/gstmarshal.sgml:
9588 * docs/gst/tmpl/old/gstmd5sink.sgml:
9589 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9590 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9591 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9592 * docs/gst/tmpl/old/gstpipefilter.sgml:
9593 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9594 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9595 * docs/gst/tmpl/old/gstshaper.sgml:
9596 * docs/gst/tmpl/old/gstspider.sgml:
9597 * docs/gst/tmpl/old/gstspideridentity.sgml:
9598 * docs/gst/tmpl/old/gststatistics.sgml:
9599 * docs/gst/tmpl/old/gsttee.sgml:
9600 * docs/gst/tmpl/old/gsttimecache.sgml:
9601 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9602 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9603 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9604 * docs/gst/tmpl/old/types.sgml:
9605 * docs/gst/tmpl/types.sgml:
9607 Rename gsttypefind.[ch] back to gsttypefindelement.[ch], since
9608 gtkdoc-scan doesn't like files with the same name in different
9610 * gst/elements/Makefile.am:
9611 * gst/elements/gstelements.c:
9612 * gst/elements/gsttypefind.c:
9613 * gst/elements/gsttypefind.h:
9614 * gst/elements/gsttypefindelement.c:
9615 * gst/elements/gsttypefindelement.h:
9617 2004-04-28 David Schleef <ds@schleef.org>
9619 A bunch of portability fixes, derived from Steve Lhomme's MSVC
9620 patch (bug #141317):
9621 * gst/gst-i18n-lib.h: Allow disabling gettext.
9622 * gst/gstatomic_impl.h: disable warning when it's dumb.
9623 * gst/gstclock.c: fix include
9624 * gst/gstcompat.h: fix variadic macro
9625 * gst/gstinfo.c: fix include
9626 * gst/gstmacros.h: add defines for inlines on MSVC
9627 * gst/gstplugin.c: fix includes
9628 * gst/gstregistry.c: fix includes
9629 * gst/gstregistry.h: use S_IREAD, etc., if S_IRUSR isn't defined
9630 * gst/gstsystemclock.c: fix include
9631 * gst/gsttrace.c: (gst_trace_new), (gst_trace_text_flush): use
9632 S_IREAD if S_IRUSR isn't defined. fix use of non-portable functions
9633 * gst/registries/gstxmlregistry.c:
9634 (gst_xml_registry_parse_element_factory): fix use of non-portable
9636 * libs/gst/control/dparam.h: Remove trailing comma in enum definition
9637 * libs/gst/control/dparammanager.h: same
9639 2004-04-28 David Schleef <ds@schleef.org>
9641 Move a bunch of unused files to old/ with names that are
9642 not case-insensitive-unique. These files still contain some
9643 useful information that needs to be merged into gstbin.sgml,
9644 etc., so they shouldn't be deleted yet.
9645 * docs/gst/tmpl/GstBin.sgml:
9646 * docs/gst/tmpl/GstBuffer.sgml:
9647 * docs/gst/tmpl/GstCaps.sgml:
9648 * docs/gst/tmpl/GstClock.sgml:
9649 * docs/gst/tmpl/GstCompat.sgml:
9650 * docs/gst/tmpl/GstData.sgml:
9651 * docs/gst/tmpl/GstElement.sgml:
9652 * docs/gst/tmpl/GstEvent.sgml:
9653 * docs/gst/tmpl/GstIndex.sgml:
9654 * docs/gst/tmpl/GstStructure.sgml:
9655 * docs/gst/tmpl/GstTag.sgml:
9656 * docs/gst/tmpl/old/GstBin.sgml:
9657 * docs/gst/tmpl/old/GstBuffer.sgml:
9658 * docs/gst/tmpl/old/GstCaps.sgml:
9659 * docs/gst/tmpl/old/GstClock.sgml:
9660 * docs/gst/tmpl/old/GstCompat.sgml:
9661 * docs/gst/tmpl/old/GstData.sgml:
9662 * docs/gst/tmpl/old/GstElement.sgml:
9663 * docs/gst/tmpl/old/GstEvent.sgml:
9664 * docs/gst/tmpl/old/GstIndex.sgml:
9665 * docs/gst/tmpl/old/GstStructure.sgml:
9666 * docs/gst/tmpl/old/GstTag.sgml:
9668 2004-04-28 David Schleef <ds@schleef.org>
9670 * gst/gstcaps.c: (gst_caps_copy), (gst_caps_free),
9671 (gst_caps_append), (gst_caps_append_structure),
9672 (gst_caps_get_size), (gst_caps_get_structure), (gst_caps_copy_1),
9673 (gst_caps_set_simple), (gst_caps_set_simple_valist),
9674 (gst_caps_is_any), (gst_caps_is_empty), (gst_caps_is_chained),
9675 (gst_caps_is_fixed), (gst_caps_is_always_compatible),
9676 (gst_caps_intersect), (gst_caps_normalize),
9677 (gst_caps_transform_to_string): Patch from Tim-Philipp Müller
9678 to fix GST_CAPS() and GST_IS_CAPS(). (bug #141304)
9679 * gst/gstcaps.h: use GST_IS_CAPS().
9681 2004-04-26 David Schleef <ds@schleef.org>
9683 * gst/gstcpu.c: (gst_cpuid_i386): Don't clobber ebx in inline
9684 assembly. gcc doesn't handle it correctly. (bug #141083)
9685 * gst/gsttrashstack.h: same
9687 2004-04-25 Benjamin Otte <otte@gnome.org>
9689 * gst/gstelement.c: (gst_element_change_state):
9690 fix assertion to do an int comparison
9692 2004-04-25 Benjamin Otte <otte@gnome.org>
9694 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
9695 better debugging output on error
9697 2004-04-25 Benjamin Otte <otte@gnome.org>
9699 * gst/gstcaps.c: (gst_caps_subtract):
9702 2004-04-23 Benjamin Otte <otte@gnome.org>
9704 * gst/gstvalue.c: (gst_value_compare_buffer),
9705 (_gst_value_initialize):
9706 add comparison function for buffers
9708 2004-04-22 Ronald Bultje <rbultje@ronald.bitfreak.net>
9711 Just found out that this so-called "ima-wav" format is really
9712 just "dvi adpcm" (according to the MS WAV documentation). So
9713 renaming it. We didn't use it yet anyway.
9715 2004-04-23 Benjamin Otte <otte@gnome.org>
9717 * gst/gstcaps.c: (gst_caps_is_always_compatible):
9718 call gst_caps_is_subset
9720 2004-04-23 Benjamin Otte <otte@gnome.org>
9722 * gst/gstcaps.c: (gst_caps_subtract), (gst_caps_is_equal),
9723 (gst_caps_is_subset):
9726 2004-04-23 Benjamin Otte <otte@gnome.org>
9728 * gst/gstcaps.c: (gst_caps_structure_subtract_field),
9729 (gst_caps_structure_subtract), (gst_caps_subtract),
9730 (gst_caps_structure_figure_out_union),
9731 (gst_caps_structure_simplify), (gst_caps_do_simplify):
9732 fix simplifying and subtracting not working correctly with optional
9734 solve assorted problems that make it now simplify ebven more
9735 * docs/gst/tmpl/gstcaps.sgml:
9737 make gst_caps_do_simplify return a bool to indicate if it simplified
9738 * testsuite/caps/simplify.c: (main):
9739 add more checks. The tests is quite a bit useless right now because
9740 the core is heavily simplifying itself.
9741 * testsuite/caps/caps.h:
9742 fix caps to contain all optional properties
9744 2004-04-22 Benjamin Otte <otte@gnome.org>
9746 * docs/gst/tmpl/gstcaps.sgml:
9747 * docs/gst/tmpl/gstfilesrc.sgml:
9748 * docs/gst/tmpl/gststructure.sgml:
9749 * docs/gst/tmpl/gstvalue.sgml:
9750 update for recent API changes
9751 * gst/gstcaps.c: (gst_caps_do_simplify):
9752 fix to stop trying with a freed structure
9753 * gst/gstpad.c: (gst_pad_link_fixate):
9755 * gst/gstpad.c: (gst_pad_template_get_caps_by_name):
9758 deprecate gst_pad_template_get_caps_by_name, it doesn't work anyway
9759 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9760 (gst_structure_to_string):
9761 keep the correct type when using lists of ranges
9762 * gst/gstvalue.c: (gst_value_list_prepend_value),
9763 (gst_value_list_append_value):
9764 copy the value before adding to the list (d'oh)
9765 * gst/gstvalue.c: (gst_value_subtract_int_range_int),
9766 (gst_value_subtract_int_range_int_range):
9767 handle overflows correctly
9768 * gst/gstvalue.c: (gst_value_subtract_from_list):
9770 * testsuite/caps/caps.h:
9771 add a caps that caused segfaults
9773 2004-04-22 Benjamin Otte <otte@gnome.org>
9775 * testsuite/refcounting/pad.c: (main):
9778 2004-04-22 Benjamin Otte <otte@gnome.org>
9780 * gst/gstcaps.c: (gst_caps_subtract):
9781 allow subtracting ANY and EMPTY from ANY caps
9783 2004-04-22 Benjamin Otte <otte@gnome.org>
9785 * gst/gstcaps.c: (gst_caps_append), (gst_caps_intersect),
9787 only simplify in functions that create new caps. Simplifying in
9788 gst_caps_append breaks tests.
9790 2004-04-22 Benjamin Otte <otte@gnome.org>
9792 * gst/gstcaps.c: (gst_caps_structure_simplify):
9793 unset GValue after use
9794 * gst/gstcaps.c: (gst_caps_append),
9795 * gst/gstpad.c: (gst_pad_link_fixate), (gst_pad_template_new):
9796 use gst_caps_simplify (reduces registry size by 30%)
9797 * gst/gstpad.c: (gst_pad_template_new):
9798 don't allow NULL caps
9800 2004-04-22 Benjamin Otte <otte@gnome.org>
9802 * docs/gst/gstreamer-sections.txt:
9803 add gst_caps_do_simplify
9805 add documentation for gst_caps_do_simplify
9807 fix typo in gst_value_register_subtract_func declaration for gst-doc
9809 2004-04-22 Benjamin Otte <otte@gnome.org>
9811 * gst/gstcaps.c: (gst_caps_from_string_inplace):
9812 fix bug when converting from empty string.
9813 * gst/gstcaps.c: (gst_caps_new_any), (gst_caps_new_simple),
9814 (gst_caps_new_full_valist), (gst_caps_copy), (gst_caps_copy_1):
9815 use gst_caps_new_empty to allocate a new caps. Only that function
9816 allocates memory for caps now.
9817 * gst/gstcaps.c: (gst_caps_remove_and_get_structure),
9818 (gst_caps_remove_structure):
9819 add ability to remove one structure (but not to header yet)
9820 * gst/gstcaps.c: (gst_caps_compare_structures),
9821 (gst_caps_simplify), (gst_caps_structure_figure_out_union),
9822 (gst_caps_structure_simplify), (gst_caps_do_simplify),
9824 add gst_caps_do_simplify that tries to simplify a caps in place.
9825 Deprecate old gst_caps_simplify function.
9826 * testsuite/caps/caps.h:
9827 add caps.h containing a common set of caps to test against.
9828 * testsuite/caps/sets.c: (check_caps), (main):
9830 * testsuite/caps/.cvsignore:
9831 * testsuite/caps/Makefile.am:
9832 * testsuite/caps/simplify.c: (check_caps), (main):
9833 add test to check correctness and efficency of caps simplification.
9835 2004-04-22 Sebastien Cote <sc5@hermes.usherb.ca>
9837 reviewed by Benjamin Otte <otte@gnome.org>
9839 * gst/gstparse.c: (_gst_parse_escape):
9840 Free the GString used in _gst_parse_escape()
9842 2004-04-21 Benjamin Otte <in7y118@public.uni-hamburg.de>
9844 * gst/gstpad.c: (gst_pad_link_negotiate):
9845 refuse to link if the link is not possible
9847 * testsuite/Makefile.am:
9848 * testsuite/negotiation/.cvsignore:
9849 * testsuite/negotiation/Makefile.am:
9850 * testsuite/negotiation/pad_link.c: (main):
9851 add test that checks the above behaviour
9853 2004-04-21 Thomas Vander Stichele <thomas at apestaart dot org>
9855 * docs/gst/gstreamer-sections.txt:
9858 2004-04-21 Thomas Vander Stichele <thomas at apestaart dot org>
9860 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
9861 (gst_filesrc_get_mmap), (gst_filesrc_get_read), (gst_filesrc_get),
9862 (gst_filesrc_open_file), (gst_filesrc_close_file),
9863 (gst_filesrc_srcpad_query), (gst_filesrc_srcpad_event):
9864 * gst/elements/gstfilesrc.h:
9865 add support for non-regular files (#140734)
9867 2004-04-21 Benjamin Otte <otte@gnome.org>
9869 * gst/gstpad.c: (gst_pad_link_fixate):
9870 add sophisticated error checking code to see if fixation functions
9871 did their fixation right
9873 2004-04-21 Benjamin Otte <otte@gnome.org>
9875 * gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
9876 check for ANY caps before appending/unioning
9877 * gst/gstcaps.c: (gst_caps_is_subset),
9878 (gst_caps_is_equal), (gst_caps_structure_subtract_field),
9879 (gst_caps_structure_subtract), (gst_caps_subtract):
9881 add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
9882 the API. deprecate gst_caps_is_equal_fixed
9883 * gst/gstpad.c: (gst_pad_try_set_caps):
9884 * gst/gstqueue.c: (gst_queue_link):
9885 s/gst_caps_is_equal_fixed/gst_caps_is_equal/
9886 * gst/gststructure.c: (gst_structure_get_name_id):
9887 * gst/gststructure.h:
9888 add function gst_structure_get_name_id
9889 * gst/gstvalue.c: (gst_value_subtract_int_int_range),
9890 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
9891 (gst_value_subtract_int_range_int_range),
9892 (gst_value_subtract_double_double_range),
9893 (gst_value_subtract_double_range_double),
9894 (gst_value_subtract_double_range_double_range),
9895 (gst_value_subtract_from_list), (gst_value_subtract_list),
9896 (gst_value_can_intersect), (gst_value_subtract),
9897 (gst_value_can_subtract), (gst_value_register_subtract_func),
9898 (_gst_value_initialize):
9900 add support for subtracting values from each other. Note that
9901 subtracting means subtracting as in set theory. Required for caps
9903 * testsuite/caps/.cvsignore:
9904 * testsuite/caps/Makefile.am:
9905 * testsuite/caps/erathostenes.c: (erathostenes), (main):
9906 * testsuite/caps/sets.c: (check_caps), (main):
9907 * testsuite/caps/subtract.c: (check_caps), (main):
9908 add tests for subtraction and equality code.
9910 2004-04-20 David Schleef <ds@schleef.org>
9912 * gst/autoplug/Makefile.am: Fix some little buglets in last checkin.
9913 * gst/indexers/Makefile.am:
9914 * gst/schedulers/Makefile.am:
9915 * libs/gst/bytestream/Makefile.am:
9916 * libs/gst/control/Makefile.am:
9917 * libs/gst/getbits/Makefile.am:
9919 2004-04-20 David Schleef <ds@schleef.org>
9921 * common/as-libtool.mak: Fine-tune DLL building.
9922 * configure.ac: Link plugins against libgstreamer. Define plugindir
9924 * examples/plugins/Makefile.am: remove plugindir
9925 * gst/autoplug/Makefile.am: DLL building fixes
9926 * gst/elements/Makefile.am: DLL building fixes. Disable pipefilter on
9928 * gst/elements/gstelements.c: Conditionally disable pipefilter.
9929 * gst/indexers/Makefile.am: DLL building fixes
9930 * gst/schedulers/Makefile.am: DLL building fixes.
9931 * libs/gst/bytestream/Makefile.am: DLL building fixes.
9932 * libs/gst/control/Makefile.am: same
9933 * libs/gst/getbits/Makefile.am: same
9934 * testsuite/Makefile.am: New dlopen directory
9935 * testsuite/dlopen/Makefile.am: Tests to check if libgstreamer works
9937 * testsuite/dlopen/dlopen_gst.c: (main): same
9938 * testsuite/dlopen/loadgst.c: (do_test): same
9940 2004-04-20 David Schleef <ds@schleef.org>
9942 * gst/parse/grammar.y: Apply patch from Sebastien Cote
9943 <sc5@hermes.usherb.ca> to fix a memleak. (bug #140594)
9945 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9947 * gst/gstelement.c: (gst_element_wait),
9948 (gst_element_set_time_delay), (gst_element_change_state):
9951 2004-04-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
9953 * gst/autoplug/gstspider.c: (gst_spider_link_sometimes),
9954 (gst_spider_identity_plug):
9955 improve debugging messages
9956 * gst/gstbin.c: (gst_bin_remove_func):
9957 make sure the state_change function is only called with simple state
9960 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9962 * gst/elements/gstfakesink.c: (gst_fakesink_state_error_get_type),
9963 (gst_fakesink_set_property), (gst_fakesink_chain):
9964 * gst/elements/gstfakesrc.c: (gst_fakesrc_set_property):
9965 * gst/elements/gstfdsrc.c: (gst_fdsrc_set_property):
9966 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property):
9967 * gst/elements/gstidentity.c: (gst_identity_chain),
9968 (gst_identity_set_property):
9969 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_set_property):
9970 * gst/elements/gstpipefilter.c: (gst_pipefilter_set_property):
9971 add warnings to _set_property for unknown arguments
9972 use GST_TIME_FORMAT/GST_TIME_ARGS for timestamp printing
9974 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9978 add .po file download snippet
9979 fix a bug in the doc makefile
9981 2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
9986 Added en_GB translation (Gareth Owen)
9988 2004-04-20 Johan Dahlin <johan@gnome.org>
9990 * gst/gstpad.c (_invent_event): Clean up
9992 2004-04-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
9994 * testsuite/caps/filtercaps.c: (main):
9995 fix test to test things correctly (caps are complicated)
9997 2004-04-20 Benjamin Otte <in7y118@public.uni-hamburg.de>
9999 * testsuite/caps/Makefile.am:
10000 * testsuite/caps/filtercaps.c: (main):
10001 add test (that doesn't work right now, but should)
10003 2004-04-19 David Schleef <ds@schleef.org>
10005 * configure.ac: Add test for allowing unaligned access. Add define
10006 to put in gstconfig.h.
10007 * docs/gst/gstreamer-sections.txt: New symbols
10008 * docs/gst/tmpl/gstcompat.sgml: Check in changes made by gtkdoc
10009 * docs/gst/tmpl/gstfilesrc.sgml:
10010 * docs/gst/tmpl/gstparse.sgml:
10011 * docs/gst/tmpl/gsttypes.sgml:
10012 * docs/gst/tmpl/gstutils.sgml:
10013 * docs/gst/tmpl/gstvalue.sgml:
10014 * gst/gstconfig.h.in: Add GST_HAVE_UNALIGNED_ACCESS
10015 * gst/gstutils.h: Add macros for unaligned memory access. Useful
10016 on most !i386/!powerpc architectures. From Daniel Gazard
10017 <daniel.gazard@free.fr>. (bug #140156)
10018 * po/af.po: Check in changes made by gettext.
10025 2004-04-20 Benjamin Otte <otte@gnome.org>
10027 * gst/schedulers/entryscheduler.c:
10028 (gst_entry_scheduler_yield):
10029 refuse to yield when decoupled elements insist on doing that.
10030 At least it's better than crashing
10032 2004-04-19 David Schleef <ds@schleef.org>
10034 * docs/libs/Makefile.am: Change sinclude to include
10035 * docs/gst/Makefile.am: same
10036 * pkgconfig/Makefile.am: Remove GNU-ism from makefile target
10038 2004-04-19 Thomas Vander Stichele <thomas at apestaart dot org>
10042 Added Ukrainian translation (Maxim V. Dziumanenko)
10044 2004-04-19 Johan Dahlin <johan@gnome.org>
10046 * gst/parse/grammar.y (__gst_parse_chain_free): Don't do null
10047 checking here, do it before calling the function.
10048 Clean up, use for loops instead of while loops while iterating
10051 * gst/autoplug/gstspider.c (gst_spider_request_new_pad): Fix typo
10053 (gst_spider_create_and_plug): Improve debug message.
10054 General: Replace while loops which iterates over GLists with for
10055 loops. Which are much cleaner, improves readability, especially
10056 for gst_spider_identity_plug
10058 * gst/gstpad.c (_invent_event): Fix parameters to warning macros,
10061 2004-04-18 Thomas Vander Stichele <thomas at apestaart dot org>
10065 Added Turkish translation (Baris Cicek)
10067 2004-04-18 Ronald Bultje <rbultje@ronald.bitfreak.net>
10069 * docs/faq/troubleshooting.xml:
10070 Mention gst-register in the FAQ (fixes 139045).
10072 2004-04-17 Thomas Vander Stichele <thomas at apestaart dot org>
10074 * docs/gst/gstreamer-sections.txt:
10076 2004-04-17 Benjamin Otte <otte@gnome.org>
10078 * gst/gstelement.c: (gst_element_dispose):
10080 * gst/gstpad.c: (gst_pad_call_chain_function):
10081 don't create loads of events due to bad macro usage
10083 2004-04-16 David Schleef <ds@schleef.org>
10085 * gst/gstcaps.c: (gst_caps_is_fixed_foreach):
10086 * gst/gstpad.c: (_gst_pad_default_fixate_foreach):
10087 * gst/gstvalue.c: (gst_value_serialize_buffer),
10088 (gst_value_deserialize_buffer), (gst_type_is_fixed),
10089 (_gst_value_initialize): Create a new function gst_type_is_fixed()
10090 to indicate types that are fixed wrt caps or not. Switching to
10091 this function fixes (bug #140298).
10094 2004-04-16 David Schleef <ds@schleef.org>
10096 * common/m4/gst-arch.m4: Implmenent a whitelist and blacklist
10097 for GST_UNALIGNED_ACESS, since we essentially know which archs
10100 2004-04-17 Benjamin Otte <otte@gnome.org>
10102 * docs/gst/Makefile.am:
10103 ignore gst/parse directory when building docs (fixes #140205)
10105 2004-04-16 Thomas Vander Stichele <thomas at apestaart dot org>
10107 * testsuite/refcounting/mem.c: (vmsize):
10110 2004-04-16 Johan Dahlin <johan@gnome.org>
10112 * docs/gst/gstreamer-sections.txt: Add gst_pad_call_chain_function
10113 and gst_pad_call_get_function.
10115 2004-04-15 David Schleef <ds@schleef.org>
10117 * common/m4/gst-arch.m4: Add GST_UNALIGNED_ACCESS() macro that
10118 checks if we can access unaligned memory.
10119 * configure.ac: Use it.
10121 2004-04-16 Benjamin Otte <otte@gnome.org>
10123 * gst/elements/gstfilesrc.c: (gst_filesrc_init), (gst_filesrc_get),
10124 (gst_filesrc_change_state), (gst_filesrc_srcpad_event):
10125 * gst/elements/gstfilesrc.h:
10126 s/seek_happened/need_discont/ and require discont before sending any
10129 2004-04-15 David Schleef <ds@schleef.org>
10131 * gst/gstvalue.c: (gst_value_serialize_buffer),
10132 (gst_value_deserialize_buffer), (_gst_value_initialize):
10133 Register these types as fundamental types. (bug #140015)
10135 2004-04-16 Benjamin Otte <otte@gnome.org>
10137 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_new),
10138 (gst_pad_link_free), (gst_pad_link_try), (_invent_event),
10140 implement enforcing discont events before buffers are passed. This
10141 allows state changes of only some elements and later correctly going
10142 on where they left off (or in short: you can now set audio sinks to
10143 NULL to release the device when the pipeline is paused)
10144 * gst/gstpad.c: (gst_pad_call_chain_function),
10145 (gst_pad_call_get_function):
10147 add gst_pad_call_chain_function and gst_pad_call_get_function for
10148 scheduler interaction. They are required because of the changes
10150 * gst/schedulers/entryscheduler.c: (get_buffer),
10151 (gst_entry_scheduler_chain_wrapper),
10152 (gst_entry_scheduler_get_wrapper),
10153 (gst_entry_scheduler_state_transition),
10154 (gst_entry_scheduler_pad_link):
10155 * gst/schedulers/gstbasicscheduler.c:
10156 (gst_basic_scheduler_chain_wrapper),
10157 (gst_basic_scheduler_src_wrapper),
10158 (gst_basic_scheduler_chainhandler_proxy),
10159 (gst_basic_scheduler_gethandler_proxy),
10160 (gst_basic_scheduler_cothreaded_chain),
10161 (gst_basic_scheduler_chain_elements):
10162 * gst/schedulers/gstoptimalscheduler.c:
10163 (get_group_schedule_function), (pad_clear_queued),
10164 (gst_opt_scheduler_pad_link):
10165 use the new functions instead of calling get/chain-functions
10168 2004-04-15 David Schleef <ds@schleef.org>
10170 * docs/gst/gstreamer-sections.txt: Remove deprecated symbols.
10171 * docs/gst/tmpl/gstinfo.sgml: same
10172 * docs/gst/tmpl/gstutils.sgml: Remove a bunch of bogus crap that
10174 * gst/gstutils.h: Remove the \ that was confusing gtk-doc.
10175 * examples/queue/queue.c: (main): We iterate pipelines, not
10176 bins. (bug #139996)
10178 2004-04-15 Ronald Bultje <rbultje@ronald.bitfreak.net>
10180 * docs/pwg/advanced-types.xml:
10181 Add MS RLE support. Also document Qt RLE although I have no sample
10182 files for that yet. And document an extra property for ADPCM.
10184 2004-04-15 David Schleef <ds@schleef.org>
10186 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore),
10187 (_gst_plugin_fault_handler_setup): Disable more stuff on
10190 2004-04-15 David Schleef <ds@schleef.org>
10192 * gst/gstinfo.c: (_gst_debug_init): Change some internal
10193 symbol names to not conflict with new gstinfo.h symbols.
10194 * gst/gstinfo.h: Add inline functions for all those crazy
10195 compilers that don't know how to handle variadic macros (MSVC).
10197 2004-04-15 Thomas Vander Stichele <thomas at apestaart dot org>
10199 * configure.ac: bump nano to 1
10201 === release 0.8.1 ===
10203 2004-04-15 Thomas Vander Stichele <thomas at apestaart dot org>
10208 releasing 0.8.1, "Snow Brigade"
10210 2004-04-14 David Schleef <ds@schleef.org>
10212 * testsuite/Makefile.am: define tests_ignore
10213 * testsuite/Rules: Added new tests_ignore, which get compiled,
10214 but not run (generally because they're inconsistent or have
10215 heisenbugs). Now we can ensure all the .c files compile in
10217 * testsuite/bins/Makefile.am: define tests_ignore
10218 * testsuite/bytestream/Makefile.am:
10219 * testsuite/caps/Makefile.am:
10220 * testsuite/clock/Makefile.am:
10221 * testsuite/debug/Makefile.am:
10222 * testsuite/debug/global.c: (gst_debug_log_one),
10223 (gst_debug_log_two): Fix compilation problem.
10224 * testsuite/dynparams/Makefile.am:
10225 * testsuite/elements/Makefile.am:
10226 * testsuite/ghostpads/Makefile.am:
10227 * testsuite/indexers/Makefile.am:
10228 * testsuite/parse/Makefile.am:
10229 * testsuite/plugin/Makefile.am:
10230 * testsuite/refcounting/Makefile.am:
10231 * testsuite/refcounting/element_pad.c: (main): Don't return leak
10232 results, because it's not calculated correctly.
10233 * testsuite/refcounting/pad.c: (main): same
10234 * testsuite/states/Makefile.am:
10235 * testsuite/tags/Makefile.am:
10236 * testsuite/threads/Makefile.am:
10238 2004-04-14 David Schleef <ds@schleef.org>
10240 * gst/gstcpu.c: (gst_cpuid_i386): Add workaround for gcc-3.2
10241 generating bad code around the cpu detection asm code.
10243 2004-04-14 Thomas Vander Stichele <thomas at apestaart dot org>
10245 * tools/gst-inspect.c: (print_element_info):
10246 print numeric version of rank as well, since we added some - 1
10247 rank values to elements
10249 2004-04-13 David Schleef <ds@schleef.org>
10251 * configure.ac: Disable various code when compiling for MinGW.
10252 * gst/elements/Makefile.am:
10253 * gst/elements/gstelements.c:
10254 * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
10255 * gst/elements/gstfilesrc.c: (gst_filesrc_init), (gst_filesrc_get):
10256 * gst/registries/gstxmlregistry.c: (make_dir):
10258 2004-04-13 David Schleef <ds@schleef.org>
10261 * gst/gstcpu.c: (gst_cpuid_i386): Convert asm source into inline
10263 * gst/gstcpuid_i386.s: remove
10265 2004-04-13 David Schleef <ds@schleef.org>
10267 * docs/gst/tmpl/gstaggregator.sgml: Random checkin because gtk-doc
10268 seems to think it needs to be done.
10269 * docs/gst/tmpl/gstfakesink.sgml:
10270 * docs/gst/tmpl/gstfakesrc.sgml:
10271 * docs/gst/tmpl/gstfdsink.sgml:
10272 * docs/gst/tmpl/gstfdsrc.sgml:
10273 * docs/gst/tmpl/gstfilesink.sgml:
10274 * docs/gst/tmpl/gstfilesrc.sgml:
10275 * docs/gst/tmpl/gstidentity.sgml:
10276 * docs/gst/tmpl/gstmd5sink.sgml:
10277 * docs/gst/tmpl/gstmultifilesrc.sgml:
10278 * docs/gst/tmpl/gstpipefilter.sgml:
10279 * docs/gst/tmpl/gstshaper.sgml:
10280 * docs/gst/tmpl/gstspider.sgml:
10281 * docs/gst/tmpl/gstspideridentity.sgml:
10282 * docs/gst/tmpl/gststatistics.sgml:
10283 * docs/gst/tmpl/gsttee.sgml:
10284 * docs/gst/tmpl/gsttypefind.sgml:
10285 * docs/gst/tmpl/gstutils.sgml:
10287 2004-04-13 David Schleef <ds@schleef.org>
10289 * configure.ac: Changes to remove POSIXisms (mmap in this case)
10290 and to build DLLs on Windows.
10292 * gst/elements/gstfilesrc.c: (gst_filesrc_get),
10293 (gst_filesrc_open_file):
10294 * gst/schedulers/Makefile.am:
10296 2004-04-13 David Schleef <ds@schleef.org>
10298 * gst/gstcaps.c: (gst_caps_structure_fixate_field_nearest_int),
10299 (gst_caps_structure_fixate_field_nearest_double): Fix bug in
10302 2004-04-12 David Schleef <ds@schleef.org>
10304 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
10305 (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed
10307 * gst/gstbuffer.h: Changed GST_BUFFER_TYPE to gst_buffer_get_type()
10308 * gst/gstcaps.c: (gst_caps_is_fixed_foreach): Buffer is a fixed type
10309 * gst/gstpad.c: (_gst_pad_default_fixate_foreach): same
10310 * gst/gststructure.c: (gst_structure_set_valist),
10311 (gst_structure_from_abbr), (gst_structure_to_abbr): Add vararg
10312 support for buffers.
10313 * gst/gsttag.c: (gst_tag_register): Constify a prototype that was
10314 intended to be const.
10315 * gst/gsttag.h: same
10316 * gst/gstvalue.c: (gst_value_serialize_buffer),
10317 (gst_value_deserialize_buffer), (_gst_value_initialize): Add code
10318 to (de)serialize buffers.
10319 * testsuite/caps/Makefile.am: Add a bit of buffer testing
10320 * testsuite/caps/string-conversions.c: (main):
10321 * testsuite/caps/value_serialize.c: add new test
10323 2004-04-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
10325 * docs/pwg/advanced-types.xml:
10326 Document MS video 1 (video/x-msvideocodec) mimetype/format.
10328 2004-04-11 Benjamin Otte <otte@gnome.org>
10330 * gst/schedulers/gstbasicscheduler.c: (plugin_init):
10331 rename categories to basic_*
10332 * gst/schedulers/gstbasicscheduler.c:
10333 (gst_basic_scheduler_chain_wrapper),
10334 (gst_basic_scheduler_chainhandler_proxy),
10335 (gst_basic_scheduler_gethandler_proxy),
10336 (gst_basic_scheduler_eventhandler_proxy):
10337 debugging category fixes - put common stuff in log category
10338 * gst/schedulers/gstbasicscheduler.c:
10339 (gst_basic_scheduler_chain_elements):
10340 dirty fix: call gst_basic_scheduler_cothreaded_chain when already
10341 active and linking two active chains
10343 2004-04-10 Benjamin Otte <otte@gnome.org>
10345 * docs/pwg/intro-preface.xml:
10346 fix dead links and remove reference to Wiki
10348 2004-04-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
10350 * gst/schedulers/gstbasicscheduler.c:
10351 make sure we can switch back to the main function if we're still in
10352 the main function (supposed to fix #139617)
10353 * gst/schedulers/gthread-cothreads.h:
10354 don't throw an error when switching to the same cothread
10356 2004-04-09 Benjamin Otte <otte@gnome.org>
10358 * gst/gstbin.c: (gst_bin_get_type):
10359 * gst/gstclock.c: (gst_clock_get_type):
10360 * gst/gstindex.c: (gst_index_get_type):
10361 * gst/gstobject.c: (gst_object_get_type),
10362 (gst_signal_object_get_type):
10363 * gst/gstpad.c: (gst_pad_get_type), (gst_real_pad_get_type),
10364 (gst_pad_template_get_type), (gst_ghost_pad_get_type):
10365 * gst/gstpluginfeature.c: (gst_plugin_feature_get_type):
10366 * gst/gstqueue.c: (gst_queue_get_type):
10367 * gst/gstregistry.c: (gst_registry_get_type):
10368 * gst/gstsystemclock.c: (gst_system_clock_get_type):
10369 * gst/gstthread.c: (gst_thread_get_type):
10370 don't use memchunks for these objects, use malloc instead
10372 2004-04-08 Thomas Vander Stichele <thomas at apestaart dot org>
10374 * docs/gst/.cvsignore:
10375 * docs/gst/Makefile.am:
10376 * docs/gst/gstreamer-sections.txt:
10377 * docs/gst/tmpl/gstaggregator.sgml:
10378 * docs/gst/tmpl/gstbuffer.sgml:
10379 * docs/gst/tmpl/gstclock.sgml:
10380 * docs/gst/tmpl/gstelement.sgml:
10381 * docs/gst/tmpl/gstfakesink.sgml:
10382 * docs/gst/tmpl/gstfakesrc.sgml:
10383 * docs/gst/tmpl/gstfdsink.sgml:
10384 * docs/gst/tmpl/gstfdsrc.sgml:
10385 * docs/gst/tmpl/gstfilesink.sgml:
10386 * docs/gst/tmpl/gstfilesrc.sgml:
10387 * docs/gst/tmpl/gstidentity.sgml:
10388 * docs/gst/tmpl/gstindex.sgml:
10389 * docs/gst/tmpl/gstinfo.sgml:
10390 * docs/gst/tmpl/gstmd5sink.sgml:
10391 * docs/gst/tmpl/gstmultifilesrc.sgml:
10392 * docs/gst/tmpl/gstpad.sgml:
10393 * docs/gst/tmpl/gstpipefilter.sgml:
10394 * docs/gst/tmpl/gstpipeline.sgml:
10395 * docs/gst/tmpl/gstpluginfeature.sgml:
10396 * docs/gst/tmpl/gstqueue.sgml:
10397 * docs/gst/tmpl/gstregistry.sgml:
10398 * docs/gst/tmpl/gstscheduler.sgml:
10399 * docs/gst/tmpl/gstshaper.sgml:
10400 * docs/gst/tmpl/gstspider.sgml:
10401 * docs/gst/tmpl/gstspideridentity.sgml:
10402 * docs/gst/tmpl/gststatistics.sgml:
10403 * docs/gst/tmpl/gstsystemclock.sgml:
10404 * docs/gst/tmpl/gsttee.sgml:
10405 * docs/gst/tmpl/gstthread.sgml:
10406 * docs/gst/tmpl/gsttypefind.sgml:
10407 * docs/gst/tmpl/gstutils.sgml:
10408 further doc build fixes
10410 2004-04-07 Thomas Vander Stichele <thomas at apestaart dot org>
10412 * docs/gst/Makefile.am:
10413 make docs exit on scanning problems
10414 fix nonsrcdir build issues
10415 * docs/gst/gstreamer-sections.txt:
10416 adding stuff from -unused
10418 create GstQueueSize
10419 * gst/schedulers/cothreads_compat.h:
10420 fix cothread warnings
10422 2004-04-07 Thomas Vander Stichele <thomas at apestaart dot org>
10424 * docs/gst/gstreamer-sections.txt:
10425 remove defines deprecated by Benjamin
10427 2004-04-07 Benjamin Otte <otte@gnome.org>
10429 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
10430 when the buffer is complete, don't check if other buffers are needed
10431 * gst/elements/gstfilesrc.c: (gst_filesrc_srcpad_event):
10432 check that the offset is >0 so we don't try to read before the
10433 beginning of the file
10434 * gst/gstpad.c: (gst_pad_set_pad_template):
10435 sink the template, so we don't end up with 130k pad templates
10437 2004-04-06 Benjamin Otte <otte@gnome.org>
10439 * gst/autoplug/gstspider.c: (gst_spider_link_add):
10440 don't ref the element, adding already reffed it. And we didn't unref
10441 it later anyway... (huge memleak when you used many spider elements)
10442 * gst/gstelement.c: (gst_element_base_class_finalize):
10443 * gst/gstelementfactory.c: (gst_element_factory_cleanup),
10444 (gst_element_register):
10445 * gst/gsturi.c: (gst_element_make_from_uri):
10446 use gst_object_(un)ref instead of g_object(un)ref
10448 2004-04-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
10451 remove macro that wouldn't work anymore because struct member has
10453 * gst/schedulers/entryscheduler.c: (schedule_forward):
10454 fix segfault for unconnected pads
10456 2004-04-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
10458 reviewed by David Schleef <ds@schleef.org>
10461 *_FORMAT modifiers should require putting a % in front of them for
10462 consistency reasons.
10464 2004-04-05 Colin Walters <walters@redhat.com>
10466 * configure.ac (VALGRIND_CFLAGS, VALGRIND_LIBS): Remove spurious
10469 2004-04-05 Benjamin Otte <otte@gnome.org>
10473 * gst/gst_private.h:
10474 * gst/gstinfo.c: (__gst_in_valgrind), (_gst_debug_init):
10475 add support for detecting if GStreamer runs inside valgrind.
10476 requires valgrind (d'oh) and --enable-debug for correct cdetection.
10477 print a big message in valgrind that GStreamer has detected it's
10478 running inside and might now use different code.
10479 * gst/gstmemchunk.c: (populate), (free_area),
10480 (gst_mem_chunk_destroy), (gst_mem_chunk_alloc),
10481 (gst_mem_chunk_free):
10482 flag memchunks for valgrind, so it can detect leaking of chunks.
10483 This allows detecting leaks of GstBuffer and GstEvent correctly
10486 2004-04-05 David Schleef <ds@schleef.org>
10488 * gst/gsttrace.h: Fix #ifdef nesting (bug #139109) Patch from
10489 jensgr@gmx.net (Jens Granseuer)
10491 2004-04-05 David Schleef <ds@schleef.org>
10493 * gst/gstbuffer.c: (_gst_buffer_sub_free),
10494 (gst_buffer_default_free), (gst_buffer_default_copy),
10495 (gst_buffer_alloc_chunk), (gst_buffer_free_chunk),
10496 (gst_buffer_new), (gst_buffer_create_sub): Allocate GstBuffer
10497 structures in one place.
10499 2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
10501 * gst/gstinfo.h: adding Ronald's timestamp debugging defines
10502 (GST_TIME_FORMAT, GST_TIME_ARGS)
10504 2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
10506 * testsuite/elements/Makefile.am:
10507 disable test until it stops breaking make distcheck
10509 2004-04-05 Johan Dahlin <johan@gnome.org>
10511 * po/sv.po: Updated translation
10513 2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
10515 * gst/gstplugin.c: (gst_plugin_load_file):
10516 fix segfault for when original plugin was loaded statically
10518 2004-04-05 Benjamin Otte <otte@gnome.org>
10520 * testsuite/debug/category.c: (main):
10521 * testsuite/debug/commandline.c: (main):
10522 * testsuite/debug/output.c: (main):
10523 fix tests to work again with debugging enabled
10525 2004-04-05 Benjamin Otte <otte@gnome.org>
10527 * gst/schedulers/gstbasicscheduler.c:
10528 (gst_basic_scheduler_pad_link):
10529 fix to work with recent scheduling changes
10531 2004-04-05 Benjamin Otte <otte@gnome.org>
10533 * gst/schedulers/entryscheduler.c: (some functions, dunno which,
10534 prepareChangeLog doesn't work when cvs indents):
10535 don't throw an error when no element can be scheduled, there's too
10536 many weird reasons why it doesn't work. Return STOPPED instead.
10537 decoupled elemts' schedulability doesn't depend on bufpens.
10539 2004-04-04 Benjamin Otte <otte@gnome.org>
10541 * gst/schedulers/gstbasicscheduler.c:
10542 (gst_basic_scheduler_pad_select):
10543 fix uninitialized variable warnings
10545 2004-04-04 Benjamin Otte <otte@gnome.org>
10547 * gst/gstpad.c: (gst_pad_collect_valist):
10548 fix uninitialized variable warning
10549 * gst/schedulers/entryscheduler.c: (schedule_forward):
10550 fix shadowed variable
10552 2004-04-04 Benjamin Otte <otte@gnome.org>
10554 * gst/gstpad.c: (gst_pad_collect_array), (gst_pad_collectv),
10555 (gst_pad_collect), (gst_pad_collect_valist), (gst_pad_selectv),
10558 * gst/gstscheduler.c: (gst_scheduler_pad_select),
10559 (gst_scheduler_lock_element), (gst_scheduler_unlock_element):
10560 * gst/gstscheduler.h:
10561 implement gst_pad_collect as replacement for gst_pad_select.
10562 deprecate gst_pad_select and gst_scheduler_(un)lock_element
10563 add new flag GST_SCHEDULER_FLAG_NEW_API for API that implements the
10564 new pad_select, lock and unlock calls.
10565 * gst/cothreads.c: (cothread_destroy), (cothread_switch):
10567 * gst/schedulers/cothreads_compat.h:
10568 * gst/schedulers/gthread-cothreads.h:
10569 remove unused cothread_lock and cothread_unlock calls
10570 * gst/schedulers/entryscheduler.c:
10571 (gst_entry_scheduler_class_init), (gst_entry_scheduler_init),
10572 (_can_schedule_loop), (gst_entry_scheduler_get_handler),
10573 (gst_entry_scheduler_pad_select):
10575 * gst/schedulers/gstbasicscheduler.c:
10576 (gst_basic_scheduler_class_init), (gst_basic_scheduler_init),
10577 (gst_basic_scheduler_pad_select):
10578 remove useless lock and unlock calls, update pad_select to new API
10580 * gst/schedulers/gstoptimalscheduler.c:
10581 (gst_opt_scheduler_class_init):
10582 remove useless select, lock and unlock function calls
10583 * gst/elements/gstaggregator.c: (gst_aggregator_loop):
10584 use gst_pad_collect instead of gst_pad_select
10586 2004-04-04 Benjamin Otte <otte@gnome.org>
10588 * gst/schedulers/entryscheduler.c: (_can_schedule_get),
10589 (can_schedule_pad), (can_schedule), (schedule), (schedule_forward),
10590 (schedule_next_element), (print_entry):
10591 add can_schedule_pad to handle element states.
10592 add schedule_forward to select the correct entry to schedule next
10594 2004-04-03 Benjamin Otte <otte@gnome.org>
10596 * gst/schedulers/entryscheduler.c:
10597 remove unused variable, fix error inside Rb, fix compile warning in
10600 2004-04-03 Benjamin Otte <otte@gnome.org>
10602 * gst/schedulers/entryscheduler.c:
10603 completely revamp the inner workings, so it's a lot easier to
10604 understand and extend
10606 2004-04-03 Andy Wingo <wingo@pobox.com>
10608 * gst/schedulers/gstoptimalscheduler.c (GstOptSchedulerGroupLink):
10609 Rename ->group1 and ->group2 to ->src and ->sink, respectively.
10610 This allows better introspection of pipeline topology.
10611 (add_to_chain): Don't do trickery to put loop elements first;
10612 rather, queue a chain sort by marking the chain as dirty.
10613 (remove_from_chain): Mark the chain dirty.
10614 (sort_chain): New function. Sorts the group list so that terminal
10615 sinks are first. This means elements on the sink side will be
10616 preferentially sscheduled before elements on the src side of the
10618 (chain_recursively_migrate_group): Use OTHER_GROUP_LINK.
10619 (schedule_chain): If the chain is marked DIRTY, call sort_chain.
10620 (gst_opt_scheduler_pad_link, gst_opt_scheduler_pad_unlink)
10621 (group_inc_link): Change argument and variable names to match the
10622 new link structure member names (src and sink).
10623 (group_dec_link): Add some description
10625 2004-04-03 Benjamin Otte <otte@gnome.org>
10627 * gst/autoplug/gstspider.c: (gst_spider_identity_plug):
10629 * testsuite/debug/category.c: (main):
10630 * testsuite/debug/commandline.c: (main):
10631 * testsuite/debug/output.c: (main):
10632 * testsuite/debug/printf_extension.c: (main):
10633 fix to successfully build and test with --disable-gst-debug
10634 configure switch (fixes #138705)
10636 2004-04-03 Benjamin Otte <otte@gnome.org>
10638 * docs/pwg/building-boiler.xml:
10639 add cvs login line and s/anonymous/anoncvs/
10641 2004-04-03 Tim-Phillip Müller <t.i.m@zen.co.uk>
10643 reviewed by Benjamin Otte <otte@gnome.org>
10645 * gst/gststructure.c: (gst_structure_free):
10646 memleak fix: free fields array (partial fix for #134839)
10648 2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
10650 * docs/random/ds/0.9-suggested-changes:
10651 Add a note to change handoff use in fakesrc to be usable in
10652 a more generic way (fakesrc should be renamed to appsrc or so).
10653 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10654 Change signal type to scope, so we can fill the buffer in the
10655 handoff handler (that's the whole use of this signal...).
10657 2004-04-01 Ronald Bultje <rbultje@ronald.bitfreak.net>
10659 * docs/pwg/other-ntoone.xml:
10660 Document muxers and n-to-1 elements.
10662 2004-04-01 Martin Soto <martinsoto@users.sourceforge.net>
10664 * gst/registries/gstxmlregistry.c
10665 (gst_xml_registry_rebuild_recurse): Fix the algorithm to
10666 determine if a file is a G_MODULE. The old one discards paths
10667 containing "so" somewhere in the middle. My home directory is
10668 called "soto". Go figure...
10670 2004-03-31 David Schleef <ds@schleef.org>
10672 * gst/gstbuffer.c: (gst_buffer_join): Add function gst_buffer_join()
10673 to eventually deprecate gst_buffer_merge(). (bug: #136408)
10676 2004-03-31 David Schleef <ds@schleef.org>
10678 * gst/gstvalue.c: (gst_value_union_int_int_range),
10679 (gst_value_union_int_range_int_range), (gst_value_can_union),
10680 (gst_value_union), (_gst_value_initialize): Add some union
10681 implementations. We didn't have any previously.
10682 * testsuite/caps/Makefile.am:
10683 * testsuite/caps/audioscale.c: (gst_audioscale_expand_value),
10684 (gst_audioscale_getcaps), (test_caps), (main): A little test
10685 that is the same as the caps manipulation in audioscale.
10687 2004-03-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
10689 * docs/faq/general.xml:
10690 add entry about "does gst support format X?"
10692 2004-03-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
10697 fix GST_BOILERPLATE_FULL to not throw casting errors on C++
10699 2004-03-30 Benjamin Otte <otte@gnome.org>
10701 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
10702 set the offset of the buffer to the requested offset
10703 * gst/elements/gsttypefind.c: (stop_typefinding):
10704 revert patch 1.18 (which I unfortunately don't know the reason for).
10705 This is needed to allow downstream elements to seek. Otherwise
10706 typefind might overwrite a previous seek by downstream elements.
10707 This lead to errors with id3tag and typefind on some mp3s.
10708 * gst/schedulers/entryscheduler.c: (COTHREADS_TYPE),
10709 (gst_entry_scheduler_iterate):
10710 be more verbose when debugging
10712 2004-03-30 Thomas Vander Stichele <thomas at apestaart dot org>
10714 * gst/gstcaps.c: (gst_caps_from_string_inplace):
10715 make sure we don't get NULL strings
10717 2004-03-30 Thomas Vander Stichele <thomas at apestaart dot org>
10720 * gst/gstelement.c:
10721 * gst/gstelementfactory.c: (gst_element_factory_get_type):
10722 * gst/gstindex.c: (gst_index_resolver_get_type),
10723 (gst_index_get_type), (gst_index_factory_get_type):
10727 * gst/gsturi.c: (gst_uri_handler_get_type):
10729 first batch of documentation fixes
10731 2004-03-29 David Schleef <ds@schleef.org>
10733 * docs/gst/Makefile.am: Disable a bunch of headers from being scanned
10734 * docs/gst/gstreamer-docs.sgml: More hacking
10735 * docs/gst/gstreamer-sections.txt:
10736 * docs/gst/tmpl/cothreads_compat.sgml:
10737 * docs/gst/tmpl/gstcaps.sgml:
10738 * docs/gst/tmpl/gstclock.sgml:
10739 * docs/gst/tmpl/gstelement.sgml:
10740 * docs/gst/tmpl/gstevent.sgml:
10741 * docs/gst/tmpl/gstpad.sgml:
10742 * docs/gst/tmpl/gstutils.sgml:
10743 * docs/gst/tmpl/gstxml.sgml:
10744 * docs/gst/tmpl/gthread-cothreads.sgml:
10745 * docs/random/ds/0.9-suggested-changes:
10746 * gst/elements/gstfakesink.h: doc fixes
10747 * gst/elements/gstfakesrc.h: doc fixes
10748 * gst/gstcaps.c: doc fixes
10749 * gst/gstcaps.h: doc fixes
10750 * gst/gstelement.c: doc fixes
10751 * gst/gstelement.h: doc fixes
10752 * gst/gstindex.c: doc fixes
10753 * gst/gstinfo.c: doc fixes
10754 * gst/gstpad.c: doc fixes
10755 * gst/gstpad.h: doc fixes
10756 * gst/gstplugin.c: doc fixes
10757 * gst/gsttypefind.h: doc fixes
10758 * gst/gsturi.c: doc fixes
10759 * gst/gstvalue.c: doc fixes
10761 2004-03-29 Colin Walters <walters@redhat.com>
10763 * gst/registries/gstxmlregistry.c (get_time)
10764 (plugin_times_older_than_recurse):
10765 Use the result of stat to determine whether a path is a file,
10766 so we don't attempt to opendir() files.
10768 2004-03-29 Benjamin Otte <otte@gnome.org>
10770 * gst/gstpad.c: (gst_pad_set_explicit_caps):
10771 print caps in debugging output when setting caps failed
10772 * gst/schedulers/entryscheduler.c: (COTHREADS_TYPE),
10773 (schedule_next_element), (get_buffer), (run_chainhandler),
10774 (element_may_start), (gst_entry_scheduler_chain_handler),
10775 (gst_entry_scheduler_get_handler),
10776 (gst_entry_scheduler_state_transition),
10777 (gst_entry_scheduler_pad_link):
10778 make this scheduler a testcase for mandatory
10779 discont-before-first-buffer which is needed if we want to allow apps
10780 to release the sound device.
10781 add SCHED_ASSERT macro to print scheduler state before an assertion
10784 2004-03-29 Benjamin Otte <otte@gnome.org>
10787 replace by LGPL (former COPYING.LIB). The core is completely
10792 2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
10796 updated Afrikaans and Swedish
10798 2004-03-29 Thomas Vander Stichele <thomas at apestaart dot org>
10802 adding Azerbaijani (Mətin Əmirov)
10804 2004-03-28 Martin Soto <martinsoto@users.sourceforge.net>
10806 * gst/gstelement.h:
10807 * gst/gstelement.c (gst_element_set_time_delay): New function for
10808 setting element time taking into account a hardware buffering
10810 (gst_element_set_time): Now just an invocation of
10811 gst_element_set_time_delay.
10813 * gst/gstclock.c (gst_clock_get_event_time_delay): New function
10814 allowing to set event times in the future.
10815 (gst_clock_get_event_time): Now just an invocation of
10816 gst_clock_get_event_time_delay.
10818 2004-03-28 Benjamin Otte <otte@gnome.org>
10820 * gst/gstbin.c: (gst_bin_set_element_sched),
10821 (gst_bin_unset_element_sched):
10822 don't add decoupled elements to schedulers - otherwise it's
10823 impossible to control if a link to a decoupled element was already
10824 removed from a scheduler or not.
10825 * gst/schedulers/cothreads_compat.h:
10826 * gst/schedulers/gthread-cothreads.h:
10827 add COTHREADS_TYPE macro. Make do_cothread_set_func a macro so there
10828 is no "unused" warning.
10829 * gst/schedulers/Makefile.am:
10830 * gst/schedulers/entryscheduler.c:
10831 add new scheduler, based on ideas from talking to David and Martin.
10832 It's supposed to be small and correct. Currently it's also slow (but
10833 it's not noticable)
10834 * examples/retag/retag.c: (main):
10835 * testsuite/bytestream/test1.c: (main):
10836 fix missing NULLs at end of variadic functions
10837 * testsuite/elements/.cvsignore:
10840 2004-03-28 Jan Schmidt <thaytan@mad.scientist.com>
10843 Added GST_EVENT_ANY for GstEvents that pass a GstStructure
10845 2004-03-25 David Schleef <ds@schleef.org>
10847 * docs/gst/gstreamer-sections.txt: More doc hacking.
10848 * docs/gst/tmpl/gstaggregator.sgml:
10849 * docs/gst/tmpl/gstautoplugfactory.sgml:
10850 * docs/gst/tmpl/gstbin.sgml:
10851 * docs/gst/tmpl/gstbuffer.sgml:
10852 * docs/gst/tmpl/gstbufferstore.sgml:
10853 * docs/gst/tmpl/gstfakesink.sgml:
10854 * docs/gst/tmpl/gstfakesrc.sgml:
10855 * docs/gst/tmpl/gstmd5sink.sgml:
10856 * docs/gst/tmpl/gstreamer-unused.sgml:
10857 * docs/gst/tmpl/gstsearchfuncs.sgml:
10858 * docs/gst/tmpl/gstshaper.sgml:
10859 * docs/gst/tmpl/gstspider.sgml:
10860 * docs/gst/tmpl/gsttee.sgml:
10861 * docs/gst/tmpl/gstutils.sgml:
10862 * docs/gst/tmpl/gstvalue.sgml:
10863 * docs/gst/tmpl/gstxml.sgml:
10864 * gst/Makefile.am: Remove gstthreaddummy.c. It never worked,
10865 and we don't support it.
10866 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
10867 (gst_use_threads), (gst_has_threads): same
10868 * gst/gstthreaddummy.c: same
10869 * gst/autoplug/gstspider.c: Make gst_spider_details static.
10870 * gst/autoplug/gstspider.h: same
10871 * gst/elements/gstaggregator.h: Remove bogus function from header
10872 * gst/elements/gstfakesink.h: same
10873 * gst/elements/gstfakesrc.h: same
10874 * gst/elements/gstmd5sink.h: same
10875 * gst/elements/gstshaper.h: same
10876 * gst/elements/gsttee.h: same
10877 * gst/gstbin.c: doc fixes
10878 * gst/gstbin.h: Remove unused definition.
10879 * gst/gstbuffer.c: doc fixes
10880 * gst/gstcaps.c: (gst_caps_is_always_compatible): doc fixes
10881 * gst/gstfilter.c: doc fixes
10882 * gst/gsttag.c: doc fixes
10883 * gst/gstvalue.c: doc fixes
10885 2004-03-25 Ronald Bultje <rbultje@ronald.bitfreak.net>
10887 * docs/pwg/advanced-types.xml:
10888 Document typefinding.
10889 * docs/pwg/other-oneton.xml:
10890 Document one-to-n elements, demuxers and parsers.
10892 2004-03-25 Tim-Philipp Müller <t.i.m@zen.co.uk>
10894 reviewed by: David Schleef <ds@schleef.org>
10896 * configure.ac: Check bison version (bug #127838)
10898 2004-03-25 David Schleef <ds@schleef.org>
10900 * docs/gst/gstreamer-docs.sgml: More fine tuning.
10901 * docs/gst/gstreamer-sections.txt:
10902 * docs/gst/tmpl/gstautoplug.sgml:
10903 * docs/gst/tmpl/gststaticautoplug.sgml:
10904 * docs/gst/tmpl/gststaticautoplugrender.sgml:
10905 * docs/gst/tmpl/gstutils.sgml:
10906 * docs/gst/tmpl/gstxml.sgml:
10908 2004-03-24 David Schleef <ds@schleef.org>
10910 * docs/gst/gstreamer-docs.sgml: I got tired of the reference
10911 manual being such complete crap, that I decided to do major
10912 hacking of it. This checkin replaces any fine tuning that
10913 may have been done previously, with the benefit of actually
10914 being complete for much of the API that was changed since
10915 0.6. Further fine tuning will occur shortly. (bug #134721)
10916 * docs/gst/gstreamer-sections.txt:
10917 * docs/gst/tmpl/GstBin.sgml:
10918 * docs/gst/tmpl/GstBuffer.sgml:
10919 * docs/gst/tmpl/GstCaps.sgml:
10920 * docs/gst/tmpl/GstClock.sgml:
10921 * docs/gst/tmpl/GstCompat.sgml:
10922 * docs/gst/tmpl/GstData.sgml:
10923 * docs/gst/tmpl/GstElement.sgml:
10924 * docs/gst/tmpl/GstEvent.sgml:
10925 * docs/gst/tmpl/GstIndex.sgml:
10926 * docs/gst/tmpl/GstStructure.sgml:
10927 * docs/gst/tmpl/GstTag.sgml:
10928 * docs/gst/tmpl/cothreads.sgml:
10929 * docs/gst/tmpl/cothreads_compat.sgml:
10930 * docs/gst/tmpl/gettext.sgml:
10931 * docs/gst/tmpl/grammar.tab.sgml:
10932 * docs/gst/tmpl/gst-i18n-app.sgml:
10933 * docs/gst/tmpl/gst-i18n-lib.sgml:
10934 * docs/gst/tmpl/gst.sgml:
10935 * docs/gst/tmpl/gst_private.sgml:
10936 * docs/gst/tmpl/gstaggregator.sgml:
10937 * docs/gst/tmpl/gstarch.sgml:
10938 * docs/gst/tmpl/gstatomic.sgml:
10939 * docs/gst/tmpl/gstatomic_impl.sgml:
10940 * docs/gst/tmpl/gstbin.sgml:
10941 * docs/gst/tmpl/gstbuffer.sgml:
10942 * docs/gst/tmpl/gstbufferstore.sgml:
10943 * docs/gst/tmpl/gstcaps.sgml:
10944 * docs/gst/tmpl/gstclock.sgml:
10945 * docs/gst/tmpl/gstcompat.sgml:
10946 * docs/gst/tmpl/gstconfig.sgml:
10947 * docs/gst/tmpl/gstcpu.sgml:
10948 * docs/gst/tmpl/gstdata.sgml:
10949 * docs/gst/tmpl/gstdata_private.sgml:
10950 * docs/gst/tmpl/gstelement.sgml:
10951 * docs/gst/tmpl/gstenumtypes.sgml:
10952 * docs/gst/tmpl/gsterror.sgml:
10953 * docs/gst/tmpl/gstevent.sgml:
10954 * docs/gst/tmpl/gstfakesink.sgml:
10955 * docs/gst/tmpl/gstfakesrc.sgml:
10956 * docs/gst/tmpl/gstfilesink.sgml:
10957 * docs/gst/tmpl/gstfilter.sgml:
10958 * docs/gst/tmpl/gstindex.sgml:
10959 * docs/gst/tmpl/gstinfo.sgml:
10960 * docs/gst/tmpl/gstinterface.sgml:
10961 * docs/gst/tmpl/gstlog.sgml:
10962 * docs/gst/tmpl/gstmacros.sgml:
10963 * docs/gst/tmpl/gstmarshal.sgml:
10964 * docs/gst/tmpl/gstmd5sink.sgml:
10965 * docs/gst/tmpl/gstmultifilesrc.sgml:
10966 * docs/gst/tmpl/gstobject.sgml:
10967 * docs/gst/tmpl/gstpad.sgml:
10968 * docs/gst/tmpl/gstparse.sgml:
10969 * docs/gst/tmpl/gstpipeline.sgml:
10970 * docs/gst/tmpl/gstplugin.sgml:
10971 * docs/gst/tmpl/gstpluginfeature.sgml:
10972 * docs/gst/tmpl/gstqueue.sgml:
10973 * docs/gst/tmpl/gstreamer-unused.sgml:
10974 * docs/gst/tmpl/gstregistry.sgml:
10975 * docs/gst/tmpl/gstregistrypool.sgml:
10976 * docs/gst/tmpl/gstscheduler.sgml:
10977 * docs/gst/tmpl/gstsearchfuncs.sgml:
10978 * docs/gst/tmpl/gstshaper.sgml:
10979 * docs/gst/tmpl/gstspider.sgml:
10980 * docs/gst/tmpl/gstspideridentity.sgml:
10981 * docs/gst/tmpl/gststructure.sgml:
10982 * docs/gst/tmpl/gstsystemclock.sgml:
10983 * docs/gst/tmpl/gsttag.sgml:
10984 * docs/gst/tmpl/gsttaginterface.sgml:
10985 * docs/gst/tmpl/gsttee.sgml:
10986 * docs/gst/tmpl/gstthread.sgml:
10987 * docs/gst/tmpl/gsttrace.sgml:
10988 * docs/gst/tmpl/gsttrashstack.sgml:
10989 * docs/gst/tmpl/gsttypefind.sgml:
10990 * docs/gst/tmpl/gsttypes.sgml:
10991 * docs/gst/tmpl/gsturi.sgml:
10992 * docs/gst/tmpl/gsturitype.sgml:
10993 * docs/gst/tmpl/gstutils.sgml:
10994 * docs/gst/tmpl/gstvalue.sgml:
10995 * docs/gst/tmpl/gstversion.sgml:
10996 * docs/gst/tmpl/gstxml.sgml:
10997 * docs/gst/tmpl/gstxmlregistry.sgml:
10998 * docs/gst/tmpl/gthread-cothreads.sgml:
10999 * docs/gst/tmpl/types.sgml:
11001 2004-03-24 Ronald Bultje <rbultje@ronald.bitfreak.net>
11003 * docs/pwg/other-sink.xml:
11004 * docs/pwg/other-source.xml:
11005 Documentation on how to write source and sink elements. Other
11006 stuff in chapter 4 (1-to-n/demuxer, n-to-1/muxer, n-to-n,
11007 manager, autoplugger) are all still pending.
11009 2004-03-25 Benjamin Otte <otte@gnome.org>
11011 * testsuite/elements/Makefile.am:
11012 * testsuite/elements/gst-compprep-check:
11013 add check to make sure gst-compprep works
11014 * testsuite/elements/gst-inspect-check.in:
11015 improve initialization output
11016 * testsuite/Makefile.am:
11017 * testsuite/gst-inspect-check:
11020 2004-03-24 David Schleef <ds@schleef.org>
11022 * testsuite/elements/Makefile.am:
11023 * testsuite/elements/gst-inspect-check.in: Add gst-inspect-check
11026 2004-03-24 Benjamin Otte <otte@gnome.org>
11028 * libs/gst/control/dparam.c: (gst_dparam_attach),
11029 (gst_dparam_detach):
11030 * libs/gst/control/dparammanager.c: (gst_dpman_init):
11031 fix lvalue casts for real
11033 2004-03-24 Benjamin Otte <otte@gnome.org>
11035 * gst/schedulers/gstbasicscheduler.c:
11036 (gst_basic_scheduler_src_wrapper):
11037 * gst/schedulers/gstoptimalscheduler.c:
11038 (gst_opt_scheduler_loop_wrapper), (gst_opt_scheduler_get_wrapper),
11039 (pad_clear_queued), (gst_opt_scheduler_add_element),
11040 (gst_opt_scheduler_remove_element):
11041 fix GStreamer to not have issues with lvalue casts anymore (fixes
11044 2004-03-24 Benjamin Otte <otte@gnome.org>
11046 * gst/gstelement.c:
11047 add documentation about a gobject quirk where the object hasn't the
11048 correct class pointer set on initialization
11049 * gst/schedulers/gstbasicscheduler.c:
11050 (gst_basic_scheduler_src_wrapper):
11051 make sure to not run into an infinite loop
11053 2004-03-22 Benjamin Otte <otte@gnome.org>
11055 * gst/gstutils.c: (gst_util_dump_mem):
11057 first argument of gst_util_dump_mem should be const
11059 2004-03-22 Johan Dahlin <johan@gnome.org>
11061 * gst/gstvalue.h: Clean up a little bit.
11063 2004-03-21 Tim-Philipp Müller <t.i.m@zen.co.uk>
11065 reviewed by Benjamin Otte <otte@gnome.org>
11067 * gst/autoplug/gstspider.c: (gst_spider_dispose):
11068 * gst/elements/gstaggregator.c: (gst_aggregator_finalize),
11069 (gst_aggregator_class_init), (gst_aggregator_init):
11070 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
11071 (gst_filesrc_dispose), (gst_filesrc_set_location):
11072 * gst/elements/gstidentity.c: (gst_identity_finalize),
11073 (gst_identity_class_init), (gst_identity_chain):
11074 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_open_file):
11075 * gst/elements/gststatistics.c: (gst_statistics_finalize),
11076 (gst_statistics_class_init):
11077 * gst/elements/gsttee.c: (gst_tee_finalize), (gst_tee_class_init),
11078 (gst_tee_get_property):
11079 clean up used memory in this elements correctly on teardown (closes
11082 2004-03-20 Colin Walters <walters@redhat.com>
11084 * gst/registries/gstxmlregistry.c:
11085 (gst_xml_registry_open_func, gst_xml_registry_close_func): Make
11086 registry saving atomic.
11088 2004-03-20 Colin Walters <walters@redhat.com>
11090 * gst/registries/gstxmlregistry.c (gst_xml_registry_get_perms_func):
11092 access() instead of actually creating and deleting files.
11094 2004-03-18 David Schleef <ds@schleef.org>
11096 * configure.ac: Remove HAVE_ATOMIC_H test, since it's unused.
11099 2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
11101 * po/sv.po: updated translation (Christian Rose)
11103 2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
11105 * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
11106 (gst_filesink_get_query_types), (_do_init),
11107 (gst_filesink_handle_event), (gst_filesink_uri_get_protocols):
11108 return FALSE silently
11109 * po/af.po: updated translation (Petri Jooste)
11111 2004-03-18 Thomas Vander Stichele <thomas at apestaart dot org>
11115 dist common properly
11121 refreshing translations
11123 2004-03-17 Thomas Vander Stichele <thomas at apestaart dot org>
11128 adding Swedish (Christian Rose) and Afrikaans (Petri Jooste)
11130 2004-03-17 Thomas Vander Stichele <thomas at apestaart dot org>
11132 * Makefile.am: use common/release.mak
11134 2004-03-17 Thomas Vander Stichele <thomas at apestaart dot org>
11136 * docs/faq/gst-uninstalled:
11137 adding gst-monkeysaudio to the list of possible plugin dirs
11139 2004-03-16 David Schleef <ds@schleef.org>
11141 * gst/gst.c: (gst_get_popt_options), (gst_init_get_popt_table),
11142 (gst_init_check_with_popt_table): Fix some gettext strings to
11143 make them easier to translate. Required making the strings
11146 2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
11148 * configure.ac: bump nano to 1
11150 === release 0.8.0 ===
11152 2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
11154 * configure.ac: release 0.8.0, "Executive Slacks"
11156 2004-03-16 Johan Dahlin <johan@gnome.org>
11158 * gst/schedulers/gstoptimalscheduler.c
11159 (gst_opt_scheduler_pad_unlink): Remove double ;,
11160 spotted by Scott Wheeler
11162 2004-03-16 Thomas Vander Stichele <thomas at apestaart dot org>
11164 * configure.ac: bump libtool version
11166 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
11169 * gst/gststructure.h:
11170 add reserved padding
11172 2004-03-15 Benjamin Otte <otte@gnome.org>
11174 * gst/elements/gstfdsrc.c: (gst_fdsrc_get):
11175 set the first parameter for select call correctly.
11178 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
11180 * *.c,*.h: don't mix tabs and spaces
11182 2004-03-15 Johan Dahlin <johan@gnome.org>
11184 * gst/schedulers/gstoptimalscheduler.c
11185 (gst_opt_scheduler_pad_unlink): Fix bug that causes totem to
11186 crash on MPEG playback. My boolean arithmetic is a bit rusty.
11188 * tools/Makefile.am (EXTRA_DIST): Add gst-indent
11190 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
11193 fix gst-register rules
11195 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
11198 use versioned gst-register
11200 2004-03-15 Thomas Vander Stichele <thomas at apestaart dot org>
11202 * docs/libs/gstreamer-libs-sections.txt:
11203 remove </SUBSECTION>
11205 * gst/gstregistry.c: (gst_registry_add_plugin):
11206 * gst/registries/gstxmlregistry.c: (gst_xml_registry_get_type),
11207 (gst_xml_registry_open_func), (gst_xml_registry_close_func):
11208 add debugging and fix some comment blocks
11210 2004-03-15 Johan Dahlin <johan@gnome.org>
11212 * *.h: Revert indent changes.
11214 2004-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
11216 * gst/registries/gstxmlregistry.c: (gst_xml_registry_load_plugin):
11217 g_error_free the g_error
11218 * tools/gst-feedback-m.m:
11219 check for other versions of gstreamer
11220 * tools/gst-indent:
11223 2004-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
11225 * tools/gst-register.c: do not spill paths when registries are not
11226 writable, until we fix the "user running gst-register" case.
11228 2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
11230 * *.c, *.h: commit of gst-indent run on core
11232 2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
11234 * tools/gst-indent:
11235 * tools/Makefile.am:
11236 add our indentation style as a script
11238 2004-03-13 Thomas Vander Stichele <thomas at apestaart dot org>
11242 added Serbian translation
11244 2004-03-13 Benjamin Otte <otte@gnome.org>
11246 * gst/gstelement.c:
11247 add documentation note about gst_element_found_tags_for_pad not
11248 being usable in getfunctions. (see #137042)
11250 2004-03-12 David Schleef <ds@schleef.org>
11252 * gst/gstcaps.h: jdahlin, what are you smoking? We can't just
11253 change API right now! Readd gst_caps_is_simple() macro.
11254 * gst/gstelement.c: (gst_element_base_class_finalize): Fix
11255 uninitialized variable. I'd bet this caused crashes.
11256 * gst/gstinfo.c: (gst_debug_print_object): Fix 64-bit cleanliness.
11258 2004-03-12 Johan Dahlin <johan@gnome.org>
11260 * gst/gstcaps.h (GST_CAPS_IS_SIMPLE): Capitalize macro
11261 * gst/gstcaps.h: Clean up
11263 * gst/gst.c (init_post): call gst_caps_get_type() instead of
11264 _gst_caps_initalize()
11266 * gst/gstcaps.c: Style fixes, stay closer to glib and friends
11267 (_gst_caps_initialize): Remove, in favor for gst_caps_get_type()
11269 * gst/gststructure.c (gst_structure_get_type): Ditto
11271 * gst/gststructure.h: Ditto
11273 2004-03-11 Ronald Bultje <rbultje@ronald.bitfreak.net>
11275 * gst/gstqueue.c: (gst_queue_init):
11276 Reset default max. values in queues. Reason is simply to avoid
11277 braindead use. If you want wider values, use the properties. The
11278 default is supposed to always work. Wider values would make this
11279 beast a memory hog by default (250 full-PAL RGB32 video frames?
11280 That's 440 MB! No thank you).
11282 2004-03-10 David Schleef <ds@schleef.org>
11284 * tools/gst-run.c: (main): Fix crash when no relevant tools
11285 were found. (bug #136793)
11287 2004-03-10 Johan Dahlin <johan@gnome.org>
11289 * gst/schedulers/gstoptimalscheduler.c
11290 (gst_opt_scheduler_pad_unlink): Implement unlink for elements with
11291 links to elements within the same group, so we can finally remove
11292 that annoying warning. Refactor the code a little bit
11293 (group_dec_links_for_element): Split out
11295 2004-03-09 David Schleef <ds@schleef.org>
11297 * docs/manual/dparams-app.xml: Fix to handle double dparams.
11300 2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
11302 * configure.ac: first bug fix due to major/minor bump
11304 2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
11306 * configure.ac: bump nano to 1
11308 === release 0.7.6 ===
11310 2004-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
11315 releasing 0.7.6, "Almost"
11318 * tools/Makefile.am:
11319 * tools/gst-feedback-m.m:
11322 2004-03-09 Johan Dahlin <johan@gnome.org>
11324 Reviewed by: Thomas Vander Stichele
11326 * gst/gstelement.c (gst_element_class_init): register second
11327 parameter as GST_TYPE_G_ERROR instead of G_TYPE_POINTER, so
11328 language bindings can (de)marshall correctly.
11330 * gst/gsterror.h: Add GST_TYPE_G_ERROR and cleanup a little bit
11332 * gst/gsterror.c (gst_g_error_get_type): New function
11334 * gst/gstmarshal.list: Remove VOID:OBJECT,POINTER,STRING, replace
11335 with VOID:OBJECT,OBJECT,STRING
11337 2004-03-10 Jan Schmidt <thaytan@mad.scientist.com>
11339 * gst/registries/gstxmlregistry.c: (gst_xml_registry_load):
11340 Free a leaked g_timer on early returns.
11342 2004-03-08 Ronald Bultje <rbultje@ronald.bitfreak.net>
11344 * docs/pwg/advanced-types.xml:
11345 Add cinepak description.
11347 2004-03-07 David Schleef <ds@schleef.org>
11349 * docs/random/mimetypes: Added cinepak description
11351 2004-03-07 Andy Wingo <wingo@pobox.com>
11353 * gst/gstbin.c (gst_bin_remove): Debugging fixes.
11355 * gst/schedulers/gstoptimalscheduler.c (destroy_group): Assert
11356 there are no links to other groups when a group is destroyed.
11357 (gst_opt_scheduler_pad_unlink): If the unlink means an element is
11358 removed from a group, make sure the link count to elements linked
11359 to other pads is appropriately decremented. This really fixes
11362 The 1.60->1.61 patch has been reapplied in light of this fix.
11364 * gst/gstelement.c (gst_element_dispose): Really protect against
11365 multiple invocations this time.
11367 2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11369 * docs/gst/gstreamer-sections.txt:
11370 * docs/gst/tmpl/gsttag.sgml:
11371 remove some deprecated functions, document some existing ones
11372 * gst/gsttag.c: (gst_tag_get_flag):
11374 add accessor function
11376 2004-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11378 * docs/gst/gstreamer-sections.txt:
11379 * docs/gst/tmpl/gsttag.sgml:
11380 * docs/gst/tmpl/gstxml.sgml:
11381 * gst/gsttag.c: (gst_tag_get_flag):
11384 2004-03-06 Christophe Fergeau <teuf@gnome.org>
11386 * gst/autoplug/gstspider.c: (gst_spider_identity_plug): fixed caps
11389 2004-03-05 David Schleef <ds@schleef.org>
11391 * REQUIREMENTS: Add bison and flex.
11392 * configure.ac: Fix comment about bison.
11393 * docs/random/ds/0.9-suggested-changes: yer ma
11394 * tools/gst-inspect.c: (print_element_info): Fix warning.
11396 2004-03-05 Benjamin Otte <otte@gnome.org>
11398 * gst/gstelement.c: (gst_element_error_full):
11399 revert recent recursive state changing commit - messing with other
11400 elements' states is evil and should be done by apps only.
11402 2004-03-05 Benjamin Otte <otte@gnome.org>
11404 * gst/gstelement.c: (gst_element_get_compatible_pad_template):
11405 check for empty intersection instead of NULL caps
11406 (gst_element_get_compatible_pad_filtered):
11407 remove old workaround that is only a bug nowadays
11409 2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
11411 * gst/gstelement.c: (gst_element_error_full):
11412 make elements try to recursively change state to PAUSED on all
11413 parents after an error to suppress ensuing warnings
11414 * gst/parse/grammar.y:
11415 make it check if it was able to sync the state, and throw an error
11416 if not, so stuff like
11417 oggdemux ! vorbisdec ! osssink gets caught
11419 2004-03-05 Thomas Vander Stichele <thomas at apestaart dot org>
11421 * configure.ac: use ${libdir} for PLUGINS_DIR since on 64bit
11422 it contains lib64; use AS_AC_EXPAND to handle it properly
11424 2004-03-05 David Schleef <ds@schleef.org>
11426 * gst/gstcpuid_i386.s: Remove unused code
11427 * libs/gst/getbits/getbits.c: (gst_getbits_init),
11428 (gst_getbits_newbuf): Remove MMX code
11429 * libs/gst/getbits/getbits.h: Remove MMX code
11431 2004-03-04 David I. Lehn <dlehn@users.sourceforge.net>
11433 * debian/.cvsignore:
11434 * debian/README.Debian:
11435 * debian/changelog:
11437 * debian/control.in:
11438 * debian/copyright:
11439 * debian/gstreamer-core-libs-dev.files:
11440 * debian/gstreamer-core-libs.files:
11441 * debian/gstreamer-core.files:
11442 * debian/gstreamer-core.postinst:
11443 * debian/gstreamer-core.postrm:
11444 * debian/gstreamer-doc.files:
11445 * debian/gstreamer-doc.links:
11446 * debian/gstreamer-doc.lintian:
11447 * debian/gstreamer-runtime.files:
11448 * debian/gstreamer-runtime.manpages:
11449 * debian/gstreamer-runtime.postinst:
11450 * debian/gstreamer-runtime.postrm:
11451 * debian/gstreamer-tools.files:
11452 * debian/gstreamer-tools.manpages:
11453 * debian/libgstreamer-dev.files:
11454 * debian/libgstreamer0.4.1.files:
11455 * debian/libgstreamerVERSION.files:
11457 Debian package info not maintained here.
11459 2004-03-04 Thomas Vander Stichele <thomas at apestaart dot org>
11461 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11462 * gst/gstbin.c: (gst_bin_class_init):
11463 * gst/gstelement.c: (gst_element_class_init):
11464 * gst/gstindex.c: (gst_index_class_init):
11465 * gst/gstobject.c: (gst_object_class_init),
11466 (gst_signal_object_class_init):
11467 * gst/gstpad.c: (gst_pad_template_class_init):
11468 * gst/gstregistry.c: (gst_registry_class_init):
11469 * gst/gsturi.c: (gst_uri_handler_base_init):
11470 * gst/gstxml.c: (gst_xml_class_init):
11471 * libs/gst/control/dparam.c: (gst_dparam_class_init):
11472 * libs/gst/control/dparammanager.c: (gst_dpman_class_init):
11473 make all signal names use dashes instead of underscore
11475 2004-03-03 Thomas Vander Stichele <thomas at apestaart dot org>
11477 * configure.ac: AC_SUBST GLIB_ONLY CFLAGS and LIBS
11479 2004-03-03 Benjamin Otte <otte@gnome.org>
11481 * gst/schedulers/gstoptimalscheduler.c:
11482 revert last commit by Andy Wingo. It causes segfaults on unreffing
11483 in Rhythmbox. (see bug #135672)
11485 2004-03-02 Christophe Fergeau <teuf@gnome.org>
11487 * po/fr.po: fix typo
11489 2004-03-02 Christophe Fergeau <teuf@gnome.org>
11491 * tools/gst-inspect.c: (main):
11492 * tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
11494 2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
11497 get GLIB_ONLY and POPT flags for the nonversioned binaries
11498 * tools/Makefile.am:
11501 2004-03-02 Thomas Vander Stichele <thomas at apestaart dot org>
11503 * gst/gst.c: (init_post):
11504 change so that GST_REGISTRY now is where the global registry gets
11505 saved, since that is where plugins now get attached to first, and
11506 spilled over to the user registry. Note that in the case of using
11507 GST_REGISTRY env var, we don't want to affect any real registries
11508 beyond the one given by this var, and thus we don't set a user
11509 registry to spill to. So make sure GST_REGISTRY is writable.
11511 2004-03-01 David Schleef <ds@schleef.org>
11513 * AUTHORS: Added some names. Add yourself if you're missing.
11515 2004-03-01 David Schleef <ds@schleef.org>
11519 2004-03-01 Thomas Vander Stichele <thomas at apestaart dot org>
11523 * docs/gst/tmpl/gstbuffer.sgml:
11524 * docs/gst/tmpl/gstdata.sgml:
11525 * docs/gst/tmpl/gstreamer-unused.sgml:
11526 * docs/gst/tmpl/gstxml.sgml:
11528 * docs/manuals.mak:
11530 * docs/pwg/intro-preface.xml:
11531 * docs/pwg/pwg.xml:
11533 * gst/gst.c: (init_post):
11534 try GST_PLUGIN_PATH paths for the _global_registry first
11535 * gst/gstelement.h:
11536 add the error message as well, otherwise (null) debug info doesn't
11538 * tools/gst-register.c: (main):
11539 spill paths to next registry if this registry is not writable
11542 translation updates
11544 2004-03-01 Johan Dahlin <johan@gnome.org>
11546 * gst/gstbuffer.c (_gst_buffer_initialize):
11547 * gst/gstdata.c (gst_data_get_type):
11548 * gst/gstevent.c (_gst_event_initialize): Use gst_data_copy,
11549 instead of ref, since some applications that uses GBoxed
11550 routines depends on a function that actually returns a copy.
11552 2004-02-27 Benjamin Otte <otte@gnome.org>
11555 remove gst_buffer_free, use gst_data_unref
11556 * gst/gstdata.c: (gst_data_get_type):
11557 use refcounting in GstData GBoxed registration
11559 remove gst_data_free, use gst_data_unref
11561 2004-02-27 Johan Dahlin <johan@gnome.org>
11563 * gst/gstdata.c (gst_data_get_type): New function, register
11564 GstData as a GBoxed type.
11566 * gst/gstdata.h (GST_TYPE_DATA): New macro
11568 2004-02-27 Thomas Vander Stichele <thomas at apestaart dot org>
11571 * gstreamer.spec.in:
11574 clean up non-disting of built files
11575 * testsuite/debug/commandline.c:
11576 test fix for option rename
11578 2004-02-26 David Schleef <ds@schleef.org>
11580 * configure.ac: We don't really need glib-2.3. Also remove
11581 some unneeded checks for library functions.
11582 * gst/Makefile.am: Instead, we need to not dist files created
11583 by glib-genmarshal.
11585 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11588 bump glib required version to 2.3.0 for g_value_takes_boxed
11590 2004-02-25 Christian Fredrik Kalager Schaller <uraeus@gnome.org>
11592 * common/m4/gst-docs.m4
11593 change flavour text from enable to disable as enable is our default
11594 closes bug Bug 135304
11596 === release 0.7.5 ===
11598 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11603 * gstreamer.spec.in:
11607 * docs/random/release:
11610 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11612 * gst/gsttag.c: (_gst_tag_initialize):
11615 remove hyphen from codec tags
11617 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11619 * gst/parse/Makefile.am:
11620 fix dependency so that a make from a clean build works the first
11623 2004-02-26 Thomas Vander Stichele <thomas at apestaart dot org>
11625 * docs/random/release:
11626 update release strategy
11628 auto-update po file
11630 update dutch translation
11632 2004-02-25 Thomas Vander Stichele <thomas at apestaart dot org>
11634 * docs/manual/debugging.xml:
11635 fix manual for new debugging system
11637 2004-02-25 Andy Wingo <wingo@pobox.com>
11639 * gst/gstpad.c (gst_pad_link_prepare): Re-add
11640 gst_pad_link_prepare. Please email the list with specific reasons
11643 2004-02-24 Andy Wingo <wingo@pobox.com>
11645 * gst/gstelement.c (gst_element_dispose): Protect against multiple
11648 * gst/schedulers/gstoptimalscheduler.c:
11649 I added a mess of prototypes at the top of the file by way of
11650 documentation. Some of the operations on chains and groups were
11653 (create_group): Added a type argument so if the group is enabled,
11654 the setup_group_scheduler knows what to do.
11655 (group_elements): Added a type argument here, too, to be passed on
11657 (group_element_set_enabled): If an unlinked PLAYING element is
11658 added to a bin, we have to create a new group to hold the element,
11659 and this function will be called before the group is added to the
11660 chain. Thus we have a valid case for group->chain==NULL. Instead
11661 of calling chain_group_set_enabled, just set the flag on the group
11662 (the chain's status will be set when the group is added to it).
11663 (gst_opt_scheduler_state_transition, chain_group_set_enabled):
11664 Setup the group scheduler when the group is enabled, not
11665 specifically when an element goes PAUSED->PLAYING. This means
11666 PLAYING elements can be added, linked, and scheduled into a
11667 PLAYING pipeline, as was intended.
11668 (add_to_group): Don't ref the group twice. I don't know when this
11669 double-ref got in here. Removing it has the potential to cause
11670 segfaults if other parts of the scheduler are buggy. If you find
11671 that the scheduler is segfaulting for you, put in an extra ref
11672 here and see if that hacks over the underlying issue. Of course,
11673 then find out what code is unreffing a group it doesn't own...
11674 (create_group): Make the extra refcount floating, and remove it
11675 after adding the element. This means that...
11676 (unref_group): Destroy when the refcount reaches 0, not 1, like
11677 every other refcounted object in the known universe.
11678 (remove_from_group): When a group becomes empty, set it to be not
11679 active, and remove it from its chain. Don't unref it again,
11680 there's no floating reference any more.
11681 (destroy_group): We have to remove the group from the chain in
11682 remove_from_group (rather than here) to break refcounting cycles
11683 (the chain always has a ref on the group). So assert that
11684 group->chain==NULL.
11685 (ref_group_by_count): Removed, it was commented out anyway.
11686 (merge_chains): Use the remove_from_chain and add_to_chain
11687 primitives to do the reparenting, instead of rolling our own
11689 (add_to_chain): The first non-disabled group in the chain's group
11690 list will be the entry point for the chain. Because buffers can
11691 accumulate in loop elements' peer bufpens, we preferentially
11692 schedule loop groups before get groups to avoid unnecessary
11693 execution of get-based groups when the bufpens are already full.
11694 (gst_opt_scheduler_schedule_run_queue): Debug fixes.
11695 (get_group_schedule_function): Ditto.
11696 (loop_group_schedule_function): Ditto.
11697 (gst_opt_scheduler_loop_wrapper): Ditto.
11698 (gst_opt_scheduler_iterate): Ditto.
11700 I understand the opt scheduler now, yippee!
11702 * gst/gstpad.c: All throughout, added FIXMEs to look at for 0.9.
11703 (gst_pad_get_name, gst_pad_set_chain_function)
11704 (gst_pad_set_get_function, gst_pad_set_event_function)
11705 (gst_pad_set_event_mask_function, gst_pad_get_event_masks)
11706 (gst_pad_get_event_masks_default, gst_pad_set_convert_function)
11707 (gst_pad_set_query_function, gst_pad_get_query_types)
11708 (gst_pad_get_query_types_default)
11709 (gst_pad_set_internal_link_function)
11710 (gst_pad_set_formats_function, gst_pad_set_link_function)
11711 (gst_pad_set_fixate_function, gst_pad_set_getcaps_function)
11712 (gst_pad_set_bufferalloc_function, gst_pad_unlink)
11713 (gst_pad_renegotiate, gst_pad_set_parent, gst_pad_get_parent)
11714 (gst_pad_add_ghost_pad, gst_pad_proxy_getcaps)
11715 (gst_pad_proxy_pad_link, gst_pad_proxy_fixate)
11716 (gst_pad_get_pad_template_caps, gst_pad_check_compatibility)
11717 (gst_pad_get_peer, gst_pad_get_allowed_caps)
11718 (gst_pad_alloc_buffer, gst_pad_push, gst_pad_pull)
11719 (gst_pad_selectv, gst_pad_select, gst_pad_template_get_caps)
11720 (gst_pad_event_default_dispatch, gst_pad_event_default)
11721 (gst_pad_dispatcher, gst_pad_send_event, gst_pad_convert_default)
11722 (gst_pad_convert, gst_pad_query_default, gst_pad_query)
11723 (gst_pad_get_formats_default, gst_pad_get_formats): Better
11724 argument checks, and some doc fixes.
11726 (gst_pad_custom_new_from_template): Um, does anyone
11727 use these functions? Actually make a custom pad instead of a
11729 (gst_pad_try_set_caps): Transpose some checks.
11730 (gst_pad_try_set_caps_nonfixed): Same, and use a macro to check if
11731 the pad is in negotiation.
11732 (gst_pad_try_relink_filtered): Use pad_link_prepare.
11734 * gst/gstelement.c: Remove prototypes also defined in gstclock.h.
11736 * gst/gstelement.h:
11737 * gst/gstclock.h: Un-deprecate the old clocking API, as discussed
11740 2004-02-24 Thomas Vander Stichele <thomas at apestaart dot org>
11742 * gst/gstbin.c: (gst_bin_add):
11743 add error for not being able to add elements
11745 2004-02-22 Julien MOUTTE <julien@moutte.net>
11747 * gst/gsttag.c: (_gst_tag_initialize): Registering 2 new tags,
11748 audio-codec and video-codec.
11750 2004-02-22 Benjamin Otte <otte@gnome.org>
11752 reported by: Padraig O'Briain <padraig.obriain@sun.com>
11755 replace test -e with test -x for mkinstalldirs to be more portable.
11758 2004-02-22 Benjamin Otte <otte@gnome.org>
11761 revert last patch from Andy, it makes gst_pad_can_link_filtered much
11763 * gst/gsttag.c: (_gst_tag_initialize):
11765 add GST_TAG_ALBUM_VOLUME_{COUNT,NUMBER}
11766 * libs/gst/control/dparam.c: (gst_dparam_attach):
11767 * libs/gst/control/dparammanager.c: (gst_dpman_attach_dparam):
11768 check that types for attached dparams match
11770 2004-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
11773 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
11774 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_open_file):
11777 2004-02-20 Andy Wingo <wingo@pobox.com>
11782 * gst/registries/gstxmlregistry.c:
11783 * gst/schedulers/gstoptimalscheduler.c: Debugging tweaks.
11785 * gst/gstelement.c (gst_element_set_scheduler): Debugging fixes.
11786 (gst_element_add_pad): DEBUG->INFO, some fixes.
11787 (gst_element_get_compatible_pad_template): Just see if the
11788 templates' caps intersect, not if one is a strict subset of the
11789 other. This conforms more to what gst_pad_link_intersect() does.
11790 (gst_element_class_add_pad_template): Don't memcpy the pad
11791 template, just ref it.
11792 (gst_element_get_compatible_pad_filtered): Clean up debug messages
11794 * gst/gstpad.c (gst_pad_can_link_filtered): Debug a true result.
11795 (gst_pad_link_filtered): Debug changes.
11796 (gst_pad_link_prepare): New function, consolidated from
11797 can_link_filtered and link_filtered.
11799 * gst/parse/grammar.y (gst_parse_perform_link): Made INFO output
11800 look more like that of the functions in gstelement.c
11802 * gst/gstinfo.c (gst_debug_print_object): Put a space before the
11803 object, and return the empty string if object is NULL.
11805 * gst/parse/parse.l: Remove trailing newlines when calling PRINT.
11806 * gst/parse/grammar.y (YYFPRINTF): Log bison debugging info via
11807 LOG, not DEBUG. We still get flex info on debug.
11809 * gst/registries/gstxmlregistry.c (gst_xml_registry_load): Make
11810 debug string more verbose.
11811 (plugin_times_older_than): DEBUG->LOG.
11813 2004-02-20 Julien MOUTTE <julien@moutte.net>
11815 * gst/gsttag.h: Adding video-codec and audio-codec for demuxers which
11816 will emit found_tag for each stream they demux with the codec.
11818 2004-02-20 Benjamin Otte <otte@gnome.org>
11820 * gst/gstevent.c: (_gst_event_copy), (_gst_event_free):
11821 copy navigation event correctly. Check freeing tag lists.
11822 * gst/gstthread.c: (gst_thread_change_state):
11823 don't abort() on state changing mess - it might happen because of
11825 * gst/gstvalue.c: (gst_value_set_caps), (gst_value_get_caps):
11826 use boxed functions
11828 fix GST_VALUE_HOLDS_CAPS
11830 2004-02-19 David Schleef <ds@schleef.org>
11832 * gst/gstinfo.h: Copy G_STRFUNC implementation from glib-2.4
11833 and use it for GST_FUNCTION. (bug #134750)
11835 2004-02-19 Thomas Vander Stichele <thomas at apestaart dot org>
11839 updating translations
11841 2004-02-19 Thomas Vander Stichele <thomas at apestaart dot org>
11843 * tools/gst-run.c: (get_candidates), (main): some fixes from jdahlin
11845 2004-02-18 kost@imn.htwk-leipzig.de
11847 reviewed by: David Schleef <ds@schleef.org>
11849 * docs/libs/gstreamer-libs-sections.txt: Add missing sections
11852 2004-02-18 David Schleef <ds@schleef.org>
11854 * libs/gst/control/dparam.c: (gst_dparam_class_init):
11855 * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
11856 (gst_dpsmooth_new): Additional fixes to get double dparams working.
11857 * tools/gst-inspect.c: (print_element_info): Support dumping of
11858 double dparam information.
11860 2004-02-17 David Schleef <ds@schleef.org>
11862 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
11863 Use G_TYPE_STRING in signal prototype instead of G_TYPE_POINTER.
11864 * gst/elements/gsttypefind.c: (gst_type_find_element_class_init):
11865 Use GST_TYPE_CAPS in signal prototype.
11866 * gst/gstcaps.c: (_gst_caps_initialize), (gst_caps_copy_conditional):
11867 Convert GST_TYPE_CAPS to boxed.
11868 * gst/gstelement.c: (gst_element_class_init):
11869 Use GST_TYPE_TAG_LIST in signal prototype.
11870 * gst/gstindex.c: (gst_index_class_init):
11872 Add GST_TYPE_INDEX_ENTRY type.
11873 * gst/gstmarshal.list:
11874 Add necessary marshal types.
11875 * gst/gstpad.c: (gst_real_pad_class_init),
11876 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
11877 (gst_pad_recover_caps_error):
11878 Use GST_TYPE_CAPS in signal prototypes. Fix some debugging strings.
11879 * gst/gststructure.c: (_gst_structure_initialize),
11880 (gst_structure_copy), (_gst_structure_copy_conditional):
11881 * gst/gststructure.h:
11882 Convert GST_TYPE_STRUCTURE to boxed.
11883 * gst/gsttag.c: (gst_tag_list_get_type):
11885 Add GST_TYPE_TAG_LIST type.
11887 2004-02-17 Julien MOUTTE <julien@moutte.net>
11889 * gst/gstpad.c: (gst_pad_try_set_caps): Reverting my change according
11890 to what we agreed with david.
11891 * gst/gstpad.h: adding GST_PAD_IS_NEGOTIATING macro.
11893 2004-02-17 Thomas Vander Stichele <thomas at apestaart dot org>
11895 * po/nl.po: update translation
11897 2004-02-17 Thomas Vander Stichele <thomas at apestaart dot org>
11899 * gst/autoplug/gstspider.c: (gst_spider_identity_plug):
11900 throw an error if spider is trying to play a mime type there is
11903 add gst/autoplug/gstspider.c for translation
11905 2004-02-17 Julien MOUTTE <julien@moutte.net>
11907 * gst/gstpad.c: (gst_pad_try_set_caps): We are nice people. Return
11908 silently when the pad is negotiating.
11910 2004-02-16 Thomas Vander Stichele <thomas at apestaart dot org>
11912 * docs/faq/Makefile.am:
11913 add script to run gstreamer uninstalled
11914 * docs/faq/faq.xml:
11915 * docs/faq/developing.xml:
11916 * docs/faq/gst-uninstalled:
11917 extract script to run gstreamer uninstalled
11918 * docs/manuals.mak:
11919 add EXTRA_SOURCES variable for Makefile.am's to set to
11920 use additional SOURCE files for the doc build
11922 2004-02-16 Thomas Vander Stichele <thomas at apestaart dot org>
11924 * gst/gstatomic_impl.h: Fedora 2 test package patch for S390
11926 2004-02-15 Julien MOUTTE <julien@moutte.net>
11928 * gst/gstbin.c: (gst_bin_change_state), (gst_bin_iterate): Fix a big
11929 bug that was breaking pipelines like sinesrc ! { queue ! osssink } when
11930 an error was thrown by osssink. Basically a state change failure for
11931 an element in a different scheduling group was considered as
11932 successful, which means that caps nego was going on and weird stuff
11933 happened. Like I wrote in the comment there, if someone wants to
11934 revert that please drop me a mail explaining why because I really see
11935 no point in keeping that broken behaviour there.
11936 * gst/gstqueue.c: (gst_queue_get): Add a safety check as the queue CAN
11937 be empty, we then return NULL which will trigger a nice error when
11938 pulling from the pad.
11940 2004-02-13 David Schleef <ds@schleef.org>
11942 * libs/gst/control/dparam.c: (gst_dparam_class_init),
11943 (gst_dparam_get_property), (gst_dparam_set_property),
11944 (gst_dparam_do_update_default):
11945 * libs/gst/control/dparam.h:
11946 * libs/gst/control/dparam_smooth.c: (gst_dpsmooth_class_init),
11947 (gst_dpsmooth_new), (gst_dpsmooth_set_property),
11948 (gst_dpsmooth_get_property), (gst_dpsmooth_value_changed_double),
11949 (gst_dpsmooth_do_update_double):
11950 * libs/gst/control/dparam_smooth.h:
11951 * libs/gst/control/dparammanager.c:
11952 (gst_dpman_inline_direct_update):
11953 Add support for double dparams.
11955 2004-02-13 David Schleef <ds@schleef.org>
11957 * gst/elements/gstfdsrc.c: (gst_fdsrc_get): Use GST_TIME_TO_TIMEVAL()
11958 * gst/gstclock.h: Avoid using 64-bit % operator (slow!)
11960 2004-02-13 Mattias Wadman <mattias@sudac.org>
11962 reviewed by: David Schleef <ds@schleef.org>
11964 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
11965 (gst_fdsrc_init), (gst_fdsrc_set_property),
11966 (gst_fdsrc_get_property), (gst_fdsrc_get):
11967 * gst/elements/gstfdsrc.h: Adds timeout property to fdsrc,
11968 and sends an EOS event if file descriptor reading times out.
11970 2004-02-13 Thomas Vander Stichele <thomas at apestaart dot org>
11973 add calls to AM_CONDITIONAL for subsystems for automake 1.6.x
11975 2004-02-13 Thomas Vander Stichele <thomas at apestaart dot org>
11977 * configure.ac: pass required libxml version as argument
11978 (bug reported by Christophe Fergeau)
11980 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11982 * docs/gst/gstreamer-docs.sgml:
11983 * docs/gst/tmpl/gstxml.sgml:
11984 * docs/libs/gstreamer-libs-docs.sgml:
11987 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
11990 * gst/gstregistrypool.c: (gst_registry_pool_plugin_filter),
11991 (gst_registry_pool_feature_filter):
11992 * gst/gstthread.c: (gst_thread_class_init):
11994 add includes exposed by building without libxml
11995 * gst/indexers/Makefile.am:
11996 do not build fileindex when LOADSAVE disabled; we should have
11997 a better libxml check later since fileindex depends on xml, not
11998 LOADSAVE or REGISTRY
11999 * libs/gst/control/Makefile.am:
12001 * tools/Makefile.am:
12002 fix wrong source code for gst-xmlinspect
12004 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
12007 fix gcov help output
12008 move calls to and use new GST_CHECK_DISABLE_SUBSYSTEM
12009 * docs/random/release:
12010 some updated releasing notes
12011 * gstreamer.spec.in:
12014 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
12016 * docs/faq/faq.xml:
12017 * docs/manual/manual.xml:
12018 * docs/pwg/pwg.xml:
12019 * docs/pwg/titlepage.xml:
12020 put version in documentation
12022 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
12024 * tools/Makefile.am: fix man page installation
12026 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
12029 don't check for libxml when load/save and registry disabled (#105844)
12030 * gstreamer.spec.in:
12031 sync with fedora candidate spec
12033 2004-02-12 Thomas Vander Stichele <thomas at apestaart dot org>
12037 replace multidisksrc with multifilesrc
12039 2004-02-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
12042 update to multidisksrc => multifilesrc file renaming (#134145)
12044 2004-02-11 David Schleef <ds@schleef.org>
12046 * docs/gst/tmpl/gstcaps.sgml: Fix stuff that mentions GstProps
12047 * docs/gst/tmpl/gstpadtemplate.sgml: same
12048 * docs/gst/tmpl/gstreamer-unused.sgml: Remove GstProps
12049 * gst/gstobject.c: (gst_object_set_name_default): Do the memleak
12051 * gst/gstutils.c: Remove disabled code that uses GstProps.
12052 * gst/registries/gstxmlregistry.h: same
12053 * docs/random/ds/0.9-suggested-changes: random notes
12055 2004-02-11 kost@imn.htwk-leipzig.de
12057 reviewed by: David Schleef <ds@schleef.org>
12059 * gst/gstclock.c: (gst_clock_entry_new): fixes structure
12060 initialisation of clock (bug #134128)
12062 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
12065 * gst/elements/Makefile.am:
12066 * gst/elements/gstelements.c:
12067 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_base_init),
12068 (gst_multifilesrc_class_init), (gst_multifilesrc_init),
12069 (gst_multifilesrc_set_property), (gst_multifilesrc_get_property),
12070 (gst_multifilesrc_get), (gst_multifilesrc_open_file),
12071 (gst_multifilesrc_close_file), (gst_multifilesrc_change_state):
12072 * gst/elements/gstmultifilesrc.h:
12073 rename multidisksrc to multifilesrc (part of #122200)
12075 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
12077 * docs/manuals.mak:
12078 fix automake complaints
12079 * gst-element-check.m4:
12082 2004-02-11 David Schleef <ds@schleef.org>
12084 * docs/gst/Makefile.am: Call gst_init() in built gstreamer-scan.
12085 * gst/gstatomic_impl.h: Disable sparc implementation.
12087 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
12089 * gst-element-check.m4:
12090 fix underquoted macros as reported by automake 1.8.x (#133800)
12092 require gettext 0.11.5 so ulonglong.m4 gets checked out and copied
12093 by autopoint (fixes #132996)
12095 2004-02-10 Andy Wingo <wingo@pobox.com>
12097 * gst/gstpad.c (gst_pad_custom_new): Add a FIXME, this is a hacky
12098 way to do inheritance.
12099 (gst_pad_get_event_masks, gst_pad_get_event_masks_default)
12100 (gst_pad_get_query_types, gst_pad_get_query_types_default):
12102 (gst_pad_set_link_function, gst_pad_set_fixate_function)
12103 (gst_pad_set_getcaps_function): Doc from Dave's negotation random
12105 (gst_pad_unlink, gst_pad_is_linked): Docs.
12106 (gst_pad_renegotiate): A brief description of capsnego.
12107 (gst_pad_try_set_caps): Document.
12108 (gst_pad_try_set_caps_nonfixed): Document.
12109 (gst_pad_can_link_filtered, gst_pad_link_filtered): Doc fixes.
12110 (gst_pad_set_parent): Deprecated (although not out of the API).
12111 (gst_pad_get_parent): Deprecated, although many plugins use this.
12112 (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad): Doc that these
12113 are private and will go away in 0.9.
12114 (gst_pad_perform_negotiate): Doc.
12115 (gst_pad_link_unnegotiate): I think this is meant to be static.
12116 (gst_pad_get_negotiated_caps, gst_pad_get_pad_template_caps)
12117 (gst_pad_template_get_caps_by_name, gst_pad_check_compatibility)
12118 (gst_pad_get_peer): Doc updates.
12119 (gst_pad_caps_change_notify): Doc.
12120 (gst_pad_alloc_buffer, gst_pad_push, gst_static_pad_template_get)
12121 (gst_ghost_pad_new): Doc fixes.
12123 * gst/gstobject.c (gst_object_get_parent, gst_object_unparent)
12124 (gst_object_check_uniqueness):
12126 * gst/gstelement.c (gst_element_add_pad)
12127 (gst_element_add_ghost_pad, gst_element_remove_pad)
12128 (gst_element_remove_ghost_pad, gst_element_get_pad)
12129 (gst_element_get_static_pad, gst_element_get_pad_list)
12130 (gst_element_class_get_pad_template_list)
12131 (gst_element_class_get_pad_template): Work on the docs.
12132 (gst_element_get_pad_template_list): Uses the class method.
12133 (gst_element_get_compatible_pad_template): Docs, and consolidate
12134 some test conditions.
12135 (gst_element_get_pad_from_template): New static function.
12136 (gst_element_request_compatible_pad): Docs, and work with
12137 non-request compatible templates.
12138 (gst_element_get_compatible_pad_filtered): Docs and remove
12140 (gst_element_get_compatible_pad, gst_element_link_pads_filtered)
12141 (gst_element_link_filtered, gst_element_link_many)
12142 (gst_element_link, gst_element_link_pads)
12143 (gst_element_unlink_many): Docs.
12145 2004-02-05 Andy Wingo <wingo@pobox.com>
12147 * gst/gstpad.c (_gst_real_pad_fixate_accumulator):
12150 * gst/gstmarshal.list (VOID:BOXED, BOXED:BOXED): New marshallers.
12152 * gst/gstpad.c (gst_real_pad_class_init): Use a BOXED:BOXED
12153 marshaller for ::fixate, and VOID:BOXED for ::caps-nego-failed,
12154 with the type=GST_TYPE_CAPS. This allows language bindings to know
12155 what kind of data they're dealing with.
12157 * gst/gstcaps.c (_gst_caps_value_init): GBoxed values initialize
12158 to NULL when g_value_init is called. GstCaps, which rolls its own
12159 type implementation, now does the same instead of allocating empty
12161 (_gst_caps_initialize, _gst_caps_collect_value,
12162 _gst_caps_lcopy_value): Provide collect_value and lcopy_value type
12163 table methods. This allows G_VALUE_COLLECT to work.
12165 2004-02-05 Andy Wingo <wingo@pobox.com>
12168 * testsuite/Makefile.am (SUBDIRS):
12169 * testsuite/ghostpads/Makefile.am:
12170 * testsuite/ghostpads/ghostpads.c: A new test for ghost pads.
12172 * gst/gstpad.c (gst_pad_add_ghost_pad, gst_pad_remove_ghost_pad):
12173 These two routines are the only ones that set
12174 GST_GPAD_REALPAD(gpad), the ghost pad list, and the ghost pad's
12175 pad template. They should be made static, depending on ABI needs.
12176 (gst_real_pad_dispose): Handle the case of ghost pads without a
12177 parent. Assert after dealing with ghost pads that the ghost pad
12179 (gst_ghost_pad_class_init): New property added, ::real-pad. Can be
12180 set after creation.
12181 (gst_ghost_pad_dispose): Set ::real-pad to NULL.
12182 (gst_ghost_pad_set_property, gst_ghost_pad_get_property): New
12183 functions. set_property will call add_ghost_pad/remove_ghost_pad
12185 (gst_ghost_pad_new): All the work is offloaded to g_object_new.
12187 * gst/gstelement.c (gst_element_add_pad): Handle ghost pads as well.
12188 (gst_element_add_ghost_pad): Remove code duplicated from _add_pad.
12189 (gst_element_remove_pad): Handle ghost pads as well.
12190 (gst_element_remove_ghost_pad): Deprecated (could be removed,
12191 depending on API-stability needs).
12193 2004-02-05 Andy Wingo <wingo@pobox.com>
12195 * gst/gstbin.[ch]: (gst_bin_get_by_interface): GTypes are scalars,
12196 of course they're const
12198 2004-02-11 Thomas Vander Stichele <thomas at apestaart dot org>
12200 * tools/Makefile.am:
12201 * tools/gst-feedback:
12202 * tools/gst-feedback-0.7:
12203 make gst-feedback versioned too for consistency
12205 2004-02-11 David Schleef <ds@schleef.org>
12207 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
12208 (gst_pad_try_set_caps): Fix format strings for GST_PTR_FORMAT.
12210 2004-02-10 Julien MOUTTE <julien@moutte.net>
12212 * gst/gstevent.c: (_gst_event_free): Sometimes a tag event arrives but
12213 the structure does not contain a valid tag list. Adding a safety check
12214 to remove a noisy warning in that case.
12216 2004-02-10 Thomas Vander Stichele <thomas at apestaart dot org>
12218 * gst/gst.c: fix name to be in line with others
12220 2004-02-09 Julien MOUTTE <julien@moutte.net>
12222 * libs/gst/bytestream/bytestream.c: (gst_bytestream_peek): We should
12223 not shout that loud when len is 0. Just return 0 silently.
12225 2004-02-09 Julien MOUTTE <julien@moutte.net>
12227 * gst/gstdata.c: (gst_data_ref): Adding a categorized debug on data_ref
12228 because data_unref has one and I prefer the debug to be symetric.
12229 * gst/gstqueue.c: (gst_queue_locked_flush): Fix a huge memleak. Buffers
12230 were refed when added to the queue and unrefed only once when the queue
12231 was flushed. Now the flush handler unref the buffers two times : first
12232 unref for the ref added when pushing in the queue's tail and second
12233 unref to destroy the flushed buffer.
12235 2004-02-08 Thomas Vander Stichele <thomas at apestaart dot org>
12237 * docs/pwg/building-boiler.xml: fix cvs checkout documentation
12239 2004-02-06 David Schleef <ds@schleef.org>
12241 * docs/random/ds/0.9-suggested-changes: Random ramblings
12242 * gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap): Cast size_t
12243 to int before printing.
12244 * gst/parse/grammar.y: Fix gcc-2.95 style variadic macros.
12245 * gst/parse/parse.l: same. See bug #129600
12247 2004-02-06 David Schleef <ds@schleef.org>
12249 * gst/gstindex.c: (gst_index_add_format), (gst_index_add_id),
12250 (gst_index_add_entry), (gst_index_add_associationv),
12251 (gst_index_add_association): Add gst_index_add_associationv()
12252 and clean up gst_index_add_association(). #127133
12254 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
12256 * autogen.sh: check out common with right tag if CVS/Tag exists
12258 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
12260 * testsuite/ghostpads/ghostpads.c: (main):
12261 fix testsuite from segfaulting
12263 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
12265 * Makefile.am: add release target
12266 * configure.ac: bump nano to 1
12267 * docs/random/release:
12269 2004-02-06 Benjamin Otte <in7y118@public.uni-hamburg.de>
12272 * gst/gstelement.c: (gst_element_base_class_init),
12273 (gst_element_class_set_details), (gst_element_clear_pad_caps):
12274 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
12275 (gst_pad_try_set_caps), (gst_pad_can_link_filtered),
12276 (gst_real_pad_dispose):
12277 * gst/gststructure.c: (gst_structure_free),
12278 (gst_structure_from_string):
12279 put reverted patch back in
12280 * gst/gstelement.c: (gst_element_remove_pad):
12281 free explicit caps if they're set
12282 * gst/gstpad.c: (_gst_pad_default_fixate_func):
12283 copy the structure when fixating
12285 2004-02-05 David Schleef <ds@schleef.org>
12287 * gst/gstmarshal.list:
12288 * gst/gstpad.c: (gst_real_pad_class_init),
12289 (_gst_real_pad_fixate_accumulator):
12290 Revert POINTER->BOXED change in signal marshaller.
12292 === release 0.7.4 ===
12294 2004-02-06 Thomas Vander Stichele <thomas at apestaart dot org>
12296 * NEWS: GStreamer 0.7.4 "Wooden Eels" released
12297 * configure.ac: changed for release
12299 2004-02-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12301 * gstreamer.spec.in:
12302 bump required version of gtk-doc
12304 2004-02-05 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * gst/gstelement.c: (gst_element_base_class_init),
12308 (gst_element_class_set_details), (gst_element_clear_pad_caps):
12309 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
12310 (gst_pad_try_set_caps), (gst_pad_can_link_filtered),
12311 (gst_real_pad_dispose):
12312 * gst/gststructure.c: (gst_structure_free),
12313 (gst_structure_from_string):
12314 revert patch that breaks applications, reapply after release
12315 to get this fixed properly
12317 2004-02-05 Benjamin Otte <in7y118@public.uni-hamburg.de>
12319 * gst/gsttag.c: (_gst_tag_initialize):
12321 remove duplicated field GST_TAG_APPLICATION. It's GST_TAG_ENCODER
12323 2004-02-04 David Schleef <ds@schleef.org>
12326 * gst/autoplug/gstspider.c: (gst_spider_request_new_pad),
12327 (gst_spider_plug_from_srcpad):
12328 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link):
12330 2004-02-04 David Schleef <ds@schleef.org>
12332 * gst/gstelement.c: (gst_element_clear_pad_caps): Make sure we have
12333 a GstRealPad before accessing its structure members.
12335 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
12337 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_speed),
12338 (gst_clock_get_speed):
12340 reset padding, remove unused fields
12342 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
12344 * gst/autoplug/gstspideridentity.c:
12345 (gst_spider_identity_sink_loop_type_finding):
12346 use get_allowed_caps, not get_caps (fixes #132519)
12347 * gst/elements/gsttypefind.c: (stop_typefinding):
12348 use correct order when sending buffers and seeking
12350 2004-02-04 Thomas Vander Stichele <thomas at apestaart dot org>
12353 * gst/gstelement.h:
12356 upgrade libtool CURRENT, reset padding
12358 2004-02-04 Thomas Vander Stichele <thomas at apestaart dot org>
12362 put back AM_PROG_LIBTOOL to make libtoolize stop complaining
12364 2004-02-04 David Schleef <ds@schleef.org>
12366 * docs/random/ds/0.9-suggested-changes: random notes
12367 * gst/elements/gstfakesrc.c: (gst_fakesrc_get_formats),
12368 (gst_fakesrc_get_query_types), (gst_fakesrc_get_event_mask):
12369 Replace GST_PAD_EVENT_MASK_FUNCTION() (et al.) with its
12371 * gst/elements/gstfilesink.c: (gst_filesink_get_formats),
12372 (gst_filesink_get_query_types): same
12373 * gst/elements/gstfilesrc.c: (gst_filesrc_get_event_mask),
12374 (gst_filesrc_get_query_types), (gst_filesrc_get_formats): same
12375 * gst/gstcaps.h: deprecate GST_DEBUG_CAPS(), and fix the macro
12376 to use new GST_PTR_FORMAT.
12377 * gst/gstelement.h: deprecate function factory macros
12378 GST_ELEMENT_QUERY_TYPE_FUNCTION(), GST_ELEMENT_EVENT_MASK_FUNCTION().
12379 These are our last variadic macros that can't be replaced with
12380 inlines. Celebrate! Also fix a typo in an #ifdef that was
12381 attempting to deprecate gst_element_clock_wait().
12382 * gst/gstevent.h: same
12383 * gst/gstpad.c: (gst_pad_link_intersect), (gst_pad_link_fixate),
12384 (gst_pad_try_set_caps): replace GST_DEBUG_CAPS() with GST_DEBUG()
12385 * gst/gstpad.h: deprecate function factory macros similar to above.
12387 2004-02-04 Thomas Vander Stichele <thomas at apestaart dot org>
12390 * tools/Makefile.am:
12391 * tools/gst-run.c: (popt_callback), (hash_print_key),
12392 (find_highest_version), (unmangle_libtool), (get_dir_of_binary),
12393 (get_candidates), (main):
12394 add new source file to generate non-versioned wrapper binaries
12397 2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
12399 * gst/gstevent.c: (_gst_event_free):
12400 actually break; inside the switch statement
12401 * gst/parse/grammar.y:
12402 fix memleak where GValues weren't unset
12404 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
12406 * gst/gststructure.c: (gst_structure_from_string):
12408 * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
12409 (new_entry), (gst_type_find_element_chain):
12410 * gst/gstelement.c: (gst_element_base_class_init),
12411 (gst_element_class_set_details):
12412 * gst/gstpad.c: (gst_pad_can_link_filtered):
12413 fix smaller memleaks
12414 * gst/gstpad.c: (gst_real_pad_dispose):
12415 check that explicit caps are gone
12416 * gst/gststructure.c: (gst_structure_free):
12417 actually free the structure
12418 * gst/gstelement.c: (gst_element_clear_pad_caps):
12419 unset explicit caps
12421 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
12423 * tools/Makefile.am:
12424 use AM_CFLAGS since all the CFLAGS are the same
12427 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
12429 * docs/manual/gnome.xml:
12430 expand example a little
12431 * gst/gst.c: (gst_init_with_popt_table),
12432 (gst_init_check_with_popt_table), (init_pre), (init_popt_callback):
12433 make sure popt option displays are done with right textdomain
12434 use GstPoptOption type
12436 create GstPoptOption type
12438 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
12440 * gst/gsterror.c: (_gst_stream_errors_init):
12442 adding error type for no codec
12446 update dutch translation
12447 * tools/gst-inspect.c: (print_element_list), (main):
12448 do proper internationalization
12449 * tools/gst-launch.c: (idle_func):
12450 remove commented out function call
12452 2004-02-03 Thomas Vander Stichele <thomas at apestaart dot org>
12455 add some error fixing notes
12456 * docs/gst/gstreamer-sections.txt:
12457 remove double entries
12458 * docs/gst/tmpl/gstbin.sgml:
12459 * docs/gst/tmpl/gstclock.sgml:
12461 * docs/gst/tmpl/gstelement.sgml:
12462 * docs/gst/tmpl/gstindex.sgml:
12463 * docs/gst/tmpl/gstobject.sgml:
12464 * docs/gst/tmpl/gstpadtemplate.sgml:
12465 * docs/gst/tmpl/gstreamer-unused.sgml:
12466 * docs/gst/tmpl/gsttag.sgml:
12467 * docs/gst/tmpl/gstthread.sgml:
12468 * docs/gst/tmpl/gstxml.sgml:
12470 sync header prototypes with c decls
12471 * gst/gsttaginterface.c:
12474 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
12476 * gst/parse/Makefile.am:
12478 get rid of gstmarshal.h dependency. It's not needed.
12480 * gst/elements/gstfakesink.c:
12481 * gst/elements/gstfakesrc.c:
12482 * gst/elements/gstidentity.c:
12484 * gst/gstelement.c:
12490 * libs/gst/control/dparam.c:
12491 * libs/gst/control/dparammanager.c:
12492 include gstmarshal.h.
12495 2004-02-03 Benjamin Otte <in7y118@public.uni-hamburg.de>
12497 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
12498 (gst_filesrc_dispose), (gst_filesrc_free_parent_mmap),
12499 (gst_filesrc_map_region), (gst_filesrc_get_mmap):
12500 * gst/elements/gstfilesrc.h:
12501 don't ref the filesrc when creating mmaped buffers. Don't keep a
12502 list of not-yet-destroyed buffers.
12504 Deprecated BST_BUFFER_FREE_FUNC and GST_BUFFER_COPY_FUNC
12506 2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
12508 * gst/gst.c: (init_pre):
12511 2004-02-02 Ronald Bultje <rbultje@ronald.bitfreak.net>
12513 * docs/pwg/advanced-events.xml:
12514 * docs/pwg/advanced-scheduling.xml:
12515 * docs/pwg/intro-basics.xml:
12516 * docs/pwg/other-manager.xml:
12517 * docs/pwg/other-nton.xml:
12518 * docs/pwg/other-ntoone.xml:
12519 * docs/pwg/other-oneton.xml:
12520 * docs/pwg/pwg.xml:
12521 All sort of documentation... Forgot what. Point is that I want this
12522 in before I leave. The 'other-*' will be the last section and will
12523 explain issues specific to these type of elements.
12525 2004-02-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
12527 * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
12528 (gst_filesrc_get_read):
12529 set all the values on buffers that we can
12531 2004-02-02 David Schleef <ds@schleef.org>
12533 Change usage of isblah() to g_ascii_isblah() to be more locale
12534 independent. (#133076)
12535 * gst/gsturi.c: (gst_uri_protocol_check_internal):
12537 * gst/parse/parse.l:
12539 2004-02-02 Jon Trowbridge <trow@gnu.org>
12541 reviewed by: David Schleef <ds@schleef.org>
12544 * gst/gstcaps.c: (gst_caps_to_string):
12545 * gst/registries/gstxmlregistry.c:
12546 (gst_xml_registry_add_path_list_func),
12547 (gst_xml_registry_parse_padtemplate):
12549 2004-02-02 Thomas Vander Stichele <thomas at apestaart dot org>
12551 * gst/gstelement.c: (gst_element_default_error):
12552 suffix error messages with period
12554 2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12556 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
12557 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12558 * gst/gsterror.c: (gst_error_get_message):
12562 Update translation files
12564 2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12566 * gst/autoplug/gstspideridentity.c:
12567 (gst_spider_identity_sink_loop_type_finding):
12568 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
12569 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
12570 (gst_filesink_close_file), (gst_filesink_handle_event),
12571 (gst_filesink_chain):
12572 * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
12573 (gst_filesrc_get_read), (gst_filesrc_open_file):
12574 * gst/elements/gstidentity.c: (gst_identity_chain):
12575 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12576 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
12577 (gst_pipefilter_chain), (gst_pipefilter_open_file):
12578 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
12579 * gst/gsterror.c: (_gst_core_errors_init),
12580 (_gst_library_errors_init), (_gst_resource_errors_init),
12581 (_gst_stream_errors_init), (gst_error_get_message):
12582 * gst/gstpad.c: (gst_pad_set_explicit_caps),
12583 (gst_pad_recover_caps_error), (gst_pad_pull):
12584 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
12585 * gst/schedulers/gstbasicscheduler.c:
12586 (gst_basic_scheduler_chainhandler_proxy),
12587 (gst_basic_scheduler_gethandler_proxy),
12588 (gst_basic_scheduler_cothreaded_chain):
12589 Suffix error messages with period.
12590 Use (NULL) instead of NULL
12592 2004-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12594 * docs/gst/tmpl/gstelement.sgml:
12595 * docs/gst/tmpl/gstxml.sgml:
12596 * gst/gstelement.c: (gst_element_error_full):
12597 add element path to error
12599 2004-01-31 Benjamin Otte <in7y118@public.uni-hamburg.de>
12601 * docs/random/mimetypes:
12602 update raw int/float info
12603 * gst/gsttag.c: (_gst_tag_initialize):
12605 add GST_TAG_ENCODER
12607 2004-01-30 David Schleef <ds@schleef.org>
12609 * gst/cothreads.c: Add another fallback if MAP_ANONYMOUS is
12612 2004-01-30 Laurent Vivier <Laurent.Vivier@bull.net>
12614 reviewed by Benjamin Otte
12615 parts of the patch submitted in bug #113913
12618 use AC_C_INLINE. Use = instead of == with test
12619 * examples/plugins/example.c:
12620 * gst/autoplug/gstspideridentity.c:
12621 * gst/elements/gstfdsrc.c:
12622 * gst/elements/gstfilesrc.c:
12623 * gst/elements/gstidentity.c:
12624 * gst/elements/gstmultidisksrc.c:
12625 * gst/elements/gststatistics.c:
12626 * gst/gstelement.c:
12629 * gst/gstpipeline.c:
12631 don't end enums with a comma
12632 * gst/gstindex.c: (gst_index_compare_func):
12633 do explicit casting to gint
12634 * gst/gsttrace.c: (gst_trace_text_flush):
12635 #define strsize as a macro
12637 2004-01-30 Thomas Vander Stichele <thomas at apestaart dot org>
12640 * docs/gst/gstreamer-docs.sgml:
12641 * docs/gst/gstreamer-sections.txt:
12642 * docs/gst/tmpl/gstelement.sgml:
12643 * docs/gst/tmpl/gsterror.sgml:
12644 * docs/gst/tmpl/gstinterface.sgml:
12645 * docs/gst/tmpl/gstreamer-unused.sgml:
12646 * docs/gst/tmpl/gststructure.sgml:
12647 * docs/gst/tmpl/gsttag.sgml:
12648 * docs/gst/tmpl/gsttaginterface.sgml:
12649 * docs/gst/tmpl/gstvalue.sgml:
12650 make sure all API ends up in the built docs
12651 * gst/gstinterface.c:
12652 * gst/gststructure.c: (gst_structure_id_set_value),
12653 (gst_structure_set_value), (gst_structure_id_get_value):
12654 * gst/gststructure.h:
12656 sync .h with .c declarations
12658 2004-01-30 Julien Moutte <julien@moutte.net>
12660 * libs/gst/bytestream/bytestream.c: Reverting my event handling patch.
12661 Ronald will fix riffread.
12663 2004-01-30 Ronald Bultje <rbultje@ronald.bitfreak.net>
12665 * docs/pwg/advanced-interfaces.xml:
12666 Added tuner interface docs.
12668 2004-01-30 Benjamin Otte <in7y118@public.uni-hamburg.de>
12670 * docs/random/mimetypes:
12671 correct Theora information
12672 * gst/gstelement.h:
12673 make GST_ELEMENT_ERROR do a GST_ERROR_OBJECT
12675 2004-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
12677 * gst/gstelement.c: (gst_element_error_full):
12678 * gst/gstelement.h:
12679 GST_ELEMENT_ERROR in enum -> _IN_ERROR
12681 2004-01-29 Julien MOUTTE <julien@moutte.net>
12683 * gst/elements/gstfilesrc.c: (gst_filesrc_get),
12684 (gst_filesrc_uri_handler_init): Fixing seeking by making FLUSH happen
12685 again and even before DISCONT.
12686 * gst/gstpad.c: (gst_pad_event_default): Remove a unused switch case.
12687 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf): Fix
12688 bytestream so that it's not stopping to fill the bytestream if events
12689 different than EOS or DISCONT are received. Instead it process them so
12690 that they go downstream.
12692 2004-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
12694 * docs/gst/tmpl/gstelement.sgml:
12695 * docs/gst/tmpl/gstreamer-unused.sgml:
12696 * docs/gst/tmpl/gstxml.sgml:
12697 * gst/autoplug/gstspideridentity.c:
12698 (gst_spider_identity_sink_loop_type_finding):
12699 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
12700 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
12701 (gst_filesink_close_file), (gst_filesink_handle_event),
12702 (gst_filesink_chain):
12703 * gst/elements/gstfilesrc.c: (gst_filesrc_map_region),
12704 (gst_filesrc_get_read), (gst_filesrc_open_file):
12705 * gst/elements/gstidentity.c: (gst_identity_chain):
12706 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
12707 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
12708 (gst_pipefilter_chain), (gst_pipefilter_open_file):
12709 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
12710 * gst/gstelement.h:
12711 * gst/gstpad.c: (gst_pad_set_explicit_caps),
12712 (gst_pad_recover_caps_error), (gst_pad_pull):
12713 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
12714 * gst/schedulers/gstbasicscheduler.c:
12715 (gst_basic_scheduler_chainhandler_proxy),
12716 (gst_basic_scheduler_gethandler_proxy),
12717 (gst_basic_scheduler_cothreaded_chain):
12718 gst_element_error -> GST_ELEMENT_ERROR
12720 2004-01-29 Thomas Vander Stichele <thomas at apestaart dot org>
12722 * docs/Makefile.am:
12723 * docs/gst/tmpl/gstelement.sgml:
12724 * docs/gst/tmpl/gstxml.sgml:
12725 * docs/manuals.mak:
12726 * docs/pwg/advanced-request.xml:
12727 * docs/pwg/advanced-scheduling.xml:
12728 * docs/pwg/advanced-tagging.xml:
12729 fix non-validating docbook using CDATA
12730 make sure make check-local gets run first to check if it validates
12732 2004-01-29 Julien MOUTTE <julien@moutte.net>
12734 * docs/pwg/advanced-events.xml: Adding documentation on advanced event
12735 handling (up and downstream).
12736 * docs/pwg/advanced-interfaces.xml: Make it coherent with the
12739 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
12741 * docs/pwg/advanced-tagging.xml:
12742 Add docs about tag writing.
12744 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
12746 * docs/pwg/advanced-tagging.xml:
12747 Add a part about tag reading and application signalling... Tag
12748 writing still needs to be documented.
12749 * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
12750 We can set file locations in READY, too.
12752 2004-01-29 Julien MOUTTE <julien@moutte.net>
12754 * docs/random/ds/element-checklist: Adding some notes about src
12757 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net>
12759 * docs/random/mimetypes:
12760 Update docs to point to correct elements for various mimetypes, and
12761 some more errors pointed out by Stéphane LOEUILLET (aka LeRoutier)
12762 <stephane.loeuillet@tiscali.fr>.
12764 2004-01-28 David Schleef <ds@schleef.org>
12766 * docs/pwg/intro-basics.xml: rewrite bufferpool stuff.
12768 2004-01-29 Benjamin Otte <in7y118@public.uni-hamburg.de>
12770 * docs/random/mimetypes:
12771 update docs for audio/x-raw-float. Add "buffer-frames=0 means
12773 * gst/elements/gstfilesrc.c: (gst_filesrc_set_location):
12774 make it only work in NULL.
12776 don't posion NULL caps
12777 * gst/gstelement.c: (gst_element_set_time):
12778 add debugging statement
12779 * gst/gstelement.c: (gst_element_emit_found_tag),
12780 (gst_element_found_tag_func), (gst_element_found_tags):
12781 * gst/gstelement.h:
12782 These functions take const taglists
12783 * gst/gstpad.c: (gst_pad_proxy_getcaps):
12785 * gst/gstpad.c: (gst_pad_event_default):
12786 make more effort on handling discont and clocks, g_warn if everything
12788 * gst/gststructure.c: (gst_structure_remove_fields),
12789 (gst_structure_remove_fields_valist):
12790 * gst/gststructure.h:
12791 add gst_structure_remove_fields(_valist)
12795 2004-01-28 David Schleef <ds@schleef.org>
12797 * docs/random/ds/element-checklist: Notes about gst_caps_to_string()
12798 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save_caps):
12799 Fix memory leakage of gst_caps_to_string().
12801 Use GST_PTR_FORMAT instead of gst_caps_to_string():
12802 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_sp):
12803 * gst/autoplug/gstspideridentity.c: (spider_find_suggest),
12804 (gst_spider_identity_sink_loop_type_finding):
12805 * gst/elements/gsttypefind.c: (gst_type_find_element_have_type),
12807 * gst/gstpad.c: (gst_pad_try_relink_filtered),
12808 (gst_pad_set_explicit_caps):
12809 * gst/parse/grammar.y:
12811 2004-01-28 David Schleef <ds@schleef.org>
12813 * configure.ac: Add detection for HAVE_PRINTF_EXTENSION and
12814 GST_PRINTF_EXTENSION_FORMAT_DEFINE.
12815 * docs/random/ds/0.9-suggested-changes: Notes from Company.
12816 * gst/gstcaps.c: (gst_caps_to_string): Add comment.
12817 * gst/gstconfig.h.in: Add define for GST_PTR_FORMAT
12818 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_object),
12819 (gst_debug_log_default), (_gst_info_printf_extension),
12820 (_gst_info_printf_extension_arginfo): Add printf extension.
12821 * gst/gstinfo.h: remove G_GNUC_PRINTF, because it doesn't work with %P
12822 * gst/gststructure.c: (gst_structure_to_string),
12823 (_gst_structure_parse_value): Use gst_value_deserialize() and
12825 * gst/gstvalue.c: (gst_value_deserialize_fourcc),
12826 (gst_value_deserialize_boolean), (gst_strtoi),
12827 (gst_value_deserialize_int), (gst_value_deserialize_double),
12828 (gst_value_deserialize_string), (gst_value_deserialize): Implement
12829 a bunch of deserialize functions and gst_value_deserialize.
12830 * gst/gstvalue.h: er, _de_serialize, not unserialize
12831 * testsuite/caps/string-conversions.c: (main): We don't currently
12832 handle (float) in caps, so convert these to (double).
12833 * testsuite/debug/Makefile.am: Add new test for the printf extension
12834 * testsuite/debug/printf_extension.c: (main): same
12836 2004-01-28 Benjamin Otte <in7y118@public.uni-hamburg.de>
12838 * docs/random/company/time:
12839 Add some docs about clocking and time
12841 2004-01-28 Julien MOUTTE <julien@moutte.net>
12843 * docs/pwg/advanced-interfaces.xml: Adding XOverlay documentation.
12845 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12847 * docs/pwg/advanced-clock.xml:
12848 * docs/pwg/advanced-dparams.xml:
12849 * docs/pwg/advanced-events.xml:
12850 * docs/pwg/advanced-interfaces.xml:
12851 * docs/pwg/advanced-midi.xml:
12852 * docs/pwg/advanced-request.xml:
12853 * docs/pwg/advanced-scheduling.xml:
12854 * docs/pwg/advanced-tagging.xml:
12855 * docs/pwg/advanced-types.xml:
12856 * docs/pwg/appendix-checklist.xml:
12857 * docs/pwg/building-boiler.xml:
12858 * docs/pwg/building-chainfn.xml:
12859 * docs/pwg/building-filterfactory.xml:
12860 * docs/pwg/building-pads.xml:
12861 * docs/pwg/building-props.xml:
12862 * docs/pwg/building-signals.xml:
12863 * docs/pwg/building-state.xml:
12864 * docs/pwg/building-testapp.xml:
12865 * docs/pwg/intro-basics.xml:
12866 * docs/pwg/intro-preface.xml:
12867 * docs/pwg/other-autoplugger.xml:
12868 * docs/pwg/other-sink.xml:
12869 * docs/pwg/other-source.xml:
12870 * docs/pwg/titlepage.xml:
12873 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12878 * docs/building-the-docs-on-debian:
12879 collect relevant bits of doc info
12881 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12883 * docs/pwg/advanced_tagging.xml:
12884 Half-assed commit so Thomas can re-arrange document IDs here to be
12887 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12889 * docs/manual/autoplugging.xml:
12890 * docs/manual/bins-api.xml:
12891 * docs/manual/bins.xml:
12892 * docs/manual/buffers-api.xml:
12893 * docs/manual/buffers.xml:
12894 * docs/manual/clocks.xml:
12895 * docs/manual/components.xml:
12896 * docs/manual/cothreads.xml:
12897 * docs/manual/debugging.xml:
12898 * docs/manual/dparams-app.xml:
12899 * docs/manual/dynamic.xml:
12900 * docs/manual/elements-api.xml:
12901 * docs/manual/elements.xml:
12902 * docs/manual/factories.xml:
12903 * docs/manual/gnome.xml:
12904 * docs/manual/goals.xml:
12905 * docs/manual/helloworld.xml:
12906 * docs/manual/helloworld2.xml:
12907 * docs/manual/init-api.xml:
12908 * docs/manual/intro.xml:
12909 * docs/manual/links-api.xml:
12910 * docs/manual/links.xml:
12911 * docs/manual/manual.xml:
12912 * docs/manual/motivation.xml:
12913 * docs/manual/pads-api.xml:
12914 * docs/manual/pads.xml:
12915 * docs/manual/plugins-api.xml:
12916 * docs/manual/plugins.xml:
12917 * docs/manual/programs.xml:
12918 * docs/manual/queues.xml:
12919 * docs/manual/quotes.xml:
12920 * docs/manual/schedulers.xml:
12921 * docs/manual/states-api.xml:
12922 * docs/manual/states.xml:
12923 * docs/manual/threads.xml:
12924 * docs/manual/typedetection.xml:
12925 * docs/manual/xml.xml:
12926 use chapter, part, section or misc as id starts for all bits
12928 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12930 * docs/gst/gstreamer-sections.txt:
12931 Fix up TITLE of the sections
12933 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12935 * docs/pwg/advanced_interfaces.xml:
12936 Add documentation on propertyprobing.
12937 * docs/pwg/advanced_events.xml:
12938 * docs/pwg/advanced_tagging.xml:
12939 * docs/pwg/building_boiler.xml:
12940 * docs/pwg/building_filterfactory.xml:
12941 * docs/pwg/pwg.xml:
12942 Move filterfactory and tagging into their own chapter, add a chapter
12943 on events. all these are empty placeholders that will be filled in
12946 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12948 * docs/pwg/advanced_interfaces.xml:
12949 Docs for mixer interface. Also a check for website uploading.
12951 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12954 * docs/Makefile.am:
12955 * docs/faq/Makefile.am:
12956 * docs/gst/Makefile.am:
12957 * docs/gst/tmpl/gstelement.sgml:
12958 * docs/gst/tmpl/gstplugin.sgml:
12959 * docs/gst/tmpl/gstreamer-unused.sgml:
12960 * docs/libs/Makefile.am:
12961 * docs/manual/Makefile.am:
12962 * docs/manuals.mak:
12963 * docs/pwg/Makefile.am:
12965 Separate out upload target and make it similar for
12966 both docbook and gtk-doc docs
12968 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
12970 * docs/manuals.mak:
12971 Fix upload target to work with freedesktop
12973 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12975 * docs/pwg/advanced_types.xml:
12976 Add notes on creating your own types.
12977 * docs/pwg/building_boiler.xml:
12978 * docs/pwg/building_pads.xml:
12979 * docs/pwg/building_state.xml:
12980 Add some stuff about how to retrieve values from structures, how
12981 that relates to types and change layout slightly again to be almost
12984 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12986 * docs/pwg/advanced_dparams.xml:
12987 * docs/pwg/advanced_scheduling.xml:
12988 Change index layout slightly.
12990 2004-01-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
12992 * docs/pwg/advanced_clock.xml:
12993 * docs/pwg/advanced_interfaces.xml:
12994 * docs/pwg/advanced_midi.xml:
12995 General placeholders for now.
12996 * docs/pwg/advanced_request.xml:
12997 Explanation about sometimes and request pads.
12998 * docs/pwg/advanced_scheduling.xml:
12999 Concept of bytestream, loopfunctions and schedulers.
13000 * docs/pwg/building_boiler.xml:
13001 Add something about plugin-init.
13003 2004-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
13005 * docs/pwg/building_pads.xml:
13008 2004-01-27 Ronald Bultje <rbultje@ronald.bitfreak.net>
13010 * docs/pwg/advanced_interfaces.xml:
13011 * docs/pwg/pwg.xml:
13012 Add as a placeholder for future filling-in.
13013 * docs/pwg/basics_autoplugging.xml:
13014 * docs/pwg/basics_buffers.xml:
13015 * docs/pwg/basics_elements.xml:
13016 * docs/pwg/basics_events.xml:
13017 * docs/pwg/basics_plugins.xml:
13018 * docs/pwg/basics_types.xml:
13019 Remove, because unused (this is all in intro_basics.xml).
13020 * docs/pwg/building_signals.xml:
13021 Short intro to signals + reference to GObject docs - we really
13022 shouldn't go into these sort of things to deply because we don't
13023 use them that extensively anyway.
13024 * docs/pwg/building_state.xml:
13025 Explanation of states. Benjamin, please check.
13026 * docs/pwg/building_testapp.xml:
13027 Put everything in one page - putting only a few lines of content
13028 per page doesn't really make sense.
13030 Time to get into the advanced topics. ;).
13032 2004-01-27 Ronald Bultje <rbultje@ronald.bitfreak.net>
13034 * docs/pwg/advanced_types.xml:
13035 Finish documenting the current state of mimetypes.
13036 * docs/pwg/building_boiler.xml:
13037 * docs/pwg/building_chainfn.xml:
13038 * docs/pwg/building_pads.xml:
13039 * docs/pwg/building_props.xml:
13040 * docs/pwg/building_testapp.xml:
13041 Start documenting the "how to build a simple audio filter" part
13042 of the PWG. Most stuff is ready by now. Stuff remaining: signals,
13043 states and (maybe?) a short introduction to capsnego in the chapter
13044 on pads (building_pads.xml). Capsnego should probably be explained
13045 fully in advanced_capsnego.xml or so.
13047 2004-01-26 David Schleef <ds@schleef.org>
13049 * gst/gstpad.c: (gst_pad_try_set_caps_nonfixed):
13050 * gst/gstpad.h: Add new function to allow element to (somewhat)
13051 specify non-fixed caps on a pad.
13052 * gst/gstqueue.c: (gst_queue_chain): Remove noisy g_object_notify()
13053 that I added a few weeks ago.
13055 2004-01-26 David Schleef <ds@schleef.org>
13057 * gst/gstpad.c: (gst_pad_try_set_caps): Revert last change
13058 making try_set_caps() work with non-fixed caps.
13060 2004-01-26 Ronald Bultje <rbultje@ronald.bitfreak.net>
13062 * docs/pwg/advanced_types.xml:
13063 * docs/pwg/intro_basics.xml:
13064 * docs/pwg/intro_preface.xml:
13065 * docs/pwg/pwg.xml:
13066 * docs/pwg/titlepage.xml:
13067 First try to resurrect the PWG. I'm halfway integrating the mimetypes
13068 in here (docs/random/mimetypes), and will from there on work on both
13069 updating outdated parts and adding missing parts.
13070 That doesn't mean I'll fix it completely, but I'll try at least. ;).
13072 2004-01-26 Thomas Vander Stichele <thomas at apestaart dot org>
13074 * gst/gsterror.h: reinstate GST_LIBRARY_ERROR_ENCODE until
13077 2004-01-26 Benjamin Otte <in7y118@public.uni-hamburg.de>
13079 * gst/gstelement.h:
13080 remove gst_element_factory_get_version. It doesn't exist anymore.
13083 remove gst_plugin_set_name and change gst_plugin_get_longname to
13084 gst_plugin_get_description to match code.
13086 remove GST_LIBRARY_ERROR_ENCODE. It's GST_STREAM_ERROR_ENCODE.
13087 * gst/gstpad.c: (gst_pad_try_set_caps):
13088 make it work with nonfixed caps.
13089 Note that even in the nonfixed case the link function of the pad
13090 that tries to set caps isn't called.
13092 2004-01-25 Benjamin Otte <in7y118@public.uni-hamburg.de>
13094 * gst/elements/gstbufferstore.c: (gst_buffer_store_get_buffer):
13095 fix bug where buffer was not assembled correctly
13096 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init):
13098 * gst/elements/gsttypefind.c: (gst_type_find_element_chain):
13099 only seek if there's no more buffers that could work without seeking
13101 2004-01-23 Ronald Bultje <rbultje@ronald.bitfreak.net>
13103 * gst/gsttag.c: (_gst_tag_initialize):
13105 Add application tag (for encoding/muxing app).
13107 2004-01-23 Thomas Vander Stichele <thomas at apestaart dot org>
13110 make autopoint force, and libtoolize not copy
13111 * common/m4/as-docbook.m4:
13112 added docbook xml catalog setup check
13113 * common/m4/gst-doc.m4:
13116 2004-01-22 Thomas Vander Stichele <thomas at apestaart dot org>
13118 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
13122 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13124 * docs/gst/gstreamer-sections.txt:
13125 * docs/gst/tmpl/gst.sgml:
13126 * docs/gst/tmpl/gstbuffer.sgml:
13127 * docs/gst/tmpl/gstclock.sgml:
13128 * docs/gst/tmpl/gstelement.sgml:
13129 * docs/gst/tmpl/gstreamer-unused.sgml:
13130 * docs/gst/tmpl/gstxml.sgml:
13131 sync latest API changes to docs
13133 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13135 * gst/gstpluginfeature.c:
13137 * tools/gst-inspect.c: (print_element_list):
13138 fix output of typefind
13140 * tools/gst-launch.c:
13143 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13145 * gst/elements/Makefile.am:
13146 * gst/elements/gstelements.c:
13147 * gst/elements/gsttypefindelement.c:
13148 * gst/elements/gsttypefindelement.h:
13152 renamed gsttypefindelement to gsttypefind, conserving CVS history
13154 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13156 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_list_add_valist):
13158 add some tags used in ogg as well
13159 fix _ in replaygain tags
13161 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13164 fix wrong GST_LIBRARY_ERROR_ENCODE addition
13166 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13168 * gst/gstelement.c: (gst_element_error_full):
13169 * gst/gstelement.h:
13170 change _extended to _full
13172 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13174 reviewed by: <delete if not using a buddy>
13176 * docs/gst/tmpl/gst.sgml:
13177 * docs/gst/tmpl/gstbuffer.sgml:
13178 * docs/gst/tmpl/gstclock.sgml:
13179 * docs/gst/tmpl/gstelement.sgml:
13180 * docs/gst/tmpl/gstreamer-unused.sgml:
13181 * docs/gst/tmpl/gstxml.sgml:
13182 * gst/gstelement.c: (gst_element_error_full):
13183 * gst/gstelement.h:
13185 2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
13187 * gst/gstelement.h: fix _gst_element_error_printf prototype
13189 2004-01-20 David Schleef <ds@schleef.org>
13191 * gst/gststructure.c: (gst_structure_to_string):
13192 Convert function to use gst_value_serialize().
13193 * gst/gstvalue.c: (gst_value_serialize_list),
13194 (gst_value_serialize_fourcc), (gst_value_serialize_int_range),
13195 (gst_value_serialize_double_range), (gst_value_serialize_boolean),
13196 (gst_value_serialize_int), (gst_value_serialize_double),
13197 (gst_string_wrap), (gst_value_serialize_string),
13198 (gst_value_serialize), (gst_value_deserialize):
13200 Add implementations for serialize.
13202 2004-01-20 Julien MOUTTE <julien@moutte.net>
13204 * gst/gsterror.h: xvidenc.c needs GST_LIBRARY_ERROR_ENCODE. Dunno if
13205 we want to keep that one in the future or change xvidenc.c to use
13208 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13210 * gst/gstelement.c: (_gst_element_error_printf):
13211 * gst/gstelement.h:
13214 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13216 * docs/random/error:
13217 doc explaining error system
13218 * gst/elements/gstfilesrc.c: (gst_filesrc_open_file):
13221 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13223 * gst/gst-i18n-app.h:
13224 * gst/gst-i18n-lib.h:
13225 remove inclusion of config.h
13228 add gst/gstelement.c
13230 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13232 * po/nl.po: updated Dutch translation
13234 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13236 * gst/gsterror.c: (_gst_core_errors_init),
13237 (_gst_library_errors_init), (_gst_resource_errors_init),
13238 (_gst_stream_errors_init):
13239 remove ending punctuation dots
13241 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13243 * gst/elements/gstfilesink.c: (gst_filesink_open_file):
13244 * gst/elements/gstfilesrc.c: (gst_filesrc_get_read):
13245 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
13246 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
13247 (gst_pipefilter_chain), (gst_pipefilter_open_file):
13248 use GST_ERROR_SYSTEM
13250 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13252 * gst/gstelement.c: (gst_element_error_printf),
13253 (gst_element_error_extended):
13254 * gst/gstelement.h:
13255 add a helper printf function so we can have NULL values passed.
13257 2004-01-19 Thomas Vander Stichele <thomas at apestaart dot org>
13259 * gst/gstelement.h:
13260 add G_STMT macros to gst_element_error, which isn't strictly
13261 necessary but people tell me to anyway.
13263 2004-01-18 Thomas Vander Stichele <thomas at apestaart dot org>
13266 * gst/autoplug/gstspideridentity.c:
13267 (gst_spider_identity_sink_loop_type_finding):
13268 * gst/elements/gstfakesink.c: (gst_fakesink_change_state):
13269 * gst/elements/gstfilesink.c: (gst_filesink_open_file),
13270 (gst_filesink_close_file), (gst_filesink_handle_event),
13271 (gst_filesink_chain):
13272 * gst/elements/gstfilesrc.c: (gst_filesrc_set_property),
13273 (gst_filesrc_map_region), (gst_filesrc_get_read),
13274 (gst_filesrc_open_file):
13275 * gst/elements/gstidentity.c: (gst_identity_chain):
13276 * gst/elements/gstmultidisksrc.c: (gst_multidisksrc_open_file):
13277 * gst/elements/gstpipefilter.c: (gst_pipefilter_get),
13278 (gst_pipefilter_chain), (gst_pipefilter_open_file):
13279 * gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
13281 * gst/gst_private.h:
13282 * gst/gstelement.c: (gst_element_class_init),
13283 (gst_element_default_error), (gst_element_error_func),
13284 (gst_element_error_extended):
13285 * gst/gstelement.h:
13286 * gst/gsterror.c: (_gst_core_errors_init),
13287 (_gst_library_errors_init), (_gst_resource_errors_init),
13288 (_gst_stream_errors_init), (gst_error_get_message):
13290 * gst/gstinfo.c: (_gst_debug_init):
13291 * gst/gstmarshal.list:
13292 * gst/gstpad.c: (gst_pad_set_explicit_caps),
13293 (gst_pad_recover_caps_error), (gst_pad_pull):
13294 * gst/gstqueue.c: (gst_queue_chain), (gst_queue_get):
13295 * gst/schedulers/gstbasicscheduler.c:
13296 (gst_basic_scheduler_chainhandler_proxy),
13297 (gst_basic_scheduler_gethandler_proxy),
13298 (gst_basic_scheduler_cothreaded_chain):
13302 change error signal
13303 add error categories
13305 2004-01-18 Jeremy Simon <jesimon@libertysurf.fr>
13307 * gst/gsttag.c: (_gst_tag_initialize):
13311 2004-01-18 Colin Walters <walters@verbum.org>
13313 * examples/retag/retag.c: Call gst_init before processing
13314 program args. Add g_assert to _link_many call.
13316 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
13318 * gst/gstpad.c: (gst_pad_alloc_buffer):
13319 Return a newly allocated buffer when the pad has no peer.
13321 2004-01-16 Benjamin Otte <in7y118@public.uni-hamburg.de>
13323 * gst/gstclock.c: (gst_clock_get_time):
13324 make it compile with gcc 2.95 again.
13325 Patch by Scott Wheeler
13327 2004-01-15 David Schleef <ds@schleef.org>
13330 Added gst_caps_is_simple() macro.
13331 * testsuite/caps/caps.c: (test1):
13332 * testsuite/caps/intersect2.c: (main):
13333 * testsuite/caps/intersection.c: (main):
13334 Fixes to make 'make check' work again after removing
13335 gst_caps_is_chained().
13337 2004-01-15 Leif Johnson <leif@ambient.2y.net>
13339 * docs/random/uraeus/gstreamer_and_midi.txt: Rather large edits
13340 and additions to the MIDI document.
13342 2004-01-15 David Schleef <ds@schleef.org>
13344 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered),
13345 (gst_element_link_pads_filtered): Use GST_PAD_ macros instead
13346 of GST_RPAD_, since we don't know if it's a real or ghost pad.
13348 2004-01-15 David Schleef <ds@schleef.org>
13352 Fix the spelling of "treshold" and make min_threshold actually
13355 2004-01-15 David Schleef <ds@schleef.org>
13358 Add lots of documentation.
13360 Deprecate a few functions.
13362 Removed use of deprecated functions.
13364 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
13366 * gst/gstpad.c: (gst_pad_is_linked):
13368 implement gst_pad_is_linked
13369 * gst/gstelement.h:
13370 reserve space for initiate_state_change
13372 2004-01-15 Benjamin Otte <in7y118@public.uni-hamburg.de>
13374 * gst/autoplug/gstspideridentity.c:
13375 (gst_spider_identity_sink_loop_type_finding):
13376 break infinite loop by just returning instead of looping
13377 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_set_property):
13378 set event time difference correctly. Set it to 1 second instead
13379 of 100ms to be more tolerant
13380 * gst/gstelement.c: (gst_element_set_time):
13381 add debugging output
13383 2004-01-14 Benjamin Otte <in7y118@public.uni-hamburg.de>
13385 * gst/gstqueue.c: (gst_queue_getcaps), (gst_queue_link):
13386 query if buffers are inside the pool, ignore events
13388 2004-01-13 Benjamin Otte <in7y118@public.uni-hamburg.de>
13390 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_init),
13391 (gst_clock_set_speed), (gst_clock_set_active),
13392 (gst_clock_is_active), (gst_clock_reset),
13393 (gst_clock_handle_discont):
13395 deprecate old interface and disable functions that aren't in use
13397 * gst/gstelement.h:
13398 * gst/gstelement.c: (gst_element_get_time), (gst_element_wait),
13399 (gst_element_set_time), (gst_element_adjust_time):
13400 add concept of "element time" and functions to get/set this time.
13401 * gst/gstelement.c: (gst_element_change_state):
13402 update element time correctly.
13403 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
13404 This is a debug message, not a g_critical.
13405 * gst/gstpad.c: (gst_pad_event_default):
13406 handle discontinuous events right with element time.
13407 * gst/gstscheduler.c: (gst_scheduler_state_transition):
13408 update to clocking fixes.
13409 set clocks on elements in READY=>PAUSED. The old behaviour caused
13410 a wrong element time on the first element that started playing.
13411 * gst/schedulers/gstbasicscheduler.c:
13412 (gst_basic_scheduler_class_init):
13413 * gst/schedulers/gstoptimalscheduler.c:
13414 (gst_opt_scheduler_class_init):
13415 remove code that just implements the default behaviour.
13416 * gst/elements/gstfakesink.c: (gst_fakesink_chain):
13417 update to use new clocking functions
13418 * testsuite/clock/clock1.c: (gst_clock_debug), (main):
13419 * testsuite/clock/clock2.c: (gst_clock_debug), (main):
13420 update to test new element time.
13421 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps):
13422 use _get_allowed_caps instead of _get_caps. This catches filtered
13424 * testsuite/debug/commandline.c:
13425 update for new GST_DEBUG syntax.
13426 * testsuite/threads/Makefile.am:
13427 disable a test that only works sometimes.
13429 2004-01-13 Julien MOUTTE <julien@moutte.net>
13431 * po/LINGUAS: Adding fr.
13432 * po/fr.po: Adding french translation.
13434 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13436 * gst/parse/grammar.y:
13439 * tools/gst-launch.c: (xmllaunch_parse_cmdline), (main):
13440 translate parsing error messages
13442 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13444 * po/POTFILES.in: adding gst-launch
13445 * po/nl.po: updated translation, all 99 strings translated
13446 * tools/gst-launch.c: (idle_func), (xmllaunch_parse_cmdline),
13447 (found_tag), (sigint_handler_sighandler), (play_handler), (main):
13448 fix strings for translation
13450 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13453 - capitalize beginnings of popt options
13454 - fix strings for translation
13455 - change gst-debug format from =N1=V1:N2=V2 to =N1:V1,N2:V2
13457 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13459 * po/README: add some notes on how to update translations
13461 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13463 * ABOUT-NLS: removed, is autogenerated from autopoint
13464 * autogen.sh: add autopoint stuff
13465 * configure.ac: fix up gettext stuff
13466 * gst/Makefile.am: add i18n headers to noinst_HEADERS
13467 * gst/elements/gsttypefindelement.c: add header include
13468 * gst/gettext.h: add header, copy from system-installed header
13469 * gst/gst-i18n-app.h: to be included by each app having translations
13470 * gst/gst-i18n-lib.h: to be included by each lib having translations
13471 * gst/gst.c: (init_pre): fix up gettext calls
13472 * gst/gst_private.h: remove i18n stuff, moving to separate headers
13473 * po/LINGUAS: the new way to specify translations present
13474 * po/Makefile.in.in: removed from cvs, autogenerated from autopoint
13475 * po/Makevars: the variables filled in for GStreamer
13476 * po/POTFILES.in: added new files with translations
13477 * po/de.po: has new strings
13478 * po/nl.po: readded, has new strings
13480 2004-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
13482 * gst/gsttag.c: fix some strings marked for translation
13484 2004-01-13 Iain <iain@prettypeople.org>
13486 * gst/schedulers/gstoptimalscheduler.c (add_to_group): Reference the
13487 group when we add an element to it, cos we unref it when we remove one
13489 2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
13491 * testsuite/debug/commandline.c: (debug_not_reached):
13492 * testsuite/debug/output.c: (check_message):
13495 2004-01-12 Benjamin Otte <in7y118@public.uni-hamburg.de>
13497 * examples/cutter/.cvsignore:
13498 * examples/helloworld/.cvsignore:
13499 * examples/launch/.cvsignore:
13500 * examples/manual/.cvsignore:
13501 * examples/mixer/.cvsignore:
13502 * examples/pingpong/.cvsignore:
13503 * examples/plugins/.cvsignore:
13504 * examples/queue/.cvsignore:
13505 * examples/queue2/.cvsignore:
13506 * examples/queue3/.cvsignore:
13507 * examples/queue4/.cvsignore:
13508 * examples/retag/.cvsignore:
13509 * examples/thread/.cvsignore:
13510 * examples/typefind/.cvsignore:
13511 * examples/xml/.cvsignore:
13513 * gst/autoplug/.cvsignore:
13514 * gst/elements/.cvsignore:
13515 * gst/indexers/.cvsignore:
13516 * gst/parse/.cvsignore:
13517 * gst/registries/.cvsignore:
13518 * gst/schedulers/.cvsignore:
13519 * libs/gst/bytestream/.cvsignore:
13520 * libs/gst/control/.cvsignore:
13521 * libs/gst/getbits/.cvsignore:
13522 * tests/.cvsignore:
13523 * tests/bufspeed/.cvsignore:
13524 * tests/instantiate/.cvsignore:
13525 * tests/memchunk/.cvsignore:
13526 * tests/muxing/.cvsignore:
13527 * tests/sched/.cvsignore:
13528 * tests/seeking/.cvsignore:
13529 * tests/threadstate/.cvsignore:
13530 * testsuite/.cvsignore:
13531 * testsuite/caps/.cvsignore:
13532 * testsuite/cleanup/.cvsignore:
13533 * testsuite/dynparams/.cvsignore:
13534 * testsuite/plugin/.cvsignore:
13535 * tools/.cvsignore:
13536 update - this is huge, because it includes *.bb, *.bbg and *.da files
13537 which are generated for gcov.
13539 2004-01-11 David Schleef <ds@schleef.org>
13541 * gst/gststructure.c: (gst_strtoi), (gst_value_from_string): Add
13542 a function to parse integers in ways that strto[u]l() does not.
13544 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
13546 * tools/gst-inspect.c: (print_caps):
13547 improve output of caps a bit
13549 2004-01-11 David Schleef <ds@schleef.org>
13551 * gst/gstbuffer.c: (gst_buffer_create_sub): Subbuffers should
13552 inherit correct flags (READONLY and DONTKEEP).
13554 2004-01-11 David Schleef <ds@schleef.org>
13556 * gst/elements/gstfilesrc.c: (gst_filesrc_free_parent_mmap),
13557 (gst_filesrc_map_region):
13558 * gst/gstbuffer.c: (_gst_buffer_initialize),
13559 (_gst_buffer_sub_free), (gst_buffer_default_copy),
13560 (gst_buffer_new), (gst_buffer_create_sub),
13561 (gst_buffer_is_span_fast), (gst_buffer_span):
13563 Change GstBuffer private structure element names. (all files)
13564 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
13567 Implement getcaps/pad_link functions that handle the case where
13568 there are data in the queue.
13570 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
13572 * gst/elements/gstbufferstore.c:
13573 initialize debugging structure correctly
13574 * gst/elements/gsttee.c: (gst_tee_set_property):
13575 g_object_notify when property was changed
13576 * gst/elements/gsttypefindelement.c:
13577 (gst_type_find_element_change_state):
13578 clear caps correctly
13580 2004-01-11 Benjamin Otte <in7y118@public.uni-hamburg.de>
13582 * gst/gstqueue.c: (gst_queue_init):
13583 Use better defaults for when a queue should block. This
13584 gets rid of jerky playback for quite a few files.
13585 It takes more memory.
13587 2004-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
13589 (gst_xml_registry_parse_padtemplate):
13590 make critical message slightly more useful
13592 2004-01-10 Benjamin Otte <in7y118@public.uni-hamburg.de>
13594 * gst/gstinfo.c: (gst_debug_log), (gst_debug_log_valist),
13595 (gst_debug_message_get), (gst_debug_log_default):
13597 Change gst_debug_log(_valist) to take a const format string.
13598 Change prototype of log function and functions using those to
13599 take a GstDebugMessage instead of a string that requires using
13600 gst_debug_message_get.
13602 2004-01-08 David Schleef <ds@schleef.org>
13606 Add option --enable-gcov to build GStreamer with -fprofile-arcs
13607 and -ftest-coverage, which allows gcov to show information about
13608 testsuite coverage.
13610 2004-01-08 Benjamin Otte <in7y118@public.uni-hamburg.de>
13613 Add GST_BOILERPLATE(_FULL), GST_PARENT_CALL and
13614 GST_PARENT_CALL_WITH_DEFAULT
13615 * gst/elements/gstaggregator.c:
13616 * gst/elements/gstbufferstore.c:
13617 * gst/elements/gstfakesink.c:
13618 * gst/elements/gstfakesrc.c:
13619 * gst/elements/gstfdsink.c:
13620 * gst/elements/gstfdsrc.c:
13621 * gst/elements/gstfilesink.c:
13622 * gst/elements/gstfilesrc.c:
13623 * gst/elements/gstidentity.c:
13624 * gst/elements/gstmd5sink.c:
13625 * gst/elements/gstmultidisksrc.c:
13626 * gst/elements/gstpipefilter.c:
13627 * gst/elements/gstshaper.c:
13628 * gst/elements/gststatistics.c:
13629 * gst/elements/gsttee.c:
13630 * gst/elements/gsttypefindelement.c:
13633 2004-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
13635 * docs/gst/gstreamer-docs.sgml: remove props
13636 * docs/gst/gstreamer-sections.txt: remove props
13637 * docs/gst/tmpl/gst.sgml:
13638 * docs/gst/tmpl/gstbin.sgml:
13639 * docs/gst/tmpl/gstbuffer.sgml:
13640 * docs/gst/tmpl/gstcaps.sgml:
13641 * docs/gst/tmpl/gstclock.sgml:
13642 * docs/gst/tmpl/gstelement.sgml:
13643 * docs/gst/tmpl/gstindex.sgml:
13644 * docs/gst/tmpl/gstobject.sgml:
13645 * docs/gst/tmpl/gstpad.sgml:
13646 * docs/gst/tmpl/gstpadtemplate.sgml:
13647 * docs/gst/tmpl/gstreamer-unused.sgml:
13648 * docs/gst/tmpl/gstthread.sgml:
13649 * docs/gst/tmpl/gstxml.sgml:
13650 sync with code reorganization
13652 2004-01-07 Jan Schmidt <thaytan@mad.scientist.com>
13654 * gst/gstelement.c: (gst_element_get_compatible_pad_filtered):
13655 Make the 'Could not find compatible pad' message more informative.
13657 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net>
13659 * gst/elements/gstfilesink.c: (gst_filesink_set_location):
13660 Fix for if we pass NULL as property to location.
13661 * gst/elements/gstpipefilter.c: (gst_pipefilter_init),
13662 (gst_pipefilter_handle_event), (gst_pipefilter_chain):
13663 Fix for instantiate-test (see below).
13664 * gst/gststructure.c: (_gst_structure_parse_value):
13665 Fix compile error on gcc-2.96.
13667 * tests/Makefile.am:
13668 * tests/instantiate/Makefile.am:
13669 * tests/instantiate/create.c: (create_all_elements), (main):
13670 Add a test that instantiates all elements. This makes it easy to
13671 track dead code for old API/design (like setting event functions
13672 on sink pads and so on).
13674 2004-01-06 Jan Schmidt <thaytan@mad.scientist.com>
13676 * gst/gstcaps.c: (gst_caps_append_structure):
13677 Move the poisoning to allow a NULL structure
13678 * gst/gstevent.c: (_gst_event_free):
13679 When freeing a navigation event, free the structure
13682 2004-01-04 David Schleef <ds@schleef.org>
13684 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
13685 Remove usage of gst_pad_proxy_fixate.
13686 * gst/gstcaps.c: (gst_caps_append), (gst_caps_append_structure),
13687 (gst_caps_split_one), (gst_caps_replace):
13688 Add poisoning code.
13689 * gst/gstmarshal.list:
13690 Add pointer__pointer for fixate signal
13691 * gst/gstpad.c: (gst_real_pad_class_init),
13692 (_gst_real_pad_fixate_accumulator), (gst_pad_link_fixate),
13693 (_gst_pad_default_fixate_func), (gst_pad_proxy_fixate),
13694 (gst_pad_set_explicit_caps), (gst_pad_template_new):
13695 Add poisoning code. Add fixate signal on RealPad. Change
13696 set_explicit_caps() to take const GstCaps, like try_set_caps().
13698 * testsuite/caps/Makefile.am:
13699 * testsuite/caps/app_fixate.c: Add a test for the fixate signal
13701 2004-01-03 David Schleef <ds@schleef.org>
13703 * gst/elements/gsttypefindelement.c:
13704 (gst_type_find_element_have_type), (gst_type_find_element_init):
13705 Use gst_pad_use_explicit_caps for src pad.
13706 * gst/gstpad.c: (gst_pad_try_set_caps): Check that link exists
13709 2004-01-03 David Schleef <ds@schleef.org>
13711 * gst/gstelement.c: (gst_element_link_pads_filtered),
13712 (gst_element_negotiate_pads): Fix to allow DELAYED to indicate
13713 that linking was successful.
13714 * gst/gstpad.c: (gst_pad_link_free),
13715 (gst_pad_link_call_link_functions), (gst_pad_link_negotiate),
13716 (gst_pad_link_try), (gst_pad_link_unnegotiate),
13717 (gst_pad_unnegotiate), (gst_pad_set_explicit_caps): Pass
13718 GstPadLinkReturn correctly between functions, and don't fail
13719 when DELAYED is used (DELAYED is very important). Better
13720 cleanup on unlinking and unnegotiation. Should fix some spider
13723 2004-01-02 David Schleef <ds@schleef.org>
13725 * gst/gstelement.c: (gst_element_class_init),
13726 (gst_element_base_class_init): ->padtemplates should be cleared
13727 in base_init, since we need to have a fresh list for every
13728 class. (Alternately, we chould copy the list and share the
13729 actual pad templates (not the list), but that would require
13730 changing every plugin to move pad template registration from
13731 base_init to class_init.)
13733 2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
13735 * gst/gstelement.c: (gst_element_class_add_pad_template):
13736 Refuse registering a pad template if another pad template
13737 with the same name already exists (#114715).
13739 2004-01-02 David Schleef <ds@schleef.org>
13741 * gst/gstcaps.c: (_gst_structure_is_equal_foreach),
13742 (gst_caps_is_equal_fixed): Add new function.
13743 * gst/gstcaps.h: ditto.
13744 * gst/gstpad.c: (gst_real_pad_class_init),
13745 (gst_pad_link_call_link_functions), (gst_pad_try_set_caps),
13746 (gst_pad_set_explicit_caps), (gst_pad_get_caps): In try_set_caps,
13747 check new caps against existing caps -- if they're the same, return
13748 OK without renegotiating. caps-nego-failed signal fixed so that
13749 the marshaller isn't VOID__OBJECT. Also changed to G_TYPE_POINTER
13750 to save an extra caps copy. Don't complete negotiation if a pad
13751 link function returns DELAYED.
13753 2004-01-02 Benjamin Otte <in7y118@public.uni-hamburg.de>
13755 * gst/gstpad.c: (gst_pad_try_relink_filtered):
13756 Fix wrong g_return_if_fail
13758 2004-01-03 Jan Schmidt <thaytan@mad.scientist.com>
13760 * gst/gstbin.c: (gst_bin_class_init):
13761 Change the marshalling of element_added/element_removed
13762 to use gst_marshal_VOID__OBJECT, since gst_marshal_VOID__POINTER
13763 complains that GST_TYPE_ELEMENT is not G_TYPE_POINTER
13765 2004-01-01 David Schleef <ds@schleef.org>
13767 * gst/gstpad.c: (gst_pad_set_explicit_caps),
13768 (gst_pad_explicit_getcaps), (gst_pad_explicit_link),
13769 (gst_pad_use_explicit_caps):
13771 Add new functions. gst_pad_use_explicit_caps() sets up a pad
13772 to use an internal getcaps and link fuction so that negotiation
13773 always results in the explicitly set caps.
13774 gst_pad_set_explicit_caps() sets the explicit caps. These functions
13775 are particularly useful for decoders.
13777 2003-12-31 David Schleef <ds@schleef.org>
13779 * gst/elements/gstidentity.c: (gst_identity_class_init),
13780 (gst_identity_init), (gst_identity_chain),
13781 (gst_identity_set_property), (gst_identity_get_property):
13782 * gst/elements/gstidentity.h:
13783 * gst/gstqueue.c: (gst_queue_init):
13786 2003-12-31 David Schleef <ds@schleef.org>
13788 * gst/gstcaps.c: (gst_caps_intersect),
13789 (_gst_caps_normalize_foreach), (gst_caps_normalize):
13790 Implement gst_caps_normalize().
13791 * testsuite/caps/normalisation.c: (main):
13792 Add an additional test
13794 2003-12-31 Ronald Bultje <rbultje@ronald.bitfreak.net>
13796 * gst/gstqueue.c: (gst_queue_init):
13797 use gst_pad_proxy_getcaps()
13799 2003-12-31 David Schleef <ds@schleef.org>
13801 * gst/elements/gstshaper.c: (gst_shaper_link):
13802 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_request_new_pad):
13803 * gst/gstqueue.c: (gst_queue_link):
13806 2003-12-31 David Schleef <ds@schleef.org>
13808 * gst/gstpad.c: (gst_pad_proxy_pad_link), (gst_pad_proxy_fixate):
13809 * gst/gstpad.h: Add functions that are useful as default pad
13810 link and fixate functions for elements.
13812 2003-12-30 David Schleef <ds@schleef.org>
13814 * gst/gstpad.c: (gst_pad_link_try):
13815 Fix segfault when attempting to return to old caps
13817 2003-12-29 David Schleef <ds@schleef.org>
13819 * gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
13820 (gst_caps_structure_simplify), (gst_caps_simplify):
13822 Add simplify function
13823 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
13824 (gst_pad_perform_negotiate), (gst_pad_is_negotiated):
13826 Copy over srcnotify, sinknotify when calling old pad_link
13827 functions. Add new is_negotiated() function.
13828 * gst/gststructure.c: (gst_structure_copy):
13829 Fix an incredibly stupid bug that should have been noticed
13830 weeks ago. _copy() returned the argument, not the new copy.
13832 2003-12-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
13834 * gst/gstcaps.c: (gst_caps_append):
13836 * gst/gstcaps.h: (gst_caps_debug):
13837 remove, it doesn't exist anymore.
13838 * gst/gstelement.c: (gst_element_threadsafe_properties_pre_run),
13839 (gst_element_threadsafe_properties_post_run):
13840 make debugging messages not clutter up THREAD debug category
13841 (gst_element_negotiate_pads), (gst_element_clear_pad_caps),
13842 (gst_element_change_state):
13843 update to new caps API
13844 * gst/gstinterface.c: (gst_implements_interface_cast):
13845 don't put vital code in g_return_if_fail
13846 * gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
13847 (gst_pad_link_filtered):
13848 add pst_pad_try_link and use it.
13849 (gst_pad_perform_negotiate), (gst_pad_renegotiate):
13850 implement correctly, deprecate first one.
13851 (gst_pad_link_unnegotiate), (gst_pad_unnegotiate):
13853 (gst_pad_try_relink_filtered), (gst_pad_relink_filtered):
13855 (gst_pad_get_negotiated_caps):
13856 add and implement. Make GST_PAD_CAPS call this function.
13857 (gst_pad_get_caps):
13858 remove unneeded check..
13859 (gst_pad_recover_caps_error):
13860 disable, always return FALSE.
13861 (gst_real_pad_dispose):
13862 don't free caps and appfilter anymore, they're unused.
13864 Reflect changes mentioned above.
13865 * gst/gstsystemclock.c: (gst_system_clock_wait):
13866 Make 'clock is way behind' a debugging message.
13867 * gst/gstthread.c: (gst_thread_change_state):
13868 Fix debugging message
13870 2003-12-25 Thomas Vander Stichele <thomas at apestaart dot org>
13873 fix GST_DEBUG_CATEGORY_INIT gtk-doc description
13874 * docs/gst/tmpl/gstreamer-unused.sgml:
13875 removed all traces of cvs conflicts
13877 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13880 * gst/schedulers/cothreads_compat.h:
13881 * libs/Makefile.am:
13882 remove last instances of wingo cothread usage
13884 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13887 * gst/gstversion.h.in:
13888 * gst/parse/grammar.y:
13889 change comment block from /** to /* when not gtk-doc comments
13891 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13893 * gst/gst.c: whitespace and doc style fixes
13895 2003-12-24 Thomas Vander Stichele <thomas at apestaart dot org>
13897 * gst/gstformat.h: remove trailing whitespace from enum for gtk-doc
13899 2003-12-24 Colin Walters <walters@verbum.org>
13901 * gst/elements/gsttypefindelement.c:
13902 gst/elements/gsttypefindelement.h: Make GstCaps parameter const.
13903 Copy caps parameter. Use _POINTER to marshal caps instead of _BOXED.
13904 Don't double-free caps.
13906 2003-12-23 David Schleef <ds@schleef.org>
13908 * gst/gstelement.c, gst/gstpad.c, gst/parse/grammar.y,
13909 gst/gstcaps.c, gst/autoplug/gstspideridentity.c:
13910 Many little fixes and additions of debug statements to
13911 get rhythmbox working.
13913 2003-12-23 Colin Walters <walters@verbum.org>
13915 * gst/autoplug/gstspideridentity.c (gst_spider_identity_sink_loop_type_finding):
13916 Use GST_PAD_LINK_SUCCESSFUL.
13918 2003-12-23 David Schleef <ds@schleef.org>
13920 * gst/elements/gstaggregator.c:
13921 * gst/elements/gsttee.c:
13922 Use gst_pad_proxy_getcaps().
13925 Add gst_pad_proxy_getcaps(), which filter elements can use
13926 as a generic getcaps implementation.
13927 Fix gst_pad_get_allowed_caps(). It just wasn't doing what
13930 2003-12-23 David Schleef <ds@schleef.org>
13933 Rearrange/rewrite much of the pad negotiation code, since it
13934 resembled pasta. This actually changes the way some
13935 negotiation works, since the previous code was inconsistent
13936 depending on how it was invoked. Add (internal) structure
13937 GstPadLink, which is used to hold some information (more in
13938 the future) about the link between two pads. Fixes a number
13939 of bugs, including random lossage of filter caps when the
13940 initial negotiation is delayed. A few functions are still
13943 Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros. Please use
13944 these when testing GstPadLinkReturn values instead of comparing
13947 2003-12-23 David Schleef <ds@schleef.org>
13951 Rearrange lots of code. Change registration of compare function
13952 into registration of compare/serialize/deserialize functions.
13953 Doesn't include implementation of gst_value_[de]serialize(),
13954 but that should be easy.
13956 2003-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
13958 * docs/gst/gstreamer-sections.txt:
13959 * docs/gst/tmpl/gstprops.sgml: removed
13960 * docs/gst/tmpl/gstreamer-bufferpool.sgml: removed
13961 David removed props and caps code, so let's remove their docs as well.
13962 Removed all no longer existing symbols from gstreamer-sections.txt
13964 2003-12-22 Colin Walters <walters@verbum.org>
13966 * gst/gsttaginterface.c, gst/gsttaginterface.h,
13967 gst/gsttag.c, gst/gsttag.h: Add interface to setting GValues
13970 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
13972 * gst/elements/gstelements.c:
13973 Set ranks of elements to NONE, so the autoplugger doesn't use them.
13974 * gst/elements/gstshaper.c: (gst_shaper_getcaps):
13975 Fix proxying to new CAPS stuff. Don't call get_allowed_caps but
13978 2003-12-22 Benjamin Otte <in7y118@public.uni-hamburg.de>
13980 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13981 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_link),
13982 (gst_spider_identity_getcaps), (gst_spider_identity_change_state),
13983 (gst_spider_identity_sink_loop_type_finding):
13984 * gst/autoplug/gstspideridentity.h:
13985 Fix autoplugging in spider element, so it works with new caps.
13986 This was mainly caused by identifying empty caps incorrectly.
13988 2003-12-22 David Schleef <ds@schleef.org>
13990 * gststructure.c, gstvalue.c, gstvalue.h: Add
13991 gst_value_init_and_copy() and use it, to avoid silly mistakes in
13992 using g_value_copy()
13994 2003-12-21 David Schleef <ds@schleef.org>
13996 * many, many files: Merge CAPS branch. This includes:
13997 - implemention of GstValue and several GstValue types
13998 - implemention of GstStructure
13999 - entire rewrite of GstCaps
14000 - removal of GstProps
14001 - many changes to GstPad to compensate for new caps paradigm
14002 - removal of GstBufferpool
14003 * gst/Makefile.am, gst/gst.h, gst/gstpad.h, gst/gsttypefind.h,
14004 gstvalue.h, gst/gstcaps[2]*.[ch]:
14005 - rename gstcaps2.[ch] to gstcaps.[ch]
14007 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
14009 * gst/gstqueue.c: (gst_queue_handle_pending_events),
14010 (gst_queue_chain), (gst_queue_handle_src_event):
14011 implement timeout for sending events. Workaround for if the
14012 pipeline on this queue is not passing any data.
14014 2003-12-21 Ronald Bultje <rbultje@ronald.bitfreak.net>
14016 * ChangeLog: moved to gstreamer/docs/random/old/ChangeLog.gstreamer
14017 * moved CVS to freedesktop.org