1 2005-11-18 Andy Wingo <wingo@pobox.com>
3 * gst/net/gstnetclientclock.c: Turn off debugging.
5 * check/net/gstnetclientclock.c (test_functioning): Assert that the
6 times connverge somewhat. Can't make a real test.
8 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9 integer arithmetic. Return the minimum of the domain, which can be
10 set as "internal" for gst_clock_set_calibration.
11 (gst_net_client_clock_observe_times): Call _set_calibration.
12 (gst_net_client_clock_new): Call _set_calibration instead of
15 * check/net/gstnetclientclock.c (test_functioning): Use the right
19 * gst/gstclock.c (gst_clock_get_calibration)
20 (gst_clock_set_calibration): New functions, obsolete the ones I
21 added yesterday. Doh. Precision issues mean we have to extrapolate
22 from a point in the more recent past than 1970.
23 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
25 (gst_clock_adjust_unlocked): Use the right calibration data.
27 2005-11-18 Edward Hervey <edward@fluendo.com>
29 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
30 Also reset the ->current_* values in READY->PAUSED
32 2005-11-18 Andy Wingo <wingo@pobox.com>
34 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
35 Whoops, check the right fd. Also add some debugging.
36 (gst_net_client_clock_observe_times): Adjust for int64 offset.
37 (do_linear_regression): Add a crapload of debugging. Subtract off
38 the minimum values from the input series to discard unneeded bits.
39 Use only int arithmetic. There is still double arithmetic when
40 calculating the intercept that needs fixing. Return boolean to
41 indicate success; FALSE would mean the domain or range is too
42 great. Still needs fixes.
44 2005-11-18 Wim Taymans <wim@fluendo.com>
46 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
47 For the current position in stream time, we need to subtract
50 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
51 Release lock before calling the callback function of async
54 2005-11-18 Andy Wingo <wingo@pobox.com>
56 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
57 Port goes all the way to MAXUINT16.
59 * gst/net/gstnettimeprovider.c: Make the port range the same as
60 for the kernel: 0 assigns, otherwise ports are less than
63 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
66 * check/net/gstnetclientclock.c (test_functioning): Add the start
69 2005-11-18 Wim Taymans <wim@fluendo.com>
71 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
72 (gst_bin_remove_func), (bin_bus_handler):
74 Removing a clock provider from a bin, triggers a clock lost message
75 so that a new clock will be selected.
76 Adding a clock to a bin triggers a clock provider message.
77 Make sure we reselect a clock when we received a clock lost message.
78 Keep a reference to the element that provided the clock.
80 2005-11-18 Andy Wingo <wingo@pobox.com>
82 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
83 the clock initially so it produces values around the base time.
84 (gst_net_client_clock_class_init): Typo fix.
85 (gst_net_client_clock_thread): Add note on when the socket gets
88 2005-11-17 Wim Taymans <wim@fluendo.com>
90 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
91 Free remote and local time arrays.
93 2005-11-17 Wim Taymans <wim@fluendo.com>
95 * gst/net/gstnetclientclock.c: (do_linear_regression),
96 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
97 Fix compilation, uninitialized vars and a forgotten continue.
99 2005-11-17 Andy Wingo <wingo@pobox.com>
101 * check/Makefile.am (check_PROGRAMS):
102 * check/net/gstnetclientclock.c: Add a most minimal test for the
103 net client clock. More to come later.
106 * gst/net/Makefile.am: Add netclientclock.
108 * gst/net/gstnetclientclock.h:
109 * gst/net/gstnetclientclock.c: New files, implement an untested
110 GstClock that takes its time from a network time provider.
111 Implements the algorithm in network-clock.scm.
113 * tests/network-clock.scm (*window-size*): Rename from
115 * tests/network-clock.scm (network-time):
116 * tests/network-clock-utils.scm (q-push): Update callers.
118 2005-11-17 Wim Taymans <wim@fluendo.com>
120 * gst/gstbin.c: (gst_bin_provide_clock_func),
121 (gst_bin_sort_iterator_new):
122 And unref the child too..
124 2005-11-17 Wim Taymans <wim@fluendo.com>
126 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
127 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
128 Refactor the sort iterator so it can be used while holding the
130 Make clock selection select a clock closest to the source.
132 2005-11-17 Michael Smith <msmith@fluendo.com>
134 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
135 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
137 Anonymous structs are a gcc (and some other compilers) extension, so
138 don't use them. Since this is only for ABI-compatibility, and our
139 API/ABI freeze is over in a few days, this whole thing will only
140 last a few days, so don't bother trying to think up a meaningful
143 2005-11-17 Andy Wingo <wingo@pobox.com>
145 * gst/gstclock.h (GstClock): Add rate and offset properties,
146 preserving ABI stability. Add rate/offset accessors. Will file bug
147 for the freeze break.
149 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
150 and offset, trying to keep precision and avoiding
152 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
153 functions. Make gst_clock_set_time_adjust obsolete.
154 (gst_clock_set_time_adjust): Note that this function is obsolete.
157 * gst/base/gstbasetransform.h: Make the ABI-stability hack
158 greppable by using GST_PADDING-1+1.
160 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
162 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
164 * gst/gstmessage.c: (gst_message_parse_clock_lost):
165 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
167 * gst/gstpadtemplate.h:
168 * gst/gstpluginfeature.h:
169 Don't use c++ style comments in headers (#321638).
171 2005-11-16 Andy Wingo <wingo@pobox.com>
173 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
176 * check/net/gstnettimeprovider.c: Check to see that the time
177 provider actually provides times. Works, yo!
179 2005-11-16 Wim Taymans <wim@fluendo.com>
184 * check/elements/fakesrc.c: (GST_START_TEST):
185 Set element to NULL before disposing it.
187 2005-11-16 Andy Wingo <wingo@pobox.com>
189 * gst/net/Makefile.am:
191 * gst/net/gstnettimeprovider.c:
192 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
193 provider, include it from gstnet.h, and add it to the build.
195 * gst/net/gstnettimepacket.h:
196 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
197 sending and receiving.
199 2005-11-16 Wim Taymans <wim@fluendo.com>
202 Enable valgrind check.
204 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
205 (gst_fake_src_alloc_buffer):
208 2005-11-16 Wim Taymans <wim@fluendo.com>
210 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
211 Call parent finalize too.
213 2005-11-16 Wim Taymans <wim@fluendo.com>
216 Enable valgrind check that should work fine now.
218 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
219 * gst/gstqueue.c: (gst_queue_init):
220 Fix memleaks in pad allocation.
222 2005-11-16 Andy Wingo <wingo@pobox.com>
224 * gst/net/Makefile.am:
225 * gst/net/gstnet.h: New part of core to hold network elements and
226 objects. Put in core because it exposes API that applications want
227 to use. The library is named libgstnet-tempname right now because
228 of the existing libgstnet in gst-plugins-base. Solution is
229 probably to rename the one in plugins-base; will file a bug for
232 * gst/net/gstnettimeprovider.c:
233 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
234 get_time call over the network.
237 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
240 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
241 get additions shortly.
243 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
245 * gst/gstpad.c: (gst_pad_new_from_static_template):
247 add gst_pad_new_from_static_template functions
248 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
249 (gst_check_setup_sink_pad):
250 * gst/elements/gsttee.c: (gst_tee_init):
253 2005-11-16 Wim Taymans <wim@fluendo.com>
255 * gst/gstpad.c: (gst_pad_pause_task):
256 Removed warning, it's not really an error either.
258 2005-11-16 Wim Taymans <wim@fluendo.com>
260 * gst/base/gstbasetransform.c:
261 (gst_base_transform_prepare_output_buf),
262 (gst_base_transform_event):
263 Check if the caps are NULL, this can happen if the element
264 is shutting down and the pad caps are set to NULL.
266 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
268 * gst/elements/gsttee.c: (gst_tee_init):
269 fix pad tempalte leak in tee
271 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
273 * gst/glib-compat.c: (g_value_dup_gst_object):
275 * gst/gstpad.c: (gst_pad_set_property):
276 use gst_object_ref when setting the pad template; this will
277 trigger the pad template leaks on GLib 2.6 and the slaves
279 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
281 * gst/glib-compat.c: (gst_flags_get_first_value):
283 * gst/gstregistryxml.c:
284 remove functions copied from GLib 2.6
286 2005-11-16 Michael Smith <msmith@fluendo.com>
289 Don't link against VALGRIND_LIBS. That was always the wrong thing to
290 do, but only breaks with newer valgrind versions. We're not a
291 valgrind tool, we have no link-time dependencies on libcoregrind.
293 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
295 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
300 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
302 * gst/base/gstbasesrc.c: (gst_base_src_init):
303 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
304 * gst/gstqueue.c: (gst_queue_init):
305 * gst/gstregistryxml.c: (load_feature):
306 Revert all these unrefs, they don't even pass make check !
308 2005-11-15 Johan Dahlin <johan@gnome.org>
310 * gst/base/gstbasesrc.c: (gst_base_src_init):
311 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
312 * gst/gstqueue.c: (gst_queue_init):
313 Free pad templates, fixes a couple of leaks.
315 2005-11-15 Daniel Fischer <dan at f3c dot com>
317 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
319 * gst/gstpad.c: (gst_pad_get_property):
320 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
321 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
324 2005-11-15 Wim Taymans <wim@fluendo.com>
329 2005-11-15 Andy Wingo <wingo@pobox.com>
331 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
333 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
334 using GST_CLOCK_TIME_NONE to disable base time management.
335 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
336 time if it was NONE before.
337 (gst_pipeline_change_state): Only munge the base time if
338 stream_time != GST_CLOCK_TIME_NONE.
340 * check/gst/gstpipeline.c (test_base_time): Punt around the
341 problem of the probe not being called, because that's not the
342 issue I'm looking at. Add a check that setting stream_time to NONE
343 disables base time management.
345 2005-11-15 Wim Taymans <wim@fluendo.com>
347 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
348 segment_stop == -1 at startup.
350 * gst/base/gstbasetransform.c: (gst_base_transform_event),
351 (gst_base_transform_change_state):
352 Init segment values at start.
354 2005-11-15 Wim Taymans <wim@fluendo.com>
356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
357 0 segment values are 0 in any format.
359 * gst/base/gstbasetransform.c: (gst_base_transform_event):
360 * gst/base/gstbasetransform.h:
361 Parse newsegment correctly in basetransform
363 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
364 Sync to clock using updated segment values.
366 2005-11-15 Andy Wingo <wingo@pobox.com>
368 * check/gst/gstpipeline.c (test_base_time): Add check that the
369 base time and stream time are reset correctly.
371 2005-11-15 Wim Taymans <wim@fluendo.com>
373 * docs/design/part-TODO.txt:
374 Some more TODO items.
376 2005-11-15 Andy Wingo <wingo@pobox.com>
378 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
379 error if the user selected "no clock" as the clocking method.
381 * check/gst/gstpipeline.c (test_base_time): New test for buffer
382 timestamps with live capture.
384 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
385 is 0 but we are a live source, timestamp the buffers using the
388 2005-11-14 Stefan Kost <ensonic@users.sf.net>
390 * docs/gst/gstreamer-sections.txt:
397 2005-11-14 Wim Taymans <wim@fluendo.com>
400 add suppressions from Wim's Debian machine
402 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
405 add suppressions from Andy's AMD64 Ubuntu machine
407 2005-11-14 Andy Wingo <wingo@pobox.com>
409 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
410 STATE_LOCK not necessary. Fixes #311489.
412 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
415 * gst/gstindex.c (gst_index_add_object): Note in the docs that
416 this function is not implemented.
418 2005-11-14 Julien MOUTTE <julien@moutte.net>
420 * gst/base/gstbasetransform.c:
421 (gst_base_transform_prepare_output_buf):
422 Ref the source pad caps while we need them.
425 2005-11-11 Wim Taymans <wim@fluendo.com>
427 * docs/gst/gstreamer-sections.txt:
428 Added some docs for GstCollectData.
430 * gst/base/gstadapter.c:
431 Some small code example fix.
433 * gst/base/gstcollectpads.c:
434 * gst/base/gstcollectpads.h:
437 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
439 * configure.ac: back to HEAD
441 === release 0.9.5 ===
443 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
446 releasing 0.9.5, "Bike Lunch Day"
448 2005-11-11 Wim Taymans <wim@fluendo.com>
450 * gst/gstbuffer.c: (_gst_buffer_copy):
453 * gst/gstcaps.c: (gst_caps_is_equal):
455 Make _is_equal fast in the trivial cases.
457 * gst/gstminiobject.c:
458 * gst/gstminiobject.h:
459 More docs. Spifify .h file.
464 2005-11-11 Wim Taymans <wim@fluendo.com>
466 * gst/base/gstbasetransform.c:
467 (gst_base_transform_prepare_output_buf),
468 (gst_base_transform_handle_buffer):
470 If we're processing a buffer and need to allocate an output
471 buffer, we cannot accept a format change. If we did get a
472 format change, we have to alloc a buffer ourselves of the
475 2005-11-11 Wim Taymans <wim@fluendo.com>
477 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
478 While checking the flag for reentrancy in the gstcaps function
479 is nice to detect recursive invocations, it also makes it
480 impossible to call getcaps from multiple threads, which must be
481 possible. So, checking for recursive calls has to go.
483 2005-11-11 Michael Smith <msmith@fluendo.com>
485 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
486 Don't sync on buffers that fall partially outside our current
487 segment. Prevents an assertion failure/abort playing some files.
489 2005-11-10 Andy Wingo <wingo@pobox.com>
491 * check/gst/gstbin.c (test_message_state_changed_children): Style
494 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
495 gst_bus_poll with the signal watch. Ensures that poll and a signal
496 watch see the same messages.
498 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
499 a poll and a watch at the same time get the same messages.
501 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
503 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
504 * gst/gstcaps.c: (gst_caps_intersect):
505 Don't call gst_caps_do_simplify - it doesn't respect order of caps
508 2005-11-10 Wim Taymans <wim@fluendo.com>
510 * docs/design/part-TODO.txt:
513 2005-11-10 Wim Taymans <wim@fluendo.com>
515 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
516 * gst/base/gstbasesrc.c: (gst_base_src_wait),
517 (gst_base_src_do_sync), (gst_base_src_get_range):
518 Implement clock sync in base class.
520 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
522 patch by: Tim-Philipp Müller <tim at centricular dot net>
524 * gst/gststructure.c: (gst_structure_parse_field),
525 (gst_structure_from_string):
526 Forward-port a 0.8 patch to handle escaped spaces in structure string,
527 so that gst_parse_launch() can deal with spaces in filtered link
529 * check/gst/capslist.h:
530 * check/gst/gststructure.c: (GST_START_TEST):
531 add unit tests for this change
533 2005-11-10 Wim Taymans <wim@fluendo.com>
535 * docs/gst/gstreamer-sections.txt:
538 Fix docs, move some STATE macros to private.
540 2005-11-10 Wim Taymans <wim@fluendo.com>
542 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
543 Added check for bug #317341
547 Some more spiffifying.
549 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
550 Call peer linkfunction if we are a source pad. Totally fixes
554 Update docs, source pads should call the peer linkfunction
555 so they can atomically perform the pad link.
557 2005-11-09 Wim Taymans <wim@fluendo.com>
561 Uber-spiffy-spiffify some more.
563 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
565 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
566 * gst/elements/gstfilesink.c: (gst_file_sink_init):
567 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
568 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
569 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
570 * gst/gstpad.c: (gst_pad_init):
571 Use GST_DEBUG_FUNCPTR() more extensively.
573 2005-11-09 Wim Taymans <wim@fluendo.com>
575 * gst/gstobject.c: (gst_object_class_init):
579 2005-11-09 Edward Hervey <edward@fluendo.com>
581 * gst/gsttypefindfactory.c:
584 2005-11-09 Edward Hervey <edward@fluendo.com>
586 * gst/base/gsttypefindhelper.c:
591 2005-11-09 Wim Taymans <wim@fluendo.com>
600 2005-11-09 Wim Taymans <wim@fluendo.com>
606 2005-11-09 Wim Taymans <wim@fluendo.com>
608 * docs/gst/gstreamer-sections.txt:
609 Moved the message async delivery private lock and cond
610 to the private section.
616 2005-11-09 Edward Hervey <edward@fluendo.com>
618 * docs/gst/gstreamer-sections.txt:
621 Document GstURIHandler
623 2005-11-09 Wim Taymans <wim@fluendo.com>
625 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
626 (gst_iterator_find_custom):
630 2005-11-09 Wim Taymans <wim@fluendo.com>
633 Document another field.
635 * gst/gststructure.c:
636 * gst/gststructure.h:
639 2005-11-09 Wim Taymans <wim@fluendo.com>
644 2005-11-09 Wim Taymans <wim@fluendo.com>
646 * docs/gst/gstreamer-sections.txt:
647 Added some new macros.
654 2005-11-09 Wim Taymans <wim@fluendo.com>
656 * docs/design/part-TODO.txt:
657 Some more items for the TODO
663 2005-11-09 Andy Wingo <wingo@pobox.com>
665 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
666 to work on something else now tho...
668 * gst/base/gstadapter.c: More adapter docs.
670 * gst/elements/gstfilesink.c (gst_file_sink_start)
671 (gst_file_sink_stop): New functions, replace the state change
673 (gst_file_sink_class_init): Hook up the start and stop functions.
674 (gst_file_sink_base_init): Don't set the state change handler any
675 more. It was a bit ugly too, being set from here...
676 (gst_file_sink_get_property, gst_file_sink_set_property):
678 (gst_file_sink_set_location): More robust check that doesn't call
681 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
683 * gst/base/gstbasetransform.c: (gst_base_transform_event):
684 Hold STREAM_LOCK while pushing newsegment or tag events as well.
686 2005-11-08 Wim Taymans <wim@fluendo.com>
688 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
689 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
690 (gst_base_sink_chain), (gst_base_sink_change_state):
691 * gst/base/gstbasesink.h:
692 * gst/base/gstbasesrc.h:
695 Avoid excessive typechecking in macros.
697 * gst/gstminiobject.c: (gst_mini_object_get_type),
698 (gst_mini_object_init), (gst_mini_object_new),
699 (gst_mini_object_free):
700 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
701 (gst_object_finalize):
702 Remove cruft code, optimize alloc_trace.
704 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
706 * docs/faq/gst-uninstalled:
707 fix up PS1 for systems that try to reset it
709 2005-11-07 Wim Taymans <wim@fluendo.com>
711 * gst/base/gstbasesrc.c: (gst_base_src_init),
712 (gst_base_src_get_range):
713 Set the segment_end to -1 initially. Fixed typefind.
715 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
717 * gst/base/gstadapter.c:
718 Debug category should be 'adapter', not 'GstAdapter'.
720 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
721 (gst_collectpads_class_init), (gst_collectpads_init),
722 (gst_collectpads_peek), (gst_collectpads_pop),
723 (gst_collectpads_event), (gst_collectpads_chain):
724 Add debug category and some debugging output. Use boilerplate
725 macros. Remove some extraneous words from docs.
727 2005-11-05 Andy Wingo <wingo@pobox.com>
729 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
732 2005-11-04 Stefan Kost <ensonic@users.sf.net>
734 * docs/gst/gstreamer-sections.txt:
737 * gst/gstminiobject.h:
742 2005-11-04 Wim Taymans <wim@fluendo.com>
744 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
745 Small update to stop at the configured segment_end
748 2005-11-04 Stefan Kost <ensonic@users.sf.net>
754 2005-11-04 Edward Hervey <edward@fluendo.com>
756 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
757 Check if we are doing a segment seek and have arrived at the
760 2005-11-04 Wim Taymans <wim@fluendo.com>
762 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
763 Don't leak a mutex unlock in case of an error.
768 2005-11-04 Wim Taymans <wim@fluendo.com>
770 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
772 Get the context to wake up only once.
774 2005-11-03 Wim Taymans <wim@fluendo.com>
776 * check/states/sinks.c: (GST_START_TEST):
777 Uncomment fixed check.
779 * docs/design/part-TODO.txt:
782 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
783 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
784 (gst_base_sink_get_position):
785 If we are going to PLAYING, post the right pending state
786 when we post the intermediate paused message.
788 * gst/gstelement.c: (gst_element_continue_state),
789 (gst_element_set_state_func), (gst_element_change_state):
790 Don't post state changes that were between the same state
793 2005-11-03 Stefan Kost <ensonic@users.sf.net>
795 * docs/gst/gstreamer-sections.txt:
798 * gst/gstminiobject.h:
801 more docs and doc style fixes
803 2005-11-03 Stefan Kost <ensonic@users.sf.net>
805 * docs/gst/gstreamer-sections.txt:
807 * gst/gstminiobject.c:
810 2005-11-03 Andy Wingo <wingo@pobox.com>
812 * check/states/sinks.c (test_livesrc_sink): Add checks that the
813 state-changed messages actually have the right order and the right
816 2005-11-03 Wim Taymans <wim@fluendo.com>
818 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
819 Added some more checks. Specifically the case where NO_PREROLL
820 elements are in the pipeline.
822 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
823 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
824 (gst_base_sink_get_position):
825 Post READY->PAUSED state change messages too.
826 Fix bug where VOID was posted as pending state...
828 * gst/gstbin.c: (gst_bin_recalc_state):
829 use _element_continue_state() to continue the state change.
831 * gst/gstelement.c: (gst_element_continue_state),
832 (gst_element_commit_state), (gst_element_set_state_func),
833 (gst_element_change_state), (gst_element_change_state_func):
834 Lots of state change cleanups, assign the STATE_RETURN in
835 a new continue_state() function that also propagates the
836 last return value from a state change to the app.
837 Update some debug statements with proper category.
839 2005-11-03 Wim Taymans <wim@fluendo.com>
841 * docs/design/part-events.txt:
842 * docs/design/part-gstpipeline.txt:
843 * docs/design/part-messages.txt:
844 * docs/design/part-overview.txt:
845 * docs/design/part-seeking.txt:
846 * docs/design/part-states.txt:
847 * docs/design/part-trickmodes.txt:
848 * docs/manual/advanced-position.xml:
852 People think !! is ugly, this looks better.
854 * gst/gstpad.c: (gst_pad_set_blocked_async):
855 Remove !! since it's fixed elsewhere now.
857 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
859 * gst/gstminiobject.h:
861 Add !! to _FLAG_IS_SET macros to make the result boolean.
863 2005-11-03 Edward Hervey <edward@fluendo.com>
865 * gst/gstpad.c: (gst_pad_set_blocked_async):
866 comparing a flag and a gboolean rarely returns coherent results...
867 Added two characters (!!) to make that work correctly.
869 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
871 * gst/gstbus.c: (gst_bus_class_init):
874 * gst/gstqueue.c: (gst_queue_loop):
875 Don't assume a miniobject that isn't a buffer is an
876 event (it could be that there is a refcounting
877 problem somewhere and the pointer is stale and
878 refers to an already destroyed miniobject).
880 2005-11-03 Julien MOUTTE <julien@moutte.net>
882 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
884 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
886 * docs/manual/advanced-position.xml:
887 Update seek example and explanations to current 0.9 API.
889 * gst/elements/gsttypefindelement.c:
890 (gst_type_find_element_activate):
891 Remove FIXME comment now that the found caps
894 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
896 * gst/gstregistryxml.c: (load_feature):
897 Add another GST_STR_NULL instance
899 2005-11-02 Edward Hervey <edward@fluendo.com>
901 * gst/gstpad.c: (handle_pad_block):
902 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
904 2005-11-02 Wim Taymans <wim@fluendo.com>
909 * gst/gstelement.c: (gst_element_commit_state):
913 Mention that the returned element is reffed in the docs.
915 2005-11-02 Wim Taymans <wim@fluendo.com>
917 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
918 (gst_pad_push), (gst_pad_push_event):
919 Unlock blocked pads when they are flushed.
921 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
924 * docs/gst/gstreamer-sections.txt:
927 * gst/gstregistry.c: (gst_registry_scan_path_level):
928 fix for a nasty little missed situation where an installed plug-in
929 which was in the cache did not get overridden by an uninstalled one
930 which was earlier in the plugin path because the newly created plugin
931 for the uninstalled one (not in the registry) didn't get its
932 ->registered set to TRUE
934 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
936 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
937 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
938 (gst_collectpads_is_active), (gst_collectpads_collect),
939 (gst_collectpads_collect_range), (gst_collectpads_start),
940 (gst_collectpads_stop), (gst_collectpads_peek),
941 (gst_collectpads_pop), (gst_collectpads_available),
942 (gst_collectpads_read), (gst_collectpads_flush):
943 Guard public API with assertions.
946 Fix docs for gst_pad_set_link_function().
948 2005-11-02 Johan Dahlin <johan@gnome.org>
950 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
951 Unref found_caps after we used it.
953 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
955 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
956 Don't try to ref NULL.
958 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
960 * win32/common/config.h.in:
961 provide a GST_FUNCTION that just gives a string for now
963 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
965 * win32/common/gstenumtypes.c: (register_gst_object_flags),
966 (gst_object_flags_get_type), (register_gst_bin_flags),
967 (gst_bin_flags_get_type), (register_gst_buffer_flag),
968 (gst_buffer_flag_get_type), (register_gst_bus_flags),
969 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
970 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
971 (gst_clock_return_get_type), (register_gst_clock_entry_type),
972 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
973 (gst_clock_flags_get_type), (register_gst_state),
974 (gst_state_get_type), (register_gst_state_change_return),
975 (gst_state_change_return_get_type), (register_gst_state_change),
976 (gst_state_change_get_type), (register_gst_element_flags),
977 (gst_element_flags_get_type), (register_gst_core_error),
978 (gst_core_error_get_type), (register_gst_library_error),
979 (gst_library_error_get_type), (register_gst_resource_error),
980 (gst_resource_error_get_type), (register_gst_stream_error),
981 (gst_stream_error_get_type), (register_gst_event_type),
982 (gst_event_type_get_type), (register_gst_seek_type),
983 (gst_seek_type_get_type), (register_gst_seek_flags),
984 (gst_seek_flags_get_type), (register_gst_format),
985 (gst_format_get_type), (register_gst_index_certainty),
986 (gst_index_certainty_get_type), (register_gst_index_entry_type),
987 (gst_index_entry_type_get_type),
988 (register_gst_index_lookup_method),
989 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
990 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
991 (gst_index_resolver_method_get_type), (register_gst_index_flags),
992 (gst_index_flags_get_type), (register_gst_debug_level),
993 (gst_debug_level_get_type), (register_gst_debug_color_flags),
994 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
995 (gst_iterator_result_get_type), (register_gst_iterator_item),
996 (gst_iterator_item_get_type), (register_gst_message_type),
997 (gst_message_type_get_type), (register_gst_mini_object_flags),
998 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
999 (gst_pad_link_return_get_type), (register_gst_flow_return),
1000 (gst_flow_return_get_type), (register_gst_activate_mode),
1001 (gst_activate_mode_get_type), (register_gst_pad_direction),
1002 (gst_pad_direction_get_type), (register_gst_pad_flags),
1003 (gst_pad_flags_get_type), (register_gst_pad_presence),
1004 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1005 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1006 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1007 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1008 (gst_plugin_flags_get_type), (register_gst_rank),
1009 (gst_rank_get_type), (register_gst_query_type),
1010 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1011 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1012 (gst_tag_flag_get_type), (register_gst_task_state),
1013 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1014 (gst_alloc_trace_flags_get_type),
1015 (register_gst_type_find_probability),
1016 (gst_type_find_probability_get_type), (register_gst_uri_type),
1017 (gst_uri_type_get_type), (register_gst_parse_error),
1018 (gst_parse_error_get_type):
1019 * win32/common/gstversion.h:
1022 2005-11-01 Luca Ognibene <luogni@tin.it>
1025 fix docs. popt is dead, long live GOption.
1027 2005-10-31 Wim Taymans <wim@fluendo.com>
1032 2005-10-31 Andy Wingo <wingo@pobox.com>
1036 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1038 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1039 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1040 the possibility of deadlocks here if code calling notify() or
1041 set() has a lock that can be taken in another notify handler (ABBA
1042 with class lock and e.g. python GIL state lock).
1044 2005-10-28 Julien MOUTTE <julien@moutte.net>
1046 * gst/gstbus.c: Doc updates.
1048 2005-10-28 Wim Taymans <wim@fluendo.com>
1050 * docs/design/part-TODO.txt:
1051 * gst/gstiterator.c:
1052 * gst/gstsystemclock.c:
1053 * gst/gstsystemclock.h:
1056 2005-10-28 Edward Hervey <edward@fluendo.com>
1058 * docs/gst/gstreamer-docs.sgml:
1059 * docs/gst/gstreamer-sections.txt:
1060 the GstURIType documentation page is private, it only defines GstURIType
1061 which should be defined in the GstURIHandler page
1063 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1065 * gst/gstbin.c: (gst_bin_class_init):
1068 Documentation updates.
1070 2005-10-28 Wim Taymans <wim@fluendo.com>
1072 * docs/gst/gstreamer-sections.txt:
1075 Documented the clocks.
1077 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1079 * docs/gst/gstreamer-sections.txt:
1080 move some macros to private sections
1081 * gst/gstminiobject.c:
1082 * gst/gstminiobject.h:
1083 add descriptions provided by ds and some more
1085 mark macro as to be removed
1087 2005-10-28 Wim Taymans <wim@fluendo.com>
1089 * docs/design/part-TODO.txt:
1090 Add an item to TODO.
1092 * gst/gstiterator.c: (gst_iterator_fold),
1093 (gst_iterator_find_custom):
1094 * gst/gstiterator.h:
1097 2005-10-28 Wim Taymans <wim@fluendo.com>
1099 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1100 (gst_base_transform_init):
1103 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1104 An EOS event marks the queue as completely filled.
1106 2005-10-27 Wim Taymans <wim@fluendo.com>
1108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1109 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1110 Some more debugging.
1112 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1113 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1114 (gst_base_transform_event), (gst_base_transform_getrange),
1115 (gst_base_transform_chain):
1116 * gst/base/gstbasetransform.h:
1118 Protect transform and concurrent buffer alloc with a new lock.
1119 Try not to break ABI/API.
1121 2005-10-27 Wim Taymans <wim@fluendo.com>
1123 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1124 (gst_base_src_init), (gst_base_src_query),
1125 (gst_base_src_default_newsegment),
1126 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1127 (gst_base_src_send_event), (gst_base_src_event_handler),
1128 (gst_base_src_pad_get_range), (gst_base_src_loop),
1129 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1130 (gst_base_src_start), (gst_base_src_deactivate),
1131 (gst_base_src_activate_push), (gst_base_src_change_state):
1132 Move some stuff around and cleanup things.
1134 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1136 * gst/base/gstbasesrc.c: (gst_base_src_query):
1137 Add missing break statements.
1139 2005-10-27 Wim Taymans <wim@fluendo.com>
1141 * check/gst/gstbin.c: (GST_START_TEST):
1142 An extra refcount is taken in basesrc.
1144 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1145 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1146 (gst_base_src_loop):
1147 Small cleanups, check for flushing after being unlocked from the
1148 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1149 Don't send out EOS when going to READY.
1151 2005-10-27 Wim Taymans <wim@fluendo.com>
1153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1154 (gst_base_sink_get_position):
1157 * gst/gstbin.c: (message_check), (bin_replace_message),
1158 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1159 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1160 (bin_query_duration_init), (bin_query_duration_fold),
1161 (bin_query_duration_done), (bin_query_generic_fold),
1163 * tools/gst-launch.c: (main):
1166 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1168 * examples/controller/audio-example.c: (main):
1169 * examples/queue/queue.c: (event_loop):
1170 * gst/base/gstbasetransform.h:
1171 * gst/gstelement.c: (gst_element_send_event):
1173 * gst/gstpad.c: (gst_pad_send_event):
1176 changing log priority in error situations
1178 2005-10-25 Wim Taymans <wim@fluendo.com>
1180 * gst/gstbin.c: (message_check), (bin_replace_message),
1181 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1182 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1183 (bin_query_duration_init), (bin_query_duration_fold),
1184 (bin_query_duration_done), (bin_query_generic_fold),
1186 Some doc and debug updates.
1187 Cache previously requested query DURATION for speed. invalidate
1188 cached duration if element posts a DURATION message.
1190 2005-10-25 Wim Taymans <wim@fluendo.com>
1192 * docs/design/part-TODO.txt:
1195 * gst/gstbin.c: (message_check), (bin_replace_message),
1196 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1197 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1198 (bin_query_duration_init), (bin_query_duration_fold),
1199 (bin_query_duration_done), (bin_query_generic_fold),
1201 Handle SEGMENT_START/DONE messages correctly.
1202 More evolved query algorithm that handles duration queries
1205 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1206 (gst_element_get_state_func), (gst_element_abort_state),
1207 (gst_element_commit_state), (gst_element_lost_state):
1208 Some more debugging.
1213 2005-10-25 Wim Taymans <wim@fluendo.com>
1215 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1216 Don't use invalid stream_time.
1218 * gst/gstevent.c: (gst_event_new_newsegment):
1219 stream_time in newsegment cannot be undefined.
1221 2005-10-24 Wim Taymans <wim@fluendo.com>
1226 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1228 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1230 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1232 * docs/libs/tmpl/gstdparam.sgml:
1233 * docs/libs/tmpl/gstdplinint.sgml:
1234 * docs/libs/tmpl/gstdpman.sgml:
1235 * docs/libs/tmpl/gstdpsmooth.sgml:
1236 * docs/libs/tmpl/gstunitconvert.sgml:
1239 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1244 === release 0.9.4 ===
1246 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1249 releasing 0.9.4, "Tyrannosaurus Rex"
1251 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1253 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1254 (gst_file_sink_get_current_offset):
1255 Use fseeko() and ftello() if available. When falling back on
1256 lseek() to get the current offset, fflush() first to make sure
1257 everything is up-to-date and we get the right offset.
1259 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1262 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1263 * gst/gsterror.c: (_gst_stream_errors_init):
1265 * gst/gstqueue.c: (gst_queue_loop):
1267 remove prematurely added error category and clean up the instances
1269 2005-10-21 Wim Taymans <wim@fluendo.com>
1271 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1272 (gst_base_sink_get_position), (gst_base_sink_query),
1273 (gst_base_sink_change_state):
1274 Simply set the right flag when going to playing, that's all
1275 we need to do instead of calling a function inside the object
1276 lock (that could take the lock as well and deadlock)
1278 2005-10-21 Wim Taymans <wim@fluendo.com>
1280 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1281 (gst_base_src_loop):
1282 Don't warn, the peer element knows what to do best when
1283 the seek failed, it might try something else.
1285 2005-10-21 Wim Taymans <wim@fluendo.com>
1287 * gst/base/gstbasesrc.c: (gst_base_src_init),
1288 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1291 2005-10-21 Wim Taymans <wim@fluendo.com>
1293 * docs/design/part-segments.txt:
1296 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1297 Correctly set caps, even on the subbufer.
1299 2005-10-21 Wim Taymans <wim@fluendo.com>
1301 * docs/gst/gstreamer-docs.sgml:
1302 * docs/gst/gstreamer-sections.txt:
1309 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1313 And 2% more doc coverage.
1315 2005-10-21 Andy Wingo <wingo@pobox.com>
1317 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1320 2005-10-20 Wim Taymans <wim@fluendo.com>
1322 * gst/gsterror.c: (gst_error_get_message):
1325 * gst/gststructure.c:
1330 2005-10-20 Wim Taymans <wim@fluendo.com>
1335 Another 1% more coverage.
1337 2005-10-20 Wim Taymans <wim@fluendo.com>
1339 * docs/gst/gstreamer-sections.txt:
1340 * gst/gstelement.c: (gst_element_get_state_func),
1341 (gst_element_abort_state), (gst_element_commit_state),
1342 (gst_element_lost_state):
1344 * gst/gstquery.c: (gst_query_set_position),
1345 (gst_query_parse_position), (gst_query_set_duration),
1346 (gst_query_parse_duration), (gst_query_new_convert):
1348 Yay! 1% more docs coverage.
1350 2005-10-20 Wim Taymans <wim@fluendo.com>
1353 * gst/gstquery.c: (gst_query_set_position),
1354 (gst_query_parse_position), (gst_query_set_duration),
1355 (gst_query_parse_duration), (gst_query_new_convert):
1357 * gst/gstutils.c: (gst_element_query_convert):
1359 Docs and consistency fixes.
1361 2005-10-20 Wim Taymans <wim@fluendo.com>
1367 2005-10-20 Wim Taymans <wim@fluendo.com>
1369 * gst/gstbin.c: (message_check), (bin_replace_message),
1370 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1371 (update_degree), (gst_bin_sort_iterator_next),
1372 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1373 Reworked the message handling a bit, cache the messages instead of
1374 only the senders. alows us to do more in the future.
1376 2005-10-20 Wim Taymans <wim@fluendo.com>
1378 * docs/design/part-TODO.txt:
1381 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1382 (gst_base_sink_query):
1383 Don't use clock time to report position when in EOS.
1385 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1387 * tools/gst-inspect.c: (print_interfaces),
1388 (print_element_properties_info), (print_element_info):
1389 Fix interface output with gst-inspect -a; don't print
1390 newlines after double/float properties.
1392 2005-10-20 Wim Taymans <wim@fluendo.com>
1394 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1395 (gst_base_sink_query):
1396 Speed up current position calculation.
1398 * gst/base/gstbasesrc.c: (gst_base_src_query),
1399 (gst_base_src_default_newsegment):
1400 Correctly set stream position in newsegment.
1402 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1403 (update_degree), (gst_bin_sort_iterator_next),
1404 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1405 * gst/gstmessage.c: (gst_message_new_custom):
1406 Clean up debugging info
1408 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1409 (gst_queue_loop), (gst_queue_handle_src_query):
1412 2005-10-19 Wim Taymans <wim@fluendo.com>
1414 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1415 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1416 Fix query handling again.
1418 2005-10-19 Wim Taymans <wim@fluendo.com>
1420 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1421 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1422 * gst/base/gstbasesrc.c: (gst_base_src_query):
1423 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1424 * gst/elements/gsttypefindelement.c:
1425 (gst_type_find_handle_src_query), (find_element_get_length),
1426 (gst_type_find_element_activate):
1429 * gst/gstquery.c: (gst_query_new_position),
1430 (gst_query_set_position), (gst_query_parse_position),
1431 (gst_query_new_duration), (gst_query_set_duration),
1432 (gst_query_parse_duration), (gst_query_set_segment),
1433 (gst_query_parse_segment):
1435 Bundling query position/duration is not a good idea since duration
1436 does not change much and we don't want to recalculate it for every
1437 position query, so they are separated again..
1438 Base value in segment query is not needed.
1440 * gst/gstqueue.c: (gst_queue_handle_src_query):
1441 * gst/gstutils.c: (gst_element_query_position),
1442 (gst_element_query_duration), (gst_pad_query_position),
1443 (gst_pad_query_duration):
1445 Updates for query API change.
1446 Added some docs here and there.
1448 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1450 * check/gst/gstbin.c: (GST_START_TEST):
1451 * check/gst/gstghostpad.c: (GST_START_TEST):
1452 * check/pipelines/cleanup.c: (GST_START_TEST):
1453 wait on thread to die so we can check refcount correctly
1455 2005-10-18 Wim Taymans <wim@fluendo.com>
1457 * check/pipelines/stress.c: (GST_START_TEST):
1458 Make check a little more time consuming.
1460 2005-10-18 Wim Taymans <wim@fluendo.com>
1462 * check/Makefile.am:
1463 * check/pipelines/stress.c: (GST_START_TEST),
1464 (simple_launch_lines_suite), (main):
1465 Small state change torture test.
1467 * docs/design/part-states.txt:
1468 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1469 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1470 (gst_base_sink_change_state):
1471 Never take state lock from streaming thread, clean up ugly
1472 hacks. Unfortunatly core does not yet support nice ways to
1475 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1477 Start state recalc if a STATE_DIRTY message is posted, but only
1478 on the toplevel bin.
1480 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1481 (gst_element_get_state_func), (gst_element_abort_state),
1482 (gst_element_commit_state), (gst_element_lost_state),
1483 (gst_element_set_state_func), (gst_element_change_state):
1485 State variables are now protected with the LOCK, the state
1486 lock is only used to serialize _set_state().
1488 2005-10-18 Wim Taymans <wim@fluendo.com>
1490 * check/gst/gstbin.c: (GST_START_TEST):
1491 * check/gst/gstmessage.c: (GST_START_TEST):
1492 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1493 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1495 * gst/gstelement.c: (gst_element_abort_state),
1496 (gst_element_commit_state), (gst_element_lost_state):
1497 * gst/gstmessage.c: (gst_message_new_state_changed),
1498 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1499 (gst_message_new_segment_done), (gst_message_new_duration),
1500 (gst_message_parse_state_changed),
1501 (gst_message_parse_segment_start),
1502 (gst_message_parse_segment_done), (gst_message_parse_duration):
1504 * tools/gst-launch.c: (event_loop):
1505 Seriously, this is better than a previous commit as we only need
1506 to notify the fact that an element changed state in a streaming
1507 thread, marking the state of the parents dirty, hence the
1508 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1511 2005-10-18 Wim Taymans <wim@fluendo.com>
1513 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1514 (gst_bin_recalc_func):
1515 * gst/gstelement.c: (gst_element_set_clock),
1516 (gst_element_abort_state), (gst_element_lost_state):
1517 Cleanups, prepare for state change fixes.
1519 2005-10-18 Wim Taymans <wim@fluendo.com>
1522 * gst/gstelement.c: (gst_element_class_init),
1523 (gst_element_set_state), (gst_element_set_state_func):
1525 Pending ABI changes.
1526 GThreadPool in GstBinClass to monitor async state changes.
1527 state_cookie in GstElement to detect concurrent gst/set state.
1528 set_state is now virtual too in case a very complicated element
1529 has to be constructed.
1531 2005-10-18 Wim Taymans <wim@fluendo.com>
1533 * check/gst/gstbin.c: (GST_START_TEST):
1534 * check/gst/gstmessage.c: (GST_START_TEST):
1535 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1536 * gst/gstbin.c: (bin_bus_handler):
1537 * gst/gstelement.c: (gst_element_commit_state),
1538 (gst_element_lost_state):
1539 * gst/gstmessage.c: (gst_message_new_state_changed),
1540 (gst_message_new_segment_start), (gst_message_new_segment_done),
1541 (gst_message_new_duration), (gst_message_parse_state_changed),
1542 (gst_message_parse_segment_start),
1543 (gst_message_parse_segment_done), (gst_message_parse_duration):
1545 * tools/gst-launch.c: (event_loop):
1546 Make messages future proof.
1547 state-change gets a flag if it was a message comming from the
1549 segment-start/stop can also be specified in other formats.
1550 A message to notify an app that a pipeline changed playback
1552 Also fix a GstMessage leak in -launch
1554 2005-10-18 Andy Wingo <wingo@pobox.com>
1556 * gst/gstelement.c (gst_element_dispose): More helpful message.
1558 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1560 reviewed by: <delete if not using a buddy>
1562 * common/gtk-doc.mak:
1564 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1566 * gst/gstregistry.c: (gst_registry_scan_path_level):
1567 unref a plug-in we get that was already initialized
1569 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1571 * docs/gst/gstreamer-sections.txt:
1572 * docs/libs/gstreamer-libs-sections.txt:
1577 2005-10-17 Andy Wingo <wingo@pobox.com>
1579 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1582 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1584 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1586 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1587 (gst_element_get_state_func): Better debug message.
1588 (gst_element_commit_state): s/INFO/DEBUG/.
1589 (gst_element_lost_state, gst_element_change_state):
1591 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1592 (gst_message_new_custom): s/INFO/LOG/.
1594 2005-10-17 Michael Smith <msmith@fluendo.com>
1596 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1597 Check if end time is valid using end time, not start time.
1599 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1601 * check/gst-libs/controller.c: (GST_START_TEST),
1602 (gst_controller_suite):
1603 * libs/gst/controller/gstcontroller.c:
1604 (gst_controlled_property_set_interpolation_mode):
1605 * libs/gst/controller/gstcontroller.h:
1606 * libs/gst/controller/gstinterpolation.c:
1607 * testsuite/controller/.cvsignore:
1608 * testsuite/controller/Makefile.am:
1609 * testsuite/controller/interpolator.c:
1610 merge controller testsuites
1612 remove mem-chunk from docs
1614 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1616 * gst/gstmemchunk.c:
1617 * gst/gstmemchunk.h:
1618 * gst/gsttrashstack.c:
1619 * gst/gsttrashstack.h:
1620 out. get out. you're fired. to the Attic !
1622 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1624 * gst/gstcaps.c: (gst_caps_intersect):
1625 fix signedness issues in a (hopefully) correct way
1626 * gst/gstelement.c: (gst_element_pads_activate):
1628 * gst/gstobject.c: (gst_object_set_parent):
1631 2005-10-17 Julien MOUTTE <julien@moutte.net>
1633 * gst/gstvalue.h: Fix prototypes.
1635 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1637 * docs/gst/gstreamer-sections.txt:
1638 * gst/gst.c: (gst_version_string):
1640 * gst/gstversion.h.in:
1641 * win32/common/libgstreamer.def:
1642 add gst_version_string ()
1644 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1648 * gst/gst.c: (init_post):
1649 * win32/common/config.h.in:
1651 * gst/gstcaps.c: (gst_caps_intersect):
1652 use gint64, the range could be bigger than a guint
1654 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1657 document potential problem in 2038
1659 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1661 * gst/gstcaps.c: (gst_caps_intersect):
1662 Fix guint j diving under 0
1664 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1667 * win32/common/config.h:
1668 * win32/common/config.h.in:
1669 check for process.h, declares getpid() on Windows
1671 include process.h if we have it
1672 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1673 * gst/gstmemchunk.h:
1674 fix signedness issues
1675 * win32/common/libgstreamer.def:
1678 2005-10-16 Julien MOUTTE <julien@moutte.net>
1680 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1681 fix. Because of unsigned ints, caps intersection was going nuts and
1682 trying to access structures with G_MAXUINT index. That fixes
1683 videotestsrc ! ffmpegcolorspace ! fakesink
1684 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1687 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1690 use the gettext macro
1691 * gst/elements/gstelements.c:
1693 * gst/indexers/gstindexers.c:
1694 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1695 * win32/common/config.h:
1697 * win32/common/config.h.in:
1698 add the template to generate config.h
1699 * win32/common/gstenumtypes.c:
1700 * win32/common/gstversion.h:
1703 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1705 * gst/gst.c: (gst_version):
1706 * gst/gstversion.h.in:
1709 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1712 Oops, add missing closing bracket.
1714 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1717 use common m4's for argument checking
1719 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1721 * docs/gst/gstreamer-sections.txt:
1723 Add GST_EVENT_TYPE_NAME() macro.
1725 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1728 * gst/gstpluginfeature.c:
1730 privatize more symbols
1732 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1735 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1736 everything that uses GStreamer API should have the includes
1738 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1740 * docs/gst/gstreamer-sections.txt:
1741 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1743 give each value a _get_type, removes the DATA exports
1745 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1749 remove _gst_registry_auto_load, not used anymore
1750 * gst/gstbin.c: (gst_bin_get_type):
1752 * gst/gstelement.c: (gst_element_get_type):
1754 * gst/gstobject.c: (gst_object_get_type):
1756 * gst/gstpad.c: (gst_pad_get_type):
1758 make _get_type functions similar, fixes data export from library
1760 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1763 correctly make conditionals
1764 * gst/elements/Makefile.am:
1765 * gst/elements/gstelements.c:
1766 fix typo causing fdsrc not to build
1768 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1770 * testsuite/Makefile.am:
1771 * testsuite/bytestream/.cvsignore:
1772 * testsuite/bytestream/Makefile.am:
1773 * testsuite/bytestream/filepadsink.c:
1774 * testsuite/bytestream/gstbstest.c:
1775 * testsuite/bytestream/test1.c:
1776 * testsuite/bytestream/testfile1:
1777 * testsuite/caps/normalisation.c:
1778 * testsuite/caps/random.c: (main):
1779 * testsuite/cleanup/.cvsignore:
1780 * testsuite/cleanup/Makefile.am:
1781 * testsuite/cleanup/cleanup1.c:
1782 * testsuite/cleanup/cleanup2.c:
1783 * testsuite/cleanup/cleanup3.c:
1784 * testsuite/cleanup/cleanup4.c:
1785 * testsuite/cleanup/cleanup5.c:
1786 * testsuite/controller/interpolator.c:
1787 * testsuite/debug/printf_extension.c: (main):
1788 * testsuite/elements/tee.c:
1789 * testsuite/negotiation/.cvsignore:
1790 * testsuite/negotiation/Makefile.am:
1791 * testsuite/negotiation/pad_link.c:
1792 * testsuite/pad/Makefile.am:
1793 * testsuite/pad/chainnopull.c:
1794 * testsuite/pad/getnopush.c:
1795 * testsuite/pad/link.c:
1796 * testsuite/refcounting/sched.c: (create_pipeline):
1797 * testsuite/registry/Makefile.am:
1798 * testsuite/registry/gst-print-formats.c:
1799 * testsuite/schedulers/.cvsignore:
1800 * testsuite/schedulers/142183-2.c:
1801 * testsuite/schedulers/142183.c:
1802 * testsuite/schedulers/143777-2.c:
1803 * testsuite/schedulers/143777.c:
1804 * testsuite/schedulers/147713.c:
1805 * testsuite/schedulers/147819.c:
1806 * testsuite/schedulers/147894-2.c:
1807 * testsuite/schedulers/147894.c:
1808 * testsuite/schedulers/Makefile.am:
1809 * testsuite/schedulers/group_link.c:
1810 * testsuite/schedulers/queue_link.c:
1811 * testsuite/schedulers/relink.c:
1812 * testsuite/schedulers/unlink.c:
1813 * testsuite/schedulers/unref.c:
1814 * testsuite/schedulers/useless_iteration.c:
1815 * testsuite/states/bin.c:
1816 clean out/remove some stuff from the testsuite directories
1818 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1821 check for some headers
1822 * gst/elements/Makefile.am:
1823 * gst/elements/gstelements.c:
1824 don't compile fdsrc without sys/socket.h
1825 * gst/indexers/Makefile.am:
1826 * gst/indexers/gstindexers.c: (plugin_init):
1827 don't compile fileindex without mmap
1829 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1836 * check/Makefile.am:
1837 * docs/gst/Makefile.am:
1838 * examples/helloworld/Makefile.am:
1840 * gst/base/Makefile.am:
1841 * gst/check/Makefile.am:
1842 * gst/elements/Makefile.am:
1843 * gst/indexers/Makefile.am:
1844 * gst/parse/Makefile.am:
1845 * libs/gst/controller/Makefile.am:
1846 * libs/gst/dataprotocol/Makefile.am:
1847 * examples/helloworld/helloworld.c: (event_loop):
1848 compile fixes, though it's not being compiled currently
1850 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1852 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1853 Add some simple tests for the new taglist date API.
1855 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1857 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1858 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1859 Beautify 'last-message' output: print 'none' for buffer timestamps
1860 and durations if none is set; improve alignment with next messages.
1862 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1864 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1865 * gst/gstpluginfeature.h:
1866 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1867 * gst/gstregistry.h:
1868 * docs/gst/gstreamer-sections.txt:
1869 Add new API to check plugin feature version requirements.
1871 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1872 Some basic tests for the above.
1874 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1876 * gst/gststructure.c: (gst_structure_to_string):
1877 guard against NULL printf - happens when for example
1878 a message structure with GstClock gets serialized
1880 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1882 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1883 Fix presumable copy'n'pasto.
1885 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1887 * gst/elements/gstfakesrc.h:
1888 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1889 * gst/elements/gsttypefindelement.c:
1891 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1892 I wonder if this could actually write +2GB files before
1894 2005-10-13 Andy Wingo <wingo@pobox.com>
1896 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1897 Fix Timmeke Waymans bug.
1898 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1899 string of the proper length to gst_caps_from_string. There's a
1900 potential for, before this fix, that this could cause someone
1901 connecting over the network to cause a segfault if the payload is
1904 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1906 * docs/design/draft-push-pull.txt:
1907 * docs/design/part-overview.txt:
1908 * docs/random/TODO-pre-0.9:
1909 * docs/random/old/ChangeLog.gstreamer:
1910 * gst/base/gstpushsrc.c:
1914 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1916 * gst/glib-compat.c: (gst_flags_get_first_value):
1917 * gst/glib-compat.h:
1918 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1919 (gst_value_compare_double), (gst_value_serialize_flags):
1920 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1923 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1926 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1928 * tools/gst-launch.c: (event_loop):
1929 print out clock nicely
1931 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1933 * docs/gst/gstreamer-sections.txt:
1935 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1936 (gst_tag_list_get_date_index):
1937 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1938 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1940 2005-10-13 Julien MOUTTE <julien@moutte.net>
1942 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1943 (gst_collectpads_chain):
1944 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1947 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1949 * docs/gst/gstreamer-sections.txt:
1952 * tools/gst-inspect.c: (main):
1953 * tools/gst-launch.c: (main):
1954 * tools/gst-run.c: (main):
1955 * tools/gst-xmlinspect.c: (main):
1956 fix GOption context leaks
1959 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1963 * win32/common/config.h:
1965 * win32/vs6/grammar.dsp:
1966 * win32/vs6/libgstelements.dsp:
1967 * win32/vs6/libgstreamer.dsp:
1970 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1972 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1973 * gst/base/gstbasesrc.c: (gst_base_src_query):
1974 fix more guint64<->gdouble conversions
1976 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1979 add win32-update target
1980 * win32/common/gstconfig.h:
1981 * win32/common/gstenumtypes.c:
1982 * win32/common/gstenumtypes.h:
1983 * win32/common/gstversion.h:
1984 add files that visual studio can't generate
1986 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1989 add a win32-update target
1992 2005-10-12 Wim Taymans <wim@fluendo.com>
1994 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1995 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1996 * gst/gstelement.c: (gst_element_commit_state),
1997 (gst_element_set_state):
1998 Protect flags with proper lock.
1999 unref provided cached clock in dispose.
2001 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2004 * gst/gstminiobject.h:
2006 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2007 removed unused flags from miniobject
2010 2005-10-12 Wim Taymans <wim@fluendo.com>
2012 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2013 (gst_file_sink_event), (gst_file_sink_render):
2014 Flush before seeking.
2016 2005-10-12 Andy Wingo <wingo@pobox.com>
2018 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2019 always been the case.
2021 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2023 * check/gst/gstbin.c: (GST_START_TEST):
2024 * docs/gst/gstreamer-sections.txt:
2025 * gst/base/gstbasesink.c: (gst_base_sink_init):
2026 * gst/base/gstbasesrc.c: (gst_base_src_init),
2027 (gst_base_src_get_range), (gst_base_src_check_get_range),
2028 (gst_base_src_start), (gst_base_src_stop):
2029 * gst/base/gstbasesrc.h:
2030 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2031 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2032 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2036 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2038 * gst/gstelement.c: (gst_element_is_locked_state),
2039 (gst_element_set_locked_state), (gst_element_commit_state),
2040 (gst_element_set_state):
2042 * gst/gstindex.c: (gst_index_init):
2044 * gst/gstminiobject.h:
2045 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2046 (gst_object_set_parent):
2048 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2049 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2051 * gst/gstpadtemplate.h:
2052 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2053 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2054 * gst/gstpipeline.h:
2055 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2056 (gst_file_index_commit):
2057 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2058 * testsuite/pad/link.c: (gst_test_src_init),
2059 (gst_test_filter_init), (gst_test_sink_init):
2060 * testsuite/states/locked.c: (main):
2061 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2062 moved bitshift from macro to enum definition
2064 2005-10-12 Wim Taymans <wim@fluendo.com>
2066 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2067 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2068 (gst_file_sink_render):
2069 Some more debugging info.
2071 2005-10-12 Wim Taymans <wim@fluendo.com>
2073 * docs/design/part-states.txt:
2074 * tools/gst-launch.c: (main):
2076 Revert non-intentional change.
2078 2005-10-12 Wim Taymans <wim@fluendo.com>
2080 * check/gst/gstbin.c: (GST_START_TEST):
2081 * check/gst/gstelement.c: (GST_START_TEST):
2082 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2083 * check/gst/gstghostpad.c: (GST_START_TEST):
2084 * check/gst/gstpipeline.c: (GST_START_TEST):
2085 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2086 * check/states/sinks.c: (GST_START_TEST):
2087 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2088 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2089 (gst_bin_remove_func), (gst_bin_get_state_func),
2090 (gst_bin_recalc_state), (gst_bin_change_state_func),
2092 * gst/gstelement.c: (gst_element_get_state_func),
2093 (gst_element_get_state), (gst_element_abort_state),
2094 (gst_element_commit_state), (gst_element_set_state),
2095 (gst_element_change_state), (gst_element_change_state_func):
2097 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2098 (gst_pipeline_provide_clock_func):
2099 * gst/gstutils.c: (gst_element_link_pads_filtered):
2100 * tools/gst-launch.c: (main):
2101 * tools/gst-typefind.c: (main):
2102 Use GstClockTime in _get_state() instead of GTimeVal.
2103 Remove old code in gstutils.c
2105 2005-10-12 Andy Wingo <wingo@pobox.com>
2107 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2110 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2111 there is no task. Shouldn't affect any code, as nothing in our
2112 plugins checks this return value.
2113 (gst_pad_stop_task): Also take the stream lock if the pad has no
2116 2005-10-12 Wim Taymans <wim@fluendo.com>
2118 * gst/gstpad.c: (pre_activate), (post_activate),
2119 (gst_pad_activate_pull), (gst_pad_activate_push):
2120 Cleanup activation code. Reset old state if
2123 2005-10-12 Wim Taymans <wim@fluendo.com>
2125 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2126 (gst_base_sink_change_state):
2127 No need to prerol after receiving EOS.
2129 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2130 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2131 * gst/elements/gstidentity.c: (gst_identity_event):
2132 Print events more verbosely.
2134 2005-10-12 Wim Taymans <wim@fluendo.com>
2136 * check/Makefile.am:
2137 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2138 * check/states/sinks2.c:
2139 Moved sinks2 testcode in sinks check.
2141 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2142 (gst_bin_remove_func), (gst_bin_recalc_state),
2143 (gst_bin_change_state_func), (bin_bus_handler):
2144 Fix potential race condition when _get_state() iterated over an
2145 ASYNC element right before it posted a state completion.
2148 Do proper cast here.
2150 * gst/gstevent.c: (gst_event_new_newsegment),
2151 (gst_event_parse_newsegment):
2152 A playback rate of 0.0 is not allowed.
2154 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2156 * win32/common/config.h:
2157 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2158 (_trewinddir), (_ttelldir), (_tseekdir):
2159 * win32/common/dirent.h:
2160 * win32/common/gtchar.h:
2161 * win32/common/libgstbase.def:
2162 * win32/common/libgstreamer.def:
2163 * win32/vs6/grammar.dsp:
2164 * win32/vs6/gst_inspect.dsp:
2165 * win32/vs6/gst_launch.dsp:
2166 * win32/vs6/gstreamer.dsw:
2167 * win32/vs6/libgstbase.dsp:
2168 * win32/vs6/libgstelements.dsp:
2169 * win32/vs6/libgstreamer.dsp:
2170 Visual Studio 6 project files, and a new common directory.
2173 2005-10-11 Wim Taymans <wim@fluendo.com>
2175 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2176 (gst_base_sink_do_sync), (gst_base_sink_query),
2177 (gst_base_sink_change_state):
2178 * gst/base/gstbasesink.h:
2179 Correctly parse newsegment info.
2181 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2183 * gst/gst.c: (init_post):
2184 split plugin paths correctly
2186 2005-10-11 Wim Taymans <wim@fluendo.com>
2188 * check/gst/gstevent.c: (GST_START_TEST):
2189 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2190 (gst_base_sink_change_state):
2191 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2192 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2193 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2194 * gst/gstevent.c: (gst_event_new_newsegment),
2195 (gst_event_parse_newsegment):
2197 Added extra flag to newsegment for future API freeze.
2198 Updated check and base elements.
2200 2005-10-11 Julien MOUTTE <julien@moutte.net>
2202 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2203 (gst_collectpads_add_pad), (gst_collectpads_pop),
2204 (gst_collectpads_event), (gst_collectpads_chain):
2205 * gst/base/gstcollectpads.h: Handle EOS correctly.
2207 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2209 * tools/gst-launch.c: (main):
2210 more null protecting
2212 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2214 * gst/gst-i18n-lib.h:
2215 check for ENABLE_NLS, not GETTEXT_PACKAGE
2216 * gst/gstregistry.c: (gst_registry_add_plugin),
2217 (gst_registry_scan_path_level),
2218 (_gst_registry_remove_cache_plugins):
2219 protect possibly NULL strings
2220 * gst/parse/types.h:
2221 config.h already included before
2222 * tools/gst-inspect.c: (main):
2223 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2224 check for ENABLE_NLS, not GETTEXT_PACKAGE
2225 * tools/gst-launch.c: (main):
2226 check for ENABLE_NLS, not GETTEXT_PACKAGE
2228 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2231 if we don't have glib, fail before testing 2.8
2232 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2233 fix a leak, should fix plugins-base testsuite
2235 2005-10-11 Andy Wingo <wingo@pobox.com>
2237 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2238 take the mode we're going to as an arg. Go head and set the mode
2239 and flushing flags now, so that if the activate function starts a
2240 thread all the flags will be in the right state.
2241 (post_activate): Renamed also. Just handle making sure streaming
2242 finishes for the deactivation case, and setting the deactivated
2244 (gst_pad_set_active): Complain loudly if deactivation fails.
2245 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2246 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2247 remove the terrible hack.
2249 2005-10-11 Wim Taymans <wim@fluendo.com>
2251 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2252 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2253 (gst_bin_recalc_state), (gst_bin_change_state_func),
2254 (gst_bin_dispose), (bin_bus_handler):
2256 Prepare to make current EOS message queue more generic.
2259 * gst/gstevent.c: (gst_event_new_newsegment),
2260 (gst_event_parse_newsegment):
2262 Rename base to stream_time.
2267 2005-10-11 Wim Taymans <wim@fluendo.com>
2269 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2270 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2271 (gst_bin_change_state_func), (bin_bus_handler):
2273 Work on proper clock selection.
2275 2005-10-11 Edward Hervey <edward@fluendo.com>
2277 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2278 * libs/gst/controller/gstcontroller.h:
2279 Added GList* version of _remove_properties() in order to be able to wrap
2282 2005-10-11 Wim Taymans <wim@fluendo.com>
2284 * docs/design/part-states.txt:
2287 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2288 (gst_bin_change_state_func), (bin_bus_handler):
2289 Doc updates. Don't distribute the same clock over and over again.
2295 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2296 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2297 (gst_pad_send_event):
2299 Make probe emission threadsafe again.
2300 Register quarks and move _get_name() from utils.
2303 * gst/gstpipeline.c: (gst_pipeline_class_init),
2304 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2305 Only redistribute the clock of it changed.
2307 * gst/gstsystemclock.h:
2312 Moved the _flow_get_name() to GstPad.
2314 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2316 * check/gst-libs/gdp.c: (GST_START_TEST):
2317 * check/gst/gstcaps.c: (GST_START_TEST):
2318 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2319 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2320 (gst_dp_packet_from_caps):
2321 fix more valgrind warnings before turning up the heat
2323 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2325 * gst/parse/grammar.y:
2326 some cleanup before the hacking
2328 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2330 * gst/base/gstbasesrc.c: (gst_base_src_query):
2332 * gst/gstutils.c: (gst_guint64_to_gdouble),
2333 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2335 externalize, basesrc uses it
2336 obviously the implementation needs testing
2338 2005-10-10 Wim Taymans <wim@fluendo.com>
2340 * tests/sched/Makefile.am:
2341 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2342 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2344 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2346 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2347 apparently converting from guint64 to double is not implemented
2350 2005-10-10 Wim Taymans <wim@fluendo.com>
2352 * check/Makefile.am:
2353 * check/generic/states.c: (GST_START_TEST):
2354 * check/gst/gstbin.c: (GST_START_TEST):
2355 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2356 * check/states/sinks.c: (GST_START_TEST):
2357 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2359 Check fixes, use API as stated in design docs, remove hacks.
2361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2362 (gst_base_sink_change_state):
2363 Catch stopping our task while we're shutting down.
2365 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2366 (gst_bin_remove_func), (gst_bin_get_state_func),
2367 (gst_bin_recalc_state), (gst_bin_change_state_func),
2370 * gst/gstelement.c: (gst_element_init),
2371 (gst_element_get_state_func), (gst_element_abort_state),
2372 (gst_element_commit_state), (gst_element_lost_state),
2373 (gst_element_set_state), (gst_element_change_state),
2374 (gst_element_change_state_func):
2376 New state change algorithm (see #318116)
2378 * gst/gstpipeline.c: (gst_pipeline_class_init),
2379 (gst_pipeline_init), (gst_pipeline_set_property),
2380 (gst_pipeline_get_property), (do_pipeline_seek),
2381 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2382 * gst/gstpipeline.h:
2383 Remove crude state change hacks.
2388 * tools/gst-launch.c: (main):
2389 Fixes for state change. Needs some more work to fully use the
2392 2005-10-10 Andy Wingo <wingo@pobox.com>
2394 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2396 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2397 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2400 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2402 * gst/gstiterator.c: (gst_iterator_new):
2403 Fix my previous commit: GTypes passed to gst_iterator_new()
2404 can be fundamental types.
2406 2005-10-10 Wim Taymans <wim@fluendo.com>
2408 * gst/gstelement.c: (gst_element_iterate_pad_list),
2409 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2410 (gst_element_iterate_sink_pads):
2411 Use src/sink pads lists for the respective iterators instead
2414 2005-10-10 Andy Wingo <wingo@pobox.com>
2416 Merged in popt removal + GOption addition patch from Ronald, bug
2419 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2420 GstElement macros around, remove popt-related symbols, add goption
2423 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2425 * docs/gst/Makefile.am:
2426 * docs/libs/Makefile.am: No POPT_CFLAGS.
2428 * examples/manual/Makefile.am:
2429 * docs/manual/basics-init.xml: Doc updates with an example.
2431 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2432 (gst_init), (parse_one_option), (parse_goption_arg):
2433 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2434 bit of hand merging and debugging to get the GOption stuff working
2437 * tests/Makefile.am:
2438 * tools/Makefile.am:
2439 * tools/gst-inspect.c: (main):
2440 * tools/gst-launch.c: (main):
2441 * tools/gst-run.c: (main):
2442 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2444 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2446 * gst/gstiterator.c: (gst_iterator_new):
2447 Add assertions to make sure passed GType is likely to really
2448 be a GType (as the compiler won't catch it if the size and
2449 GType arguments get mixed up, see #318447).
2451 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2453 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2455 * gst/gstbin.c: (gst_bin_iterate_sorted):
2456 Pass GType and size arguments to gst_iterator_new() in the right
2457 order (maybe we should make _new() take the GType as first argument
2458 just like _new_list()?) (#318447).
2461 2005-10-10 Wim Taymans <wim@fluendo.com>
2463 * gst/gstelement.c: (gst_element_finalize):
2464 And free the GStaticRecMutex too
2466 2005-10-10 Andy Wingo <wingo@pobox.com>
2468 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2469 Allocate and free the mutex properly.
2471 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2473 (GstElement): The state_lock is now recursive. Rebuild your
2474 plugins, suckers. Old macros adapted.
2476 * docs/gst/gstreamer-sections.txt: Doc updates.
2479 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2480 (g_static_rec_cond_wait): Ported from state changes patch, while
2481 we wait on bug #317802 to be solved in a well-distributed GLib.
2483 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2484 gst_element_change_state, variable name changes.
2485 (gst_element_change_state): Split out of gst_element_set_state in
2486 preparation for the state change merge. Doesn't pay attention to
2487 the 'transition' argument.
2488 (gst_element_set_state): Updates, hopefully purely cosmetic.
2489 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2491 (gst_element_get_state_func): Renamed from get_state, cosmetic
2494 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * gst/elements/gstelements.c:
2497 * win32/GStreamer.vcproj:
2499 * win32/dirent.c: (_tseekdir):
2500 * win32/gst-inspect.vcproj:
2501 * win32/gst-launch.vcproj:
2502 * win32/gstconfig.h:
2503 * win32/gstelements.vcproj:
2504 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2505 * win32/gstreamer.def:
2507 updates for the win32 build (patch from Sebastien Moutte)
2509 2005-10-10 Andy Wingo <wingo@pobox.com>
2511 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2512 gst_bin_get_state, cleaned up (but no logic changes).
2513 (bin_element_is_sink): Comment updates.
2514 (sink_iterator_filter): Remove needless cast.
2515 (gst_bin_iterate_sinks): Doc update.
2516 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2517 cleaned up (but no logic changes).
2519 * check/states/sinks.c (test_src_sink): Cleanups from the state
2521 (test_livesrc_sink): Sync on the state.
2523 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2524 the state change patch.
2526 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2529 * check/gst/gstbin.c: Merge in some style fixes and additional
2530 checks from Wim's state change patch.
2532 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2534 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2535 (gst_type_find_helper):
2536 Check whether we have the requested data already in our list of
2537 cached buffers before pulling a new buffer; also make the buffer
2538 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2540 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2545 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2546 don't use long long, it's not portable. Replacing with
2547 gint64 seems to work; let's hope no skeletons fall out of the closet.
2549 2005-10-10 Andy Wingo <wingo@pobox.com>
2551 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2553 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2555 * docs/gst/gstreamer-sections.txt:
2560 * gst/gstmessage.c: (gst_message_parse_state_changed):
2563 more docs, fix compilation
2565 2005-10-09 Philippe Khalaf <burger@speedy.org>
2567 Fixed a few forgotten variables on previous commit
2569 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2571 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2572 Fix evil typefind crasher: getrange() might return a short
2573 buffer at the end of a file, but gst_type_find_peek() must
2574 either return the full data as requested or NULL, but
2575 never a short buffer.
2577 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2579 * gst/gstmessage.c: (gst_message_new_state_changed),
2580 (gst_message_parse_state_changed):
2582 don't use "new", it's a C++ keyword
2584 2005-10-08 Wim Taymans <wim@fluendo.com>
2586 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2587 * gst/gstelement.c: (gst_element_post_message):
2588 * gst/gstpipeline.c: (gst_pipeline_change_state):
2589 Small docs and debug updates.
2591 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2593 * docs/gst/gstreamer-sections.txt:
2594 * gst/gstelementfactory.c:
2599 2005-10-08 Wim Taymans <wim@fluendo.com>
2601 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2602 (gst_bin_dispose), (bin_bus_handler):
2603 Fix typos, add comments.
2604 Clear EOS list when going to PAUSED from any direction and do it
2605 in a threadsafe way.
2606 Get base time in a threadsafe way too.
2607 Fix confusing debug in the change_state function.
2608 Various other small cleanups.
2610 * gst/gstelement.c: (gst_element_post_message):
2611 Fix very verbose bus posting code.
2613 * gst/gstpipeline.c: (gst_pipeline_class_init),
2614 (gst_pipeline_set_property), (gst_pipeline_get_property),
2615 (gst_pipeline_change_state):
2616 Small ARG_ -> PROP_ cleanup
2618 2005-10-08 Wim Taymans <wim@fluendo.com>
2620 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2621 Do a less CPU demanding EOS check because we can.
2623 2005-10-08 Wim Taymans <wim@fluendo.com>
2625 * libs/gst/dataprotocol/dataprotocol.c:
2626 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2627 (gst_dp_packet_from_event):
2628 * libs/gst/dataprotocol/dataprotocol.h:
2629 * libs/gst/dataprotocol/dp-private.h:
2630 It's about time we bump the version number.
2631 Since event types don't fit in the guint8 anymore describing
2632 the payload type, make payload type 16 bits wide.
2634 2005-10-08 Wim Taymans <wim@fluendo.com>
2636 * docs/design/part-TODO.txt:
2637 * docs/design/part-clocks.txt:
2638 * docs/design/part-events.txt:
2639 * docs/design/part-gstbin.txt:
2640 * docs/design/part-gstelement.txt:
2641 * docs/design/part-gstpipeline.txt:
2642 * docs/design/part-live-source.txt:
2643 * docs/design/part-messages.txt:
2644 * docs/design/part-overview.txt:
2645 * docs/design/part-states.txt:
2648 2005-10-08 Wim Taymans <wim@fluendo.com>
2652 Fix event quark registration.
2653 Add some space between events so we can insert them in the
2656 2005-10-08 Wim Taymans <wim@fluendo.com>
2658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2659 (gst_base_sink_handle_buffer):
2666 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2667 (gst_queue_set_property), (gst_queue_get_property):
2669 Remove old unused properties.
2671 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2672 * docs/gst/gstreamer-sections.txt:
2675 * gst/gstminiobject.c:
2676 * gst/gstminiobject.h:
2680 lots of new docs and doc fixes
2682 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2684 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2686 * gst/gstregistry.c: (gst_registry_lookup_locked),
2687 (gst_registry_scan_path_level):
2688 * gst/gstregistryxml.c: (load_plugin):
2689 Only ever load one plugin for a given plugin basename.
2690 This ensures correct overriding of GST_PLUGIN_PATH over
2691 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2692 system installed plugins.
2694 2005-10-08 Wim Taymans <wim@fluendo.com>
2696 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2697 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2698 Prepare for doing QOS.
2700 2005-10-08 Wim Taymans <wim@fluendo.com>
2702 * check/gst/gstbin.c: (GST_START_TEST):
2703 * check/pipelines/cleanup.c: (GST_START_TEST):
2704 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2705 Allow new clock message too.
2707 2005-10-08 Wim Taymans <wim@fluendo.com>
2709 * gst/gstmessage.c: (gst_message_new_error),
2710 (gst_message_new_warning), (gst_message_new_tag),
2711 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2712 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2713 (gst_message_new_segment_start), (gst_message_new_segment_done),
2714 (gst_message_parse_state_changed),
2715 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2716 (gst_message_parse_new_clock):
2718 Also carry the clock in question.
2720 2005-10-08 Wim Taymans <wim@fluendo.com>
2722 * gst/gstmessage.c: (gst_message_new_custom),
2723 (gst_message_new_eos), (gst_message_new_error),
2724 (gst_message_new_warning), (gst_message_new_tag),
2725 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2726 (gst_message_new_new_clock), (gst_message_new_segment_start),
2727 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2728 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2731 Added clock related messages.
2733 * gst/gstpipeline.c: (gst_pipeline_change_state):
2734 Post message when the clock changed.
2736 * tools/gst-launch.c: (event_loop):
2739 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2741 * tools/gst-inspect.c: (print_element_properties_info):
2742 Can't pass NULL strings to g_print() on windows.
2744 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2747 * docs/gst/Makefile.am:
2748 * docs/gst/gstreamer-docs.sgml:
2749 * docs/gst/running.xml:
2750 * docs/version.entities.in:
2751 add a chapter on running GStreamer.
2752 document GST_DEBUG and GST_PLUGIN* env vars
2754 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2759 remove PLUGINS_BUILDDIR stuff
2760 * gst/gst.c: (init_post):
2761 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2763 remove, it was condescending and not needed
2765 2005-10-08 Wim Taymans <wim@fluendo.com>
2767 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2768 (gst_base_sink_handle_object), (gst_base_sink_event),
2769 (gst_base_sink_wait), (gst_base_sink_handle_event),
2770 (gst_base_sink_change_state):
2771 * gst/base/gstbasesink.h:
2772 Repost EOS message while going to PLAYING if still EOS.
2773 Make sure that when receiving a FLUSH_START we don't attempt
2774 to sync on the clock anymore.
2776 2005-10-08 Wim Taymans <wim@fluendo.com>
2778 * tools/gst-launch.c: (event_loop):
2779 Better message printout.
2781 2005-10-08 Wim Taymans <wim@fluendo.com>
2783 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2784 (gst_bin_child_proxy_get_children_count):
2785 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2786 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2787 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2788 (gst_child_proxy_set_valist):
2789 * gst/parse/grammar.y:
2790 Make ChildProxy threadsafe and fix mem leaks.
2792 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2794 * gst/gst.c: (init_post):
2795 debug the GST_PLUGIN_ env vars
2797 2005-10-08 Wim Taymans <wim@fluendo.com>
2799 * check/gst/gstbin.c: (GST_START_TEST):
2800 * check/gst/gstmessage.c: (GST_START_TEST):
2801 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2802 * gst/gstelement.c: (gst_element_commit_state),
2803 (gst_element_lost_state):
2804 * gst/gstmessage.c: (gst_message_new_state_changed),
2805 (gst_message_parse_state_changed):
2807 * tools/gst-launch.c: (event_loop):
2808 Added extra field to STATE_CHANGE message with the pending
2809 state, which will be different from the new state soon.
2811 2005-10-08 Wim Taymans <wim@fluendo.com>
2813 * gst/gstbus.c: (gst_bus_pop):
2815 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2816 Small cleanups and doc updates.
2818 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2820 * gst/gst.c: (init_pre):
2821 * gst/gstbin.c: (gst_bin_add_func):
2822 log distributing clocks and base time
2823 * gst/gstregistry.c: (gst_registry_add_plugin),
2824 (gst_registry_scan_path_level), (gst_registry_scan_path):
2825 clean up the debugging output a little
2826 * gst/gstutils.c: (gst_element_state_get_name):
2827 warn about a memleak (I've actually seen this be used, though
2828 it was probably a bug)
2830 2005-10-07 Wim Taymans <wim@fluendo.com>
2832 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2833 (gst_base_src_init), (gst_base_src_default_newsegment),
2834 (gst_base_src_newsegment), (gst_base_src_do_seek),
2835 (gst_base_src_loop), (gst_base_src_start):
2836 * gst/base/gstbasesrc.h:
2837 Make the newsegment event customizable by subclasses.
2839 2005-10-07 Wim Taymans <wim@fluendo.com>
2841 * gst/gstevent.c: (gst_event_new_buffersize),
2842 (gst_event_parse_buffersize):
2844 New event for future idea.
2846 2005-10-07 Andy Wingo <wingo@pobox.com>
2848 * gst/gstelement.c (gst_element_post_message): Doc update.
2850 * docs/gst/gstreamer-sections.txt: Update.
2852 * gst/gstmessage.c (gst_message_new_application): Made into a
2853 function like honest API calls.
2854 (gst_message_new_element): New message type.
2856 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2858 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2859 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2862 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2863 NO_PREROLL from gst_element_change_state to fall through.
2865 2005-10-07 Wim Taymans <wim@fluendo.com>
2867 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2868 (gst_ghost_pad_do_activate_push):
2869 Activating a ghostpad with no internal pad in push mode
2872 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2875 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2876 Fixes compilation on Windows.
2878 2005-10-07 Michael Smith <msmith@fluendo.com>
2880 * tools/gst-inspect.c:
2881 Print out feature and plugin count at the end when printing out
2884 2005-10-04 Michael Smith <msmith@fluendo.com>
2886 * gst/gsterror.c: (_gst_stream_errors_init):
2887 Add another error string used in a few existing plugins.
2890 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2891 * tools/gst-inspect.c: (print_element_info):
2892 When a feature disappears from a plugin (and the feature exists in
2893 the cached registry file), things went horribly wrong. This isn't a
2894 complete fix, we should actually be removing the 'missing' features
2895 from the features list when we load the actual plugin. That's not
2898 2005-10-04 Johan Dahlin <johan@gnome.org>
2900 * check/gst/gstiterator.c: (GST_START_TEST):
2901 * gst/gstbin.c: (gst_bin_iterate_elements),
2902 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2903 * gst/gstelement.c: (gst_element_iterate_pads):
2904 * gst/gstformat.c: (gst_format_iterate_definitions):
2905 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2906 (gst_iterator_new_list), (gst_iterator_filter):
2907 * gst/gstiterator.h:
2908 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2909 Add a GType to GstIterator, update callsites and tests.
2911 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2913 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2914 give events a chance to be handled by event probes when the pad
2917 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2919 * gst/gstevent.c: (gst_event_type_get_name),
2920 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2922 add string representations for event types
2924 2005-10-06 Wim Taymans <wim@fluendo.com>
2926 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2927 Don't use NULL pointers.
2929 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2931 * gst/gst_private.h:
2935 * gst/gstpluginfeature.c:
2936 widen the debug category in output to fit the biggest one we have
2937 add a bus category and use it
2938 play with the colors
2939 fix up some categories
2941 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2943 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2944 add push activation of sink ghost pads.
2945 Andye, please verify
2947 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2949 * gst/gstutils.c: (gst_element_link_pads):
2950 fix a bug in the case where neither element has a pad
2951 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2952 add a test for that case
2954 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2956 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2957 emit have-data before checking for peers. This allows
2958 for probe handlers to connect elements. This helps autopluggers.
2959 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2961 add six checks, linked/unlinked with no/true/false probe
2963 2005-10-04 Wim Taymans <wim@fluendo.com>
2965 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2966 (gst_fake_sink_event), (gst_fake_sink_preroll),
2967 (gst_fake_sink_render), (gst_fake_sink_change_state):
2968 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2969 (gst_fake_src_get_property), (gst_fake_src_create),
2970 (gst_fake_src_stop):
2971 * gst/elements/gstidentity.c: (gst_identity_stop):
2972 Protect last_message with lock.
2974 2005-10-04 Edward Hervey <edward@fluendo.com>
2977 Added precision in the comments for GST_FORMAT_DEFAULT
2979 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2981 * tools/gst-launch.c: (main):
2982 Don't try to run erroneous pipelines.
2984 2005-10-04 Julien MOUTTE <julien@moutte.net>
2986 * gst/gstbus.c: We don't need this header.
2988 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2993 === release 0.9.3 ===
2995 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2999 Releasing 0.9.3, "Unregistered"
3001 2005-10-03 Andy Wingo <wingo@pobox.com>
3003 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3004 whereby calling a pad's activatepush() function can start a thread
3005 that starts to push or pull before the pad gets the FLUSHING flag
3006 unset. Hack around it by holding the stream lock until the flag is
3007 set. Need to replace this with a proper solution. Together with
3008 the ghost pad fixes, this fixes mp3 playing/tagreading.
3010 * docs/design/part-gstghostpad.txt: Add a note about activation of
3011 proxy pads outside of ghost pads.
3013 * gst/gstghostpad.c: Implement the ghost pad activation design.
3015 2005-10-02 Andy Wingo <wingo@pobox.com>
3017 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3018 It is volatile, after all.
3020 * docs/design/part-gstghostpad.txt: Flesh out activation with
3023 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3026 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3029 Fix (unused) AM_CONDITIONAL tests.
3031 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3033 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3035 * gst/gstutils.c: (gst_pad_query_convert):
3036 Add assertion that makes sure src_val is >=0, just like
3037 gst_query_new_convert() has. (#315895)
3039 2005-09-30 Edward Hervey <edward@fluendo.com>
3041 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3042 Let's not iterate pads we're not interested in, it avoids getting
3043 sky-high refcounts on sinkpad.
3045 2005-09-30 Wim Taymans <wim@fluendo.com>
3047 * gst/gstelement.c: (gst_element_set_state),
3048 (gst_element_change_state):
3049 Small tweak, element in ASYNC remains ASYNC.
3051 2005-09-30 Wim Taymans <wim@fluendo.com>
3053 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3054 Only error is an error.
3056 * gst/gstbin.c: (gst_bin_change_state):
3059 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3060 Also call pad_block in pad alloc.
3062 * gst/gstutils.c: (gst_flow_get_name):
3065 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3067 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3068 (gst_base_src_get_range):
3069 Fix documentation typos. Add some more debug info.
3071 2005-09-29 David Schleef <ds@schleef.org>
3073 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3074 more end-user friendly.
3075 * tools/gst-inspect.c: (main): Check if command-line argument is
3076 a file and attempt to load that file as a plugin.
3078 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3080 * check/gst/gstbin.c:
3081 * check/states/sinks.c:
3082 fix tests for the new warning
3083 * check/gst/gstpipeline.c:
3084 add a test for pipeline and bus interaction
3086 elements should be NULL if they get disposed; add a warning if not
3088 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3091 for 2.6 refcounting, make debug log more correct by printing
3092 the actual refcounts at the time of swap (Wim)
3094 2005-09-29 Andy Wingo <wingo@pobox.com>
3096 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3097 removes signal watches previously added via
3098 gst_bus_add_signal_watch.
3099 (gst_bus_add_signal_watch): Don't return the source id, just store
3100 it on the bus if there wasn't an id already.
3102 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3103 add_signal_watch and remove_signal_watch.
3105 2005-09-29 Edward Hervey <edward@fluendo.com>
3107 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3108 Better if we actually iterate the list :)
3110 2005-09-29 Wim Taymans <wim@fluendo.com>
3112 * check/gst/gstbin.c: (GST_START_TEST):
3113 Change for new bus API.
3115 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3116 (send_messages), (GST_START_TEST), (gstbus_suite):
3117 Change for new bus signal API.
3119 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3120 (gst_bus_source_prepare), (gst_bus_source_check),
3121 (gst_bus_create_watch), (gst_bus_add_watch_full),
3122 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3123 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3125 Remove support for multiple GSources operating on different
3126 message types as it is too complex and unneeded when using
3128 Added support for receiving signals from the bus.
3130 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3132 * docs/libs/tmpl/gstdataprotocol.sgml:
3133 * docs/manual/advanced-dataaccess.xml:
3134 * gst/elements/gstcapsfilter.c:
3136 rename filter-caps to caps property
3138 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3140 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3141 More robust fraction string parsing.
3143 * docs/pwg/appendix-porting.xml:
3144 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3146 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3148 * gst/gstcaps.c: (gst_caps_do_simplify):
3149 Thou shalt not free a structure and then continue using it
3150 in the next loop iteration.
3152 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3154 Add test case for caps simplification.
3156 2005-09-29 Wim Taymans <wim@fluendo.com>
3158 * check/gst/gstbin.c: (GST_START_TEST):
3161 2005-09-29 Wim Taymans <wim@fluendo.com>
3163 * check/gst/gstbin.c: (GST_START_TEST):
3166 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3167 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3168 (find_element), (gst_bin_sort_iterator_next),
3169 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3170 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3171 (gst_bin_change_state), (gst_bin_dispose):
3172 A bin does not have a bus, it gets the bus from the parent.
3174 * gst/gstelement.c: (gst_element_requires_clock),
3175 (gst_element_provides_clock), (gst_element_is_indexable),
3176 (gst_element_is_locked_state), (gst_element_change_state),
3177 (gst_element_set_bus_func):
3180 * gst/gstpipeline.c: (gst_pipeline_class_init),
3181 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3182 The pipeline provides a bus.
3184 2005-09-28 Johan Dahlin <johan@gnome.org>
3186 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3187 gst_structure_get_enum instead of gst_structure_get_int
3189 * gst/gststructure.c (gst_structure_get_enum): Impl.
3191 * gst/gststructure.h (gst_structure_get_enum): Add
3193 * docs/gst/gstreamer-sections.txt: Ditto
3195 * gst/gstmessage.c (gst_message_new_state_changed): Use
3196 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3197 which does introspection.
3198 Reviewed by Christian Schaller
3200 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3202 * gst/gstinfo.c: (gst_debug_log_default):
3203 don't do dummy g_strdup()s
3204 * libs/gst/controller/gstcontroller.c:
3205 (on_object_controlled_property_changed),
3206 (gst_controlled_property_new), (gst_controller_new_valist),
3207 (gst_controller_new_list),
3208 (gst_controller_remove_properties_valist), (gst_controller_set),
3209 (gst_controller_get), (gst_controller_sync_values),
3210 (gst_controller_get_value_array), (_gst_controller_class_init),
3211 (gst_controller_get_type):
3212 * libs/gst/controller/gstcontroller.h:
3213 * libs/gst/controller/gstinterpolation.c:
3214 (gst_controlled_property_find_timed_value_node):
3215 convert // to /**/ comments
3217 2005-09-28 Wim Taymans <wim@fluendo.com>
3219 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3220 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3221 (gst_bus_sync_signal_handler):
3223 Added async-message and sync-message signals to the bus.
3224 Added helper BusFunc to emit signals for all posted messages.
3226 * gst/gstmessage.c: (gst_message_type_get_name),
3227 (gst_message_type_to_quark), (gst_message_get_type):
3229 Register quarks for message names.
3231 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3233 * docs/libs/gstreamer-libs-sections.txt:
3234 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3235 (gst_controller_new_list):
3236 * libs/gst/controller/gstcontroller.h:
3237 added another constructor for language bindings
3239 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3241 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3245 * gst/gstinfo.c: (_gst_debug_init):
3246 slightly more readable color for refcount debugging
3248 2005-09-28 Wim Taymans <wim@fluendo.com>
3250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3251 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3252 (find_element), (gst_bin_sort_iterator_next),
3253 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3254 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3255 (gst_bin_change_state), (gst_bin_dispose):
3256 Small doc fixes. get_clock -> provide_clock.
3258 * gst/gstelement.c: (gst_element_class_init),
3259 (gst_element_provides_clock), (gst_element_provide_clock),
3260 (gst_element_get_clock), (gst_element_commit_state),
3261 (gst_element_lost_state):
3263 Make get/set_clock() symetric. Add provide_clock vmethod since
3264 that is actually what this function does.
3266 * gst/gstpipeline.c: (gst_pipeline_class_init),
3267 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3268 (gst_pipeline_get_clock):
3269 get_clock -> provide_clock.
3271 2005-09-28 Andy Wingo <wingo@pobox.com>
3273 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3274 lieu of real docs...
3276 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3278 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3280 * gst/elements/gstcapsfilter.c:
3281 * gst/elements/gstfakesink.c:
3282 * gst/elements/gstfakesrc.c:
3283 * gst/elements/gstfdsink.c:
3284 * gst/elements/gstfdsrc.c:
3285 * gst/elements/gstfilesink.c:
3286 * gst/elements/gstfilesrc.c:
3287 * gst/elements/gstidentity.c:
3288 * gst/elements/gsttee.c:
3289 * gst/elements/gsttypefindelement.c:
3290 Make element details static.
3292 2005-09-28 Wim Taymans <wim@fluendo.com>
3294 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3295 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3296 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3297 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3298 (gst_bin_change_state), (gst_bin_dispose):
3299 Some documentation updates.
3300 Clean up dispose handlers.
3302 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3303 * gst/gstpad.c: (gst_pad_dispose):
3304 Clean up dispose handler.
3306 * gst/gstpipeline.c: (gst_pipeline_change_state):
3307 Removed spurious UNLOCK.
3309 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3311 * docs/gst/gstreamer-sections.txt:
3312 * gst/base/gstbasesrc.h:
3317 * gst/gstpipeline.c:
3318 * gst/gstpipeline.h:
3321 added two new functions to the docs
3322 documents all undocumented GstXXXFlags
3323 completed some incomplete docs
3325 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3327 * gst/gstbin.c: (gst_bin_dispose):
3328 * gst/gstelement.c: (gst_element_dispose):
3329 remove now useless and leaky resurrection code in dispose
3330 * gst/base/gstbasesrc.c: (gst_base_src_init):
3331 * gst/gstelementfactory.c: (gst_element_factory_create):
3332 * gst/gstobject.c: (gst_object_set_parent):
3335 2005-09-27 Wim Taymans <wim@fluendo.com>
3337 * docs/design/part-TODO.txt:
3340 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3341 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3342 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3343 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3344 (gst_bin_change_state):
3346 Remove element variable, we keep element info in the iterator now.
3348 2005-09-27 Andy Wingo <wingo@pobox.com>
3350 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3353 2005-09-27 Wim Taymans <wim@fluendo.com>
3355 * check/gst/gstbin.c: (GST_START_TEST):
3356 Enable check that works now.
3358 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3359 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3360 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3361 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3362 (gst_bin_change_state):
3364 Redid the state change algorithm using a topological sort algo.
3365 Handles all cases correctly.
3366 Exposed iterator for state change order.
3369 Temp storage for state changes. Need to get rid of this soon.
3371 2005-09-27 Wim Taymans <wim@fluendo.com>
3373 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3374 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3375 (link_fold_func), (gst_pad_proxy_setcaps):
3376 Leak fixes, the fold functions need to unref the passed object and
3377 _get_parent_*() returns ref to parent.
3379 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3381 * check/gst/gstbuffer.c: (test_make_writable):
3382 Plug leak in test case and fix 'make check-valgrind'
3384 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3386 * gst/gstbuffer.c: (gst_subbuffer_init):
3387 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3388 works correctly in all circumstances (we could have just copied
3389 the parent buffer's readonly flag, but conceptually it seems
3390 cleaner to mark all subbuffers as read-only). (based on patch
3391 by Alessandro Decina, #314710).
3393 * check/gst/gstbuffer.c: (create_read_only_buffer),
3394 (test_make_writable), (test_subbuffer_make_writable),
3396 Add some tests for gst_buffer_make_writable().
3398 2005-09-27 Wim Taymans <wim@fluendo.com>
3400 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3401 use gst_object_has_ancestor().
3403 * gst/gstobject.c: (gst_object_has_ancestor):
3405 gst_object_has_ancestor() copied from gstbin.c as it is a
3408 * tests/instantiate/create.c: (create_all_elements):
3409 * tests/lat.c: (handoff_src), (handoff_sink):
3410 * tests/sched/runxml.c: (main):
3411 * tests/seeking/seeking1.c: (main):
3412 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3414 Fix compilation of some tests.
3416 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3419 Remove comment. GST_TYPE_G_ERROR is here to stay,
3420 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3423 2005-09-26 Wim Taymans <wim@fluendo.com>
3425 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3426 Added check that shows error in state change order.
3428 2005-09-26 Wim Taymans <wim@fluendo.com>
3430 * gst/gstbin.c: (gst_bin_change_state):
3431 Make state change function use 3 queues again, we were
3432 adding elements in the wrong order.
3434 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3437 * gst/gstpad.c: (gst_pad_dispose):
3438 Added some debug info first.
3440 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3442 * docs/design/draft-push-pull.txt:
3443 * docs/design/part-events.txt:
3444 * docs/design/part-overview.txt:
3445 * docs/design/part-scheduling.txt:
3446 Replace all _pull_region() with _pull_range()
3448 2005-09-26 Andy Wingo <wingo@pobox.com>
3450 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3452 * check/gst-libs/controller.c: Update for controller api change.
3455 * tests/Makefile.am:
3456 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3457 over by GLib bug 118439.
3459 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3460 routines to a function.
3462 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3464 * libs/gst/controller/gsthelper.c:
3465 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3466 (gst_object_sync_values): Renamed from sink_values. Ugh.
3468 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3470 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3471 Renamed from controller_key, as it is exported.
3473 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3475 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3480 * gst/gstpadtemplate.h:
3483 * gst/gstqueryutils.c:
3484 * gst/gstqueryutils.h:
3485 remove queryutils headers after moving the two used functions
3486 to gstquery. also fixes build problem for gstsiddec
3488 2005-09-26 Michael Smith <msmith@fluendo.com>
3490 * tools/gst-launch.1.in:
3491 Correct documentation in manpage of debug syntax
3493 2005-09-26 Wim Taymans <wim@fluendo.com>
3495 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3496 (gst_base_src_is_seekable), (gst_base_src_change_state):
3497 Some more debugging info.
3499 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3501 * docs/gst/gstreamer-sections.txt:
3502 * gst/base/gstbasetransform.h:
3506 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3508 * docs/gst/.cvsignore:
3509 * docs/gst/tmpl/.cvsignore:
3510 * docs/gst/tmpl/gstpipeline.sgml:
3511 * docs/gst/tmpl/gstplugin.sgml:
3512 * gst/gstpipeline.c:
3515 inlined the last two docs files
3516 removed the tmpl directory from cvs (no more conflicts here!)
3518 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3520 * docs/gst/gstreamer-sections.txt:
3521 * docs/gst/tmpl/.cvsignore:
3522 * docs/gst/tmpl/gstpad.sgml:
3523 * docs/gst/tmpl/gstpadtemplate.sgml:
3525 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3526 (gst_pad_finalize), (gst_pad_set_pad_template):
3528 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3529 (gst_pad_template_class_init), (gst_pad_template_init),
3530 (gst_pad_template_dispose), (name_is_valid),
3531 (gst_static_pad_template_get), (gst_pad_template_new),
3532 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3533 (gst_pad_template_pad_created):
3534 * gst/gstpadtemplate.h:
3535 inlined two more docs
3536 factored gstpadtemplate out of gstpad
3538 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3540 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3541 (test_children_state_change_order_semi_sink):
3542 Fix test case: we can't rely on a fixed state change order when
3543 going from READY => PAUSED because the sink might commit its
3544 new state first when the first buffer created by the source
3545 reaches the sink before the source has finished its change state.
3546 (Test case still fails at times, see #316856, comment 5 onwards)
3548 2005-09-24 Wim Taymans <wim@fluendo.com>
3550 * docs/design/part-events.txt:
3551 * docs/design/part-gstbus.txt:
3552 * docs/design/part-gstpipeline.txt:
3553 * docs/design/part-messages.txt:
3554 * docs/design/part-overview.txt:
3555 * docs/design/part-segments.txt:
3562 * gst/gstiterator.c:
3563 Various documentation updates.
3565 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3568 Well, that's embarassing. Luckily we weren't using
3569 GST_CLOCK_DIFF anywhere.
3571 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3573 * common/gtk-doc.mak:
3574 don't fail on building XML, FC4 slave shows a bunch of doc
3575 missing bits that I don't get
3577 * gst/gstpipeline.c:
3578 * gst/gststructure.c:
3581 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3583 * docs/design/part-gstbin.txt:
3584 * docs/design/part-gstbus.txt:
3586 Add blurb about how the bus goes into flushing mode and
3587 drops all messages when its bin goes from READY into NULL
3590 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3592 * docs/gst/gstreamer-sections.txt:
3593 * gst/gststructure.c: (gst_structure_get_clock_time):
3594 * gst/gststructure.h:
3595 add a method to get a GstClockTime out of a structure
3597 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3599 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3600 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3601 Added test to check state change order in bins (can still be made
3602 to fail here under heavy disk load; bails out with 'Push on pad
3603 fakesink:sink0, but it was not activated in push mode').
3605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3606 Fix state change order when there is only a semi sink (#316856)
3608 * gst/gstbus.c: (gst_bus_class_init):
3609 Use _class_peek_parent(), not _class_ref(); fix docs to say
3610 'default main context' instead of 'mainloop' where that is
3613 * gst/gstelement.c: (gst_element_commit_state),
3614 (gst_element_set_state):
3615 Fix typos in debug messages
3617 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3620 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3621 * gst/gstpluginfeature.c:
3624 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3625 change an assert into an error until it gets fixed properly
3627 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3629 * docs/gst/gstreamer-sections.txt:
3630 * docs/gst/tmpl/.cvsignore:
3631 * docs/gst/tmpl/gstelement.sgml:
3632 * docs/gst/tmpl/gstinfo.sgml:
3633 * docs/gst/tmpl/gstobject.sgml:
3638 * gst/gstobject.c: (gst_object_class_init):
3640 inlined 3 more biiiig doc files and added some missing docs on the fly
3642 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3644 * check/gst/.cvsignore:
3645 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3646 * gst/gstregistryxml.c: (load_plugin),
3647 (gst_registry_xml_save_plugin):
3648 put back source in registry. add checks for find_plugin.
3649 * testsuite/states/bin.c: (assert_state), (empty_bin),
3650 (test_adding_one_element), (main):
3651 * testsuite/states/locked.c: (main):
3652 some compile/run fixes
3654 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3656 * check/gst/gstvalue.c: (GST_START_TEST):
3657 fix leaks in the test itself
3659 2005-09-22 Wim Taymans <wim@fluendo.com>
3661 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3662 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3663 (gst_base_sink_query):
3664 Prepare for more accurate position reporting and query
3667 * gst/gstelement.c: (gst_element_send_event),
3668 (gst_element_set_state):
3671 2005-09-22 Wim Taymans <wim@fluendo.com>
3673 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3674 (gst_query_parse_segment):
3677 Add segment query for future use.
3679 2005-09-22 Wim Taymans <wim@fluendo.com>
3681 * gst/gstbin.c: (gst_bin_add_func):
3682 Some more debug info.
3684 * gst/gstelement.c: (gst_element_send_event):
3688 Don't know how flags got broken.
3693 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3695 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3696 Add simplistic test suite for GST_TYPE_DATE serialisation and
3699 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3701 * docs/gst/gstreamer-sections.txt:
3702 * gst/gststructure.c: (gst_structure_set_valist),
3703 (gst_structure_get_date):
3704 * gst/gststructure.h:
3705 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3706 (gst_date_copy), (gst_value_compare_date),
3707 (gst_value_serialize_date), (gst_value_deserialize_date),
3708 (gst_value_transform_date_string),
3709 (gst_value_transform_string_date), (_gst_value_initialize):
3711 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3712 bunch of utility functions along with a hack that checks that
3713 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3714 is required. Part of the grand scheme in #170777.
3716 2005-09-22 Andy Wingo <wingo@pobox.com>
3718 * gst/gstconfig.h.in: Psych out gtk-doc.
3720 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3722 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3724 * tools/gst-inspect.c (print_element_list): Plug some
3725 inconsequential leaks.
3727 * gst/gstregistry.c (gst_registry_get_default): Doc.
3729 * check/gst/gstplugin.c:
3730 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3731 * gst/gstelementfactory.c (gst_element_factory_create):
3732 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3735 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3736 (gst_plugin_feature_load): Doc, don't eat refs.
3738 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3739 (gst_plugin_list_free): Doc.
3740 (gst_plugin_load_file): Doc updates.
3742 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3743 accessors returning refcounted objects, return a ref.
3745 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3746 accessor for caps. IDEMPOTENCE. Oh yes.
3748 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3750 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3752 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3753 (_gst_debug_register_funcptr):
3754 Add mutex to serialise access to the hash table with
3755 the function pointer => function name string mapping;
3756 make that hash table static scope (#316809).
3758 * gst/registries/.cvsignore:
3759 Remove left-over file.
3761 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3763 * docs/pwg/appendix-porting.xml:
3764 And something about newsegment events and caps-on-buffers to
3765 the porting guide (feel free to improve).
3767 2005-09-21 Andy Wingo <wingo@pobox.com>
3769 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3770 data and event probes on the same pad.
3771 (test_buffer_probe_once): Test that removing probes from within
3772 the probe functions works.
3774 2005-09-21 Andy Wingo <wingo@pobox.com>
3776 * check/gst/gstutils.c: New file.
3777 (test_buffer_probe_n_times): A simple buffer probe test. More to
3780 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3781 have-data::buffer, not have-data.
3782 (gst_pad_add_event_probe): Likewise for have-data::event.
3783 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3784 peer' isn't quite right yet though.
3785 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3786 (gst_pad_remove_data_probe): Change to take the guint handler_id
3787 as their arg, not the function+data, which is more glib-like.
3789 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3790 the signal emission to indicate if the data is a buffer or an
3792 (gst_pad_get_type): Initialize buffer and event quarks.
3793 (gst_pad_class_init): have-data is now a detailed signal, yes it
3796 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3798 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3799 * gst/gstutils.c: (gst_util_set_value_from_string),
3800 (gst_util_set_object_arg):
3801 Don't put functional code in g_return_if_fail() or
3802 g_return_val_if_fail() statements, otherwise things will
3803 break when G_DISABLE_CHECKS is defined during compilation.
3805 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3807 * docs/gst/tmpl/.cvsignore:
3808 * docs/gst/tmpl/gstvalue.sgml:
3811 inlied another one and added some obvious docs
3813 2005-09-21 Wim Taymans <wim@fluendo.com>
3815 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3816 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3817 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3818 (gst_fdsrc_get_property), (gst_fdsrc_create):
3819 * gst/elements/gstfdsrc.h:
3820 Properly implement fdsrc. Removed signal and timeout,
3821 better implemented somewhere else.
3823 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3825 * docs/gst/tmpl/.cvsignore:
3826 * docs/gst/tmpl/gstimplementsinterface.sgml:
3827 * gst/gstinterface.c:
3830 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3832 * docs/gst/gstreamer-sections.txt:
3833 * docs/gst/tmpl/.cvsignore:
3834 * docs/gst/tmpl/gstenumtypes.sgml:
3835 remove obsolete doc file
3837 2005-09-21 David Schleef <ds@schleef.org>
3839 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3840 little beer, fix a little leak.
3842 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3844 * docs/gst/gstreamer-docs.sgml:
3845 * docs/gst/gstreamer-sections.txt:
3846 * docs/gst/tmpl/.cvsignore:
3851 * gst/gstindex.c: (gst_index_class_init):
3853 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3854 (gst_index_factory_class_init), (gst_index_factory_init),
3855 (gst_index_factory_finalize), (gst_index_factory_new),
3856 (gst_index_factory_destroy), (gst_index_factory_find),
3857 (gst_index_factory_create), (gst_index_factory_make):
3858 * gst/gstindexfactory.h:
3859 * gst/gstpluginfeature.c:
3860 * gst/gstpluginfeature.h:
3861 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3862 more docs inlined, splitted gstindex.{c,h}
3864 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3866 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3869 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3871 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3872 Set sync to FALSE by default.
3874 2005-09-20 Wim Taymans <wim@fluendo.com>
3876 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3877 (gst_base_sink_init):
3878 Make sync property settable from subclass.
3880 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3881 (gst_fake_sink_change_state):
3882 Set sync to FALSE by default.
3884 2005-09-20 Wim Taymans <wim@fluendo.com>
3886 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3887 * tools/gst-launch.c: (main):
3888 The timeout handler should have lower priority than the source
3889 so we don't timeout before popping a message with 0 timeout.
3890 Dump error messages after failed state change.
3892 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3894 * tools/gst-inspect.c: (print_element_properties_info):
3897 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3899 * check/gst/gstevent.c:
3900 * gst/elements/gstfakesink.c:
3901 * gst/elements/gstfakesink.h:
3902 remove the sync property from fakesink.
3903 has the side effect of setting sync TRUE
3904 for fakesink, which is a change. Anyone who knows how
3905 to fix this nicely in a GObject-y way, feel free.
3907 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3909 * docs/gst/gstreamer-docs.sgml:
3910 remove probe refsection
3912 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3914 * check/Makefile.am:
3915 disable valgrinding the controller test again
3916 * docs/gst/gstreamer-sections.txt:
3917 update for api-changes
3919 2005-09-20 Wim Taymans <wim@fluendo.com>
3921 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3922 (gst_base_sink_set_property), (gst_base_sink_get_property),
3923 (gst_base_sink_do_sync):
3924 * gst/base/gstbasesink.h:
3925 Added sync property to basesink to disable clock sync.
3927 2005-09-20 Andy Wingo <wingo@pobox.com>
3929 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3930 eating the caller's refcount.
3932 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3933 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3936 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3937 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3938 of GLib 2.8 public, so we can know which refcount to check in
3941 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3942 (gst_object_init): Only set the gst refcount if we're going ahead
3943 with the refcount hack.
3945 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3947 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3948 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3949 more leaks plumbed, added more debug-logging
3953 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3956 remove include of gstmemchunk.h
3958 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3960 * gst/gstclock.c: (_gst_clock_id_free):
3961 Commit from the Political Party For More Atomic CVS Commits,
3962 so that people don't waste too much of their day fishing
3963 out obvious leaks out of massive commits.
3964 Oh, and fix a pretty damn obvious leak in the memchunk
3967 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3969 * check/Makefile.am:
3970 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3971 plug mem-leak, re-add to valgrindable tests
3973 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3976 unbreak the build for those who have chronic arthritis
3977 and typing "make check" is just too taxing on the hands
3979 2005-09-20 Andy Wingo <wingo@pobox.com>
3981 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3982 really want it out, you should fix plugins at the same time.
3984 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3987 * docs/gst/gstreamer-sections.txt:
3989 added missing symbols to api docs
3990 disable ref-count hack if we have glib >= 2.8
3992 2005-09-19 David Schleef <ds@schleef.org>
3994 * docs/gst/Makefile.am: Ignore a few more internal headers
3995 * docs/gst/gstreamer-docs.sgml: Remove old sections
3996 * docs/gst/gstreamer-sections.txt: Remove old sections
3997 * docs/gst/tmpl/gstobject.sgml: update
3998 * docs/gst/tmpl/gstplugin.sgml: update
3999 * docs/gst/tmpl/gstpluginfeature.sgml: update
4000 * docs/random/ds/0.9-suggested-changes: update.
4001 * gst/Makefile.am: remove memchunk and trashstack, since they're
4003 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4004 * gst/gst.h: don't include some headers
4005 * gst/gstchildproxy.c: add gstmarshal.h
4006 * gst/gstclock.c: Don't use memchunks
4007 * gst/gstminiobject.c: Add some docs
4008 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4009 * gst/gstobject.h: same
4010 * gst/gstplugin.c: include gstmacros.h
4011 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4012 * gst/gstquery.c: don't use memchunks
4013 * gst/gstregistry.c: rename gst_registry_deinit()
4014 * gst/gstregistry.h: same
4016 2005-09-19 David Schleef <ds@schleef.org>
4018 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4019 * docs/libs/gstreamer-libs-sections.txt:
4020 * docs/libs/tmpl/gstgetbits.sgml:
4021 * docs/libs/tmpl/gstputbits.sgml:
4023 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4025 * win32/gstenumtypes.c:
4026 * win32/gstenumtypes.h:
4029 2005-09-19 Wim Taymans <wim@fluendo.com>
4031 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4032 Automatically PAUSE and RESUME a pipeline when a flushing seek
4035 2005-09-19 Andy Wingo <wingo@pobox.com>
4037 * gst/gstregistry.h: Spacing fixen.
4039 2005-09-19 Wim Taymans <wim@fluendo.com>
4041 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4042 Handle state change failure more correctly.
4044 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4046 * check/Makefile.am:
4047 * check/pipelines/cleanup.c: (run_pipeline):
4048 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4050 enable cleanup again after fixing the leak
4052 some more info on docs
4054 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4056 * check/Makefile.am:
4057 re-enable tests now that leaks are plugged
4059 * check/gst/gstbin.c:
4060 * check/gst/gstpipeline.c:
4061 add some more tests while fixing leaks
4063 make sure binaries are uptodate when valgrinding/gdbing
4065 * gst/gstelementfactory.c:
4066 remove a ref too many, and add a FIXME for when we get
4067 round to disposing of classes
4069 fix the refcounting when loading a plugin from a file and
4070 the code pretends that the pointer is the same even though
4071 of course it can change
4072 * gst/gstpluginfeature.c:
4073 unref plugins marked cached (a bit confusing as a name)
4074 as the docs state should be done
4075 various doc additions to explain refcounting
4076 * gst/gstregistry.c:
4077 * gst/gstregistryxml.c:
4080 2005-09-19 Wim Taymans <wim@fluendo.com>
4082 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4083 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4084 (send_messages), (GST_START_TEST), (gstbus_suite):
4085 * check/gst/gstpipeline.c: (GST_START_TEST):
4086 * check/pipelines/cleanup.c: (run_pipeline):
4087 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4089 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4090 (gst_bus_source_check), (gst_bus_source_dispatch),
4091 (gst_bus_create_watch), (gst_bus_add_watch_full),
4092 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4094 * tools/gst-launch.c: (event_loop):
4095 * tools/gst-md5sum.c: (event_loop):
4096 GstBusHandler -> GstBusFunc, return value has the same meaning as
4097 any other GSource (FALSE == remove source).
4098 _add_watch() and _add_watch_full() now take a MessageType mask to
4099 only handle specific types of messages.
4100 _poll() returns the GstMessage instead of the message type to avoid
4102 _have_pending() takes a MessageType mask now too.
4103 Added testsuite for multiple bus watches.
4104 Fix testsuites and applications for new bus API.
4106 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4108 * check/Makefile.am:
4109 mark a bunch of the tests as to fix until we fix them
4111 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4114 use GST_PLUGIN settings for valgrind tests as well, so we're
4115 valgrinding the correct thing
4116 * gst/gst.c: (init_post):
4119 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4121 * gst/gst.c: (init_post), (gst_deinit):
4122 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4123 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4124 * gst/gstindex.c: (gst_index_factory_class_init),
4125 (gst_index_factory_finalize):
4126 * gst/gstobject.c: (gst_object_dispose):
4127 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4128 (gst_plugin_load_file), (gst_plugin_desc_free):
4129 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4130 (gst_plugin_feature_finalize):
4131 * gst/gstregistry.c: (gst_registry_class_init),
4132 (gst_registry_init), (gst_registry_finalize),
4133 (gst_registry_get_default), (gst_registry_deinit):
4134 * gst/gstregistry.h:
4135 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4136 various cleanups and memleak plugging. make valgrind is happy now.
4138 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4141 add a check-valgrind target
4143 2005-09-18 David Schleef <ds@schleef.org>
4145 * tools/gst-inspect.c: Revert the GOption code.
4147 2005-09-17 David Schleef <ds@schleef.org>
4149 * check/Makefile.am: Fix environment variables.
4150 * check/gst/gstplugin.c: Fix for API changes.
4151 * tools/gst-inspect.c: Fix for API changes.
4152 * tools/gst-xmlinspect.c: Fix for API changes.
4153 * gst/gstelementfactory.c:
4156 * gst/gstpluginfeature.c:
4157 * gst/gstpluginfeature.h:
4158 * gst/gstregistry.c:
4159 * gst/gstregistry.h:
4160 * gst/gstregistryxml.c:
4161 * gst/gsttypefind.c:
4162 * gst/gsttypefindfactory.c:
4163 * gst/indexers/gstfileindex.c:
4164 * gst/indexers/gstmemindex.c:
4165 * gst/schedulers/Makefile.am:
4166 Change registry to keep track of both plugins and features,
4167 removing the feature tracking from plugins themselves.
4169 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4171 * check/Makefile.am:
4172 * tools/gst-register.1.in:
4175 2005-09-15 David Schleef <ds@schleef.org>
4177 * check/gst/gstplugin.c:
4178 * gst/gstelementfactory.c:
4180 * gst/gstpluginfeature.c:
4181 * gst/gstregistry.c:
4182 Getting tired of debugging. Disabled all the unreffing of
4183 plugins and features, which fixes the segfaults, but of
4184 course leaks like crazy. At least playbin works.
4186 2005-09-15 David Schleef <ds@schleef.org>
4188 * check/gst/gstplugin.c: (register_check_elements),
4189 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4191 * gst/elements/gsttypefindelement.c: Fix refcounting.
4192 * gst/gsttypefind.c:
4193 * gst/gsttypefindfactory.c:
4194 * gst/gsttypefindfactory.h:
4196 2005-09-15 David Schleef <ds@schleef.org>
4198 * gst/gstindex.c: get refcounting correct.
4199 * gst/gstregistry.c: Handle the case where a feature/plugin is
4202 2005-09-15 David Schleef <ds@schleef.org>
4204 * check/Makefile.am:
4205 * check/gst/gstplugin.c: Add test
4206 * gst/gstplugin.c: Fix problems noticed by testsuite
4208 * gst/gstregistry.c:
4209 * gst/gstregistry.h:
4211 2005-09-15 David Schleef <ds@schleef.org>
4213 * gst/gstplugin.c: Implement semi-decent recounting and locking
4214 in plugins and plugin features.
4216 * gst/gstpluginfeature.c:
4217 * gst/gstpluginfeature.h:
4218 * gst/gstregistry.c:
4220 2005-09-15 Michael Smith <msmith@fluendo.com>
4222 * gst/gstregistry.c: (gst_registry_get_feature_list):
4223 Implement this. Makes oggdemux work; decodebin still broken.
4225 2005-09-14 David Schleef <ds@schleef.org>
4227 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4229 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4230 * gst/check/Makefile.am:
4231 * libs/gst/controller/Makefile.am:
4232 * libs/gst/dataprotocol/Makefile.am:
4234 2005-09-14 David Schleef <ds@schleef.org>
4236 * configure.ac: Remove getbits library. Nothing uses it, and
4237 it should be in something like liboil if someone did want
4239 * libs/gst/Makefile.am:
4240 * libs/gst/getbits/Makefile.am:
4241 * libs/gst/getbits/gbtest.c:
4242 * libs/gst/getbits/getbits.c:
4243 * libs/gst/getbits/getbits.h:
4244 * libs/gst/getbits/gstgetbits_generic.c:
4245 * libs/gst/getbits/gstgetbits_i386.s:
4246 * libs/gst/getbits/gstgetbits_inl.h:
4248 2005-09-14 David Schleef <ds@schleef.org>
4250 * gst/Makefile.am: Dist glib-compat.h
4252 2005-09-14 David Schleef <ds@schleef.org>
4254 * configure.ac: Remove gst/registries, since it's no longer used.
4255 * gst/registries/Makefile.am:
4256 * gst/registries/gstlibxmlregistry.c:
4257 * gst/registries/gstlibxmlregistry.h:
4258 * gst/registries/gstxmlregistry.c:
4259 * gst/registries/gstxmlregistry.h:
4260 * gst/registries/registrytest.c:
4262 2005-09-14 David Schleef <ds@schleef.org>
4264 * gst/glib-compat.h:
4265 * gst/gstregistryxml.c:
4266 Convergence is near. Seriously.
4268 2005-09-14 David Schleef <ds@schleef.org>
4270 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4271 * gst/glib-compat.h:
4272 Attempt #4 to appease the buildbots.
4274 2005-09-14 David Schleef <ds@schleef.org>
4276 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4279 2005-09-14 David Schleef <ds@schleef.org>
4281 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4284 2005-09-14 David Schleef <ds@schleef.org>
4286 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4289 2005-09-14 David Schleef <ds@schleef.org>
4291 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4292 * gst/glib-compat.h: Add some functions that are in newer versions
4293 of glib than we care to require.
4294 * gst/gstregistryxml.c: Use them.
4296 2005-09-14 David Schleef <ds@schleef.org>
4298 * po/POTFILES.in: remove gst-register.c
4300 2005-09-14 David Schleef <ds@schleef.org>
4302 * docs/gst/gstreamer-docs.sgml:
4303 * docs/gst/gstreamer-sections.txt:
4304 * docs/gst/gstreamer.types:
4305 * docs/gst/tmpl/gstelement.sgml:
4306 * docs/gst/tmpl/gstplugin.sgml:
4307 * docs/gst/tmpl/gstpluginfeature.sgml:
4308 Documentation updates for registry changes.
4310 2005-09-14 David Schleef <ds@schleef.org>
4312 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4313 because we don't require glib-2.8.
4315 2005-09-14 David Schleef <ds@schleef.org>
4317 * gst/gstregistryxml.c: Added. Essentially moved out of the
4318 registries directory.
4320 2005-09-14 David Schleef <ds@schleef.org>
4322 * check/Makefile.am:
4323 * check/generic/states.c:
4327 * gst/gst_private.h:
4328 * gst/gstelementfactory.c:
4333 * gst/gstpluginfeature.c:
4334 * gst/gstpluginfeature.h:
4335 * gst/gstregistry.c:
4336 * gst/gstregistry.h:
4337 * gst/gstregistrypool.c: remove
4338 * gst/gstregistrypool.h: remove
4339 * gst/gsttypefind.c:
4340 * gst/gsttypefindfactory.c:
4342 * tools/Makefile.am:
4343 * tools/gst-compprep.c:
4344 * tools/gst-inspect.c:
4345 * tools/gst-register.c: remove
4346 * tools/gst-xmlinspect.c:
4347 Registry rewrite. Changes registry from being a file created
4348 by a tool into a simple cache file created automatically by
4349 libgstreamer. Removed gst-register (because it's no longer
4350 needed). Remove registry pools, because we only have one
4351 registry implementation (XML). Fix up other subsystems as
4354 2005-09-13 Michael Smith <msmith@fluendo.com>
4356 * gst/gstconfig.h.in:
4357 Don't Use windows linking attributes for MinGW. Fixes #316157
4359 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4361 * gst/gstutils.c: (set_state_async_thread_func),
4362 (gst_element_set_state_async):
4363 Apparently people think it's better if this function doesn't
4364 try to set the state to whatever state was asked for on the first
4365 call to this function for any object. Seriously.
4367 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4369 * check/gst/gstpipeline.c: (GST_START_TEST):
4370 * docs/gst/gstreamer-sections.txt:
4371 * gst/gstutils.c: (set_state_async_thread_func),
4372 (gst_element_set_state_async):
4374 add a "gst_element_set_state_async" method that
4375 sets the state and starts a thread to make sure the state
4376 change completes as best as it can
4378 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4380 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4381 codify design+behaviour in testsuite after discussion
4383 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4385 * docs/gst/tmpl/gstelement.sgml:
4386 * docs/manual/appendix-quotes.xml:
4388 * gst/gstelement.c: (gst_element_set_state):
4391 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4393 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4394 (gst_base_transform_prepare_output_buf),
4395 (gst_base_transform_handle_buffer):
4396 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4397 (gst_capsfilter_prepare_buf):
4398 Remove the requirement for sub-classes to call the parent
4399 implementation of prepare_output_buffer with a wrapper function.
4402 * gst/gsttagsetter.h:
4405 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4407 * docs/gst/gstreamer-sections.txt:
4410 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4412 * docs/gst/gstreamer-sections.txt:
4413 * docs/gst/tmpl/gstelement.sgml:
4414 * docs/gst/tmpl/gstplugin.sgml:
4415 * gst/gstminiobject.c:
4417 docs now stop throwing warnings
4419 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4421 * docs/gst/gstreamer-sections.txt:
4422 * docs/gst/gstreamer.types:
4423 * docs/gst/tmpl/gstpad.sgml:
4424 * docs/gst/tmpl/gsttypes.sgml:
4425 * gst/base/gstadapter.h:
4426 * gst/base/gstbasesink.h:
4427 * gst/base/gstbasesrc.h:
4437 * gst/gststructure.c:
4438 * gst/registries/gstlibxmlregistry.h:
4439 various documentation fixes
4441 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4443 * docs/gst/gstreamer-sections.txt:
4444 * docs/gst/tmpl/gstvalue.sgml:
4445 rearrange gstvalue section
4446 * gst/gstutils.c: (gst_element_state_get_name):
4448 * gst/gstvalue.c: (_gst_value_initialize):
4452 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4454 * check/gst-libs/controller.c:
4456 * gst/base/gstbasetransform.c:
4457 (gst_base_transform_default_prepare_buf),
4458 (gst_base_transform_handle_buffer):
4459 * gst/base/gstbasetransform.h:
4460 Some more basetransform changes and fixes to enable sub-classes
4461 that modify buffer metadata only.
4462 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4463 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4464 (gst_capsfilter_prepare_buf):
4465 If the output pad has fixed allowed caps and input buffers
4466 don't have any, set the fixed caps on outgoing buffers.
4468 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4469 * check/elements/identity.c: (GST_START_TEST):
4470 Make the error a little clearer when the test fails because
4471 identity made a copy of the buffer.
4472 * docs/gst/gstreamer-sections.txt:
4473 New symbols in gstbasetransform.h
4474 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4475 (gst_base_transform_init), (gst_base_transform_transform_size),
4476 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4477 (gst_base_transform_default_prepare_buf),
4478 (gst_base_transform_get_unit_size),
4479 (gst_base_transform_buffer_alloc),
4480 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4481 (gst_base_transform_change_state),
4482 (gst_base_transform_set_passthrough),
4483 (gst_base_transform_set_in_place),
4484 (gst_base_transform_is_in_place):
4485 * gst/base/gstbasetransform.h:
4486 Change BaseTransform to separate in_place operate from same_caps
4487 output. in_place implies that the element can perform the transform
4488 on incoming buffers in-place, even if the caps on the output are
4490 Sub-class elements can now implement special buffer allocation
4491 methods for outgoing buffers if they wish to.
4492 Big documentation addition.
4493 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4494 * gst/elements/gstelements.c:
4495 Changes for basetransform modifications.
4496 * gst/elements/Makefile.am:
4497 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4498 Compile fix. Extra debug output.
4500 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4502 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4504 add tests for valid pad naming
4505 * gst/check/gstcheck.c: (gst_check_log_message_func),
4506 (gst_check_log_critical_func):
4508 remove printing of code, it is fragile when the code contains
4509 % and the line number is enough info
4510 * gst/check/gstcheck.h:
4511 * gst/gstpad.c: (gst_pad_template_new):
4514 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4517 say what CHECK flags we use
4518 * docs/libs/gstreamer-libs.types:
4519 * libs/gst/controller/Makefile.am:
4520 * libs/gst/controller/gst-controller.c:
4521 * libs/gst/controller/gst-controller.h:
4522 * libs/gst/controller/gst-helper.c:
4523 * libs/gst/controller/gst-interpolation.c:
4524 * libs/gst/controller/gstcontroller.c:
4525 * libs/gst/controller/gsthelper.c:
4526 * libs/gst/controller/gstinterpolation.c:
4527 * tools/gst-inspect.c: (print_plugin_info):
4528 we don't use dashes in header names
4530 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4532 * check/Makefile.am:
4533 * check/gst/.cvsignore:
4534 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4535 (gst_pipeline_suite), (main):
4536 adding a test for pipelines and state changes
4537 * gst/gstutils.c: (get_state_func):
4539 * gstreamer.spec.in:
4542 2005-09-08 Michael Smith <msmith@fluendo.com>
4544 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4545 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4546 (gst_file_src_is_seekable), (gst_file_src_get_size),
4547 (gst_file_src_start):
4548 * gst/elements/gstfilesrc.h:
4549 Various fixes for unseekable, unmmapable, and non-normal files, so
4550 that fallback to read() rather than mmap() works.
4551 * gst/gstevent.c: (gst_event_new_newsegment):
4552 Allow newsegment events with segment_start == segment_end, as will
4553 correctly happen if you use filesrc on a zero-size file, for
4556 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4558 * gst/gstplugin.c: (gst_plugin_load_file):
4559 Call g_module_close when we don't load the module
4561 * gst/registries/gstlibxmlregistry.c:
4562 (gst_xml_registry_get_property):
4563 Port leak fix from 0.8
4565 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4567 * docs/gst/gstreamer-docs.sgml:
4568 * docs/gst/tmpl/.cvsignore:
4569 * docs/gst/tmpl/gsttrace.sgml:
4570 * docs/gst/tmpl/gsttrashstack.sgml:
4579 * gst/gsttaginterface.c:
4580 * gst/gsttaginterface.h:
4583 * gst/gsttagsetter.c:
4584 * gst/gsttagsetter.h:
4587 * gst/gsttrashstack.c:
4588 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4589 inlined docs for gsttrace, gsttrashstack
4591 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4594 * gst/elements/gstbufferstore.h:
4595 * gst/elements/gsttypefindelement.c:
4596 * gst/elements/gsttypefindelement.h:
4598 * gst/gsttypefind.c:
4599 * gst/gsttypefind.h:
4600 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4601 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4602 (gst_type_find_factory_dispose),
4603 (gst_type_find_factory_unload_thyself),
4604 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4605 (gst_type_find_factory_get_caps),
4606 (gst_type_find_factory_get_extensions),
4607 (gst_type_find_factory_call_function):
4608 * gst/gsttypefindfactory.h:
4609 * gst/registries/gstlibxmlregistry.c:
4610 * gst/registries/gstxmlregistry.c:
4611 splitted gsttypefind into gsttypefind, gsttypefindfactory
4613 2005-09-07 Andy Wingo <wingo@pobox.com>
4615 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4616 condition whereby the pad's task function is entered before the
4617 pad_mode variable was set.
4619 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4621 * gst/gstpad.c: (gst_pad_alloc_buffer):
4622 Catch misbehaving pad_alloc functions that don't
4623 set up caps and do it for them.
4625 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4627 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4629 * docs/gst/tmpl/.cvsignore:
4630 * docs/gst/tmpl/gstmemchunk.sgml:
4631 * docs/gst/tmpl/gstparse.sgml:
4632 * docs/gst/tmpl/gsttaglist.sgml:
4633 * docs/gst/tmpl/gsttagsetter.sgml:
4634 * docs/gst/tmpl/gsttypefind.sgml:
4635 * docs/gst/tmpl/gsttypefindfactory.sgml:
4636 * gst/gstmemchunk.c:
4639 * gst/gsttaginterface.c:
4640 * gst/gsttypefind.c:
4641 * gst/gsttypefind.h:
4644 === release 0.9.2 ===
4646 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4651 releasing 0.9.2, "South"
4653 2005-09-05 Andy Wingo <wingo@pobox.com>
4655 * gst/registries/gstxmlregistry.h:
4656 * gst/registries/gstxmlregistry.c: Um... resurrect...
4658 * gst/registries/gstxmlregistry.h:
4659 * gst/registries/gstxmlregistry.c: and update to newer API.
4660 Incidentally they should be a bit faster now that they don't have
4663 2005-09-05 Andy Wingo <wingo@pobox.com>
4665 * gst/registries/gstxmlregistry.h:
4666 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4667 replaced by the libxml registry a while back
4669 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4671 * docs/gst/tmpl/gstplugin.sgml:
4672 * gst/elements/gstelements.c:
4674 * gst/gstplugin.c: (gst_plugin_register_func),
4675 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4676 (gst_plugin_get_source):
4678 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4679 (gst_xml_registry_save_plugin):
4680 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4681 (gst_xml_registry_save_plugin):
4682 * tools/gst-inspect.c: (print_plugin_info):
4683 add a "source" plugin description field, to represent the source
4684 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4685 will set it to PACKAGE, which is automake's idea of the name of
4688 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4694 * docs/faq/Makefile.am:
4695 * docs/gst/tmpl/gstelement.sgml:
4696 * docs/gst/tmpl/gsttypes.sgml:
4697 * docs/htmlinstall.mak:
4698 * docs/manual/Makefile.am:
4699 * docs/pwg/Makefile.am:
4700 reorganize doc build a little
4701 split out docbook and gtk-doc stuff
4702 have two separate --enable's and enable them through autogen
4703 but disable by default in configure (to be similar to other
4705 * gstreamer.spec.in:
4706 clean up docs install
4726 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4728 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4731 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4732 (gst_fake_sink_change_state):
4733 Make state change function thread-safe.
4735 * gst/gstpad.c: (gst_pad_alloc_buffer):
4736 Set offset on generic buffer allocated by fallback.
4738 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4740 * docs/gst/gstreamer-sections.txt:
4741 * docs/gst/tmpl/gstelement.sgml:
4743 * libs/gst/controller/gst-controller.c:
4744 (gst_controlled_property_set_interpolation_mode),
4745 (gst_controlled_property_new),
4746 (gst_controller_find_controlled_property):
4747 run the wingo-magic script against the docs
4749 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4751 * docs/gst/gstreamer-docs.sgml:
4752 * docs/gst/gstreamer-sections.txt:
4753 * docs/gst/tmpl/.cvsignore:
4754 * docs/gst/tmpl/gstelementdetails.sgml:
4755 * docs/gst/tmpl/gstelementfactory.sgml:
4758 * gst/gstelementfactory.c:
4759 * gst/gstelementfactory.h:
4760 merged elementdetails docs into elementfactory docs
4763 2005-09-02 Andy Wingo <wingo@pobox.com>
4765 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4766 consider this enum an enum and not a flags.
4768 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4770 * docs/gst/gstreamer-docs.sgml:
4771 * docs/gst/tmpl/.cvsignore:
4772 * docs/gst/tmpl/gstghostpad.sgml:
4773 * docs/gst/tmpl/gstiterator.sgml:
4774 * docs/gst/tmpl/gstmacros.sgml:
4775 * docs/gst/tmpl/gstrealpad.sgml:
4776 * docs/gst/tmpl/gstregistry.sgml:
4777 * docs/gst/tmpl/gstregistrypool.sgml:
4778 * docs/gst/tmpl/gststructure.sgml:
4779 * docs/gst/tmpl/gstsystemclock.sgml:
4780 * docs/gst/tmpl/gsttrace.sgml:
4781 * gst/gstghostpad.c:
4783 * gst/gstmemchunk.c:
4784 * gst/gstmemchunk.h:
4786 * gst/gstregistry.c:
4787 * gst/gstregistrypool.c:
4788 * gst/gststructure.c:
4789 * gst/gstsystemclock.c:
4792 2005-09-02 Andy Wingo <wingo@pobox.com>
4794 * gst/gstelement.h (GstState): Renamed from GstElementState,
4795 changed to be a normal enum instead of flags.
4796 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4797 munged to be GST_STATE_CHANGE_*.
4798 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4799 work with the new state representation.
4800 (GstStateChange): New enumeration of possible state transitions.
4801 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4802 (GstElementClass::change_state): Pass the GstStateChange along as
4803 an argument. Helps language bindings, so they don't have to use
4804 tricky lock-needing macros like GST_STATE_CHANGE ().
4806 * scripts/update-states (file): New script. Run it on a file to
4807 update it for state naming and API changes. Updates files in
4810 * All files updated for the new API.
4812 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4814 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4815 * gst/gstutils.c: (gst_util_set_value_from_string),
4816 (gst_util_set_object_arg):
4817 fix a bunch of unchecked return values
4818 * tools/gst-complete.c: (main):
4819 * gstreamer.spec.in:
4822 2005-09-01 Wim Taymans <wim@fluendo.com>
4824 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4825 (gst_base_sink_event), (gst_base_sink_do_sync),
4826 (gst_base_sink_handle_event):
4827 * gst/base/gstbasesink.h:
4828 Handle newsegments more correctly.
4833 * gst/gstevent.c: (gst_event_new_newsegment):
4834 A newsegment cannot have a start_time of -1
4836 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4838 * win32/gstenumtypes.c:
4839 * win32/gstenumtypes.h:
4842 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4844 * libs/gst/controller/gst-controller.c:
4845 (gst_controlled_property_set_interpolation_mode),
4846 (gst_controlled_property_new):
4849 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4851 * docs/faq/gst-uninstalled:
4856 * gst/gstutils.c: (gst_element_link_filtered):
4858 add gst_element_link_filtered
4860 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4862 * docs/gst/gstreamer-docs.sgml:
4863 * docs/gst/gstreamer-sections.txt:
4864 * docs/gst/tmpl/.cvsignore:
4865 * docs/gst/tmpl/gsterror.sgml:
4866 * docs/gst/tmpl/gstfilter.sgml:
4867 * docs/gst/tmpl/gsturihandler.sgml:
4868 * docs/gst/tmpl/gsturitype.sgml:
4869 * docs/gst/tmpl/gstutils.sgml:
4870 * docs/gst/tmpl/gstxml.sgml:
4878 inlined more docs, fixed double id-ref
4880 2005-08-31 Wim Taymans <wim@fluendo.com>
4882 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4883 (gst_base_transform_handle_buffer):
4884 Passthrough elements don't need the caps as they don't care.
4886 2005-08-31 Wim Taymans <wim@fluendo.com>
4888 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4889 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4890 Don't leak refcounts on buffers.
4892 2005-08-31 Wim Taymans <wim@fluendo.com>
4894 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4895 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4896 (gst_base_transform_chain), (gst_base_transform_change_state):
4897 * gst/base/gstbasetransform.h:
4898 Handle the case where we are not negotiated more gracefully.
4900 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4902 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4903 (gst_file_src_map_region):
4904 Set READONLY flag on mmap'ed buffers, otherwise
4905 gst_buffer_make_writable() won't work properly (#314708).
4907 2005-08-31 Wim Taymans <wim@fluendo.com>
4909 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4910 passthrough elements can even do inplace on non writable
4911 buffers (as they don't touch them).
4913 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4915 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4916 (gst_test_mono_source_set_property),
4917 (gst_test_mono_source_class_init), (GST_START_TEST),
4918 (gst_controller_suite):
4919 more tests (hehe I have the most)
4921 describe popping messages whenusing mulltiple sources
4922 * libs/gst/controller/gst-controller.c:
4923 (gst_controlled_property_set_interpolation_mode),
4924 (gst_controlled_property_new):
4925 * libs/gst/controller/gst-controller.h:
4926 * libs/gst/controller/gst-interpolation.c:
4927 implement boolean properties
4929 2005-08-31 Wim Taymans <wim@fluendo.com>
4931 * gst/gstminiobject.c: (gst_mini_object_ref):
4932 Cannot assert that the refcount has to be positive
4933 since a disposed object can be resurrected.
4935 2005-08-31 Wim Taymans <wim@fluendo.com>
4937 * gst/gstpad.c: (gst_pad_init):
4938 Revert change, need to first fix badly behaving
4941 2005-08-30 Wim Taymans <wim@fluendo.com>
4943 * check/elements/fakesrc.c: (setup_fakesrc):
4944 * check/elements/identity.c: (setup_identity):
4945 Activate pads before using them.
4947 2005-08-30 Wim Taymans <wim@fluendo.com>
4949 * gst/base/gstadapter.c: (gst_adapter_flush):
4950 Flushing out 0 bytes is ok for this function.
4952 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4953 no newsegment gives a warning and sets the start/stop to
4956 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4957 (gst_base_transform_set_passthrough):
4960 * gst/gstminiobject.c: (gst_mini_object_ref):
4961 Check refcount here too.
4963 * gst/gstpad.c: (gst_pad_init):
4964 Pads are initially flushing and refusing data.
4966 * gst/gstutils.c: (gst_element_link_pads_filtered):
4967 When adding a capsfilter element make sure it has the
4968 same state as the parent bin.
4970 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4972 * docs/gst/tmpl/.cvsignore:
4973 * docs/gst/tmpl/gstformat.sgml:
4974 * docs/gst/tmpl/gstversion.sgml:
4978 * gst/gstversion.h.in:
4979 more docs and two more inlined
4981 2005-08-30 Wim Taymans <wim@fluendo.com>
4983 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4984 Don't sync to clock.
4986 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4988 * docs/gst/gstreamer-sections.txt:
4989 ultral33t func10ns deserve to appear in the docs actually
4990 * docs/gst/tmpl/.cvsignore:
4991 * docs/gst/tmpl/gstcompat.sgml:
4992 * docs/gst/tmpl/gstconfig.sgml:
4993 * gst/check/gstcheck.c:
4995 * gst/gstconfig.h.in:
4998 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5000 * docs/gst/tmpl/.cvsignore:
5001 * docs/gst/tmpl/gstquery.sgml:
5002 * docs/gst/tmpl/gstutils.sgml:
5005 inlined and extended docs
5007 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5009 * check/gst-libs/controller.c: (GST_START_TEST),
5010 (gst_controller_suite):
5012 * docs/gst/tmpl/gstutils.sgml:
5013 * docs/libs/gstreamer-libs-sections.txt:
5014 * docs/libs/tmpl/gstdataprotocol.sgml:
5016 * examples/controller/audio-example.c: (main):
5017 controller example works now
5020 * tools/gst-inspect.c: (print_element_properties_info):
5021 show param spec flags
5023 2005-08-29 Andy Wingo <wingo@pobox.com>
5025 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5027 2005-08-28 Andy Wingo <wingo@pobox.com>
5029 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5030 as having two arguments instead of just one. Allows superclasses
5031 to access information on subclasses -- see the terrible for() loop
5032 in gtype.c:g_type_create_instance for the reason why. All callers
5035 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5037 * docs/design/part-messages.txt:
5039 * docs/gst/tmpl/.cvsignore:
5040 * docs/gst/tmpl/gstcaps.sgml:
5041 * docs/gst/tmpl/gstclock.sgml:
5048 added descriptions for bus and message
5049 inline caps and clock docs
5051 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5057 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5059 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5062 2005-08-26 Andy Wingo <wingo@pobox.com>
5064 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5065 element_set_state's return val.
5066 (test_2_elements): Add test that's been disabled for months.
5068 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5069 can-activate-pull properties.
5071 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5072 can-activate-pull properties. Implement is_seekable so fakesrc can
5073 operate in pull mode.
5075 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5077 (gst_base_sink_activate, gst_base_sink_activate_pull)
5078 (gst_base_sink_activate_push): Make activation mode choosing work.
5080 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5081 is right. Make pull mode work. Post an eos before pausing in pull
5083 (gst_base_sink_change_state): Pay attention to the core's
5084 change_state() return val.
5086 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5087 has-getrange properties. Cleanups.
5089 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5090 has_getrange and replace with can_activate_pull and
5093 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5094 locking comments. Remove has_loop, has_chain and replace with
5095 can_activate_pull and can_activate_push.
5097 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5100 * examples/Makefile.am:
5101 * examples/metadata/Makefile.am:
5102 * examples/metadata/read-metadata.c: (message_loop),
5103 (have_pad_handler), (make_pipeline), (print_tag), (main):
5104 Add metadata reading example that loops over a list of filenames,
5105 dumping any tags found.
5107 * gst/gstbus.c: (gst_bus_dispose):
5108 * gst/gstelement.c: (gst_element_dispose):
5109 Release a few potentially-held references in dispose.
5111 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5113 * docs/gst/tmpl/gstminiobject.sgml:
5114 do *not* add tmpl/*.sgml files to CVS!
5116 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5118 * libs/gst/bytestream/.cvsignore:
5119 * libs/gst/bytestream/Makefile.am:
5120 * libs/gst/bytestream/adapter.c:
5121 * libs/gst/bytestream/adapter.h:
5122 * libs/gst/bytestream/bytestream.c:
5123 * libs/gst/bytestream/bytestream.h:
5124 * libs/gst/bytestream/filepad.c:
5125 * libs/gst/bytestream/filepad.h:
5126 removing obsolete files
5128 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5130 * docs/gst/gstreamer-docs.sgml:
5131 * docs/libs/gstreamer-libs-docs.sgml:
5132 disabed additional index entries again, as this makes docs-gen just
5133 slow and they aren't useful yet
5134 * docs/libs/gstreamer-libs-sections.txt:
5135 little -section.txt cleanup for libs
5137 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5139 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5140 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5141 fix up some debugging
5142 (gst_base_transform_get_unit_size),
5143 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5144 (gst_base_transform_handle_buffer):
5145 * gst/base/gstbasetransform.h:
5146 handle and store timed NEWSEGMENT events so that subclasses that
5147 calculate time by counting samples have a segment_start time they
5148 need to add to their timestamps - see audioresample
5150 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5153 removed ';' from the end of macro defs
5154 * docs/gst/gstreamer-docs.sgml:
5155 * docs/gst/gstreamer-sections.txt:
5156 * docs/gst/tmpl/.cvsignore:
5158 * gst/gstelement.c: (gst_element_class_init),
5159 (gst_element_set_state), (activate_pads),
5160 (gst_element_save_thyself):
5161 * gst/gstevent.c: (gst_event_new_newsegment):
5163 * gst/gstiterator.c:
5164 * gst/gstiterator.h:
5167 * gst/gstutils.c: (gst_pad_query_convert):
5169 fixed parameter name mismatches between source, header and docs
5170 added some more docs, resolved the last batch of unused elements in
5171 docs (now someone needs to doc them)
5173 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5175 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5176 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5177 don't walk through the plugins backwards. Where is all this
5178 reversed logic coming from ?
5180 2005-08-25 Wim Taymans <wim@fluendo.com>
5182 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5183 (gst_base_transform_transform_size),
5184 (gst_base_transform_configure_caps),
5185 (gst_base_transform_get_unit_size),
5186 (gst_base_transform_buffer_alloc),
5187 (gst_base_transform_change_state):
5188 * gst/base/gstbasetransform.h:
5189 Cache caps unit_size.
5190 Make sure we cannot negotiate up and downstream at the
5193 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5195 * gst/gst.c: (init_pre), (init_post):
5196 register the installed plugin path after the env var
5197 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5198 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5199 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5200 directories, so the tests can prefer uninstalled over installed
5202 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5204 * gst/base/gstbasetransform.h:
5209 2005-08-25 Wim Taymans <wim@fluendo.com>
5211 * gst/gstbin.c: (bin_bus_handler):
5212 Be a bit more conservative about the posted message.
5214 * gst/gstbus.c: (gst_bus_post):
5215 Some cleanups, warn wrong return values.
5217 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5219 * check/gst/gstbin.c: (GST_START_TEST):
5220 * gst/gstbin.c: (bin_bus_handler):
5221 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5222 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5223 (gst_message_new_warning), (gst_message_new_tag),
5224 (gst_message_new_state_changed), (gst_message_new_segment_start),
5225 (gst_message_new_segment_done), (gst_message_new_custom):
5227 * tools/gst-launch.c: (event_loop):
5228 * tools/gst-md5sum.c: (event_loop):
5229 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5231 2005-08-25 Wim Taymans <wim@fluendo.com>
5233 * check/generic/states.c: (GST_START_TEST):
5234 Cleanup can be done at the end.
5236 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5237 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5238 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5239 Oh boy.. Thanks for finding this, Thomas.
5241 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5243 * docs/gst/gstreamer.types:
5246 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5248 * docs/gst/gstreamer-docs.sgml:
5249 * docs/gst/gstreamer-sections.txt:
5250 * docs/gst/tmpl/.cvsignore:
5252 * gst/gstiterator.c:
5254 * gst/registries/gstxmlregistry.h:
5255 added missing classes and symbols (123 more to go)
5256 removed removed symbols from section file
5257 fixed many doc-comments
5259 2005-08-24 Wim Taymans <wim@fluendo.com>
5261 * check/generic/states.c: (GST_START_TEST):
5262 Make sure all tasks are stopped.
5264 * check/gst/gstbin.c: (GST_START_TEST):
5265 Unref after usage for proper valgrinding.
5267 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5268 Really wait for the task to stop before destroying the
5271 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5272 (gst_queue_src_activate_push):
5273 Small cleanups. Don't stop the task when we did not start
5276 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5277 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5278 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5281 Protect the stream lock with the object lock.
5282 Disallow setting the stream lock when running.
5283 Add cleanup_all to wait for the threadpool to finish.
5284 Remove code to autoallocate a mutex if none was provided.
5285 Add _join() to wait for a task to stop.
5286 Protect the thread pool with a global lock.
5288 2005-08-24 Wim Taymans <wim@fluendo.com>
5290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5291 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5292 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5293 * gst/base/gstbasesink.h:
5294 Handle newsegment events correctly.
5295 Drop buffers out of the segment range.
5297 2005-08-22 Andy Wingo <wingo@pobox.com>
5299 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5300 macro, implements an interface and gstimplementsinterface for a
5303 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5305 * check/Makefile.am:
5306 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5307 add a test that does a bunch of state changes on elements
5308 needs some fixing for valgrind
5309 * check/states/sinks.c: (gst_object_suite):
5312 add prototype for gst_caps_is_equal_fixed
5314 * gst/gstregistrypool.c:
5317 2005-08-24 Andy Wingo <wingo@pobox.com>
5319 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5320 convert a negative value. Doesn't make much sense. Mostly this is
5321 here to force callers to ensure -1 maps to -1.
5323 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5325 * docs/pwg/advanced-types.xml:
5326 Well done to Michael for catching my deliberate introduction
5327 of this spelling mistake.
5328 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5330 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5331 unlink pads before removing the element from the bin.
5333 2005-08-24 Andy Wingo <wingo@pobox.com>
5335 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5336 the same thing as GST_DEBUG=*:4.
5337 (parse_debug_level, parse_debug_category): New helper parsers.
5339 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5341 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5342 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5343 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5344 (gst_base_transform_buffer_alloc),
5345 (gst_base_transform_handle_buffer):
5346 use gboolean return values and pointers to size so we can use the
5347 full GST_BUFFER_SIZE range (guint) for buffer sizes
5348 use GstPadDirection for transform_caps
5349 * gst/base/gstbasetransform.h:
5350 rename get_size to get_unit_size since that's what it is
5351 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5352 use GstPadDirection for transform_caps
5353 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5355 cleanup and debugging
5357 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5359 * gst/gstelement.c: (gst_element_class_init),
5360 (gst_element_set_state), (activate_pads),
5361 (gst_element_save_thyself):
5362 * tools/gst-compprep.c: (main):
5363 * tools/gst-inspect.c: (print_element_properties_info):
5364 * tools/gst-xmlinspect.c: (print_element_properties):
5365 Fixed long standing mem-leak
5367 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5369 * check/gst/gstbin.c: (GST_START_TEST):
5370 * gst/gstbin.c: (bin_bus_handler):
5371 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5372 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5373 (gst_message_new_warning), (gst_message_new_tag),
5374 (gst_message_new_state_changed), (gst_message_new_segment_start),
5375 (gst_message_new_segment_done), (gst_message_new_custom):
5377 * tools/gst-launch.c: (event_loop):
5378 * tools/gst-md5sum.c: (event_loop):
5379 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5380 that applications can sensibly post custom messages with references
5381 to their own objects.
5383 2005-08-24 Andy Wingo <wingo@pobox.com>
5385 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5388 2005-08-24 Wim Taymans <wim@fluendo.com>
5390 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5391 (gst_base_transform_transform_caps),
5392 (gst_base_transform_transform_size),
5393 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5394 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5395 (gst_base_transform_handle_buffer):
5396 * gst/base/gstbasetransform.h:
5397 Many fixes and new features added by Thomas. Can now also do
5398 transforms with variable sizes and a custom fixate_caps function.
5400 2005-08-24 Wim Taymans <wim@fluendo.com>
5402 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5406 Cast to ClockTime before formatting to time.
5411 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5413 * check/gst-libs/controller.c: (GST_START_TEST),
5414 (gst_controller_suite):
5415 * docs/gst/tmpl/gstcaps.sgml:
5416 * docs/gst/tmpl/gstghostpad.sgml:
5417 * docs/gst/tmpl/gstquery.sgml:
5418 * docs/gst/tmpl/gstutils.sgml:
5419 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5420 (gst_object_sink_values), (gst_object_get_value_arrays),
5421 (gst_object_get_value_array):
5422 gracefully handle helper method calls to objects that are not beeing
5423 controlled, added test case for that
5425 2005-08-23 Wim Taymans <wim@fluendo.com>
5427 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5428 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5429 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5430 (gst_event_parse_qos), (gst_event_new_seek),
5431 (gst_event_parse_seek):
5433 Some more debugging output and doc cleanups.
5435 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5436 Fix possible deadlock.
5438 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5440 * docs/gst/gstreamer-docs.sgml:
5441 * docs/gst/gstreamer-sections.txt:
5442 * docs/gst/gstreamer.types:
5443 * docs/gst/tmpl/.cvsignore:
5448 added 100 symbols from gstreamer-unused.txt to the right sections
5449 fixed more broken comments
5450 added GstBus to docs
5452 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5454 * docs/gst/gstreamer-sections.txt:
5455 * docs/gst/tmpl/.cvsignore:
5456 * docs/gst/tmpl/gstbin.sgml:
5457 * docs/gst/tmpl/gstbuffer.sgml:
5458 * gst/base/gstbasesrc.c:
5459 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5462 * tools/gst-launch.1.in:
5463 inlined more doc comments, added missing comments and fixed comments
5466 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5468 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5472 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5474 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5475 * gst/gststructure.h:
5476 add a fixate function for booleans; add a FIXME that these func
5477 names should probably be gst_structure_fixate_*
5479 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5481 * docs/gst/gstreamer-docs.sgml:
5482 * docs/gst/gstreamer-sections.txt:
5484 * gst/gstbin.c: (gst_bin_get_type),
5485 (gst_bin_child_proxy_get_child_by_index),
5486 (gst_bin_child_proxy_get_children_count),
5487 (gst_bin_child_proxy_init):
5488 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5489 (gst_child_proxy_get_child_by_index),
5490 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5491 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5492 (gst_child_proxy_get), (gst_child_proxy_set_property),
5493 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5494 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5495 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5496 * gst/gstchildproxy.h:
5497 * gst/parse/grammar.y:
5498 * tools/gst-inspect.c: (print_interfaces),
5499 (print_element_properties_info), (print_element_info):
5500 ported gstchildproxy over from 0.8
5501 ported gst-inspect fixes and enhancements over from 0.8
5503 2005-08-22 Wim Taymans <wim@fluendo.com>
5505 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5506 (gst_base_transform_handle_buffer):
5507 Also call the transform function if we have ANY caps.
5509 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5512 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5514 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5515 Don't pretend to handle seek events if the source is not seekable
5517 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5519 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5520 Remove extra parameter to debug output
5522 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5523 (gst_base_src_do_seek), (gst_base_src_activate_push):
5524 Fix seek event handling.
5526 * gst/gstpipeline.c: (gst_pipeline_change_state):
5527 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5528 (gst_queue_src_activate_push):
5529 Don't start the src pad task on FLUSH_STOP if the pad
5533 2005-08-22 Wim Taymans <wim@fluendo.com>
5535 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5536 Added check for gst_static_caps_get() refcounting.
5538 2005-08-22 Wim Taymans <wim@fluendo.com>
5540 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5541 Make _static_caps_get() refcounting sane.
5543 * gst/gstelement.c: (gst_element_set_state):
5544 Add g_return_val_if_fail() to protect against segfaults.
5546 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5548 * docs/gst/tmpl/gstevent.sgml:
5551 inlined remaining docs, added missing doc comments
5553 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5555 * check/gst/gstbin.c: (GST_START_TEST):
5556 since we don't know when preroll is done, use refcount range
5558 * gst/check/gstcheck.h:
5559 add macro for checking refcount range
5561 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5563 * check/Makefile.am:
5564 clean up environment for when registry gets built versus
5565 when actual tests are run; valgrind seems to not report
5566 leaks if GST_PLUGIN_PATH is set to some specific values
5567 * check/gst/gstbin.c: (GST_START_TEST):
5568 add more refcounting checks; maybe this exposes a
5571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5572 * gst/check/gstcheck.h:
5573 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5574 (gst_bin_change_state):
5575 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5576 add/fix debugging/whitespace
5578 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5580 * check/gst/gstevent.c: (event_probe), (test_event),
5582 Er, don't call gst_bin_watch_for_state_change you idiot.
5584 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5586 * check/Makefile.am:
5587 Use CHECK_CFLAGS and CHECK_LIBS
5588 * check/gst/gstevent.c: (event_probe), (test_event),
5591 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5592 (gst_base_src_start), (gst_base_src_stop),
5593 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5594 (gst_base_src_change_state):
5595 Sprinkle gst_base_src_stop liberally around error paths to fix
5596 problems reusing a source after failed state changes.
5597 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5598 (helper_find_suggest), (gst_type_find_helper):
5599 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5601 * docs/gst/tmpl/gstevent.sgml:
5602 Migrate part of the docs from the SGML file. Wait for ensonic to
5603 tell me how I did it wrong ;)
5604 * tools/gst-typefind.c: (main):
5605 Extra robustness to state changes between files.
5607 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5609 * check/Makefile.am:
5610 don't valgrind the controller test - it's leaking - Stefan, HELP
5611 * gst/check/gstcheck.c: (gst_check_message_error),
5612 (gst_check_chain_func), (gst_check_setup_element),
5613 (gst_check_teardown_element), (gst_check_setup_src_pad),
5614 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5615 (gst_check_teardown_sink_pad):
5616 * gst/check/gstcheck.h:
5617 add a bunch of methods to set up elements, and src and sink pads
5618 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5619 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5624 whitespace/doc fixes
5626 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5629 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5630 be handled by the application and not always printed as well
5632 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5634 * check/Makefile.am:
5636 * gst/check/gstcheck.c: (gst_check_message_error):
5637 * gst/check/gstcheck.h:
5638 add a fail_unless_equals_int
5639 add fail_unless for error messages
5641 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5643 * check/Makefile.am:
5645 * common/Makefile.am:
5648 factor out some of the common stuff so we can use it
5650 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5652 * check/Makefile.am:
5653 * check/gst/gstiterator.c: (GST_START_TEST):
5654 * check/gst/gstsystemclock.c: (GST_START_TEST),
5655 (gst_systemclock_suite):
5656 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5660 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5662 * check/elements/.cvsignore:
5663 * check/elements/gstfakesrc.c:
5664 rename to name of element
5665 * check/elements/identity.c: (chain_func), (event_func),
5666 (setup_identity), (cleanup_identity), (GST_START_TEST),
5667 (identity_suite), (main):
5668 add a test for identity
5669 * check/Makefile.am:
5670 * pkgconfig/Makefile.am:
5671 * pkgconfig/gstreamer-check.pc.in:
5672 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5676 move the check stuff to a library that gets installed
5677 * check/gst-libs/controller.c: (GST_START_TEST):
5678 * check/gst-libs/gdp.c:
5679 * check/gst/gst.c: (GST_START_TEST):
5680 * check/gst/gstbin.c:
5681 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5682 * check/gst/gstbus.c:
5683 * check/gst/gstcaps.c: (GST_START_TEST):
5684 * check/gst/gstelement.c:
5685 * check/gst/gstghostpad.c:
5686 * check/gst/gstiterator.c:
5687 * check/gst/gstmessage.c:
5688 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5689 * check/gst/gstobject.c:
5690 * check/gst/gstpad.c: (GST_START_TEST):
5691 * check/gst/gststructure.c: (GST_START_TEST):
5692 * check/gst/gstsystemclock.c: (GST_START_TEST),
5693 (gst_systemclock_suite):
5694 * check/gst/gsttag.c: (gst_tag_suite):
5695 * check/gst/gstvalue.c:
5696 * check/pipelines/cleanup.c:
5697 * check/pipelines/simple_launch_lines.c:
5698 * check/states/sinks.c:
5699 change include statement
5701 * docs/gst/gstreamer-sections.txt:
5702 * docs/gst/tmpl/gstpad.sgml:
5703 document more pad stuff
5704 * gst/gstminiobject.c: (gst_mini_object_ref),
5705 (gst_mini_object_unref):
5708 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5710 * docs/gst/tmpl/gst.sgml:
5712 eliminate another tmpl file, fix spelling in the long-description
5714 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5716 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5717 (test_event), (timediff), (gstevents_suite):
5718 Should fix build on 64-bit arch's
5720 2005-08-18 Andy Wingo <wingo@pobox.com>
5722 Make sure that when a pipeline goes to PLAYING, that data has
5723 actually hit the sink.
5725 * check/states/sinks.c (test_sink): A sink that doesn't get any
5726 data shouldn't return SUCCESS for going to either PLAYING or
5727 PAUSED. Test also the return values on the way back down.
5729 * gst/gstelement.c (gst_element_set_state): When changing the
5730 state of an element currently changing state asynchronously, go to
5731 lost-state after commiting the pending state. Makes future calls
5732 to get_state continue to return ASYNC.
5734 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5735 ASYNC when going to PLAYING if we still don't have preroll, as can
5736 happen with live sources.
5738 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5740 * docs/pwg/advanced-types.xml:
5741 Hack long paragraph into 2 chunks as a workaround for buggy
5742 jadetex version in sid and breezy that loops infinitely and
5745 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5747 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5748 (test_event), (timediff), (gstevents_suite):
5749 Provide more error margin in clock measurements to allow for
5750 g_get_current_time inaccuracies.
5752 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5754 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5755 (test_event), (timediff), (gstevents_suite):
5756 Fix error message output so I might be able to tell why the
5757 test works here but fails on the build farm.
5759 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5761 * check/Makefile.am:
5762 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5763 (test_event), (timediff), (gstevents_suite), (main):
5766 * docs/design/part-seeking.txt:
5769 * docs/gst/tmpl/gstevent.sgml:
5770 * docs/gst/tmpl/gstfakesrc.sgml:
5773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5774 Treat a buffer-without-newsegment the same as a receiving
5775 a newsegment not in time format, and disable syncing to the clock
5778 * gst/gstbus.c: (gst_bus_set_sync_handler):
5779 Assert if anyone tries to replace the existing sync_handler for bus,
5780 as only the owner should be setting it.
5783 Have a fixed set of custom event enums with events identified by
5784 their structure name (as in 0.8), rather than a free-for-all
5785 allowing collisions between enum values from different plugins.
5787 * gst/gstpad.c: (gst_pad_class_init):
5790 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5791 Handle out-of-band downstream events from the sending thread.
5793 2005-08-17 Andy Wingo <wingo@pobox.com>
5795 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5796 play-timeout==0 to mean no timeout at all. In that case, don't
5797 bother with a get_state or a warning, just return directly, even
5800 * gst/base/gstbasetransform.c: Debug changes.
5803 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5804 ensure bins post state change messages. A bit of a hack but I can't
5805 think of a way to avoid it.
5807 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5809 2005-08-16 Andy Wingo <wingo@pobox.com>
5811 * gst/base/gstadapter.h:
5812 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5813 peek() but you own the data. Not terribly efficient atm.
5815 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5817 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5818 (gst_element_found_tags):
5820 Add two utility functions for tag handling.
5822 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5824 * docs/manual/advanced-dataaccess.xml:
5825 * docs/manual/basics-helloworld.xml:
5826 Fix docs to use _bin_add() before _link(), which fixes the examples
5827 with recent core versions (reported by Madhan Raj M
5828 <raj_madan@rediffmail.com>, #313199).
5830 2005-08-16 Wim Taymans <wim@fluendo.com>
5832 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5833 Added subtract checks.
5835 * docs/design/part-events.txt:
5836 Some more docs about newsegment
5838 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5841 * gst/gstcaps.c: (gst_caps_to_string):
5842 Add comments, cleanups.
5844 * gst/gstelement.c: (gst_element_save_thyself):
5847 * gst/gstvalue.c: (gst_value_collect_int_range),
5848 (gst_string_unwrap), (gst_value_union_int_int_range),
5849 (gst_value_union_int_range_int_range),
5850 (gst_value_intersect_int_int_range),
5851 (gst_value_intersect_int_range_int_range),
5852 (gst_value_intersect_double_double_range),
5853 (gst_value_intersect_double_range_double_range),
5854 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5855 (gst_value_subtract_int_range_int),
5856 (gst_value_subtract_double_range_double),
5857 (gst_value_subtract_double_range_double_range),
5858 (gst_value_subtract_from_list), (gst_value_subtract_list),
5859 (gst_value_can_compare), (gst_value_compare_fraction):
5860 Cleanups, add comments, remove unneeded asserts.
5862 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5864 * tools/gst-launch.c: (event_loop):
5865 don't convert NULL structures to strings
5867 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5869 * docs/gst/gstreamer-sections.txt:
5870 made some defines private
5871 * docs/gst/tmpl/gstconfig.sgml:
5872 * docs/gst/tmpl/gstqueue.sgml:
5873 * docs/gst/tmpl/gsttaglist.sgml:
5874 * docs/gst/tmpl/gsttypes.sgml:
5875 * docs/gst/tmpl/gstutils.sgml:
5876 * docs/pwg/appendix-porting.xml:
5877 * gst/base/gstbasesink.h:
5878 * gst/base/gstbasesrc.c:
5879 * gst/base/gstbasesrc.h:
5880 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5881 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5882 * gst/gstelement.c: (gst_element_class_init):
5883 * gst/gstpad.c: (gst_pad_class_init):
5884 * gst/gstqueue.c: (gst_queue_class_init):
5885 * gst/gstxml.c: (gst_xml_class_init):
5886 documented all undocumented signal inline
5887 * libs/gst/controller/gst-controller.h:
5890 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5892 * docs/pwg/appendix-porting.xml:
5893 Document _set_link_function -> _set_setcaps_function.
5895 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5897 * check/Makefile.am:
5898 add a .check target for running the check
5899 * check/gst-libs/controller.c: (GST_START_TEST):
5901 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5902 complete checks for gstbuffer; would be nice if I could get the
5903 gcov stuff to work so I can see if I actually completed gstbuffer.c
5905 add ASSERT_BUFFER_REFCOUNT
5907 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5909 * docs/gst/gstreamer-sections.txt:
5910 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5912 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5913 spew out a warning if a tag that is already registered
5914 is re-registered, unless it is re-registered with a
5915 different type (#308438).
5917 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5919 * docs/pwg/appendix-porting.xml:
5920 * docs/pwg/building-state.xml:
5921 Add some paragraphs about state changes in 0.9 to the PWG
5922 and the porting guide, in particular about the new meaning
5923 of GST_STATE_PAUSED and how to write state change functions
5924 with concurrent access by multiple threads in mind.
5926 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5928 * docs/gst/gstreamer-docs.sgml:
5929 * docs/libs/gstreamer-libs-docs.sgml:
5930 added deprecation and since indexes
5931 * libs/gst/controller/gst-controller.c:
5932 * libs/gst/controller/gst-helper.c:
5936 2005-08-11 Wim Taymans <wim@fluendo.com>
5938 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5939 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5940 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5941 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5942 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5943 (gst_ghost_pad_set_target):
5944 Actually implement (re)setting the target on a ghostpad
5945 as described in the docs.
5947 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5949 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5950 Check whether GST_DEBUG_NO_COLOR environment variable is
5951 set and disable coloured debug output if that is the case.
5953 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5955 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5956 (gst_type_find_helper):
5957 The memory returned by gst_type_find_peek() needs to
5958 stay valid until the end of a typefind function, and
5959 typefind functions may keep results from different
5960 offsets around, so we can't just unref the buffer from
5961 the previous _peek(), but have to save all buffers
5962 returned by _peek() until typefinding is done and only
5965 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5967 * docs/gst/gstreamer-sections.txt:
5969 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5971 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5973 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5974 Fix a pretty good memleak.
5976 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5978 * gst/gstiterator.h:
5979 Fix wrong include and 'make distcheck'.
5981 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5983 * gst/gstbin.c: (bin_bus_handler):
5984 Use gst_element_post_message() instead.
5986 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5988 * gst/base/gstadapter.h:
5989 * gst/base/gstbasesink.h:
5990 * gst/base/gstbasesrc.h:
5991 * gst/base/gstbasetransform.h:
5992 * gst/base/gstcollectpads.h:
5993 * gst/base/gstpushsrc.h:
5994 * gst/gstiterator.h:
5995 Add padding to our base elements' class and instance structs and
5996 to GstIterator (you will need to rebuild all plugins and apps!)
5998 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6000 * gst/gstbin.c: (bin_bus_handler):
6001 Make default message forwarding from child->bus to bin->bus
6002 threadsafe and make it not emit warnings if the parent has no bus.
6004 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6006 * gst/gstelement.c: (activate_pads):
6007 On paused->ready, set pad->caps to NULL, as is the documented
6008 behaviour in this state change. Fixes playback of series of
6009 media files when visualization is enabled in Totem.
6011 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6013 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6014 Allow NULL as filter-caps (which means "any").
6016 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6018 * docs/libs/gstreamer-libs-sections.txt:
6019 * libs/gst/controller/gst-controller.c:
6020 * libs/gst/controller/gst-controller.h:
6021 * libs/gst/controller/gst-helper.c:
6022 adding more entries to the docs and fix small doc-bugs
6024 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6026 * docs/gst/gstreamer-docs.sgml:
6027 * docs/gst/gstreamer-sections.txt:
6028 * docs/gst/gstreamer.types:
6029 * docs/gst/tmpl/gstbasesink.sgml:
6030 * docs/gst/tmpl/gstbasesrc.sgml:
6031 * docs/gst/tmpl/gstbasetransform.sgml:
6032 * docs/gst/tmpl/gstfakesrc.sgml:
6033 * gst/base/gstcollectpads.c:
6034 * gst/base/gstcollectpads.h:
6035 * libs/gst/controller/gst-controller.c:
6036 * libs/gst/controller/gst-controller.h:
6037 * libs/gst/controller/gst-helper.c:
6038 * libs/gst/controller/gst-interpolation.c:
6039 * libs/gst/controller/lib.c:
6040 added long/short desc for controller docs
6041 added collectpads base class docs
6042 added correct includes to base-class docs
6044 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6046 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6047 (gst_test_mono_source_set_property),
6048 (gst_test_mono_source_class_init), (GST_START_TEST),
6049 (gst_controller_suite):
6050 * docs/gst/gstreamer-docs.sgml:
6051 * docs/gst/gstreamer-sections.txt:
6052 * docs/gst/gstreamer.types:
6053 * docs/libs/gstreamer-libs-docs.sgml:
6054 * docs/libs/gstreamer-libs-sections.txt:
6055 * gst/base/gstadapter.c:
6056 * libs/gst/controller/gst-controller.c:
6057 (gst_controlled_property_new), (gst_controlled_property_free),
6058 (gst_controller_new_valist),
6059 (gst_controller_remove_properties_valist),
6060 (gst_controller_sink_values), (_gst_controller_finalize):
6061 * libs/gst/controller/gst-controller.h:
6062 * libs/gst/controller/gst-helper.c:
6063 (gst_object_control_properties), (gst_object_uncontrol_properties),
6064 (gst_object_get_controller), (gst_object_set_controller),
6065 (gst_object_sink_values), (gst_object_get_value_arrays),
6066 (gst_object_get_value_array):
6067 more tests (and fixes) for the controller
6068 more docs for the controller
6069 integrated companies docs for the adapter
6071 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6073 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6074 (GST_START_TEST), (fakesrc_suite):
6075 add tests for sizetype
6077 2005-08-04 Andy Wingo <wingo@pobox.com>
6079 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6080 fixes buffer_alloc proxying among other things.
6082 * gst/base/gstbasetransform.c:
6083 * gst/base/gstbasetransform.h:
6084 Revert patch to gstbasetransform from 7-28 removing
6087 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6088 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6089 Semantics changed, should return not the size of the output buffer
6090 but the byte size of a buffer with a given caps.
6092 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6094 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6095 out) are not the pad caps until setcaps finishes.
6096 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6097 not-in-place case as well. Deal with changing from in-place to
6098 not-in-place within calling pad_alloc_buffer. Still a bit
6099 concerned about the overhead here...
6101 2005-08-03 Andy Wingo <wingo@pobox.com>
6103 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6104 fixating is an error.
6106 2005-08-04 Edward Hervey <edward@fluendo.com>
6108 * gst/base/gstadapter.h:
6109 Added gst_adapter_get_type() to the header
6111 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6113 * check/Makefile.am:
6114 * check/gst-libs/controller.c:
6115 * libs/gst/controller/gst-controller.c:
6116 (gst_controller_new_valist):
6117 added check test suite for the controller
6118 * gst/base/gstpushsrc.c:
6121 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6123 * docs/gst/Makefile.am:
6124 * docs/gst/gstreamer-docs.sgml:
6125 * docs/gst/gstreamer-sections.txt:
6126 * docs/gst/gstreamer.types:
6127 * docs/gst/tmpl/gstfakesrc.sgml:
6129 * gst/base/gstbasesink.c:
6130 * gst/base/gstbasesink.h:
6131 * gst/base/gstbasesrc.c:
6132 * gst/base/gstbasesrc.h:
6133 * gst/base/gstbasetransform.c:
6134 * gst/base/gstpushsrc.c:
6135 * gst/base/gstpushsrc.h:
6136 add short/long description docs to base classes
6137 add pushsrc to the docs
6138 remove consolidated doc fragments
6140 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6143 * docs/libs/Makefile.am:
6144 * docs/libs/gstreamer-libs-docs.sgml:
6145 * docs/libs/gstreamer-libs-sections.txt:
6146 * docs/libs/gstreamer-libs.types:
6147 * examples/Makefile.am:
6148 * examples/controller/.cvsignore:
6149 * examples/controller/Makefile.am:
6150 * examples/controller/audio-example.c: (main):
6151 * libs/gst/Makefile.am:
6152 * libs/gst/controller/.cvsignore:
6153 * libs/gst/controller/Makefile.am:
6154 * libs/gst/controller/gst-controller.c:
6155 (on_object_controlled_property_changed), (gst_timed_value_compare),
6156 (gst_timed_value_find),
6157 (gst_controlled_property_set_interpolation_mode),
6158 (gst_controlled_property_new), (gst_controlled_property_free),
6159 (gst_controller_find_controlled_property),
6160 (gst_controller_new_valist), (gst_controller_new),
6161 (gst_controller_remove_properties_valist),
6162 (gst_controller_remove_properties), (gst_controller_set),
6163 (gst_controller_set_from_list), (gst_controller_unset),
6164 (gst_controller_get), (gst_controller_get_all),
6165 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6166 (gst_controller_get_value_array),
6167 (gst_controller_set_interpolation_mode),
6168 (_gst_controller_finalize), (_gst_controller_init),
6169 (_gst_controller_class_init), (gst_controller_get_type):
6170 * libs/gst/controller/gst-controller.h:
6171 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6172 (g_object_uncontrol_properties), (g_object_get_controller),
6173 (g_object_set_controller), (g_object_sink_values),
6174 (g_object_get_value_arrays), (g_object_get_value_array):
6175 * libs/gst/controller/gst-interpolation.c:
6176 (gst_controlled_property_find_timed_value_node),
6177 (interpolate_none_get), (interpolate_trigger_get),
6178 (interpolate_trigger_get_value_array):
6179 * libs/gst/controller/lib.c: (gst_controller_init):
6180 * pkgconfig/Makefile.am:
6181 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6182 * pkgconfig/gstreamer-control.pc.in:
6183 * testsuite/Makefile.am:
6184 * testsuite/controller/.cvsignore:
6185 * testsuite/controller/Makefile.am:
6186 * testsuite/controller/interpolator.c: (main):
6187 added controller code
6188 removed dparam pc files
6190 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6191 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6192 (gst_collectpads_stop):
6193 Broadcast the condition when shutting down, to make sure we wake all
6194 threads up. Shut down pads on finalize, for safety.
6196 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6197 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6198 (gst_base_transform_handle_buffer),
6199 (gst_base_transform_change_state):
6200 Handle PAUSED->READY->PAUSED transition after negotiation
6202 * gst/gstmessage.c: (gst_message_init):
6203 Extra piece of debug for new messages.
6205 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6208 * docs/gst/tmpl/gstbasesrc.sgml:
6209 * docs/gst/tmpl/gstelement.sgml:
6210 * docs/gst/tmpl/gstevent.sgml:
6211 * docs/gst/tmpl/gstfakesrc.sgml:
6212 * docs/gst/tmpl/gstformat.sgml:
6213 * docs/gst/tmpl/gstghostpad.sgml:
6214 * docs/gst/tmpl/gstpad.sgml:
6215 * docs/gst/tmpl/gstquery.sgml:
6216 * docs/gst/tmpl/gststructure.sgml:
6217 * docs/gst/tmpl/gsttaglist.sgml:
6218 * docs/gst/tmpl/gstvalue.sgml:
6219 * docs/libs/gstreamer-libs-docs.sgml:
6220 * docs/libs/gstreamer-libs-sections.txt:
6221 * docs/libs/gstreamer-libs.types:
6222 * libs/gst/Makefile.am:
6223 * libs/gst/control/.cvsignore:
6224 * libs/gst/control/Makefile.am:
6225 * libs/gst/control/control.c:
6226 * libs/gst/control/control.h:
6227 * libs/gst/control/dparam.c:
6228 * libs/gst/control/dparam.h:
6229 * libs/gst/control/dparam_smooth.c:
6230 * libs/gst/control/dparam_smooth.h:
6231 * libs/gst/control/dparamcommon.h:
6232 * libs/gst/control/dparammanager.c:
6233 * libs/gst/control/dparammanager.h:
6234 * libs/gst/control/dplinearinterp.c:
6235 * libs/gst/control/dplinearinterp.h:
6236 * libs/gst/control/unitconvert.c:
6237 * libs/gst/control/unitconvert.h:
6238 * testsuite/Makefile.am:
6239 * testsuite/dynparams/.cvsignore:
6240 * testsuite/dynparams/Makefile.am:
6241 * testsuite/dynparams/dparamstest.c:
6242 * tools/Makefile.am:
6243 * tools/gst-inspect.c: (print_element_info), (main):
6244 * tools/gst-xmlinspect.c: (print_element_info), (main):
6245 deactivate and remove dparams (libgstcontrol)
6247 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6249 * gst/elements/gsttypefindelement.c:
6250 (gst_type_find_element_have_type), (gst_type_find_element_init),
6251 (stop_typefinding), (gst_type_find_element_handle_event),
6252 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6253 * gst/elements/gsttypefindelement.h:
6254 Set caps on all outgoing buffers, not just the first one.
6256 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6258 * gst/elements/gsttypefindelement.c:
6259 (gst_type_find_element_have_type),
6260 (gst_type_find_element_check_set_buffer_caps),
6261 (gst_type_find_element_init), (stop_typefinding),
6262 (gst_type_find_element_handle_event),
6263 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6264 * gst/elements/gsttypefindelement.h:
6265 Set caps on first outgoing buffer when we've found the type.
6267 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6269 * docs/gst/gstreamer-docs.sgml:
6270 * docs/gst/gstreamer-sections.txt:
6271 * docs/gst/tmpl/gstscheduler.sgml:
6272 * docs/gst/tmpl/gstschedulerfactory.sgml:
6273 Remove some old cruft from docs.
6275 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6278 Fix inline docs for GstPadLinkReturn.
6280 * gst/gststructure.c: (gst_structure_has_name):
6281 * gst/gststructure.h:
6282 * docs/gst/gstreamer-sections.txt:
6283 New API: gst_structure_has_name().
6285 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6288 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6289 and _LARGEFILE_SOURCE in config.h as required. Do not
6290 export those flags in our .pc files any longer (#142209).
6292 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6294 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6295 (gst_file_sink_do_seek), (gst_file_sink_event),
6296 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6297 Redo seek/tell calls with large file support in mind; add some
6298 debugging messages; add log message that tells us when large
6299 file support is unavailable or not enabled for some reason.
6301 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6302 Add log message that tells us when large file support
6303 is unavailable or not enabled for some reason.
6305 2005-07-29 Wim Taymans <wim@fluendo.com>
6307 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6308 Added test for removing an element with ghostpad from a bin.
6309 Fixed test as current implementation does the right thing.
6311 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6312 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6313 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6314 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6315 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6316 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6317 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6318 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6319 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6320 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6321 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6322 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6323 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6324 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6325 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6326 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6327 * gst/gstghostpad.h:
6328 Clean up ghostpads, remove properties for internal stuff.
6331 Prepare for switching targets, not all use cases work yet.
6333 2005-07-29 Wim Taymans <wim@fluendo.com>
6335 * docs/design/part-gstghostpad.txt:
6338 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6339 (gst_bin_remove_func):
6340 Unlinking pads while holding the bin LOCK is not a good
6343 * gst/gstpad.c: (gst_pad_class_init),
6344 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6345 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6346 No prob setting template after creating the pad.
6348 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6350 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6351 (gst_bus_peek), (gst_bus_source_dispatch),
6352 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6353 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6354 gst_bus_poll may be called from other threads. Handle
6355 this nicely by not making poll_data disappear off the
6356 stack once gst_bus_poll returns.
6357 gst_bus_peek now increments the refcount on the returned
6360 2005-07-29 Wim Taymans <wim@fluendo.com>
6362 * docs/design/part-gstghostpad.txt:
6363 Overview of current GhostPad datastructures and use
6364 cases for changing the target.
6366 2005-07-28 Wim Taymans <wim@fluendo.com>
6368 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6369 Added checks for hierarchy consistency whan adding linked
6372 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6373 Added check to test element scheduling without bin/pipeline.
6375 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6376 First add elements to bin, then link.
6378 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6379 (gst_bin_remove_func):
6380 Unlink pads from elements added/removed from bin to maintain
6381 hierarchy consistency.
6383 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6385 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6386 (gst_base_transform_handle_buffer):
6387 * gst/base/gstbasetransform.h:
6388 Remove broken delay_configure (fixes renegotiation of software
6389 scaling pipelines); remove some leftover printf()s.
6391 2005-07-28 Wim Taymans <wim@fluendo.com>
6393 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6394 Added some more tests for wrong hierarchy
6396 * docs/design/part-overview.txt:
6399 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6402 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6403 (gst_element_dispose):
6406 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6407 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6408 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6409 (gst_pad_set_caps), (gst_pad_send_event):
6410 Check for correct hierarchy when linking pads. Moving to
6411 strict requirement for ghostpads when linking elements in
6415 Clean ups. Added WRONG_HIERARCHY return value.
6417 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6419 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6420 Better debug if no transform is possible.
6422 2005-07-27 Wim Taymans <wim@fluendo.com>
6424 * docs/random/wtay/network-transp:
6427 2005-07-27 Wim Taymans <wim@fluendo.com>
6429 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6430 (gst_dp_event_from_packet):
6431 Fix serialization of seek events.
6433 2005-07-27 Wim Taymans <wim@fluendo.com>
6435 * check/gst-libs/gdp.c: (GST_START_TEST):
6436 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6437 Fix compilation and fix event serialization.
6439 2005-07-27 Wim Taymans <wim@fluendo.com>
6442 * docs/design/part-TODO.txt:
6443 * docs/design/part-events.txt:
6446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6447 (gst_base_sink_event), (gst_base_sink_do_sync),
6448 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6449 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6450 (gst_base_src_do_seek), (gst_base_src_event_handler),
6451 (gst_base_src_loop):
6452 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6453 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6454 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6455 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6456 (gst_base_transform_set_passthrough),
6457 (gst_base_transform_is_passthrough):
6458 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6459 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6465 * gst/gstelement.c: (gst_element_seek):
6467 Update gst_element_seek.
6469 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6470 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6471 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6472 (gst_event_new_eos), (gst_event_new_newsegment),
6473 (gst_event_parse_newsegment), (gst_event_new_tag),
6474 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6475 (gst_event_parse_qos), (gst_event_new_seek),
6476 (gst_event_parse_seek), (gst_event_new_navigation):
6478 Make GstEvent use GstStructure. Add parsing code, make sure the
6479 API is sufficiently generic.
6480 Mark possible directions of events and serialization.
6482 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6483 (_gst_message_copy), (gst_message_new_segment_start),
6484 (gst_message_new_segment_done), (gst_message_new_custom),
6485 (gst_message_parse_segment_start),
6486 (gst_message_parse_segment_done):
6489 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6490 (gst_pad_set_caps), (gst_pad_send_event):
6491 Update for new events.
6492 Catch events sent in wrong directions.
6494 * gst/gstqueue.c: (gst_queue_link_src),
6495 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6496 (gst_queue_handle_src_query):
6501 Remove event code from this file.
6503 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6504 (gst_dp_event_from_packet):
6507 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6509 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6510 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6511 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6512 Make debugging actually useful.
6514 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6516 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6517 (gst_pad_fixate_caps):
6518 Implement default fixation once again, so that gst_pad_fixate()
6519 actually does anything at all. This probably needs to be some
6520 sort of a last resort, and use profile-based fixation first, but
6521 since that doesn't exist yet, this is the best we have. Fixes
6522 visualization in Totem.
6524 2005-07-22 Wim Taymans <wim@fluendo.com>
6526 * docs/design/part-events.txt:
6529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6530 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6531 (gst_base_sink_activate_pull):
6534 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6535 (gst_fake_src_create):
6536 Fix handoff marshall.
6538 * gst/elements/gstidentity.c: (gst_identity_class_init),
6539 (gst_identity_transform_ip):
6540 We're a real inplace element.
6542 * gst/gstbus.c: (gst_bus_post):
6543 Added some comments.
6545 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6546 * tests/muxing/case1.c: (main):
6547 * tests/sched/dynamic-pipeline.c: (main):
6548 * tests/sched/interrupt1.c: (main):
6549 * tests/sched/interrupt2.c: (main):
6550 * tests/sched/interrupt3.c: (main):
6551 * tests/sched/runxml.c: (main):
6552 * tests/sched/sched-stress.c: (main):
6553 * tests/seeking/seeking1.c: (event_received), (main):
6554 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6556 * tests/threadstate/threadstate3.c: (main):
6557 * tests/threadstate/threadstate4.c: (main):
6558 * tests/threadstate/threadstate5.c: (main):
6561 2005-07-21 Wim Taymans <wim@fluendo.com>
6563 * docs/design/part-seeking.txt:
6564 Some small additions.
6566 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6567 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6568 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6569 * gst/base/gstbasesink.h:
6570 discont values are gint64, handle the math correctly.
6572 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6573 Make the basesrc report error if the source pad is not linked.
6575 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6576 (gst_queue_loop), (gst_queue_handle_src_query),
6577 (gst_queue_src_activate_push):
6578 Make queue collect data even if the srcpad is not linked.
6579 Start pushing out data as soon as it is linked.
6581 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6583 Added gst_flow_get_name() to ease error reporting.
6585 2005-07-20 Wim Taymans <wim@fluendo.com>
6587 * gst/gstmessage.c: (gst_message_new_segment_start),
6588 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6589 (gst_message_parse_segment_done):
6591 Added a bunch of messages for advanced seeking.
6593 * gst/parse/grammar.y:
6594 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6595 (gst_dpman_state_changed):
6596 Fix some new-pad -> pad-added signals
6598 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6600 * docs/manual/appendix-porting.xml:
6601 * docs/pwg/appendix-porting.xml:
6602 Document new-pad/state-change signal renames and the FixedList
6605 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6607 * docs/manual/advanced-autoplugging.xml:
6608 * docs/manual/basics-helloworld.xml:
6609 * docs/manual/basics-pads.xml:
6610 * docs/random/ds/0.9-suggested-changes:
6611 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6616 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6617 (gst_structure_parse_array), (gst_structure_parse_value):
6618 * gst/gstvalue.c: (gst_type_is_fixed),
6619 (gst_value_list_prepend_value), (gst_value_list_append_value),
6620 (gst_value_list_get_size), (gst_value_list_get_value),
6621 (gst_value_transform_array_string), (gst_value_serialize_array),
6622 (gst_value_deserialize_array), (gst_value_intersect_array),
6623 (gst_value_is_fixed), (_gst_value_initialize):
6625 GstElement::new-pad -> pad-added, GstElement::state-change ->
6626 state-changed, GstValueFixedList -> GstValueArray, add format and
6627 flags as their own arguments in gst_element_seek() (should improve
6628 "bindeability"), remove function generators since they don't work
6629 under a whole bunch of compilers (they were deprecated already
6632 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6634 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6635 (_gst_debug_register_funcptr):
6637 Fix illegal cast on some platforms (#309253).
6639 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6641 * gst/gstmessage.c: (gst_message_new_custom):
6643 Add _new_custom, make _new_application a macro to _new_custom.
6645 2005-07-20 Wim Taymans <wim@fluendo.com>
6647 * gst/base/gstbasesrc.c: (gst_base_src_init),
6648 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6649 * gst/base/gstbasesrc.h:
6650 Add a gboolean to decide when to push out a discont.
6652 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6653 (gst_queue_loop), (gst_queue_handle_src_query),
6654 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6655 (gst_queue_set_property), (gst_queue_get_property):
6658 * tests/threadstate/threadstate1.c: (main):
6659 Make a thread test compile and run... very silly..
6662 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6664 * docs/manual/appendix-porting.xml:
6665 Mention removal of libgstgconf-0.9.la and existence of gconf
6668 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6670 * docs/pwg/advanced-clock.xml:
6671 * docs/pwg/appendix-porting.xml:
6672 * docs/pwg/intro-preface.xml:
6673 * docs/pwg/other-base.xml:
6674 * docs/pwg/other-manager.xml:
6675 * docs/pwg/other-nton.xml:
6676 * docs/pwg/other-ntoone.xml:
6677 * docs/pwg/other-oneton.xml:
6679 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6680 demuxer), remove n-to-n (was never written), fix some code examples
6681 and links and update the porting section to include all this.
6683 2005-07-19 Wim Taymans <wim@fluendo.com>
6685 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6686 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6687 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6688 (gst_queue_src_activate_push), (gst_queue_change_state),
6689 (gst_queue_get_property):
6691 Propagate GstFlowReturn more intelligently upstream and output
6692 an ERROR/EOS when streaming stopped due to fatal error.
6694 2005-07-19 Wim Taymans <wim@fluendo.com>
6696 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6697 Don't block forever for the state change to complete, the
6698 pipeline already did with a sensible timeout.
6700 2005-07-19 Wim Taymans <wim@fluendo.com>
6702 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6703 Make sure we never call the create function is we
6706 2005-07-19 Andy Wingo <wingo@pobox.com>
6708 * gst/parse/parse.l: Attempt to solve bug #172815.
6710 2005-07-19 Wim Taymans <wim@fluendo.com>
6712 * docs/design/part-clocks.txt:
6713 * docs/design/part-events.txt:
6714 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6716 Only update the seeking values when we are not
6719 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6721 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6722 Oops, ignore the result of gst_pad_push_event here.
6724 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6726 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6727 (gst_base_src_activate_push):
6728 Send discont event from the loop function, as pads
6729 aren't activated yet in the activate_push handler.
6731 * gst/gstbin.c: (bin_bus_handler):
6732 Don't leak element name.
6734 2005-07-18 Andy Wingo <wingo@pobox.com>
6736 * configure.ac: Use AS_LIBTOOL_TAGS.
6738 2005-07-18 Wim Taymans <wim@fluendo.com>
6740 * docs/gst/gstreamer.types:
6741 Remove deleted types.
6743 2005-07-18 Wim Taymans <wim@fluendo.com>
6745 * check/elements/gstfakesrc.c: (GST_START_TEST):
6748 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6749 (init_popt_callback):
6751 * gst/gst_private.h:
6752 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6753 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6756 * gst/gstconfig.h.in:
6757 * gst/gstelement.c: (gst_element_class_init),
6758 (gst_element_set_base_time), (gst_element_get_base_time),
6759 (iterator_fold_with_resync), (gst_element_change_state),
6760 (gst_element_dispose), (gst_element_get_bus):
6762 * gst/gstelementfactory.h:
6763 * gst/gsterror.c: (_gst_core_errors_init):
6766 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6768 * gst/gstinfo.c: (_gst_debug_init):
6769 * gst/gstmessage.c: (_gst_message_copy):
6771 * gst/gstminiobject.h:
6774 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6775 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6778 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6779 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6780 (gst_pipeline_get_last_stream_time):
6781 * gst/gstpipeline.h:
6782 * gst/gstpluginfeature.h:
6784 * gst/gstscheduler.c:
6785 * gst/gstscheduler.h:
6786 * gst/gststructure.h:
6787 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6788 (gst_task_finalize), (gst_task_func), (gst_task_create),
6789 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6790 (gst_task_stop), (gst_task_pause):
6792 * gst/gsttypefind.h:
6794 * gst/registries/gstlibxmlregistry.c: (load_feature),
6795 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6796 * gst/registries/gstxmlregistry.c:
6797 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6798 * gst/schedulers/threadscheduler.c:
6799 * libs/gst/control/dparammanager.h:
6800 * tools/gst-inspect.c: (print_element_list),
6801 (print_plugin_features), (print_element_features):
6802 * tools/gst-xmlinspect.c: (print_element_list),
6803 (print_plugin_info), (main):
6804 Removed plugable schedulers.
6805 Removed Scheduler/Manager from elements.
6806 Removed gsttypes.h, rearranged includes.
6807 Removed dependency pad<->element, element<>pipeline, and
6808 various others, fix includes.
6809 implement gst_pad_get_parent() with gst_object_get_parent()
6810 Make GstTask sefcontained.
6811 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6813 Fix endless loop in iterator_fold_with_resync.
6816 2005-07-18 Wim Taymans <wim@fluendo.com>
6822 2005-07-18 Wim Taymans <wim@fluendo.com>
6827 2005-07-18 Wim Taymans <wim@fluendo.com>
6833 2005-07-18 Wim Taymans <wim@fluendo.com>
6835 * docs/design/part-dynamic.txt:
6836 * docs/design/part-events.txt:
6837 * docs/design/part-seeking.txt:
6838 Some more docs in the works.
6840 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6841 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6842 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6843 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6844 (gst_base_transform_handle_buffer),
6845 (gst_base_transform_sink_activate_push),
6846 (gst_base_transform_src_activate_pull),
6847 (gst_base_transform_set_passthrough),
6848 (gst_base_transform_is_passthrough):
6851 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6854 * gst/gstevent.c: (gst_event_finalize):
6857 * gst/gstutils.c: (gst_element_unlink),
6858 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6859 (gst_pad_proxy_setcaps):
6861 Add _get_parent_element() to get a pads parent as an element.
6863 2005-07-18 Wim Taymans <wim@fluendo.com>
6865 * check/gst/gstbin.c: (GST_START_TEST):
6868 2005-07-18 Wim Taymans <wim@fluendo.com>
6870 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6871 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6872 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6873 (gst_base_sink_event), (gst_base_sink_do_sync),
6874 (gst_base_sink_chain), (gst_base_sink_loop),
6875 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6876 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6878 Fix logic for returning ASYNC when not prerolled.
6880 2005-07-18 Wim Taymans <wim@fluendo.com>
6882 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6883 Fix nasty refcount bug.
6885 2005-07-16 Philippe Khalaf <burger@speedy.org>
6887 * gst/elements/gstfdsrc.c:
6888 * gst/elements/gstfdsrc.h:
6889 * gst/elements/gstelements.c:
6890 * gst/elements/Makefile.am:
6891 Ported fdsrc to 0.9.
6893 2005-07-16 Wim Taymans <wim@fluendo.com>
6895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6896 (gst_base_sink_do_sync):
6899 2005-07-16 Wim Taymans <wim@fluendo.com>
6901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6902 (gst_base_sink_event), (gst_base_sink_get_times),
6903 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6904 * gst/base/gstbasesink.h:
6905 Store and use discont values when syncing buffers as described
6908 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6909 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6910 (gst_base_src_activate_push):
6911 Push discont event when starting.
6913 * gst/elements/gstidentity.c: (gst_identity_transform):
6916 * gst/gstbin.c: (gst_bin_change_state):
6917 Small cleanups in base_time distribution.
6919 * gst/gstelement.c: (gst_element_set_base_time),
6920 (gst_element_get_base_time), (gst_element_change_state):
6922 Added methods for the base_time of the element.
6925 * gst/gstpipeline.c: (gst_pipeline_send_event),
6926 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6927 (gst_pipeline_get_last_stream_time):
6928 * gst/gstpipeline.h:
6930 Handle seeking as described in design doc, remove stream_time
6932 Cleanups clock and stream_time selection code. Added accessors
6933 for the stream_time.
6936 2005-07-16 Andy Wingo <wingo@pobox.com>
6938 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6941 2005-07-16 Wim Taymans <wim@fluendo.com>
6943 * check/gst/gstbin.c: (GST_START_TEST):
6944 Make elements silent as the deep_notify refs the
6945 parent, which might make the test fail.
6947 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6948 Don't hold the lock for too long.
6950 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6952 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6953 Don't unref the caps we passed to gst_caps_make_writable() after
6954 passing them. gst_caps_make_writable() will do that for us.
6956 2005-07-15 Andy Wingo <wingo@pobox.com>
6958 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6961 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6962 own marshalling function for the handoff signal. Properly type the
6963 buffer as a buffer. Fixes some warnings. Should do a more general
6965 (gst_identity_class_init): Plug into the right marshaller.
6967 2005-07-15 Wim Taymans <wim@fluendo.com>
6969 * docs/design/part-TODO.txt:
6970 * docs/design/part-clocks.txt:
6971 * docs/design/part-element-sink.txt:
6972 * docs/design/part-events.txt:
6973 * docs/design/part-gstpipeline.txt:
6974 Updated docs, mostly DISCONT related.
6976 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6978 * docs/pwg/building-pads.xml:
6979 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6981 2005-07-15 Andy Wingo <wingo@pobox.com>
6983 * tools/gst-typefind.c: Update, add copyright block.
6985 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6986 Normalize and truncate caps before fixation.
6989 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6990 discards all but the first structure from its argument.
6992 2005-07-15 Wim Taymans <wim@fluendo.com>
6994 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6995 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6996 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6997 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6998 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6999 (gst_base_transform_chain), (gst_base_transform_change_state),
7000 (gst_base_transform_set_passthrough),
7001 (gst_base_transform_is_passthrough):
7002 * gst/base/gstbasetransform.h:
7003 Make passthrough work using the bufferpools.
7004 Changed API a bit, subclasses have to write into a buffer
7005 provided by the base class.
7006 More debug info in nego functions.
7008 * gst/elements/gstidentity.c: (gst_identity_init),
7009 (gst_identity_transform):
7010 Port to new base class.
7012 2005-07-15 Wim Taymans <wim@fluendo.com>
7014 * gst/gstmessage.c: (gst_message_new_state_changed):
7015 * tools/gst-launch.c: (event_loop), (main):
7016 Totally dump messages in -launch with the -m option.
7017 Fix message name for State messages,
7019 2005-07-14 Wim Taymans <wim@fluendo.com>
7021 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7022 Post error messages on errors.
7024 2005-07-14 Wim Taymans <wim@fluendo.com>
7026 * gst/gstcaps.c: (gst_caps_do_simplify):
7030 Define error for stream stopped.
7032 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7033 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7034 Do proper return values.
7036 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7037 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7038 (gst_pad_get_range):
7039 Better return values.
7042 Reorganise return values, add macro to check for fatal errors.
7044 * gst/gstqueue.c: (gst_queue_chain):
7045 Return proper GstFlowReturn values,
7047 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7049 * docs/gst/gstreamer-sections.txt:
7050 * docs/gst/gstreamer.types:
7051 * docs/gst/tmpl/gst.sgml:
7052 * docs/gst/tmpl/gstbasesink.sgml:
7053 * docs/gst/tmpl/gstbasesrc.sgml:
7054 * docs/gst/tmpl/gstbasetransform.sgml:
7055 * docs/gst/tmpl/gstbin.sgml:
7056 * docs/gst/tmpl/gstbuffer.sgml:
7057 * docs/gst/tmpl/gstcaps.sgml:
7058 * docs/gst/tmpl/gstclock.sgml:
7059 * docs/gst/tmpl/gstcompat.sgml:
7060 * docs/gst/tmpl/gstconfig.sgml:
7061 * docs/gst/tmpl/gstelement.sgml:
7062 * docs/gst/tmpl/gstelementdetails.sgml:
7063 * docs/gst/tmpl/gstelementfactory.sgml:
7064 * docs/gst/tmpl/gstenumtypes.sgml:
7065 * docs/gst/tmpl/gsterror.sgml:
7066 * docs/gst/tmpl/gstevent.sgml:
7067 * docs/gst/tmpl/gstfakesink.sgml:
7068 * docs/gst/tmpl/gstfakesrc.sgml:
7069 * docs/gst/tmpl/gstfilesink.sgml:
7070 * docs/gst/tmpl/gstfilesrc.sgml:
7071 * docs/gst/tmpl/gstfilter.sgml:
7072 * docs/gst/tmpl/gstformat.sgml:
7073 * docs/gst/tmpl/gstghostpad.sgml:
7074 * docs/gst/tmpl/gstimplementsinterface.sgml:
7075 * docs/gst/tmpl/gstindex.sgml:
7076 * docs/gst/tmpl/gstindexfactory.sgml:
7077 * docs/gst/tmpl/gstinfo.sgml:
7078 * docs/gst/tmpl/gstiterator.sgml:
7079 * docs/gst/tmpl/gstmacros.sgml:
7080 * docs/gst/tmpl/gstmemchunk.sgml:
7081 * docs/gst/tmpl/gstminiobject.sgml:
7082 * docs/gst/tmpl/gstobject.sgml:
7083 * docs/gst/tmpl/gstpad.sgml:
7084 * docs/gst/tmpl/gstpadtemplate.sgml:
7085 * docs/gst/tmpl/gstparse.sgml:
7086 * docs/gst/tmpl/gstpipeline.sgml:
7087 * docs/gst/tmpl/gstplugin.sgml:
7088 * docs/gst/tmpl/gstpluginfeature.sgml:
7089 * docs/gst/tmpl/gstquery.sgml:
7090 * docs/gst/tmpl/gstqueue.sgml:
7091 * docs/gst/tmpl/gstregistry.sgml:
7092 * docs/gst/tmpl/gstregistrypool.sgml:
7093 * docs/gst/tmpl/gstscheduler.sgml:
7094 * docs/gst/tmpl/gstschedulerfactory.sgml:
7095 * docs/gst/tmpl/gststructure.sgml:
7096 * docs/gst/tmpl/gstsystemclock.sgml:
7097 * docs/gst/tmpl/gsttaglist.sgml:
7098 * docs/gst/tmpl/gsttagsetter.sgml:
7099 * docs/gst/tmpl/gsttrace.sgml:
7100 * docs/gst/tmpl/gsttrashstack.sgml:
7101 * docs/gst/tmpl/gsttypefind.sgml:
7102 * docs/gst/tmpl/gsttypefindfactory.sgml:
7103 * docs/gst/tmpl/gsttypes.sgml:
7104 * docs/gst/tmpl/gsturihandler.sgml:
7105 * docs/gst/tmpl/gsturitype.sgml:
7106 * docs/gst/tmpl/gstutils.sgml:
7107 * docs/gst/tmpl/gstvalue.sgml:
7108 * docs/gst/tmpl/gstversion.sgml:
7109 * docs/gst/tmpl/gstxml.sgml:
7110 * docs/libs/tmpl/gstcontrol.sgml:
7111 * docs/libs/tmpl/gstdataprotocol.sgml:
7112 * docs/libs/tmpl/gstdparam.sgml:
7113 * docs/libs/tmpl/gstdplinint.sgml:
7114 * docs/libs/tmpl/gstdpman.sgml:
7115 * docs/libs/tmpl/gstdpsmooth.sgml:
7116 * docs/libs/tmpl/gstgetbits.sgml:
7117 * docs/libs/tmpl/gstunitconvert.sgml:
7118 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7119 (gst_push_src_base_init), (gst_push_src_class_init),
7120 (gst_push_src_init), (gst_push_src_create):
7121 * gst/base/gstpushsrc.h:
7122 * gst/elements/gstelements.c:
7123 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7124 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7125 (gst_fake_sink_init), (gst_fake_sink_set_property),
7126 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7127 (gst_fake_sink_event), (gst_fake_sink_preroll),
7128 (gst_fake_sink_render), (gst_fake_sink_change_state):
7129 * gst/elements/gstfakesink.h:
7130 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7131 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7132 (gst_fake_src_base_init), (gst_fake_src_class_init),
7133 (gst_fake_src_init), (gst_fake_src_event_handler),
7134 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7135 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7136 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7137 (gst_fake_src_create_buffer), (gst_fake_src_create),
7138 (gst_fake_src_start), (gst_fake_src_stop):
7139 * gst/elements/gstfakesrc.h:
7140 * gst/elements/gstfilesink.c: (_do_init),
7141 (gst_file_sink_base_init), (gst_file_sink_class_init),
7142 (gst_file_sink_init), (gst_file_sink_dispose),
7143 (gst_file_sink_set_location), (gst_file_sink_set_property),
7144 (gst_file_sink_get_property), (gst_file_sink_open_file),
7145 (gst_file_sink_close_file), (gst_file_sink_query),
7146 (gst_file_sink_event), (gst_file_sink_render),
7147 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7148 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7149 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7150 * gst/elements/gstfilesink.h:
7151 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7152 (gst_file_src_class_init), (gst_file_src_init),
7153 (gst_file_src_finalize), (gst_file_src_set_location),
7154 (gst_file_src_set_property), (gst_file_src_get_property),
7155 (gst_file_src_map_region), (gst_file_src_map_small_region),
7156 (gst_file_src_create_mmap), (gst_file_src_create_read),
7157 (gst_file_src_create), (gst_file_src_is_seekable),
7158 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7159 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7160 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7161 (gst_file_src_uri_handler_init):
7162 * gst/elements/gstfilesrc.h:
7163 more autistic cleanliness in functions/names/defines
7165 2005-07-13 Andy Wingo <wingo@pobox.com>
7167 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7168 source couldn't negotiate.
7170 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7174 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7175 function. I am channeling Hades. Put your boots on suckers!!!
7177 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7179 * testsuite/caps/Makefile.am:
7180 * testsuite/caps/value_compare.c:
7181 * testsuite/caps/value_intersect.c:
7182 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7183 move two testsuite apps over to the check dir
7185 2005-07-12 Wim Taymans <wim@fluendo.com>
7187 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7188 Added more debug info in the negotiate process.
7191 Prepare for segment playback.
7193 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7199 * tools/gst-launch.c: (main):
7200 NULL pipeline on errors.
7202 2005-07-12 Andy Wingo <wingo@pobox.com>
7204 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7205 not it comes from a malloc region. Make sure our copy gets freed.
7207 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7209 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7210 * check/gst/gstmessage.c: (GST_START_TEST):
7211 * check/gst/gststructure.c: (GST_START_TEST),
7212 (gst_structure_suite), (main):
7214 * gst/gstelement.c: (gst_element_message_full):
7215 clean up GError and debug string now that they get copied
7216 * gst/gstmessage.c: (gst_message_new_error),
7217 (gst_message_new_warning), (gst_message_parse_error),
7218 (gst_message_parse_warning):
7219 use GST_TYPE_G_ERROR for structure_new, and take copies of
7220 arguments, so that we don't mess up refcounting
7222 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7224 * check/Makefile.am:
7225 add per-test valgrind targets
7226 * check/gst-libs/gdp.c: (GST_START_TEST),
7227 (gst_data_protocol_suite), (main):
7230 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7232 * check/Makefile.am:
7233 instate more valgrindable tests
7234 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7235 (GST_START_TEST), (fakesrc_suite):
7236 * check/gst/gstpad.c: (GST_START_TEST):
7237 * check/gst/gststructure.c: (GST_START_TEST):
7239 * docs/gst/tmpl/gstminiobject.sgml:
7240 * gst/gstpad.c: (gst_pad_finalize):
7241 fix the static mutex leak
7243 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7245 * check/Makefile.am:
7246 add two more tests for valgrinding
7247 * check/gst/gstvalue.c: (GST_START_TEST):
7248 test refcount of deserialized buffer, found a leak
7249 * docs/gst/gstreamer-docs.sgml:
7250 * docs/gst/gstreamer-sections.txt:
7251 * docs/gst/gstreamer.types:
7252 * docs/gst/tmpl/gstminiobject.sgml:
7253 add miniobject to docs
7254 * gst/gstminiobject.c:
7256 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7257 (gst_string_unwrap):
7258 fix a hard-to-find invalid write for one of the tests
7259 fix a leak for deserialized buffers
7261 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7263 * docs/pwg/advanced-events.xml:
7264 * docs/pwg/advanced-request.xml:
7265 * docs/pwg/advanced-scheduling.xml:
7266 * docs/pwg/appendix-porting.xml:
7267 * docs/pwg/building-boiler.xml:
7268 * docs/pwg/intro-preface.xml:
7269 * docs/pwg/other-ntoone.xml:
7270 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7271 of example code and explanation for pad activation, loop() and
7272 getrange() functions and a bit more. Remove old comments pointing
7274 * examples/pwg/Makefile.am:
7275 Add loop/getrange examples.
7277 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7280 check for valgrind binary + some fixes
7282 valgrind suppressions for the tests
7283 * check/Makefile.am:
7284 add a valgrind: target that valgrinds the unit tests
7285 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7286 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7287 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7288 * check/gst/gstghostpad.c:
7290 * check/gst/gstdata.c:
7292 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7293 (thread_unref), (gst_mini_object_suite), (main):
7295 * gst/gst.c: (gst_deinit):
7297 add a method to clean up.
7298 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7299 (gst_system_clock_obtain):
7300 allow for disposing the system clock.
7301 * tools/gst-launch.c: (main):
7304 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7306 * docs/gst/tmpl/gstbasesrc.sgml:
7307 * docs/gst/tmpl/gstfakesrc.sgml:
7308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7309 (gst_base_src_init), (gst_base_src_set_property),
7310 (gst_base_src_get_property), (gst_base_src_get_range),
7311 (gst_base_src_start):
7312 * gst/base/gstbasesrc.h:
7313 add num-buffers property
7314 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7315 (gst_fakesrc_init), (gst_fakesrc_set_property),
7316 (gst_fakesrc_get_property), (gst_fakesrc_create),
7317 (gst_fakesrc_start):
7318 remove num-buffers property
7320 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7322 * docs/gst/gstreamer-sections.txt:
7323 * docs/gst/tmpl/gstbasesink.sgml:
7324 * docs/gst/tmpl/gstbasesrc.sgml:
7325 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7326 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7327 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7328 (gst_base_sink_set_property), (gst_base_sink_get_property),
7329 (gst_base_sink_handle_object), (gst_base_sink_event),
7330 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7331 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7332 (gst_base_sink_loop), (gst_base_sink_deactivate),
7333 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7334 (gst_base_sink_change_state):
7335 * gst/base/gstbasesink.h:
7336 * gst/base/gstbasesrc.h:
7337 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7338 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7339 (gst_filesink_init):
7340 more macro splitting
7342 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7344 * gst/gstelement.c: (gst_element_get_bus):
7346 * tools/gst-launch.c: (check_intr), (event_loop):
7349 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7351 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7354 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7356 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7357 (gst_base_src_finalize):
7358 add finalize method and clean up properly
7359 * gst/gstpipeline.c: (gst_pipeline_dispose):
7362 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7364 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7366 add more things to check
7367 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7371 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7373 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7374 (GST_START_TEST), (fakesrc_suite):
7375 * check/gst-libs/gdp.c: (GST_START_TEST):
7376 * check/gst/gst.c: (GST_START_TEST):
7377 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7378 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7379 * check/gst/gstbus.c: (GST_START_TEST):
7380 * check/gst/gstcaps.c: (GST_START_TEST):
7381 * check/gst/gstdata.c: (GST_START_TEST):
7382 * check/gst/gstelement.c: (GST_START_TEST):
7383 * check/gst/gstghostpad.c: (GST_START_TEST):
7384 * check/gst/gstiterator.c: (GST_START_TEST):
7385 * check/gst/gstmessage.c: (GST_START_TEST):
7386 * check/gst/gstobject.c: (GST_START_TEST):
7387 * check/gst/gstpad.c: (GST_START_TEST):
7388 * check/gst/gststructure.c: (GST_START_TEST):
7389 * check/gst/gstsystemclock.c: (GST_START_TEST),
7390 (gst_systemclock_suite):
7391 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7392 * check/gst/gstvalue.c: (GST_START_TEST):
7393 * check/pipelines/cleanup.c: (GST_START_TEST):
7394 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7395 * check/states/sinks.c: (GST_START_TEST):
7396 * check/gstcheck.c: (gst_check_init):
7398 add debugging category
7399 use GST_START_TEST now, so we add a debug line
7401 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7403 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7404 add test for state change message on a bin
7405 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7407 * gst/gstbin.c: (gst_bin_init):
7408 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7409 * gst/gstelement.c: (gst_element_post_message),
7410 (gst_element_set_state):
7411 * gst/gstelementfactory.c: (gst_element_factory_create):
7412 * gst/gstmessage.c: (gst_message_new):
7413 * gst/gstscheduler.c:
7414 various debugging additions and cleanups
7416 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7418 * check/Makefile.am:
7419 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7421 adding tests for elements
7422 * gst/gstelement.c: (gst_element_dispose):
7424 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7426 * gst/registries/gstlibxmlregistry.c: (load_feature):
7427 plug more leaks. A simple gst_init() now is leakfree, yay.
7429 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7431 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7432 (gst_xml_registry_load):
7433 plug another memleak
7435 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7438 use GST_SET_ERROR_CFLAGS
7440 change to ERROR_CFLAGS
7442 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7445 make GST_ERROR_CFLAGS overridable and re-enable Werror
7447 add a note about error CFLAGS
7448 * docs/gst/tmpl/gstfakesrc.sgml:
7449 * gst/elements/gstfakesrc.c:
7450 comment out some unused code
7451 * gst/gst.c: (split_and_iterate):
7452 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7456 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7458 * common/Makefile.am:
7459 * common/gtk-doc.mak:
7460 * docs/gst/Makefile.am:
7461 factor out gtk-doc.mak
7463 2005-07-07 Wim Taymans <wim@fluendo.com>
7465 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7466 (gst_thread_scheduler_dispose):
7467 Unlock the STREAM_LOCK completely.
7469 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7471 * check/Makefile.am:
7472 * check/elements/.cvsignore:
7473 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7474 (START_TEST), (fakesrc_suite), (main):
7475 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7476 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7477 (gst_fakesrc_create), (gst_fakesrc_start):
7478 * gst/elements/gstfakesrc.h:
7479 adding a first element test
7481 2005-07-07 Andy Wingo <wingo@pobox.com>
7483 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7486 2005-07-07 Wim Taymans <wim@fluendo.com>
7492 2005-07-07 Wim Taymans <wim@fluendo.com>
7494 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7495 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7496 Allow subclasses to implement their own negotiation.
7498 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7500 * docs/design/part-gstbin.txt:
7501 * docs/design/part-gstpipeline.txt:
7502 Update design notes to reflect the movement of
7503 responsibility for bus handling from GstPipeline to
7506 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7509 Remove unnecessary queue2/3/4 examples.
7511 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7513 * examples/Makefile.am:
7514 * examples/helloworld/helloworld.c: (event_loop), (main):
7515 * examples/queue/queue.c: (event_loop), (main):
7516 * examples/queue2/queue2.c: (main):
7517 Update a couple of the examples to work again.
7519 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7520 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7521 Spelling corrections and extra debug.
7523 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7524 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7525 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7527 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7528 (gst_pipeline_change_state):
7529 * gst/gstpipeline.h:
7530 Move the bus handler for children to the GstBin, and create a
7531 separate bus for receiving messages from children to the one the
7532 bus sends 'upwards' on.
7534 2005-07-06 Wim Taymans <wim@fluendo.com>
7537 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7538 (gst_base_sink_handle_object), (gst_base_sink_loop),
7539 (gst_base_sink_change_state):
7540 * gst/base/gstbasesink.h:
7541 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7542 (gst_base_src_init), (gst_base_src_setcaps),
7543 (gst_base_src_getcaps), (gst_base_src_loop),
7544 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7545 (gst_base_src_start), (gst_base_src_change_state):
7546 * gst/base/gstbasesrc.h:
7547 Make basesrc negotiate.
7548 Handle the case where preroll fails in basesink.
7551 2005-07-06 Wim Taymans <wim@fluendo.com>
7553 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7554 Implement the fixate function.
7555 Clean up acceptcaps.
7557 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7559 * docs/pwg/building-filterfactory.xml:
7561 Remove never-written filter-factory chapter; I'll add the various
7562 base classes to part 4 ("other element types") later on.
7564 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7566 * docs/pwg/advanced-negotiation.xml:
7567 * docs/pwg/building-boiler.xml:
7568 * docs/pwg/building-pads.xml:
7570 * examples/pwg/Makefile.am:
7571 Add a chapter on caps negotiation, simplify the original code
7572 samples a bit w.r.t. caps negotiation, add link to the advanced
7573 section. Add a bunch of examples showing different use cases of
7574 different types of caps negotiation. Upstream renegotiation isn't
7575 fully documented yet since nobody knows how that works.
7577 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7579 * check/gst/gstpad.c:
7581 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7582 if pad has no parent, return NULL as list of internal links
7584 2005-07-05 Andy Wingo <wingo@pobox.com>
7586 * gst/elements/gstfilesrc.c:
7587 * gst/elements/gstfakesrc.c:
7588 * gst/base/gstpushsrc.c:
7589 * gst/base/gstbasesrc.h:
7590 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7592 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7595 better report generation target (lcov needs a patch)
7597 2005-07-05 Andy Wingo <wingo@pobox.com>
7599 * gst/elements, testsuite: Null if we got it...
7601 2005-07-05 Wim Taymans <wim@fluendo.com>
7604 * libs/gst/dataprotocol/Makefile.am:
7605 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7606 * libs/gst/dataprotocol/dataprotocol.h:
7607 * pkgconfig/Makefile.am:
7608 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7609 * pkgconfig/gstreamer-dataprotocol.pc.in:
7610 Ported dataprotol to 0.9.
7611 Added pkgconfig files.
7613 2005-07-05 Andy Wingo <wingo@pobox.com>
7615 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7616 Default to returning TRUE for the case when tranform_caps returns
7617 a fixed caps, like for identity or volume.
7619 * check/gst/gstbus.c (pound_bus_with_messages):
7620 * check/gst/gstmessage.c (START_TEST):
7621 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7624 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7625 logic weaks here: always run transform_caps, trying passthrough
7626 operation only if the original caps intersects with the transform.
7628 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7629 source and sink caps.
7631 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7632 Intersect the peer caps with the pad template before going into
7634 (gst_base_transform_transform_caps): More debugging.
7636 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7639 2005-07-04 Edward Hervey <edward@fluendo.com>
7643 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7646 2005-07-04 Andy Wingo <wingo@pobox.com>
7648 * check/gst/gstpad.c: Only set explicit caps on pads.
7650 2005-07-01 Andy Wingo <wingo@pobox.com>
7652 * tests/network-clock.scm: Commentary update.
7654 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7655 Didn't really make sense, not implementable with basetransform,
7657 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7658 attempt at implementing the sync property, needs an unlock method.
7660 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7661 New func, by default returns the same caps (the identity
7663 (gst_base_transform_getcaps): Uses transform_caps to return
7665 (gst_base_transform_setcaps): Complicated logic to get caps on
7666 both pads, even if they are different, and to call set_caps once
7667 for every time both pads get their caps set.
7668 (gst_base_transform_handle_buffer): Give the ref to the transform
7669 function. Allows in-place modification of the buffer.
7671 * gst/base/gstbasetransform.h (transform_caps): New class method.
7672 Given caps on one side, what can I do on the other.
7673 (set_caps): Take two caps, one for each side of the element.
7676 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7677 caps in place. This is safe because we can check the mutability of
7678 the caps, and a good idea because fixate functions are just called
7679 as a matter of last resort. (Not actually implemented.)
7680 (gst_pad_set_caps): If the caps we're setting is actually the same
7681 as the existing pad caps, just update the pointer without calling
7682 setcaps. Assert that caps is either NULL or fixed, as per the
7685 * gst/gstghostpad.c: Update for fixate changes.
7687 2005-07-02 Andy Wingo <wingo@pobox.com>
7690 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7691 two refcounts makes it immutable, which is enough. Doc more.
7693 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7695 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7696 Put the mini_object into GValue as a mini_object,
7697 not a gpointer, since that's how we declared
7700 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7702 * examples/pwg/Makefile.am:
7705 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7707 * docs/pwg/building-testapp.xml:
7709 * examples/pwg/Makefile.am:
7712 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7715 * examples/Makefile.am:
7716 * examples/pwg/Makefile.am:
7717 * examples/pwg/extract.pl:
7718 Enable building the PWG examples.
7719 * docs/pwg/advanced-interfaces.xml:
7720 Add URI interface stub.
7721 * docs/pwg/advanced-types.xml:
7722 * docs/pwg/other-autoplugger.xml:
7723 * docs/pwg/appendix-porting.xml:
7725 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7726 * docs/pwg/building-boiler.xml:
7727 * docs/pwg/building-chainfn.xml:
7728 * docs/pwg/building-pads.xml:
7729 * docs/pwg/building-props.xml:
7730 * docs/pwg/building-state.xml:
7731 * docs/pwg/building-testapp.xml:
7732 Update the building-*.xml parts for 0.9 changes. All examples
7733 code blocks compile in examples/pwg/*.
7735 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7737 * docs/manual/advanced-autoplugging.xml:
7738 * docs/manual/appendix-checklist.xml:
7739 * docs/manual/appendix-integration.xml:
7740 * docs/manual/highlevel-components.xml:
7741 Fix playbin/decodebin examples, update docs a bit, mention bus
7742 instead of signals in various places, mention kmplayer and
7743 kaffeine since they have a working GStreamer backend in the KDE
7746 2005-06-30 Wim Taymans <wim@fluendo.com>
7749 * docs/design/draft-ghostpads.txt:
7750 * docs/design/draft-push-pull.txt:
7751 * docs/design/draft-query.txt:
7752 * docs/design/part-TODO.txt:
7753 * docs/design/part-query.txt:
7754 Added CHANGES-0.9 doc, updated status of other docs.
7759 2005-06-30 Wim Taymans <wim@fluendo.com>
7761 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7762 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7763 (gst_base_sink_change_state):
7764 * gst/base/gstbasesink.h:
7765 Some tweaks, only EOS and a buffer complete a preroll.
7767 2005-06-30 Andy Wingo <wingo@pobox.com>
7769 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7770 activate_push down to the internal pad as well.
7772 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7774 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7776 * gst/gsttaginterface.c:
7777 Some documentation fixes (#307394 and #307397).
7779 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7781 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7783 * gst/gstvalue.c: (gst_value_intersect_list):
7784 Fix memleak (#309125).
7786 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7788 * docs/manual/advanced-dataaccess.xml:
7789 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7790 * docs/manual/basics-pads.xml:
7791 Add reference for filtered caps to above chapter.
7793 2005-06-30 Wim Taymans <wim@fluendo.com>
7795 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7796 (gst_bin_change_state):
7798 Lame attempt at making the state change function a bit
7801 2005-06-30 Wim Taymans <wim@fluendo.com>
7803 * docs/design/part-clocks.txt:
7804 * docs/design/part-element-sink.txt:
7805 * docs/design/part-events.txt:
7806 * docs/design/part-preroll.txt:
7807 * docs/design/part-states.txt:
7808 Some more tweeks and additions to the docs.
7810 2005-06-30 Wim Taymans <wim@fluendo.com>
7812 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7813 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7814 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7815 (gst_pad_check_pull_range), (gst_pad_get_range),
7816 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7818 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7819 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7820 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7821 (gst_pad_remove_buffer_probe):
7822 Removed atomic operations, use existing LOCK.
7823 Move exception handling out of main code path.
7825 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7827 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7828 (silly_return_true_function), (gst_pad_class_init),
7829 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7830 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7831 (gst_pad_send_event):
7832 Fix accumulator, add default value by using _emitv() instead
7833 of _emit() for signal emission.
7835 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7837 * docs/manual/advanced-dataaccess.xml:
7838 * examples/manual/Makefile.am:
7840 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7843 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7845 * gst/elements/gstfilesink.c: (gst_filesink_render):
7846 Simplify code so that we don't have to handle short
7847 writes and return GST_FLOW_ERROR if an error occured.
7849 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7851 * docs/gst/gstreamer-docs.sgml:
7854 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7856 * docs/gst/gstreamer-sections.txt:
7857 * docs/gst/tmpl/gstpad.sgml:
7858 * docs/gst/tmpl/gstprobe.sgml:
7860 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7861 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7862 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7863 (gst_pad_push_event), (gst_pad_send_event):
7865 * gst/gstutils.c: (gst_pad_add_data_probe),
7866 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7867 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7868 (gst_pad_remove_buffer_probe):
7870 Remove old probes, add new g-signal-based probes and some utility
7873 2005-06-29 Edward Hervey <edward@fluendo.com>
7875 * gst/gstelementfactory.c:
7878 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7879 the definition to the header file.
7881 2005-06-29 Andy Wingo <wingo@pobox.com>
7883 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7884 plugins from the source directory.
7886 2005-06-29 Wim Taymans <wim@fluendo.com>
7888 * docs/gst/tmpl/gstbuffer.sgml:
7889 * docs/gst/tmpl/gstclock.sgml:
7890 Some fixings for blantently wrong text.
7892 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7894 * check/Makefile.am:
7895 * gst/gst.c: (add_path_func), (init_pre):
7896 * gst/gstregistry.c: (gst_registry_add_path):
7897 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7898 only scan the GST_PLUGIN_PATH locations, and not add
7901 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7903 * docs/gst/gstreamer-sections.txt:
7904 * docs/gst/tmpl/gstbasesrc.sgml:
7911 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7913 * docs/manual/advanced-autoplugging.xml:
7914 Fix autoplugging example.
7916 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7918 * docs/manual/advanced-autoplugging.xml:
7919 * docs/manual/mime-world.fig:
7920 Try to get autoplugging working, fix type detection. Fix text
7921 in hello-world image.
7923 2005-06-29 Wim Taymans <wim@fluendo.com>
7925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7926 (gst_base_sink_change_state):
7930 map SIGNAL and BROADCAST to the right function.
7933 Remove redundant braces.
7935 * gst/gstpad.c: (gst_pad_set_caps):
7936 Don't call setcaps function when reseting caps to NULL.
7938 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7939 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7940 (gst_system_clock_id_unschedule):
7941 Use BROADCAST as this is what we do.
7943 2005-06-29 Wim Taymans <wim@fluendo.com>
7945 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7946 We are actually prerolling before commiting the state
7949 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7951 * docs/manual/advanced-clocks.xml:
7952 * docs/manual/advanced-interfaces.xml:
7953 * docs/manual/advanced-metadata.xml:
7954 * docs/manual/advanced-position.xml:
7955 * docs/manual/advanced-schedulers.xml:
7956 * docs/manual/advanced-threads.xml:
7957 * docs/manual/appendix-porting.xml:
7958 * docs/manual/basics-bins.xml:
7959 * docs/manual/basics-bus.xml:
7960 * docs/manual/basics-elements.xml:
7961 * docs/manual/basics-helloworld.xml:
7962 * docs/manual/basics-pads.xml:
7963 * docs/manual/highlevel-components.xml:
7964 * docs/manual/manual.xml:
7965 * docs/manual/thread.fig:
7966 Update (until threads/scheduling) Application Development Manual;
7967 remove GstThread, add GstBus, add simple porting checklist, add
7968 documentation for tag writing, clocks, make all examples until this
7969 part compile and run.
7970 * examples/manual/Makefile.am:
7971 Update from changes to Application Development Manual; add bus
7972 example, remove thread example.
7974 2005-06-28 Wim Taymans <wim@fluendo.com>
7976 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7977 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7978 (gst_bus_source_dispatch):
7979 Add debugging messages.
7980 Make internal methods static.
7981 Handle the case where the bus is flushed in the handler.
7983 * gst/gstelement.c: (gst_element_get_bus):
7984 Fix refcount in _get_bus();
7986 * gst/gstpipeline.c: (gst_pipeline_change_state),
7987 (gst_pipeline_get_clock_func):
7988 Clock refcounting fixes.
7989 Handle the case where preroll timed out more gracefully.
7991 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7992 Clean up the internal thread in dispose. This is needed
7993 for subclasses that actually get disposed.
7995 * gst/schedulers/threadscheduler.c:
7996 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7997 (gst_thread_scheduler_dispose):
7998 Free thread pool in dispose.
8000 2005-06-28 Andy Wingo <wingo@pobox.com>
8002 * tests/network-clock-utils.scm (debug, print-event): New utils.
8004 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8005 (*packet-loss*): Unified loss probability.
8006 (network-time): Report out-of-band events.
8008 * tests/plot-data: Add support for out-of-band events. Hack it
8009 into this script instead of passing it down the pipe; should fix
8012 2005-06-28 Wim Taymans <wim@fluendo.com>
8014 * docs/gst/gstreamer.types:
8015 * docs/gst/tmpl/gstbasesrc.sgml:
8016 * docs/gst/tmpl/gstpad.sgml:
8019 2005-06-28 Wim Taymans <wim@fluendo.com>
8021 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8022 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8023 (gst_proxy_pad_do_fixatecaps):
8024 Correctly proxy the check_pull_range function.
8026 2005-06-28 Andy Wingo <wingo@pobox.com>
8028 * tests/network-clock.scm: Removed need for slib.
8030 2005-06-28 Wim Taymans <wim@fluendo.com>
8032 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8033 (gst_basesink_preroll_queue_flush):
8034 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8035 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8036 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8037 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8038 (gst_proxy_pad_set_property):
8041 * gst/gstqueue.c: (gst_queue_init):
8042 The deprecated pad loop function is removed now.
8044 2005-06-28 Andy Wingo <wingo@pobox.com>
8046 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8047 New parameters, simulate network packet loss.
8049 * tests/network-clock-utils.scm: Initialize the RNG.
8051 2005-06-28 Wim Taymans <wim@fluendo.com>
8053 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8054 (gst_basesink_event), (gst_basesink_deactivate):
8055 Flushing the preroll queue always needs to unlock the waiters.
8057 2005-06-28 Edward Hervey <edward@fluendo.com>
8059 * gst/gstpipeline.c: (gst_pipeline_send_event):
8060 Wheen a seek was successful on a pipeline, set the stream_time to the
8061 seek offset in order to have a synchronized stream_time.
8063 2005-06-28 Wim Taymans <wim@fluendo.com>
8065 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8066 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8067 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8068 (gst_proxy_pad_do_fixatecaps):
8069 Call wrapper function instead of just calling the function
8070 pointers. This takes care of any locking and whatmore.
8072 2005-06-28 Wim Taymans <wim@fluendo.com>
8074 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8075 (gst_pad_pull_range):
8077 CONNECTED -> LINKED.
8079 2005-06-28 Andy Wingo <wingo@pobox.com>
8081 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8082 source-munging commit!!!
8084 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8085 (gst_object_sink): Take gpointer arguments, not GstObject --
8086 avoids casts. Like GLib.
8088 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8091 2005-06-27 Andy Wingo <wingo@pobox.com>
8093 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8096 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8097 returns a sorted copy of the trace list.
8098 (gst_alloc_trace_print_live): New API, only prints traces with
8099 live objects. Sort the list.
8100 (gst_alloc_trace_print_all): Sort the list.
8101 (gst_alloc_trace_print): Align columns.
8103 * gst/elements/gstttypefindelement.c:
8104 * gst/elements/gsttee.c:
8105 * gst/base/gstbasesrc.c:
8106 * gst/base/gstbasesink.c:
8107 * gst/base/gstbasetransform.c:
8108 * gst/gstqueue.c: Adapt for pad activation changes.
8110 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8112 (gst_pipeline_dispose): Drop ref on sched.
8114 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8115 (gst_pad_activate_default): Push mode by default.
8116 (pre_activate_switch, post_activate_switch): New stubs, things to
8117 do before and after switching activation modes on pads.
8118 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8119 the pad's activate function to choose which mode to activate.
8120 Shortcut on deactivation and call the right function directly.
8121 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8123 (gst_pad_activate_push): New API, same for push mode.
8124 (gst_pad_set_activate_function)
8125 (gst_pad_set_activatepull_function)
8126 (gst_pad_set_activatepush_function): Setters for new API.
8128 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8129 Trace all miniobjects.
8130 (gst_mini_object_make_writable): Unref the arg if we copy, like
8131 gst_caps_make_writable.
8133 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8135 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8136 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8137 Adapt for new pad API.
8139 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8142 * gst/gstelement.c (gst_element_iterate_src_pads)
8143 (gst_element_iterate_sink_pads): New API functions.
8145 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8146 should fold into gstiterator.c in some form.
8147 (gst_element_pads_activate): Simplified via use of fold and
8148 delegation of decisions to gstpad->activate.
8150 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8153 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8154 class once in init, like gstmessage. Didn't run into this issue
8155 but it seems correct. Don't initialize a trace, gstminiobject does
8158 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8159 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8161 (assert_live_count): New util function, uses alloc traces to check
8164 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8165 To be modified when unlink drops the internal pad.
8167 2005-06-27 Wim Taymans <wim@fluendo.com>
8169 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8170 (gst_bin_change_state):
8171 Cleanup the get_state() function a little, make sure it
8172 iterates the same set of elements.
8173 Added stub iterate_state_order().
8175 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8177 * docs/gst/gstreamer-docs.sgml:
8178 * docs/gst/gstreamer-sections.txt:
8179 * docs/gst/gstreamer.types:
8180 * docs/gst/tmpl/gstbasesink.sgml:
8181 * docs/gst/tmpl/gstbasesrc.sgml:
8182 * docs/gst/tmpl/gstbasetransform.sgml:
8183 * docs/gst/tmpl/gstelement.sgml:
8184 * docs/gst/tmpl/gstiterator.sgml:
8185 * gst/base/gstbasesrc.c:
8186 * gst/base/gstbasesrc.h:
8187 * gst/base/gstbasetransform.h:
8189 * gst/gstiterator.h:
8190 adding basetransform and iterator docs
8192 2005-06-27 Andy Wingo <wingo@pobox.com>
8194 * docs/design/part-activation.txt: Notes on how activation should
8195 work -- not quite implemented yet.
8197 2005-06-25 Wim Taymans <wim@fluendo.com>
8199 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8200 At least get the chain function correct, needs more
8203 2005-06-25 Wim Taymans <wim@fluendo.com>
8205 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8206 (gst_basesink_handle_object), (gst_basesink_event),
8207 (gst_basesink_do_sync), (gst_basesink_handle_event),
8208 (gst_basesink_change_state):
8210 Right, two problems here: ghostpads don't take locks and
8211 glib _rec_mutex_lock_full() with depth==0 still locks.
8212 Catch illegal locking and g_warn them.
8214 2005-06-25 Wim Taymans <wim@fluendo.com>
8216 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8217 Have to check for completion now...
8219 2005-06-25 Wim Taymans <wim@fluendo.com>
8221 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8222 (gst_basesink_handle_object), (gst_basesink_event),
8223 (gst_basesink_do_sync), (gst_basesink_handle_event),
8224 (gst_basesink_change_state):
8226 Unlock STREAM_LOCK whatever the recursion was.
8228 2005-06-25 Wim Taymans <wim@fluendo.com>
8230 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8231 (gst_basesink_preroll_queue_empty),
8232 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8233 (gst_basesink_event), (gst_basesink_do_sync),
8234 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8235 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8236 (gst_basesink_change_state):
8237 Reworked the base sink, handle event and buffer serialisation
8238 correctly and removed possible deadlock.
8239 Handle EOS correctly.
8241 2005-06-25 Wim Taymans <wim@fluendo.com>
8243 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8244 (gst_pipeline_change_state):
8245 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8246 Allow elements to post EOS in the state change function.
8247 Fix up -launch, make it exit the poll loop when the
8248 pipeline actually changed state.
8249 Fix up warning parsing in -launch.
8251 2005-06-25 Wim Taymans <wim@fluendo.com>
8253 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8254 (gst_tee_sink_activate):
8255 Core takes STREAM_LOCK for us now.
8257 2005-06-25 Wim Taymans <wim@fluendo.com>
8259 * gst/gstelement.c: (gst_element_get_state_func),
8260 (gst_element_set_state):
8262 * gst/gstmessage.c: (gst_message_parse_error),
8263 (gst_message_parse_warning):
8264 Keep track of current target state while performing a state
8265 change so that subclasses can do something interesting.
8266 Fix parsing of warning/error messages when GError is NULL.
8268 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8270 * docs/gst/Makefile.am:
8271 * docs/gst/gstreamer-docs.sgml:
8272 * docs/gst/gstreamer-sections.txt:
8273 * docs/gst/gstreamer.types:
8274 * docs/gst/tmpl/gstbasesink.sgml:
8275 * docs/gst/tmpl/gstbasesrc.sgml:
8276 * docs/gst/tmpl/gstbin.sgml:
8277 * docs/gst/tmpl/gstcompat.sgml:
8278 * docs/gst/tmpl/gstfakesink.sgml:
8279 * docs/gst/tmpl/gstfakesrc.sgml:
8280 * docs/gst/tmpl/gstfilesink.sgml:
8281 * docs/gst/tmpl/gstfilesrc.sgml:
8282 * docs/gst/tmpl/gstindex.sgml:
8283 * docs/manual/appendix-quotes.xml:
8284 * gst/base/gstbasesrc.h:
8285 * gst/elements/gstfakesrc.h:
8287 start pulling in base classes and elements in our docs
8289 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8291 * docs/gst/Makefile.am:
8292 * docs/libs/Makefile.am:
8293 fixed make distcheck with gtk-doc 1.3
8295 2005-06-23 Wim Taymans <wim@fluendo.com>
8297 * gst/gstelement.c: (gst_element_get_state_func),
8298 (gst_element_set_state), (gst_element_change_state):
8299 When the state did not change, also report NO_PREROLL
8302 2005-06-23 Wim Taymans <wim@fluendo.com>
8304 * gst/gstpad.c: (gst_pad_event_default):
8305 * gst/gstqueue.c: (gst_queue_loop):
8306 No unsafe task pausing please.
8308 2005-06-23 Wim Taymans <wim@fluendo.com>
8310 * gst/schedulers/threadscheduler.c:
8311 (gst_thread_scheduler_task_start),
8312 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8313 Ref the task before pushing it on the threadpool. This
8314 makes sure that we have a ref when the threadfunction is
8317 2005-06-23 Andy Wingo <wingo@pobox.com>
8319 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8320 offset is greater than the file's size.
8322 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8323 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8324 * gst/gstobject.c (gst_object_class_init): Make the class lock
8325 recursive. Wim won't let me drop deep_notify. Decodebin works
8328 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8329 internal pad, and hacks accordingly. Doesn't do it on the target
8330 pad because we change its caps. Probably catches all cases of
8332 (gst_ghost_pad_set_property): Connect to notify::caps as
8335 * tests/network-clock.scm (plot-simulation): Pipe data to the
8336 elite python skript.
8338 * tests/network-clock-utils.scm (define-parameter): New macro,
8339 defines a parameter that can be set via the command line.
8340 (set-parameter!, parse-parameter-arguments): Command line args
8343 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8346 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8348 * gst/elements/gsttypefindelement.c:
8349 (gst_type_find_element_handle_event):
8350 Don't restart typefinding on a discont.
8351 * gst/gstelement.c: (gst_element_set_state):
8353 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8354 Allow changing mode of an active pad.
8356 * gst/registries/gstlibxmlregistry.c: (load_feature):
8357 Don't cast a static pad template to a normal pad template.
8359 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8361 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8362 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8363 remove gst_strtoll completely, since it didn't actually do
8364 anything more than what g_ascii_strtoull already does.
8365 check for range errors when deserializing
8366 do a cast for the unsigned cases; but further fixing needs
8367 a decision on what the interpretation of "(int)" and
8368 deserialization should be for values that fall outside the
8369 type's boundaries (ie, refuse, or interpret as casting)
8371 2005-06-23 Wim Taymans <wim@fluendo.com>
8373 * check/Makefile.am:
8374 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8375 * docs/design/part-live-source.txt:
8376 * docs/design/part-states.txt:
8377 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8378 (gst_basesrc_set_live), (gst_basesrc_is_live),
8379 (gst_basesrc_get_range), (gst_basesrc_activate),
8380 (gst_basesrc_change_state):
8381 * gst/base/gstbasesrc.h:
8382 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8383 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8384 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8385 * gst/gstelement.c: (gst_element_get_state_func),
8386 (gst_element_set_state):
8389 * tools/gst-launch.c: (event_loop), (main):
8390 Added support for live sources and other elements that
8392 Updated design docs, added live-source design doc.
8393 Implemented live source functionality in basesrc
8394 Fix error condition in _bin_get_state()
8395 Implement live source handling in -launch.
8396 Added check for live sources.
8397 Fixed case in GstBin where elements were changed state
8401 2005-06-23 Andy Wingo <wingo@pobox.com>
8403 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8406 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8407 gst_caps_replace takes care of this for us.
8409 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8410 gst_pad_set_caps on the target, not just its setcaps() function.
8412 * tests/network-clock.scm:
8413 * tests/network-clock-utils.scm: A network clock simulator.
8414 Something of an algorithmic testbed before doing something in C.
8416 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8418 * check/Makefile.am:
8419 * check/gst/capslist.h:
8420 copy over from 0.8, and add two with bitmasks specified with
8422 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8423 add test to parse everything from capslist.h
8424 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8426 add test for structure deserialization
8427 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8428 add tests for deserialization of strings to int types
8429 * gst/gststructure.c: (gst_structure_nth_field_name):
8430 * gst/gststructure.h:
8431 add a way to get the name of a field referenced by index
8432 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8433 instead of checking if the resulting long long lies between
8434 min and max, we check if the long long would fit into
8435 a number of bytes for the final type.
8436 This fixes cases where a string represents 2^32 - 1, which
8437 when cast to int would be the (valid) -1, but is bigger than
8440 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8442 * gst/parse/grammar.y:
8443 add a log line for type deserialization
8445 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8447 * check/gst/gstvalue.c: (START_TEST):
8448 * gst/gstvalue.c: (gst_value_deserialize):
8449 return long long, not int, so gint64 deserialization actually
8450 works. Is there any flag that makes the compiler check this ?
8453 2005-06-22 Wim Taymans <wim@fluendo.com>
8456 Added convenience macros for setting buffers in GValue.
8458 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8460 * check/gst/.cvsignore:
8461 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8462 add a test deserializing int64, and comment part out because
8465 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8467 * check/Makefile.am:
8468 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8469 * testsuite/Makefile.am:
8470 * testsuite/caps/Makefile.am:
8471 * testsuite/caps/value_serialize.c:
8472 * testsuite/test_gst_init.c:
8473 move a value_serialize test over
8475 2005-06-20 Wim Taymans <wim@fluendo.com>
8480 * gst/gstvalue.c: (gst_value_compare_buffer),
8481 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8482 (gst_value_compare_flags), (gst_value_serialize_flags),
8483 (gst_value_deserialize_flags), (_gst_value_initialize):
8484 Fix serialisation of buffers, they are not boxed types anymore
8486 2005-06-20 Wim Taymans <wim@fluendo.com>
8488 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8489 Testcase to show error in buffer-on-caps serialisation.
8491 2005-06-20 Andy Wingo <wingo@pobox.com>
8493 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8494 will be adding to later.
8496 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8497 if its socks fill with rocks.
8498 (gst_system_clock_obtain): Set the name on object construction.
8499 Avoid double-checked locking.
8501 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8503 * gst/gsturi.c: (gst_element_make_from_uri):
8504 Fix potential endless loop.
8506 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8508 * check/Makefile.am:
8510 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8512 move over from testsuite dir and clean up
8515 * testsuite/Makefile.am:
8516 * testsuite/tags/.cvsignore:
8517 * testsuite/tags/Makefile.am:
8518 * testsuite/tags/merge.c:
8519 remove testsuite/tags
8521 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8523 * docs/gst/gstreamer-sections.txt:
8524 * docs/gst/tmpl/gstenumtypes.sgml:
8525 * win32/gstenumtypes.c:
8526 clean up documentation build a little
8528 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8531 add macros for checking refcounts on objects and caps
8532 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8533 add some more unit tests
8534 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8535 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8536 fix leaked refcounts (I hope :)) so unittest works
8540 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8542 * configure.ac: back to HEAD
8544 === release 0.9.1 ===
8546 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8552 2005-06-17 Andy Wingo <wingo@pobox.com>
8554 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8555 assert; it's always possible that the pad gets deactivated in
8556 between the checks in gstpad.c and the implementation. Rely on
8557 finish_preroll() to return a FLUSHING or similar instead of on the
8560 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8561 clock and post an EOS message if we come out of finish_preroll in
8564 2005-06-16 David Schleef <ds@schleef.org>
8566 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8567 (gst_capsfilter_set_property): Allow NULL as possible value
8568 for filter_caps property, indicating GST_CAPS_ANY.
8570 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8572 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8574 * gst/schedulers/Makefile.am:
8576 * gstreamer.spec.in:
8579 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8581 * gstreamer.spec.in:
8584 2005-06-08 Andy Wingo <wingo@pobox.com>
8586 * gst/gstutils.c: RPAD fixes all around.
8587 (gst_element_link_pads): Refcounting fixes.
8589 * tools/gst-inspect.c:
8590 * tools/gst-xmlinspect.c:
8592 * gst/base/gsttypefindhelper.c:
8593 * gst/base/gstbasesink.c:
8594 * gst/gstqueue.c: RPAD fixes.
8596 * gst/gstghostpad.h:
8597 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8598 pads. The tricky thing is they provide both source and sink
8599 interfaces, since they proxy the internal pad for the external
8600 pad, and vice versa. Implement with lower-level ProxyPad objects,
8601 with the interior proxy pad as a child of the exterior ghost pad.
8602 Should write a doc on this.
8604 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8605 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8608 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8609 pads are real pads. No ghost pads in this file. Not documenting
8610 the myriad s/RPAD/PAD/ and REALIZE fixes.
8611 (gst_pad_class_init): Add properties for "direction" and
8612 "template". Both are construct-only, so they can't change during
8613 the life of the pad. Fixes properly deriving from GstPad.
8614 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8615 derived objects, just set properties when creating the objects via
8617 (gst_pad_get_parent): Implement as a function, return NULL if the
8618 parent is not an element.
8619 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8620 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8622 * gst/gstobject.c (gst_object_class_init): Make name a construct
8623 property. Don't set it in the object init.
8625 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8626 with UNKNOWN direction.
8627 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8628 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8629 (gst_element_remove_pad): Remove ghost-pad special cases.
8630 (gst_element_pads_activate): Remove rpad cruft.
8632 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8633 catch the pad's-parent-not-an-element case.
8635 * gst/gst.h: Include gstghostpad.h.
8637 * gst/gst.c (init_post): No more real, ghost pads.
8639 * gst/Makefile.am: Add gstghostpad.[ch].
8641 * check/Makefile.am:
8642 * check/gst/gstbin.c:
8643 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8644 into a bin creates ghost pads, and that the refcounts are right.
8645 Partly moved from gstbin.c.
8647 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8649 * check/gst-libs/.cvsignore:
8650 * check/gst/.cvsignore:
8651 * check/pipelines/.cvsignore:
8653 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8654 (START_TEST), (cleanup_suite), (main):
8655 add some tests related to cleanup after running pipelines
8657 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8659 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8660 add a testsuite for GstBuffer
8662 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8664 * gst/gstminiobject.h:
8665 add defines for accessing the refcount
8667 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8669 * Makefile.am: added support for html unit test coverage reports
8671 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8673 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8674 Free existing caps if the capsfilter changes. Add a FIXME about
8675 setting those caps on the pads.
8677 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8678 Before adding a ghost pad to a parent bin, check that there isn't
8679 already one for the element on the bin. Prevents infinite recursion
8680 when using decodebin in parse pipelines. Andy says he'll rewrite the
8681 way this works anyway, so ignore the hack.
8683 2005-06-02 Andy Wingo <wingo@pobox.com>
8685 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8686 file size, pass it on to the type find helper.
8688 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8689 segment_start and segment_end properly according to the seek
8690 method. Segment_end is still a bit flaky because offset can be
8691 negative for CUR and END cases, but it takes -1 as an "unset"
8694 2005-06-02 Wim Taymans <wim@fluendo.com>
8696 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8697 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8698 (gst_basesink_activate):
8699 * gst/base/gstbasesink.h:
8700 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8701 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8702 (gst_pad_query), (gst_pad_start_task):
8704 * gst/gstqueue.c: (gst_queue_bufferalloc),
8705 (gst_queue_handle_sink_event), (gst_queue_chain):
8706 Bufferalloc: return GstFlowReturn to more accuratly report
8707 why allocation failed.
8709 2005-06-02 Wim Taymans <wim@fluendo.com>
8711 * gst/gstpipeline.c: (gst_pipeline_send_event):
8712 Take snapshot of state without blocking.
8714 2005-06-02 Wim Taymans <wim@fluendo.com>
8716 * docs/design/part-TODO.txt:
8717 * docs/design/part-caps.txt:
8718 * docs/design/part-clocks.txt:
8719 * docs/design/part-negotiation.txt:
8720 * docs/design/part-preroll.txt:
8723 2005-05-30 Wim Taymans <wim@fluendo.com>
8725 * gst/elements/gstidentity.c: (gst_identity_event),
8726 (gst_identity_transform), (gst_identity_get_property):
8727 Protect last_message property as it is accessed from
8730 2005-05-30 Wim Taymans <wim@fluendo.com>
8732 * gst/gstelement.c: (gst_element_init),
8733 (gst_element_pads_activate), (gst_element_change_state):
8734 Slicker pad activation code.
8736 2005-05-30 Wim Taymans <wim@fluendo.com>
8740 * gst/gstelementfactory.h:
8742 Move elementfactory methods to separate .h file.
8744 2005-05-30 Wim Taymans <wim@fluendo.com>
8746 * docs/design/part-overview.txt:
8747 * gst/gstsystemclock.h:
8748 Small typo fixes, doc updates.
8750 2005-05-30 Wim Taymans <wim@fluendo.com>
8752 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8753 (init_popt_callback):
8754 Remove cpu-opt flag.
8756 2005-05-30 Wim Taymans <wim@fluendo.com>
8758 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8759 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8761 Avoid typechecking in places where not needed.
8762 Added accessor for malloc_data.
8764 2005-05-30 Wim Taymans <wim@fluendo.com>
8766 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8767 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8768 (gst_pad_configure_sink), (gst_pad_configure_src),
8769 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8770 (gst_pad_start_task):
8771 Propagate errors from _set_caps() in configure_src/sink
8772 functions instead of returning TRUE.
8773 FLUSH events can travel up and downstream
8776 2005-05-30 Wim Taymans <wim@fluendo.com>
8778 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8779 (gst_basesink_activate):
8780 Handle EOS in preroll.
8782 2005-05-30 Wim Taymans <wim@fluendo.com>
8784 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8785 (gst_queue_loop), (gst_queue_handle_src_event):
8786 Remove old pieces of code
8787 Flushing the queue in an upstream event is a very bad idea.
8789 2005-05-26 Andy Wingo <wingo@pobox.com>
8791 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8792 gst_value_set_mini_object so as to add a ref on the object (which
8793 will be removed when the value is unset).
8795 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8796 arg type in ::handoff.
8798 * gst/gstelement.c (gst_element_change_state): Also deactivate
8799 pads in READY->NULL, just in case the element didn't make it to
8800 PAUSED. Wingo tested, Wim approved.
8802 2005-05-26 Wim Taymans <wim@fluendo.com>
8804 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8805 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8806 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8807 A flushing pad cannot be used to alloc_buffer from.
8809 2005-05-26 Wim Taymans <wim@fluendo.com>
8811 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8812 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8813 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8814 (gst_bus_create_watch), (gst_bus_add_watch_full):
8816 Implement a real GSource and use g_main_context_wakeup() to
8817 signal new messages instead of the socketpair.
8819 2005-05-25 Wim Taymans <wim@fluendo.com>
8821 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8822 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8823 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8824 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8825 (gst_pad_send_event), (gst_pad_start_task):
8826 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8827 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8828 (gst_queue_sink_activate), (gst_queue_src_activate),
8829 (gst_queue_change_state):
8831 Fix state changes for non sinks. We now change sinks, then elements
8832 with unconnected srcpads, then the rest.
8833 More efficient queue unlocking in flush and state changes.
8834 Set the pad activate mode even if it does not have an activate
8837 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8839 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8840 Don't go in pull mode for non-seekable sources.
8841 * gst/elements/gsttypefindelement.h:
8842 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8843 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8844 (free_entry), (stop_typefinding),
8845 (gst_type_find_element_handle_event), (find_peek),
8846 (gst_type_find_element_chain), (do_pull_typefind),
8847 (gst_type_find_element_change_state):
8848 Allow typefinding (w/o seeking) in push-mode, simplified version
8850 * gst/gstutils.c: (gst_buffer_join):
8852 gst_buffer_join() from 0.8.
8854 2005-05-25 Wim Taymans <wim@fluendo.com>
8856 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8857 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8858 (gst_pad_send_event), (gst_pad_start_task):
8859 Disable attempt at mode switching until it is figured out.
8861 2005-05-25 Wim Taymans <wim@fluendo.com>
8863 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8864 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8865 (gst_basesink_finish_preroll), (gst_basesink_chain),
8866 (gst_basesink_loop), (gst_basesink_activate),
8867 (gst_basesink_change_state):
8868 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8869 (gst_basesrc_get_range), (gst_basesrc_loop),
8870 (gst_basesrc_activate):
8871 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8872 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8873 (gst_real_pad_init), (gst_real_pad_set_property),
8874 (gst_real_pad_get_property), (gst_pad_set_active),
8875 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8876 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8877 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8878 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8879 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8880 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8881 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8882 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8883 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8884 (gst_pad_stop_task):
8886 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8887 (gst_queue_loop), (gst_queue_src_activate):
8888 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8889 (gst_task_get_state):
8891 * gst/schedulers/threadscheduler.c:
8892 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8893 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8895 Remove ACTIVE pad flag, use FLUSHING everywhere
8896 Added _pad_chain(), _pad_get_range() to call chain/getrange
8898 Add locks around IS_FLUSHING when reading.
8899 Take STREAM lock in chain(), get_range() functions so plugins
8900 don't need to take it anymore.
8904 2005-05-25 Wim Taymans <wim@fluendo.com>
8906 * tools/gst-launch.c: (event_loop):
8907 Unref message after using its contents instead of
8910 2005-05-24 Wim Taymans <wim@fluendo.com>
8912 * docs/design/draft-ghostpads.txt:
8913 * docs/design/draft-push-pull.txt:
8914 * docs/design/draft-query.txt:
8915 * docs/design/part-overview.txt:
8916 Docs updates, added general overview doc.
8918 2005-05-21 David Schleef <ds@schleef.org>
8920 * docs/gst/tmpl/old/GstBin.sgml:
8921 * docs/gst/tmpl/old/GstBuffer.sgml:
8922 * docs/gst/tmpl/old/GstCaps.sgml:
8923 * docs/gst/tmpl/old/GstClock.sgml:
8924 * docs/gst/tmpl/old/GstCompat.sgml:
8925 * docs/gst/tmpl/old/GstData.sgml:
8926 * docs/gst/tmpl/old/GstElement.sgml:
8927 * docs/gst/tmpl/old/GstEvent.sgml:
8928 * docs/gst/tmpl/old/GstIndex.sgml:
8929 * docs/gst/tmpl/old/GstStructure.sgml:
8930 * docs/gst/tmpl/old/GstTag.sgml:
8931 * docs/gst/tmpl/old/cothreads.sgml:
8932 * docs/gst/tmpl/old/cothreads_compat.sgml:
8933 * docs/gst/tmpl/old/gettext.sgml:
8934 * docs/gst/tmpl/old/gobject2gtk.sgml:
8935 * docs/gst/tmpl/old/grammar.tab.sgml:
8936 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8937 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8938 * docs/gst/tmpl/old/gst_private.sgml:
8939 * docs/gst/tmpl/old/gstaggregator.sgml:
8940 * docs/gst/tmpl/old/gstarch.sgml:
8941 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8942 * docs/gst/tmpl/old/gstbufferstore.sgml:
8943 * docs/gst/tmpl/old/gstdata_private.sgml:
8944 * docs/gst/tmpl/old/gstdisksink.sgml:
8945 * docs/gst/tmpl/old/gstdisksrc.sgml:
8946 * docs/gst/tmpl/old/gstelementfactory.sgml:
8947 * docs/gst/tmpl/old/gstextratypes.sgml:
8948 * docs/gst/tmpl/old/gstfakesink.sgml:
8949 * docs/gst/tmpl/old/gstfakesrc.sgml:
8950 * docs/gst/tmpl/old/gstfdsink.sgml:
8951 * docs/gst/tmpl/old/gstfdsrc.sgml:
8952 * docs/gst/tmpl/old/gstfilesink.sgml:
8953 * docs/gst/tmpl/old/gstfilesrc.sgml:
8954 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8955 * docs/gst/tmpl/old/gstidentity.sgml:
8956 * docs/gst/tmpl/old/gstindexfactory.sgml:
8957 * docs/gst/tmpl/old/gstmarshal.sgml:
8958 * docs/gst/tmpl/old/gstmd5sink.sgml:
8959 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8960 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8961 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8962 * docs/gst/tmpl/old/gstpipefilter.sgml:
8963 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8964 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8965 * docs/gst/tmpl/old/gstshaper.sgml:
8966 * docs/gst/tmpl/old/gstspider.sgml:
8967 * docs/gst/tmpl/old/gstspideridentity.sgml:
8968 * docs/gst/tmpl/old/gststatistics.sgml:
8969 * docs/gst/tmpl/old/gsttee.sgml:
8970 * docs/gst/tmpl/old/gsttimecache.sgml:
8971 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8972 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8973 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8974 * docs/gst/tmpl/old/types.sgml:
8975 I didn't intend to add these or check them in.
8977 2005-05-19 David Schleef <ds@schleef.org>
8979 * configure.ac: Use -no-common everywhere. In a sane world, it
8980 would be the default in libtool, because without it, you can't
8981 build DLLs on Windows.
8982 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8983 * docs/gst/gstreamer-sections.txt:
8984 * docs/gst/tmpl/gstcpu.sgml:
8985 * docs/gst/tmpl/gstdata.sgml:
8986 * docs/gst/tmpl/gstthread.sgml:
8988 2005-05-19 David Schleef <ds@schleef.org>
8990 * gst/gstminiobject.c: (gst_value_set_mini_object),
8991 (gst_value_take_mini_object), (gst_value_get_mini_object):
8992 * gst/gstminiobject.h: Add GValue set/get functions.
8994 2005-05-19 Wim Taymans <wim@fluendo.com>
8996 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8997 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8998 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9000 * gst/gstbus.c: (gst_bus_post):
9001 * gst/gstelement.c: (gst_element_get_random_pad):
9002 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9003 Make subbufer unref the parent in finalize.
9004 some more debugging info.
9007 2005-05-19 Wim Taymans <wim@fluendo.com>
9009 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9010 (gst_basesink_init), (gst_basesink_finalize),
9011 (gst_basesink_activate), (gst_basesink_change_state):
9012 Don't free preroll queue too early.
9014 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9018 Hi, I'm outdated. Please shoot me.
9020 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9022 * gst/gstpipeline.c: (gst_pipeline_send_event):
9023 Do not access variables after they have been deleted.
9025 2005-05-19 Wim Taymans <wim@fluendo.com>
9027 * tools/gst-inspect.c: (print_plugin_features):
9028 A plugin feature does unfortunatly not use the
9031 2005-05-18 Wim Taymans <wim@fluendo.com>
9033 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9034 Port _span() functions to new subbuffers.
9036 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9038 * gst/gstbin.c: (gst_bin_add_func):
9039 Fix clock settery in bins when adding kids after the clock has
9042 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9044 * gst/elements/gstidentity.c: (gst_identity_class_init):
9045 Workaround until signals support GstMiniObject.
9047 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9050 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9052 2005-05-18 Wim Taymans <wim@fluendo.com>
9054 * gst/base/Makefile.am:
9055 * gst/base/gstadapter.c: (gst_adapter_base_init),
9056 (gst_adapter_class_init), (gst_adapter_init),
9057 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9058 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9059 (gst_adapter_flush), (gst_adapter_available),
9060 (gst_adapter_available_fast):
9061 * gst/base/gstadapter.h:
9062 Ported and added adapter to the base classes.
9064 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9068 Make sure the class is reffed/unreffed once before threads can be
9069 used. Fixes #304551.
9071 2005-05-17 Wim Taymans <wim@fluendo.com>
9073 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9074 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9075 * gst/gstminiobject.c: (gst_mini_object_get_type),
9076 (gst_mini_object_free):
9077 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9078 (gst_pad_push), (gst_pad_push_event):
9079 * gst/gstqueue.c: (gst_queue_change_state):
9080 Don't queue buffers in basesink when we are flushing.
9081 Unref buffer when flushing in basesink.
9082 Flush queue when going to READY
9083 Unref buffer when _push() returns an error.
9084 Don't free MiniObject instance when refcount is incremented
9085 in _finalize() so that we can recover objects.
9087 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9089 * docs/manual/advanced-schedulers.xml:
9090 * docs/manual/appendix-checklist.xml:
9091 * docs/pwg/advanced-clock.xml:
9092 * docs/pwg/advanced-interfaces.xml:
9093 * docs/pwg/advanced-request.xml:
9094 * docs/pwg/advanced-types.xml:
9095 * docs/pwg/intro-preface.xml:
9096 * examples/plugins/example.c: (gst_example_get_type),
9097 (gst_example_class_init), (gst_example_chain),
9098 (gst_example_set_property), (gst_example_get_property),
9099 (gst_example_change_state), (plugin_init):
9100 * examples/plugins/example.h:
9103 2005-05-17 Wim Taymans <wim@fluendo.com>
9105 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9106 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9107 * gst/gstqueue.c: (gst_queue_change_state):
9108 Clear queue when going to READY.
9109 Remove IN_SETCAPS flag too.
9111 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9113 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9114 Remove implicit cast from gboolean to GstElementStateReturn;
9115 make sure we still return failure in paused => ready case if
9116 the parent class fails to change state and our own stop
9119 2005-05-17 Wim Taymans <wim@fluendo.com>
9121 * tools/gst-launch.c: (event_loop):
9122 Message was unreffed too soon.
9124 2005-05-16 Andy Wingo <wingo@pobox.com>
9126 * gst/gstbin.c (sink_iterator_filter): Err... um...
9128 * check/gst/gstbin.c (test_ghost_pads): New test for the
9129 ghosting-if-elements-not-in-same-bin behavior.
9131 2005-05-16 David Schleef <ds@schleef.org>
9133 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9134 accessing refcount directly.
9136 2005-05-15 David Schleef <ds@schleef.org>
9138 * check/Makefile.am: remove GstData checks
9139 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9140 * gst/Makefile.am: add miniobject, remove data
9141 * gst/gst.h: add miniobject, remove data
9142 * gst/gstdata.c: remove
9143 * gst/gstdata.h: remove
9144 * gst/gstdata_private.h: remove
9145 * gst/gsttypes.h: remove GstEvent and GstMessage
9146 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9147 * gst/gstmarshal.list: change BOXED -> OBJECT
9149 Implement GstMiniObject.
9150 * gst/gstminiobject.c:
9151 * gst/gstminiobject.h:
9153 Modify to be subclasses of GstMiniObject.
9154 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9155 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9156 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9157 (gst_subbuffer_get_type), (gst_subbuffer_init),
9158 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9161 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9162 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9163 (_gst_event_copy), (gst_event_new):
9165 * gst/gstmessage.c: (_gst_message_initialize),
9166 (gst_message_get_type), (gst_message_class_init),
9167 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9168 (gst_message_new), (gst_message_new_error),
9169 (gst_message_new_warning), (gst_message_new_tag),
9170 (gst_message_new_state_changed), (gst_message_new_application):
9172 * gst/gstprobe.c: (gst_probe_perform),
9173 (gst_probe_dispatcher_dispatch):
9175 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9176 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9177 (_gst_query_copy), (gst_query_new):
9179 Update elements for GstData -> GstMiniObject changes
9181 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9182 (gst_queue_chain), (gst_queue_loop):
9183 * gst/elements/gstbufferstore.c:
9184 (gst_buffer_store_add_buffer_func),
9185 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9186 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9187 (gst_fakesink_render):
9188 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9189 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9190 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9191 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9192 (gst_filesrc_create_read):
9193 * gst/elements/gstidentity.c: (gst_identity_class_init):
9194 * gst/elements/gsttypefindelement.c:
9195 (gst_type_find_element_src_event), (free_entry_buffers),
9196 (gst_type_find_element_handle_event):
9197 * libs/gst/dataprotocol/dataprotocol.c:
9198 (gst_dp_header_from_buffer):
9199 * libs/gst/dataprotocol/dataprotocol.h:
9200 * libs/gst/dataprotocol/dp-private.h:
9202 2005-05-15 David Schleef <ds@schleef.org>
9204 * gst/elements/gstelements.c: Don't include headers that were
9207 2005-05-15 David Schleef <ds@schleef.org>
9209 * gst/elements/Makefile.am: Remove some elements that don't
9210 need to be in the core (or even exist at all).
9211 * gst/elements/gstaggregator.c:
9212 * gst/elements/gstaggregator.h:
9213 * gst/elements/gstmd5sink.c:
9214 * gst/elements/gstmd5sink.h:
9215 * gst/elements/gstmultifilesrc.c:
9216 * gst/elements/gstmultifilesrc.h:
9217 * gst/elements/gstpipefilter.c:
9218 * gst/elements/gstpipefilter.h:
9219 * gst/elements/gstshaper.c:
9220 * gst/elements/gstshaper.h:
9221 * gst/elements/gststatistics.c:
9222 * gst/elements/gststatistics.h:
9223 * po/POTFILES.in: Remove above files.
9225 2005-05-14 Andy Wingo <wingo@pobox.com>
9227 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9228 so as to get the refs right.
9229 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9230 unreffing objects that don't pass the filter.
9232 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9233 gst_element_set_bus.
9234 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9235 normal cases, this will destroy the bus.
9237 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9240 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9243 2005-05-13 Andy Wingo <wingo@pobox.com>
9245 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9246 gst_pad_link, call pad_link_maybe_ghosting,
9247 (pad_link_maybe_ghosting): Links pads, making sure that the
9248 elements being linked are in the same bin.
9249 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9250 Helpers for pad_link_maybe_ghosting.
9252 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9255 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9257 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9259 * docs/design/part-element-source.txt:
9262 2005-05-12 Wim Taymans <wim@fluendo.com>
9264 * gst/base/gstbasesink.c: (gst_basesink_init),
9265 (gst_basesink_activate):
9266 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9267 (gst_basesrc_is_seekable):
9268 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9269 (bin_element_is_sink), (gst_bin_change_state):
9270 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9272 Identify sinks by their flag to avoid overly complicated
9274 Do state changes even for elements not reachable from the
9276 BaseSink is a sink now :)
9277 Some more debugging info in the basesrc.
9280 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9282 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9283 Implement _query on a bin, similar to _send_event.
9285 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9287 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9288 Discont event offset format should be GST_FORMAT_BYTES,
9289 not GST_FORMAT_TIME.
9291 2005-05-12 Wim Taymans <wim@fluendo.com>
9293 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9294 Same fix as Ronald's but without the signal.
9296 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9298 * gst/gstutils.c: (gst_element_query_position):
9299 No, an element is not a pad.
9301 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9303 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9304 (gst_bin_get_state):
9305 If a child is removed from a bin while we remove the child from
9306 the bin and while we're retrieving its state, signal this to the
9307 get_state function so we abort the wait (instead of waiting for
9308 a timeout) and can immediately re-iterate over all other elements.
9310 2005-05-12 Wim Taymans <wim@fluendo.com>
9312 * gst/base/Makefile.am:
9313 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9314 (gst_basesrc_start):
9315 * gst/base/gstbasesrc.h:
9316 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9317 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9318 (gst_pushsrc_init), (gst_pushsrc_create):
9319 * gst/base/gstpushsrc.h:
9320 Added is_seekable to BaseSrc
9321 Added simple PushSrc.
9323 2005-05-11 Wim Taymans <wim@fluendo.com>
9325 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9326 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9327 (gst_element_link_pads), (gst_element_query_position),
9328 (gst_element_query_convert), (intersect_caps_func),
9329 (gst_pad_query_position), (gst_pad_query_convert):
9330 Fix refcounting in utils function.
9331 No point in trying to activate a pad when it's added, it could
9332 be added from the state change function and then we deadlock, the
9333 element has to decide what to do.
9335 2005-05-10 Andy Wingo <wingo@pobox.com>
9337 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9338 *all* the arguments.
9340 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9341 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9342 lock (according to the docs -- if this is wrong change the docs).
9344 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9345 flush messages in the NULL state.
9347 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9348 message immediately and return.
9349 (gst_bus_set_flushing): New function. If a bus is flushing, it
9350 flushes out any queued messages and immediately unrefs new
9351 messages. This is so when an element goes to NULL, all of the
9352 unhandled messages coming from it can be freed, and their
9353 references to the element dropped. In other words: message source
9354 ref considered harmful :P
9356 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9357 we're finished with it.
9359 * gst/gstmessage.c (gst_message_new_state_changed):
9361 2005-05-10 Wim Taymans <wim@fluendo.com>
9363 * gst/gstvalue.c: (gst_value_compare_flags),
9364 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9365 (_gst_value_initialize):
9366 Added flags serialize/deserialize/compare code.
9368 2005-05-09 Andy Wingo <wingo@pobox.com>
9370 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9371 Intersect the peer's caps with our caps.
9373 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9375 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9376 * gst/elements/gsttypefindelement.c: (find_peek):
9377 Handle negative offsets better. Fixes decodebin.
9379 2005-05-09 Wim Taymans <wim@fluendo.com>
9381 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9382 (gst_base_transform_event):
9383 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9384 Implement accept_caps.
9385 Fix silly lock/unlock mismatch in base class.
9387 2005-05-09 Wim Taymans <wim@fluendo.com>
9389 * docs/design/draft-push-pull.txt:
9390 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9391 * gst/elements/gstfilesink.c: (gst_filesink_init),
9392 (gst_filesink_query):
9393 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9394 (gst_type_find_handle_src_query), (find_element_get_length):
9395 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9399 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9400 (gst_real_pad_get_caps_unlocked),
9401 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9402 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9403 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9404 (gst_real_pad_dispose), (gst_real_pad_finalize),
9405 (gst_pad_load_and_link), (gst_pad_save_thyself),
9406 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9407 (gst_pad_check_pull_range), (gst_pad_pull_range),
9408 (gst_pad_template_get_type), (gst_pad_template_class_init),
9409 (gst_pad_template_init), (gst_pad_template_dispose),
9410 (name_is_valid), (gst_static_pad_template_get),
9411 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9412 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9413 (gst_pad_get_element_private), (gst_pad_start_task),
9414 (gst_pad_pause_task), (gst_pad_stop_task),
9415 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9416 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9417 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9418 (gst_ghost_pad_new):
9420 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9421 (gst_query_new_position), (gst_query_set_position),
9422 (gst_query_parse_position), (gst_query_new_convert),
9423 (gst_query_set_convert), (gst_query_parse_convert):
9425 * gst/gstqueryutils.c:
9426 * gst/gstqueryutils.h:
9427 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9428 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9429 (gst_queue_handle_src_query):
9430 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9431 (gst_element_query_position), (gst_element_query_convert),
9432 (intersect_caps_func), (gst_pad_query_position),
9433 (gst_pad_query_convert):
9435 * tools/gst-inspect.c: (print_pad_info):
9436 * tools/gst-xmlinspect.c: (print_element_info):
9437 Remove old query functions. Ported old code.
9438 Added position/convert helper functions to gstutils.
9439 Reordered gstpad.c code, grouping relevant things.
9440 Remove gst_message_new(), always need to speficy a specific
9444 2005-05-09 Andy Wingo <wingo@pobox.com>
9446 * gst/gstiterator.h: Add some includes.
9448 * gst/gstqueryutils.h: Include more headers.
9451 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9452 some uses of gst_pad_query.
9454 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9455 NULL out parameters.
9456 (gst_query_new_position): New proc, allocates a new position
9459 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9460 gstqueryutils.c to the build.
9462 * gst/gststructure.c (gst_structure_set_valist): Implement with
9463 the generic G_VALUE_COLLECT.
9465 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9467 * gst/Makefile.am: (gst_headers):
9468 Added gstqueryutils.h to the list of headers to install, that was
9469 a 'nachty' move wingo :)
9471 2005-05-06 Andy Wingo <wingo@pobox.com>
9474 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9475 GstData, init a memchunk.
9476 (standard_definitions): Add a few query types, deprecate a few.
9477 (gst_query_get_type): New proc.
9478 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9480 (gst_query_new_application, gst_query_get_structure): New public
9483 * docs/design/draft-query.txt: Removed LINKS from the query types,
9484 because all the rest can be dispatched to other pads -- seemed
9485 ugly to have a query that couldn't be dispatched. internal_links
9486 is fine as a pad method.
9488 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9489 in gstpad.c, but maintain binary compatibility for the moment.
9490 Will fix before 0.9 is out.
9492 * gst/gstqueryutils.c:
9493 * gst/gstqueryutils.h: New files, implement 3 methods for each
9494 query type: parse_query, parse_response, and set. Probably need an
9497 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9499 * gst/elements/gstfilesink.c (gst_filesink_query2):
9500 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9501 query_types, and formats methods.
9503 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9504 (gst_pad_set_query2_function): New functions.
9505 (gst_real_pad_init): Set query2_default as the default query2
9506 function. Basically just dispatches to internally linked pads.
9510 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9511 without using the atomic operations. Only one thread can possibly
9512 be accessing the data at this point. Changed so as to avoid
9513 gst_atomic operations.
9515 2005-05-06 Wim Taymans <wim@fluendo.com>
9517 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9518 Also set caps if we use the fallback buffer alloc.
9520 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9522 * docs/gst/Makefile.am:
9523 * docs/gst/gstreamer-docs.sgml:
9524 * docs/gst/gstreamer-sections.txt:
9525 * docs/gst/tmpl/gstatomic.sgml:
9526 * docs/gst/tmpl/gstmemchunk.sgml:
9527 * testsuite/elements/struct_i386.h:
9528 * win32/GStreamer.vcproj:
9530 Purge GstAtomic stuff from docs and win32 makefiles as well
9532 2005-05-06 Wim Taymans <wim@fluendo.com>
9534 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9535 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9536 * gst/gstpad.c: (gst_pad_peer_get_caps):
9537 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9538 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9539 (gst_queue_src_activate), (gst_queue_change_state):
9541 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9542 (intersect_caps_func):
9543 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9544 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9545 Some fixes for the peer_get_caps() change.
9547 2005-05-06 Wim Taymans <wim@fluendo.com>
9549 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9550 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9551 (gst_basesink_activate):
9552 Actually do something with error codes returned from the push
9555 2005-05-06 Wim Taymans <wim@fluendo.com>
9557 * docs/design/part-element-sink.txt:
9558 * docs/design/part-element-source.txt:
9559 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9560 (gst_basesink_event), (gst_basesink_activate):
9561 * gst/base/gstbasesink.h:
9562 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9563 (gst_basesrc_activate):
9564 * gst/base/gstbasesrc.h:
9565 * gst/gstelement.c: (gst_element_pads_activate):
9566 Some more documentation.
9567 Fixed scheduling decision in _pads_activate().
9569 2005-05-05 Andy Wingo <wingo@pobox.com>
9571 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9574 2005-05-05 Wim Taymans <wim@fluendo.com>
9576 * gst/base/Makefile.am:
9577 * gst/base/gstbasesink.h:
9578 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9579 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9580 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9581 (gst_collectpads_class_init), (gst_collectpads_init),
9582 (gst_collectpads_finalize), (gst_collectpads_new),
9583 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9584 (find_pad), (gst_collectpads_remove_pad),
9585 (gst_collectpads_is_active), (gst_collectpads_collect),
9586 (gst_collectpads_collect_range), (gst_collectpads_start),
9587 (gst_collectpads_stop), (gst_collectpads_peek),
9588 (gst_collectpads_pop), (gst_collectpads_available),
9589 (gst_collectpads_read), (gst_collectpads_flush),
9590 (gst_collectpads_chain):
9591 * gst/base/gstcollectpads.h:
9592 * gst/elements/Makefile.am:
9593 * gst/elements/gstelements.c:
9594 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9595 (gst_fakesink_get_times), (gst_fakesink_event),
9596 (gst_fakesink_preroll), (gst_fakesink_render):
9597 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9598 (gst_filesink_init), (gst_filesink_set_location),
9599 (gst_filesink_open_file), (gst_filesink_close_file),
9600 (gst_filesink_pad_query), (gst_filesink_event),
9601 (gst_filesink_render), (gst_filesink_change_state):
9602 * gst/elements/gstfilesink.h:
9603 Added object to help in making collect pad based elements.
9605 Make event function in sink baseclass return gboolean.
9607 2005-05-05 Wim Taymans <wim@fluendo.com>
9609 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9610 (gst_bin_get_by_name):
9612 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9613 (gst_clock_finalize):
9614 * gst/gstdata.c: (gst_data_replace):
9616 * gst/gstelement.c: (gst_element_request_pad),
9617 (gst_element_pads_activate):
9618 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9620 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9621 (gst_pad_set_checkgetrange_function),
9622 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9623 (gst_pad_check_pull_range), (gst_pad_pull_range),
9624 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9625 (gst_pad_pause_task), (gst_pad_stop_task):
9626 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9627 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9628 Fix name lookup in GstBin.
9629 Added _data_replace() function and _buffer_replace()
9630 Use finalize method to clean up clock.
9631 Fix refcounting on request pads.
9632 Fix pad schedule mode error.
9633 Some more object refcounting debug info,
9636 2005-05-04 Andy Wingo <wingo@pobox.com>
9638 * check/Makefile.am:
9639 * docs/gst/tmpl/gstatomic.sgml:
9640 * docs/gst/tmpl/gstplugin.sgml:
9641 * gst/base/gstbasesink.c: (gst_basesink_activate):
9642 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9643 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9644 (gst_basesrc_query), (gst_basesrc_set_property),
9645 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9646 (gst_basesrc_activate):
9647 * gst/base/gstbasesrc.h:
9648 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9649 (gst_base_transform_src_activate):
9650 * gst/elements/gstelements.c:
9651 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9652 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9653 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9654 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9655 (gst_type_find_element_checkgetrange),
9656 (gst_type_find_element_activate):
9657 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9658 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9659 (gst_caps_load_thyself):
9660 * gst/gstelement.c: (gst_element_pads_activate),
9661 (gst_element_save_thyself), (gst_element_restore_thyself):
9662 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9663 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9665 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9666 (gst_xml_parse_file), (gst_xml_parse_memory),
9667 (gst_xml_get_element), (gst_xml_make_element):
9668 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9669 (_file_index_id_save_xml), (gst_file_index_commit):
9670 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9671 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9673 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9674 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9675 * tools/gst-complete.c: (main):
9676 * tools/gst-compprep.c: (main):
9677 * tools/gst-inspect.c: (print_element_properties_info):
9678 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9679 * tools/gst-xmlinspect.c: (print_element_properties):
9682 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9684 * gst/gstplugin.c: (gst_plugin_check_module),
9685 (gst_plugin_check_file), (gst_plugin_load_file):
9686 apply patch from #172526 to make register work on MacOSX
9688 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9690 * docs/gst/tmpl/gstconfig.sgml:
9691 * gst/gstconfig.h.in:
9692 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9693 * testsuite/debug/printf_extension.c: (main):
9694 Do not use GST_PTR_FORMAT on pointers to types with
9695 sizeof < sizeof(gpointer). Fixes test on 64-bit
9696 * testsuite/elements/property.h:
9697 use correct printf format
9699 2005-05-02 Wim Taymans <wim@fluendo.com>
9701 * docs/design/draft-push-pull.txt:
9702 * docs/design/draft-query.txt:
9703 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9704 (gst_basesrc_start):
9705 Added draft for new query API.
9706 Added draft for better selecting scheduling methods.
9707 Make basesrc ignore length if the subclass does not support
9710 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9713 possible fixes for automake-1.5 - _LIBADD is reserved
9715 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9717 * docs/faq/Makefile.am:
9718 * docs/manual/Makefile.am:
9720 * docs/pwg/Makefile.am:
9722 possible fixes for automake-1.5
9724 2005-04-28 Wim Taymans <wim@fluendo.com>
9726 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9727 (gst_basesink_pad_getcaps), (gst_basesink_init),
9728 (gst_basesink_do_sync):
9729 * gst/gstclock.c: (gst_clock_entry_new):
9730 * gst/gstevent.c: (gst_event_discont_get_value):
9731 * gst/gstpipeline.c: (pipeline_bus_handler),
9732 (gst_pipeline_change_state):
9733 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9734 Better debugging of clocking info.
9735 Allow NULL values when getting discont values.
9737 2005-04-27 Wim Taymans <wim@fluendo.com>
9739 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9740 * check/gst/gstpad.c: (gst_pad_suite):
9741 Increase timeout for checks.
9743 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9745 * check/Makefile.am:
9746 fix the broken rule for cleanup. Apparently this rule is
9747 only needed on FC2, so maybe this warrants further autotool
9750 2005-04-26 Wim Taymans <wim@fluendo.com>
9752 * gst/gsttrashstack.h:
9753 Ooohh. a nasty one! After having a failed pop() from the stack,
9754 it's possible that the stack is empty. In that case, don't
9755 follow the NULL pointer.
9757 2005-04-25 Wim Taymans <wim@fluendo.com>
9759 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9760 (gst_pad_set_checkgetrange_function),
9761 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9762 (gst_pad_check_pull_range), (gst_pad_pull_range),
9763 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9764 (gst_pad_pause_task), (gst_pad_stop_task):
9765 * gst/gstplugin.c: (gst_plugin_load):
9767 Remove gst_library_load as it does more harm than good with
9768 the new g_module flags.
9769 Revert bogus caps template check in pad linking, pad caps
9770 are important when linking not the template, which is more
9771 general than the current caps.
9773 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9775 * gst/autoplug/.cvsignore:
9776 * gst/autoplug/Makefile.am:
9777 * gst/autoplug/gstsearchfuncs.c:
9778 * gst/autoplug/gstsearchfuncs.h:
9779 * gst/autoplug/gstspider.c:
9780 * gst/autoplug/gstspider.h:
9781 * gst/autoplug/gstspideridentity.c:
9782 * gst/autoplug/gstspideridentity.h:
9783 * gst/autoplug/spidertest.c:
9786 2005-04-25 Wim Taymans <wim@fluendo.com>
9788 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9789 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9790 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9791 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9793 Added stubs for unimplemented functions.
9795 2005-04-24 David Schleef <ds@schleef.org>
9797 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9800 2005-04-24 David Schleef <ds@schleef.org>
9802 Convert everything from GstAtomicInt to g_atomic_int_*, and
9807 * gst/gstatomic_impl.h:
9815 * gst/gstdata_private.h:
9822 * gst/gststructure.c:
9823 * gst/gststructure.h:
9824 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9827 2005-04-24 David Schleef <ds@schleef.org>
9829 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9830 make the regressions tests work. Remove some code that is no
9832 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9833 Disable warning for pads without templates.
9835 2005-04-24 David Schleef <ds@schleef.org>
9837 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9838 functions that handle filtered links.
9839 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9841 * gst/gstutils.c: Fix/remove utility functions that handle
9844 * gst/gstvalue.c: Add serialization/deserialization of caps
9845 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9846 requires fixing so that the filter caps notation creates
9847 a capsfilter element and sets the filter_caps property. I
9848 think everyone probably wants to keep the shorthand notation.
9849 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9850 * docs/gst/tmpl/gstpad.sgml:
9852 * gst/elements/gstelements.c: Register capsfilter element.
9853 * gst/Makefile.am: fix spacing
9854 * docs/random/ds/0.9-suggested-changes: random
9856 2005-04-23 David Schleef <ds@schleef.org>
9858 * gst/elements/Makefile.am:
9859 * gst/elements/gstcapsfilter.c: New element that acts like an
9860 identity, but filters caps. Will eventually replace filtered
9861 caps in pad linking.
9862 * gst/gstutils.c: (gst_element_create_all_pads): New function
9863 to create all the ALWAYS pads that are registered with an
9864 element class. This functionality should eventually be
9865 merged in with GstElement initialization.
9867 * testsuite/trigger/README: part of trigger test code that should
9868 have been checked in a long time ago.
9870 2005-04-23 David Schleef <ds@schleef.org>
9872 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9873 needed with new versions of libtool (nobody will confirm this),
9874 and hard to carry around.
9875 * gst/autoplug/Makefile.am:
9876 * gst/base/Makefile.am:
9877 * gst/elements/Makefile.am:
9878 * gst/indexers/Makefile.am:
9879 * gst/schedulers/Makefile.am:
9880 * libs/gst/bytestream/Makefile.am:
9881 * libs/gst/control/Makefile.am:
9882 * libs/gst/dataprotocol/Makefile.am:
9883 * libs/gst/getbits/Makefile.am:
9885 2005-04-21 Wim Taymans <wim@fluendo.com>
9887 * docs/design/draft-push-pull.txt:
9888 * docs/design/part-MT-refcounting.txt:
9889 * docs/design/part-TODO.txt:
9890 * docs/design/part-caps.txt:
9891 * docs/design/part-events.txt:
9892 * docs/design/part-gstbus.txt:
9893 * docs/design/part-gstpipeline.txt:
9894 * docs/design/part-messages.txt:
9895 * docs/design/part-push-pull.txt:
9896 * docs/design/part-query.txt:
9899 2005-04-21 Wim Taymans <wim@fluendo.com>
9901 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9902 (gst_message_new), (gst_message_new_error),
9903 (gst_message_new_warning), (gst_message_new_tag),
9904 (gst_message_new_state_changed), (gst_message_new_application),
9905 (gst_message_get_structure):
9907 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9908 (gst_structure_copy_conditional):
9909 Use parent refcount in GstMessage to ensure GstStructure
9911 Cleaned up headers a bit.
9914 2005-04-20 Wim Taymans <wim@fluendo.com>
9916 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9917 (gst_basesink_pad_getcaps), (gst_basesink_init),
9918 (gst_basesink_chain_unlocked):
9919 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9920 (gst_type_find_helper):
9921 * gst/elements/gsttypefindelement.c:
9922 (gst_type_find_element_have_type), (gst_type_find_element_init),
9923 (stop_typefinding), (gst_type_find_element_handle_event),
9924 (find_suggest), (gst_type_find_element_chain),
9925 (gst_type_find_element_checkgetrange),
9926 (gst_type_find_element_getrange), (do_typefind),
9927 (gst_type_find_element_activate):
9928 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9929 (gst_buffer_default_free), (gst_buffer_default_copy),
9930 (gst_buffer_set_caps):
9931 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9933 * gst/gstmessage.c: (gst_message_new),
9934 (gst_message_new_state_changed):
9935 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9936 (gst_pad_set_checkgetrange_function),
9937 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9938 (gst_pad_set_caps), (gst_pad_check_pull_range),
9939 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9941 * gst/gsttypefind.c: (gst_type_find_register):
9942 Make gst_caps_replace() work like other _replace() functions.
9943 Use _caps_replace() where possible.
9944 Make sure _message_new() initialises its field.
9945 Add gst_static_pad_template_get_caps()
9948 2005-04-18 Andy Wingo <wingo@pobox.com>
9950 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9951 on the peer, not the pad. I think that was a typo. Pass an extra
9952 arg to see if random access is possible. Activate the pads as
9953 PULL_RANGE if possible.
9955 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9957 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9958 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9961 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9963 * docs/faq/using.xml:
9964 Add note on gstreamer-properties (#154996).
9966 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9968 * docs/random/bbb/optional-properties:
9969 Some analysis on optional properties.
9971 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9973 * docs/gst/tmpl/gstelementfactory.sgml:
9975 * gst/gstelementfactory.c: (gst_element_factory_init),
9976 (gst_element_factory_cleanup), (gst_element_register),
9977 (__gst_element_factory_add_static_pad_template),
9978 (gst_element_factory_get_static_pad_templates),
9979 (gst_element_factory_can_src_caps),
9980 (gst_element_factory_can_sink_caps):
9981 * gst/registries/Makefile.am:
9982 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9983 (gst_xml_registry_class_init), (gst_xml_registry_init),
9984 (gst_xml_registry_new), (gst_xml_registry_set_property),
9985 (gst_xml_registry_get_property), (get_time), (make_dir),
9986 (gst_xml_registry_get_perms_func),
9987 (plugin_times_older_than_recurse), (plugin_times_older_than),
9988 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9989 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9990 (add_to_char_array), (read_string), (read_uint), (read_enum),
9991 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9992 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9993 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9994 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9995 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9996 (gst_xml_registry_rebuild):
9997 * gst/registries/gstlibxmlregistry.h:
9998 * tools/gst-compprep.c: (main):
9999 * tools/gst-inspect.c: (print_pad_templates_info):
10000 * tools/gst-xmlinspect.c: (print_element_info):
10001 Use libxml2 for registry parsing, use staticpadtemplates in
10002 elementfactories. Makes gst_init() +/- 10x faster.
10004 2005-04-12 Wim Taymans <wim@fluendo.com>
10006 * gst/base/Makefile.am:
10007 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10008 (gst_basesink_pad_getcaps), (gst_basesink_init),
10009 (gst_basesink_event), (gst_basesink_change_state):
10010 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10011 (gst_basesrc_init), (gst_basesrc_query),
10012 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10013 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10014 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10015 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10016 (gst_basesrc_stop), (gst_basesrc_activate),
10017 (gst_basesrc_change_state):
10018 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10019 (helper_find_suggest), (gst_type_find_helper):
10020 * gst/base/gsttypefindhelper.h:
10021 * gst/elements/Makefile.am:
10022 * gst/elements/gstelements.c:
10023 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10024 (gst_fakesink_get_times), (gst_fakesink_event),
10025 (gst_fakesink_preroll), (gst_fakesink_render):
10026 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10027 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10028 (gst_fakesrc_get_property), (gst_fakesrc_create),
10029 (gst_fakesrc_start), (gst_fakesrc_stop):
10030 * gst/elements/gstfakesrc.h:
10031 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10032 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10033 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10034 (gst_filesrc_create_read), (gst_filesrc_create),
10035 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10036 (gst_filesrc_start):
10037 * gst/elements/gsttypefindelement.c:
10038 (gst_type_find_element_have_type), (gst_type_find_element_init),
10039 (start_typefinding), (stop_typefinding), (push_buffer_store),
10040 (gst_type_find_element_handle_event),
10041 (gst_type_find_element_chain),
10042 (gst_type_find_element_checkgetrange),
10043 (gst_type_find_element_getrange), (do_typefind),
10044 (gst_type_find_element_activate),
10045 (gst_type_find_element_change_state):
10046 * gst/elements/gsttypefindelement.h:
10047 * gst/gstpipeline.c: (pipeline_bus_handler):
10048 Added typefind helper.
10049 Small preroll fix in the base sink.
10050 Disable typefind code in basesrc.
10051 Crude port of typefindelement.
10055 2005-04-11 Wim Taymans <wim@fluendo.com>
10057 * check/gst/gstbus.c: (gstbus_suite):
10058 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10059 * check/gstcheck.h:
10060 Fix up the timeout so that the test does not fail.
10062 2005-04-06 Wim Taymans <wim@fluendo.com>
10065 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10066 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10067 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10068 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10069 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10070 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10071 (gst_basesrc_stop), (gst_basesrc_activate),
10072 (gst_basesrc_change_state), (basesrc_find_peek),
10073 (basesrc_find_suggest), (gst_basesrc_type_find):
10074 * gst/base/gstbasesrc.h:
10075 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10076 (gst_filesrc_class_init), (gst_filesrc_init),
10077 (gst_filesrc_finalize), (gst_filesrc_set_location),
10078 (gst_filesrc_set_property), (gst_filesrc_get_property),
10079 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10080 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10081 (gst_filesrc_create_read), (gst_filesrc_create),
10082 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10083 * gst/elements/gstfilesrc.h:
10084 * gst/gstelement.c: (gst_element_get_state_func),
10085 (gst_element_lost_state), (gst_element_pads_activate):
10086 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10087 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10088 (gst_pad_pull_range):
10090 More work on the generic source base class, implement seeking,
10092 Make filesrc extend the base source class.
10093 Added gst_pad_set_checkgetrange_function to GstPad.
10095 2005-04-06 Andy Wingo <wingo@pobox.com>
10097 * pkgconfig/gstreamer-base.pc.in:
10098 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10100 * pkgconfig/Makefile.am:
10101 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10103 2005-04-04 Wim Taymans <wim@fluendo.com>
10105 * gst/base/Makefile.am:
10107 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10108 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10109 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10110 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10111 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10112 (gst_basesrc_base_init), (gst_basesrc_class_init),
10113 (gst_basesrc_init), (gst_basesrc_get_formats),
10114 (gst_basesrc_get_query_types), (gst_basesrc_query),
10115 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10116 (gst_basesrc_set_property), (gst_basesrc_get_property),
10117 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10118 (gst_basesrc_loop), (gst_basesrc_activate),
10119 (gst_basesrc_change_state):
10120 * gst/base/gstbasesrc.h:
10121 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10122 (gst_fakesrc_class_init), (gst_fakesrc_init),
10123 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10124 (gst_fakesrc_get_property), (gst_fakesrc_create):
10125 * gst/elements/gstfakesrc.h:
10126 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10127 (gst_filesrc_open_file), (gst_filesrc_loop),
10128 (gst_filesrc_activate), (filesrc_find_peek),
10129 (gst_filesrc_type_find):
10130 Made base source class, make fakesrc extend it.
10131 Add comments to basesink class.
10132 Some filesrc cleanup.
10134 2005-03-31 David Schleef <ds@schleef.org>
10136 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10137 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10138 expected to link against libgstreamer.
10139 * gst/base/Makefile.am: link against libgstreamer
10140 * gst/elements/Makefile.am: same
10142 2005-03-31 Andy Wingo <wingo@pobox.com>
10144 * tests/instantiate/Makefile.am:
10145 * tests/instantiate/caps.c: Add test to test speed of caps copy
10148 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10149 GMemChunk to be fair.
10151 * gst/gsttrashstack.h: Remove warning about using the fallback
10152 trash stack implementation, it's still faster than malloc.
10154 2005-03-30 Andy Wingo <wingo@pobox.com>
10156 * tests/complexity.c: Add a copyright.
10158 2005-03-31 Wim Taymans <wim@fluendo.com>
10160 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10161 (gst_base_transform_class_init), (gst_base_transform_init),
10162 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10163 (gst_base_transform_get_property),
10164 (gst_base_transform_sink_activate),
10165 (gst_base_transform_src_activate),
10166 (gst_base_transform_change_state):
10167 * gst/base/gstbasetransform.h:
10168 * gst/elements/gstidentity.c: (gst_identity_class_init),
10169 (gst_identity_event), (gst_identity_check_perfect),
10170 (gst_identity_transform), (gst_identity_start),
10171 (gst_identity_stop):
10172 Added start/stop methods to transform base class so subclasses
10173 don't need to deal with state changes even.
10175 2005-03-31 Wim Taymans <wim@fluendo.com>
10177 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10178 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10180 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10181 (gst_pad_pull_range):
10182 Added rate to the discont event to prepare for variable speed
10183 and reverse playback.
10185 2005-03-29 David Schleef <ds@schleef.org>
10188 * testsuite/trigger/Makefile.am:
10189 * testsuite/trigger/trigger.c: A little example program to show
10190 how trigger-based elements can work.
10192 2005-03-29 Wim Taymans <wim@fluendo.com>
10194 * gst/base/Makefile.am:
10196 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10197 (gst_basesink_base_init), (gst_basesink_class_init),
10198 (gst_basesink_pad_getcaps), (gst_basesink_init),
10199 (gst_basesink_activate), (gst_basesink_change_state):
10200 * gst/base/gstbasesink.h:
10201 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10202 (gst_base_transform_base_init), (gst_base_transform_finalize),
10203 (gst_base_transform_class_init), (gst_base_transform_init),
10204 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10205 (gst_base_transform_event), (gst_base_transform_getrange),
10206 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10207 (gst_base_transform_set_property),
10208 (gst_base_transform_get_property),
10209 (gst_base_transform_sink_activate),
10210 (gst_base_transform_src_activate),
10211 (gst_base_transform_change_state):
10212 * gst/base/gstbasetransform.h:
10213 * gst/elements/gstidentity.c: (gst_identity_finalize),
10214 (gst_identity_class_init), (gst_identity_init),
10215 (gst_identity_event), (gst_identity_check_perfect),
10216 (gst_identity_transform), (gst_identity_set_property),
10217 (gst_identity_get_property), (gst_identity_change_state):
10218 * gst/elements/gstidentity.h:
10219 * gst/gstelement.c: (gst_element_get_state_func),
10220 (gst_element_lost_state), (gst_element_pads_activate):
10221 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10222 (gst_pad_check_pull_range), (gst_pad_pull_range):
10224 Simplify pad activation.
10225 Added function to check if pull_range can be performed.
10226 Error out when pulling inactive or flushing pads.
10227 Removed const from refcounted types as it does not make sense.
10228 Simplify pad templates in basesink
10229 Added base class for simple 1-to-1 transforms.
10230 Make identity subclass the base transform.
10232 2005-03-29 Andy Wingo <wingo@pobox.com>
10234 * docs/libs/gstreamer-libs-overrides.txt:
10235 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10236 really don't understand what's going on, but like whatever. I want
10239 * docs/gst/Makefile.am:
10240 * docs/libs/Makefile.am: Dist the overrides files.
10242 * check/Makefile.am (clean-local): Remove .libs directories.
10244 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10245 elements to EXTRA_DIST, so po/ files are happy.
10247 * po/POTFILES.in: Er, remove it here.
10249 * po/POTFILES: Remove gstspider.c.
10251 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10253 * docs/libs/gstreamer-libs-docs.sgml:
10254 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10257 * tests/complexity.c (main): Set the length of the preroll queue
10258 on the sinks to prevent a lockup.
10260 * libs/gst/dataprotocol/Makefile.am:
10261 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10262 the same as the one in check/gst-libs/gdp.c.
10264 * po/, docs/gst/: Commit automatic changes to docs and po files.
10266 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10267 the versioned libgstbase.
10269 * check/Makefile.am: Depend on an unversioned gst-register, seems
10270 to make autoconf happier.
10272 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10274 2005-03-28 Wim Taymans <wim@fluendo.com>
10277 * docs/design/part-gstelement.txt:
10278 * docs/design/part-negotiation.txt:
10279 * docs/design/part-preroll.txt:
10280 * docs/design/part-scheduling.txt:
10281 * docs/design/part-states.txt:
10283 * gst/base/Makefile.am:
10285 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10286 (gst_basesink_base_init), (gst_basesink_class_init),
10287 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10288 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10289 (gst_basesink_set_pad_functions),
10290 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10291 (gst_basesink_set_property), (gst_basesink_get_property),
10292 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10293 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10294 (gst_basesink_preroll_queue_push),
10295 (gst_basesink_preroll_queue_empty),
10296 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10297 (gst_basesink_event), (gst_basesink_get_times),
10298 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10299 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10300 (gst_basesink_loop), (gst_basesink_activate),
10301 (gst_basesink_change_state):
10302 * gst/base/gstbasesink.h:
10303 * gst/elements/Makefile.am:
10304 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10305 (gst_fakesink_class_init), (gst_fakesink_init),
10306 (gst_fakesink_set_property), (gst_fakesink_get_property),
10307 (gst_fakesink_get_times), (gst_fakesink_event),
10308 (gst_fakesink_preroll), (gst_fakesink_render),
10309 (gst_fakesink_change_state):
10310 * gst/elements/gstfakesink.h:
10311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10312 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10313 * gst/gstelement.c: (gst_element_add_pad),
10314 (gst_element_get_state_func), (gst_element_abort_state),
10315 (gst_element_commit_state), (gst_element_lost_state),
10316 (gst_element_set_state), (gst_element_pads_activate):
10317 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10318 * gst/gstpipeline.c: (gst_pipeline_send_event),
10319 (gst_pipeline_change_state):
10320 Added state change code.
10321 Added/updated docs.
10322 Added sink base class, make fakesink extend the base class.
10323 Small cleanups in GstPipeline.
10325 2005-03-26 David Schleef <ds@schleef.org>
10327 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10328 is broken and should be implemented in a different library.
10329 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10330 * gst/gst.h: remove gstcpu.h
10331 * gst/gstcpu.c: remove
10332 * gst/gstcpu.h: remove
10333 * gst/Makefile.am.future: Remove this file. It's ancient.
10335 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10337 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10338 (gst_bin_send_event):
10339 Add default event/set_manager handlers. The set_manager handler
10340 takes care that the manager is distributed over kids that were
10341 already in the bin before the manager was set. The event handler
10342 is a utility virtual function that sends the event over all sinks,
10343 so that gst_element_send_event (bin, event); has the expected
10345 * gst/gstpad.c: (gst_pad_event_default):
10346 Re-install default event handling for discontinuities, so that
10347 seeking works without requiring hacks in applications or extra
10349 * gst/gstpipeline.c: (gst_pipeline_class_init),
10350 (gst_pipeline_send_event):
10351 Half hack, half utility: set a pipeline to PAUSED for seek events,
10352 since that is the only way we can guarantee a/v sync. Means that
10353 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10354 and it "just works".
10356 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10358 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10359 Lock/unlock mismatch.
10361 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10363 * docs/faq/gst-uninstalled:
10364 add gst-plugins-base
10365 * docs/gst/Makefile.am:
10366 don't error out until docs are fixed
10367 * docs/gst/gstreamer.types:
10370 2005-03-22 Wim Taymans <wim@fluendo.com>
10372 * check/Makefile.am:
10373 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10374 * gst/gststructure.c: (gst_structure_set_valist),
10375 (gst_structure_copy_conditional):
10376 Activated more tests.
10377 Added message test.
10378 Added G_TYPE_POINTER to GstStructure.
10381 2005-03-22 Wim Taymans <wim@fluendo.com>
10383 * docs/design/part-TODO.txt:
10384 * docs/design/part-events.txt:
10385 * docs/design/part-gstbin.txt:
10386 * docs/design/part-gstbus.txt:
10387 * docs/design/part-gstpipeline.txt:
10388 * docs/design/part-messages.txt:
10390 * gst/gstmessage.c:
10393 2005-03-21 Wim Taymans <wim@fluendo.com>
10395 * gst/gstbus.c: (gst_bus_post):
10396 Fix copy-and-paste error.
10398 2005-03-21 Wim Taymans <wim@fluendo.com>
10400 * check/Makefile.am:
10402 * gst/elements/Makefile.am:
10403 * gst/elements/gstelements.c:
10404 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10405 (gst_fakesink_event), (gst_fakesink_chain):
10406 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10407 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10408 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10409 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10410 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10411 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10412 (gst_fakesrc_loop), (gst_fakesrc_activate),
10413 (gst_fakesrc_change_state):
10414 * gst/elements/gstfakesrc.h:
10415 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10416 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10417 (gst_filesrc_open_file), (gst_filesrc_loop),
10418 (gst_filesrc_activate), (gst_filesrc_change_state),
10419 (filesrc_find_peek), (filesrc_find_suggest),
10420 (gst_filesrc_type_find):
10421 * gst/elements/gstidentity.c: (gst_identity_finalize),
10422 (gst_identity_class_init), (gst_identity_init),
10423 (gst_identity_proxy_getcaps), (identity_queue_push),
10424 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10425 (gst_identity_getrange), (gst_identity_chain),
10426 (gst_identity_sink_loop), (gst_identity_src_loop),
10427 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10428 (gst_identity_set_property), (gst_identity_get_property),
10429 (gst_identity_change_state):
10430 * gst/elements/gstidentity.h:
10431 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10432 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10433 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10434 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10435 (gst_tee_sink_activate):
10436 * gst/elements/gsttee.h:
10437 * gst/gst.c: (gst_register_core_elements), (init_post):
10439 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10440 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10441 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10442 (gst_bin_change_state):
10444 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10445 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10446 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10447 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10448 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10449 (bus_watch_callback), (bus_watch_destroy),
10450 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10451 (poll_timeout), (gst_bus_poll):
10455 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10456 (gst_element_post_message), (gst_element_message_full),
10457 (gst_element_get_state_func), (gst_element_get_state),
10458 (gst_element_abort_state), (gst_element_commit_state),
10459 (gst_element_lost_state), (gst_element_set_state),
10460 (gst_element_pads_activate), (gst_element_change_state),
10461 (gst_element_dispose), (gst_element_set_manager_func),
10462 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10463 (gst_element_set_manager), (gst_element_get_manager),
10464 (gst_element_set_bus), (gst_element_get_bus),
10465 (gst_element_set_scheduler), (gst_element_get_scheduler):
10466 * gst/gstelement.h:
10467 * gst/gstevent.c: (gst_event_new_segment_seek),
10468 (gst_event_new_flush):
10470 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10471 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10472 (gst_message_new_eos), (gst_message_new_error),
10473 (gst_message_new_warning), (gst_message_new_tag),
10474 (gst_message_new_state_changed), (gst_message_new_application),
10475 (gst_message_get_structure), (gst_message_parse_tag),
10476 (gst_message_parse_state_changed), (gst_message_parse_error),
10477 (gst_message_parse_warning):
10478 * gst/gstmessage.h:
10479 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10480 (gst_real_pad_set_property), (gst_pad_set_active),
10481 (gst_pad_is_active), (gst_pad_set_blocked_async),
10482 (gst_pad_set_blocked), (gst_pad_is_blocked),
10483 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10484 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10485 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10486 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10487 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10488 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10489 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10490 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10491 (gst_pad_set_caps), (gst_pad_configure_sink),
10492 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10493 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10494 (gst_real_pad_dispose), (gst_real_pad_finalize),
10495 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10496 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10497 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10499 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10500 (pipeline_bus_handler), (gst_pipeline_change_state),
10501 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10502 * gst/gstpipeline.h:
10504 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10505 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10506 (gst_queue_link_src), (gst_queue_bufferalloc),
10507 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10508 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10509 (gst_queue_loop), (gst_queue_handle_src_event),
10510 (gst_queue_handle_src_query), (gst_queue_src_activate),
10511 (gst_queue_change_state):
10513 * gst/gstscheduler.c: (gst_scheduler_init),
10514 (gst_scheduler_dispose), (gst_scheduler_create_task),
10515 (gst_scheduler_factory_create):
10516 * gst/gstscheduler.h:
10517 * gst/gststructure.c: (gst_structure_get_type),
10518 (gst_structure_copy_conditional):
10519 * gst/gststructure.h:
10520 * gst/gsttaginterface.h:
10521 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10522 (gst_task_init), (gst_task_dispose), (gst_task_create),
10523 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10529 * gst/schedulers/Makefile.am:
10530 * gst/schedulers/cothreads_compat.h:
10531 * gst/schedulers/entryscheduler.c:
10532 * gst/schedulers/faircothreads.c:
10533 * gst/schedulers/faircothreads.h:
10534 * gst/schedulers/fairscheduler.c:
10535 * gst/schedulers/gstbasicscheduler.c:
10536 * gst/schedulers/gstoptimalscheduler.c:
10537 * gst/schedulers/gthread-cothreads.h:
10538 * gst/schedulers/threadscheduler.c:
10539 (gst_thread_scheduler_task_get_type),
10540 (gst_thread_scheduler_task_class_init),
10541 (gst_thread_scheduler_task_init),
10542 (gst_thread_scheduler_task_start),
10543 (gst_thread_scheduler_task_stop),
10544 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10545 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10546 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10547 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10549 * libs/gst/Makefile.am:
10550 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10551 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10552 (gst_file_pad_parent_set):
10553 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10554 (gst_dp_event_from_packet):
10555 * tests/complexity.c: (main):
10556 * tests/mass_elements.c: (main):
10557 * testsuite/states/locked.c: (message_received), (main):
10558 * testsuite/states/parent.c: (main):
10559 * tools/gst-inspect.c: (print_element_flag_info),
10560 (print_implementation_info), (print_pad_info):
10561 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10563 * tools/gst-md5sum.c: (event_loop), (main):
10564 * tools/gst-typefind.c: (main):
10565 * tools/gst-xmlinspect.c: (print_element_info):
10567 Added GstBus for mainloop integration.
10568 Added GstMessage for sending notifications on the bus.
10569 Added GstTask as an abstraction for pipeline entry points.
10571 Removed Schedulers.
10572 Simplified GstQueue for multithreaded core.
10573 Made _link threadsafe, removed old capsnego.
10574 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10575 Added pad blocking functions.
10576 Reworked scheduling functions in GstPad to prepare for
10577 scheduling updates soon.
10578 Moved events out of data stream.
10579 Simplified GstEvent types.
10580 Added return values to push/pull.
10581 Removed clocking from GstElement.
10582 Added prototypes for state change function for next merge.
10583 Removed iterate from bins and state change management.
10584 Fixed some elements, disabled others for now.
10585 Fixed -inspect and -launch.
10586 Added check for GstBus.
10588 2005-03-10 Wim Taymans <wim@fluendo.com>
10590 * docs/design/part-MT-refcounting.txt:
10591 * docs/design/part-clocks.txt:
10592 * docs/design/part-gstelement.txt:
10593 * docs/design/part-gstobject.txt:
10594 * docs/design/part-standards.txt:
10595 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10596 (gst_bin_remove_func), (gst_bin_remove):
10600 * testsuite/clock/clock1.c: (main):
10601 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10603 * testsuite/dlopen/loadgst.c: (do_test):
10604 * testsuite/refcounting/bin.c: (add_remove_test1),
10605 (add_remove_test2), (main):
10606 * testsuite/refcounting/element.c: (main):
10607 * testsuite/refcounting/element_pad.c: (main):
10608 * testsuite/refcounting/pad.c: (main):
10609 * tools/gst-launch.c: (sigint_handler_sighandler):
10610 * tools/gst-typefind.c: (main):
10612 Added doc about clock.
10613 removed gst_bin_iterate_recurse_up(), marked methods
10615 Fix more testsuites.
10617 2005-03-09 Wim Taymans <wim@fluendo.com>
10619 * gst/gstpad.c: (gst_pad_get_direction),
10620 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10621 (gst_pad_collect_valist):
10622 * testsuite/bins/interface.c: (main):
10623 * testsuite/caps/audioscale.c: (test_caps):
10624 * testsuite/caps/caps.c: (test1), (test2), (test3):
10625 * testsuite/caps/deserialize.c: (main):
10626 * testsuite/caps/enumcaps.c: (main):
10627 * testsuite/caps/filtercaps.c: (main):
10628 * testsuite/caps/intersect2.c: (main):
10629 * testsuite/caps/random.c: (main):
10630 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10631 * testsuite/caps/sets.c: (check_caps):
10632 * testsuite/caps/simplify.c: (check_caps), (main):
10633 * testsuite/caps/subtract.c: (check_caps):
10634 Fix _pad_get_direction wrt ghostpads.
10635 Fix caps testsuite.
10637 2005-03-09 Wim Taymans <wim@fluendo.com>
10639 * check/Makefile.am:
10640 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10641 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10642 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10643 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10644 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10645 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10646 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10647 (bin_element_is_sink), (gst_bin_iterate_sinks),
10648 (gst_bin_iterate_all_by_interface):
10650 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10651 (gst_element_change_state), (gst_element_dispose),
10652 (gst_element_finalize), (gst_element_set_loop_function):
10653 * gst/gstelement.h:
10654 * gst/gstiterator.c: (find_custom_fold_func):
10655 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10656 (gst_pad_collectv), (gst_pad_collect_valist),
10657 (gst_pad_template_new):
10658 * gst/gstpipeline.c: (gst_pipeline_class_init),
10659 (gst_pipeline_dispose), (gst_pipeline_set_property),
10660 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10661 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10662 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10664 * gst/schedulers/entryscheduler.c:
10665 * gst/schedulers/gstbasicscheduler.c:
10666 (gst_basic_scheduler_cothreaded_chain),
10667 (gst_basic_scheduler_chain_add_element):
10668 * testsuite/bins/interface.c: (main):
10670 Added GstSystemClock test.
10671 Implemented clock distribution code in GstBin.
10672 Implemented iterate sinks method for future use.
10673 Rearranged gstelement.h
10674 Fix GstIterator comparison bug.
10675 Moved some code to GstPipeline, mostly clocking related.
10677 2005-03-09 Wim Taymans <wim@fluendo.com>
10680 * gst/gst_private.h:
10681 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10682 (gst_bin_remove_func), (gst_bin_remove),
10683 (gst_bin_get_by_name_recurse_up):
10684 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10685 (gst_clock_id_compare_func), (gst_clock_id_wait),
10686 (gst_clock_id_wait_async), (gst_clock_init),
10687 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10688 * gst/gstelement.h:
10689 * gst/gstinfo.c: (_gst_debug_init):
10691 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10692 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10694 Bump version number, we're now 0.9.0
10695 Add future debugging category.
10696 Fix NULL _unref() in _get_by_name_recurse_up
10697 Rearrange gstpad.h.
10700 2005-03-08 Wim Taymans <wim@fluendo.com>
10702 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10703 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10704 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10705 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10706 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10707 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10708 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10709 * gst/elements/gstidentity.c: (gst_identity_class_init):
10710 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10711 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10712 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10713 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10714 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10716 * gst/gstelement.c: (gst_element_class_init),
10717 (gst_element_base_class_init), (gst_element_init),
10718 (gst_element_get_random_pad), (gst_element_wait_state_change),
10719 (gst_element_change_state), (gst_element_dispose),
10720 (gst_element_finalize), (gst_element_set_loop_function):
10721 * gst/gstelement.h:
10722 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10723 * gst/gstthread.c: (gst_thread_class_init),
10724 (gst_thread_release_children_locks), (gst_thread_change_state):
10725 * gst/schedulers/gstbasicscheduler.c:
10726 (gst_basic_scheduler_loopfunc_wrapper),
10727 (gst_basic_scheduler_chain_wrapper),
10728 (gst_basic_scheduler_src_wrapper),
10729 (gst_basic_scheduler_remove_element):
10730 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10731 Remove threadsafe properties. Fix elements because GObject
10732 complains when installing a property before declaring a
10733 set/get_property handler.
10734 Rearrange gstelement.h file, use STATE macros for state locks.
10735 Free mutexes in the finalize method instead of dispose.
10737 2005-03-08 Wim Taymans <wim@fluendo.com>
10739 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10740 * gst/gstthread.c: (gst_thread_release_children_locks):
10741 Added parentage check.
10742 Fix build og GstThread again.
10744 2005-03-08 Wim Taymans <wim@fluendo.com>
10746 * docs/design/part-MT-refcounting.txt:
10747 * docs/design/part-conventions.txt:
10748 * docs/design/part-gstobject.txt:
10749 * docs/design/part-relations.txt:
10750 * docs/design/part-standards.txt:
10751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10752 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10753 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10754 (gst_bin_iterate_all_by_interface):
10757 * gst/gstelement.c: (gst_element_class_init),
10758 (gst_element_change_state), (gst_element_set_loop_function):
10759 * gst/gstelement.h:
10760 * gst/gstiterator.c:
10761 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10762 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10763 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10764 (gst_object_set_parent), (gst_object_unparent),
10765 (gst_object_check_uniqueness):
10767 Docs updates, clean up some headers.
10769 2005-03-07 Wim Taymans <wim@fluendo.com>
10771 * check/.cvsignore:
10772 * check/Makefile.am:
10773 * check/gst-libs/.cvsignore:
10774 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10775 * check/gst/.cvsignore:
10776 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10777 (START_TEST), (gstbus_suite), (main):
10778 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10779 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10780 (gst_data_suite), (main):
10781 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10782 (add_fold_func), (gstiterator_suite), (main):
10783 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10784 (thread_name_object), (thread_name_object_default),
10785 (gst_object_name_compare), (gst_object_suite), (main):
10786 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10787 (gst_pad_suite), (main):
10788 * check/gstcheck.c: (gst_check_log_message_func),
10789 (gst_check_log_critical_func), (gst_check_init):
10790 * check/gstcheck.h:
10791 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10792 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10795 2005-03-07 Wim Taymans <wim@fluendo.com>
10797 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10798 (gst_list_iterator_next), (gst_list_iterator_resync),
10799 (gst_list_iterator_free), (gst_iterator_new_list),
10800 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10801 (gst_iterator_free), (gst_iterator_push), (filter_next),
10802 (filter_resync), (filter_uninit), (filter_free),
10803 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10804 (gst_iterator_foreach), (find_custom_fold_func),
10805 (gst_iterator_find_custom):
10806 * gst/gstiterator.h:
10807 Added missing files.
10809 2005-03-07 Wim Taymans <wim@fluendo.com>
10813 * docs/design/part-MT-refcounting.txt:
10814 * docs/design/part-conventions.txt:
10815 * docs/design/part-gstobject.txt:
10816 * docs/design/part-relations.txt:
10817 * examples/mixer/mixer.c: (main):
10818 * examples/thread/thread.c: (eos), (main):
10820 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10821 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10822 (gst_spider_plug_from_srcpad):
10823 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10824 (gst_spider_identity_change_state),
10825 (gst_spider_identity_sink_loop_type_finding):
10826 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10827 * gst/elements/gstidentity.c: (gst_identity_init):
10828 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10829 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10830 * gst/elements/gsttypefindelement.c: (free_entry):
10833 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10834 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10835 (gst_bin_set_index), (gst_bin_set_element_sched),
10836 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10837 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10838 (gst_bin_iterate_elements), (iterate_child_recurse),
10839 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10840 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10841 (compare_interface), (gst_bin_get_by_interface),
10842 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10844 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10845 (gst_buffer_default_free), (gst_buffer_default_copy),
10846 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10847 (gst_buffer_create_sub):
10849 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10850 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10851 (gst_caps_unref), (gst_static_caps_get),
10852 (gst_caps_remove_and_get_structure), (gst_caps_append),
10853 (gst_caps_append_structure), (gst_caps_remove_structure),
10854 (gst_caps_copy_nth), (gst_caps_set_simple),
10855 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10856 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10857 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10858 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10859 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10860 (gst_caps_structure_figure_out_union),
10861 (gst_caps_switch_structures), (gst_caps_do_simplify),
10862 (gst_caps_replace), (gst_caps_from_string),
10863 (gst_caps_copy_conditional):
10865 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10866 (_gst_clock_id_free), (gst_clock_id_unref),
10867 (gst_clock_id_compare_func), (gst_clock_id_wait),
10868 (gst_clock_id_wait_async), (gst_clock_class_init),
10869 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10870 (gst_clock_get_time), (gst_clock_set_time_adjust),
10871 (gst_clock_set_property), (gst_clock_get_property):
10874 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10875 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10877 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10878 (gst_element_requires_clock), (gst_element_provides_clock),
10879 (gst_element_set_clock), (gst_element_clock_wait),
10880 (gst_element_wait), (gst_element_set_time_delay),
10881 (gst_element_is_indexable), (gst_element_add_pad),
10882 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10883 (pad_compare_name), (gst_element_get_static_pad),
10884 (gst_element_request_pad), (gst_element_get_request_pad),
10885 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10886 (gst_element_class_get_pad_template_list),
10887 (gst_element_class_get_pad_template), (gst_element_error_func),
10888 (gst_element_get_random_pad), (gst_element_get_event_masks),
10889 (gst_element_send_event), (gst_element_seek),
10890 (gst_element_get_query_types), (gst_element_query),
10891 (gst_element_get_formats), (gst_element_convert),
10892 (gst_element_is_locked_state), (gst_element_set_locked_state),
10893 (gst_element_sync_state_with_parent), (gst_element_change_state),
10894 (gst_element_finalize), (gst_element_yield),
10895 (gst_element_interrupt), (gst_element_set_scheduler),
10896 (gst_element_get_scheduler), (gst_element_set_loop_function):
10897 * gst/gstelement.h:
10899 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10900 (gst_format_get_by_nick), (gst_format_get_details),
10901 (gst_format_iterate_definitions):
10903 * gst/gstindex.c: (gst_index_gtype_resolver):
10906 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10907 (gst_mem_chunk_free):
10908 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10909 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10910 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10911 (gst_object_dispatch_properties_changed),
10912 (gst_object_set_name_default), (gst_object_set_name),
10913 (gst_object_get_name), (gst_object_set_name_prefix),
10914 (gst_object_get_name_prefix), (gst_object_set_parent),
10915 (gst_object_get_parent), (gst_object_unparent),
10916 (gst_object_check_uniqueness), (gst_object_save_thyself),
10917 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10918 (gst_object_set_property), (gst_object_get_property),
10919 (gst_object_get_path_string):
10921 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10922 (gst_real_pad_init), (gst_real_pad_get_property),
10923 (gst_pad_custom_new), (gst_pad_get_direction),
10924 (gst_pad_set_active), (gst_pad_is_active),
10925 (gst_pad_set_event_function), (gst_pad_is_linked),
10926 (gst_pad_link_free), (gst_pad_link_intersect),
10927 (gst_pad_link_fixate), (gst_pad_set_caps),
10928 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10929 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10930 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10931 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10932 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10933 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10934 (gst_pad_realize), (gst_pad_get_allowed_caps),
10935 (gst_real_pad_dispose), (gst_real_pad_finalize),
10936 (gst_pad_collectv), (gst_pad_collect_valist),
10937 (gst_pad_template_dispose), (gst_pad_template_new),
10938 (gst_pad_get_internal_links):
10940 * gst/gstpipeline.c: (gst_pipeline_dispose),
10941 (gst_pipeline_change_state):
10942 * gst/gstpipeline.h:
10944 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10945 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10946 * gst/gstpluginfeature.h:
10947 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10948 * gst/gstquery.c: (_gst_query_type_initialize),
10949 (gst_query_type_register), (gst_query_type_get_by_nick),
10950 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10952 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10953 * gst/gstscheduler.c: (gst_scheduler_add_element),
10954 (gst_scheduler_factory_create):
10955 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10956 (gst_structure_free), (gst_structure_set_name),
10957 (gst_structure_id_set_value), (gst_structure_set_value),
10958 (gst_structure_set_valist), (gst_structure_remove_field),
10959 (gst_structure_remove_fields),
10960 (gst_structure_remove_fields_valist),
10961 (gst_structure_remove_all_fields), (gst_structure_foreach),
10962 (gst_structure_map_in_place),
10963 (gst_caps_structure_fixate_field_nearest_int),
10964 (gst_caps_structure_fixate_field_nearest_double):
10965 * gst/gststructure.h:
10966 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10967 (gst_system_clock_init), (gst_system_clock_dispose),
10968 (gst_system_clock_async_thread),
10969 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10970 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10971 * gst/gstsystemclock.h:
10972 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10973 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10974 * gst/gsttaginterface.c:
10975 * gst/gstthread.c: (gst_thread_dispose),
10976 (gst_thread_release_children_locks), (gst_thread_change_state),
10977 (gst_thread_main_loop):
10978 * gst/gsttrashstack.h:
10979 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10981 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10982 (gst_element_request_pad), (gst_element_get_pad_from_template),
10983 (gst_element_request_compatible_pad),
10984 (gst_element_get_compatible_pad_filtered),
10985 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10986 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10987 (gst_element_link_many), (gst_element_link),
10988 (gst_element_link_pads), (gst_element_unlink_pads),
10989 (gst_element_unlink_many), (gst_element_unlink),
10990 (gst_pad_can_link_filtered), (gst_pad_can_link),
10991 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10992 (gst_object_default_error), (gst_bin_add_many),
10993 (gst_bin_remove_many), (gst_element_populate_std_props),
10994 (gst_element_class_install_std_props), (gst_buffer_merge),
10995 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10996 (link_fold_func), (gst_pad_proxy_setcaps):
10998 * gst/gstvalue.c: (gst_value_deserialize_string):
10999 * gst/parse/grammar.y:
11000 * gst/schedulers/gstbasicscheduler.c:
11001 (gst_basic_scheduler_cothreaded_chain),
11002 (gst_basic_scheduler_chain_recursive_add),
11003 (gst_basic_scheduler_pad_link):
11004 * gst/schedulers/gstoptimalscheduler.c:
11005 (get_group_schedule_function),
11006 (gst_opt_scheduler_state_transition),
11007 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11008 * libs/gst/bytestream/bytestream.c:
11009 * libs/gst/dataprotocol/dataprotocol.c:
11010 (gst_dp_header_from_buffer):
11013 * tests/threadstate/threadstate2.c: (eos):
11014 * tools/gst-compprep.c: (main):
11015 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11016 (print_pad_info), (print_children_info):
11017 * tools/gst-launch.c: (idle_func), (main):
11018 * tools/gst-md5sum.c: (idle_func), (main):
11019 * tools/gst-xmlinspect.c: (print_element_info):
11020 First THREADED backport attempt, focusing on adding locks and
11021 making sure the API is threadsafe. Needs more work. More docs
11024 2005-02-24 Andy Wingo <wingo@pobox.com>
11026 * tests/bench-complexity.scm:
11027 * tests/complexity.gnuplot: New files, good for running complexity
11030 * tests/Makefile.am:
11031 * tests/complexity.c: New test, sets up N elements, at each level
11032 teeing into M streams per element. Eeeenteresting.
11034 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11035 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11036 running bench-mass_elements.scm.
11038 * tests/bench-mass_elements.scm: New script, runs mass_elements
11039 for various numbers of identities, outputting the results to a
11040 file. Requires guile 1.6. Just for testing.
11042 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11044 * gst/schedulers/fairscheduler.c:
11045 compile with debug disabled
11047 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11050 hunting season on 0.9 is now OPEN