1 2005-11-18 Andy Wingo <wingo@pobox.com>
3 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
4 Whoops, check the right fd. Also add some debugging.
5 (gst_net_client_clock_observe_times): Adjust for int64 offset.
6 (do_linear_regression): Add a crapload of debugging. Subtract off
7 the minimum values from the input series to discard unneeded bits.
8 Use only int arithmetic. There is still double arithmetic when
9 calculating the intercept that needs fixing. Return boolean to
10 indicate success; FALSE would mean the domain or range is too
11 great. Still needs fixes.
13 2005-11-18 Wim Taymans <wim@fluendo.com>
15 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16 For the current position in stream time, we need to subtract
19 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
20 Release lock before calling the callback function of async
23 2005-11-18 Andy Wingo <wingo@pobox.com>
25 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
26 Port goes all the way to MAXUINT16.
28 * gst/net/gstnettimeprovider.c: Make the port range the same as
29 for the kernel: 0 assigns, otherwise ports are less than
32 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
35 * check/net/gstnetclientclock.c (test_functioning): Add the start
38 2005-11-18 Wim Taymans <wim@fluendo.com>
40 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
41 (gst_bin_remove_func), (bin_bus_handler):
43 Removing a clock provider from a bin, triggers a clock lost message
44 so that a new clock will be selected.
45 Adding a clock to a bin triggers a clock provider message.
46 Make sure we reselect a clock when we received a clock lost message.
47 Keep a reference to the element that provided the clock.
49 2005-11-18 Andy Wingo <wingo@pobox.com>
51 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
52 the clock initially so it produces values around the base time.
53 (gst_net_client_clock_class_init): Typo fix.
54 (gst_net_client_clock_thread): Add note on when the socket gets
57 2005-11-17 Wim Taymans <wim@fluendo.com>
59 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
60 Free remote and local time arrays.
62 2005-11-17 Wim Taymans <wim@fluendo.com>
64 * gst/net/gstnetclientclock.c: (do_linear_regression),
65 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
66 Fix compilation, uninitialized vars and a forgotten continue.
68 2005-11-17 Andy Wingo <wingo@pobox.com>
70 * check/Makefile.am (check_PROGRAMS):
71 * check/net/gstnetclientclock.c: Add a most minimal test for the
72 net client clock. More to come later.
75 * gst/net/Makefile.am: Add netclientclock.
77 * gst/net/gstnetclientclock.h:
78 * gst/net/gstnetclientclock.c: New files, implement an untested
79 GstClock that takes its time from a network time provider.
80 Implements the algorithm in network-clock.scm.
82 * tests/network-clock.scm (*window-size*): Rename from
84 * tests/network-clock.scm (network-time):
85 * tests/network-clock-utils.scm (q-push): Update callers.
87 2005-11-17 Wim Taymans <wim@fluendo.com>
89 * gst/gstbin.c: (gst_bin_provide_clock_func),
90 (gst_bin_sort_iterator_new):
91 And unref the child too..
93 2005-11-17 Wim Taymans <wim@fluendo.com>
95 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
96 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
97 Refactor the sort iterator so it can be used while holding the
99 Make clock selection select a clock closest to the source.
101 2005-11-17 Michael Smith <msmith@fluendo.com>
103 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
104 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
106 Anonymous structs are a gcc (and some other compilers) extension, so
107 don't use them. Since this is only for ABI-compatibility, and our
108 API/ABI freeze is over in a few days, this whole thing will only
109 last a few days, so don't bother trying to think up a meaningful
112 2005-11-17 Andy Wingo <wingo@pobox.com>
114 * gst/gstclock.h (GstClock): Add rate and offset properties,
115 preserving ABI stability. Add rate/offset accessors. Will file bug
116 for the freeze break.
118 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
119 and offset, trying to keep precision and avoiding
121 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
122 functions. Make gst_clock_set_time_adjust obsolete.
123 (gst_clock_set_time_adjust): Note that this function is obsolete.
126 * gst/base/gstbasetransform.h: Make the ABI-stability hack
127 greppable by using GST_PADDING-1+1.
129 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
131 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
133 * gst/gstmessage.c: (gst_message_parse_clock_lost):
134 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
136 * gst/gstpadtemplate.h:
137 * gst/gstpluginfeature.h:
138 Don't use c++ style comments in headers (#321638).
140 2005-11-16 Andy Wingo <wingo@pobox.com>
142 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
145 * check/net/gstnettimeprovider.c: Check to see that the time
146 provider actually provides times. Works, yo!
148 2005-11-16 Wim Taymans <wim@fluendo.com>
153 * check/elements/fakesrc.c: (GST_START_TEST):
154 Set element to NULL before disposing it.
156 2005-11-16 Andy Wingo <wingo@pobox.com>
158 * gst/net/Makefile.am:
160 * gst/net/gstnettimeprovider.c:
161 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
162 provider, include it from gstnet.h, and add it to the build.
164 * gst/net/gstnettimepacket.h:
165 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
166 sending and receiving.
168 2005-11-16 Wim Taymans <wim@fluendo.com>
171 Enable valgrind check.
173 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
174 (gst_fake_src_alloc_buffer):
177 2005-11-16 Wim Taymans <wim@fluendo.com>
179 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
180 Call parent finalize too.
182 2005-11-16 Wim Taymans <wim@fluendo.com>
185 Enable valgrind check that should work fine now.
187 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
188 * gst/gstqueue.c: (gst_queue_init):
189 Fix memleaks in pad allocation.
191 2005-11-16 Andy Wingo <wingo@pobox.com>
193 * gst/net/Makefile.am:
194 * gst/net/gstnet.h: New part of core to hold network elements and
195 objects. Put in core because it exposes API that applications want
196 to use. The library is named libgstnet-tempname right now because
197 of the existing libgstnet in gst-plugins-base. Solution is
198 probably to rename the one in plugins-base; will file a bug for
201 * gst/net/gstnettimeprovider.c:
202 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
203 get_time call over the network.
206 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
209 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
210 get additions shortly.
212 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
214 * gst/gstpad.c: (gst_pad_new_from_static_template):
216 add gst_pad_new_from_static_template functions
217 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
218 (gst_check_setup_sink_pad):
219 * gst/elements/gsttee.c: (gst_tee_init):
222 2005-11-16 Wim Taymans <wim@fluendo.com>
224 * gst/gstpad.c: (gst_pad_pause_task):
225 Removed warning, it's not really an error either.
227 2005-11-16 Wim Taymans <wim@fluendo.com>
229 * gst/base/gstbasetransform.c:
230 (gst_base_transform_prepare_output_buf),
231 (gst_base_transform_event):
232 Check if the caps are NULL, this can happen if the element
233 is shutting down and the pad caps are set to NULL.
235 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
237 * gst/elements/gsttee.c: (gst_tee_init):
238 fix pad tempalte leak in tee
240 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
242 * gst/glib-compat.c: (g_value_dup_gst_object):
244 * gst/gstpad.c: (gst_pad_set_property):
245 use gst_object_ref when setting the pad template; this will
246 trigger the pad template leaks on GLib 2.6 and the slaves
248 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
250 * gst/glib-compat.c: (gst_flags_get_first_value):
252 * gst/gstregistryxml.c:
253 remove functions copied from GLib 2.6
255 2005-11-16 Michael Smith <msmith@fluendo.com>
258 Don't link against VALGRIND_LIBS. That was always the wrong thing to
259 do, but only breaks with newer valgrind versions. We're not a
260 valgrind tool, we have no link-time dependencies on libcoregrind.
262 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
264 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
269 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
271 * gst/base/gstbasesrc.c: (gst_base_src_init):
272 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
273 * gst/gstqueue.c: (gst_queue_init):
274 * gst/gstregistryxml.c: (load_feature):
275 Revert all these unrefs, they don't even pass make check !
277 2005-11-15 Johan Dahlin <johan@gnome.org>
279 * gst/base/gstbasesrc.c: (gst_base_src_init):
280 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
281 * gst/gstqueue.c: (gst_queue_init):
282 Free pad templates, fixes a couple of leaks.
284 2005-11-15 Daniel Fischer <dan at f3c dot com>
286 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
288 * gst/gstpad.c: (gst_pad_get_property):
289 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
290 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
293 2005-11-15 Wim Taymans <wim@fluendo.com>
298 2005-11-15 Andy Wingo <wingo@pobox.com>
300 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
302 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
303 using GST_CLOCK_TIME_NONE to disable base time management.
304 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
305 time if it was NONE before.
306 (gst_pipeline_change_state): Only munge the base time if
307 stream_time != GST_CLOCK_TIME_NONE.
309 * check/gst/gstpipeline.c (test_base_time): Punt around the
310 problem of the probe not being called, because that's not the
311 issue I'm looking at. Add a check that setting stream_time to NONE
312 disables base time management.
314 2005-11-15 Wim Taymans <wim@fluendo.com>
316 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
317 segment_stop == -1 at startup.
319 * gst/base/gstbasetransform.c: (gst_base_transform_event),
320 (gst_base_transform_change_state):
321 Init segment values at start.
323 2005-11-15 Wim Taymans <wim@fluendo.com>
325 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
326 0 segment values are 0 in any format.
328 * gst/base/gstbasetransform.c: (gst_base_transform_event):
329 * gst/base/gstbasetransform.h:
330 Parse newsegment correctly in basetransform
332 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
333 Sync to clock using updated segment values.
335 2005-11-15 Andy Wingo <wingo@pobox.com>
337 * check/gst/gstpipeline.c (test_base_time): Add check that the
338 base time and stream time are reset correctly.
340 2005-11-15 Wim Taymans <wim@fluendo.com>
342 * docs/design/part-TODO.txt:
343 Some more TODO items.
345 2005-11-15 Andy Wingo <wingo@pobox.com>
347 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
348 error if the user selected "no clock" as the clocking method.
350 * check/gst/gstpipeline.c (test_base_time): New test for buffer
351 timestamps with live capture.
353 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
354 is 0 but we are a live source, timestamp the buffers using the
357 2005-11-14 Stefan Kost <ensonic@users.sf.net>
359 * docs/gst/gstreamer-sections.txt:
366 2005-11-14 Wim Taymans <wim@fluendo.com>
369 add suppressions from Wim's Debian machine
371 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
374 add suppressions from Andy's AMD64 Ubuntu machine
376 2005-11-14 Andy Wingo <wingo@pobox.com>
378 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
379 STATE_LOCK not necessary. Fixes #311489.
381 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
384 * gst/gstindex.c (gst_index_add_object): Note in the docs that
385 this function is not implemented.
387 2005-11-14 Julien MOUTTE <julien@moutte.net>
389 * gst/base/gstbasetransform.c:
390 (gst_base_transform_prepare_output_buf):
391 Ref the source pad caps while we need them.
394 2005-11-11 Wim Taymans <wim@fluendo.com>
396 * docs/gst/gstreamer-sections.txt:
397 Added some docs for GstCollectData.
399 * gst/base/gstadapter.c:
400 Some small code example fix.
402 * gst/base/gstcollectpads.c:
403 * gst/base/gstcollectpads.h:
406 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
408 * configure.ac: back to HEAD
410 === release 0.9.5 ===
412 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
415 releasing 0.9.5, "Bike Lunch Day"
417 2005-11-11 Wim Taymans <wim@fluendo.com>
419 * gst/gstbuffer.c: (_gst_buffer_copy):
422 * gst/gstcaps.c: (gst_caps_is_equal):
424 Make _is_equal fast in the trivial cases.
426 * gst/gstminiobject.c:
427 * gst/gstminiobject.h:
428 More docs. Spifify .h file.
433 2005-11-11 Wim Taymans <wim@fluendo.com>
435 * gst/base/gstbasetransform.c:
436 (gst_base_transform_prepare_output_buf),
437 (gst_base_transform_handle_buffer):
439 If we're processing a buffer and need to allocate an output
440 buffer, we cannot accept a format change. If we did get a
441 format change, we have to alloc a buffer ourselves of the
444 2005-11-11 Wim Taymans <wim@fluendo.com>
446 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
447 While checking the flag for reentrancy in the gstcaps function
448 is nice to detect recursive invocations, it also makes it
449 impossible to call getcaps from multiple threads, which must be
450 possible. So, checking for recursive calls has to go.
452 2005-11-11 Michael Smith <msmith@fluendo.com>
454 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
455 Don't sync on buffers that fall partially outside our current
456 segment. Prevents an assertion failure/abort playing some files.
458 2005-11-10 Andy Wingo <wingo@pobox.com>
460 * check/gst/gstbin.c (test_message_state_changed_children): Style
463 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
464 gst_bus_poll with the signal watch. Ensures that poll and a signal
465 watch see the same messages.
467 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
468 a poll and a watch at the same time get the same messages.
470 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
472 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
473 * gst/gstcaps.c: (gst_caps_intersect):
474 Don't call gst_caps_do_simplify - it doesn't respect order of caps
477 2005-11-10 Wim Taymans <wim@fluendo.com>
479 * docs/design/part-TODO.txt:
482 2005-11-10 Wim Taymans <wim@fluendo.com>
484 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
485 * gst/base/gstbasesrc.c: (gst_base_src_wait),
486 (gst_base_src_do_sync), (gst_base_src_get_range):
487 Implement clock sync in base class.
489 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
491 patch by: Tim-Philipp Müller <tim at centricular dot net>
493 * gst/gststructure.c: (gst_structure_parse_field),
494 (gst_structure_from_string):
495 Forward-port a 0.8 patch to handle escaped spaces in structure string,
496 so that gst_parse_launch() can deal with spaces in filtered link
498 * check/gst/capslist.h:
499 * check/gst/gststructure.c: (GST_START_TEST):
500 add unit tests for this change
502 2005-11-10 Wim Taymans <wim@fluendo.com>
504 * docs/gst/gstreamer-sections.txt:
507 Fix docs, move some STATE macros to private.
509 2005-11-10 Wim Taymans <wim@fluendo.com>
511 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
512 Added check for bug #317341
516 Some more spiffifying.
518 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
519 Call peer linkfunction if we are a source pad. Totally fixes
523 Update docs, source pads should call the peer linkfunction
524 so they can atomically perform the pad link.
526 2005-11-09 Wim Taymans <wim@fluendo.com>
530 Uber-spiffy-spiffify some more.
532 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
534 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
535 * gst/elements/gstfilesink.c: (gst_file_sink_init):
536 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
537 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
538 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
539 * gst/gstpad.c: (gst_pad_init):
540 Use GST_DEBUG_FUNCPTR() more extensively.
542 2005-11-09 Wim Taymans <wim@fluendo.com>
544 * gst/gstobject.c: (gst_object_class_init):
548 2005-11-09 Edward Hervey <edward@fluendo.com>
550 * gst/gsttypefindfactory.c:
553 2005-11-09 Edward Hervey <edward@fluendo.com>
555 * gst/base/gsttypefindhelper.c:
560 2005-11-09 Wim Taymans <wim@fluendo.com>
569 2005-11-09 Wim Taymans <wim@fluendo.com>
575 2005-11-09 Wim Taymans <wim@fluendo.com>
577 * docs/gst/gstreamer-sections.txt:
578 Moved the message async delivery private lock and cond
579 to the private section.
585 2005-11-09 Edward Hervey <edward@fluendo.com>
587 * docs/gst/gstreamer-sections.txt:
590 Document GstURIHandler
592 2005-11-09 Wim Taymans <wim@fluendo.com>
594 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
595 (gst_iterator_find_custom):
599 2005-11-09 Wim Taymans <wim@fluendo.com>
602 Document another field.
604 * gst/gststructure.c:
605 * gst/gststructure.h:
608 2005-11-09 Wim Taymans <wim@fluendo.com>
613 2005-11-09 Wim Taymans <wim@fluendo.com>
615 * docs/gst/gstreamer-sections.txt:
616 Added some new macros.
623 2005-11-09 Wim Taymans <wim@fluendo.com>
625 * docs/design/part-TODO.txt:
626 Some more items for the TODO
632 2005-11-09 Andy Wingo <wingo@pobox.com>
634 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
635 to work on something else now tho...
637 * gst/base/gstadapter.c: More adapter docs.
639 * gst/elements/gstfilesink.c (gst_file_sink_start)
640 (gst_file_sink_stop): New functions, replace the state change
642 (gst_file_sink_class_init): Hook up the start and stop functions.
643 (gst_file_sink_base_init): Don't set the state change handler any
644 more. It was a bit ugly too, being set from here...
645 (gst_file_sink_get_property, gst_file_sink_set_property):
647 (gst_file_sink_set_location): More robust check that doesn't call
650 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
652 * gst/base/gstbasetransform.c: (gst_base_transform_event):
653 Hold STREAM_LOCK while pushing newsegment or tag events as well.
655 2005-11-08 Wim Taymans <wim@fluendo.com>
657 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
658 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
659 (gst_base_sink_chain), (gst_base_sink_change_state):
660 * gst/base/gstbasesink.h:
661 * gst/base/gstbasesrc.h:
664 Avoid excessive typechecking in macros.
666 * gst/gstminiobject.c: (gst_mini_object_get_type),
667 (gst_mini_object_init), (gst_mini_object_new),
668 (gst_mini_object_free):
669 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
670 (gst_object_finalize):
671 Remove cruft code, optimize alloc_trace.
673 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
675 * docs/faq/gst-uninstalled:
676 fix up PS1 for systems that try to reset it
678 2005-11-07 Wim Taymans <wim@fluendo.com>
680 * gst/base/gstbasesrc.c: (gst_base_src_init),
681 (gst_base_src_get_range):
682 Set the segment_end to -1 initially. Fixed typefind.
684 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
686 * gst/base/gstadapter.c:
687 Debug category should be 'adapter', not 'GstAdapter'.
689 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
690 (gst_collectpads_class_init), (gst_collectpads_init),
691 (gst_collectpads_peek), (gst_collectpads_pop),
692 (gst_collectpads_event), (gst_collectpads_chain):
693 Add debug category and some debugging output. Use boilerplate
694 macros. Remove some extraneous words from docs.
696 2005-11-05 Andy Wingo <wingo@pobox.com>
698 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
701 2005-11-04 Stefan Kost <ensonic@users.sf.net>
703 * docs/gst/gstreamer-sections.txt:
706 * gst/gstminiobject.h:
711 2005-11-04 Wim Taymans <wim@fluendo.com>
713 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
714 Small update to stop at the configured segment_end
717 2005-11-04 Stefan Kost <ensonic@users.sf.net>
723 2005-11-04 Edward Hervey <edward@fluendo.com>
725 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
726 Check if we are doing a segment seek and have arrived at the
729 2005-11-04 Wim Taymans <wim@fluendo.com>
731 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
732 Don't leak a mutex unlock in case of an error.
737 2005-11-04 Wim Taymans <wim@fluendo.com>
739 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
741 Get the context to wake up only once.
743 2005-11-03 Wim Taymans <wim@fluendo.com>
745 * check/states/sinks.c: (GST_START_TEST):
746 Uncomment fixed check.
748 * docs/design/part-TODO.txt:
751 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
752 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
753 (gst_base_sink_get_position):
754 If we are going to PLAYING, post the right pending state
755 when we post the intermediate paused message.
757 * gst/gstelement.c: (gst_element_continue_state),
758 (gst_element_set_state_func), (gst_element_change_state):
759 Don't post state changes that were between the same state
762 2005-11-03 Stefan Kost <ensonic@users.sf.net>
764 * docs/gst/gstreamer-sections.txt:
767 * gst/gstminiobject.h:
770 more docs and doc style fixes
772 2005-11-03 Stefan Kost <ensonic@users.sf.net>
774 * docs/gst/gstreamer-sections.txt:
776 * gst/gstminiobject.c:
779 2005-11-03 Andy Wingo <wingo@pobox.com>
781 * check/states/sinks.c (test_livesrc_sink): Add checks that the
782 state-changed messages actually have the right order and the right
785 2005-11-03 Wim Taymans <wim@fluendo.com>
787 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
788 Added some more checks. Specifically the case where NO_PREROLL
789 elements are in the pipeline.
791 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
792 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
793 (gst_base_sink_get_position):
794 Post READY->PAUSED state change messages too.
795 Fix bug where VOID was posted as pending state...
797 * gst/gstbin.c: (gst_bin_recalc_state):
798 use _element_continue_state() to continue the state change.
800 * gst/gstelement.c: (gst_element_continue_state),
801 (gst_element_commit_state), (gst_element_set_state_func),
802 (gst_element_change_state), (gst_element_change_state_func):
803 Lots of state change cleanups, assign the STATE_RETURN in
804 a new continue_state() function that also propagates the
805 last return value from a state change to the app.
806 Update some debug statements with proper category.
808 2005-11-03 Wim Taymans <wim@fluendo.com>
810 * docs/design/part-events.txt:
811 * docs/design/part-gstpipeline.txt:
812 * docs/design/part-messages.txt:
813 * docs/design/part-overview.txt:
814 * docs/design/part-seeking.txt:
815 * docs/design/part-states.txt:
816 * docs/design/part-trickmodes.txt:
817 * docs/manual/advanced-position.xml:
821 People think !! is ugly, this looks better.
823 * gst/gstpad.c: (gst_pad_set_blocked_async):
824 Remove !! since it's fixed elsewhere now.
826 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
828 * gst/gstminiobject.h:
830 Add !! to _FLAG_IS_SET macros to make the result boolean.
832 2005-11-03 Edward Hervey <edward@fluendo.com>
834 * gst/gstpad.c: (gst_pad_set_blocked_async):
835 comparing a flag and a gboolean rarely returns coherent results...
836 Added two characters (!!) to make that work correctly.
838 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
840 * gst/gstbus.c: (gst_bus_class_init):
843 * gst/gstqueue.c: (gst_queue_loop):
844 Don't assume a miniobject that isn't a buffer is an
845 event (it could be that there is a refcounting
846 problem somewhere and the pointer is stale and
847 refers to an already destroyed miniobject).
849 2005-11-03 Julien MOUTTE <julien@moutte.net>
851 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
853 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
855 * docs/manual/advanced-position.xml:
856 Update seek example and explanations to current 0.9 API.
858 * gst/elements/gsttypefindelement.c:
859 (gst_type_find_element_activate):
860 Remove FIXME comment now that the found caps
863 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
865 * gst/gstregistryxml.c: (load_feature):
866 Add another GST_STR_NULL instance
868 2005-11-02 Edward Hervey <edward@fluendo.com>
870 * gst/gstpad.c: (handle_pad_block):
871 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
873 2005-11-02 Wim Taymans <wim@fluendo.com>
878 * gst/gstelement.c: (gst_element_commit_state):
882 Mention that the returned element is reffed in the docs.
884 2005-11-02 Wim Taymans <wim@fluendo.com>
886 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
887 (gst_pad_push), (gst_pad_push_event):
888 Unlock blocked pads when they are flushed.
890 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
893 * docs/gst/gstreamer-sections.txt:
896 * gst/gstregistry.c: (gst_registry_scan_path_level):
897 fix for a nasty little missed situation where an installed plug-in
898 which was in the cache did not get overridden by an uninstalled one
899 which was earlier in the plugin path because the newly created plugin
900 for the uninstalled one (not in the registry) didn't get its
901 ->registered set to TRUE
903 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
905 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
906 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
907 (gst_collectpads_is_active), (gst_collectpads_collect),
908 (gst_collectpads_collect_range), (gst_collectpads_start),
909 (gst_collectpads_stop), (gst_collectpads_peek),
910 (gst_collectpads_pop), (gst_collectpads_available),
911 (gst_collectpads_read), (gst_collectpads_flush):
912 Guard public API with assertions.
915 Fix docs for gst_pad_set_link_function().
917 2005-11-02 Johan Dahlin <johan@gnome.org>
919 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
920 Unref found_caps after we used it.
922 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
924 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
925 Don't try to ref NULL.
927 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
929 * win32/common/config.h.in:
930 provide a GST_FUNCTION that just gives a string for now
932 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
934 * win32/common/gstenumtypes.c: (register_gst_object_flags),
935 (gst_object_flags_get_type), (register_gst_bin_flags),
936 (gst_bin_flags_get_type), (register_gst_buffer_flag),
937 (gst_buffer_flag_get_type), (register_gst_bus_flags),
938 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
939 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
940 (gst_clock_return_get_type), (register_gst_clock_entry_type),
941 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
942 (gst_clock_flags_get_type), (register_gst_state),
943 (gst_state_get_type), (register_gst_state_change_return),
944 (gst_state_change_return_get_type), (register_gst_state_change),
945 (gst_state_change_get_type), (register_gst_element_flags),
946 (gst_element_flags_get_type), (register_gst_core_error),
947 (gst_core_error_get_type), (register_gst_library_error),
948 (gst_library_error_get_type), (register_gst_resource_error),
949 (gst_resource_error_get_type), (register_gst_stream_error),
950 (gst_stream_error_get_type), (register_gst_event_type),
951 (gst_event_type_get_type), (register_gst_seek_type),
952 (gst_seek_type_get_type), (register_gst_seek_flags),
953 (gst_seek_flags_get_type), (register_gst_format),
954 (gst_format_get_type), (register_gst_index_certainty),
955 (gst_index_certainty_get_type), (register_gst_index_entry_type),
956 (gst_index_entry_type_get_type),
957 (register_gst_index_lookup_method),
958 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
959 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
960 (gst_index_resolver_method_get_type), (register_gst_index_flags),
961 (gst_index_flags_get_type), (register_gst_debug_level),
962 (gst_debug_level_get_type), (register_gst_debug_color_flags),
963 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
964 (gst_iterator_result_get_type), (register_gst_iterator_item),
965 (gst_iterator_item_get_type), (register_gst_message_type),
966 (gst_message_type_get_type), (register_gst_mini_object_flags),
967 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
968 (gst_pad_link_return_get_type), (register_gst_flow_return),
969 (gst_flow_return_get_type), (register_gst_activate_mode),
970 (gst_activate_mode_get_type), (register_gst_pad_direction),
971 (gst_pad_direction_get_type), (register_gst_pad_flags),
972 (gst_pad_flags_get_type), (register_gst_pad_presence),
973 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
974 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
975 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
976 (gst_plugin_error_get_type), (register_gst_plugin_flags),
977 (gst_plugin_flags_get_type), (register_gst_rank),
978 (gst_rank_get_type), (register_gst_query_type),
979 (gst_query_type_get_type), (register_gst_tag_merge_mode),
980 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
981 (gst_tag_flag_get_type), (register_gst_task_state),
982 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
983 (gst_alloc_trace_flags_get_type),
984 (register_gst_type_find_probability),
985 (gst_type_find_probability_get_type), (register_gst_uri_type),
986 (gst_uri_type_get_type), (register_gst_parse_error),
987 (gst_parse_error_get_type):
988 * win32/common/gstversion.h:
991 2005-11-01 Luca Ognibene <luogni@tin.it>
994 fix docs. popt is dead, long live GOption.
996 2005-10-31 Wim Taymans <wim@fluendo.com>
1001 2005-10-31 Andy Wingo <wingo@pobox.com>
1005 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1007 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1008 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1009 the possibility of deadlocks here if code calling notify() or
1010 set() has a lock that can be taken in another notify handler (ABBA
1011 with class lock and e.g. python GIL state lock).
1013 2005-10-28 Julien MOUTTE <julien@moutte.net>
1015 * gst/gstbus.c: Doc updates.
1017 2005-10-28 Wim Taymans <wim@fluendo.com>
1019 * docs/design/part-TODO.txt:
1020 * gst/gstiterator.c:
1021 * gst/gstsystemclock.c:
1022 * gst/gstsystemclock.h:
1025 2005-10-28 Edward Hervey <edward@fluendo.com>
1027 * docs/gst/gstreamer-docs.sgml:
1028 * docs/gst/gstreamer-sections.txt:
1029 the GstURIType documentation page is private, it only defines GstURIType
1030 which should be defined in the GstURIHandler page
1032 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1034 * gst/gstbin.c: (gst_bin_class_init):
1037 Documentation updates.
1039 2005-10-28 Wim Taymans <wim@fluendo.com>
1041 * docs/gst/gstreamer-sections.txt:
1044 Documented the clocks.
1046 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1048 * docs/gst/gstreamer-sections.txt:
1049 move some macros to private sections
1050 * gst/gstminiobject.c:
1051 * gst/gstminiobject.h:
1052 add descriptions provided by ds and some more
1054 mark macro as to be removed
1056 2005-10-28 Wim Taymans <wim@fluendo.com>
1058 * docs/design/part-TODO.txt:
1059 Add an item to TODO.
1061 * gst/gstiterator.c: (gst_iterator_fold),
1062 (gst_iterator_find_custom):
1063 * gst/gstiterator.h:
1066 2005-10-28 Wim Taymans <wim@fluendo.com>
1068 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1069 (gst_base_transform_init):
1072 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1073 An EOS event marks the queue as completely filled.
1075 2005-10-27 Wim Taymans <wim@fluendo.com>
1077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1078 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1079 Some more debugging.
1081 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1082 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1083 (gst_base_transform_event), (gst_base_transform_getrange),
1084 (gst_base_transform_chain):
1085 * gst/base/gstbasetransform.h:
1087 Protect transform and concurrent buffer alloc with a new lock.
1088 Try not to break ABI/API.
1090 2005-10-27 Wim Taymans <wim@fluendo.com>
1092 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1093 (gst_base_src_init), (gst_base_src_query),
1094 (gst_base_src_default_newsegment),
1095 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1096 (gst_base_src_send_event), (gst_base_src_event_handler),
1097 (gst_base_src_pad_get_range), (gst_base_src_loop),
1098 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1099 (gst_base_src_start), (gst_base_src_deactivate),
1100 (gst_base_src_activate_push), (gst_base_src_change_state):
1101 Move some stuff around and cleanup things.
1103 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1105 * gst/base/gstbasesrc.c: (gst_base_src_query):
1106 Add missing break statements.
1108 2005-10-27 Wim Taymans <wim@fluendo.com>
1110 * check/gst/gstbin.c: (GST_START_TEST):
1111 An extra refcount is taken in basesrc.
1113 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1114 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1115 (gst_base_src_loop):
1116 Small cleanups, check for flushing after being unlocked from the
1117 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1118 Don't send out EOS when going to READY.
1120 2005-10-27 Wim Taymans <wim@fluendo.com>
1122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1123 (gst_base_sink_get_position):
1126 * gst/gstbin.c: (message_check), (bin_replace_message),
1127 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1128 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1129 (bin_query_duration_init), (bin_query_duration_fold),
1130 (bin_query_duration_done), (bin_query_generic_fold),
1132 * tools/gst-launch.c: (main):
1135 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1137 * examples/controller/audio-example.c: (main):
1138 * examples/queue/queue.c: (event_loop):
1139 * gst/base/gstbasetransform.h:
1140 * gst/gstelement.c: (gst_element_send_event):
1142 * gst/gstpad.c: (gst_pad_send_event):
1145 changing log priority in error situations
1147 2005-10-25 Wim Taymans <wim@fluendo.com>
1149 * gst/gstbin.c: (message_check), (bin_replace_message),
1150 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1151 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1152 (bin_query_duration_init), (bin_query_duration_fold),
1153 (bin_query_duration_done), (bin_query_generic_fold),
1155 Some doc and debug updates.
1156 Cache previously requested query DURATION for speed. invalidate
1157 cached duration if element posts a DURATION message.
1159 2005-10-25 Wim Taymans <wim@fluendo.com>
1161 * docs/design/part-TODO.txt:
1164 * gst/gstbin.c: (message_check), (bin_replace_message),
1165 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1166 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1167 (bin_query_duration_init), (bin_query_duration_fold),
1168 (bin_query_duration_done), (bin_query_generic_fold),
1170 Handle SEGMENT_START/DONE messages correctly.
1171 More evolved query algorithm that handles duration queries
1174 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1175 (gst_element_get_state_func), (gst_element_abort_state),
1176 (gst_element_commit_state), (gst_element_lost_state):
1177 Some more debugging.
1182 2005-10-25 Wim Taymans <wim@fluendo.com>
1184 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1185 Don't use invalid stream_time.
1187 * gst/gstevent.c: (gst_event_new_newsegment):
1188 stream_time in newsegment cannot be undefined.
1190 2005-10-24 Wim Taymans <wim@fluendo.com>
1195 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1197 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1199 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1201 * docs/libs/tmpl/gstdparam.sgml:
1202 * docs/libs/tmpl/gstdplinint.sgml:
1203 * docs/libs/tmpl/gstdpman.sgml:
1204 * docs/libs/tmpl/gstdpsmooth.sgml:
1205 * docs/libs/tmpl/gstunitconvert.sgml:
1208 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1213 === release 0.9.4 ===
1215 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1218 releasing 0.9.4, "Tyrannosaurus Rex"
1220 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1222 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1223 (gst_file_sink_get_current_offset):
1224 Use fseeko() and ftello() if available. When falling back on
1225 lseek() to get the current offset, fflush() first to make sure
1226 everything is up-to-date and we get the right offset.
1228 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1230 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1231 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1232 * gst/gsterror.c: (_gst_stream_errors_init):
1234 * gst/gstqueue.c: (gst_queue_loop):
1236 remove prematurely added error category and clean up the instances
1238 2005-10-21 Wim Taymans <wim@fluendo.com>
1240 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1241 (gst_base_sink_get_position), (gst_base_sink_query),
1242 (gst_base_sink_change_state):
1243 Simply set the right flag when going to playing, that's all
1244 we need to do instead of calling a function inside the object
1245 lock (that could take the lock as well and deadlock)
1247 2005-10-21 Wim Taymans <wim@fluendo.com>
1249 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1250 (gst_base_src_loop):
1251 Don't warn, the peer element knows what to do best when
1252 the seek failed, it might try something else.
1254 2005-10-21 Wim Taymans <wim@fluendo.com>
1256 * gst/base/gstbasesrc.c: (gst_base_src_init),
1257 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1260 2005-10-21 Wim Taymans <wim@fluendo.com>
1262 * docs/design/part-segments.txt:
1265 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1266 Correctly set caps, even on the subbufer.
1268 2005-10-21 Wim Taymans <wim@fluendo.com>
1270 * docs/gst/gstreamer-docs.sgml:
1271 * docs/gst/gstreamer-sections.txt:
1278 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1282 And 2% more doc coverage.
1284 2005-10-21 Andy Wingo <wingo@pobox.com>
1286 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1289 2005-10-20 Wim Taymans <wim@fluendo.com>
1291 * gst/gsterror.c: (gst_error_get_message):
1294 * gst/gststructure.c:
1299 2005-10-20 Wim Taymans <wim@fluendo.com>
1304 Another 1% more coverage.
1306 2005-10-20 Wim Taymans <wim@fluendo.com>
1308 * docs/gst/gstreamer-sections.txt:
1309 * gst/gstelement.c: (gst_element_get_state_func),
1310 (gst_element_abort_state), (gst_element_commit_state),
1311 (gst_element_lost_state):
1313 * gst/gstquery.c: (gst_query_set_position),
1314 (gst_query_parse_position), (gst_query_set_duration),
1315 (gst_query_parse_duration), (gst_query_new_convert):
1317 Yay! 1% more docs coverage.
1319 2005-10-20 Wim Taymans <wim@fluendo.com>
1322 * gst/gstquery.c: (gst_query_set_position),
1323 (gst_query_parse_position), (gst_query_set_duration),
1324 (gst_query_parse_duration), (gst_query_new_convert):
1326 * gst/gstutils.c: (gst_element_query_convert):
1328 Docs and consistency fixes.
1330 2005-10-20 Wim Taymans <wim@fluendo.com>
1336 2005-10-20 Wim Taymans <wim@fluendo.com>
1338 * gst/gstbin.c: (message_check), (bin_replace_message),
1339 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1340 (update_degree), (gst_bin_sort_iterator_next),
1341 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1342 Reworked the message handling a bit, cache the messages instead of
1343 only the senders. alows us to do more in the future.
1345 2005-10-20 Wim Taymans <wim@fluendo.com>
1347 * docs/design/part-TODO.txt:
1350 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1351 (gst_base_sink_query):
1352 Don't use clock time to report position when in EOS.
1354 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1356 * tools/gst-inspect.c: (print_interfaces),
1357 (print_element_properties_info), (print_element_info):
1358 Fix interface output with gst-inspect -a; don't print
1359 newlines after double/float properties.
1361 2005-10-20 Wim Taymans <wim@fluendo.com>
1363 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1364 (gst_base_sink_query):
1365 Speed up current position calculation.
1367 * gst/base/gstbasesrc.c: (gst_base_src_query),
1368 (gst_base_src_default_newsegment):
1369 Correctly set stream position in newsegment.
1371 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1372 (update_degree), (gst_bin_sort_iterator_next),
1373 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1374 * gst/gstmessage.c: (gst_message_new_custom):
1375 Clean up debugging info
1377 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1378 (gst_queue_loop), (gst_queue_handle_src_query):
1381 2005-10-19 Wim Taymans <wim@fluendo.com>
1383 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1384 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1385 Fix query handling again.
1387 2005-10-19 Wim Taymans <wim@fluendo.com>
1389 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1390 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1391 * gst/base/gstbasesrc.c: (gst_base_src_query):
1392 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1393 * gst/elements/gsttypefindelement.c:
1394 (gst_type_find_handle_src_query), (find_element_get_length),
1395 (gst_type_find_element_activate):
1398 * gst/gstquery.c: (gst_query_new_position),
1399 (gst_query_set_position), (gst_query_parse_position),
1400 (gst_query_new_duration), (gst_query_set_duration),
1401 (gst_query_parse_duration), (gst_query_set_segment),
1402 (gst_query_parse_segment):
1404 Bundling query position/duration is not a good idea since duration
1405 does not change much and we don't want to recalculate it for every
1406 position query, so they are separated again..
1407 Base value in segment query is not needed.
1409 * gst/gstqueue.c: (gst_queue_handle_src_query):
1410 * gst/gstutils.c: (gst_element_query_position),
1411 (gst_element_query_duration), (gst_pad_query_position),
1412 (gst_pad_query_duration):
1414 Updates for query API change.
1415 Added some docs here and there.
1417 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1419 * check/gst/gstbin.c: (GST_START_TEST):
1420 * check/gst/gstghostpad.c: (GST_START_TEST):
1421 * check/pipelines/cleanup.c: (GST_START_TEST):
1422 wait on thread to die so we can check refcount correctly
1424 2005-10-18 Wim Taymans <wim@fluendo.com>
1426 * check/pipelines/stress.c: (GST_START_TEST):
1427 Make check a little more time consuming.
1429 2005-10-18 Wim Taymans <wim@fluendo.com>
1431 * check/Makefile.am:
1432 * check/pipelines/stress.c: (GST_START_TEST),
1433 (simple_launch_lines_suite), (main):
1434 Small state change torture test.
1436 * docs/design/part-states.txt:
1437 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1438 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1439 (gst_base_sink_change_state):
1440 Never take state lock from streaming thread, clean up ugly
1441 hacks. Unfortunatly core does not yet support nice ways to
1444 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1446 Start state recalc if a STATE_DIRTY message is posted, but only
1447 on the toplevel bin.
1449 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1450 (gst_element_get_state_func), (gst_element_abort_state),
1451 (gst_element_commit_state), (gst_element_lost_state),
1452 (gst_element_set_state_func), (gst_element_change_state):
1454 State variables are now protected with the LOCK, the state
1455 lock is only used to serialize _set_state().
1457 2005-10-18 Wim Taymans <wim@fluendo.com>
1459 * check/gst/gstbin.c: (GST_START_TEST):
1460 * check/gst/gstmessage.c: (GST_START_TEST):
1461 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1462 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1464 * gst/gstelement.c: (gst_element_abort_state),
1465 (gst_element_commit_state), (gst_element_lost_state):
1466 * gst/gstmessage.c: (gst_message_new_state_changed),
1467 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1468 (gst_message_new_segment_done), (gst_message_new_duration),
1469 (gst_message_parse_state_changed),
1470 (gst_message_parse_segment_start),
1471 (gst_message_parse_segment_done), (gst_message_parse_duration):
1473 * tools/gst-launch.c: (event_loop):
1474 Seriously, this is better than a previous commit as we only need
1475 to notify the fact that an element changed state in a streaming
1476 thread, marking the state of the parents dirty, hence the
1477 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1480 2005-10-18 Wim Taymans <wim@fluendo.com>
1482 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1483 (gst_bin_recalc_func):
1484 * gst/gstelement.c: (gst_element_set_clock),
1485 (gst_element_abort_state), (gst_element_lost_state):
1486 Cleanups, prepare for state change fixes.
1488 2005-10-18 Wim Taymans <wim@fluendo.com>
1491 * gst/gstelement.c: (gst_element_class_init),
1492 (gst_element_set_state), (gst_element_set_state_func):
1494 Pending ABI changes.
1495 GThreadPool in GstBinClass to monitor async state changes.
1496 state_cookie in GstElement to detect concurrent gst/set state.
1497 set_state is now virtual too in case a very complicated element
1498 has to be constructed.
1500 2005-10-18 Wim Taymans <wim@fluendo.com>
1502 * check/gst/gstbin.c: (GST_START_TEST):
1503 * check/gst/gstmessage.c: (GST_START_TEST):
1504 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1505 * gst/gstbin.c: (bin_bus_handler):
1506 * gst/gstelement.c: (gst_element_commit_state),
1507 (gst_element_lost_state):
1508 * gst/gstmessage.c: (gst_message_new_state_changed),
1509 (gst_message_new_segment_start), (gst_message_new_segment_done),
1510 (gst_message_new_duration), (gst_message_parse_state_changed),
1511 (gst_message_parse_segment_start),
1512 (gst_message_parse_segment_done), (gst_message_parse_duration):
1514 * tools/gst-launch.c: (event_loop):
1515 Make messages future proof.
1516 state-change gets a flag if it was a message comming from the
1518 segment-start/stop can also be specified in other formats.
1519 A message to notify an app that a pipeline changed playback
1521 Also fix a GstMessage leak in -launch
1523 2005-10-18 Andy Wingo <wingo@pobox.com>
1525 * gst/gstelement.c (gst_element_dispose): More helpful message.
1527 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1529 reviewed by: <delete if not using a buddy>
1531 * common/gtk-doc.mak:
1533 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1535 * gst/gstregistry.c: (gst_registry_scan_path_level):
1536 unref a plug-in we get that was already initialized
1538 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1540 * docs/gst/gstreamer-sections.txt:
1541 * docs/libs/gstreamer-libs-sections.txt:
1546 2005-10-17 Andy Wingo <wingo@pobox.com>
1548 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1551 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1553 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1555 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1556 (gst_element_get_state_func): Better debug message.
1557 (gst_element_commit_state): s/INFO/DEBUG/.
1558 (gst_element_lost_state, gst_element_change_state):
1560 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1561 (gst_message_new_custom): s/INFO/LOG/.
1563 2005-10-17 Michael Smith <msmith@fluendo.com>
1565 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1566 Check if end time is valid using end time, not start time.
1568 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1570 * check/gst-libs/controller.c: (GST_START_TEST),
1571 (gst_controller_suite):
1572 * libs/gst/controller/gstcontroller.c:
1573 (gst_controlled_property_set_interpolation_mode):
1574 * libs/gst/controller/gstcontroller.h:
1575 * libs/gst/controller/gstinterpolation.c:
1576 * testsuite/controller/.cvsignore:
1577 * testsuite/controller/Makefile.am:
1578 * testsuite/controller/interpolator.c:
1579 merge controller testsuites
1581 remove mem-chunk from docs
1583 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1585 * gst/gstmemchunk.c:
1586 * gst/gstmemchunk.h:
1587 * gst/gsttrashstack.c:
1588 * gst/gsttrashstack.h:
1589 out. get out. you're fired. to the Attic !
1591 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1593 * gst/gstcaps.c: (gst_caps_intersect):
1594 fix signedness issues in a (hopefully) correct way
1595 * gst/gstelement.c: (gst_element_pads_activate):
1597 * gst/gstobject.c: (gst_object_set_parent):
1600 2005-10-17 Julien MOUTTE <julien@moutte.net>
1602 * gst/gstvalue.h: Fix prototypes.
1604 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1606 * docs/gst/gstreamer-sections.txt:
1607 * gst/gst.c: (gst_version_string):
1609 * gst/gstversion.h.in:
1610 * win32/common/libgstreamer.def:
1611 add gst_version_string ()
1613 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1617 * gst/gst.c: (init_post):
1618 * win32/common/config.h.in:
1620 * gst/gstcaps.c: (gst_caps_intersect):
1621 use gint64, the range could be bigger than a guint
1623 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1626 document potential problem in 2038
1628 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1630 * gst/gstcaps.c: (gst_caps_intersect):
1631 Fix guint j diving under 0
1633 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1636 * win32/common/config.h:
1637 * win32/common/config.h.in:
1638 check for process.h, declares getpid() on Windows
1640 include process.h if we have it
1641 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1642 * gst/gstmemchunk.h:
1643 fix signedness issues
1644 * win32/common/libgstreamer.def:
1647 2005-10-16 Julien MOUTTE <julien@moutte.net>
1649 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1650 fix. Because of unsigned ints, caps intersection was going nuts and
1651 trying to access structures with G_MAXUINT index. That fixes
1652 videotestsrc ! ffmpegcolorspace ! fakesink
1653 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1656 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1659 use the gettext macro
1660 * gst/elements/gstelements.c:
1662 * gst/indexers/gstindexers.c:
1663 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1664 * win32/common/config.h:
1666 * win32/common/config.h.in:
1667 add the template to generate config.h
1668 * win32/common/gstenumtypes.c:
1669 * win32/common/gstversion.h:
1672 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1674 * gst/gst.c: (gst_version):
1675 * gst/gstversion.h.in:
1678 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1681 Oops, add missing closing bracket.
1683 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1686 use common m4's for argument checking
1688 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1690 * docs/gst/gstreamer-sections.txt:
1692 Add GST_EVENT_TYPE_NAME() macro.
1694 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1697 * gst/gstpluginfeature.c:
1699 privatize more symbols
1701 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1704 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1705 everything that uses GStreamer API should have the includes
1707 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1709 * docs/gst/gstreamer-sections.txt:
1710 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1712 give each value a _get_type, removes the DATA exports
1714 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1718 remove _gst_registry_auto_load, not used anymore
1719 * gst/gstbin.c: (gst_bin_get_type):
1721 * gst/gstelement.c: (gst_element_get_type):
1723 * gst/gstobject.c: (gst_object_get_type):
1725 * gst/gstpad.c: (gst_pad_get_type):
1727 make _get_type functions similar, fixes data export from library
1729 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1732 correctly make conditionals
1733 * gst/elements/Makefile.am:
1734 * gst/elements/gstelements.c:
1735 fix typo causing fdsrc not to build
1737 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1739 * testsuite/Makefile.am:
1740 * testsuite/bytestream/.cvsignore:
1741 * testsuite/bytestream/Makefile.am:
1742 * testsuite/bytestream/filepadsink.c:
1743 * testsuite/bytestream/gstbstest.c:
1744 * testsuite/bytestream/test1.c:
1745 * testsuite/bytestream/testfile1:
1746 * testsuite/caps/normalisation.c:
1747 * testsuite/caps/random.c: (main):
1748 * testsuite/cleanup/.cvsignore:
1749 * testsuite/cleanup/Makefile.am:
1750 * testsuite/cleanup/cleanup1.c:
1751 * testsuite/cleanup/cleanup2.c:
1752 * testsuite/cleanup/cleanup3.c:
1753 * testsuite/cleanup/cleanup4.c:
1754 * testsuite/cleanup/cleanup5.c:
1755 * testsuite/controller/interpolator.c:
1756 * testsuite/debug/printf_extension.c: (main):
1757 * testsuite/elements/tee.c:
1758 * testsuite/negotiation/.cvsignore:
1759 * testsuite/negotiation/Makefile.am:
1760 * testsuite/negotiation/pad_link.c:
1761 * testsuite/pad/Makefile.am:
1762 * testsuite/pad/chainnopull.c:
1763 * testsuite/pad/getnopush.c:
1764 * testsuite/pad/link.c:
1765 * testsuite/refcounting/sched.c: (create_pipeline):
1766 * testsuite/registry/Makefile.am:
1767 * testsuite/registry/gst-print-formats.c:
1768 * testsuite/schedulers/.cvsignore:
1769 * testsuite/schedulers/142183-2.c:
1770 * testsuite/schedulers/142183.c:
1771 * testsuite/schedulers/143777-2.c:
1772 * testsuite/schedulers/143777.c:
1773 * testsuite/schedulers/147713.c:
1774 * testsuite/schedulers/147819.c:
1775 * testsuite/schedulers/147894-2.c:
1776 * testsuite/schedulers/147894.c:
1777 * testsuite/schedulers/Makefile.am:
1778 * testsuite/schedulers/group_link.c:
1779 * testsuite/schedulers/queue_link.c:
1780 * testsuite/schedulers/relink.c:
1781 * testsuite/schedulers/unlink.c:
1782 * testsuite/schedulers/unref.c:
1783 * testsuite/schedulers/useless_iteration.c:
1784 * testsuite/states/bin.c:
1785 clean out/remove some stuff from the testsuite directories
1787 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1790 check for some headers
1791 * gst/elements/Makefile.am:
1792 * gst/elements/gstelements.c:
1793 don't compile fdsrc without sys/socket.h
1794 * gst/indexers/Makefile.am:
1795 * gst/indexers/gstindexers.c: (plugin_init):
1796 don't compile fileindex without mmap
1798 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1805 * check/Makefile.am:
1806 * docs/gst/Makefile.am:
1807 * examples/helloworld/Makefile.am:
1809 * gst/base/Makefile.am:
1810 * gst/check/Makefile.am:
1811 * gst/elements/Makefile.am:
1812 * gst/indexers/Makefile.am:
1813 * gst/parse/Makefile.am:
1814 * libs/gst/controller/Makefile.am:
1815 * libs/gst/dataprotocol/Makefile.am:
1816 * examples/helloworld/helloworld.c: (event_loop):
1817 compile fixes, though it's not being compiled currently
1819 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1821 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1822 Add some simple tests for the new taglist date API.
1824 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1826 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1827 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1828 Beautify 'last-message' output: print 'none' for buffer timestamps
1829 and durations if none is set; improve alignment with next messages.
1831 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1833 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1834 * gst/gstpluginfeature.h:
1835 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1836 * gst/gstregistry.h:
1837 * docs/gst/gstreamer-sections.txt:
1838 Add new API to check plugin feature version requirements.
1840 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1841 Some basic tests for the above.
1843 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1845 * gst/gststructure.c: (gst_structure_to_string):
1846 guard against NULL printf - happens when for example
1847 a message structure with GstClock gets serialized
1849 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1851 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1852 Fix presumable copy'n'pasto.
1854 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1856 * gst/elements/gstfakesrc.h:
1857 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1858 * gst/elements/gsttypefindelement.c:
1860 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1861 I wonder if this could actually write +2GB files before
1863 2005-10-13 Andy Wingo <wingo@pobox.com>
1865 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1866 Fix Timmeke Waymans bug.
1867 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1868 string of the proper length to gst_caps_from_string. There's a
1869 potential for, before this fix, that this could cause someone
1870 connecting over the network to cause a segfault if the payload is
1873 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1875 * docs/design/draft-push-pull.txt:
1876 * docs/design/part-overview.txt:
1877 * docs/random/TODO-pre-0.9:
1878 * docs/random/old/ChangeLog.gstreamer:
1879 * gst/base/gstpushsrc.c:
1883 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1885 * gst/glib-compat.c: (gst_flags_get_first_value):
1886 * gst/glib-compat.h:
1887 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1888 (gst_value_compare_double), (gst_value_serialize_flags):
1889 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1892 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1895 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1897 * tools/gst-launch.c: (event_loop):
1898 print out clock nicely
1900 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1902 * docs/gst/gstreamer-sections.txt:
1904 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1905 (gst_tag_list_get_date_index):
1906 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1907 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1909 2005-10-13 Julien MOUTTE <julien@moutte.net>
1911 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1912 (gst_collectpads_chain):
1913 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1916 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1918 * docs/gst/gstreamer-sections.txt:
1921 * tools/gst-inspect.c: (main):
1922 * tools/gst-launch.c: (main):
1923 * tools/gst-run.c: (main):
1924 * tools/gst-xmlinspect.c: (main):
1925 fix GOption context leaks
1928 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1932 * win32/common/config.h:
1934 * win32/vs6/grammar.dsp:
1935 * win32/vs6/libgstelements.dsp:
1936 * win32/vs6/libgstreamer.dsp:
1939 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1942 * gst/base/gstbasesrc.c: (gst_base_src_query):
1943 fix more guint64<->gdouble conversions
1945 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1948 add win32-update target
1949 * win32/common/gstconfig.h:
1950 * win32/common/gstenumtypes.c:
1951 * win32/common/gstenumtypes.h:
1952 * win32/common/gstversion.h:
1953 add files that visual studio can't generate
1955 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1958 add a win32-update target
1961 2005-10-12 Wim Taymans <wim@fluendo.com>
1963 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
1964 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
1965 * gst/gstelement.c: (gst_element_commit_state),
1966 (gst_element_set_state):
1967 Protect flags with proper lock.
1968 unref provided cached clock in dispose.
1970 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1973 * gst/gstminiobject.h:
1975 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
1976 removed unused flags from miniobject
1979 2005-10-12 Wim Taymans <wim@fluendo.com>
1981 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1982 (gst_file_sink_event), (gst_file_sink_render):
1983 Flush before seeking.
1985 2005-10-12 Andy Wingo <wingo@pobox.com>
1987 * gst/gst.c (gst_init_check): Ignore unknown options, as has
1988 always been the case.
1990 2005-10-12 Stefan Kost <ensonic@users.sf.net>
1992 * check/gst/gstbin.c: (GST_START_TEST):
1993 * docs/gst/gstreamer-sections.txt:
1994 * gst/base/gstbasesink.c: (gst_base_sink_init):
1995 * gst/base/gstbasesrc.c: (gst_base_src_init),
1996 (gst_base_src_get_range), (gst_base_src_check_get_range),
1997 (gst_base_src_start), (gst_base_src_stop):
1998 * gst/base/gstbasesrc.h:
1999 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2000 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2001 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2005 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2007 * gst/gstelement.c: (gst_element_is_locked_state),
2008 (gst_element_set_locked_state), (gst_element_commit_state),
2009 (gst_element_set_state):
2011 * gst/gstindex.c: (gst_index_init):
2013 * gst/gstminiobject.h:
2014 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2015 (gst_object_set_parent):
2017 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2018 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2020 * gst/gstpadtemplate.h:
2021 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2022 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2023 * gst/gstpipeline.h:
2024 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2025 (gst_file_index_commit):
2026 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2027 * testsuite/pad/link.c: (gst_test_src_init),
2028 (gst_test_filter_init), (gst_test_sink_init):
2029 * testsuite/states/locked.c: (main):
2030 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2031 moved bitshift from macro to enum definition
2033 2005-10-12 Wim Taymans <wim@fluendo.com>
2035 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2036 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2037 (gst_file_sink_render):
2038 Some more debugging info.
2040 2005-10-12 Wim Taymans <wim@fluendo.com>
2042 * docs/design/part-states.txt:
2043 * tools/gst-launch.c: (main):
2045 Revert non-intentional change.
2047 2005-10-12 Wim Taymans <wim@fluendo.com>
2049 * check/gst/gstbin.c: (GST_START_TEST):
2050 * check/gst/gstelement.c: (GST_START_TEST):
2051 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2052 * check/gst/gstghostpad.c: (GST_START_TEST):
2053 * check/gst/gstpipeline.c: (GST_START_TEST):
2054 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2055 * check/states/sinks.c: (GST_START_TEST):
2056 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2057 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2058 (gst_bin_remove_func), (gst_bin_get_state_func),
2059 (gst_bin_recalc_state), (gst_bin_change_state_func),
2061 * gst/gstelement.c: (gst_element_get_state_func),
2062 (gst_element_get_state), (gst_element_abort_state),
2063 (gst_element_commit_state), (gst_element_set_state),
2064 (gst_element_change_state), (gst_element_change_state_func):
2066 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2067 (gst_pipeline_provide_clock_func):
2068 * gst/gstutils.c: (gst_element_link_pads_filtered):
2069 * tools/gst-launch.c: (main):
2070 * tools/gst-typefind.c: (main):
2071 Use GstClockTime in _get_state() instead of GTimeVal.
2072 Remove old code in gstutils.c
2074 2005-10-12 Andy Wingo <wingo@pobox.com>
2076 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2079 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2080 there is no task. Shouldn't affect any code, as nothing in our
2081 plugins checks this return value.
2082 (gst_pad_stop_task): Also take the stream lock if the pad has no
2085 2005-10-12 Wim Taymans <wim@fluendo.com>
2087 * gst/gstpad.c: (pre_activate), (post_activate),
2088 (gst_pad_activate_pull), (gst_pad_activate_push):
2089 Cleanup activation code. Reset old state if
2092 2005-10-12 Wim Taymans <wim@fluendo.com>
2094 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2095 (gst_base_sink_change_state):
2096 No need to prerol after receiving EOS.
2098 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2099 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2100 * gst/elements/gstidentity.c: (gst_identity_event):
2101 Print events more verbosely.
2103 2005-10-12 Wim Taymans <wim@fluendo.com>
2105 * check/Makefile.am:
2106 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2107 * check/states/sinks2.c:
2108 Moved sinks2 testcode in sinks check.
2110 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2111 (gst_bin_remove_func), (gst_bin_recalc_state),
2112 (gst_bin_change_state_func), (bin_bus_handler):
2113 Fix potential race condition when _get_state() iterated over an
2114 ASYNC element right before it posted a state completion.
2117 Do proper cast here.
2119 * gst/gstevent.c: (gst_event_new_newsegment),
2120 (gst_event_parse_newsegment):
2121 A playback rate of 0.0 is not allowed.
2123 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2125 * win32/common/config.h:
2126 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2127 (_trewinddir), (_ttelldir), (_tseekdir):
2128 * win32/common/dirent.h:
2129 * win32/common/gtchar.h:
2130 * win32/common/libgstbase.def:
2131 * win32/common/libgstreamer.def:
2132 * win32/vs6/grammar.dsp:
2133 * win32/vs6/gst_inspect.dsp:
2134 * win32/vs6/gst_launch.dsp:
2135 * win32/vs6/gstreamer.dsw:
2136 * win32/vs6/libgstbase.dsp:
2137 * win32/vs6/libgstelements.dsp:
2138 * win32/vs6/libgstreamer.dsp:
2139 Visual Studio 6 project files, and a new common directory.
2142 2005-10-11 Wim Taymans <wim@fluendo.com>
2144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2145 (gst_base_sink_do_sync), (gst_base_sink_query),
2146 (gst_base_sink_change_state):
2147 * gst/base/gstbasesink.h:
2148 Correctly parse newsegment info.
2150 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2152 * gst/gst.c: (init_post):
2153 split plugin paths correctly
2155 2005-10-11 Wim Taymans <wim@fluendo.com>
2157 * check/gst/gstevent.c: (GST_START_TEST):
2158 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2159 (gst_base_sink_change_state):
2160 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2161 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2162 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2163 * gst/gstevent.c: (gst_event_new_newsegment),
2164 (gst_event_parse_newsegment):
2166 Added extra flag to newsegment for future API freeze.
2167 Updated check and base elements.
2169 2005-10-11 Julien MOUTTE <julien@moutte.net>
2171 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2172 (gst_collectpads_add_pad), (gst_collectpads_pop),
2173 (gst_collectpads_event), (gst_collectpads_chain):
2174 * gst/base/gstcollectpads.h: Handle EOS correctly.
2176 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2178 * tools/gst-launch.c: (main):
2179 more null protecting
2181 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2183 * gst/gst-i18n-lib.h:
2184 check for ENABLE_NLS, not GETTEXT_PACKAGE
2185 * gst/gstregistry.c: (gst_registry_add_plugin),
2186 (gst_registry_scan_path_level),
2187 (_gst_registry_remove_cache_plugins):
2188 protect possibly NULL strings
2189 * gst/parse/types.h:
2190 config.h already included before
2191 * tools/gst-inspect.c: (main):
2192 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2193 check for ENABLE_NLS, not GETTEXT_PACKAGE
2194 * tools/gst-launch.c: (main):
2195 check for ENABLE_NLS, not GETTEXT_PACKAGE
2197 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2200 if we don't have glib, fail before testing 2.8
2201 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2202 fix a leak, should fix plugins-base testsuite
2204 2005-10-11 Andy Wingo <wingo@pobox.com>
2206 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2207 take the mode we're going to as an arg. Go head and set the mode
2208 and flushing flags now, so that if the activate function starts a
2209 thread all the flags will be in the right state.
2210 (post_activate): Renamed also. Just handle making sure streaming
2211 finishes for the deactivation case, and setting the deactivated
2213 (gst_pad_set_active): Complain loudly if deactivation fails.
2214 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2215 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2216 remove the terrible hack.
2218 2005-10-11 Wim Taymans <wim@fluendo.com>
2220 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2221 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2222 (gst_bin_recalc_state), (gst_bin_change_state_func),
2223 (gst_bin_dispose), (bin_bus_handler):
2225 Prepare to make current EOS message queue more generic.
2228 * gst/gstevent.c: (gst_event_new_newsegment),
2229 (gst_event_parse_newsegment):
2231 Rename base to stream_time.
2236 2005-10-11 Wim Taymans <wim@fluendo.com>
2238 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2239 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2240 (gst_bin_change_state_func), (bin_bus_handler):
2242 Work on proper clock selection.
2244 2005-10-11 Edward Hervey <edward@fluendo.com>
2246 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2247 * libs/gst/controller/gstcontroller.h:
2248 Added GList* version of _remove_properties() in order to be able to wrap
2251 2005-10-11 Wim Taymans <wim@fluendo.com>
2253 * docs/design/part-states.txt:
2256 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2257 (gst_bin_change_state_func), (bin_bus_handler):
2258 Doc updates. Don't distribute the same clock over and over again.
2264 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2265 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2266 (gst_pad_send_event):
2268 Make probe emission threadsafe again.
2269 Register quarks and move _get_name() from utils.
2272 * gst/gstpipeline.c: (gst_pipeline_class_init),
2273 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2274 Only redistribute the clock of it changed.
2276 * gst/gstsystemclock.h:
2281 Moved the _flow_get_name() to GstPad.
2283 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2285 * check/gst-libs/gdp.c: (GST_START_TEST):
2286 * check/gst/gstcaps.c: (GST_START_TEST):
2287 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2288 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2289 (gst_dp_packet_from_caps):
2290 fix more valgrind warnings before turning up the heat
2292 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2294 * gst/parse/grammar.y:
2295 some cleanup before the hacking
2297 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2299 * gst/base/gstbasesrc.c: (gst_base_src_query):
2301 * gst/gstutils.c: (gst_guint64_to_gdouble),
2302 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2304 externalize, basesrc uses it
2305 obviously the implementation needs testing
2307 2005-10-10 Wim Taymans <wim@fluendo.com>
2309 * tests/sched/Makefile.am:
2310 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2311 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2313 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2315 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2316 apparently converting from guint64 to double is not implemented
2319 2005-10-10 Wim Taymans <wim@fluendo.com>
2321 * check/Makefile.am:
2322 * check/generic/states.c: (GST_START_TEST):
2323 * check/gst/gstbin.c: (GST_START_TEST):
2324 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2325 * check/states/sinks.c: (GST_START_TEST):
2326 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2328 Check fixes, use API as stated in design docs, remove hacks.
2330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2331 (gst_base_sink_change_state):
2332 Catch stopping our task while we're shutting down.
2334 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2335 (gst_bin_remove_func), (gst_bin_get_state_func),
2336 (gst_bin_recalc_state), (gst_bin_change_state_func),
2339 * gst/gstelement.c: (gst_element_init),
2340 (gst_element_get_state_func), (gst_element_abort_state),
2341 (gst_element_commit_state), (gst_element_lost_state),
2342 (gst_element_set_state), (gst_element_change_state),
2343 (gst_element_change_state_func):
2345 New state change algorithm (see #318116)
2347 * gst/gstpipeline.c: (gst_pipeline_class_init),
2348 (gst_pipeline_init), (gst_pipeline_set_property),
2349 (gst_pipeline_get_property), (do_pipeline_seek),
2350 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2351 * gst/gstpipeline.h:
2352 Remove crude state change hacks.
2357 * tools/gst-launch.c: (main):
2358 Fixes for state change. Needs some more work to fully use the
2361 2005-10-10 Andy Wingo <wingo@pobox.com>
2363 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2365 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2366 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2369 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2371 * gst/gstiterator.c: (gst_iterator_new):
2372 Fix my previous commit: GTypes passed to gst_iterator_new()
2373 can be fundamental types.
2375 2005-10-10 Wim Taymans <wim@fluendo.com>
2377 * gst/gstelement.c: (gst_element_iterate_pad_list),
2378 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2379 (gst_element_iterate_sink_pads):
2380 Use src/sink pads lists for the respective iterators instead
2383 2005-10-10 Andy Wingo <wingo@pobox.com>
2385 Merged in popt removal + GOption addition patch from Ronald, bug
2388 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2389 GstElement macros around, remove popt-related symbols, add goption
2392 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2394 * docs/gst/Makefile.am:
2395 * docs/libs/Makefile.am: No POPT_CFLAGS.
2397 * examples/manual/Makefile.am:
2398 * docs/manual/basics-init.xml: Doc updates with an example.
2400 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2401 (gst_init), (parse_one_option), (parse_goption_arg):
2402 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2403 bit of hand merging and debugging to get the GOption stuff working
2406 * tests/Makefile.am:
2407 * tools/Makefile.am:
2408 * tools/gst-inspect.c: (main):
2409 * tools/gst-launch.c: (main):
2410 * tools/gst-run.c: (main):
2411 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2413 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2415 * gst/gstiterator.c: (gst_iterator_new):
2416 Add assertions to make sure passed GType is likely to really
2417 be a GType (as the compiler won't catch it if the size and
2418 GType arguments get mixed up, see #318447).
2420 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2422 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2424 * gst/gstbin.c: (gst_bin_iterate_sorted):
2425 Pass GType and size arguments to gst_iterator_new() in the right
2426 order (maybe we should make _new() take the GType as first argument
2427 just like _new_list()?) (#318447).
2430 2005-10-10 Wim Taymans <wim@fluendo.com>
2432 * gst/gstelement.c: (gst_element_finalize):
2433 And free the GStaticRecMutex too
2435 2005-10-10 Andy Wingo <wingo@pobox.com>
2437 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2438 Allocate and free the mutex properly.
2440 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2442 (GstElement): The state_lock is now recursive. Rebuild your
2443 plugins, suckers. Old macros adapted.
2445 * docs/gst/gstreamer-sections.txt: Doc updates.
2448 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2449 (g_static_rec_cond_wait): Ported from state changes patch, while
2450 we wait on bug #317802 to be solved in a well-distributed GLib.
2452 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2453 gst_element_change_state, variable name changes.
2454 (gst_element_change_state): Split out of gst_element_set_state in
2455 preparation for the state change merge. Doesn't pay attention to
2456 the 'transition' argument.
2457 (gst_element_set_state): Updates, hopefully purely cosmetic.
2458 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2460 (gst_element_get_state_func): Renamed from get_state, cosmetic
2463 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2465 * gst/elements/gstelements.c:
2466 * win32/GStreamer.vcproj:
2468 * win32/dirent.c: (_tseekdir):
2469 * win32/gst-inspect.vcproj:
2470 * win32/gst-launch.vcproj:
2471 * win32/gstconfig.h:
2472 * win32/gstelements.vcproj:
2473 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2474 * win32/gstreamer.def:
2476 updates for the win32 build (patch from Sebastien Moutte)
2478 2005-10-10 Andy Wingo <wingo@pobox.com>
2480 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2481 gst_bin_get_state, cleaned up (but no logic changes).
2482 (bin_element_is_sink): Comment updates.
2483 (sink_iterator_filter): Remove needless cast.
2484 (gst_bin_iterate_sinks): Doc update.
2485 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2486 cleaned up (but no logic changes).
2488 * check/states/sinks.c (test_src_sink): Cleanups from the state
2490 (test_livesrc_sink): Sync on the state.
2492 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2493 the state change patch.
2495 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2498 * check/gst/gstbin.c: Merge in some style fixes and additional
2499 checks from Wim's state change patch.
2501 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2503 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2504 (gst_type_find_helper):
2505 Check whether we have the requested data already in our list of
2506 cached buffers before pulling a new buffer; also make the buffer
2507 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2509 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2514 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2515 don't use long long, it's not portable. Replacing with
2516 gint64 seems to work; let's hope no skeletons fall out of the closet.
2518 2005-10-10 Andy Wingo <wingo@pobox.com>
2520 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2522 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2524 * docs/gst/gstreamer-sections.txt:
2529 * gst/gstmessage.c: (gst_message_parse_state_changed):
2532 more docs, fix compilation
2534 2005-10-09 Philippe Khalaf <burger@speedy.org>
2536 Fixed a few forgotten variables on previous commit
2538 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2540 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2541 Fix evil typefind crasher: getrange() might return a short
2542 buffer at the end of a file, but gst_type_find_peek() must
2543 either return the full data as requested or NULL, but
2544 never a short buffer.
2546 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2548 * gst/gstmessage.c: (gst_message_new_state_changed),
2549 (gst_message_parse_state_changed):
2551 don't use "new", it's a C++ keyword
2553 2005-10-08 Wim Taymans <wim@fluendo.com>
2555 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2556 * gst/gstelement.c: (gst_element_post_message):
2557 * gst/gstpipeline.c: (gst_pipeline_change_state):
2558 Small docs and debug updates.
2560 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2562 * docs/gst/gstreamer-sections.txt:
2563 * gst/gstelementfactory.c:
2568 2005-10-08 Wim Taymans <wim@fluendo.com>
2570 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2571 (gst_bin_dispose), (bin_bus_handler):
2572 Fix typos, add comments.
2573 Clear EOS list when going to PAUSED from any direction and do it
2574 in a threadsafe way.
2575 Get base time in a threadsafe way too.
2576 Fix confusing debug in the change_state function.
2577 Various other small cleanups.
2579 * gst/gstelement.c: (gst_element_post_message):
2580 Fix very verbose bus posting code.
2582 * gst/gstpipeline.c: (gst_pipeline_class_init),
2583 (gst_pipeline_set_property), (gst_pipeline_get_property),
2584 (gst_pipeline_change_state):
2585 Small ARG_ -> PROP_ cleanup
2587 2005-10-08 Wim Taymans <wim@fluendo.com>
2589 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2590 Do a less CPU demanding EOS check because we can.
2592 2005-10-08 Wim Taymans <wim@fluendo.com>
2594 * libs/gst/dataprotocol/dataprotocol.c:
2595 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2596 (gst_dp_packet_from_event):
2597 * libs/gst/dataprotocol/dataprotocol.h:
2598 * libs/gst/dataprotocol/dp-private.h:
2599 It's about time we bump the version number.
2600 Since event types don't fit in the guint8 anymore describing
2601 the payload type, make payload type 16 bits wide.
2603 2005-10-08 Wim Taymans <wim@fluendo.com>
2605 * docs/design/part-TODO.txt:
2606 * docs/design/part-clocks.txt:
2607 * docs/design/part-events.txt:
2608 * docs/design/part-gstbin.txt:
2609 * docs/design/part-gstelement.txt:
2610 * docs/design/part-gstpipeline.txt:
2611 * docs/design/part-live-source.txt:
2612 * docs/design/part-messages.txt:
2613 * docs/design/part-overview.txt:
2614 * docs/design/part-states.txt:
2617 2005-10-08 Wim Taymans <wim@fluendo.com>
2621 Fix event quark registration.
2622 Add some space between events so we can insert them in the
2625 2005-10-08 Wim Taymans <wim@fluendo.com>
2627 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2628 (gst_base_sink_handle_buffer):
2635 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2636 (gst_queue_set_property), (gst_queue_get_property):
2638 Remove old unused properties.
2640 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2641 * docs/gst/gstreamer-sections.txt:
2644 * gst/gstminiobject.c:
2645 * gst/gstminiobject.h:
2649 lots of new docs and doc fixes
2651 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2653 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2655 * gst/gstregistry.c: (gst_registry_lookup_locked),
2656 (gst_registry_scan_path_level):
2657 * gst/gstregistryxml.c: (load_plugin):
2658 Only ever load one plugin for a given plugin basename.
2659 This ensures correct overriding of GST_PLUGIN_PATH over
2660 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2661 system installed plugins.
2663 2005-10-08 Wim Taymans <wim@fluendo.com>
2665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2666 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2667 Prepare for doing QOS.
2669 2005-10-08 Wim Taymans <wim@fluendo.com>
2671 * check/gst/gstbin.c: (GST_START_TEST):
2672 * check/pipelines/cleanup.c: (GST_START_TEST):
2673 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2674 Allow new clock message too.
2676 2005-10-08 Wim Taymans <wim@fluendo.com>
2678 * gst/gstmessage.c: (gst_message_new_error),
2679 (gst_message_new_warning), (gst_message_new_tag),
2680 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2681 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2682 (gst_message_new_segment_start), (gst_message_new_segment_done),
2683 (gst_message_parse_state_changed),
2684 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2685 (gst_message_parse_new_clock):
2687 Also carry the clock in question.
2689 2005-10-08 Wim Taymans <wim@fluendo.com>
2691 * gst/gstmessage.c: (gst_message_new_custom),
2692 (gst_message_new_eos), (gst_message_new_error),
2693 (gst_message_new_warning), (gst_message_new_tag),
2694 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2695 (gst_message_new_new_clock), (gst_message_new_segment_start),
2696 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2697 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2700 Added clock related messages.
2702 * gst/gstpipeline.c: (gst_pipeline_change_state):
2703 Post message when the clock changed.
2705 * tools/gst-launch.c: (event_loop):
2708 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2710 * tools/gst-inspect.c: (print_element_properties_info):
2711 Can't pass NULL strings to g_print() on windows.
2713 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2716 * docs/gst/Makefile.am:
2717 * docs/gst/gstreamer-docs.sgml:
2718 * docs/gst/running.xml:
2719 * docs/version.entities.in:
2720 add a chapter on running GStreamer.
2721 document GST_DEBUG and GST_PLUGIN* env vars
2723 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2728 remove PLUGINS_BUILDDIR stuff
2729 * gst/gst.c: (init_post):
2730 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2732 remove, it was condescending and not needed
2734 2005-10-08 Wim Taymans <wim@fluendo.com>
2736 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2737 (gst_base_sink_handle_object), (gst_base_sink_event),
2738 (gst_base_sink_wait), (gst_base_sink_handle_event),
2739 (gst_base_sink_change_state):
2740 * gst/base/gstbasesink.h:
2741 Repost EOS message while going to PLAYING if still EOS.
2742 Make sure that when receiving a FLUSH_START we don't attempt
2743 to sync on the clock anymore.
2745 2005-10-08 Wim Taymans <wim@fluendo.com>
2747 * tools/gst-launch.c: (event_loop):
2748 Better message printout.
2750 2005-10-08 Wim Taymans <wim@fluendo.com>
2752 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2753 (gst_bin_child_proxy_get_children_count):
2754 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2755 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2756 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2757 (gst_child_proxy_set_valist):
2758 * gst/parse/grammar.y:
2759 Make ChildProxy threadsafe and fix mem leaks.
2761 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2763 * gst/gst.c: (init_post):
2764 debug the GST_PLUGIN_ env vars
2766 2005-10-08 Wim Taymans <wim@fluendo.com>
2768 * check/gst/gstbin.c: (GST_START_TEST):
2769 * check/gst/gstmessage.c: (GST_START_TEST):
2770 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2771 * gst/gstelement.c: (gst_element_commit_state),
2772 (gst_element_lost_state):
2773 * gst/gstmessage.c: (gst_message_new_state_changed),
2774 (gst_message_parse_state_changed):
2776 * tools/gst-launch.c: (event_loop):
2777 Added extra field to STATE_CHANGE message with the pending
2778 state, which will be different from the new state soon.
2780 2005-10-08 Wim Taymans <wim@fluendo.com>
2782 * gst/gstbus.c: (gst_bus_pop):
2784 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2785 Small cleanups and doc updates.
2787 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2789 * gst/gst.c: (init_pre):
2790 * gst/gstbin.c: (gst_bin_add_func):
2791 log distributing clocks and base time
2792 * gst/gstregistry.c: (gst_registry_add_plugin),
2793 (gst_registry_scan_path_level), (gst_registry_scan_path):
2794 clean up the debugging output a little
2795 * gst/gstutils.c: (gst_element_state_get_name):
2796 warn about a memleak (I've actually seen this be used, though
2797 it was probably a bug)
2799 2005-10-07 Wim Taymans <wim@fluendo.com>
2801 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2802 (gst_base_src_init), (gst_base_src_default_newsegment),
2803 (gst_base_src_newsegment), (gst_base_src_do_seek),
2804 (gst_base_src_loop), (gst_base_src_start):
2805 * gst/base/gstbasesrc.h:
2806 Make the newsegment event customizable by subclasses.
2808 2005-10-07 Wim Taymans <wim@fluendo.com>
2810 * gst/gstevent.c: (gst_event_new_buffersize),
2811 (gst_event_parse_buffersize):
2813 New event for future idea.
2815 2005-10-07 Andy Wingo <wingo@pobox.com>
2817 * gst/gstelement.c (gst_element_post_message): Doc update.
2819 * docs/gst/gstreamer-sections.txt: Update.
2821 * gst/gstmessage.c (gst_message_new_application): Made into a
2822 function like honest API calls.
2823 (gst_message_new_element): New message type.
2825 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2827 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2828 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2831 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2832 NO_PREROLL from gst_element_change_state to fall through.
2834 2005-10-07 Wim Taymans <wim@fluendo.com>
2836 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2837 (gst_ghost_pad_do_activate_push):
2838 Activating a ghostpad with no internal pad in push mode
2841 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2844 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2845 Fixes compilation on Windows.
2847 2005-10-07 Michael Smith <msmith@fluendo.com>
2849 * tools/gst-inspect.c:
2850 Print out feature and plugin count at the end when printing out
2853 2005-10-04 Michael Smith <msmith@fluendo.com>
2855 * gst/gsterror.c: (_gst_stream_errors_init):
2856 Add another error string used in a few existing plugins.
2859 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2860 * tools/gst-inspect.c: (print_element_info):
2861 When a feature disappears from a plugin (and the feature exists in
2862 the cached registry file), things went horribly wrong. This isn't a
2863 complete fix, we should actually be removing the 'missing' features
2864 from the features list when we load the actual plugin. That's not
2867 2005-10-04 Johan Dahlin <johan@gnome.org>
2869 * check/gst/gstiterator.c: (GST_START_TEST):
2870 * gst/gstbin.c: (gst_bin_iterate_elements),
2871 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2872 * gst/gstelement.c: (gst_element_iterate_pads):
2873 * gst/gstformat.c: (gst_format_iterate_definitions):
2874 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2875 (gst_iterator_new_list), (gst_iterator_filter):
2876 * gst/gstiterator.h:
2877 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2878 Add a GType to GstIterator, update callsites and tests.
2880 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2882 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2883 give events a chance to be handled by event probes when the pad
2886 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2888 * gst/gstevent.c: (gst_event_type_get_name),
2889 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2891 add string representations for event types
2893 2005-10-06 Wim Taymans <wim@fluendo.com>
2895 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2896 Don't use NULL pointers.
2898 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2900 * gst/gst_private.h:
2904 * gst/gstpluginfeature.c:
2905 widen the debug category in output to fit the biggest one we have
2906 add a bus category and use it
2907 play with the colors
2908 fix up some categories
2910 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2912 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2913 add push activation of sink ghost pads.
2914 Andye, please verify
2916 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2918 * gst/gstutils.c: (gst_element_link_pads):
2919 fix a bug in the case where neither element has a pad
2920 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2921 add a test for that case
2923 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2925 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2926 emit have-data before checking for peers. This allows
2927 for probe handlers to connect elements. This helps autopluggers.
2928 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2930 add six checks, linked/unlinked with no/true/false probe
2932 2005-10-04 Wim Taymans <wim@fluendo.com>
2934 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2935 (gst_fake_sink_event), (gst_fake_sink_preroll),
2936 (gst_fake_sink_render), (gst_fake_sink_change_state):
2937 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2938 (gst_fake_src_get_property), (gst_fake_src_create),
2939 (gst_fake_src_stop):
2940 * gst/elements/gstidentity.c: (gst_identity_stop):
2941 Protect last_message with lock.
2943 2005-10-04 Edward Hervey <edward@fluendo.com>
2946 Added precision in the comments for GST_FORMAT_DEFAULT
2948 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2950 * tools/gst-launch.c: (main):
2951 Don't try to run erroneous pipelines.
2953 2005-10-04 Julien MOUTTE <julien@moutte.net>
2955 * gst/gstbus.c: We don't need this header.
2957 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2962 === release 0.9.3 ===
2964 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
2968 Releasing 0.9.3, "Unregistered"
2970 2005-10-03 Andy Wingo <wingo@pobox.com>
2972 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
2973 whereby calling a pad's activatepush() function can start a thread
2974 that starts to push or pull before the pad gets the FLUSHING flag
2975 unset. Hack around it by holding the stream lock until the flag is
2976 set. Need to replace this with a proper solution. Together with
2977 the ghost pad fixes, this fixes mp3 playing/tagreading.
2979 * docs/design/part-gstghostpad.txt: Add a note about activation of
2980 proxy pads outside of ghost pads.
2982 * gst/gstghostpad.c: Implement the ghost pad activation design.
2984 2005-10-02 Andy Wingo <wingo@pobox.com>
2986 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
2987 It is volatile, after all.
2989 * docs/design/part-gstghostpad.txt: Flesh out activation with
2992 * gst/base/gstbasesrc.c (gst_base_src_init): Use
2995 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
2998 Fix (unused) AM_CONDITIONAL tests.
3000 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3002 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3004 * gst/gstutils.c: (gst_pad_query_convert):
3005 Add assertion that makes sure src_val is >=0, just like
3006 gst_query_new_convert() has. (#315895)
3008 2005-09-30 Edward Hervey <edward@fluendo.com>
3010 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3011 Let's not iterate pads we're not interested in, it avoids getting
3012 sky-high refcounts on sinkpad.
3014 2005-09-30 Wim Taymans <wim@fluendo.com>
3016 * gst/gstelement.c: (gst_element_set_state),
3017 (gst_element_change_state):
3018 Small tweak, element in ASYNC remains ASYNC.
3020 2005-09-30 Wim Taymans <wim@fluendo.com>
3022 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3023 Only error is an error.
3025 * gst/gstbin.c: (gst_bin_change_state):
3028 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3029 Also call pad_block in pad alloc.
3031 * gst/gstutils.c: (gst_flow_get_name):
3034 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3036 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3037 (gst_base_src_get_range):
3038 Fix documentation typos. Add some more debug info.
3040 2005-09-29 David Schleef <ds@schleef.org>
3042 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3043 more end-user friendly.
3044 * tools/gst-inspect.c: (main): Check if command-line argument is
3045 a file and attempt to load that file as a plugin.
3047 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3049 * check/gst/gstbin.c:
3050 * check/states/sinks.c:
3051 fix tests for the new warning
3052 * check/gst/gstpipeline.c:
3053 add a test for pipeline and bus interaction
3055 elements should be NULL if they get disposed; add a warning if not
3057 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3060 for 2.6 refcounting, make debug log more correct by printing
3061 the actual refcounts at the time of swap (Wim)
3063 2005-09-29 Andy Wingo <wingo@pobox.com>
3065 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3066 removes signal watches previously added via
3067 gst_bus_add_signal_watch.
3068 (gst_bus_add_signal_watch): Don't return the source id, just store
3069 it on the bus if there wasn't an id already.
3071 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3072 add_signal_watch and remove_signal_watch.
3074 2005-09-29 Edward Hervey <edward@fluendo.com>
3076 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3077 Better if we actually iterate the list :)
3079 2005-09-29 Wim Taymans <wim@fluendo.com>
3081 * check/gst/gstbin.c: (GST_START_TEST):
3082 Change for new bus API.
3084 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3085 (send_messages), (GST_START_TEST), (gstbus_suite):
3086 Change for new bus signal API.
3088 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3089 (gst_bus_source_prepare), (gst_bus_source_check),
3090 (gst_bus_create_watch), (gst_bus_add_watch_full),
3091 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3092 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3094 Remove support for multiple GSources operating on different
3095 message types as it is too complex and unneeded when using
3097 Added support for receiving signals from the bus.
3099 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3101 * docs/libs/tmpl/gstdataprotocol.sgml:
3102 * docs/manual/advanced-dataaccess.xml:
3103 * gst/elements/gstcapsfilter.c:
3105 rename filter-caps to caps property
3107 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3109 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3110 More robust fraction string parsing.
3112 * docs/pwg/appendix-porting.xml:
3113 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3115 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3117 * gst/gstcaps.c: (gst_caps_do_simplify):
3118 Thou shalt not free a structure and then continue using it
3119 in the next loop iteration.
3121 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3123 Add test case for caps simplification.
3125 2005-09-29 Wim Taymans <wim@fluendo.com>
3127 * check/gst/gstbin.c: (GST_START_TEST):
3130 2005-09-29 Wim Taymans <wim@fluendo.com>
3132 * check/gst/gstbin.c: (GST_START_TEST):
3135 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3136 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3137 (find_element), (gst_bin_sort_iterator_next),
3138 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3139 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3140 (gst_bin_change_state), (gst_bin_dispose):
3141 A bin does not have a bus, it gets the bus from the parent.
3143 * gst/gstelement.c: (gst_element_requires_clock),
3144 (gst_element_provides_clock), (gst_element_is_indexable),
3145 (gst_element_is_locked_state), (gst_element_change_state),
3146 (gst_element_set_bus_func):
3149 * gst/gstpipeline.c: (gst_pipeline_class_init),
3150 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3151 The pipeline provides a bus.
3153 2005-09-28 Johan Dahlin <johan@gnome.org>
3155 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3156 gst_structure_get_enum instead of gst_structure_get_int
3158 * gst/gststructure.c (gst_structure_get_enum): Impl.
3160 * gst/gststructure.h (gst_structure_get_enum): Add
3162 * docs/gst/gstreamer-sections.txt: Ditto
3164 * gst/gstmessage.c (gst_message_new_state_changed): Use
3165 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3166 which does introspection.
3167 Reviewed by Christian Schaller
3169 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3171 * gst/gstinfo.c: (gst_debug_log_default):
3172 don't do dummy g_strdup()s
3173 * libs/gst/controller/gstcontroller.c:
3174 (on_object_controlled_property_changed),
3175 (gst_controlled_property_new), (gst_controller_new_valist),
3176 (gst_controller_new_list),
3177 (gst_controller_remove_properties_valist), (gst_controller_set),
3178 (gst_controller_get), (gst_controller_sync_values),
3179 (gst_controller_get_value_array), (_gst_controller_class_init),
3180 (gst_controller_get_type):
3181 * libs/gst/controller/gstcontroller.h:
3182 * libs/gst/controller/gstinterpolation.c:
3183 (gst_controlled_property_find_timed_value_node):
3184 convert // to /**/ comments
3186 2005-09-28 Wim Taymans <wim@fluendo.com>
3188 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3189 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3190 (gst_bus_sync_signal_handler):
3192 Added async-message and sync-message signals to the bus.
3193 Added helper BusFunc to emit signals for all posted messages.
3195 * gst/gstmessage.c: (gst_message_type_get_name),
3196 (gst_message_type_to_quark), (gst_message_get_type):
3198 Register quarks for message names.
3200 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3202 * docs/libs/gstreamer-libs-sections.txt:
3203 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3204 (gst_controller_new_list):
3205 * libs/gst/controller/gstcontroller.h:
3206 added another constructor for language bindings
3208 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3210 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3214 * gst/gstinfo.c: (_gst_debug_init):
3215 slightly more readable color for refcount debugging
3217 2005-09-28 Wim Taymans <wim@fluendo.com>
3219 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3220 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3221 (find_element), (gst_bin_sort_iterator_next),
3222 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3223 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3224 (gst_bin_change_state), (gst_bin_dispose):
3225 Small doc fixes. get_clock -> provide_clock.
3227 * gst/gstelement.c: (gst_element_class_init),
3228 (gst_element_provides_clock), (gst_element_provide_clock),
3229 (gst_element_get_clock), (gst_element_commit_state),
3230 (gst_element_lost_state):
3232 Make get/set_clock() symetric. Add provide_clock vmethod since
3233 that is actually what this function does.
3235 * gst/gstpipeline.c: (gst_pipeline_class_init),
3236 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3237 (gst_pipeline_get_clock):
3238 get_clock -> provide_clock.
3240 2005-09-28 Andy Wingo <wingo@pobox.com>
3242 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3243 lieu of real docs...
3245 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3247 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3249 * gst/elements/gstcapsfilter.c:
3250 * gst/elements/gstfakesink.c:
3251 * gst/elements/gstfakesrc.c:
3252 * gst/elements/gstfdsink.c:
3253 * gst/elements/gstfdsrc.c:
3254 * gst/elements/gstfilesink.c:
3255 * gst/elements/gstfilesrc.c:
3256 * gst/elements/gstidentity.c:
3257 * gst/elements/gsttee.c:
3258 * gst/elements/gsttypefindelement.c:
3259 Make element details static.
3261 2005-09-28 Wim Taymans <wim@fluendo.com>
3263 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3264 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3265 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3266 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3267 (gst_bin_change_state), (gst_bin_dispose):
3268 Some documentation updates.
3269 Clean up dispose handlers.
3271 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3272 * gst/gstpad.c: (gst_pad_dispose):
3273 Clean up dispose handler.
3275 * gst/gstpipeline.c: (gst_pipeline_change_state):
3276 Removed spurious UNLOCK.
3278 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3280 * docs/gst/gstreamer-sections.txt:
3281 * gst/base/gstbasesrc.h:
3286 * gst/gstpipeline.c:
3287 * gst/gstpipeline.h:
3290 added two new functions to the docs
3291 documents all undocumented GstXXXFlags
3292 completed some incomplete docs
3294 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3296 * gst/gstbin.c: (gst_bin_dispose):
3297 * gst/gstelement.c: (gst_element_dispose):
3298 remove now useless and leaky resurrection code in dispose
3299 * gst/base/gstbasesrc.c: (gst_base_src_init):
3300 * gst/gstelementfactory.c: (gst_element_factory_create):
3301 * gst/gstobject.c: (gst_object_set_parent):
3304 2005-09-27 Wim Taymans <wim@fluendo.com>
3306 * docs/design/part-TODO.txt:
3309 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3310 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3311 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3312 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3313 (gst_bin_change_state):
3315 Remove element variable, we keep element info in the iterator now.
3317 2005-09-27 Andy Wingo <wingo@pobox.com>
3319 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3322 2005-09-27 Wim Taymans <wim@fluendo.com>
3324 * check/gst/gstbin.c: (GST_START_TEST):
3325 Enable check that works now.
3327 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3328 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3329 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3330 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3331 (gst_bin_change_state):
3333 Redid the state change algorithm using a topological sort algo.
3334 Handles all cases correctly.
3335 Exposed iterator for state change order.
3338 Temp storage for state changes. Need to get rid of this soon.
3340 2005-09-27 Wim Taymans <wim@fluendo.com>
3342 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3343 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3344 (link_fold_func), (gst_pad_proxy_setcaps):
3345 Leak fixes, the fold functions need to unref the passed object and
3346 _get_parent_*() returns ref to parent.
3348 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3350 * check/gst/gstbuffer.c: (test_make_writable):
3351 Plug leak in test case and fix 'make check-valgrind'
3353 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3355 * gst/gstbuffer.c: (gst_subbuffer_init):
3356 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3357 works correctly in all circumstances (we could have just copied
3358 the parent buffer's readonly flag, but conceptually it seems
3359 cleaner to mark all subbuffers as read-only). (based on patch
3360 by Alessandro Decina, #314710).
3362 * check/gst/gstbuffer.c: (create_read_only_buffer),
3363 (test_make_writable), (test_subbuffer_make_writable),
3365 Add some tests for gst_buffer_make_writable().
3367 2005-09-27 Wim Taymans <wim@fluendo.com>
3369 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3370 use gst_object_has_ancestor().
3372 * gst/gstobject.c: (gst_object_has_ancestor):
3374 gst_object_has_ancestor() copied from gstbin.c as it is a
3377 * tests/instantiate/create.c: (create_all_elements):
3378 * tests/lat.c: (handoff_src), (handoff_sink):
3379 * tests/sched/runxml.c: (main):
3380 * tests/seeking/seeking1.c: (main):
3381 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3383 Fix compilation of some tests.
3385 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3388 Remove comment. GST_TYPE_G_ERROR is here to stay,
3389 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3392 2005-09-26 Wim Taymans <wim@fluendo.com>
3394 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3395 Added check that shows error in state change order.
3397 2005-09-26 Wim Taymans <wim@fluendo.com>
3399 * gst/gstbin.c: (gst_bin_change_state):
3400 Make state change function use 3 queues again, we were
3401 adding elements in the wrong order.
3403 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3406 * gst/gstpad.c: (gst_pad_dispose):
3407 Added some debug info first.
3409 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3411 * docs/design/draft-push-pull.txt:
3412 * docs/design/part-events.txt:
3413 * docs/design/part-overview.txt:
3414 * docs/design/part-scheduling.txt:
3415 Replace all _pull_region() with _pull_range()
3417 2005-09-26 Andy Wingo <wingo@pobox.com>
3419 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3421 * check/gst-libs/controller.c: Update for controller api change.
3424 * tests/Makefile.am:
3425 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3426 over by GLib bug 118439.
3428 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3429 routines to a function.
3431 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3433 * libs/gst/controller/gsthelper.c:
3434 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3435 (gst_object_sync_values): Renamed from sink_values. Ugh.
3437 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3439 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3440 Renamed from controller_key, as it is exported.
3442 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3444 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3449 * gst/gstpadtemplate.h:
3452 * gst/gstqueryutils.c:
3453 * gst/gstqueryutils.h:
3454 remove queryutils headers after moving the two used functions
3455 to gstquery. also fixes build problem for gstsiddec
3457 2005-09-26 Michael Smith <msmith@fluendo.com>
3459 * tools/gst-launch.1.in:
3460 Correct documentation in manpage of debug syntax
3462 2005-09-26 Wim Taymans <wim@fluendo.com>
3464 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3465 (gst_base_src_is_seekable), (gst_base_src_change_state):
3466 Some more debugging info.
3468 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3470 * docs/gst/gstreamer-sections.txt:
3471 * gst/base/gstbasetransform.h:
3475 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3477 * docs/gst/.cvsignore:
3478 * docs/gst/tmpl/.cvsignore:
3479 * docs/gst/tmpl/gstpipeline.sgml:
3480 * docs/gst/tmpl/gstplugin.sgml:
3481 * gst/gstpipeline.c:
3484 inlined the last two docs files
3485 removed the tmpl directory from cvs (no more conflicts here!)
3487 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3489 * docs/gst/gstreamer-sections.txt:
3490 * docs/gst/tmpl/.cvsignore:
3491 * docs/gst/tmpl/gstpad.sgml:
3492 * docs/gst/tmpl/gstpadtemplate.sgml:
3494 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3495 (gst_pad_finalize), (gst_pad_set_pad_template):
3497 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3498 (gst_pad_template_class_init), (gst_pad_template_init),
3499 (gst_pad_template_dispose), (name_is_valid),
3500 (gst_static_pad_template_get), (gst_pad_template_new),
3501 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3502 (gst_pad_template_pad_created):
3503 * gst/gstpadtemplate.h:
3504 inlined two more docs
3505 factored gstpadtemplate out of gstpad
3507 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3509 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3510 (test_children_state_change_order_semi_sink):
3511 Fix test case: we can't rely on a fixed state change order when
3512 going from READY => PAUSED because the sink might commit its
3513 new state first when the first buffer created by the source
3514 reaches the sink before the source has finished its change state.
3515 (Test case still fails at times, see #316856, comment 5 onwards)
3517 2005-09-24 Wim Taymans <wim@fluendo.com>
3519 * docs/design/part-events.txt:
3520 * docs/design/part-gstbus.txt:
3521 * docs/design/part-gstpipeline.txt:
3522 * docs/design/part-messages.txt:
3523 * docs/design/part-overview.txt:
3524 * docs/design/part-segments.txt:
3531 * gst/gstiterator.c:
3532 Various documentation updates.
3534 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3537 Well, that's embarassing. Luckily we weren't using
3538 GST_CLOCK_DIFF anywhere.
3540 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3542 * common/gtk-doc.mak:
3543 don't fail on building XML, FC4 slave shows a bunch of doc
3544 missing bits that I don't get
3546 * gst/gstpipeline.c:
3547 * gst/gststructure.c:
3550 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3552 * docs/design/part-gstbin.txt:
3553 * docs/design/part-gstbus.txt:
3555 Add blurb about how the bus goes into flushing mode and
3556 drops all messages when its bin goes from READY into NULL
3559 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3561 * docs/gst/gstreamer-sections.txt:
3562 * gst/gststructure.c: (gst_structure_get_clock_time):
3563 * gst/gststructure.h:
3564 add a method to get a GstClockTime out of a structure
3566 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3568 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3569 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3570 Added test to check state change order in bins (can still be made
3571 to fail here under heavy disk load; bails out with 'Push on pad
3572 fakesink:sink0, but it was not activated in push mode').
3574 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3575 Fix state change order when there is only a semi sink (#316856)
3577 * gst/gstbus.c: (gst_bus_class_init):
3578 Use _class_peek_parent(), not _class_ref(); fix docs to say
3579 'default main context' instead of 'mainloop' where that is
3582 * gst/gstelement.c: (gst_element_commit_state),
3583 (gst_element_set_state):
3584 Fix typos in debug messages
3586 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3589 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3590 * gst/gstpluginfeature.c:
3593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3594 change an assert into an error until it gets fixed properly
3596 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3598 * docs/gst/gstreamer-sections.txt:
3599 * docs/gst/tmpl/.cvsignore:
3600 * docs/gst/tmpl/gstelement.sgml:
3601 * docs/gst/tmpl/gstinfo.sgml:
3602 * docs/gst/tmpl/gstobject.sgml:
3607 * gst/gstobject.c: (gst_object_class_init):
3609 inlined 3 more biiiig doc files and added some missing docs on the fly
3611 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3613 * check/gst/.cvsignore:
3614 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3615 * gst/gstregistryxml.c: (load_plugin),
3616 (gst_registry_xml_save_plugin):
3617 put back source in registry. add checks for find_plugin.
3618 * testsuite/states/bin.c: (assert_state), (empty_bin),
3619 (test_adding_one_element), (main):
3620 * testsuite/states/locked.c: (main):
3621 some compile/run fixes
3623 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3625 * check/gst/gstvalue.c: (GST_START_TEST):
3626 fix leaks in the test itself
3628 2005-09-22 Wim Taymans <wim@fluendo.com>
3630 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3631 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3632 (gst_base_sink_query):
3633 Prepare for more accurate position reporting and query
3636 * gst/gstelement.c: (gst_element_send_event),
3637 (gst_element_set_state):
3640 2005-09-22 Wim Taymans <wim@fluendo.com>
3642 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3643 (gst_query_parse_segment):
3646 Add segment query for future use.
3648 2005-09-22 Wim Taymans <wim@fluendo.com>
3650 * gst/gstbin.c: (gst_bin_add_func):
3651 Some more debug info.
3653 * gst/gstelement.c: (gst_element_send_event):
3657 Don't know how flags got broken.
3662 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3664 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3665 Add simplistic test suite for GST_TYPE_DATE serialisation and
3668 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3670 * docs/gst/gstreamer-sections.txt:
3671 * gst/gststructure.c: (gst_structure_set_valist),
3672 (gst_structure_get_date):
3673 * gst/gststructure.h:
3674 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3675 (gst_date_copy), (gst_value_compare_date),
3676 (gst_value_serialize_date), (gst_value_deserialize_date),
3677 (gst_value_transform_date_string),
3678 (gst_value_transform_string_date), (_gst_value_initialize):
3680 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3681 bunch of utility functions along with a hack that checks that
3682 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3683 is required. Part of the grand scheme in #170777.
3685 2005-09-22 Andy Wingo <wingo@pobox.com>
3687 * gst/gstconfig.h.in: Psych out gtk-doc.
3689 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3691 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3693 * tools/gst-inspect.c (print_element_list): Plug some
3694 inconsequential leaks.
3696 * gst/gstregistry.c (gst_registry_get_default): Doc.
3698 * check/gst/gstplugin.c:
3699 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3700 * gst/gstelementfactory.c (gst_element_factory_create):
3701 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3704 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3705 (gst_plugin_feature_load): Doc, don't eat refs.
3707 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3708 (gst_plugin_list_free): Doc.
3709 (gst_plugin_load_file): Doc updates.
3711 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3712 accessors returning refcounted objects, return a ref.
3714 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3715 accessor for caps. IDEMPOTENCE. Oh yes.
3717 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3719 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3721 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3722 (_gst_debug_register_funcptr):
3723 Add mutex to serialise access to the hash table with
3724 the function pointer => function name string mapping;
3725 make that hash table static scope (#316809).
3727 * gst/registries/.cvsignore:
3728 Remove left-over file.
3730 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3732 * docs/pwg/appendix-porting.xml:
3733 And something about newsegment events and caps-on-buffers to
3734 the porting guide (feel free to improve).
3736 2005-09-21 Andy Wingo <wingo@pobox.com>
3738 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3739 data and event probes on the same pad.
3740 (test_buffer_probe_once): Test that removing probes from within
3741 the probe functions works.
3743 2005-09-21 Andy Wingo <wingo@pobox.com>
3745 * check/gst/gstutils.c: New file.
3746 (test_buffer_probe_n_times): A simple buffer probe test. More to
3749 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3750 have-data::buffer, not have-data.
3751 (gst_pad_add_event_probe): Likewise for have-data::event.
3752 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3753 peer' isn't quite right yet though.
3754 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3755 (gst_pad_remove_data_probe): Change to take the guint handler_id
3756 as their arg, not the function+data, which is more glib-like.
3758 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3759 the signal emission to indicate if the data is a buffer or an
3761 (gst_pad_get_type): Initialize buffer and event quarks.
3762 (gst_pad_class_init): have-data is now a detailed signal, yes it
3765 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3767 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3768 * gst/gstutils.c: (gst_util_set_value_from_string),
3769 (gst_util_set_object_arg):
3770 Don't put functional code in g_return_if_fail() or
3771 g_return_val_if_fail() statements, otherwise things will
3772 break when G_DISABLE_CHECKS is defined during compilation.
3774 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3776 * docs/gst/tmpl/.cvsignore:
3777 * docs/gst/tmpl/gstvalue.sgml:
3780 inlied another one and added some obvious docs
3782 2005-09-21 Wim Taymans <wim@fluendo.com>
3784 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3785 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3786 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3787 (gst_fdsrc_get_property), (gst_fdsrc_create):
3788 * gst/elements/gstfdsrc.h:
3789 Properly implement fdsrc. Removed signal and timeout,
3790 better implemented somewhere else.
3792 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3794 * docs/gst/tmpl/.cvsignore:
3795 * docs/gst/tmpl/gstimplementsinterface.sgml:
3796 * gst/gstinterface.c:
3799 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3801 * docs/gst/gstreamer-sections.txt:
3802 * docs/gst/tmpl/.cvsignore:
3803 * docs/gst/tmpl/gstenumtypes.sgml:
3804 remove obsolete doc file
3806 2005-09-21 David Schleef <ds@schleef.org>
3808 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3809 little beer, fix a little leak.
3811 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3813 * docs/gst/gstreamer-docs.sgml:
3814 * docs/gst/gstreamer-sections.txt:
3815 * docs/gst/tmpl/.cvsignore:
3820 * gst/gstindex.c: (gst_index_class_init):
3822 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3823 (gst_index_factory_class_init), (gst_index_factory_init),
3824 (gst_index_factory_finalize), (gst_index_factory_new),
3825 (gst_index_factory_destroy), (gst_index_factory_find),
3826 (gst_index_factory_create), (gst_index_factory_make):
3827 * gst/gstindexfactory.h:
3828 * gst/gstpluginfeature.c:
3829 * gst/gstpluginfeature.h:
3830 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3831 more docs inlined, splitted gstindex.{c,h}
3833 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3835 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3838 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3840 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3841 Set sync to FALSE by default.
3843 2005-09-20 Wim Taymans <wim@fluendo.com>
3845 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3846 (gst_base_sink_init):
3847 Make sync property settable from subclass.
3849 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3850 (gst_fake_sink_change_state):
3851 Set sync to FALSE by default.
3853 2005-09-20 Wim Taymans <wim@fluendo.com>
3855 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3856 * tools/gst-launch.c: (main):
3857 The timeout handler should have lower priority than the source
3858 so we don't timeout before popping a message with 0 timeout.
3859 Dump error messages after failed state change.
3861 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3863 * tools/gst-inspect.c: (print_element_properties_info):
3866 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3868 * check/gst/gstevent.c:
3869 * gst/elements/gstfakesink.c:
3870 * gst/elements/gstfakesink.h:
3871 remove the sync property from fakesink.
3872 has the side effect of setting sync TRUE
3873 for fakesink, which is a change. Anyone who knows how
3874 to fix this nicely in a GObject-y way, feel free.
3876 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3878 * docs/gst/gstreamer-docs.sgml:
3879 remove probe refsection
3881 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3883 * check/Makefile.am:
3884 disable valgrinding the controller test again
3885 * docs/gst/gstreamer-sections.txt:
3886 update for api-changes
3888 2005-09-20 Wim Taymans <wim@fluendo.com>
3890 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3891 (gst_base_sink_set_property), (gst_base_sink_get_property),
3892 (gst_base_sink_do_sync):
3893 * gst/base/gstbasesink.h:
3894 Added sync property to basesink to disable clock sync.
3896 2005-09-20 Andy Wingo <wingo@pobox.com>
3898 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3899 eating the caller's refcount.
3901 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3902 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3905 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3906 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3907 of GLib 2.8 public, so we can know which refcount to check in
3910 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3911 (gst_object_init): Only set the gst refcount if we're going ahead
3912 with the refcount hack.
3914 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3916 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3917 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3918 more leaks plumbed, added more debug-logging
3922 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3925 remove include of gstmemchunk.h
3927 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3929 * gst/gstclock.c: (_gst_clock_id_free):
3930 Commit from the Political Party For More Atomic CVS Commits,
3931 so that people don't waste too much of their day fishing
3932 out obvious leaks out of massive commits.
3933 Oh, and fix a pretty damn obvious leak in the memchunk
3936 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3938 * check/Makefile.am:
3939 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3940 plug mem-leak, re-add to valgrindable tests
3942 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3945 unbreak the build for those who have chronic arthritis
3946 and typing "make check" is just too taxing on the hands
3948 2005-09-20 Andy Wingo <wingo@pobox.com>
3950 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3951 really want it out, you should fix plugins at the same time.
3953 2005-09-19 Stefan Kost <ensonic@users.sf.net>
3956 * docs/gst/gstreamer-sections.txt:
3958 added missing symbols to api docs
3959 disable ref-count hack if we have glib >= 2.8
3961 2005-09-19 David Schleef <ds@schleef.org>
3963 * docs/gst/Makefile.am: Ignore a few more internal headers
3964 * docs/gst/gstreamer-docs.sgml: Remove old sections
3965 * docs/gst/gstreamer-sections.txt: Remove old sections
3966 * docs/gst/tmpl/gstobject.sgml: update
3967 * docs/gst/tmpl/gstplugin.sgml: update
3968 * docs/gst/tmpl/gstpluginfeature.sgml: update
3969 * docs/random/ds/0.9-suggested-changes: update.
3970 * gst/Makefile.am: remove memchunk and trashstack, since they're
3972 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
3973 * gst/gst.h: don't include some headers
3974 * gst/gstchildproxy.c: add gstmarshal.h
3975 * gst/gstclock.c: Don't use memchunks
3976 * gst/gstminiobject.c: Add some docs
3977 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
3978 * gst/gstobject.h: same
3979 * gst/gstplugin.c: include gstmacros.h
3980 * gst/gstplugin.h: don't include gstmacros.h, since it's private
3981 * gst/gstquery.c: don't use memchunks
3982 * gst/gstregistry.c: rename gst_registry_deinit()
3983 * gst/gstregistry.h: same
3985 2005-09-19 David Schleef <ds@schleef.org>
3987 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
3988 * docs/libs/gstreamer-libs-sections.txt:
3989 * docs/libs/tmpl/gstgetbits.sgml:
3990 * docs/libs/tmpl/gstputbits.sgml:
3992 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
3994 * win32/gstenumtypes.c:
3995 * win32/gstenumtypes.h:
3998 2005-09-19 Wim Taymans <wim@fluendo.com>
4000 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4001 Automatically PAUSE and RESUME a pipeline when a flushing seek
4004 2005-09-19 Andy Wingo <wingo@pobox.com>
4006 * gst/gstregistry.h: Spacing fixen.
4008 2005-09-19 Wim Taymans <wim@fluendo.com>
4010 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4011 Handle state change failure more correctly.
4013 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4015 * check/Makefile.am:
4016 * check/pipelines/cleanup.c: (run_pipeline):
4017 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4019 enable cleanup again after fixing the leak
4021 some more info on docs
4023 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4025 * check/Makefile.am:
4026 re-enable tests now that leaks are plugged
4028 * check/gst/gstbin.c:
4029 * check/gst/gstpipeline.c:
4030 add some more tests while fixing leaks
4032 make sure binaries are uptodate when valgrinding/gdbing
4034 * gst/gstelementfactory.c:
4035 remove a ref too many, and add a FIXME for when we get
4036 round to disposing of classes
4038 fix the refcounting when loading a plugin from a file and
4039 the code pretends that the pointer is the same even though
4040 of course it can change
4041 * gst/gstpluginfeature.c:
4042 unref plugins marked cached (a bit confusing as a name)
4043 as the docs state should be done
4044 various doc additions to explain refcounting
4045 * gst/gstregistry.c:
4046 * gst/gstregistryxml.c:
4049 2005-09-19 Wim Taymans <wim@fluendo.com>
4051 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4052 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4053 (send_messages), (GST_START_TEST), (gstbus_suite):
4054 * check/gst/gstpipeline.c: (GST_START_TEST):
4055 * check/pipelines/cleanup.c: (run_pipeline):
4056 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4058 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4059 (gst_bus_source_check), (gst_bus_source_dispatch),
4060 (gst_bus_create_watch), (gst_bus_add_watch_full),
4061 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4063 * tools/gst-launch.c: (event_loop):
4064 * tools/gst-md5sum.c: (event_loop):
4065 GstBusHandler -> GstBusFunc, return value has the same meaning as
4066 any other GSource (FALSE == remove source).
4067 _add_watch() and _add_watch_full() now take a MessageType mask to
4068 only handle specific types of messages.
4069 _poll() returns the GstMessage instead of the message type to avoid
4071 _have_pending() takes a MessageType mask now too.
4072 Added testsuite for multiple bus watches.
4073 Fix testsuites and applications for new bus API.
4075 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4077 * check/Makefile.am:
4078 mark a bunch of the tests as to fix until we fix them
4080 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4083 use GST_PLUGIN settings for valgrind tests as well, so we're
4084 valgrinding the correct thing
4085 * gst/gst.c: (init_post):
4088 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4090 * gst/gst.c: (init_post), (gst_deinit):
4091 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4092 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4093 * gst/gstindex.c: (gst_index_factory_class_init),
4094 (gst_index_factory_finalize):
4095 * gst/gstobject.c: (gst_object_dispose):
4096 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4097 (gst_plugin_load_file), (gst_plugin_desc_free):
4098 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4099 (gst_plugin_feature_finalize):
4100 * gst/gstregistry.c: (gst_registry_class_init),
4101 (gst_registry_init), (gst_registry_finalize),
4102 (gst_registry_get_default), (gst_registry_deinit):
4103 * gst/gstregistry.h:
4104 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4105 various cleanups and memleak plugging. make valgrind is happy now.
4107 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4110 add a check-valgrind target
4112 2005-09-18 David Schleef <ds@schleef.org>
4114 * tools/gst-inspect.c: Revert the GOption code.
4116 2005-09-17 David Schleef <ds@schleef.org>
4118 * check/Makefile.am: Fix environment variables.
4119 * check/gst/gstplugin.c: Fix for API changes.
4120 * tools/gst-inspect.c: Fix for API changes.
4121 * tools/gst-xmlinspect.c: Fix for API changes.
4122 * gst/gstelementfactory.c:
4125 * gst/gstpluginfeature.c:
4126 * gst/gstpluginfeature.h:
4127 * gst/gstregistry.c:
4128 * gst/gstregistry.h:
4129 * gst/gstregistryxml.c:
4130 * gst/gsttypefind.c:
4131 * gst/gsttypefindfactory.c:
4132 * gst/indexers/gstfileindex.c:
4133 * gst/indexers/gstmemindex.c:
4134 * gst/schedulers/Makefile.am:
4135 Change registry to keep track of both plugins and features,
4136 removing the feature tracking from plugins themselves.
4138 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4140 * check/Makefile.am:
4141 * tools/gst-register.1.in:
4144 2005-09-15 David Schleef <ds@schleef.org>
4146 * check/gst/gstplugin.c:
4147 * gst/gstelementfactory.c:
4149 * gst/gstpluginfeature.c:
4150 * gst/gstregistry.c:
4151 Getting tired of debugging. Disabled all the unreffing of
4152 plugins and features, which fixes the segfaults, but of
4153 course leaks like crazy. At least playbin works.
4155 2005-09-15 David Schleef <ds@schleef.org>
4157 * check/gst/gstplugin.c: (register_check_elements),
4158 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4160 * gst/elements/gsttypefindelement.c: Fix refcounting.
4161 * gst/gsttypefind.c:
4162 * gst/gsttypefindfactory.c:
4163 * gst/gsttypefindfactory.h:
4165 2005-09-15 David Schleef <ds@schleef.org>
4167 * gst/gstindex.c: get refcounting correct.
4168 * gst/gstregistry.c: Handle the case where a feature/plugin is
4171 2005-09-15 David Schleef <ds@schleef.org>
4173 * check/Makefile.am:
4174 * check/gst/gstplugin.c: Add test
4175 * gst/gstplugin.c: Fix problems noticed by testsuite
4177 * gst/gstregistry.c:
4178 * gst/gstregistry.h:
4180 2005-09-15 David Schleef <ds@schleef.org>
4182 * gst/gstplugin.c: Implement semi-decent recounting and locking
4183 in plugins and plugin features.
4185 * gst/gstpluginfeature.c:
4186 * gst/gstpluginfeature.h:
4187 * gst/gstregistry.c:
4189 2005-09-15 Michael Smith <msmith@fluendo.com>
4191 * gst/gstregistry.c: (gst_registry_get_feature_list):
4192 Implement this. Makes oggdemux work; decodebin still broken.
4194 2005-09-14 David Schleef <ds@schleef.org>
4196 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4198 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4199 * gst/check/Makefile.am:
4200 * libs/gst/controller/Makefile.am:
4201 * libs/gst/dataprotocol/Makefile.am:
4203 2005-09-14 David Schleef <ds@schleef.org>
4205 * configure.ac: Remove getbits library. Nothing uses it, and
4206 it should be in something like liboil if someone did want
4208 * libs/gst/Makefile.am:
4209 * libs/gst/getbits/Makefile.am:
4210 * libs/gst/getbits/gbtest.c:
4211 * libs/gst/getbits/getbits.c:
4212 * libs/gst/getbits/getbits.h:
4213 * libs/gst/getbits/gstgetbits_generic.c:
4214 * libs/gst/getbits/gstgetbits_i386.s:
4215 * libs/gst/getbits/gstgetbits_inl.h:
4217 2005-09-14 David Schleef <ds@schleef.org>
4219 * gst/Makefile.am: Dist glib-compat.h
4221 2005-09-14 David Schleef <ds@schleef.org>
4223 * configure.ac: Remove gst/registries, since it's no longer used.
4224 * gst/registries/Makefile.am:
4225 * gst/registries/gstlibxmlregistry.c:
4226 * gst/registries/gstlibxmlregistry.h:
4227 * gst/registries/gstxmlregistry.c:
4228 * gst/registries/gstxmlregistry.h:
4229 * gst/registries/registrytest.c:
4231 2005-09-14 David Schleef <ds@schleef.org>
4233 * gst/glib-compat.h:
4234 * gst/gstregistryxml.c:
4235 Convergence is near. Seriously.
4237 2005-09-14 David Schleef <ds@schleef.org>
4239 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4240 * gst/glib-compat.h:
4241 Attempt #4 to appease the buildbots.
4243 2005-09-14 David Schleef <ds@schleef.org>
4245 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4248 2005-09-14 David Schleef <ds@schleef.org>
4250 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4253 2005-09-14 David Schleef <ds@schleef.org>
4255 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4258 2005-09-14 David Schleef <ds@schleef.org>
4260 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4261 * gst/glib-compat.h: Add some functions that are in newer versions
4262 of glib than we care to require.
4263 * gst/gstregistryxml.c: Use them.
4265 2005-09-14 David Schleef <ds@schleef.org>
4267 * po/POTFILES.in: remove gst-register.c
4269 2005-09-14 David Schleef <ds@schleef.org>
4271 * docs/gst/gstreamer-docs.sgml:
4272 * docs/gst/gstreamer-sections.txt:
4273 * docs/gst/gstreamer.types:
4274 * docs/gst/tmpl/gstelement.sgml:
4275 * docs/gst/tmpl/gstplugin.sgml:
4276 * docs/gst/tmpl/gstpluginfeature.sgml:
4277 Documentation updates for registry changes.
4279 2005-09-14 David Schleef <ds@schleef.org>
4281 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4282 because we don't require glib-2.8.
4284 2005-09-14 David Schleef <ds@schleef.org>
4286 * gst/gstregistryxml.c: Added. Essentially moved out of the
4287 registries directory.
4289 2005-09-14 David Schleef <ds@schleef.org>
4291 * check/Makefile.am:
4292 * check/generic/states.c:
4296 * gst/gst_private.h:
4297 * gst/gstelementfactory.c:
4302 * gst/gstpluginfeature.c:
4303 * gst/gstpluginfeature.h:
4304 * gst/gstregistry.c:
4305 * gst/gstregistry.h:
4306 * gst/gstregistrypool.c: remove
4307 * gst/gstregistrypool.h: remove
4308 * gst/gsttypefind.c:
4309 * gst/gsttypefindfactory.c:
4311 * tools/Makefile.am:
4312 * tools/gst-compprep.c:
4313 * tools/gst-inspect.c:
4314 * tools/gst-register.c: remove
4315 * tools/gst-xmlinspect.c:
4316 Registry rewrite. Changes registry from being a file created
4317 by a tool into a simple cache file created automatically by
4318 libgstreamer. Removed gst-register (because it's no longer
4319 needed). Remove registry pools, because we only have one
4320 registry implementation (XML). Fix up other subsystems as
4323 2005-09-13 Michael Smith <msmith@fluendo.com>
4325 * gst/gstconfig.h.in:
4326 Don't Use windows linking attributes for MinGW. Fixes #316157
4328 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4330 * gst/gstutils.c: (set_state_async_thread_func),
4331 (gst_element_set_state_async):
4332 Apparently people think it's better if this function doesn't
4333 try to set the state to whatever state was asked for on the first
4334 call to this function for any object. Seriously.
4336 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4338 * check/gst/gstpipeline.c: (GST_START_TEST):
4339 * docs/gst/gstreamer-sections.txt:
4340 * gst/gstutils.c: (set_state_async_thread_func),
4341 (gst_element_set_state_async):
4343 add a "gst_element_set_state_async" method that
4344 sets the state and starts a thread to make sure the state
4345 change completes as best as it can
4347 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4349 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4350 codify design+behaviour in testsuite after discussion
4352 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4354 * docs/gst/tmpl/gstelement.sgml:
4355 * docs/manual/appendix-quotes.xml:
4357 * gst/gstelement.c: (gst_element_set_state):
4360 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4362 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4363 (gst_base_transform_prepare_output_buf),
4364 (gst_base_transform_handle_buffer):
4365 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4366 (gst_capsfilter_prepare_buf):
4367 Remove the requirement for sub-classes to call the parent
4368 implementation of prepare_output_buffer with a wrapper function.
4371 * gst/gsttagsetter.h:
4374 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4376 * docs/gst/gstreamer-sections.txt:
4379 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4381 * docs/gst/gstreamer-sections.txt:
4382 * docs/gst/tmpl/gstelement.sgml:
4383 * docs/gst/tmpl/gstplugin.sgml:
4384 * gst/gstminiobject.c:
4386 docs now stop throwing warnings
4388 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4390 * docs/gst/gstreamer-sections.txt:
4391 * docs/gst/gstreamer.types:
4392 * docs/gst/tmpl/gstpad.sgml:
4393 * docs/gst/tmpl/gsttypes.sgml:
4394 * gst/base/gstadapter.h:
4395 * gst/base/gstbasesink.h:
4396 * gst/base/gstbasesrc.h:
4406 * gst/gststructure.c:
4407 * gst/registries/gstlibxmlregistry.h:
4408 various documentation fixes
4410 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4412 * docs/gst/gstreamer-sections.txt:
4413 * docs/gst/tmpl/gstvalue.sgml:
4414 rearrange gstvalue section
4415 * gst/gstutils.c: (gst_element_state_get_name):
4417 * gst/gstvalue.c: (_gst_value_initialize):
4421 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4423 * check/gst-libs/controller.c:
4425 * gst/base/gstbasetransform.c:
4426 (gst_base_transform_default_prepare_buf),
4427 (gst_base_transform_handle_buffer):
4428 * gst/base/gstbasetransform.h:
4429 Some more basetransform changes and fixes to enable sub-classes
4430 that modify buffer metadata only.
4431 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4432 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4433 (gst_capsfilter_prepare_buf):
4434 If the output pad has fixed allowed caps and input buffers
4435 don't have any, set the fixed caps on outgoing buffers.
4437 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4438 * check/elements/identity.c: (GST_START_TEST):
4439 Make the error a little clearer when the test fails because
4440 identity made a copy of the buffer.
4441 * docs/gst/gstreamer-sections.txt:
4442 New symbols in gstbasetransform.h
4443 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4444 (gst_base_transform_init), (gst_base_transform_transform_size),
4445 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4446 (gst_base_transform_default_prepare_buf),
4447 (gst_base_transform_get_unit_size),
4448 (gst_base_transform_buffer_alloc),
4449 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4450 (gst_base_transform_change_state),
4451 (gst_base_transform_set_passthrough),
4452 (gst_base_transform_set_in_place),
4453 (gst_base_transform_is_in_place):
4454 * gst/base/gstbasetransform.h:
4455 Change BaseTransform to separate in_place operate from same_caps
4456 output. in_place implies that the element can perform the transform
4457 on incoming buffers in-place, even if the caps on the output are
4459 Sub-class elements can now implement special buffer allocation
4460 methods for outgoing buffers if they wish to.
4461 Big documentation addition.
4462 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4463 * gst/elements/gstelements.c:
4464 Changes for basetransform modifications.
4465 * gst/elements/Makefile.am:
4466 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4467 Compile fix. Extra debug output.
4469 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4471 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4473 add tests for valid pad naming
4474 * gst/check/gstcheck.c: (gst_check_log_message_func),
4475 (gst_check_log_critical_func):
4477 remove printing of code, it is fragile when the code contains
4478 % and the line number is enough info
4479 * gst/check/gstcheck.h:
4480 * gst/gstpad.c: (gst_pad_template_new):
4483 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4486 say what CHECK flags we use
4487 * docs/libs/gstreamer-libs.types:
4488 * libs/gst/controller/Makefile.am:
4489 * libs/gst/controller/gst-controller.c:
4490 * libs/gst/controller/gst-controller.h:
4491 * libs/gst/controller/gst-helper.c:
4492 * libs/gst/controller/gst-interpolation.c:
4493 * libs/gst/controller/gstcontroller.c:
4494 * libs/gst/controller/gsthelper.c:
4495 * libs/gst/controller/gstinterpolation.c:
4496 * tools/gst-inspect.c: (print_plugin_info):
4497 we don't use dashes in header names
4499 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4501 * check/Makefile.am:
4502 * check/gst/.cvsignore:
4503 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4504 (gst_pipeline_suite), (main):
4505 adding a test for pipelines and state changes
4506 * gst/gstutils.c: (get_state_func):
4508 * gstreamer.spec.in:
4511 2005-09-08 Michael Smith <msmith@fluendo.com>
4513 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4514 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4515 (gst_file_src_is_seekable), (gst_file_src_get_size),
4516 (gst_file_src_start):
4517 * gst/elements/gstfilesrc.h:
4518 Various fixes for unseekable, unmmapable, and non-normal files, so
4519 that fallback to read() rather than mmap() works.
4520 * gst/gstevent.c: (gst_event_new_newsegment):
4521 Allow newsegment events with segment_start == segment_end, as will
4522 correctly happen if you use filesrc on a zero-size file, for
4525 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4527 * gst/gstplugin.c: (gst_plugin_load_file):
4528 Call g_module_close when we don't load the module
4530 * gst/registries/gstlibxmlregistry.c:
4531 (gst_xml_registry_get_property):
4532 Port leak fix from 0.8
4534 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4536 * docs/gst/gstreamer-docs.sgml:
4537 * docs/gst/tmpl/.cvsignore:
4538 * docs/gst/tmpl/gsttrace.sgml:
4539 * docs/gst/tmpl/gsttrashstack.sgml:
4548 * gst/gsttaginterface.c:
4549 * gst/gsttaginterface.h:
4552 * gst/gsttagsetter.c:
4553 * gst/gsttagsetter.h:
4556 * gst/gsttrashstack.c:
4557 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4558 inlined docs for gsttrace, gsttrashstack
4560 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4563 * gst/elements/gstbufferstore.h:
4564 * gst/elements/gsttypefindelement.c:
4565 * gst/elements/gsttypefindelement.h:
4567 * gst/gsttypefind.c:
4568 * gst/gsttypefind.h:
4569 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4570 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4571 (gst_type_find_factory_dispose),
4572 (gst_type_find_factory_unload_thyself),
4573 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4574 (gst_type_find_factory_get_caps),
4575 (gst_type_find_factory_get_extensions),
4576 (gst_type_find_factory_call_function):
4577 * gst/gsttypefindfactory.h:
4578 * gst/registries/gstlibxmlregistry.c:
4579 * gst/registries/gstxmlregistry.c:
4580 splitted gsttypefind into gsttypefind, gsttypefindfactory
4582 2005-09-07 Andy Wingo <wingo@pobox.com>
4584 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4585 condition whereby the pad's task function is entered before the
4586 pad_mode variable was set.
4588 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4590 * gst/gstpad.c: (gst_pad_alloc_buffer):
4591 Catch misbehaving pad_alloc functions that don't
4592 set up caps and do it for them.
4594 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4596 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4598 * docs/gst/tmpl/.cvsignore:
4599 * docs/gst/tmpl/gstmemchunk.sgml:
4600 * docs/gst/tmpl/gstparse.sgml:
4601 * docs/gst/tmpl/gsttaglist.sgml:
4602 * docs/gst/tmpl/gsttagsetter.sgml:
4603 * docs/gst/tmpl/gsttypefind.sgml:
4604 * docs/gst/tmpl/gsttypefindfactory.sgml:
4605 * gst/gstmemchunk.c:
4608 * gst/gsttaginterface.c:
4609 * gst/gsttypefind.c:
4610 * gst/gsttypefind.h:
4613 === release 0.9.2 ===
4615 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4620 releasing 0.9.2, "South"
4622 2005-09-05 Andy Wingo <wingo@pobox.com>
4624 * gst/registries/gstxmlregistry.h:
4625 * gst/registries/gstxmlregistry.c: Um... resurrect...
4627 * gst/registries/gstxmlregistry.h:
4628 * gst/registries/gstxmlregistry.c: and update to newer API.
4629 Incidentally they should be a bit faster now that they don't have
4632 2005-09-05 Andy Wingo <wingo@pobox.com>
4634 * gst/registries/gstxmlregistry.h:
4635 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4636 replaced by the libxml registry a while back
4638 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4640 * docs/gst/tmpl/gstplugin.sgml:
4641 * gst/elements/gstelements.c:
4643 * gst/gstplugin.c: (gst_plugin_register_func),
4644 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4645 (gst_plugin_get_source):
4647 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4648 (gst_xml_registry_save_plugin):
4649 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4650 (gst_xml_registry_save_plugin):
4651 * tools/gst-inspect.c: (print_plugin_info):
4652 add a "source" plugin description field, to represent the source
4653 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4654 will set it to PACKAGE, which is automake's idea of the name of
4657 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4663 * docs/faq/Makefile.am:
4664 * docs/gst/tmpl/gstelement.sgml:
4665 * docs/gst/tmpl/gsttypes.sgml:
4666 * docs/htmlinstall.mak:
4667 * docs/manual/Makefile.am:
4668 * docs/pwg/Makefile.am:
4669 reorganize doc build a little
4670 split out docbook and gtk-doc stuff
4671 have two separate --enable's and enable them through autogen
4672 but disable by default in configure (to be similar to other
4674 * gstreamer.spec.in:
4675 clean up docs install
4695 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4697 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4700 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4701 (gst_fake_sink_change_state):
4702 Make state change function thread-safe.
4704 * gst/gstpad.c: (gst_pad_alloc_buffer):
4705 Set offset on generic buffer allocated by fallback.
4707 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4709 * docs/gst/gstreamer-sections.txt:
4710 * docs/gst/tmpl/gstelement.sgml:
4712 * libs/gst/controller/gst-controller.c:
4713 (gst_controlled_property_set_interpolation_mode),
4714 (gst_controlled_property_new),
4715 (gst_controller_find_controlled_property):
4716 run the wingo-magic script against the docs
4718 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4720 * docs/gst/gstreamer-docs.sgml:
4721 * docs/gst/gstreamer-sections.txt:
4722 * docs/gst/tmpl/.cvsignore:
4723 * docs/gst/tmpl/gstelementdetails.sgml:
4724 * docs/gst/tmpl/gstelementfactory.sgml:
4727 * gst/gstelementfactory.c:
4728 * gst/gstelementfactory.h:
4729 merged elementdetails docs into elementfactory docs
4732 2005-09-02 Andy Wingo <wingo@pobox.com>
4734 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4735 consider this enum an enum and not a flags.
4737 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4739 * docs/gst/gstreamer-docs.sgml:
4740 * docs/gst/tmpl/.cvsignore:
4741 * docs/gst/tmpl/gstghostpad.sgml:
4742 * docs/gst/tmpl/gstiterator.sgml:
4743 * docs/gst/tmpl/gstmacros.sgml:
4744 * docs/gst/tmpl/gstrealpad.sgml:
4745 * docs/gst/tmpl/gstregistry.sgml:
4746 * docs/gst/tmpl/gstregistrypool.sgml:
4747 * docs/gst/tmpl/gststructure.sgml:
4748 * docs/gst/tmpl/gstsystemclock.sgml:
4749 * docs/gst/tmpl/gsttrace.sgml:
4750 * gst/gstghostpad.c:
4752 * gst/gstmemchunk.c:
4753 * gst/gstmemchunk.h:
4755 * gst/gstregistry.c:
4756 * gst/gstregistrypool.c:
4757 * gst/gststructure.c:
4758 * gst/gstsystemclock.c:
4761 2005-09-02 Andy Wingo <wingo@pobox.com>
4763 * gst/gstelement.h (GstState): Renamed from GstElementState,
4764 changed to be a normal enum instead of flags.
4765 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4766 munged to be GST_STATE_CHANGE_*.
4767 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4768 work with the new state representation.
4769 (GstStateChange): New enumeration of possible state transitions.
4770 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4771 (GstElementClass::change_state): Pass the GstStateChange along as
4772 an argument. Helps language bindings, so they don't have to use
4773 tricky lock-needing macros like GST_STATE_CHANGE ().
4775 * scripts/update-states (file): New script. Run it on a file to
4776 update it for state naming and API changes. Updates files in
4779 * All files updated for the new API.
4781 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4783 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4784 * gst/gstutils.c: (gst_util_set_value_from_string),
4785 (gst_util_set_object_arg):
4786 fix a bunch of unchecked return values
4787 * tools/gst-complete.c: (main):
4788 * gstreamer.spec.in:
4791 2005-09-01 Wim Taymans <wim@fluendo.com>
4793 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4794 (gst_base_sink_event), (gst_base_sink_do_sync),
4795 (gst_base_sink_handle_event):
4796 * gst/base/gstbasesink.h:
4797 Handle newsegments more correctly.
4802 * gst/gstevent.c: (gst_event_new_newsegment):
4803 A newsegment cannot have a start_time of -1
4805 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4807 * win32/gstenumtypes.c:
4808 * win32/gstenumtypes.h:
4811 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4813 * libs/gst/controller/gst-controller.c:
4814 (gst_controlled_property_set_interpolation_mode),
4815 (gst_controlled_property_new):
4818 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4820 * docs/faq/gst-uninstalled:
4825 * gst/gstutils.c: (gst_element_link_filtered):
4827 add gst_element_link_filtered
4829 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4831 * docs/gst/gstreamer-docs.sgml:
4832 * docs/gst/gstreamer-sections.txt:
4833 * docs/gst/tmpl/.cvsignore:
4834 * docs/gst/tmpl/gsterror.sgml:
4835 * docs/gst/tmpl/gstfilter.sgml:
4836 * docs/gst/tmpl/gsturihandler.sgml:
4837 * docs/gst/tmpl/gsturitype.sgml:
4838 * docs/gst/tmpl/gstutils.sgml:
4839 * docs/gst/tmpl/gstxml.sgml:
4847 inlined more docs, fixed double id-ref
4849 2005-08-31 Wim Taymans <wim@fluendo.com>
4851 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4852 (gst_base_transform_handle_buffer):
4853 Passthrough elements don't need the caps as they don't care.
4855 2005-08-31 Wim Taymans <wim@fluendo.com>
4857 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4858 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4859 Don't leak refcounts on buffers.
4861 2005-08-31 Wim Taymans <wim@fluendo.com>
4863 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4864 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4865 (gst_base_transform_chain), (gst_base_transform_change_state):
4866 * gst/base/gstbasetransform.h:
4867 Handle the case where we are not negotiated more gracefully.
4869 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4871 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4872 (gst_file_src_map_region):
4873 Set READONLY flag on mmap'ed buffers, otherwise
4874 gst_buffer_make_writable() won't work properly (#314708).
4876 2005-08-31 Wim Taymans <wim@fluendo.com>
4878 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4879 passthrough elements can even do inplace on non writable
4880 buffers (as they don't touch them).
4882 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4884 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4885 (gst_test_mono_source_set_property),
4886 (gst_test_mono_source_class_init), (GST_START_TEST),
4887 (gst_controller_suite):
4888 more tests (hehe I have the most)
4890 describe popping messages whenusing mulltiple sources
4891 * libs/gst/controller/gst-controller.c:
4892 (gst_controlled_property_set_interpolation_mode),
4893 (gst_controlled_property_new):
4894 * libs/gst/controller/gst-controller.h:
4895 * libs/gst/controller/gst-interpolation.c:
4896 implement boolean properties
4898 2005-08-31 Wim Taymans <wim@fluendo.com>
4900 * gst/gstminiobject.c: (gst_mini_object_ref):
4901 Cannot assert that the refcount has to be positive
4902 since a disposed object can be resurrected.
4904 2005-08-31 Wim Taymans <wim@fluendo.com>
4906 * gst/gstpad.c: (gst_pad_init):
4907 Revert change, need to first fix badly behaving
4910 2005-08-30 Wim Taymans <wim@fluendo.com>
4912 * check/elements/fakesrc.c: (setup_fakesrc):
4913 * check/elements/identity.c: (setup_identity):
4914 Activate pads before using them.
4916 2005-08-30 Wim Taymans <wim@fluendo.com>
4918 * gst/base/gstadapter.c: (gst_adapter_flush):
4919 Flushing out 0 bytes is ok for this function.
4921 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4922 no newsegment gives a warning and sets the start/stop to
4925 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4926 (gst_base_transform_set_passthrough):
4929 * gst/gstminiobject.c: (gst_mini_object_ref):
4930 Check refcount here too.
4932 * gst/gstpad.c: (gst_pad_init):
4933 Pads are initially flushing and refusing data.
4935 * gst/gstutils.c: (gst_element_link_pads_filtered):
4936 When adding a capsfilter element make sure it has the
4937 same state as the parent bin.
4939 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4941 * docs/gst/tmpl/.cvsignore:
4942 * docs/gst/tmpl/gstformat.sgml:
4943 * docs/gst/tmpl/gstversion.sgml:
4947 * gst/gstversion.h.in:
4948 more docs and two more inlined
4950 2005-08-30 Wim Taymans <wim@fluendo.com>
4952 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
4953 Don't sync to clock.
4955 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4957 * docs/gst/gstreamer-sections.txt:
4958 ultral33t func10ns deserve to appear in the docs actually
4959 * docs/gst/tmpl/.cvsignore:
4960 * docs/gst/tmpl/gstcompat.sgml:
4961 * docs/gst/tmpl/gstconfig.sgml:
4962 * gst/check/gstcheck.c:
4964 * gst/gstconfig.h.in:
4967 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4969 * docs/gst/tmpl/.cvsignore:
4970 * docs/gst/tmpl/gstquery.sgml:
4971 * docs/gst/tmpl/gstutils.sgml:
4974 inlined and extended docs
4976 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4978 * check/gst-libs/controller.c: (GST_START_TEST),
4979 (gst_controller_suite):
4981 * docs/gst/tmpl/gstutils.sgml:
4982 * docs/libs/gstreamer-libs-sections.txt:
4983 * docs/libs/tmpl/gstdataprotocol.sgml:
4985 * examples/controller/audio-example.c: (main):
4986 controller example works now
4989 * tools/gst-inspect.c: (print_element_properties_info):
4990 show param spec flags
4992 2005-08-29 Andy Wingo <wingo@pobox.com>
4994 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
4996 2005-08-28 Andy Wingo <wingo@pobox.com>
4998 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
4999 as having two arguments instead of just one. Allows superclasses
5000 to access information on subclasses -- see the terrible for() loop
5001 in gtype.c:g_type_create_instance for the reason why. All callers
5004 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5006 * docs/design/part-messages.txt:
5008 * docs/gst/tmpl/.cvsignore:
5009 * docs/gst/tmpl/gstcaps.sgml:
5010 * docs/gst/tmpl/gstclock.sgml:
5017 added descriptions for bus and message
5018 inline caps and clock docs
5020 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5026 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5028 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5031 2005-08-26 Andy Wingo <wingo@pobox.com>
5033 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5034 element_set_state's return val.
5035 (test_2_elements): Add test that's been disabled for months.
5037 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5038 can-activate-pull properties.
5040 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5041 can-activate-pull properties. Implement is_seekable so fakesrc can
5042 operate in pull mode.
5044 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5046 (gst_base_sink_activate, gst_base_sink_activate_pull)
5047 (gst_base_sink_activate_push): Make activation mode choosing work.
5049 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5050 is right. Make pull mode work. Post an eos before pausing in pull
5052 (gst_base_sink_change_state): Pay attention to the core's
5053 change_state() return val.
5055 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5056 has-getrange properties. Cleanups.
5058 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5059 has_getrange and replace with can_activate_pull and
5062 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5063 locking comments. Remove has_loop, has_chain and replace with
5064 can_activate_pull and can_activate_push.
5066 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5069 * examples/Makefile.am:
5070 * examples/metadata/Makefile.am:
5071 * examples/metadata/read-metadata.c: (message_loop),
5072 (have_pad_handler), (make_pipeline), (print_tag), (main):
5073 Add metadata reading example that loops over a list of filenames,
5074 dumping any tags found.
5076 * gst/gstbus.c: (gst_bus_dispose):
5077 * gst/gstelement.c: (gst_element_dispose):
5078 Release a few potentially-held references in dispose.
5080 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5082 * docs/gst/tmpl/gstminiobject.sgml:
5083 do *not* add tmpl/*.sgml files to CVS!
5085 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5087 * libs/gst/bytestream/.cvsignore:
5088 * libs/gst/bytestream/Makefile.am:
5089 * libs/gst/bytestream/adapter.c:
5090 * libs/gst/bytestream/adapter.h:
5091 * libs/gst/bytestream/bytestream.c:
5092 * libs/gst/bytestream/bytestream.h:
5093 * libs/gst/bytestream/filepad.c:
5094 * libs/gst/bytestream/filepad.h:
5095 removing obsolete files
5097 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5099 * docs/gst/gstreamer-docs.sgml:
5100 * docs/libs/gstreamer-libs-docs.sgml:
5101 disabed additional index entries again, as this makes docs-gen just
5102 slow and they aren't useful yet
5103 * docs/libs/gstreamer-libs-sections.txt:
5104 little -section.txt cleanup for libs
5106 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5109 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5110 fix up some debugging
5111 (gst_base_transform_get_unit_size),
5112 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5113 (gst_base_transform_handle_buffer):
5114 * gst/base/gstbasetransform.h:
5115 handle and store timed NEWSEGMENT events so that subclasses that
5116 calculate time by counting samples have a segment_start time they
5117 need to add to their timestamps - see audioresample
5119 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5122 removed ';' from the end of macro defs
5123 * docs/gst/gstreamer-docs.sgml:
5124 * docs/gst/gstreamer-sections.txt:
5125 * docs/gst/tmpl/.cvsignore:
5127 * gst/gstelement.c: (gst_element_class_init),
5128 (gst_element_set_state), (activate_pads),
5129 (gst_element_save_thyself):
5130 * gst/gstevent.c: (gst_event_new_newsegment):
5132 * gst/gstiterator.c:
5133 * gst/gstiterator.h:
5136 * gst/gstutils.c: (gst_pad_query_convert):
5138 fixed parameter name mismatches between source, header and docs
5139 added some more docs, resolved the last batch of unused elements in
5140 docs (now someone needs to doc them)
5142 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5144 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5145 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5146 don't walk through the plugins backwards. Where is all this
5147 reversed logic coming from ?
5149 2005-08-25 Wim Taymans <wim@fluendo.com>
5151 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5152 (gst_base_transform_transform_size),
5153 (gst_base_transform_configure_caps),
5154 (gst_base_transform_get_unit_size),
5155 (gst_base_transform_buffer_alloc),
5156 (gst_base_transform_change_state):
5157 * gst/base/gstbasetransform.h:
5158 Cache caps unit_size.
5159 Make sure we cannot negotiate up and downstream at the
5162 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5164 * gst/gst.c: (init_pre), (init_post):
5165 register the installed plugin path after the env var
5166 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5167 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5168 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5169 directories, so the tests can prefer uninstalled over installed
5171 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5173 * gst/base/gstbasetransform.h:
5178 2005-08-25 Wim Taymans <wim@fluendo.com>
5180 * gst/gstbin.c: (bin_bus_handler):
5181 Be a bit more conservative about the posted message.
5183 * gst/gstbus.c: (gst_bus_post):
5184 Some cleanups, warn wrong return values.
5186 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5188 * check/gst/gstbin.c: (GST_START_TEST):
5189 * gst/gstbin.c: (bin_bus_handler):
5190 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5191 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5192 (gst_message_new_warning), (gst_message_new_tag),
5193 (gst_message_new_state_changed), (gst_message_new_segment_start),
5194 (gst_message_new_segment_done), (gst_message_new_custom):
5196 * tools/gst-launch.c: (event_loop):
5197 * tools/gst-md5sum.c: (event_loop):
5198 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5200 2005-08-25 Wim Taymans <wim@fluendo.com>
5202 * check/generic/states.c: (GST_START_TEST):
5203 Cleanup can be done at the end.
5205 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5206 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5207 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5208 Oh boy.. Thanks for finding this, Thomas.
5210 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5212 * docs/gst/gstreamer.types:
5215 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5217 * docs/gst/gstreamer-docs.sgml:
5218 * docs/gst/gstreamer-sections.txt:
5219 * docs/gst/tmpl/.cvsignore:
5221 * gst/gstiterator.c:
5223 * gst/registries/gstxmlregistry.h:
5224 added missing classes and symbols (123 more to go)
5225 removed removed symbols from section file
5226 fixed many doc-comments
5228 2005-08-24 Wim Taymans <wim@fluendo.com>
5230 * check/generic/states.c: (GST_START_TEST):
5231 Make sure all tasks are stopped.
5233 * check/gst/gstbin.c: (GST_START_TEST):
5234 Unref after usage for proper valgrinding.
5236 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5237 Really wait for the task to stop before destroying the
5240 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5241 (gst_queue_src_activate_push):
5242 Small cleanups. Don't stop the task when we did not start
5245 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5246 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5247 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5250 Protect the stream lock with the object lock.
5251 Disallow setting the stream lock when running.
5252 Add cleanup_all to wait for the threadpool to finish.
5253 Remove code to autoallocate a mutex if none was provided.
5254 Add _join() to wait for a task to stop.
5255 Protect the thread pool with a global lock.
5257 2005-08-24 Wim Taymans <wim@fluendo.com>
5259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5260 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5261 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5262 * gst/base/gstbasesink.h:
5263 Handle newsegment events correctly.
5264 Drop buffers out of the segment range.
5266 2005-08-22 Andy Wingo <wingo@pobox.com>
5268 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5269 macro, implements an interface and gstimplementsinterface for a
5272 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5274 * check/Makefile.am:
5275 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5276 add a test that does a bunch of state changes on elements
5277 needs some fixing for valgrind
5278 * check/states/sinks.c: (gst_object_suite):
5281 add prototype for gst_caps_is_equal_fixed
5283 * gst/gstregistrypool.c:
5286 2005-08-24 Andy Wingo <wingo@pobox.com>
5288 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5289 convert a negative value. Doesn't make much sense. Mostly this is
5290 here to force callers to ensure -1 maps to -1.
5292 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5294 * docs/pwg/advanced-types.xml:
5295 Well done to Michael for catching my deliberate introduction
5296 of this spelling mistake.
5297 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5299 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5300 unlink pads before removing the element from the bin.
5302 2005-08-24 Andy Wingo <wingo@pobox.com>
5304 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5305 the same thing as GST_DEBUG=*:4.
5306 (parse_debug_level, parse_debug_category): New helper parsers.
5308 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5310 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5311 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5312 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5313 (gst_base_transform_buffer_alloc),
5314 (gst_base_transform_handle_buffer):
5315 use gboolean return values and pointers to size so we can use the
5316 full GST_BUFFER_SIZE range (guint) for buffer sizes
5317 use GstPadDirection for transform_caps
5318 * gst/base/gstbasetransform.h:
5319 rename get_size to get_unit_size since that's what it is
5320 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5321 use GstPadDirection for transform_caps
5322 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5324 cleanup and debugging
5326 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5328 * gst/gstelement.c: (gst_element_class_init),
5329 (gst_element_set_state), (activate_pads),
5330 (gst_element_save_thyself):
5331 * tools/gst-compprep.c: (main):
5332 * tools/gst-inspect.c: (print_element_properties_info):
5333 * tools/gst-xmlinspect.c: (print_element_properties):
5334 Fixed long standing mem-leak
5336 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5338 * check/gst/gstbin.c: (GST_START_TEST):
5339 * gst/gstbin.c: (bin_bus_handler):
5340 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5341 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5342 (gst_message_new_warning), (gst_message_new_tag),
5343 (gst_message_new_state_changed), (gst_message_new_segment_start),
5344 (gst_message_new_segment_done), (gst_message_new_custom):
5346 * tools/gst-launch.c: (event_loop):
5347 * tools/gst-md5sum.c: (event_loop):
5348 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5349 that applications can sensibly post custom messages with references
5350 to their own objects.
5352 2005-08-24 Andy Wingo <wingo@pobox.com>
5354 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5357 2005-08-24 Wim Taymans <wim@fluendo.com>
5359 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5360 (gst_base_transform_transform_caps),
5361 (gst_base_transform_transform_size),
5362 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5363 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5364 (gst_base_transform_handle_buffer):
5365 * gst/base/gstbasetransform.h:
5366 Many fixes and new features added by Thomas. Can now also do
5367 transforms with variable sizes and a custom fixate_caps function.
5369 2005-08-24 Wim Taymans <wim@fluendo.com>
5371 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5375 Cast to ClockTime before formatting to time.
5380 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5382 * check/gst-libs/controller.c: (GST_START_TEST),
5383 (gst_controller_suite):
5384 * docs/gst/tmpl/gstcaps.sgml:
5385 * docs/gst/tmpl/gstghostpad.sgml:
5386 * docs/gst/tmpl/gstquery.sgml:
5387 * docs/gst/tmpl/gstutils.sgml:
5388 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5389 (gst_object_sink_values), (gst_object_get_value_arrays),
5390 (gst_object_get_value_array):
5391 gracefully handle helper method calls to objects that are not beeing
5392 controlled, added test case for that
5394 2005-08-23 Wim Taymans <wim@fluendo.com>
5396 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5397 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5398 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5399 (gst_event_parse_qos), (gst_event_new_seek),
5400 (gst_event_parse_seek):
5402 Some more debugging output and doc cleanups.
5404 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5405 Fix possible deadlock.
5407 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5409 * docs/gst/gstreamer-docs.sgml:
5410 * docs/gst/gstreamer-sections.txt:
5411 * docs/gst/gstreamer.types:
5412 * docs/gst/tmpl/.cvsignore:
5417 added 100 symbols from gstreamer-unused.txt to the right sections
5418 fixed more broken comments
5419 added GstBus to docs
5421 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5423 * docs/gst/gstreamer-sections.txt:
5424 * docs/gst/tmpl/.cvsignore:
5425 * docs/gst/tmpl/gstbin.sgml:
5426 * docs/gst/tmpl/gstbuffer.sgml:
5427 * gst/base/gstbasesrc.c:
5428 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5431 * tools/gst-launch.1.in:
5432 inlined more doc comments, added missing comments and fixed comments
5435 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5437 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5441 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5443 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5444 * gst/gststructure.h:
5445 add a fixate function for booleans; add a FIXME that these func
5446 names should probably be gst_structure_fixate_*
5448 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5450 * docs/gst/gstreamer-docs.sgml:
5451 * docs/gst/gstreamer-sections.txt:
5453 * gst/gstbin.c: (gst_bin_get_type),
5454 (gst_bin_child_proxy_get_child_by_index),
5455 (gst_bin_child_proxy_get_children_count),
5456 (gst_bin_child_proxy_init):
5457 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5458 (gst_child_proxy_get_child_by_index),
5459 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5460 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5461 (gst_child_proxy_get), (gst_child_proxy_set_property),
5462 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5463 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5464 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5465 * gst/gstchildproxy.h:
5466 * gst/parse/grammar.y:
5467 * tools/gst-inspect.c: (print_interfaces),
5468 (print_element_properties_info), (print_element_info):
5469 ported gstchildproxy over from 0.8
5470 ported gst-inspect fixes and enhancements over from 0.8
5472 2005-08-22 Wim Taymans <wim@fluendo.com>
5474 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5475 (gst_base_transform_handle_buffer):
5476 Also call the transform function if we have ANY caps.
5478 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5481 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5483 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5484 Don't pretend to handle seek events if the source is not seekable
5486 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5488 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5489 Remove extra parameter to debug output
5491 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5492 (gst_base_src_do_seek), (gst_base_src_activate_push):
5493 Fix seek event handling.
5495 * gst/gstpipeline.c: (gst_pipeline_change_state):
5496 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5497 (gst_queue_src_activate_push):
5498 Don't start the src pad task on FLUSH_STOP if the pad
5502 2005-08-22 Wim Taymans <wim@fluendo.com>
5504 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5505 Added check for gst_static_caps_get() refcounting.
5507 2005-08-22 Wim Taymans <wim@fluendo.com>
5509 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5510 Make _static_caps_get() refcounting sane.
5512 * gst/gstelement.c: (gst_element_set_state):
5513 Add g_return_val_if_fail() to protect against segfaults.
5515 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5517 * docs/gst/tmpl/gstevent.sgml:
5520 inlined remaining docs, added missing doc comments
5522 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5524 * check/gst/gstbin.c: (GST_START_TEST):
5525 since we don't know when preroll is done, use refcount range
5527 * gst/check/gstcheck.h:
5528 add macro for checking refcount range
5530 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5532 * check/Makefile.am:
5533 clean up environment for when registry gets built versus
5534 when actual tests are run; valgrind seems to not report
5535 leaks if GST_PLUGIN_PATH is set to some specific values
5536 * check/gst/gstbin.c: (GST_START_TEST):
5537 add more refcounting checks; maybe this exposes a
5540 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5541 * gst/check/gstcheck.h:
5542 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5543 (gst_bin_change_state):
5544 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5545 add/fix debugging/whitespace
5547 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5549 * check/gst/gstevent.c: (event_probe), (test_event),
5551 Er, don't call gst_bin_watch_for_state_change you idiot.
5553 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5555 * check/Makefile.am:
5556 Use CHECK_CFLAGS and CHECK_LIBS
5557 * check/gst/gstevent.c: (event_probe), (test_event),
5560 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5561 (gst_base_src_start), (gst_base_src_stop),
5562 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5563 (gst_base_src_change_state):
5564 Sprinkle gst_base_src_stop liberally around error paths to fix
5565 problems reusing a source after failed state changes.
5566 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5567 (helper_find_suggest), (gst_type_find_helper):
5568 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5570 * docs/gst/tmpl/gstevent.sgml:
5571 Migrate part of the docs from the SGML file. Wait for ensonic to
5572 tell me how I did it wrong ;)
5573 * tools/gst-typefind.c: (main):
5574 Extra robustness to state changes between files.
5576 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5578 * check/Makefile.am:
5579 don't valgrind the controller test - it's leaking - Stefan, HELP
5580 * gst/check/gstcheck.c: (gst_check_message_error),
5581 (gst_check_chain_func), (gst_check_setup_element),
5582 (gst_check_teardown_element), (gst_check_setup_src_pad),
5583 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5584 (gst_check_teardown_sink_pad):
5585 * gst/check/gstcheck.h:
5586 add a bunch of methods to set up elements, and src and sink pads
5587 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5588 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5593 whitespace/doc fixes
5595 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5598 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5599 be handled by the application and not always printed as well
5601 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5603 * check/Makefile.am:
5605 * gst/check/gstcheck.c: (gst_check_message_error):
5606 * gst/check/gstcheck.h:
5607 add a fail_unless_equals_int
5608 add fail_unless for error messages
5610 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5612 * check/Makefile.am:
5614 * common/Makefile.am:
5617 factor out some of the common stuff so we can use it
5619 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5621 * check/Makefile.am:
5622 * check/gst/gstiterator.c: (GST_START_TEST):
5623 * check/gst/gstsystemclock.c: (GST_START_TEST),
5624 (gst_systemclock_suite):
5625 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5629 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5631 * check/elements/.cvsignore:
5632 * check/elements/gstfakesrc.c:
5633 rename to name of element
5634 * check/elements/identity.c: (chain_func), (event_func),
5635 (setup_identity), (cleanup_identity), (GST_START_TEST),
5636 (identity_suite), (main):
5637 add a test for identity
5638 * check/Makefile.am:
5639 * pkgconfig/Makefile.am:
5640 * pkgconfig/gstreamer-check.pc.in:
5641 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5645 move the check stuff to a library that gets installed
5646 * check/gst-libs/controller.c: (GST_START_TEST):
5647 * check/gst-libs/gdp.c:
5648 * check/gst/gst.c: (GST_START_TEST):
5649 * check/gst/gstbin.c:
5650 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5651 * check/gst/gstbus.c:
5652 * check/gst/gstcaps.c: (GST_START_TEST):
5653 * check/gst/gstelement.c:
5654 * check/gst/gstghostpad.c:
5655 * check/gst/gstiterator.c:
5656 * check/gst/gstmessage.c:
5657 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5658 * check/gst/gstobject.c:
5659 * check/gst/gstpad.c: (GST_START_TEST):
5660 * check/gst/gststructure.c: (GST_START_TEST):
5661 * check/gst/gstsystemclock.c: (GST_START_TEST),
5662 (gst_systemclock_suite):
5663 * check/gst/gsttag.c: (gst_tag_suite):
5664 * check/gst/gstvalue.c:
5665 * check/pipelines/cleanup.c:
5666 * check/pipelines/simple_launch_lines.c:
5667 * check/states/sinks.c:
5668 change include statement
5670 * docs/gst/gstreamer-sections.txt:
5671 * docs/gst/tmpl/gstpad.sgml:
5672 document more pad stuff
5673 * gst/gstminiobject.c: (gst_mini_object_ref),
5674 (gst_mini_object_unref):
5677 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5679 * docs/gst/tmpl/gst.sgml:
5681 eliminate another tmpl file, fix spelling in the long-description
5683 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5685 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5686 (test_event), (timediff), (gstevents_suite):
5687 Should fix build on 64-bit arch's
5689 2005-08-18 Andy Wingo <wingo@pobox.com>
5691 Make sure that when a pipeline goes to PLAYING, that data has
5692 actually hit the sink.
5694 * check/states/sinks.c (test_sink): A sink that doesn't get any
5695 data shouldn't return SUCCESS for going to either PLAYING or
5696 PAUSED. Test also the return values on the way back down.
5698 * gst/gstelement.c (gst_element_set_state): When changing the
5699 state of an element currently changing state asynchronously, go to
5700 lost-state after commiting the pending state. Makes future calls
5701 to get_state continue to return ASYNC.
5703 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5704 ASYNC when going to PLAYING if we still don't have preroll, as can
5705 happen with live sources.
5707 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5709 * docs/pwg/advanced-types.xml:
5710 Hack long paragraph into 2 chunks as a workaround for buggy
5711 jadetex version in sid and breezy that loops infinitely and
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 Provide more error margin in clock measurements to allow for
5719 g_get_current_time inaccuracies.
5721 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5723 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5724 (test_event), (timediff), (gstevents_suite):
5725 Fix error message output so I might be able to tell why the
5726 test works here but fails on the build farm.
5728 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5730 * check/Makefile.am:
5731 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5732 (test_event), (timediff), (gstevents_suite), (main):
5735 * docs/design/part-seeking.txt:
5738 * docs/gst/tmpl/gstevent.sgml:
5739 * docs/gst/tmpl/gstfakesrc.sgml:
5742 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5743 Treat a buffer-without-newsegment the same as a receiving
5744 a newsegment not in time format, and disable syncing to the clock
5747 * gst/gstbus.c: (gst_bus_set_sync_handler):
5748 Assert if anyone tries to replace the existing sync_handler for bus,
5749 as only the owner should be setting it.
5752 Have a fixed set of custom event enums with events identified by
5753 their structure name (as in 0.8), rather than a free-for-all
5754 allowing collisions between enum values from different plugins.
5756 * gst/gstpad.c: (gst_pad_class_init):
5759 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5760 Handle out-of-band downstream events from the sending thread.
5762 2005-08-17 Andy Wingo <wingo@pobox.com>
5764 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5765 play-timeout==0 to mean no timeout at all. In that case, don't
5766 bother with a get_state or a warning, just return directly, even
5769 * gst/base/gstbasetransform.c: Debug changes.
5772 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5773 ensure bins post state change messages. A bit of a hack but I can't
5774 think of a way to avoid it.
5776 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5778 2005-08-16 Andy Wingo <wingo@pobox.com>
5780 * gst/base/gstadapter.h:
5781 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5782 peek() but you own the data. Not terribly efficient atm.
5784 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5786 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5787 (gst_element_found_tags):
5789 Add two utility functions for tag handling.
5791 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5793 * docs/manual/advanced-dataaccess.xml:
5794 * docs/manual/basics-helloworld.xml:
5795 Fix docs to use _bin_add() before _link(), which fixes the examples
5796 with recent core versions (reported by Madhan Raj M
5797 <raj_madan@rediffmail.com>, #313199).
5799 2005-08-16 Wim Taymans <wim@fluendo.com>
5801 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5802 Added subtract checks.
5804 * docs/design/part-events.txt:
5805 Some more docs about newsegment
5807 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5810 * gst/gstcaps.c: (gst_caps_to_string):
5811 Add comments, cleanups.
5813 * gst/gstelement.c: (gst_element_save_thyself):
5816 * gst/gstvalue.c: (gst_value_collect_int_range),
5817 (gst_string_unwrap), (gst_value_union_int_int_range),
5818 (gst_value_union_int_range_int_range),
5819 (gst_value_intersect_int_int_range),
5820 (gst_value_intersect_int_range_int_range),
5821 (gst_value_intersect_double_double_range),
5822 (gst_value_intersect_double_range_double_range),
5823 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5824 (gst_value_subtract_int_range_int),
5825 (gst_value_subtract_double_range_double),
5826 (gst_value_subtract_double_range_double_range),
5827 (gst_value_subtract_from_list), (gst_value_subtract_list),
5828 (gst_value_can_compare), (gst_value_compare_fraction):
5829 Cleanups, add comments, remove unneeded asserts.
5831 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5833 * tools/gst-launch.c: (event_loop):
5834 don't convert NULL structures to strings
5836 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5838 * docs/gst/gstreamer-sections.txt:
5839 made some defines private
5840 * docs/gst/tmpl/gstconfig.sgml:
5841 * docs/gst/tmpl/gstqueue.sgml:
5842 * docs/gst/tmpl/gsttaglist.sgml:
5843 * docs/gst/tmpl/gsttypes.sgml:
5844 * docs/gst/tmpl/gstutils.sgml:
5845 * docs/pwg/appendix-porting.xml:
5846 * gst/base/gstbasesink.h:
5847 * gst/base/gstbasesrc.c:
5848 * gst/base/gstbasesrc.h:
5849 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5850 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5851 * gst/gstelement.c: (gst_element_class_init):
5852 * gst/gstpad.c: (gst_pad_class_init):
5853 * gst/gstqueue.c: (gst_queue_class_init):
5854 * gst/gstxml.c: (gst_xml_class_init):
5855 documented all undocumented signal inline
5856 * libs/gst/controller/gst-controller.h:
5859 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5861 * docs/pwg/appendix-porting.xml:
5862 Document _set_link_function -> _set_setcaps_function.
5864 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5866 * check/Makefile.am:
5867 add a .check target for running the check
5868 * check/gst-libs/controller.c: (GST_START_TEST):
5870 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5871 complete checks for gstbuffer; would be nice if I could get the
5872 gcov stuff to work so I can see if I actually completed gstbuffer.c
5874 add ASSERT_BUFFER_REFCOUNT
5876 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5878 * docs/gst/gstreamer-sections.txt:
5879 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5881 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5882 spew out a warning if a tag that is already registered
5883 is re-registered, unless it is re-registered with a
5884 different type (#308438).
5886 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5888 * docs/pwg/appendix-porting.xml:
5889 * docs/pwg/building-state.xml:
5890 Add some paragraphs about state changes in 0.9 to the PWG
5891 and the porting guide, in particular about the new meaning
5892 of GST_STATE_PAUSED and how to write state change functions
5893 with concurrent access by multiple threads in mind.
5895 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5897 * docs/gst/gstreamer-docs.sgml:
5898 * docs/libs/gstreamer-libs-docs.sgml:
5899 added deprecation and since indexes
5900 * libs/gst/controller/gst-controller.c:
5901 * libs/gst/controller/gst-helper.c:
5905 2005-08-11 Wim Taymans <wim@fluendo.com>
5907 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5908 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5909 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5910 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5911 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5912 (gst_ghost_pad_set_target):
5913 Actually implement (re)setting the target on a ghostpad
5914 as described in the docs.
5916 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5918 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5919 Check whether GST_DEBUG_NO_COLOR environment variable is
5920 set and disable coloured debug output if that is the case.
5922 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5924 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5925 (gst_type_find_helper):
5926 The memory returned by gst_type_find_peek() needs to
5927 stay valid until the end of a typefind function, and
5928 typefind functions may keep results from different
5929 offsets around, so we can't just unref the buffer from
5930 the previous _peek(), but have to save all buffers
5931 returned by _peek() until typefinding is done and only
5934 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5936 * docs/gst/gstreamer-sections.txt:
5938 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5940 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5942 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5943 Fix a pretty good memleak.
5945 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5947 * gst/gstiterator.h:
5948 Fix wrong include and 'make distcheck'.
5950 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5952 * gst/gstbin.c: (bin_bus_handler):
5953 Use gst_element_post_message() instead.
5955 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5957 * gst/base/gstadapter.h:
5958 * gst/base/gstbasesink.h:
5959 * gst/base/gstbasesrc.h:
5960 * gst/base/gstbasetransform.h:
5961 * gst/base/gstcollectpads.h:
5962 * gst/base/gstpushsrc.h:
5963 * gst/gstiterator.h:
5964 Add padding to our base elements' class and instance structs and
5965 to GstIterator (you will need to rebuild all plugins and apps!)
5967 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5969 * gst/gstbin.c: (bin_bus_handler):
5970 Make default message forwarding from child->bus to bin->bus
5971 threadsafe and make it not emit warnings if the parent has no bus.
5973 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5975 * gst/gstelement.c: (activate_pads):
5976 On paused->ready, set pad->caps to NULL, as is the documented
5977 behaviour in this state change. Fixes playback of series of
5978 media files when visualization is enabled in Totem.
5980 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5982 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5983 Allow NULL as filter-caps (which means "any").
5985 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5987 * docs/libs/gstreamer-libs-sections.txt:
5988 * libs/gst/controller/gst-controller.c:
5989 * libs/gst/controller/gst-controller.h:
5990 * libs/gst/controller/gst-helper.c:
5991 adding more entries to the docs and fix small doc-bugs
5993 2005-08-05 Stefan Kost <ensonic@users.sf.net>
5995 * docs/gst/gstreamer-docs.sgml:
5996 * docs/gst/gstreamer-sections.txt:
5997 * docs/gst/gstreamer.types:
5998 * docs/gst/tmpl/gstbasesink.sgml:
5999 * docs/gst/tmpl/gstbasesrc.sgml:
6000 * docs/gst/tmpl/gstbasetransform.sgml:
6001 * docs/gst/tmpl/gstfakesrc.sgml:
6002 * gst/base/gstcollectpads.c:
6003 * gst/base/gstcollectpads.h:
6004 * libs/gst/controller/gst-controller.c:
6005 * libs/gst/controller/gst-controller.h:
6006 * libs/gst/controller/gst-helper.c:
6007 * libs/gst/controller/gst-interpolation.c:
6008 * libs/gst/controller/lib.c:
6009 added long/short desc for controller docs
6010 added collectpads base class docs
6011 added correct includes to base-class docs
6013 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6015 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6016 (gst_test_mono_source_set_property),
6017 (gst_test_mono_source_class_init), (GST_START_TEST),
6018 (gst_controller_suite):
6019 * docs/gst/gstreamer-docs.sgml:
6020 * docs/gst/gstreamer-sections.txt:
6021 * docs/gst/gstreamer.types:
6022 * docs/libs/gstreamer-libs-docs.sgml:
6023 * docs/libs/gstreamer-libs-sections.txt:
6024 * gst/base/gstadapter.c:
6025 * libs/gst/controller/gst-controller.c:
6026 (gst_controlled_property_new), (gst_controlled_property_free),
6027 (gst_controller_new_valist),
6028 (gst_controller_remove_properties_valist),
6029 (gst_controller_sink_values), (_gst_controller_finalize):
6030 * libs/gst/controller/gst-controller.h:
6031 * libs/gst/controller/gst-helper.c:
6032 (gst_object_control_properties), (gst_object_uncontrol_properties),
6033 (gst_object_get_controller), (gst_object_set_controller),
6034 (gst_object_sink_values), (gst_object_get_value_arrays),
6035 (gst_object_get_value_array):
6036 more tests (and fixes) for the controller
6037 more docs for the controller
6038 integrated companies docs for the adapter
6040 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6042 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6043 (GST_START_TEST), (fakesrc_suite):
6044 add tests for sizetype
6046 2005-08-04 Andy Wingo <wingo@pobox.com>
6048 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6049 fixes buffer_alloc proxying among other things.
6051 * gst/base/gstbasetransform.c:
6052 * gst/base/gstbasetransform.h:
6053 Revert patch to gstbasetransform from 7-28 removing
6056 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6057 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6058 Semantics changed, should return not the size of the output buffer
6059 but the byte size of a buffer with a given caps.
6061 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6063 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6064 out) are not the pad caps until setcaps finishes.
6065 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6066 not-in-place case as well. Deal with changing from in-place to
6067 not-in-place within calling pad_alloc_buffer. Still a bit
6068 concerned about the overhead here...
6070 2005-08-03 Andy Wingo <wingo@pobox.com>
6072 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6073 fixating is an error.
6075 2005-08-04 Edward Hervey <edward@fluendo.com>
6077 * gst/base/gstadapter.h:
6078 Added gst_adapter_get_type() to the header
6080 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6082 * check/Makefile.am:
6083 * check/gst-libs/controller.c:
6084 * libs/gst/controller/gst-controller.c:
6085 (gst_controller_new_valist):
6086 added check test suite for the controller
6087 * gst/base/gstpushsrc.c:
6090 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6092 * docs/gst/Makefile.am:
6093 * docs/gst/gstreamer-docs.sgml:
6094 * docs/gst/gstreamer-sections.txt:
6095 * docs/gst/gstreamer.types:
6096 * docs/gst/tmpl/gstfakesrc.sgml:
6098 * gst/base/gstbasesink.c:
6099 * gst/base/gstbasesink.h:
6100 * gst/base/gstbasesrc.c:
6101 * gst/base/gstbasesrc.h:
6102 * gst/base/gstbasetransform.c:
6103 * gst/base/gstpushsrc.c:
6104 * gst/base/gstpushsrc.h:
6105 add short/long description docs to base classes
6106 add pushsrc to the docs
6107 remove consolidated doc fragments
6109 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6112 * docs/libs/Makefile.am:
6113 * docs/libs/gstreamer-libs-docs.sgml:
6114 * docs/libs/gstreamer-libs-sections.txt:
6115 * docs/libs/gstreamer-libs.types:
6116 * examples/Makefile.am:
6117 * examples/controller/.cvsignore:
6118 * examples/controller/Makefile.am:
6119 * examples/controller/audio-example.c: (main):
6120 * libs/gst/Makefile.am:
6121 * libs/gst/controller/.cvsignore:
6122 * libs/gst/controller/Makefile.am:
6123 * libs/gst/controller/gst-controller.c:
6124 (on_object_controlled_property_changed), (gst_timed_value_compare),
6125 (gst_timed_value_find),
6126 (gst_controlled_property_set_interpolation_mode),
6127 (gst_controlled_property_new), (gst_controlled_property_free),
6128 (gst_controller_find_controlled_property),
6129 (gst_controller_new_valist), (gst_controller_new),
6130 (gst_controller_remove_properties_valist),
6131 (gst_controller_remove_properties), (gst_controller_set),
6132 (gst_controller_set_from_list), (gst_controller_unset),
6133 (gst_controller_get), (gst_controller_get_all),
6134 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6135 (gst_controller_get_value_array),
6136 (gst_controller_set_interpolation_mode),
6137 (_gst_controller_finalize), (_gst_controller_init),
6138 (_gst_controller_class_init), (gst_controller_get_type):
6139 * libs/gst/controller/gst-controller.h:
6140 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6141 (g_object_uncontrol_properties), (g_object_get_controller),
6142 (g_object_set_controller), (g_object_sink_values),
6143 (g_object_get_value_arrays), (g_object_get_value_array):
6144 * libs/gst/controller/gst-interpolation.c:
6145 (gst_controlled_property_find_timed_value_node),
6146 (interpolate_none_get), (interpolate_trigger_get),
6147 (interpolate_trigger_get_value_array):
6148 * libs/gst/controller/lib.c: (gst_controller_init):
6149 * pkgconfig/Makefile.am:
6150 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6151 * pkgconfig/gstreamer-control.pc.in:
6152 * testsuite/Makefile.am:
6153 * testsuite/controller/.cvsignore:
6154 * testsuite/controller/Makefile.am:
6155 * testsuite/controller/interpolator.c: (main):
6156 added controller code
6157 removed dparam pc files
6159 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6160 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6161 (gst_collectpads_stop):
6162 Broadcast the condition when shutting down, to make sure we wake all
6163 threads up. Shut down pads on finalize, for safety.
6165 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6166 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6167 (gst_base_transform_handle_buffer),
6168 (gst_base_transform_change_state):
6169 Handle PAUSED->READY->PAUSED transition after negotiation
6171 * gst/gstmessage.c: (gst_message_init):
6172 Extra piece of debug for new messages.
6174 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6177 * docs/gst/tmpl/gstbasesrc.sgml:
6178 * docs/gst/tmpl/gstelement.sgml:
6179 * docs/gst/tmpl/gstevent.sgml:
6180 * docs/gst/tmpl/gstfakesrc.sgml:
6181 * docs/gst/tmpl/gstformat.sgml:
6182 * docs/gst/tmpl/gstghostpad.sgml:
6183 * docs/gst/tmpl/gstpad.sgml:
6184 * docs/gst/tmpl/gstquery.sgml:
6185 * docs/gst/tmpl/gststructure.sgml:
6186 * docs/gst/tmpl/gsttaglist.sgml:
6187 * docs/gst/tmpl/gstvalue.sgml:
6188 * docs/libs/gstreamer-libs-docs.sgml:
6189 * docs/libs/gstreamer-libs-sections.txt:
6190 * docs/libs/gstreamer-libs.types:
6191 * libs/gst/Makefile.am:
6192 * libs/gst/control/.cvsignore:
6193 * libs/gst/control/Makefile.am:
6194 * libs/gst/control/control.c:
6195 * libs/gst/control/control.h:
6196 * libs/gst/control/dparam.c:
6197 * libs/gst/control/dparam.h:
6198 * libs/gst/control/dparam_smooth.c:
6199 * libs/gst/control/dparam_smooth.h:
6200 * libs/gst/control/dparamcommon.h:
6201 * libs/gst/control/dparammanager.c:
6202 * libs/gst/control/dparammanager.h:
6203 * libs/gst/control/dplinearinterp.c:
6204 * libs/gst/control/dplinearinterp.h:
6205 * libs/gst/control/unitconvert.c:
6206 * libs/gst/control/unitconvert.h:
6207 * testsuite/Makefile.am:
6208 * testsuite/dynparams/.cvsignore:
6209 * testsuite/dynparams/Makefile.am:
6210 * testsuite/dynparams/dparamstest.c:
6211 * tools/Makefile.am:
6212 * tools/gst-inspect.c: (print_element_info), (main):
6213 * tools/gst-xmlinspect.c: (print_element_info), (main):
6214 deactivate and remove dparams (libgstcontrol)
6216 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6218 * gst/elements/gsttypefindelement.c:
6219 (gst_type_find_element_have_type), (gst_type_find_element_init),
6220 (stop_typefinding), (gst_type_find_element_handle_event),
6221 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6222 * gst/elements/gsttypefindelement.h:
6223 Set caps on all outgoing buffers, not just the first one.
6225 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6227 * gst/elements/gsttypefindelement.c:
6228 (gst_type_find_element_have_type),
6229 (gst_type_find_element_check_set_buffer_caps),
6230 (gst_type_find_element_init), (stop_typefinding),
6231 (gst_type_find_element_handle_event),
6232 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6233 * gst/elements/gsttypefindelement.h:
6234 Set caps on first outgoing buffer when we've found the type.
6236 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6238 * docs/gst/gstreamer-docs.sgml:
6239 * docs/gst/gstreamer-sections.txt:
6240 * docs/gst/tmpl/gstscheduler.sgml:
6241 * docs/gst/tmpl/gstschedulerfactory.sgml:
6242 Remove some old cruft from docs.
6244 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6247 Fix inline docs for GstPadLinkReturn.
6249 * gst/gststructure.c: (gst_structure_has_name):
6250 * gst/gststructure.h:
6251 * docs/gst/gstreamer-sections.txt:
6252 New API: gst_structure_has_name().
6254 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6257 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6258 and _LARGEFILE_SOURCE in config.h as required. Do not
6259 export those flags in our .pc files any longer (#142209).
6261 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6263 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6264 (gst_file_sink_do_seek), (gst_file_sink_event),
6265 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6266 Redo seek/tell calls with large file support in mind; add some
6267 debugging messages; add log message that tells us when large
6268 file support is unavailable or not enabled for some reason.
6270 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6271 Add log message that tells us when large file support
6272 is unavailable or not enabled for some reason.
6274 2005-07-29 Wim Taymans <wim@fluendo.com>
6276 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6277 Added test for removing an element with ghostpad from a bin.
6278 Fixed test as current implementation does the right thing.
6280 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6281 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6282 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6283 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6284 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6285 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6286 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6287 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6288 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6289 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6290 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6291 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6292 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6293 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6294 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6295 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6296 * gst/gstghostpad.h:
6297 Clean up ghostpads, remove properties for internal stuff.
6300 Prepare for switching targets, not all use cases work yet.
6302 2005-07-29 Wim Taymans <wim@fluendo.com>
6304 * docs/design/part-gstghostpad.txt:
6307 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6308 (gst_bin_remove_func):
6309 Unlinking pads while holding the bin LOCK is not a good
6312 * gst/gstpad.c: (gst_pad_class_init),
6313 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6314 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6315 No prob setting template after creating the pad.
6317 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6319 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6320 (gst_bus_peek), (gst_bus_source_dispatch),
6321 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6322 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6323 gst_bus_poll may be called from other threads. Handle
6324 this nicely by not making poll_data disappear off the
6325 stack once gst_bus_poll returns.
6326 gst_bus_peek now increments the refcount on the returned
6329 2005-07-29 Wim Taymans <wim@fluendo.com>
6331 * docs/design/part-gstghostpad.txt:
6332 Overview of current GhostPad datastructures and use
6333 cases for changing the target.
6335 2005-07-28 Wim Taymans <wim@fluendo.com>
6337 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6338 Added checks for hierarchy consistency whan adding linked
6341 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6342 Added check to test element scheduling without bin/pipeline.
6344 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6345 First add elements to bin, then link.
6347 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6348 (gst_bin_remove_func):
6349 Unlink pads from elements added/removed from bin to maintain
6350 hierarchy consistency.
6352 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6354 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6355 (gst_base_transform_handle_buffer):
6356 * gst/base/gstbasetransform.h:
6357 Remove broken delay_configure (fixes renegotiation of software
6358 scaling pipelines); remove some leftover printf()s.
6360 2005-07-28 Wim Taymans <wim@fluendo.com>
6362 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6363 Added some more tests for wrong hierarchy
6365 * docs/design/part-overview.txt:
6368 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6371 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6372 (gst_element_dispose):
6375 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6376 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6377 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6378 (gst_pad_set_caps), (gst_pad_send_event):
6379 Check for correct hierarchy when linking pads. Moving to
6380 strict requirement for ghostpads when linking elements in
6384 Clean ups. Added WRONG_HIERARCHY return value.
6386 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6388 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6389 Better debug if no transform is possible.
6391 2005-07-27 Wim Taymans <wim@fluendo.com>
6393 * docs/random/wtay/network-transp:
6396 2005-07-27 Wim Taymans <wim@fluendo.com>
6398 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6399 (gst_dp_event_from_packet):
6400 Fix serialization of seek events.
6402 2005-07-27 Wim Taymans <wim@fluendo.com>
6404 * check/gst-libs/gdp.c: (GST_START_TEST):
6405 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6406 Fix compilation and fix event serialization.
6408 2005-07-27 Wim Taymans <wim@fluendo.com>
6411 * docs/design/part-TODO.txt:
6412 * docs/design/part-events.txt:
6415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6416 (gst_base_sink_event), (gst_base_sink_do_sync),
6417 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6418 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6419 (gst_base_src_do_seek), (gst_base_src_event_handler),
6420 (gst_base_src_loop):
6421 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6422 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6423 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6424 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6425 (gst_base_transform_set_passthrough),
6426 (gst_base_transform_is_passthrough):
6427 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6428 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6434 * gst/gstelement.c: (gst_element_seek):
6436 Update gst_element_seek.
6438 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6439 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6440 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6441 (gst_event_new_eos), (gst_event_new_newsegment),
6442 (gst_event_parse_newsegment), (gst_event_new_tag),
6443 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6444 (gst_event_parse_qos), (gst_event_new_seek),
6445 (gst_event_parse_seek), (gst_event_new_navigation):
6447 Make GstEvent use GstStructure. Add parsing code, make sure the
6448 API is sufficiently generic.
6449 Mark possible directions of events and serialization.
6451 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6452 (_gst_message_copy), (gst_message_new_segment_start),
6453 (gst_message_new_segment_done), (gst_message_new_custom),
6454 (gst_message_parse_segment_start),
6455 (gst_message_parse_segment_done):
6458 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6459 (gst_pad_set_caps), (gst_pad_send_event):
6460 Update for new events.
6461 Catch events sent in wrong directions.
6463 * gst/gstqueue.c: (gst_queue_link_src),
6464 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6465 (gst_queue_handle_src_query):
6470 Remove event code from this file.
6472 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6473 (gst_dp_event_from_packet):
6476 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6478 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6479 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6480 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6481 Make debugging actually useful.
6483 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6485 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6486 (gst_pad_fixate_caps):
6487 Implement default fixation once again, so that gst_pad_fixate()
6488 actually does anything at all. This probably needs to be some
6489 sort of a last resort, and use profile-based fixation first, but
6490 since that doesn't exist yet, this is the best we have. Fixes
6491 visualization in Totem.
6493 2005-07-22 Wim Taymans <wim@fluendo.com>
6495 * docs/design/part-events.txt:
6498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6499 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6500 (gst_base_sink_activate_pull):
6503 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6504 (gst_fake_src_create):
6505 Fix handoff marshall.
6507 * gst/elements/gstidentity.c: (gst_identity_class_init),
6508 (gst_identity_transform_ip):
6509 We're a real inplace element.
6511 * gst/gstbus.c: (gst_bus_post):
6512 Added some comments.
6514 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6515 * tests/muxing/case1.c: (main):
6516 * tests/sched/dynamic-pipeline.c: (main):
6517 * tests/sched/interrupt1.c: (main):
6518 * tests/sched/interrupt2.c: (main):
6519 * tests/sched/interrupt3.c: (main):
6520 * tests/sched/runxml.c: (main):
6521 * tests/sched/sched-stress.c: (main):
6522 * tests/seeking/seeking1.c: (event_received), (main):
6523 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6525 * tests/threadstate/threadstate3.c: (main):
6526 * tests/threadstate/threadstate4.c: (main):
6527 * tests/threadstate/threadstate5.c: (main):
6530 2005-07-21 Wim Taymans <wim@fluendo.com>
6532 * docs/design/part-seeking.txt:
6533 Some small additions.
6535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6536 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6537 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6538 * gst/base/gstbasesink.h:
6539 discont values are gint64, handle the math correctly.
6541 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6542 Make the basesrc report error if the source pad is not linked.
6544 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6545 (gst_queue_loop), (gst_queue_handle_src_query),
6546 (gst_queue_src_activate_push):
6547 Make queue collect data even if the srcpad is not linked.
6548 Start pushing out data as soon as it is linked.
6550 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6552 Added gst_flow_get_name() to ease error reporting.
6554 2005-07-20 Wim Taymans <wim@fluendo.com>
6556 * gst/gstmessage.c: (gst_message_new_segment_start),
6557 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6558 (gst_message_parse_segment_done):
6560 Added a bunch of messages for advanced seeking.
6562 * gst/parse/grammar.y:
6563 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6564 (gst_dpman_state_changed):
6565 Fix some new-pad -> pad-added signals
6567 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6569 * docs/manual/appendix-porting.xml:
6570 * docs/pwg/appendix-porting.xml:
6571 Document new-pad/state-change signal renames and the FixedList
6574 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6576 * docs/manual/advanced-autoplugging.xml:
6577 * docs/manual/basics-helloworld.xml:
6578 * docs/manual/basics-pads.xml:
6579 * docs/random/ds/0.9-suggested-changes:
6580 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6585 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6586 (gst_structure_parse_array), (gst_structure_parse_value):
6587 * gst/gstvalue.c: (gst_type_is_fixed),
6588 (gst_value_list_prepend_value), (gst_value_list_append_value),
6589 (gst_value_list_get_size), (gst_value_list_get_value),
6590 (gst_value_transform_array_string), (gst_value_serialize_array),
6591 (gst_value_deserialize_array), (gst_value_intersect_array),
6592 (gst_value_is_fixed), (_gst_value_initialize):
6594 GstElement::new-pad -> pad-added, GstElement::state-change ->
6595 state-changed, GstValueFixedList -> GstValueArray, add format and
6596 flags as their own arguments in gst_element_seek() (should improve
6597 "bindeability"), remove function generators since they don't work
6598 under a whole bunch of compilers (they were deprecated already
6601 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6603 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6604 (_gst_debug_register_funcptr):
6606 Fix illegal cast on some platforms (#309253).
6608 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6610 * gst/gstmessage.c: (gst_message_new_custom):
6612 Add _new_custom, make _new_application a macro to _new_custom.
6614 2005-07-20 Wim Taymans <wim@fluendo.com>
6616 * gst/base/gstbasesrc.c: (gst_base_src_init),
6617 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6618 * gst/base/gstbasesrc.h:
6619 Add a gboolean to decide when to push out a discont.
6621 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6622 (gst_queue_loop), (gst_queue_handle_src_query),
6623 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6624 (gst_queue_set_property), (gst_queue_get_property):
6627 * tests/threadstate/threadstate1.c: (main):
6628 Make a thread test compile and run... very silly..
6631 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6633 * docs/manual/appendix-porting.xml:
6634 Mention removal of libgstgconf-0.9.la and existence of gconf
6637 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6639 * docs/pwg/advanced-clock.xml:
6640 * docs/pwg/appendix-porting.xml:
6641 * docs/pwg/intro-preface.xml:
6642 * docs/pwg/other-base.xml:
6643 * docs/pwg/other-manager.xml:
6644 * docs/pwg/other-nton.xml:
6645 * docs/pwg/other-ntoone.xml:
6646 * docs/pwg/other-oneton.xml:
6648 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6649 demuxer), remove n-to-n (was never written), fix some code examples
6650 and links and update the porting section to include all this.
6652 2005-07-19 Wim Taymans <wim@fluendo.com>
6654 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6655 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6656 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6657 (gst_queue_src_activate_push), (gst_queue_change_state),
6658 (gst_queue_get_property):
6660 Propagate GstFlowReturn more intelligently upstream and output
6661 an ERROR/EOS when streaming stopped due to fatal error.
6663 2005-07-19 Wim Taymans <wim@fluendo.com>
6665 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6666 Don't block forever for the state change to complete, the
6667 pipeline already did with a sensible timeout.
6669 2005-07-19 Wim Taymans <wim@fluendo.com>
6671 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6672 Make sure we never call the create function is we
6675 2005-07-19 Andy Wingo <wingo@pobox.com>
6677 * gst/parse/parse.l: Attempt to solve bug #172815.
6679 2005-07-19 Wim Taymans <wim@fluendo.com>
6681 * docs/design/part-clocks.txt:
6682 * docs/design/part-events.txt:
6683 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6685 Only update the seeking values when we are not
6688 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6690 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6691 Oops, ignore the result of gst_pad_push_event here.
6693 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6695 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6696 (gst_base_src_activate_push):
6697 Send discont event from the loop function, as pads
6698 aren't activated yet in the activate_push handler.
6700 * gst/gstbin.c: (bin_bus_handler):
6701 Don't leak element name.
6703 2005-07-18 Andy Wingo <wingo@pobox.com>
6705 * configure.ac: Use AS_LIBTOOL_TAGS.
6707 2005-07-18 Wim Taymans <wim@fluendo.com>
6709 * docs/gst/gstreamer.types:
6710 Remove deleted types.
6712 2005-07-18 Wim Taymans <wim@fluendo.com>
6714 * check/elements/gstfakesrc.c: (GST_START_TEST):
6717 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6718 (init_popt_callback):
6720 * gst/gst_private.h:
6721 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6722 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6725 * gst/gstconfig.h.in:
6726 * gst/gstelement.c: (gst_element_class_init),
6727 (gst_element_set_base_time), (gst_element_get_base_time),
6728 (iterator_fold_with_resync), (gst_element_change_state),
6729 (gst_element_dispose), (gst_element_get_bus):
6731 * gst/gstelementfactory.h:
6732 * gst/gsterror.c: (_gst_core_errors_init):
6735 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6737 * gst/gstinfo.c: (_gst_debug_init):
6738 * gst/gstmessage.c: (_gst_message_copy):
6740 * gst/gstminiobject.h:
6743 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6744 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6747 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6748 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6749 (gst_pipeline_get_last_stream_time):
6750 * gst/gstpipeline.h:
6751 * gst/gstpluginfeature.h:
6753 * gst/gstscheduler.c:
6754 * gst/gstscheduler.h:
6755 * gst/gststructure.h:
6756 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6757 (gst_task_finalize), (gst_task_func), (gst_task_create),
6758 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6759 (gst_task_stop), (gst_task_pause):
6761 * gst/gsttypefind.h:
6763 * gst/registries/gstlibxmlregistry.c: (load_feature),
6764 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6765 * gst/registries/gstxmlregistry.c:
6766 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6767 * gst/schedulers/threadscheduler.c:
6768 * libs/gst/control/dparammanager.h:
6769 * tools/gst-inspect.c: (print_element_list),
6770 (print_plugin_features), (print_element_features):
6771 * tools/gst-xmlinspect.c: (print_element_list),
6772 (print_plugin_info), (main):
6773 Removed plugable schedulers.
6774 Removed Scheduler/Manager from elements.
6775 Removed gsttypes.h, rearranged includes.
6776 Removed dependency pad<->element, element<>pipeline, and
6777 various others, fix includes.
6778 implement gst_pad_get_parent() with gst_object_get_parent()
6779 Make GstTask sefcontained.
6780 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6782 Fix endless loop in iterator_fold_with_resync.
6785 2005-07-18 Wim Taymans <wim@fluendo.com>
6791 2005-07-18 Wim Taymans <wim@fluendo.com>
6796 2005-07-18 Wim Taymans <wim@fluendo.com>
6802 2005-07-18 Wim Taymans <wim@fluendo.com>
6804 * docs/design/part-dynamic.txt:
6805 * docs/design/part-events.txt:
6806 * docs/design/part-seeking.txt:
6807 Some more docs in the works.
6809 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6810 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6811 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6812 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6813 (gst_base_transform_handle_buffer),
6814 (gst_base_transform_sink_activate_push),
6815 (gst_base_transform_src_activate_pull),
6816 (gst_base_transform_set_passthrough),
6817 (gst_base_transform_is_passthrough):
6820 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6823 * gst/gstevent.c: (gst_event_finalize):
6826 * gst/gstutils.c: (gst_element_unlink),
6827 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6828 (gst_pad_proxy_setcaps):
6830 Add _get_parent_element() to get a pads parent as an element.
6832 2005-07-18 Wim Taymans <wim@fluendo.com>
6834 * check/gst/gstbin.c: (GST_START_TEST):
6837 2005-07-18 Wim Taymans <wim@fluendo.com>
6839 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6840 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6841 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6842 (gst_base_sink_event), (gst_base_sink_do_sync),
6843 (gst_base_sink_chain), (gst_base_sink_loop),
6844 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6845 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6847 Fix logic for returning ASYNC when not prerolled.
6849 2005-07-18 Wim Taymans <wim@fluendo.com>
6851 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6852 Fix nasty refcount bug.
6854 2005-07-16 Philippe Khalaf <burger@speedy.org>
6856 * gst/elements/gstfdsrc.c:
6857 * gst/elements/gstfdsrc.h:
6858 * gst/elements/gstelements.c:
6859 * gst/elements/Makefile.am:
6860 Ported fdsrc to 0.9.
6862 2005-07-16 Wim Taymans <wim@fluendo.com>
6864 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6865 (gst_base_sink_do_sync):
6868 2005-07-16 Wim Taymans <wim@fluendo.com>
6870 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6871 (gst_base_sink_event), (gst_base_sink_get_times),
6872 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6873 * gst/base/gstbasesink.h:
6874 Store and use discont values when syncing buffers as described
6877 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6878 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6879 (gst_base_src_activate_push):
6880 Push discont event when starting.
6882 * gst/elements/gstidentity.c: (gst_identity_transform):
6885 * gst/gstbin.c: (gst_bin_change_state):
6886 Small cleanups in base_time distribution.
6888 * gst/gstelement.c: (gst_element_set_base_time),
6889 (gst_element_get_base_time), (gst_element_change_state):
6891 Added methods for the base_time of the element.
6894 * gst/gstpipeline.c: (gst_pipeline_send_event),
6895 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6896 (gst_pipeline_get_last_stream_time):
6897 * gst/gstpipeline.h:
6899 Handle seeking as described in design doc, remove stream_time
6901 Cleanups clock and stream_time selection code. Added accessors
6902 for the stream_time.
6905 2005-07-16 Andy Wingo <wingo@pobox.com>
6907 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6910 2005-07-16 Wim Taymans <wim@fluendo.com>
6912 * check/gst/gstbin.c: (GST_START_TEST):
6913 Make elements silent as the deep_notify refs the
6914 parent, which might make the test fail.
6916 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6917 Don't hold the lock for too long.
6919 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6921 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6922 Don't unref the caps we passed to gst_caps_make_writable() after
6923 passing them. gst_caps_make_writable() will do that for us.
6925 2005-07-15 Andy Wingo <wingo@pobox.com>
6927 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6930 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6931 own marshalling function for the handoff signal. Properly type the
6932 buffer as a buffer. Fixes some warnings. Should do a more general
6934 (gst_identity_class_init): Plug into the right marshaller.
6936 2005-07-15 Wim Taymans <wim@fluendo.com>
6938 * docs/design/part-TODO.txt:
6939 * docs/design/part-clocks.txt:
6940 * docs/design/part-element-sink.txt:
6941 * docs/design/part-events.txt:
6942 * docs/design/part-gstpipeline.txt:
6943 Updated docs, mostly DISCONT related.
6945 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6947 * docs/pwg/building-pads.xml:
6948 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6950 2005-07-15 Andy Wingo <wingo@pobox.com>
6952 * tools/gst-typefind.c: Update, add copyright block.
6954 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
6955 Normalize and truncate caps before fixation.
6958 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
6959 discards all but the first structure from its argument.
6961 2005-07-15 Wim Taymans <wim@fluendo.com>
6963 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6964 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
6965 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6966 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6967 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
6968 (gst_base_transform_chain), (gst_base_transform_change_state),
6969 (gst_base_transform_set_passthrough),
6970 (gst_base_transform_is_passthrough):
6971 * gst/base/gstbasetransform.h:
6972 Make passthrough work using the bufferpools.
6973 Changed API a bit, subclasses have to write into a buffer
6974 provided by the base class.
6975 More debug info in nego functions.
6977 * gst/elements/gstidentity.c: (gst_identity_init),
6978 (gst_identity_transform):
6979 Port to new base class.
6981 2005-07-15 Wim Taymans <wim@fluendo.com>
6983 * gst/gstmessage.c: (gst_message_new_state_changed):
6984 * tools/gst-launch.c: (event_loop), (main):
6985 Totally dump messages in -launch with the -m option.
6986 Fix message name for State messages,
6988 2005-07-14 Wim Taymans <wim@fluendo.com>
6990 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6991 Post error messages on errors.
6993 2005-07-14 Wim Taymans <wim@fluendo.com>
6995 * gst/gstcaps.c: (gst_caps_do_simplify):
6999 Define error for stream stopped.
7001 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7002 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7003 Do proper return values.
7005 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7006 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7007 (gst_pad_get_range):
7008 Better return values.
7011 Reorganise return values, add macro to check for fatal errors.
7013 * gst/gstqueue.c: (gst_queue_chain):
7014 Return proper GstFlowReturn values,
7016 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7018 * docs/gst/gstreamer-sections.txt:
7019 * docs/gst/gstreamer.types:
7020 * docs/gst/tmpl/gst.sgml:
7021 * docs/gst/tmpl/gstbasesink.sgml:
7022 * docs/gst/tmpl/gstbasesrc.sgml:
7023 * docs/gst/tmpl/gstbasetransform.sgml:
7024 * docs/gst/tmpl/gstbin.sgml:
7025 * docs/gst/tmpl/gstbuffer.sgml:
7026 * docs/gst/tmpl/gstcaps.sgml:
7027 * docs/gst/tmpl/gstclock.sgml:
7028 * docs/gst/tmpl/gstcompat.sgml:
7029 * docs/gst/tmpl/gstconfig.sgml:
7030 * docs/gst/tmpl/gstelement.sgml:
7031 * docs/gst/tmpl/gstelementdetails.sgml:
7032 * docs/gst/tmpl/gstelementfactory.sgml:
7033 * docs/gst/tmpl/gstenumtypes.sgml:
7034 * docs/gst/tmpl/gsterror.sgml:
7035 * docs/gst/tmpl/gstevent.sgml:
7036 * docs/gst/tmpl/gstfakesink.sgml:
7037 * docs/gst/tmpl/gstfakesrc.sgml:
7038 * docs/gst/tmpl/gstfilesink.sgml:
7039 * docs/gst/tmpl/gstfilesrc.sgml:
7040 * docs/gst/tmpl/gstfilter.sgml:
7041 * docs/gst/tmpl/gstformat.sgml:
7042 * docs/gst/tmpl/gstghostpad.sgml:
7043 * docs/gst/tmpl/gstimplementsinterface.sgml:
7044 * docs/gst/tmpl/gstindex.sgml:
7045 * docs/gst/tmpl/gstindexfactory.sgml:
7046 * docs/gst/tmpl/gstinfo.sgml:
7047 * docs/gst/tmpl/gstiterator.sgml:
7048 * docs/gst/tmpl/gstmacros.sgml:
7049 * docs/gst/tmpl/gstmemchunk.sgml:
7050 * docs/gst/tmpl/gstminiobject.sgml:
7051 * docs/gst/tmpl/gstobject.sgml:
7052 * docs/gst/tmpl/gstpad.sgml:
7053 * docs/gst/tmpl/gstpadtemplate.sgml:
7054 * docs/gst/tmpl/gstparse.sgml:
7055 * docs/gst/tmpl/gstpipeline.sgml:
7056 * docs/gst/tmpl/gstplugin.sgml:
7057 * docs/gst/tmpl/gstpluginfeature.sgml:
7058 * docs/gst/tmpl/gstquery.sgml:
7059 * docs/gst/tmpl/gstqueue.sgml:
7060 * docs/gst/tmpl/gstregistry.sgml:
7061 * docs/gst/tmpl/gstregistrypool.sgml:
7062 * docs/gst/tmpl/gstscheduler.sgml:
7063 * docs/gst/tmpl/gstschedulerfactory.sgml:
7064 * docs/gst/tmpl/gststructure.sgml:
7065 * docs/gst/tmpl/gstsystemclock.sgml:
7066 * docs/gst/tmpl/gsttaglist.sgml:
7067 * docs/gst/tmpl/gsttagsetter.sgml:
7068 * docs/gst/tmpl/gsttrace.sgml:
7069 * docs/gst/tmpl/gsttrashstack.sgml:
7070 * docs/gst/tmpl/gsttypefind.sgml:
7071 * docs/gst/tmpl/gsttypefindfactory.sgml:
7072 * docs/gst/tmpl/gsttypes.sgml:
7073 * docs/gst/tmpl/gsturihandler.sgml:
7074 * docs/gst/tmpl/gsturitype.sgml:
7075 * docs/gst/tmpl/gstutils.sgml:
7076 * docs/gst/tmpl/gstvalue.sgml:
7077 * docs/gst/tmpl/gstversion.sgml:
7078 * docs/gst/tmpl/gstxml.sgml:
7079 * docs/libs/tmpl/gstcontrol.sgml:
7080 * docs/libs/tmpl/gstdataprotocol.sgml:
7081 * docs/libs/tmpl/gstdparam.sgml:
7082 * docs/libs/tmpl/gstdplinint.sgml:
7083 * docs/libs/tmpl/gstdpman.sgml:
7084 * docs/libs/tmpl/gstdpsmooth.sgml:
7085 * docs/libs/tmpl/gstgetbits.sgml:
7086 * docs/libs/tmpl/gstunitconvert.sgml:
7087 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7088 (gst_push_src_base_init), (gst_push_src_class_init),
7089 (gst_push_src_init), (gst_push_src_create):
7090 * gst/base/gstpushsrc.h:
7091 * gst/elements/gstelements.c:
7092 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7093 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7094 (gst_fake_sink_init), (gst_fake_sink_set_property),
7095 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7096 (gst_fake_sink_event), (gst_fake_sink_preroll),
7097 (gst_fake_sink_render), (gst_fake_sink_change_state):
7098 * gst/elements/gstfakesink.h:
7099 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7100 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7101 (gst_fake_src_base_init), (gst_fake_src_class_init),
7102 (gst_fake_src_init), (gst_fake_src_event_handler),
7103 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7104 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7105 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7106 (gst_fake_src_create_buffer), (gst_fake_src_create),
7107 (gst_fake_src_start), (gst_fake_src_stop):
7108 * gst/elements/gstfakesrc.h:
7109 * gst/elements/gstfilesink.c: (_do_init),
7110 (gst_file_sink_base_init), (gst_file_sink_class_init),
7111 (gst_file_sink_init), (gst_file_sink_dispose),
7112 (gst_file_sink_set_location), (gst_file_sink_set_property),
7113 (gst_file_sink_get_property), (gst_file_sink_open_file),
7114 (gst_file_sink_close_file), (gst_file_sink_query),
7115 (gst_file_sink_event), (gst_file_sink_render),
7116 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7117 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7118 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7119 * gst/elements/gstfilesink.h:
7120 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7121 (gst_file_src_class_init), (gst_file_src_init),
7122 (gst_file_src_finalize), (gst_file_src_set_location),
7123 (gst_file_src_set_property), (gst_file_src_get_property),
7124 (gst_file_src_map_region), (gst_file_src_map_small_region),
7125 (gst_file_src_create_mmap), (gst_file_src_create_read),
7126 (gst_file_src_create), (gst_file_src_is_seekable),
7127 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7128 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7129 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7130 (gst_file_src_uri_handler_init):
7131 * gst/elements/gstfilesrc.h:
7132 more autistic cleanliness in functions/names/defines
7134 2005-07-13 Andy Wingo <wingo@pobox.com>
7136 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7137 source couldn't negotiate.
7139 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7143 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7144 function. I am channeling Hades. Put your boots on suckers!!!
7146 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7148 * testsuite/caps/Makefile.am:
7149 * testsuite/caps/value_compare.c:
7150 * testsuite/caps/value_intersect.c:
7151 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7152 move two testsuite apps over to the check dir
7154 2005-07-12 Wim Taymans <wim@fluendo.com>
7156 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7157 Added more debug info in the negotiate process.
7160 Prepare for segment playback.
7162 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7168 * tools/gst-launch.c: (main):
7169 NULL pipeline on errors.
7171 2005-07-12 Andy Wingo <wingo@pobox.com>
7173 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7174 not it comes from a malloc region. Make sure our copy gets freed.
7176 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7178 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7179 * check/gst/gstmessage.c: (GST_START_TEST):
7180 * check/gst/gststructure.c: (GST_START_TEST),
7181 (gst_structure_suite), (main):
7183 * gst/gstelement.c: (gst_element_message_full):
7184 clean up GError and debug string now that they get copied
7185 * gst/gstmessage.c: (gst_message_new_error),
7186 (gst_message_new_warning), (gst_message_parse_error),
7187 (gst_message_parse_warning):
7188 use GST_TYPE_G_ERROR for structure_new, and take copies of
7189 arguments, so that we don't mess up refcounting
7191 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7193 * check/Makefile.am:
7194 add per-test valgrind targets
7195 * check/gst-libs/gdp.c: (GST_START_TEST),
7196 (gst_data_protocol_suite), (main):
7199 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7201 * check/Makefile.am:
7202 instate more valgrindable tests
7203 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7204 (GST_START_TEST), (fakesrc_suite):
7205 * check/gst/gstpad.c: (GST_START_TEST):
7206 * check/gst/gststructure.c: (GST_START_TEST):
7208 * docs/gst/tmpl/gstminiobject.sgml:
7209 * gst/gstpad.c: (gst_pad_finalize):
7210 fix the static mutex leak
7212 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7214 * check/Makefile.am:
7215 add two more tests for valgrinding
7216 * check/gst/gstvalue.c: (GST_START_TEST):
7217 test refcount of deserialized buffer, found a leak
7218 * docs/gst/gstreamer-docs.sgml:
7219 * docs/gst/gstreamer-sections.txt:
7220 * docs/gst/gstreamer.types:
7221 * docs/gst/tmpl/gstminiobject.sgml:
7222 add miniobject to docs
7223 * gst/gstminiobject.c:
7225 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7226 (gst_string_unwrap):
7227 fix a hard-to-find invalid write for one of the tests
7228 fix a leak for deserialized buffers
7230 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7232 * docs/pwg/advanced-events.xml:
7233 * docs/pwg/advanced-request.xml:
7234 * docs/pwg/advanced-scheduling.xml:
7235 * docs/pwg/appendix-porting.xml:
7236 * docs/pwg/building-boiler.xml:
7237 * docs/pwg/intro-preface.xml:
7238 * docs/pwg/other-ntoone.xml:
7239 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7240 of example code and explanation for pad activation, loop() and
7241 getrange() functions and a bit more. Remove old comments pointing
7243 * examples/pwg/Makefile.am:
7244 Add loop/getrange examples.
7246 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7249 check for valgrind binary + some fixes
7251 valgrind suppressions for the tests
7252 * check/Makefile.am:
7253 add a valgrind: target that valgrinds the unit tests
7254 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7255 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7256 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7257 * check/gst/gstghostpad.c:
7259 * check/gst/gstdata.c:
7261 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7262 (thread_unref), (gst_mini_object_suite), (main):
7264 * gst/gst.c: (gst_deinit):
7266 add a method to clean up.
7267 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7268 (gst_system_clock_obtain):
7269 allow for disposing the system clock.
7270 * tools/gst-launch.c: (main):
7273 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7275 * docs/gst/tmpl/gstbasesrc.sgml:
7276 * docs/gst/tmpl/gstfakesrc.sgml:
7277 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7278 (gst_base_src_init), (gst_base_src_set_property),
7279 (gst_base_src_get_property), (gst_base_src_get_range),
7280 (gst_base_src_start):
7281 * gst/base/gstbasesrc.h:
7282 add num-buffers property
7283 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7284 (gst_fakesrc_init), (gst_fakesrc_set_property),
7285 (gst_fakesrc_get_property), (gst_fakesrc_create),
7286 (gst_fakesrc_start):
7287 remove num-buffers property
7289 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7291 * docs/gst/gstreamer-sections.txt:
7292 * docs/gst/tmpl/gstbasesink.sgml:
7293 * docs/gst/tmpl/gstbasesrc.sgml:
7294 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7295 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7296 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7297 (gst_base_sink_set_property), (gst_base_sink_get_property),
7298 (gst_base_sink_handle_object), (gst_base_sink_event),
7299 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7300 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7301 (gst_base_sink_loop), (gst_base_sink_deactivate),
7302 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7303 (gst_base_sink_change_state):
7304 * gst/base/gstbasesink.h:
7305 * gst/base/gstbasesrc.h:
7306 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7307 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7308 (gst_filesink_init):
7309 more macro splitting
7311 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7313 * gst/gstelement.c: (gst_element_get_bus):
7315 * tools/gst-launch.c: (check_intr), (event_loop):
7318 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7320 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7323 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7325 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7326 (gst_base_src_finalize):
7327 add finalize method and clean up properly
7328 * gst/gstpipeline.c: (gst_pipeline_dispose):
7331 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7333 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7335 add more things to check
7336 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7340 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7342 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7343 (GST_START_TEST), (fakesrc_suite):
7344 * check/gst-libs/gdp.c: (GST_START_TEST):
7345 * check/gst/gst.c: (GST_START_TEST):
7346 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7347 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7348 * check/gst/gstbus.c: (GST_START_TEST):
7349 * check/gst/gstcaps.c: (GST_START_TEST):
7350 * check/gst/gstdata.c: (GST_START_TEST):
7351 * check/gst/gstelement.c: (GST_START_TEST):
7352 * check/gst/gstghostpad.c: (GST_START_TEST):
7353 * check/gst/gstiterator.c: (GST_START_TEST):
7354 * check/gst/gstmessage.c: (GST_START_TEST):
7355 * check/gst/gstobject.c: (GST_START_TEST):
7356 * check/gst/gstpad.c: (GST_START_TEST):
7357 * check/gst/gststructure.c: (GST_START_TEST):
7358 * check/gst/gstsystemclock.c: (GST_START_TEST),
7359 (gst_systemclock_suite):
7360 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7361 * check/gst/gstvalue.c: (GST_START_TEST):
7362 * check/pipelines/cleanup.c: (GST_START_TEST):
7363 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7364 * check/states/sinks.c: (GST_START_TEST):
7365 * check/gstcheck.c: (gst_check_init):
7367 add debugging category
7368 use GST_START_TEST now, so we add a debug line
7370 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7372 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7373 add test for state change message on a bin
7374 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7376 * gst/gstbin.c: (gst_bin_init):
7377 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7378 * gst/gstelement.c: (gst_element_post_message),
7379 (gst_element_set_state):
7380 * gst/gstelementfactory.c: (gst_element_factory_create):
7381 * gst/gstmessage.c: (gst_message_new):
7382 * gst/gstscheduler.c:
7383 various debugging additions and cleanups
7385 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7387 * check/Makefile.am:
7388 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7390 adding tests for elements
7391 * gst/gstelement.c: (gst_element_dispose):
7393 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7395 * gst/registries/gstlibxmlregistry.c: (load_feature):
7396 plug more leaks. A simple gst_init() now is leakfree, yay.
7398 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7400 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7401 (gst_xml_registry_load):
7402 plug another memleak
7404 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7407 use GST_SET_ERROR_CFLAGS
7409 change to ERROR_CFLAGS
7411 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7414 make GST_ERROR_CFLAGS overridable and re-enable Werror
7416 add a note about error CFLAGS
7417 * docs/gst/tmpl/gstfakesrc.sgml:
7418 * gst/elements/gstfakesrc.c:
7419 comment out some unused code
7420 * gst/gst.c: (split_and_iterate):
7421 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7425 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7427 * common/Makefile.am:
7428 * common/gtk-doc.mak:
7429 * docs/gst/Makefile.am:
7430 factor out gtk-doc.mak
7432 2005-07-07 Wim Taymans <wim@fluendo.com>
7434 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7435 (gst_thread_scheduler_dispose):
7436 Unlock the STREAM_LOCK completely.
7438 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7440 * check/Makefile.am:
7441 * check/elements/.cvsignore:
7442 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7443 (START_TEST), (fakesrc_suite), (main):
7444 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7445 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7446 (gst_fakesrc_create), (gst_fakesrc_start):
7447 * gst/elements/gstfakesrc.h:
7448 adding a first element test
7450 2005-07-07 Andy Wingo <wingo@pobox.com>
7452 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7455 2005-07-07 Wim Taymans <wim@fluendo.com>
7461 2005-07-07 Wim Taymans <wim@fluendo.com>
7463 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7464 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7465 Allow subclasses to implement their own negotiation.
7467 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7469 * docs/design/part-gstbin.txt:
7470 * docs/design/part-gstpipeline.txt:
7471 Update design notes to reflect the movement of
7472 responsibility for bus handling from GstPipeline to
7475 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7478 Remove unnecessary queue2/3/4 examples.
7480 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7482 * examples/Makefile.am:
7483 * examples/helloworld/helloworld.c: (event_loop), (main):
7484 * examples/queue/queue.c: (event_loop), (main):
7485 * examples/queue2/queue2.c: (main):
7486 Update a couple of the examples to work again.
7488 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7489 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7490 Spelling corrections and extra debug.
7492 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7493 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7494 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7496 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7497 (gst_pipeline_change_state):
7498 * gst/gstpipeline.h:
7499 Move the bus handler for children to the GstBin, and create a
7500 separate bus for receiving messages from children to the one the
7501 bus sends 'upwards' on.
7503 2005-07-06 Wim Taymans <wim@fluendo.com>
7506 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7507 (gst_base_sink_handle_object), (gst_base_sink_loop),
7508 (gst_base_sink_change_state):
7509 * gst/base/gstbasesink.h:
7510 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7511 (gst_base_src_init), (gst_base_src_setcaps),
7512 (gst_base_src_getcaps), (gst_base_src_loop),
7513 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7514 (gst_base_src_start), (gst_base_src_change_state):
7515 * gst/base/gstbasesrc.h:
7516 Make basesrc negotiate.
7517 Handle the case where preroll fails in basesink.
7520 2005-07-06 Wim Taymans <wim@fluendo.com>
7522 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7523 Implement the fixate function.
7524 Clean up acceptcaps.
7526 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7528 * docs/pwg/building-filterfactory.xml:
7530 Remove never-written filter-factory chapter; I'll add the various
7531 base classes to part 4 ("other element types") later on.
7533 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7535 * docs/pwg/advanced-negotiation.xml:
7536 * docs/pwg/building-boiler.xml:
7537 * docs/pwg/building-pads.xml:
7539 * examples/pwg/Makefile.am:
7540 Add a chapter on caps negotiation, simplify the original code
7541 samples a bit w.r.t. caps negotiation, add link to the advanced
7542 section. Add a bunch of examples showing different use cases of
7543 different types of caps negotiation. Upstream renegotiation isn't
7544 fully documented yet since nobody knows how that works.
7546 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7548 * check/gst/gstpad.c:
7550 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7551 if pad has no parent, return NULL as list of internal links
7553 2005-07-05 Andy Wingo <wingo@pobox.com>
7555 * gst/elements/gstfilesrc.c:
7556 * gst/elements/gstfakesrc.c:
7557 * gst/base/gstpushsrc.c:
7558 * gst/base/gstbasesrc.h:
7559 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7561 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7564 better report generation target (lcov needs a patch)
7566 2005-07-05 Andy Wingo <wingo@pobox.com>
7568 * gst/elements, testsuite: Null if we got it...
7570 2005-07-05 Wim Taymans <wim@fluendo.com>
7573 * libs/gst/dataprotocol/Makefile.am:
7574 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7575 * libs/gst/dataprotocol/dataprotocol.h:
7576 * pkgconfig/Makefile.am:
7577 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7578 * pkgconfig/gstreamer-dataprotocol.pc.in:
7579 Ported dataprotol to 0.9.
7580 Added pkgconfig files.
7582 2005-07-05 Andy Wingo <wingo@pobox.com>
7584 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7585 Default to returning TRUE for the case when tranform_caps returns
7586 a fixed caps, like for identity or volume.
7588 * check/gst/gstbus.c (pound_bus_with_messages):
7589 * check/gst/gstmessage.c (START_TEST):
7590 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7593 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7594 logic weaks here: always run transform_caps, trying passthrough
7595 operation only if the original caps intersects with the transform.
7597 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7598 source and sink caps.
7600 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7601 Intersect the peer caps with the pad template before going into
7603 (gst_base_transform_transform_caps): More debugging.
7605 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7608 2005-07-04 Edward Hervey <edward@fluendo.com>
7612 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7615 2005-07-04 Andy Wingo <wingo@pobox.com>
7617 * check/gst/gstpad.c: Only set explicit caps on pads.
7619 2005-07-01 Andy Wingo <wingo@pobox.com>
7621 * tests/network-clock.scm: Commentary update.
7623 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7624 Didn't really make sense, not implementable with basetransform,
7626 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7627 attempt at implementing the sync property, needs an unlock method.
7629 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7630 New func, by default returns the same caps (the identity
7632 (gst_base_transform_getcaps): Uses transform_caps to return
7634 (gst_base_transform_setcaps): Complicated logic to get caps on
7635 both pads, even if they are different, and to call set_caps once
7636 for every time both pads get their caps set.
7637 (gst_base_transform_handle_buffer): Give the ref to the transform
7638 function. Allows in-place modification of the buffer.
7640 * gst/base/gstbasetransform.h (transform_caps): New class method.
7641 Given caps on one side, what can I do on the other.
7642 (set_caps): Take two caps, one for each side of the element.
7645 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7646 caps in place. This is safe because we can check the mutability of
7647 the caps, and a good idea because fixate functions are just called
7648 as a matter of last resort. (Not actually implemented.)
7649 (gst_pad_set_caps): If the caps we're setting is actually the same
7650 as the existing pad caps, just update the pointer without calling
7651 setcaps. Assert that caps is either NULL or fixed, as per the
7654 * gst/gstghostpad.c: Update for fixate changes.
7656 2005-07-02 Andy Wingo <wingo@pobox.com>
7659 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7660 two refcounts makes it immutable, which is enough. Doc more.
7662 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7664 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7665 Put the mini_object into GValue as a mini_object,
7666 not a gpointer, since that's how we declared
7669 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7671 * examples/pwg/Makefile.am:
7674 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7676 * docs/pwg/building-testapp.xml:
7678 * examples/pwg/Makefile.am:
7681 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7684 * examples/Makefile.am:
7685 * examples/pwg/Makefile.am:
7686 * examples/pwg/extract.pl:
7687 Enable building the PWG examples.
7688 * docs/pwg/advanced-interfaces.xml:
7689 Add URI interface stub.
7690 * docs/pwg/advanced-types.xml:
7691 * docs/pwg/other-autoplugger.xml:
7692 * docs/pwg/appendix-porting.xml:
7694 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7695 * docs/pwg/building-boiler.xml:
7696 * docs/pwg/building-chainfn.xml:
7697 * docs/pwg/building-pads.xml:
7698 * docs/pwg/building-props.xml:
7699 * docs/pwg/building-state.xml:
7700 * docs/pwg/building-testapp.xml:
7701 Update the building-*.xml parts for 0.9 changes. All examples
7702 code blocks compile in examples/pwg/*.
7704 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7706 * docs/manual/advanced-autoplugging.xml:
7707 * docs/manual/appendix-checklist.xml:
7708 * docs/manual/appendix-integration.xml:
7709 * docs/manual/highlevel-components.xml:
7710 Fix playbin/decodebin examples, update docs a bit, mention bus
7711 instead of signals in various places, mention kmplayer and
7712 kaffeine since they have a working GStreamer backend in the KDE
7715 2005-06-30 Wim Taymans <wim@fluendo.com>
7718 * docs/design/draft-ghostpads.txt:
7719 * docs/design/draft-push-pull.txt:
7720 * docs/design/draft-query.txt:
7721 * docs/design/part-TODO.txt:
7722 * docs/design/part-query.txt:
7723 Added CHANGES-0.9 doc, updated status of other docs.
7728 2005-06-30 Wim Taymans <wim@fluendo.com>
7730 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7731 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7732 (gst_base_sink_change_state):
7733 * gst/base/gstbasesink.h:
7734 Some tweaks, only EOS and a buffer complete a preroll.
7736 2005-06-30 Andy Wingo <wingo@pobox.com>
7738 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7739 activate_push down to the internal pad as well.
7741 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7743 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7745 * gst/gsttaginterface.c:
7746 Some documentation fixes (#307394 and #307397).
7748 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7750 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7752 * gst/gstvalue.c: (gst_value_intersect_list):
7753 Fix memleak (#309125).
7755 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7757 * docs/manual/advanced-dataaccess.xml:
7758 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7759 * docs/manual/basics-pads.xml:
7760 Add reference for filtered caps to above chapter.
7762 2005-06-30 Wim Taymans <wim@fluendo.com>
7764 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7765 (gst_bin_change_state):
7767 Lame attempt at making the state change function a bit
7770 2005-06-30 Wim Taymans <wim@fluendo.com>
7772 * docs/design/part-clocks.txt:
7773 * docs/design/part-element-sink.txt:
7774 * docs/design/part-events.txt:
7775 * docs/design/part-preroll.txt:
7776 * docs/design/part-states.txt:
7777 Some more tweeks and additions to the docs.
7779 2005-06-30 Wim Taymans <wim@fluendo.com>
7781 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7782 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7783 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7784 (gst_pad_check_pull_range), (gst_pad_get_range),
7785 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7787 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7788 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7789 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7790 (gst_pad_remove_buffer_probe):
7791 Removed atomic operations, use existing LOCK.
7792 Move exception handling out of main code path.
7794 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7796 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7797 (silly_return_true_function), (gst_pad_class_init),
7798 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7799 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7800 (gst_pad_send_event):
7801 Fix accumulator, add default value by using _emitv() instead
7802 of _emit() for signal emission.
7804 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7806 * docs/manual/advanced-dataaccess.xml:
7807 * examples/manual/Makefile.am:
7809 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7812 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7814 * gst/elements/gstfilesink.c: (gst_filesink_render):
7815 Simplify code so that we don't have to handle short
7816 writes and return GST_FLOW_ERROR if an error occured.
7818 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7820 * docs/gst/gstreamer-docs.sgml:
7823 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7825 * docs/gst/gstreamer-sections.txt:
7826 * docs/gst/tmpl/gstpad.sgml:
7827 * docs/gst/tmpl/gstprobe.sgml:
7829 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7830 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7831 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7832 (gst_pad_push_event), (gst_pad_send_event):
7834 * gst/gstutils.c: (gst_pad_add_data_probe),
7835 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7836 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7837 (gst_pad_remove_buffer_probe):
7839 Remove old probes, add new g-signal-based probes and some utility
7842 2005-06-29 Edward Hervey <edward@fluendo.com>
7844 * gst/gstelementfactory.c:
7847 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7848 the definition to the header file.
7850 2005-06-29 Andy Wingo <wingo@pobox.com>
7852 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7853 plugins from the source directory.
7855 2005-06-29 Wim Taymans <wim@fluendo.com>
7857 * docs/gst/tmpl/gstbuffer.sgml:
7858 * docs/gst/tmpl/gstclock.sgml:
7859 Some fixings for blantently wrong text.
7861 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7863 * check/Makefile.am:
7864 * gst/gst.c: (add_path_func), (init_pre):
7865 * gst/gstregistry.c: (gst_registry_add_path):
7866 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7867 only scan the GST_PLUGIN_PATH locations, and not add
7870 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7872 * docs/gst/gstreamer-sections.txt:
7873 * docs/gst/tmpl/gstbasesrc.sgml:
7880 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7882 * docs/manual/advanced-autoplugging.xml:
7883 Fix autoplugging example.
7885 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7887 * docs/manual/advanced-autoplugging.xml:
7888 * docs/manual/mime-world.fig:
7889 Try to get autoplugging working, fix type detection. Fix text
7890 in hello-world image.
7892 2005-06-29 Wim Taymans <wim@fluendo.com>
7894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7895 (gst_base_sink_change_state):
7899 map SIGNAL and BROADCAST to the right function.
7902 Remove redundant braces.
7904 * gst/gstpad.c: (gst_pad_set_caps):
7905 Don't call setcaps function when reseting caps to NULL.
7907 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7908 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7909 (gst_system_clock_id_unschedule):
7910 Use BROADCAST as this is what we do.
7912 2005-06-29 Wim Taymans <wim@fluendo.com>
7914 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7915 We are actually prerolling before commiting the state
7918 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7920 * docs/manual/advanced-clocks.xml:
7921 * docs/manual/advanced-interfaces.xml:
7922 * docs/manual/advanced-metadata.xml:
7923 * docs/manual/advanced-position.xml:
7924 * docs/manual/advanced-schedulers.xml:
7925 * docs/manual/advanced-threads.xml:
7926 * docs/manual/appendix-porting.xml:
7927 * docs/manual/basics-bins.xml:
7928 * docs/manual/basics-bus.xml:
7929 * docs/manual/basics-elements.xml:
7930 * docs/manual/basics-helloworld.xml:
7931 * docs/manual/basics-pads.xml:
7932 * docs/manual/highlevel-components.xml:
7933 * docs/manual/manual.xml:
7934 * docs/manual/thread.fig:
7935 Update (until threads/scheduling) Application Development Manual;
7936 remove GstThread, add GstBus, add simple porting checklist, add
7937 documentation for tag writing, clocks, make all examples until this
7938 part compile and run.
7939 * examples/manual/Makefile.am:
7940 Update from changes to Application Development Manual; add bus
7941 example, remove thread example.
7943 2005-06-28 Wim Taymans <wim@fluendo.com>
7945 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7946 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7947 (gst_bus_source_dispatch):
7948 Add debugging messages.
7949 Make internal methods static.
7950 Handle the case where the bus is flushed in the handler.
7952 * gst/gstelement.c: (gst_element_get_bus):
7953 Fix refcount in _get_bus();
7955 * gst/gstpipeline.c: (gst_pipeline_change_state),
7956 (gst_pipeline_get_clock_func):
7957 Clock refcounting fixes.
7958 Handle the case where preroll timed out more gracefully.
7960 * gst/gstsystemclock.c: (gst_system_clock_dispose):
7961 Clean up the internal thread in dispose. This is needed
7962 for subclasses that actually get disposed.
7964 * gst/schedulers/threadscheduler.c:
7965 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7966 (gst_thread_scheduler_dispose):
7967 Free thread pool in dispose.
7969 2005-06-28 Andy Wingo <wingo@pobox.com>
7971 * tests/network-clock-utils.scm (debug, print-event): New utils.
7973 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
7974 (*packet-loss*): Unified loss probability.
7975 (network-time): Report out-of-band events.
7977 * tests/plot-data: Add support for out-of-band events. Hack it
7978 into this script instead of passing it down the pipe; should fix
7981 2005-06-28 Wim Taymans <wim@fluendo.com>
7983 * docs/gst/gstreamer.types:
7984 * docs/gst/tmpl/gstbasesrc.sgml:
7985 * docs/gst/tmpl/gstpad.sgml:
7988 2005-06-28 Wim Taymans <wim@fluendo.com>
7990 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7991 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
7992 (gst_proxy_pad_do_fixatecaps):
7993 Correctly proxy the check_pull_range function.
7995 2005-06-28 Andy Wingo <wingo@pobox.com>
7997 * tests/network-clock.scm: Removed need for slib.
7999 2005-06-28 Wim Taymans <wim@fluendo.com>
8001 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8002 (gst_basesink_preroll_queue_flush):
8003 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8004 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8005 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8006 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8007 (gst_proxy_pad_set_property):
8010 * gst/gstqueue.c: (gst_queue_init):
8011 The deprecated pad loop function is removed now.
8013 2005-06-28 Andy Wingo <wingo@pobox.com>
8015 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8016 New parameters, simulate network packet loss.
8018 * tests/network-clock-utils.scm: Initialize the RNG.
8020 2005-06-28 Wim Taymans <wim@fluendo.com>
8022 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8023 (gst_basesink_event), (gst_basesink_deactivate):
8024 Flushing the preroll queue always needs to unlock the waiters.
8026 2005-06-28 Edward Hervey <edward@fluendo.com>
8028 * gst/gstpipeline.c: (gst_pipeline_send_event):
8029 Wheen a seek was successful on a pipeline, set the stream_time to the
8030 seek offset in order to have a synchronized stream_time.
8032 2005-06-28 Wim Taymans <wim@fluendo.com>
8034 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8035 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8036 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8037 (gst_proxy_pad_do_fixatecaps):
8038 Call wrapper function instead of just calling the function
8039 pointers. This takes care of any locking and whatmore.
8041 2005-06-28 Wim Taymans <wim@fluendo.com>
8043 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8044 (gst_pad_pull_range):
8046 CONNECTED -> LINKED.
8048 2005-06-28 Andy Wingo <wingo@pobox.com>
8050 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8051 source-munging commit!!!
8053 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8054 (gst_object_sink): Take gpointer arguments, not GstObject --
8055 avoids casts. Like GLib.
8057 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8060 2005-06-27 Andy Wingo <wingo@pobox.com>
8062 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8065 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8066 returns a sorted copy of the trace list.
8067 (gst_alloc_trace_print_live): New API, only prints traces with
8068 live objects. Sort the list.
8069 (gst_alloc_trace_print_all): Sort the list.
8070 (gst_alloc_trace_print): Align columns.
8072 * gst/elements/gstttypefindelement.c:
8073 * gst/elements/gsttee.c:
8074 * gst/base/gstbasesrc.c:
8075 * gst/base/gstbasesink.c:
8076 * gst/base/gstbasetransform.c:
8077 * gst/gstqueue.c: Adapt for pad activation changes.
8079 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8081 (gst_pipeline_dispose): Drop ref on sched.
8083 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8084 (gst_pad_activate_default): Push mode by default.
8085 (pre_activate_switch, post_activate_switch): New stubs, things to
8086 do before and after switching activation modes on pads.
8087 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8088 the pad's activate function to choose which mode to activate.
8089 Shortcut on deactivation and call the right function directly.
8090 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8092 (gst_pad_activate_push): New API, same for push mode.
8093 (gst_pad_set_activate_function)
8094 (gst_pad_set_activatepull_function)
8095 (gst_pad_set_activatepush_function): Setters for new API.
8097 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8098 Trace all miniobjects.
8099 (gst_mini_object_make_writable): Unref the arg if we copy, like
8100 gst_caps_make_writable.
8102 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8104 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8105 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8106 Adapt for new pad API.
8108 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8111 * gst/gstelement.c (gst_element_iterate_src_pads)
8112 (gst_element_iterate_sink_pads): New API functions.
8114 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8115 should fold into gstiterator.c in some form.
8116 (gst_element_pads_activate): Simplified via use of fold and
8117 delegation of decisions to gstpad->activate.
8119 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8122 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8123 class once in init, like gstmessage. Didn't run into this issue
8124 but it seems correct. Don't initialize a trace, gstminiobject does
8127 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8128 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8130 (assert_live_count): New util function, uses alloc traces to check
8133 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8134 To be modified when unlink drops the internal pad.
8136 2005-06-27 Wim Taymans <wim@fluendo.com>
8138 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8139 (gst_bin_change_state):
8140 Cleanup the get_state() function a little, make sure it
8141 iterates the same set of elements.
8142 Added stub iterate_state_order().
8144 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8146 * docs/gst/gstreamer-docs.sgml:
8147 * docs/gst/gstreamer-sections.txt:
8148 * docs/gst/gstreamer.types:
8149 * docs/gst/tmpl/gstbasesink.sgml:
8150 * docs/gst/tmpl/gstbasesrc.sgml:
8151 * docs/gst/tmpl/gstbasetransform.sgml:
8152 * docs/gst/tmpl/gstelement.sgml:
8153 * docs/gst/tmpl/gstiterator.sgml:
8154 * gst/base/gstbasesrc.c:
8155 * gst/base/gstbasesrc.h:
8156 * gst/base/gstbasetransform.h:
8158 * gst/gstiterator.h:
8159 adding basetransform and iterator docs
8161 2005-06-27 Andy Wingo <wingo@pobox.com>
8163 * docs/design/part-activation.txt: Notes on how activation should
8164 work -- not quite implemented yet.
8166 2005-06-25 Wim Taymans <wim@fluendo.com>
8168 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8169 At least get the chain function correct, needs more
8172 2005-06-25 Wim Taymans <wim@fluendo.com>
8174 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8175 (gst_basesink_handle_object), (gst_basesink_event),
8176 (gst_basesink_do_sync), (gst_basesink_handle_event),
8177 (gst_basesink_change_state):
8179 Right, two problems here: ghostpads don't take locks and
8180 glib _rec_mutex_lock_full() with depth==0 still locks.
8181 Catch illegal locking and g_warn them.
8183 2005-06-25 Wim Taymans <wim@fluendo.com>
8185 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8186 Have to check for completion now...
8188 2005-06-25 Wim Taymans <wim@fluendo.com>
8190 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8191 (gst_basesink_handle_object), (gst_basesink_event),
8192 (gst_basesink_do_sync), (gst_basesink_handle_event),
8193 (gst_basesink_change_state):
8195 Unlock STREAM_LOCK whatever the recursion was.
8197 2005-06-25 Wim Taymans <wim@fluendo.com>
8199 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8200 (gst_basesink_preroll_queue_empty),
8201 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8202 (gst_basesink_event), (gst_basesink_do_sync),
8203 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8204 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8205 (gst_basesink_change_state):
8206 Reworked the base sink, handle event and buffer serialisation
8207 correctly and removed possible deadlock.
8208 Handle EOS correctly.
8210 2005-06-25 Wim Taymans <wim@fluendo.com>
8212 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8213 (gst_pipeline_change_state):
8214 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8215 Allow elements to post EOS in the state change function.
8216 Fix up -launch, make it exit the poll loop when the
8217 pipeline actually changed state.
8218 Fix up warning parsing in -launch.
8220 2005-06-25 Wim Taymans <wim@fluendo.com>
8222 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8223 (gst_tee_sink_activate):
8224 Core takes STREAM_LOCK for us now.
8226 2005-06-25 Wim Taymans <wim@fluendo.com>
8228 * gst/gstelement.c: (gst_element_get_state_func),
8229 (gst_element_set_state):
8231 * gst/gstmessage.c: (gst_message_parse_error),
8232 (gst_message_parse_warning):
8233 Keep track of current target state while performing a state
8234 change so that subclasses can do something interesting.
8235 Fix parsing of warning/error messages when GError is NULL.
8237 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8239 * docs/gst/Makefile.am:
8240 * docs/gst/gstreamer-docs.sgml:
8241 * docs/gst/gstreamer-sections.txt:
8242 * docs/gst/gstreamer.types:
8243 * docs/gst/tmpl/gstbasesink.sgml:
8244 * docs/gst/tmpl/gstbasesrc.sgml:
8245 * docs/gst/tmpl/gstbin.sgml:
8246 * docs/gst/tmpl/gstcompat.sgml:
8247 * docs/gst/tmpl/gstfakesink.sgml:
8248 * docs/gst/tmpl/gstfakesrc.sgml:
8249 * docs/gst/tmpl/gstfilesink.sgml:
8250 * docs/gst/tmpl/gstfilesrc.sgml:
8251 * docs/gst/tmpl/gstindex.sgml:
8252 * docs/manual/appendix-quotes.xml:
8253 * gst/base/gstbasesrc.h:
8254 * gst/elements/gstfakesrc.h:
8256 start pulling in base classes and elements in our docs
8258 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8260 * docs/gst/Makefile.am:
8261 * docs/libs/Makefile.am:
8262 fixed make distcheck with gtk-doc 1.3
8264 2005-06-23 Wim Taymans <wim@fluendo.com>
8266 * gst/gstelement.c: (gst_element_get_state_func),
8267 (gst_element_set_state), (gst_element_change_state):
8268 When the state did not change, also report NO_PREROLL
8271 2005-06-23 Wim Taymans <wim@fluendo.com>
8273 * gst/gstpad.c: (gst_pad_event_default):
8274 * gst/gstqueue.c: (gst_queue_loop):
8275 No unsafe task pausing please.
8277 2005-06-23 Wim Taymans <wim@fluendo.com>
8279 * gst/schedulers/threadscheduler.c:
8280 (gst_thread_scheduler_task_start),
8281 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8282 Ref the task before pushing it on the threadpool. This
8283 makes sure that we have a ref when the threadfunction is
8286 2005-06-23 Andy Wingo <wingo@pobox.com>
8288 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8289 offset is greater than the file's size.
8291 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8292 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8293 * gst/gstobject.c (gst_object_class_init): Make the class lock
8294 recursive. Wim won't let me drop deep_notify. Decodebin works
8297 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8298 internal pad, and hacks accordingly. Doesn't do it on the target
8299 pad because we change its caps. Probably catches all cases of
8301 (gst_ghost_pad_set_property): Connect to notify::caps as
8304 * tests/network-clock.scm (plot-simulation): Pipe data to the
8305 elite python skript.
8307 * tests/network-clock-utils.scm (define-parameter): New macro,
8308 defines a parameter that can be set via the command line.
8309 (set-parameter!, parse-parameter-arguments): Command line args
8312 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8315 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8317 * gst/elements/gsttypefindelement.c:
8318 (gst_type_find_element_handle_event):
8319 Don't restart typefinding on a discont.
8320 * gst/gstelement.c: (gst_element_set_state):
8322 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8323 Allow changing mode of an active pad.
8325 * gst/registries/gstlibxmlregistry.c: (load_feature):
8326 Don't cast a static pad template to a normal pad template.
8328 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8330 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8331 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8332 remove gst_strtoll completely, since it didn't actually do
8333 anything more than what g_ascii_strtoull already does.
8334 check for range errors when deserializing
8335 do a cast for the unsigned cases; but further fixing needs
8336 a decision on what the interpretation of "(int)" and
8337 deserialization should be for values that fall outside the
8338 type's boundaries (ie, refuse, or interpret as casting)
8340 2005-06-23 Wim Taymans <wim@fluendo.com>
8342 * check/Makefile.am:
8343 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8344 * docs/design/part-live-source.txt:
8345 * docs/design/part-states.txt:
8346 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8347 (gst_basesrc_set_live), (gst_basesrc_is_live),
8348 (gst_basesrc_get_range), (gst_basesrc_activate),
8349 (gst_basesrc_change_state):
8350 * gst/base/gstbasesrc.h:
8351 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8352 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8353 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8354 * gst/gstelement.c: (gst_element_get_state_func),
8355 (gst_element_set_state):
8358 * tools/gst-launch.c: (event_loop), (main):
8359 Added support for live sources and other elements that
8361 Updated design docs, added live-source design doc.
8362 Implemented live source functionality in basesrc
8363 Fix error condition in _bin_get_state()
8364 Implement live source handling in -launch.
8365 Added check for live sources.
8366 Fixed case in GstBin where elements were changed state
8370 2005-06-23 Andy Wingo <wingo@pobox.com>
8372 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8375 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8376 gst_caps_replace takes care of this for us.
8378 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8379 gst_pad_set_caps on the target, not just its setcaps() function.
8381 * tests/network-clock.scm:
8382 * tests/network-clock-utils.scm: A network clock simulator.
8383 Something of an algorithmic testbed before doing something in C.
8385 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8387 * check/Makefile.am:
8388 * check/gst/capslist.h:
8389 copy over from 0.8, and add two with bitmasks specified with
8391 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8392 add test to parse everything from capslist.h
8393 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8395 add test for structure deserialization
8396 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8397 add tests for deserialization of strings to int types
8398 * gst/gststructure.c: (gst_structure_nth_field_name):
8399 * gst/gststructure.h:
8400 add a way to get the name of a field referenced by index
8401 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8402 instead of checking if the resulting long long lies between
8403 min and max, we check if the long long would fit into
8404 a number of bytes for the final type.
8405 This fixes cases where a string represents 2^32 - 1, which
8406 when cast to int would be the (valid) -1, but is bigger than
8409 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8411 * gst/parse/grammar.y:
8412 add a log line for type deserialization
8414 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8416 * check/gst/gstvalue.c: (START_TEST):
8417 * gst/gstvalue.c: (gst_value_deserialize):
8418 return long long, not int, so gint64 deserialization actually
8419 works. Is there any flag that makes the compiler check this ?
8422 2005-06-22 Wim Taymans <wim@fluendo.com>
8425 Added convenience macros for setting buffers in GValue.
8427 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8429 * check/gst/.cvsignore:
8430 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8431 add a test deserializing int64, and comment part out because
8434 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8436 * check/Makefile.am:
8437 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8438 * testsuite/Makefile.am:
8439 * testsuite/caps/Makefile.am:
8440 * testsuite/caps/value_serialize.c:
8441 * testsuite/test_gst_init.c:
8442 move a value_serialize test over
8444 2005-06-20 Wim Taymans <wim@fluendo.com>
8449 * gst/gstvalue.c: (gst_value_compare_buffer),
8450 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8451 (gst_value_compare_flags), (gst_value_serialize_flags),
8452 (gst_value_deserialize_flags), (_gst_value_initialize):
8453 Fix serialisation of buffers, they are not boxed types anymore
8455 2005-06-20 Wim Taymans <wim@fluendo.com>
8457 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8458 Testcase to show error in buffer-on-caps serialisation.
8460 2005-06-20 Andy Wingo <wingo@pobox.com>
8462 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8463 will be adding to later.
8465 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8466 if its socks fill with rocks.
8467 (gst_system_clock_obtain): Set the name on object construction.
8468 Avoid double-checked locking.
8470 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8472 * gst/gsturi.c: (gst_element_make_from_uri):
8473 Fix potential endless loop.
8475 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8477 * check/Makefile.am:
8479 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8481 move over from testsuite dir and clean up
8484 * testsuite/Makefile.am:
8485 * testsuite/tags/.cvsignore:
8486 * testsuite/tags/Makefile.am:
8487 * testsuite/tags/merge.c:
8488 remove testsuite/tags
8490 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8492 * docs/gst/gstreamer-sections.txt:
8493 * docs/gst/tmpl/gstenumtypes.sgml:
8494 * win32/gstenumtypes.c:
8495 clean up documentation build a little
8497 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8500 add macros for checking refcounts on objects and caps
8501 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8502 add some more unit tests
8503 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8504 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8505 fix leaked refcounts (I hope :)) so unittest works
8509 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8511 * configure.ac: back to HEAD
8513 === release 0.9.1 ===
8515 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8521 2005-06-17 Andy Wingo <wingo@pobox.com>
8523 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8524 assert; it's always possible that the pad gets deactivated in
8525 between the checks in gstpad.c and the implementation. Rely on
8526 finish_preroll() to return a FLUSHING or similar instead of on the
8529 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8530 clock and post an EOS message if we come out of finish_preroll in
8533 2005-06-16 David Schleef <ds@schleef.org>
8535 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8536 (gst_capsfilter_set_property): Allow NULL as possible value
8537 for filter_caps property, indicating GST_CAPS_ANY.
8539 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8541 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8543 * gst/schedulers/Makefile.am:
8545 * gstreamer.spec.in:
8548 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8550 * gstreamer.spec.in:
8553 2005-06-08 Andy Wingo <wingo@pobox.com>
8555 * gst/gstutils.c: RPAD fixes all around.
8556 (gst_element_link_pads): Refcounting fixes.
8558 * tools/gst-inspect.c:
8559 * tools/gst-xmlinspect.c:
8561 * gst/base/gsttypefindhelper.c:
8562 * gst/base/gstbasesink.c:
8563 * gst/gstqueue.c: RPAD fixes.
8565 * gst/gstghostpad.h:
8566 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8567 pads. The tricky thing is they provide both source and sink
8568 interfaces, since they proxy the internal pad for the external
8569 pad, and vice versa. Implement with lower-level ProxyPad objects,
8570 with the interior proxy pad as a child of the exterior ghost pad.
8571 Should write a doc on this.
8573 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8574 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8577 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8578 pads are real pads. No ghost pads in this file. Not documenting
8579 the myriad s/RPAD/PAD/ and REALIZE fixes.
8580 (gst_pad_class_init): Add properties for "direction" and
8581 "template". Both are construct-only, so they can't change during
8582 the life of the pad. Fixes properly deriving from GstPad.
8583 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8584 derived objects, just set properties when creating the objects via
8586 (gst_pad_get_parent): Implement as a function, return NULL if the
8587 parent is not an element.
8588 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8589 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8591 * gst/gstobject.c (gst_object_class_init): Make name a construct
8592 property. Don't set it in the object init.
8594 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8595 with UNKNOWN direction.
8596 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8597 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8598 (gst_element_remove_pad): Remove ghost-pad special cases.
8599 (gst_element_pads_activate): Remove rpad cruft.
8601 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8602 catch the pad's-parent-not-an-element case.
8604 * gst/gst.h: Include gstghostpad.h.
8606 * gst/gst.c (init_post): No more real, ghost pads.
8608 * gst/Makefile.am: Add gstghostpad.[ch].
8610 * check/Makefile.am:
8611 * check/gst/gstbin.c:
8612 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8613 into a bin creates ghost pads, and that the refcounts are right.
8614 Partly moved from gstbin.c.
8616 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8618 * check/gst-libs/.cvsignore:
8619 * check/gst/.cvsignore:
8620 * check/pipelines/.cvsignore:
8622 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8623 (START_TEST), (cleanup_suite), (main):
8624 add some tests related to cleanup after running pipelines
8626 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8628 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8629 add a testsuite for GstBuffer
8631 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8633 * gst/gstminiobject.h:
8634 add defines for accessing the refcount
8636 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8638 * Makefile.am: added support for html unit test coverage reports
8640 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8642 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8643 Free existing caps if the capsfilter changes. Add a FIXME about
8644 setting those caps on the pads.
8646 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8647 Before adding a ghost pad to a parent bin, check that there isn't
8648 already one for the element on the bin. Prevents infinite recursion
8649 when using decodebin in parse pipelines. Andy says he'll rewrite the
8650 way this works anyway, so ignore the hack.
8652 2005-06-02 Andy Wingo <wingo@pobox.com>
8654 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8655 file size, pass it on to the type find helper.
8657 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8658 segment_start and segment_end properly according to the seek
8659 method. Segment_end is still a bit flaky because offset can be
8660 negative for CUR and END cases, but it takes -1 as an "unset"
8663 2005-06-02 Wim Taymans <wim@fluendo.com>
8665 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8666 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8667 (gst_basesink_activate):
8668 * gst/base/gstbasesink.h:
8669 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8670 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8671 (gst_pad_query), (gst_pad_start_task):
8673 * gst/gstqueue.c: (gst_queue_bufferalloc),
8674 (gst_queue_handle_sink_event), (gst_queue_chain):
8675 Bufferalloc: return GstFlowReturn to more accuratly report
8676 why allocation failed.
8678 2005-06-02 Wim Taymans <wim@fluendo.com>
8680 * gst/gstpipeline.c: (gst_pipeline_send_event):
8681 Take snapshot of state without blocking.
8683 2005-06-02 Wim Taymans <wim@fluendo.com>
8685 * docs/design/part-TODO.txt:
8686 * docs/design/part-caps.txt:
8687 * docs/design/part-clocks.txt:
8688 * docs/design/part-negotiation.txt:
8689 * docs/design/part-preroll.txt:
8692 2005-05-30 Wim Taymans <wim@fluendo.com>
8694 * gst/elements/gstidentity.c: (gst_identity_event),
8695 (gst_identity_transform), (gst_identity_get_property):
8696 Protect last_message property as it is accessed from
8699 2005-05-30 Wim Taymans <wim@fluendo.com>
8701 * gst/gstelement.c: (gst_element_init),
8702 (gst_element_pads_activate), (gst_element_change_state):
8703 Slicker pad activation code.
8705 2005-05-30 Wim Taymans <wim@fluendo.com>
8709 * gst/gstelementfactory.h:
8711 Move elementfactory methods to separate .h file.
8713 2005-05-30 Wim Taymans <wim@fluendo.com>
8715 * docs/design/part-overview.txt:
8716 * gst/gstsystemclock.h:
8717 Small typo fixes, doc updates.
8719 2005-05-30 Wim Taymans <wim@fluendo.com>
8721 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8722 (init_popt_callback):
8723 Remove cpu-opt flag.
8725 2005-05-30 Wim Taymans <wim@fluendo.com>
8727 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8728 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8730 Avoid typechecking in places where not needed.
8731 Added accessor for malloc_data.
8733 2005-05-30 Wim Taymans <wim@fluendo.com>
8735 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8736 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8737 (gst_pad_configure_sink), (gst_pad_configure_src),
8738 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8739 (gst_pad_start_task):
8740 Propagate errors from _set_caps() in configure_src/sink
8741 functions instead of returning TRUE.
8742 FLUSH events can travel up and downstream
8745 2005-05-30 Wim Taymans <wim@fluendo.com>
8747 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8748 (gst_basesink_activate):
8749 Handle EOS in preroll.
8751 2005-05-30 Wim Taymans <wim@fluendo.com>
8753 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8754 (gst_queue_loop), (gst_queue_handle_src_event):
8755 Remove old pieces of code
8756 Flushing the queue in an upstream event is a very bad idea.
8758 2005-05-26 Andy Wingo <wingo@pobox.com>
8760 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8761 gst_value_set_mini_object so as to add a ref on the object (which
8762 will be removed when the value is unset).
8764 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8765 arg type in ::handoff.
8767 * gst/gstelement.c (gst_element_change_state): Also deactivate
8768 pads in READY->NULL, just in case the element didn't make it to
8769 PAUSED. Wingo tested, Wim approved.
8771 2005-05-26 Wim Taymans <wim@fluendo.com>
8773 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8774 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8775 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8776 A flushing pad cannot be used to alloc_buffer from.
8778 2005-05-26 Wim Taymans <wim@fluendo.com>
8780 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8781 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8782 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8783 (gst_bus_create_watch), (gst_bus_add_watch_full):
8785 Implement a real GSource and use g_main_context_wakeup() to
8786 signal new messages instead of the socketpair.
8788 2005-05-25 Wim Taymans <wim@fluendo.com>
8790 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8791 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8792 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8793 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8794 (gst_pad_send_event), (gst_pad_start_task):
8795 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8796 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8797 (gst_queue_sink_activate), (gst_queue_src_activate),
8798 (gst_queue_change_state):
8800 Fix state changes for non sinks. We now change sinks, then elements
8801 with unconnected srcpads, then the rest.
8802 More efficient queue unlocking in flush and state changes.
8803 Set the pad activate mode even if it does not have an activate
8806 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8808 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8809 Don't go in pull mode for non-seekable sources.
8810 * gst/elements/gsttypefindelement.h:
8811 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8812 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8813 (free_entry), (stop_typefinding),
8814 (gst_type_find_element_handle_event), (find_peek),
8815 (gst_type_find_element_chain), (do_pull_typefind),
8816 (gst_type_find_element_change_state):
8817 Allow typefinding (w/o seeking) in push-mode, simplified version
8819 * gst/gstutils.c: (gst_buffer_join):
8821 gst_buffer_join() from 0.8.
8823 2005-05-25 Wim Taymans <wim@fluendo.com>
8825 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8826 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8827 (gst_pad_send_event), (gst_pad_start_task):
8828 Disable attempt at mode switching until it is figured out.
8830 2005-05-25 Wim Taymans <wim@fluendo.com>
8832 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8833 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8834 (gst_basesink_finish_preroll), (gst_basesink_chain),
8835 (gst_basesink_loop), (gst_basesink_activate),
8836 (gst_basesink_change_state):
8837 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8838 (gst_basesrc_get_range), (gst_basesrc_loop),
8839 (gst_basesrc_activate):
8840 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8841 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8842 (gst_real_pad_init), (gst_real_pad_set_property),
8843 (gst_real_pad_get_property), (gst_pad_set_active),
8844 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8845 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8846 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8847 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8848 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8849 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8850 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8851 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8852 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8853 (gst_pad_stop_task):
8855 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8856 (gst_queue_loop), (gst_queue_src_activate):
8857 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8858 (gst_task_get_state):
8860 * gst/schedulers/threadscheduler.c:
8861 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8862 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8864 Remove ACTIVE pad flag, use FLUSHING everywhere
8865 Added _pad_chain(), _pad_get_range() to call chain/getrange
8867 Add locks around IS_FLUSHING when reading.
8868 Take STREAM lock in chain(), get_range() functions so plugins
8869 don't need to take it anymore.
8873 2005-05-25 Wim Taymans <wim@fluendo.com>
8875 * tools/gst-launch.c: (event_loop):
8876 Unref message after using its contents instead of
8879 2005-05-24 Wim Taymans <wim@fluendo.com>
8881 * docs/design/draft-ghostpads.txt:
8882 * docs/design/draft-push-pull.txt:
8883 * docs/design/draft-query.txt:
8884 * docs/design/part-overview.txt:
8885 Docs updates, added general overview doc.
8887 2005-05-21 David Schleef <ds@schleef.org>
8889 * docs/gst/tmpl/old/GstBin.sgml:
8890 * docs/gst/tmpl/old/GstBuffer.sgml:
8891 * docs/gst/tmpl/old/GstCaps.sgml:
8892 * docs/gst/tmpl/old/GstClock.sgml:
8893 * docs/gst/tmpl/old/GstCompat.sgml:
8894 * docs/gst/tmpl/old/GstData.sgml:
8895 * docs/gst/tmpl/old/GstElement.sgml:
8896 * docs/gst/tmpl/old/GstEvent.sgml:
8897 * docs/gst/tmpl/old/GstIndex.sgml:
8898 * docs/gst/tmpl/old/GstStructure.sgml:
8899 * docs/gst/tmpl/old/GstTag.sgml:
8900 * docs/gst/tmpl/old/cothreads.sgml:
8901 * docs/gst/tmpl/old/cothreads_compat.sgml:
8902 * docs/gst/tmpl/old/gettext.sgml:
8903 * docs/gst/tmpl/old/gobject2gtk.sgml:
8904 * docs/gst/tmpl/old/grammar.tab.sgml:
8905 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8906 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8907 * docs/gst/tmpl/old/gst_private.sgml:
8908 * docs/gst/tmpl/old/gstaggregator.sgml:
8909 * docs/gst/tmpl/old/gstarch.sgml:
8910 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8911 * docs/gst/tmpl/old/gstbufferstore.sgml:
8912 * docs/gst/tmpl/old/gstdata_private.sgml:
8913 * docs/gst/tmpl/old/gstdisksink.sgml:
8914 * docs/gst/tmpl/old/gstdisksrc.sgml:
8915 * docs/gst/tmpl/old/gstelementfactory.sgml:
8916 * docs/gst/tmpl/old/gstextratypes.sgml:
8917 * docs/gst/tmpl/old/gstfakesink.sgml:
8918 * docs/gst/tmpl/old/gstfakesrc.sgml:
8919 * docs/gst/tmpl/old/gstfdsink.sgml:
8920 * docs/gst/tmpl/old/gstfdsrc.sgml:
8921 * docs/gst/tmpl/old/gstfilesink.sgml:
8922 * docs/gst/tmpl/old/gstfilesrc.sgml:
8923 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8924 * docs/gst/tmpl/old/gstidentity.sgml:
8925 * docs/gst/tmpl/old/gstindexfactory.sgml:
8926 * docs/gst/tmpl/old/gstmarshal.sgml:
8927 * docs/gst/tmpl/old/gstmd5sink.sgml:
8928 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8929 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8930 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8931 * docs/gst/tmpl/old/gstpipefilter.sgml:
8932 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8933 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8934 * docs/gst/tmpl/old/gstshaper.sgml:
8935 * docs/gst/tmpl/old/gstspider.sgml:
8936 * docs/gst/tmpl/old/gstspideridentity.sgml:
8937 * docs/gst/tmpl/old/gststatistics.sgml:
8938 * docs/gst/tmpl/old/gsttee.sgml:
8939 * docs/gst/tmpl/old/gsttimecache.sgml:
8940 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8941 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8942 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8943 * docs/gst/tmpl/old/types.sgml:
8944 I didn't intend to add these or check them in.
8946 2005-05-19 David Schleef <ds@schleef.org>
8948 * configure.ac: Use -no-common everywhere. In a sane world, it
8949 would be the default in libtool, because without it, you can't
8950 build DLLs on Windows.
8951 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8952 * docs/gst/gstreamer-sections.txt:
8953 * docs/gst/tmpl/gstcpu.sgml:
8954 * docs/gst/tmpl/gstdata.sgml:
8955 * docs/gst/tmpl/gstthread.sgml:
8957 2005-05-19 David Schleef <ds@schleef.org>
8959 * gst/gstminiobject.c: (gst_value_set_mini_object),
8960 (gst_value_take_mini_object), (gst_value_get_mini_object):
8961 * gst/gstminiobject.h: Add GValue set/get functions.
8963 2005-05-19 Wim Taymans <wim@fluendo.com>
8965 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
8966 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
8967 (gst_subbuffer_init), (gst_buffer_is_span_fast):
8969 * gst/gstbus.c: (gst_bus_post):
8970 * gst/gstelement.c: (gst_element_get_random_pad):
8971 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
8972 Make subbufer unref the parent in finalize.
8973 some more debugging info.
8976 2005-05-19 Wim Taymans <wim@fluendo.com>
8978 * gst/base/gstbasesink.c: (gst_basesink_class_init),
8979 (gst_basesink_init), (gst_basesink_finalize),
8980 (gst_basesink_activate), (gst_basesink_change_state):
8981 Don't free preroll queue too early.
8983 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8987 Hi, I'm outdated. Please shoot me.
8989 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8991 * gst/gstpipeline.c: (gst_pipeline_send_event):
8992 Do not access variables after they have been deleted.
8994 2005-05-19 Wim Taymans <wim@fluendo.com>
8996 * tools/gst-inspect.c: (print_plugin_features):
8997 A plugin feature does unfortunatly not use the
9000 2005-05-18 Wim Taymans <wim@fluendo.com>
9002 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9003 Port _span() functions to new subbuffers.
9005 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9007 * gst/gstbin.c: (gst_bin_add_func):
9008 Fix clock settery in bins when adding kids after the clock has
9011 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9013 * gst/elements/gstidentity.c: (gst_identity_class_init):
9014 Workaround until signals support GstMiniObject.
9016 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9019 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9021 2005-05-18 Wim Taymans <wim@fluendo.com>
9023 * gst/base/Makefile.am:
9024 * gst/base/gstadapter.c: (gst_adapter_base_init),
9025 (gst_adapter_class_init), (gst_adapter_init),
9026 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9027 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9028 (gst_adapter_flush), (gst_adapter_available),
9029 (gst_adapter_available_fast):
9030 * gst/base/gstadapter.h:
9031 Ported and added adapter to the base classes.
9033 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9037 Make sure the class is reffed/unreffed once before threads can be
9038 used. Fixes #304551.
9040 2005-05-17 Wim Taymans <wim@fluendo.com>
9042 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9043 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9044 * gst/gstminiobject.c: (gst_mini_object_get_type),
9045 (gst_mini_object_free):
9046 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9047 (gst_pad_push), (gst_pad_push_event):
9048 * gst/gstqueue.c: (gst_queue_change_state):
9049 Don't queue buffers in basesink when we are flushing.
9050 Unref buffer when flushing in basesink.
9051 Flush queue when going to READY
9052 Unref buffer when _push() returns an error.
9053 Don't free MiniObject instance when refcount is incremented
9054 in _finalize() so that we can recover objects.
9056 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9058 * docs/manual/advanced-schedulers.xml:
9059 * docs/manual/appendix-checklist.xml:
9060 * docs/pwg/advanced-clock.xml:
9061 * docs/pwg/advanced-interfaces.xml:
9062 * docs/pwg/advanced-request.xml:
9063 * docs/pwg/advanced-types.xml:
9064 * docs/pwg/intro-preface.xml:
9065 * examples/plugins/example.c: (gst_example_get_type),
9066 (gst_example_class_init), (gst_example_chain),
9067 (gst_example_set_property), (gst_example_get_property),
9068 (gst_example_change_state), (plugin_init):
9069 * examples/plugins/example.h:
9072 2005-05-17 Wim Taymans <wim@fluendo.com>
9074 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9075 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9076 * gst/gstqueue.c: (gst_queue_change_state):
9077 Clear queue when going to READY.
9078 Remove IN_SETCAPS flag too.
9080 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9082 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9083 Remove implicit cast from gboolean to GstElementStateReturn;
9084 make sure we still return failure in paused => ready case if
9085 the parent class fails to change state and our own stop
9088 2005-05-17 Wim Taymans <wim@fluendo.com>
9090 * tools/gst-launch.c: (event_loop):
9091 Message was unreffed too soon.
9093 2005-05-16 Andy Wingo <wingo@pobox.com>
9095 * gst/gstbin.c (sink_iterator_filter): Err... um...
9097 * check/gst/gstbin.c (test_ghost_pads): New test for the
9098 ghosting-if-elements-not-in-same-bin behavior.
9100 2005-05-16 David Schleef <ds@schleef.org>
9102 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9103 accessing refcount directly.
9105 2005-05-15 David Schleef <ds@schleef.org>
9107 * check/Makefile.am: remove GstData checks
9108 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9109 * gst/Makefile.am: add miniobject, remove data
9110 * gst/gst.h: add miniobject, remove data
9111 * gst/gstdata.c: remove
9112 * gst/gstdata.h: remove
9113 * gst/gstdata_private.h: remove
9114 * gst/gsttypes.h: remove GstEvent and GstMessage
9115 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9116 * gst/gstmarshal.list: change BOXED -> OBJECT
9118 Implement GstMiniObject.
9119 * gst/gstminiobject.c:
9120 * gst/gstminiobject.h:
9122 Modify to be subclasses of GstMiniObject.
9123 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9124 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9125 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9126 (gst_subbuffer_get_type), (gst_subbuffer_init),
9127 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9130 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9131 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9132 (_gst_event_copy), (gst_event_new):
9134 * gst/gstmessage.c: (_gst_message_initialize),
9135 (gst_message_get_type), (gst_message_class_init),
9136 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9137 (gst_message_new), (gst_message_new_error),
9138 (gst_message_new_warning), (gst_message_new_tag),
9139 (gst_message_new_state_changed), (gst_message_new_application):
9141 * gst/gstprobe.c: (gst_probe_perform),
9142 (gst_probe_dispatcher_dispatch):
9144 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9145 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9146 (_gst_query_copy), (gst_query_new):
9148 Update elements for GstData -> GstMiniObject changes
9150 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9151 (gst_queue_chain), (gst_queue_loop):
9152 * gst/elements/gstbufferstore.c:
9153 (gst_buffer_store_add_buffer_func),
9154 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9155 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9156 (gst_fakesink_render):
9157 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9158 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9159 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9160 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9161 (gst_filesrc_create_read):
9162 * gst/elements/gstidentity.c: (gst_identity_class_init):
9163 * gst/elements/gsttypefindelement.c:
9164 (gst_type_find_element_src_event), (free_entry_buffers),
9165 (gst_type_find_element_handle_event):
9166 * libs/gst/dataprotocol/dataprotocol.c:
9167 (gst_dp_header_from_buffer):
9168 * libs/gst/dataprotocol/dataprotocol.h:
9169 * libs/gst/dataprotocol/dp-private.h:
9171 2005-05-15 David Schleef <ds@schleef.org>
9173 * gst/elements/gstelements.c: Don't include headers that were
9176 2005-05-15 David Schleef <ds@schleef.org>
9178 * gst/elements/Makefile.am: Remove some elements that don't
9179 need to be in the core (or even exist at all).
9180 * gst/elements/gstaggregator.c:
9181 * gst/elements/gstaggregator.h:
9182 * gst/elements/gstmd5sink.c:
9183 * gst/elements/gstmd5sink.h:
9184 * gst/elements/gstmultifilesrc.c:
9185 * gst/elements/gstmultifilesrc.h:
9186 * gst/elements/gstpipefilter.c:
9187 * gst/elements/gstpipefilter.h:
9188 * gst/elements/gstshaper.c:
9189 * gst/elements/gstshaper.h:
9190 * gst/elements/gststatistics.c:
9191 * gst/elements/gststatistics.h:
9192 * po/POTFILES.in: Remove above files.
9194 2005-05-14 Andy Wingo <wingo@pobox.com>
9196 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9197 so as to get the refs right.
9198 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9199 unreffing objects that don't pass the filter.
9201 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9202 gst_element_set_bus.
9203 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9204 normal cases, this will destroy the bus.
9206 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9209 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9212 2005-05-13 Andy Wingo <wingo@pobox.com>
9214 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9215 gst_pad_link, call pad_link_maybe_ghosting,
9216 (pad_link_maybe_ghosting): Links pads, making sure that the
9217 elements being linked are in the same bin.
9218 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9219 Helpers for pad_link_maybe_ghosting.
9221 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9224 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9226 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9228 * docs/design/part-element-source.txt:
9231 2005-05-12 Wim Taymans <wim@fluendo.com>
9233 * gst/base/gstbasesink.c: (gst_basesink_init),
9234 (gst_basesink_activate):
9235 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9236 (gst_basesrc_is_seekable):
9237 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9238 (bin_element_is_sink), (gst_bin_change_state):
9239 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9241 Identify sinks by their flag to avoid overly complicated
9243 Do state changes even for elements not reachable from the
9245 BaseSink is a sink now :)
9246 Some more debugging info in the basesrc.
9249 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9251 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9252 Implement _query on a bin, similar to _send_event.
9254 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9256 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9257 Discont event offset format should be GST_FORMAT_BYTES,
9258 not GST_FORMAT_TIME.
9260 2005-05-12 Wim Taymans <wim@fluendo.com>
9262 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9263 Same fix as Ronald's but without the signal.
9265 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9267 * gst/gstutils.c: (gst_element_query_position):
9268 No, an element is not a pad.
9270 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9272 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9273 (gst_bin_get_state):
9274 If a child is removed from a bin while we remove the child from
9275 the bin and while we're retrieving its state, signal this to the
9276 get_state function so we abort the wait (instead of waiting for
9277 a timeout) and can immediately re-iterate over all other elements.
9279 2005-05-12 Wim Taymans <wim@fluendo.com>
9281 * gst/base/Makefile.am:
9282 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9283 (gst_basesrc_start):
9284 * gst/base/gstbasesrc.h:
9285 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9286 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9287 (gst_pushsrc_init), (gst_pushsrc_create):
9288 * gst/base/gstpushsrc.h:
9289 Added is_seekable to BaseSrc
9290 Added simple PushSrc.
9292 2005-05-11 Wim Taymans <wim@fluendo.com>
9294 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9295 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9296 (gst_element_link_pads), (gst_element_query_position),
9297 (gst_element_query_convert), (intersect_caps_func),
9298 (gst_pad_query_position), (gst_pad_query_convert):
9299 Fix refcounting in utils function.
9300 No point in trying to activate a pad when it's added, it could
9301 be added from the state change function and then we deadlock, the
9302 element has to decide what to do.
9304 2005-05-10 Andy Wingo <wingo@pobox.com>
9306 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9307 *all* the arguments.
9309 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9310 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9311 lock (according to the docs -- if this is wrong change the docs).
9313 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9314 flush messages in the NULL state.
9316 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9317 message immediately and return.
9318 (gst_bus_set_flushing): New function. If a bus is flushing, it
9319 flushes out any queued messages and immediately unrefs new
9320 messages. This is so when an element goes to NULL, all of the
9321 unhandled messages coming from it can be freed, and their
9322 references to the element dropped. In other words: message source
9323 ref considered harmful :P
9325 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9326 we're finished with it.
9328 * gst/gstmessage.c (gst_message_new_state_changed):
9330 2005-05-10 Wim Taymans <wim@fluendo.com>
9332 * gst/gstvalue.c: (gst_value_compare_flags),
9333 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9334 (_gst_value_initialize):
9335 Added flags serialize/deserialize/compare code.
9337 2005-05-09 Andy Wingo <wingo@pobox.com>
9339 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9340 Intersect the peer's caps with our caps.
9342 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9344 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9345 * gst/elements/gsttypefindelement.c: (find_peek):
9346 Handle negative offsets better. Fixes decodebin.
9348 2005-05-09 Wim Taymans <wim@fluendo.com>
9350 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9351 (gst_base_transform_event):
9352 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9353 Implement accept_caps.
9354 Fix silly lock/unlock mismatch in base class.
9356 2005-05-09 Wim Taymans <wim@fluendo.com>
9358 * docs/design/draft-push-pull.txt:
9359 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9360 * gst/elements/gstfilesink.c: (gst_filesink_init),
9361 (gst_filesink_query):
9362 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9363 (gst_type_find_handle_src_query), (find_element_get_length):
9364 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9368 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9369 (gst_real_pad_get_caps_unlocked),
9370 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9371 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9372 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9373 (gst_real_pad_dispose), (gst_real_pad_finalize),
9374 (gst_pad_load_and_link), (gst_pad_save_thyself),
9375 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9376 (gst_pad_check_pull_range), (gst_pad_pull_range),
9377 (gst_pad_template_get_type), (gst_pad_template_class_init),
9378 (gst_pad_template_init), (gst_pad_template_dispose),
9379 (name_is_valid), (gst_static_pad_template_get),
9380 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9381 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9382 (gst_pad_get_element_private), (gst_pad_start_task),
9383 (gst_pad_pause_task), (gst_pad_stop_task),
9384 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9385 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9386 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9387 (gst_ghost_pad_new):
9389 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9390 (gst_query_new_position), (gst_query_set_position),
9391 (gst_query_parse_position), (gst_query_new_convert),
9392 (gst_query_set_convert), (gst_query_parse_convert):
9394 * gst/gstqueryutils.c:
9395 * gst/gstqueryutils.h:
9396 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9397 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9398 (gst_queue_handle_src_query):
9399 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9400 (gst_element_query_position), (gst_element_query_convert),
9401 (intersect_caps_func), (gst_pad_query_position),
9402 (gst_pad_query_convert):
9404 * tools/gst-inspect.c: (print_pad_info):
9405 * tools/gst-xmlinspect.c: (print_element_info):
9406 Remove old query functions. Ported old code.
9407 Added position/convert helper functions to gstutils.
9408 Reordered gstpad.c code, grouping relevant things.
9409 Remove gst_message_new(), always need to speficy a specific
9413 2005-05-09 Andy Wingo <wingo@pobox.com>
9415 * gst/gstiterator.h: Add some includes.
9417 * gst/gstqueryutils.h: Include more headers.
9420 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9421 some uses of gst_pad_query.
9423 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9424 NULL out parameters.
9425 (gst_query_new_position): New proc, allocates a new position
9428 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9429 gstqueryutils.c to the build.
9431 * gst/gststructure.c (gst_structure_set_valist): Implement with
9432 the generic G_VALUE_COLLECT.
9434 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9436 * gst/Makefile.am: (gst_headers):
9437 Added gstqueryutils.h to the list of headers to install, that was
9438 a 'nachty' move wingo :)
9440 2005-05-06 Andy Wingo <wingo@pobox.com>
9443 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9444 GstData, init a memchunk.
9445 (standard_definitions): Add a few query types, deprecate a few.
9446 (gst_query_get_type): New proc.
9447 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9449 (gst_query_new_application, gst_query_get_structure): New public
9452 * docs/design/draft-query.txt: Removed LINKS from the query types,
9453 because all the rest can be dispatched to other pads -- seemed
9454 ugly to have a query that couldn't be dispatched. internal_links
9455 is fine as a pad method.
9457 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9458 in gstpad.c, but maintain binary compatibility for the moment.
9459 Will fix before 0.9 is out.
9461 * gst/gstqueryutils.c:
9462 * gst/gstqueryutils.h: New files, implement 3 methods for each
9463 query type: parse_query, parse_response, and set. Probably need an
9466 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9468 * gst/elements/gstfilesink.c (gst_filesink_query2):
9469 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9470 query_types, and formats methods.
9472 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9473 (gst_pad_set_query2_function): New functions.
9474 (gst_real_pad_init): Set query2_default as the default query2
9475 function. Basically just dispatches to internally linked pads.
9479 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9480 without using the atomic operations. Only one thread can possibly
9481 be accessing the data at this point. Changed so as to avoid
9482 gst_atomic operations.
9484 2005-05-06 Wim Taymans <wim@fluendo.com>
9486 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9487 Also set caps if we use the fallback buffer alloc.
9489 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9491 * docs/gst/Makefile.am:
9492 * docs/gst/gstreamer-docs.sgml:
9493 * docs/gst/gstreamer-sections.txt:
9494 * docs/gst/tmpl/gstatomic.sgml:
9495 * docs/gst/tmpl/gstmemchunk.sgml:
9496 * testsuite/elements/struct_i386.h:
9497 * win32/GStreamer.vcproj:
9499 Purge GstAtomic stuff from docs and win32 makefiles as well
9501 2005-05-06 Wim Taymans <wim@fluendo.com>
9503 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9504 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9505 * gst/gstpad.c: (gst_pad_peer_get_caps):
9506 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9507 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9508 (gst_queue_src_activate), (gst_queue_change_state):
9510 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9511 (intersect_caps_func):
9512 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9513 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9514 Some fixes for the peer_get_caps() change.
9516 2005-05-06 Wim Taymans <wim@fluendo.com>
9518 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9519 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9520 (gst_basesink_activate):
9521 Actually do something with error codes returned from the push
9524 2005-05-06 Wim Taymans <wim@fluendo.com>
9526 * docs/design/part-element-sink.txt:
9527 * docs/design/part-element-source.txt:
9528 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9529 (gst_basesink_event), (gst_basesink_activate):
9530 * gst/base/gstbasesink.h:
9531 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9532 (gst_basesrc_activate):
9533 * gst/base/gstbasesrc.h:
9534 * gst/gstelement.c: (gst_element_pads_activate):
9535 Some more documentation.
9536 Fixed scheduling decision in _pads_activate().
9538 2005-05-05 Andy Wingo <wingo@pobox.com>
9540 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9543 2005-05-05 Wim Taymans <wim@fluendo.com>
9545 * gst/base/Makefile.am:
9546 * gst/base/gstbasesink.h:
9547 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9548 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9549 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9550 (gst_collectpads_class_init), (gst_collectpads_init),
9551 (gst_collectpads_finalize), (gst_collectpads_new),
9552 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9553 (find_pad), (gst_collectpads_remove_pad),
9554 (gst_collectpads_is_active), (gst_collectpads_collect),
9555 (gst_collectpads_collect_range), (gst_collectpads_start),
9556 (gst_collectpads_stop), (gst_collectpads_peek),
9557 (gst_collectpads_pop), (gst_collectpads_available),
9558 (gst_collectpads_read), (gst_collectpads_flush),
9559 (gst_collectpads_chain):
9560 * gst/base/gstcollectpads.h:
9561 * gst/elements/Makefile.am:
9562 * gst/elements/gstelements.c:
9563 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9564 (gst_fakesink_get_times), (gst_fakesink_event),
9565 (gst_fakesink_preroll), (gst_fakesink_render):
9566 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9567 (gst_filesink_init), (gst_filesink_set_location),
9568 (gst_filesink_open_file), (gst_filesink_close_file),
9569 (gst_filesink_pad_query), (gst_filesink_event),
9570 (gst_filesink_render), (gst_filesink_change_state):
9571 * gst/elements/gstfilesink.h:
9572 Added object to help in making collect pad based elements.
9574 Make event function in sink baseclass return gboolean.
9576 2005-05-05 Wim Taymans <wim@fluendo.com>
9578 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9579 (gst_bin_get_by_name):
9581 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9582 (gst_clock_finalize):
9583 * gst/gstdata.c: (gst_data_replace):
9585 * gst/gstelement.c: (gst_element_request_pad),
9586 (gst_element_pads_activate):
9587 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9589 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9590 (gst_pad_set_checkgetrange_function),
9591 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9592 (gst_pad_check_pull_range), (gst_pad_pull_range),
9593 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9594 (gst_pad_pause_task), (gst_pad_stop_task):
9595 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9596 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9597 Fix name lookup in GstBin.
9598 Added _data_replace() function and _buffer_replace()
9599 Use finalize method to clean up clock.
9600 Fix refcounting on request pads.
9601 Fix pad schedule mode error.
9602 Some more object refcounting debug info,
9605 2005-05-04 Andy Wingo <wingo@pobox.com>
9607 * check/Makefile.am:
9608 * docs/gst/tmpl/gstatomic.sgml:
9609 * docs/gst/tmpl/gstplugin.sgml:
9610 * gst/base/gstbasesink.c: (gst_basesink_activate):
9611 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9612 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9613 (gst_basesrc_query), (gst_basesrc_set_property),
9614 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9615 (gst_basesrc_activate):
9616 * gst/base/gstbasesrc.h:
9617 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9618 (gst_base_transform_src_activate):
9619 * gst/elements/gstelements.c:
9620 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9621 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9622 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9623 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9624 (gst_type_find_element_checkgetrange),
9625 (gst_type_find_element_activate):
9626 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9627 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9628 (gst_caps_load_thyself):
9629 * gst/gstelement.c: (gst_element_pads_activate),
9630 (gst_element_save_thyself), (gst_element_restore_thyself):
9631 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9632 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9634 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9635 (gst_xml_parse_file), (gst_xml_parse_memory),
9636 (gst_xml_get_element), (gst_xml_make_element):
9637 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9638 (_file_index_id_save_xml), (gst_file_index_commit):
9639 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9640 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9642 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9643 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9644 * tools/gst-complete.c: (main):
9645 * tools/gst-compprep.c: (main):
9646 * tools/gst-inspect.c: (print_element_properties_info):
9647 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9648 * tools/gst-xmlinspect.c: (print_element_properties):
9651 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9653 * gst/gstplugin.c: (gst_plugin_check_module),
9654 (gst_plugin_check_file), (gst_plugin_load_file):
9655 apply patch from #172526 to make register work on MacOSX
9657 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9659 * docs/gst/tmpl/gstconfig.sgml:
9660 * gst/gstconfig.h.in:
9661 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9662 * testsuite/debug/printf_extension.c: (main):
9663 Do not use GST_PTR_FORMAT on pointers to types with
9664 sizeof < sizeof(gpointer). Fixes test on 64-bit
9665 * testsuite/elements/property.h:
9666 use correct printf format
9668 2005-05-02 Wim Taymans <wim@fluendo.com>
9670 * docs/design/draft-push-pull.txt:
9671 * docs/design/draft-query.txt:
9672 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9673 (gst_basesrc_start):
9674 Added draft for new query API.
9675 Added draft for better selecting scheduling methods.
9676 Make basesrc ignore length if the subclass does not support
9679 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9682 possible fixes for automake-1.5 - _LIBADD is reserved
9684 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9686 * docs/faq/Makefile.am:
9687 * docs/manual/Makefile.am:
9689 * docs/pwg/Makefile.am:
9691 possible fixes for automake-1.5
9693 2005-04-28 Wim Taymans <wim@fluendo.com>
9695 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9696 (gst_basesink_pad_getcaps), (gst_basesink_init),
9697 (gst_basesink_do_sync):
9698 * gst/gstclock.c: (gst_clock_entry_new):
9699 * gst/gstevent.c: (gst_event_discont_get_value):
9700 * gst/gstpipeline.c: (pipeline_bus_handler),
9701 (gst_pipeline_change_state):
9702 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9703 Better debugging of clocking info.
9704 Allow NULL values when getting discont values.
9706 2005-04-27 Wim Taymans <wim@fluendo.com>
9708 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9709 * check/gst/gstpad.c: (gst_pad_suite):
9710 Increase timeout for checks.
9712 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9714 * check/Makefile.am:
9715 fix the broken rule for cleanup. Apparently this rule is
9716 only needed on FC2, so maybe this warrants further autotool
9719 2005-04-26 Wim Taymans <wim@fluendo.com>
9721 * gst/gsttrashstack.h:
9722 Ooohh. a nasty one! After having a failed pop() from the stack,
9723 it's possible that the stack is empty. In that case, don't
9724 follow the NULL pointer.
9726 2005-04-25 Wim Taymans <wim@fluendo.com>
9728 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9729 (gst_pad_set_checkgetrange_function),
9730 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9731 (gst_pad_check_pull_range), (gst_pad_pull_range),
9732 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9733 (gst_pad_pause_task), (gst_pad_stop_task):
9734 * gst/gstplugin.c: (gst_plugin_load):
9736 Remove gst_library_load as it does more harm than good with
9737 the new g_module flags.
9738 Revert bogus caps template check in pad linking, pad caps
9739 are important when linking not the template, which is more
9740 general than the current caps.
9742 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9744 * gst/autoplug/.cvsignore:
9745 * gst/autoplug/Makefile.am:
9746 * gst/autoplug/gstsearchfuncs.c:
9747 * gst/autoplug/gstsearchfuncs.h:
9748 * gst/autoplug/gstspider.c:
9749 * gst/autoplug/gstspider.h:
9750 * gst/autoplug/gstspideridentity.c:
9751 * gst/autoplug/gstspideridentity.h:
9752 * gst/autoplug/spidertest.c:
9755 2005-04-25 Wim Taymans <wim@fluendo.com>
9757 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9758 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9759 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9760 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9762 Added stubs for unimplemented functions.
9764 2005-04-24 David Schleef <ds@schleef.org>
9766 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9769 2005-04-24 David Schleef <ds@schleef.org>
9771 Convert everything from GstAtomicInt to g_atomic_int_*, and
9776 * gst/gstatomic_impl.h:
9784 * gst/gstdata_private.h:
9791 * gst/gststructure.c:
9792 * gst/gststructure.h:
9793 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9796 2005-04-24 David Schleef <ds@schleef.org>
9798 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9799 make the regressions tests work. Remove some code that is no
9801 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9802 Disable warning for pads without templates.
9804 2005-04-24 David Schleef <ds@schleef.org>
9806 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9807 functions that handle filtered links.
9808 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9810 * gst/gstutils.c: Fix/remove utility functions that handle
9813 * gst/gstvalue.c: Add serialization/deserialization of caps
9814 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9815 requires fixing so that the filter caps notation creates
9816 a capsfilter element and sets the filter_caps property. I
9817 think everyone probably wants to keep the shorthand notation.
9818 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9819 * docs/gst/tmpl/gstpad.sgml:
9821 * gst/elements/gstelements.c: Register capsfilter element.
9822 * gst/Makefile.am: fix spacing
9823 * docs/random/ds/0.9-suggested-changes: random
9825 2005-04-23 David Schleef <ds@schleef.org>
9827 * gst/elements/Makefile.am:
9828 * gst/elements/gstcapsfilter.c: New element that acts like an
9829 identity, but filters caps. Will eventually replace filtered
9830 caps in pad linking.
9831 * gst/gstutils.c: (gst_element_create_all_pads): New function
9832 to create all the ALWAYS pads that are registered with an
9833 element class. This functionality should eventually be
9834 merged in with GstElement initialization.
9836 * testsuite/trigger/README: part of trigger test code that should
9837 have been checked in a long time ago.
9839 2005-04-23 David Schleef <ds@schleef.org>
9841 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9842 needed with new versions of libtool (nobody will confirm this),
9843 and hard to carry around.
9844 * gst/autoplug/Makefile.am:
9845 * gst/base/Makefile.am:
9846 * gst/elements/Makefile.am:
9847 * gst/indexers/Makefile.am:
9848 * gst/schedulers/Makefile.am:
9849 * libs/gst/bytestream/Makefile.am:
9850 * libs/gst/control/Makefile.am:
9851 * libs/gst/dataprotocol/Makefile.am:
9852 * libs/gst/getbits/Makefile.am:
9854 2005-04-21 Wim Taymans <wim@fluendo.com>
9856 * docs/design/draft-push-pull.txt:
9857 * docs/design/part-MT-refcounting.txt:
9858 * docs/design/part-TODO.txt:
9859 * docs/design/part-caps.txt:
9860 * docs/design/part-events.txt:
9861 * docs/design/part-gstbus.txt:
9862 * docs/design/part-gstpipeline.txt:
9863 * docs/design/part-messages.txt:
9864 * docs/design/part-push-pull.txt:
9865 * docs/design/part-query.txt:
9868 2005-04-21 Wim Taymans <wim@fluendo.com>
9870 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9871 (gst_message_new), (gst_message_new_error),
9872 (gst_message_new_warning), (gst_message_new_tag),
9873 (gst_message_new_state_changed), (gst_message_new_application),
9874 (gst_message_get_structure):
9876 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9877 (gst_structure_copy_conditional):
9878 Use parent refcount in GstMessage to ensure GstStructure
9880 Cleaned up headers a bit.
9883 2005-04-20 Wim Taymans <wim@fluendo.com>
9885 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9886 (gst_basesink_pad_getcaps), (gst_basesink_init),
9887 (gst_basesink_chain_unlocked):
9888 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9889 (gst_type_find_helper):
9890 * gst/elements/gsttypefindelement.c:
9891 (gst_type_find_element_have_type), (gst_type_find_element_init),
9892 (stop_typefinding), (gst_type_find_element_handle_event),
9893 (find_suggest), (gst_type_find_element_chain),
9894 (gst_type_find_element_checkgetrange),
9895 (gst_type_find_element_getrange), (do_typefind),
9896 (gst_type_find_element_activate):
9897 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9898 (gst_buffer_default_free), (gst_buffer_default_copy),
9899 (gst_buffer_set_caps):
9900 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9902 * gst/gstmessage.c: (gst_message_new),
9903 (gst_message_new_state_changed):
9904 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9905 (gst_pad_set_checkgetrange_function),
9906 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9907 (gst_pad_set_caps), (gst_pad_check_pull_range),
9908 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9910 * gst/gsttypefind.c: (gst_type_find_register):
9911 Make gst_caps_replace() work like other _replace() functions.
9912 Use _caps_replace() where possible.
9913 Make sure _message_new() initialises its field.
9914 Add gst_static_pad_template_get_caps()
9917 2005-04-18 Andy Wingo <wingo@pobox.com>
9919 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9920 on the peer, not the pad. I think that was a typo. Pass an extra
9921 arg to see if random access is possible. Activate the pads as
9922 PULL_RANGE if possible.
9924 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9926 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9927 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9930 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9932 * docs/faq/using.xml:
9933 Add note on gstreamer-properties (#154996).
9935 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9937 * docs/random/bbb/optional-properties:
9938 Some analysis on optional properties.
9940 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9942 * docs/gst/tmpl/gstelementfactory.sgml:
9944 * gst/gstelementfactory.c: (gst_element_factory_init),
9945 (gst_element_factory_cleanup), (gst_element_register),
9946 (__gst_element_factory_add_static_pad_template),
9947 (gst_element_factory_get_static_pad_templates),
9948 (gst_element_factory_can_src_caps),
9949 (gst_element_factory_can_sink_caps):
9950 * gst/registries/Makefile.am:
9951 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9952 (gst_xml_registry_class_init), (gst_xml_registry_init),
9953 (gst_xml_registry_new), (gst_xml_registry_set_property),
9954 (gst_xml_registry_get_property), (get_time), (make_dir),
9955 (gst_xml_registry_get_perms_func),
9956 (plugin_times_older_than_recurse), (plugin_times_older_than),
9957 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
9958 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
9959 (add_to_char_array), (read_string), (read_uint), (read_enum),
9960 (load_pad_template), (load_feature), (load_plugin), (load_paths),
9961 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
9962 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
9963 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
9964 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
9965 (gst_xml_registry_rebuild):
9966 * gst/registries/gstlibxmlregistry.h:
9967 * tools/gst-compprep.c: (main):
9968 * tools/gst-inspect.c: (print_pad_templates_info):
9969 * tools/gst-xmlinspect.c: (print_element_info):
9970 Use libxml2 for registry parsing, use staticpadtemplates in
9971 elementfactories. Makes gst_init() +/- 10x faster.
9973 2005-04-12 Wim Taymans <wim@fluendo.com>
9975 * gst/base/Makefile.am:
9976 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9977 (gst_basesink_pad_getcaps), (gst_basesink_init),
9978 (gst_basesink_event), (gst_basesink_change_state):
9979 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
9980 (gst_basesrc_init), (gst_basesrc_query),
9981 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
9982 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
9983 (gst_basesrc_check_get_range), (gst_basesrc_loop),
9984 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
9985 (gst_basesrc_stop), (gst_basesrc_activate),
9986 (gst_basesrc_change_state):
9987 * gst/base/gsttypefindhelper.c: (helper_find_peek),
9988 (helper_find_suggest), (gst_type_find_helper):
9989 * gst/base/gsttypefindhelper.h:
9990 * gst/elements/Makefile.am:
9991 * gst/elements/gstelements.c:
9992 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9993 (gst_fakesink_get_times), (gst_fakesink_event),
9994 (gst_fakesink_preroll), (gst_fakesink_render):
9995 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9996 (gst_fakesrc_init), (gst_fakesrc_event_handler),
9997 (gst_fakesrc_get_property), (gst_fakesrc_create),
9998 (gst_fakesrc_start), (gst_fakesrc_stop):
9999 * gst/elements/gstfakesrc.h:
10000 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10001 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10002 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10003 (gst_filesrc_create_read), (gst_filesrc_create),
10004 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10005 (gst_filesrc_start):
10006 * gst/elements/gsttypefindelement.c:
10007 (gst_type_find_element_have_type), (gst_type_find_element_init),
10008 (start_typefinding), (stop_typefinding), (push_buffer_store),
10009 (gst_type_find_element_handle_event),
10010 (gst_type_find_element_chain),
10011 (gst_type_find_element_checkgetrange),
10012 (gst_type_find_element_getrange), (do_typefind),
10013 (gst_type_find_element_activate),
10014 (gst_type_find_element_change_state):
10015 * gst/elements/gsttypefindelement.h:
10016 * gst/gstpipeline.c: (pipeline_bus_handler):
10017 Added typefind helper.
10018 Small preroll fix in the base sink.
10019 Disable typefind code in basesrc.
10020 Crude port of typefindelement.
10024 2005-04-11 Wim Taymans <wim@fluendo.com>
10026 * check/gst/gstbus.c: (gstbus_suite):
10027 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10028 * check/gstcheck.h:
10029 Fix up the timeout so that the test does not fail.
10031 2005-04-06 Wim Taymans <wim@fluendo.com>
10034 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10035 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10036 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10037 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10038 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10039 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10040 (gst_basesrc_stop), (gst_basesrc_activate),
10041 (gst_basesrc_change_state), (basesrc_find_peek),
10042 (basesrc_find_suggest), (gst_basesrc_type_find):
10043 * gst/base/gstbasesrc.h:
10044 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10045 (gst_filesrc_class_init), (gst_filesrc_init),
10046 (gst_filesrc_finalize), (gst_filesrc_set_location),
10047 (gst_filesrc_set_property), (gst_filesrc_get_property),
10048 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10049 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10050 (gst_filesrc_create_read), (gst_filesrc_create),
10051 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10052 * gst/elements/gstfilesrc.h:
10053 * gst/gstelement.c: (gst_element_get_state_func),
10054 (gst_element_lost_state), (gst_element_pads_activate):
10055 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10056 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10057 (gst_pad_pull_range):
10059 More work on the generic source base class, implement seeking,
10061 Make filesrc extend the base source class.
10062 Added gst_pad_set_checkgetrange_function to GstPad.
10064 2005-04-06 Andy Wingo <wingo@pobox.com>
10066 * pkgconfig/gstreamer-base.pc.in:
10067 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10069 * pkgconfig/Makefile.am:
10070 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10072 2005-04-04 Wim Taymans <wim@fluendo.com>
10074 * gst/base/Makefile.am:
10076 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10077 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10078 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10079 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10080 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10081 (gst_basesrc_base_init), (gst_basesrc_class_init),
10082 (gst_basesrc_init), (gst_basesrc_get_formats),
10083 (gst_basesrc_get_query_types), (gst_basesrc_query),
10084 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10085 (gst_basesrc_set_property), (gst_basesrc_get_property),
10086 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10087 (gst_basesrc_loop), (gst_basesrc_activate),
10088 (gst_basesrc_change_state):
10089 * gst/base/gstbasesrc.h:
10090 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10091 (gst_fakesrc_class_init), (gst_fakesrc_init),
10092 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10093 (gst_fakesrc_get_property), (gst_fakesrc_create):
10094 * gst/elements/gstfakesrc.h:
10095 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10096 (gst_filesrc_open_file), (gst_filesrc_loop),
10097 (gst_filesrc_activate), (filesrc_find_peek),
10098 (gst_filesrc_type_find):
10099 Made base source class, make fakesrc extend it.
10100 Add comments to basesink class.
10101 Some filesrc cleanup.
10103 2005-03-31 David Schleef <ds@schleef.org>
10105 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10106 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10107 expected to link against libgstreamer.
10108 * gst/base/Makefile.am: link against libgstreamer
10109 * gst/elements/Makefile.am: same
10111 2005-03-31 Andy Wingo <wingo@pobox.com>
10113 * tests/instantiate/Makefile.am:
10114 * tests/instantiate/caps.c: Add test to test speed of caps copy
10117 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10118 GMemChunk to be fair.
10120 * gst/gsttrashstack.h: Remove warning about using the fallback
10121 trash stack implementation, it's still faster than malloc.
10123 2005-03-30 Andy Wingo <wingo@pobox.com>
10125 * tests/complexity.c: Add a copyright.
10127 2005-03-31 Wim Taymans <wim@fluendo.com>
10129 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10130 (gst_base_transform_class_init), (gst_base_transform_init),
10131 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10132 (gst_base_transform_get_property),
10133 (gst_base_transform_sink_activate),
10134 (gst_base_transform_src_activate),
10135 (gst_base_transform_change_state):
10136 * gst/base/gstbasetransform.h:
10137 * gst/elements/gstidentity.c: (gst_identity_class_init),
10138 (gst_identity_event), (gst_identity_check_perfect),
10139 (gst_identity_transform), (gst_identity_start),
10140 (gst_identity_stop):
10141 Added start/stop methods to transform base class so subclasses
10142 don't need to deal with state changes even.
10144 2005-03-31 Wim Taymans <wim@fluendo.com>
10146 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10147 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10149 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10150 (gst_pad_pull_range):
10151 Added rate to the discont event to prepare for variable speed
10152 and reverse playback.
10154 2005-03-29 David Schleef <ds@schleef.org>
10157 * testsuite/trigger/Makefile.am:
10158 * testsuite/trigger/trigger.c: A little example program to show
10159 how trigger-based elements can work.
10161 2005-03-29 Wim Taymans <wim@fluendo.com>
10163 * gst/base/Makefile.am:
10165 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10166 (gst_basesink_base_init), (gst_basesink_class_init),
10167 (gst_basesink_pad_getcaps), (gst_basesink_init),
10168 (gst_basesink_activate), (gst_basesink_change_state):
10169 * gst/base/gstbasesink.h:
10170 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10171 (gst_base_transform_base_init), (gst_base_transform_finalize),
10172 (gst_base_transform_class_init), (gst_base_transform_init),
10173 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10174 (gst_base_transform_event), (gst_base_transform_getrange),
10175 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10176 (gst_base_transform_set_property),
10177 (gst_base_transform_get_property),
10178 (gst_base_transform_sink_activate),
10179 (gst_base_transform_src_activate),
10180 (gst_base_transform_change_state):
10181 * gst/base/gstbasetransform.h:
10182 * gst/elements/gstidentity.c: (gst_identity_finalize),
10183 (gst_identity_class_init), (gst_identity_init),
10184 (gst_identity_event), (gst_identity_check_perfect),
10185 (gst_identity_transform), (gst_identity_set_property),
10186 (gst_identity_get_property), (gst_identity_change_state):
10187 * gst/elements/gstidentity.h:
10188 * gst/gstelement.c: (gst_element_get_state_func),
10189 (gst_element_lost_state), (gst_element_pads_activate):
10190 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10191 (gst_pad_check_pull_range), (gst_pad_pull_range):
10193 Simplify pad activation.
10194 Added function to check if pull_range can be performed.
10195 Error out when pulling inactive or flushing pads.
10196 Removed const from refcounted types as it does not make sense.
10197 Simplify pad templates in basesink
10198 Added base class for simple 1-to-1 transforms.
10199 Make identity subclass the base transform.
10201 2005-03-29 Andy Wingo <wingo@pobox.com>
10203 * docs/libs/gstreamer-libs-overrides.txt:
10204 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10205 really don't understand what's going on, but like whatever. I want
10208 * docs/gst/Makefile.am:
10209 * docs/libs/Makefile.am: Dist the overrides files.
10211 * check/Makefile.am (clean-local): Remove .libs directories.
10213 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10214 elements to EXTRA_DIST, so po/ files are happy.
10216 * po/POTFILES.in: Er, remove it here.
10218 * po/POTFILES: Remove gstspider.c.
10220 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10222 * docs/libs/gstreamer-libs-docs.sgml:
10223 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10226 * tests/complexity.c (main): Set the length of the preroll queue
10227 on the sinks to prevent a lockup.
10229 * libs/gst/dataprotocol/Makefile.am:
10230 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10231 the same as the one in check/gst-libs/gdp.c.
10233 * po/, docs/gst/: Commit automatic changes to docs and po files.
10235 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10236 the versioned libgstbase.
10238 * check/Makefile.am: Depend on an unversioned gst-register, seems
10239 to make autoconf happier.
10241 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10243 2005-03-28 Wim Taymans <wim@fluendo.com>
10246 * docs/design/part-gstelement.txt:
10247 * docs/design/part-negotiation.txt:
10248 * docs/design/part-preroll.txt:
10249 * docs/design/part-scheduling.txt:
10250 * docs/design/part-states.txt:
10252 * gst/base/Makefile.am:
10254 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10255 (gst_basesink_base_init), (gst_basesink_class_init),
10256 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10257 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10258 (gst_basesink_set_pad_functions),
10259 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10260 (gst_basesink_set_property), (gst_basesink_get_property),
10261 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10262 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10263 (gst_basesink_preroll_queue_push),
10264 (gst_basesink_preroll_queue_empty),
10265 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10266 (gst_basesink_event), (gst_basesink_get_times),
10267 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10268 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10269 (gst_basesink_loop), (gst_basesink_activate),
10270 (gst_basesink_change_state):
10271 * gst/base/gstbasesink.h:
10272 * gst/elements/Makefile.am:
10273 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10274 (gst_fakesink_class_init), (gst_fakesink_init),
10275 (gst_fakesink_set_property), (gst_fakesink_get_property),
10276 (gst_fakesink_get_times), (gst_fakesink_event),
10277 (gst_fakesink_preroll), (gst_fakesink_render),
10278 (gst_fakesink_change_state):
10279 * gst/elements/gstfakesink.h:
10280 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10281 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10282 * gst/gstelement.c: (gst_element_add_pad),
10283 (gst_element_get_state_func), (gst_element_abort_state),
10284 (gst_element_commit_state), (gst_element_lost_state),
10285 (gst_element_set_state), (gst_element_pads_activate):
10286 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10287 * gst/gstpipeline.c: (gst_pipeline_send_event),
10288 (gst_pipeline_change_state):
10289 Added state change code.
10290 Added/updated docs.
10291 Added sink base class, make fakesink extend the base class.
10292 Small cleanups in GstPipeline.
10294 2005-03-26 David Schleef <ds@schleef.org>
10296 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10297 is broken and should be implemented in a different library.
10298 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10299 * gst/gst.h: remove gstcpu.h
10300 * gst/gstcpu.c: remove
10301 * gst/gstcpu.h: remove
10302 * gst/Makefile.am.future: Remove this file. It's ancient.
10304 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10306 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10307 (gst_bin_send_event):
10308 Add default event/set_manager handlers. The set_manager handler
10309 takes care that the manager is distributed over kids that were
10310 already in the bin before the manager was set. The event handler
10311 is a utility virtual function that sends the event over all sinks,
10312 so that gst_element_send_event (bin, event); has the expected
10314 * gst/gstpad.c: (gst_pad_event_default):
10315 Re-install default event handling for discontinuities, so that
10316 seeking works without requiring hacks in applications or extra
10318 * gst/gstpipeline.c: (gst_pipeline_class_init),
10319 (gst_pipeline_send_event):
10320 Half hack, half utility: set a pipeline to PAUSED for seek events,
10321 since that is the only way we can guarantee a/v sync. Means that
10322 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10323 and it "just works".
10325 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10327 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10328 Lock/unlock mismatch.
10330 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10332 * docs/faq/gst-uninstalled:
10333 add gst-plugins-base
10334 * docs/gst/Makefile.am:
10335 don't error out until docs are fixed
10336 * docs/gst/gstreamer.types:
10339 2005-03-22 Wim Taymans <wim@fluendo.com>
10341 * check/Makefile.am:
10342 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10343 * gst/gststructure.c: (gst_structure_set_valist),
10344 (gst_structure_copy_conditional):
10345 Activated more tests.
10346 Added message test.
10347 Added G_TYPE_POINTER to GstStructure.
10350 2005-03-22 Wim Taymans <wim@fluendo.com>
10352 * docs/design/part-TODO.txt:
10353 * docs/design/part-events.txt:
10354 * docs/design/part-gstbin.txt:
10355 * docs/design/part-gstbus.txt:
10356 * docs/design/part-gstpipeline.txt:
10357 * docs/design/part-messages.txt:
10359 * gst/gstmessage.c:
10362 2005-03-21 Wim Taymans <wim@fluendo.com>
10364 * gst/gstbus.c: (gst_bus_post):
10365 Fix copy-and-paste error.
10367 2005-03-21 Wim Taymans <wim@fluendo.com>
10369 * check/Makefile.am:
10371 * gst/elements/Makefile.am:
10372 * gst/elements/gstelements.c:
10373 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10374 (gst_fakesink_event), (gst_fakesink_chain):
10375 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10376 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10377 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10378 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10379 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10380 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10381 (gst_fakesrc_loop), (gst_fakesrc_activate),
10382 (gst_fakesrc_change_state):
10383 * gst/elements/gstfakesrc.h:
10384 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10385 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10386 (gst_filesrc_open_file), (gst_filesrc_loop),
10387 (gst_filesrc_activate), (gst_filesrc_change_state),
10388 (filesrc_find_peek), (filesrc_find_suggest),
10389 (gst_filesrc_type_find):
10390 * gst/elements/gstidentity.c: (gst_identity_finalize),
10391 (gst_identity_class_init), (gst_identity_init),
10392 (gst_identity_proxy_getcaps), (identity_queue_push),
10393 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10394 (gst_identity_getrange), (gst_identity_chain),
10395 (gst_identity_sink_loop), (gst_identity_src_loop),
10396 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10397 (gst_identity_set_property), (gst_identity_get_property),
10398 (gst_identity_change_state):
10399 * gst/elements/gstidentity.h:
10400 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10401 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10402 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10403 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10404 (gst_tee_sink_activate):
10405 * gst/elements/gsttee.h:
10406 * gst/gst.c: (gst_register_core_elements), (init_post):
10408 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10409 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10410 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10411 (gst_bin_change_state):
10413 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10414 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10415 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10416 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10417 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10418 (bus_watch_callback), (bus_watch_destroy),
10419 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10420 (poll_timeout), (gst_bus_poll):
10424 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10425 (gst_element_post_message), (gst_element_message_full),
10426 (gst_element_get_state_func), (gst_element_get_state),
10427 (gst_element_abort_state), (gst_element_commit_state),
10428 (gst_element_lost_state), (gst_element_set_state),
10429 (gst_element_pads_activate), (gst_element_change_state),
10430 (gst_element_dispose), (gst_element_set_manager_func),
10431 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10432 (gst_element_set_manager), (gst_element_get_manager),
10433 (gst_element_set_bus), (gst_element_get_bus),
10434 (gst_element_set_scheduler), (gst_element_get_scheduler):
10435 * gst/gstelement.h:
10436 * gst/gstevent.c: (gst_event_new_segment_seek),
10437 (gst_event_new_flush):
10439 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10440 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10441 (gst_message_new_eos), (gst_message_new_error),
10442 (gst_message_new_warning), (gst_message_new_tag),
10443 (gst_message_new_state_changed), (gst_message_new_application),
10444 (gst_message_get_structure), (gst_message_parse_tag),
10445 (gst_message_parse_state_changed), (gst_message_parse_error),
10446 (gst_message_parse_warning):
10447 * gst/gstmessage.h:
10448 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10449 (gst_real_pad_set_property), (gst_pad_set_active),
10450 (gst_pad_is_active), (gst_pad_set_blocked_async),
10451 (gst_pad_set_blocked), (gst_pad_is_blocked),
10452 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10453 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10454 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10455 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10456 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10457 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10458 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10459 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10460 (gst_pad_set_caps), (gst_pad_configure_sink),
10461 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10462 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10463 (gst_real_pad_dispose), (gst_real_pad_finalize),
10464 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10465 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10466 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10468 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10469 (pipeline_bus_handler), (gst_pipeline_change_state),
10470 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10471 * gst/gstpipeline.h:
10473 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10474 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10475 (gst_queue_link_src), (gst_queue_bufferalloc),
10476 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10477 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10478 (gst_queue_loop), (gst_queue_handle_src_event),
10479 (gst_queue_handle_src_query), (gst_queue_src_activate),
10480 (gst_queue_change_state):
10482 * gst/gstscheduler.c: (gst_scheduler_init),
10483 (gst_scheduler_dispose), (gst_scheduler_create_task),
10484 (gst_scheduler_factory_create):
10485 * gst/gstscheduler.h:
10486 * gst/gststructure.c: (gst_structure_get_type),
10487 (gst_structure_copy_conditional):
10488 * gst/gststructure.h:
10489 * gst/gsttaginterface.h:
10490 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10491 (gst_task_init), (gst_task_dispose), (gst_task_create),
10492 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10498 * gst/schedulers/Makefile.am:
10499 * gst/schedulers/cothreads_compat.h:
10500 * gst/schedulers/entryscheduler.c:
10501 * gst/schedulers/faircothreads.c:
10502 * gst/schedulers/faircothreads.h:
10503 * gst/schedulers/fairscheduler.c:
10504 * gst/schedulers/gstbasicscheduler.c:
10505 * gst/schedulers/gstoptimalscheduler.c:
10506 * gst/schedulers/gthread-cothreads.h:
10507 * gst/schedulers/threadscheduler.c:
10508 (gst_thread_scheduler_task_get_type),
10509 (gst_thread_scheduler_task_class_init),
10510 (gst_thread_scheduler_task_init),
10511 (gst_thread_scheduler_task_start),
10512 (gst_thread_scheduler_task_stop),
10513 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10514 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10515 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10516 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10518 * libs/gst/Makefile.am:
10519 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10520 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10521 (gst_file_pad_parent_set):
10522 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10523 (gst_dp_event_from_packet):
10524 * tests/complexity.c: (main):
10525 * tests/mass_elements.c: (main):
10526 * testsuite/states/locked.c: (message_received), (main):
10527 * testsuite/states/parent.c: (main):
10528 * tools/gst-inspect.c: (print_element_flag_info),
10529 (print_implementation_info), (print_pad_info):
10530 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10532 * tools/gst-md5sum.c: (event_loop), (main):
10533 * tools/gst-typefind.c: (main):
10534 * tools/gst-xmlinspect.c: (print_element_info):
10536 Added GstBus for mainloop integration.
10537 Added GstMessage for sending notifications on the bus.
10538 Added GstTask as an abstraction for pipeline entry points.
10540 Removed Schedulers.
10541 Simplified GstQueue for multithreaded core.
10542 Made _link threadsafe, removed old capsnego.
10543 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10544 Added pad blocking functions.
10545 Reworked scheduling functions in GstPad to prepare for
10546 scheduling updates soon.
10547 Moved events out of data stream.
10548 Simplified GstEvent types.
10549 Added return values to push/pull.
10550 Removed clocking from GstElement.
10551 Added prototypes for state change function for next merge.
10552 Removed iterate from bins and state change management.
10553 Fixed some elements, disabled others for now.
10554 Fixed -inspect and -launch.
10555 Added check for GstBus.
10557 2005-03-10 Wim Taymans <wim@fluendo.com>
10559 * docs/design/part-MT-refcounting.txt:
10560 * docs/design/part-clocks.txt:
10561 * docs/design/part-gstelement.txt:
10562 * docs/design/part-gstobject.txt:
10563 * docs/design/part-standards.txt:
10564 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10565 (gst_bin_remove_func), (gst_bin_remove):
10569 * testsuite/clock/clock1.c: (main):
10570 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10572 * testsuite/dlopen/loadgst.c: (do_test):
10573 * testsuite/refcounting/bin.c: (add_remove_test1),
10574 (add_remove_test2), (main):
10575 * testsuite/refcounting/element.c: (main):
10576 * testsuite/refcounting/element_pad.c: (main):
10577 * testsuite/refcounting/pad.c: (main):
10578 * tools/gst-launch.c: (sigint_handler_sighandler):
10579 * tools/gst-typefind.c: (main):
10581 Added doc about clock.
10582 removed gst_bin_iterate_recurse_up(), marked methods
10584 Fix more testsuites.
10586 2005-03-09 Wim Taymans <wim@fluendo.com>
10588 * gst/gstpad.c: (gst_pad_get_direction),
10589 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10590 (gst_pad_collect_valist):
10591 * testsuite/bins/interface.c: (main):
10592 * testsuite/caps/audioscale.c: (test_caps):
10593 * testsuite/caps/caps.c: (test1), (test2), (test3):
10594 * testsuite/caps/deserialize.c: (main):
10595 * testsuite/caps/enumcaps.c: (main):
10596 * testsuite/caps/filtercaps.c: (main):
10597 * testsuite/caps/intersect2.c: (main):
10598 * testsuite/caps/random.c: (main):
10599 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10600 * testsuite/caps/sets.c: (check_caps):
10601 * testsuite/caps/simplify.c: (check_caps), (main):
10602 * testsuite/caps/subtract.c: (check_caps):
10603 Fix _pad_get_direction wrt ghostpads.
10604 Fix caps testsuite.
10606 2005-03-09 Wim Taymans <wim@fluendo.com>
10608 * check/Makefile.am:
10609 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10610 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10611 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10612 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10613 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10614 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10615 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10616 (bin_element_is_sink), (gst_bin_iterate_sinks),
10617 (gst_bin_iterate_all_by_interface):
10619 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10620 (gst_element_change_state), (gst_element_dispose),
10621 (gst_element_finalize), (gst_element_set_loop_function):
10622 * gst/gstelement.h:
10623 * gst/gstiterator.c: (find_custom_fold_func):
10624 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10625 (gst_pad_collectv), (gst_pad_collect_valist),
10626 (gst_pad_template_new):
10627 * gst/gstpipeline.c: (gst_pipeline_class_init),
10628 (gst_pipeline_dispose), (gst_pipeline_set_property),
10629 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10630 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10631 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10633 * gst/schedulers/entryscheduler.c:
10634 * gst/schedulers/gstbasicscheduler.c:
10635 (gst_basic_scheduler_cothreaded_chain),
10636 (gst_basic_scheduler_chain_add_element):
10637 * testsuite/bins/interface.c: (main):
10639 Added GstSystemClock test.
10640 Implemented clock distribution code in GstBin.
10641 Implemented iterate sinks method for future use.
10642 Rearranged gstelement.h
10643 Fix GstIterator comparison bug.
10644 Moved some code to GstPipeline, mostly clocking related.
10646 2005-03-09 Wim Taymans <wim@fluendo.com>
10649 * gst/gst_private.h:
10650 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10651 (gst_bin_remove_func), (gst_bin_remove),
10652 (gst_bin_get_by_name_recurse_up):
10653 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10654 (gst_clock_id_compare_func), (gst_clock_id_wait),
10655 (gst_clock_id_wait_async), (gst_clock_init),
10656 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10657 * gst/gstelement.h:
10658 * gst/gstinfo.c: (_gst_debug_init):
10660 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10661 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10663 Bump version number, we're now 0.9.0
10664 Add future debugging category.
10665 Fix NULL _unref() in _get_by_name_recurse_up
10666 Rearrange gstpad.h.
10669 2005-03-08 Wim Taymans <wim@fluendo.com>
10671 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10672 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10673 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10674 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10675 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10676 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10677 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10678 * gst/elements/gstidentity.c: (gst_identity_class_init):
10679 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10680 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10681 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10682 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10683 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10685 * gst/gstelement.c: (gst_element_class_init),
10686 (gst_element_base_class_init), (gst_element_init),
10687 (gst_element_get_random_pad), (gst_element_wait_state_change),
10688 (gst_element_change_state), (gst_element_dispose),
10689 (gst_element_finalize), (gst_element_set_loop_function):
10690 * gst/gstelement.h:
10691 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10692 * gst/gstthread.c: (gst_thread_class_init),
10693 (gst_thread_release_children_locks), (gst_thread_change_state):
10694 * gst/schedulers/gstbasicscheduler.c:
10695 (gst_basic_scheduler_loopfunc_wrapper),
10696 (gst_basic_scheduler_chain_wrapper),
10697 (gst_basic_scheduler_src_wrapper),
10698 (gst_basic_scheduler_remove_element):
10699 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10700 Remove threadsafe properties. Fix elements because GObject
10701 complains when installing a property before declaring a
10702 set/get_property handler.
10703 Rearrange gstelement.h file, use STATE macros for state locks.
10704 Free mutexes in the finalize method instead of dispose.
10706 2005-03-08 Wim Taymans <wim@fluendo.com>
10708 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10709 * gst/gstthread.c: (gst_thread_release_children_locks):
10710 Added parentage check.
10711 Fix build og GstThread again.
10713 2005-03-08 Wim Taymans <wim@fluendo.com>
10715 * docs/design/part-MT-refcounting.txt:
10716 * docs/design/part-conventions.txt:
10717 * docs/design/part-gstobject.txt:
10718 * docs/design/part-relations.txt:
10719 * docs/design/part-standards.txt:
10720 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10721 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10722 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10723 (gst_bin_iterate_all_by_interface):
10726 * gst/gstelement.c: (gst_element_class_init),
10727 (gst_element_change_state), (gst_element_set_loop_function):
10728 * gst/gstelement.h:
10729 * gst/gstiterator.c:
10730 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10731 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10732 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10733 (gst_object_set_parent), (gst_object_unparent),
10734 (gst_object_check_uniqueness):
10736 Docs updates, clean up some headers.
10738 2005-03-07 Wim Taymans <wim@fluendo.com>
10740 * check/.cvsignore:
10741 * check/Makefile.am:
10742 * check/gst-libs/.cvsignore:
10743 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10744 * check/gst/.cvsignore:
10745 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10746 (START_TEST), (gstbus_suite), (main):
10747 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10748 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10749 (gst_data_suite), (main):
10750 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10751 (add_fold_func), (gstiterator_suite), (main):
10752 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10753 (thread_name_object), (thread_name_object_default),
10754 (gst_object_name_compare), (gst_object_suite), (main):
10755 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10756 (gst_pad_suite), (main):
10757 * check/gstcheck.c: (gst_check_log_message_func),
10758 (gst_check_log_critical_func), (gst_check_init):
10759 * check/gstcheck.h:
10760 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10761 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10764 2005-03-07 Wim Taymans <wim@fluendo.com>
10766 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10767 (gst_list_iterator_next), (gst_list_iterator_resync),
10768 (gst_list_iterator_free), (gst_iterator_new_list),
10769 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10770 (gst_iterator_free), (gst_iterator_push), (filter_next),
10771 (filter_resync), (filter_uninit), (filter_free),
10772 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10773 (gst_iterator_foreach), (find_custom_fold_func),
10774 (gst_iterator_find_custom):
10775 * gst/gstiterator.h:
10776 Added missing files.
10778 2005-03-07 Wim Taymans <wim@fluendo.com>
10782 * docs/design/part-MT-refcounting.txt:
10783 * docs/design/part-conventions.txt:
10784 * docs/design/part-gstobject.txt:
10785 * docs/design/part-relations.txt:
10786 * examples/mixer/mixer.c: (main):
10787 * examples/thread/thread.c: (eos), (main):
10789 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10790 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10791 (gst_spider_plug_from_srcpad):
10792 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10793 (gst_spider_identity_change_state),
10794 (gst_spider_identity_sink_loop_type_finding):
10795 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10796 * gst/elements/gstidentity.c: (gst_identity_init):
10797 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10798 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10799 * gst/elements/gsttypefindelement.c: (free_entry):
10802 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10803 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10804 (gst_bin_set_index), (gst_bin_set_element_sched),
10805 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10806 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10807 (gst_bin_iterate_elements), (iterate_child_recurse),
10808 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10809 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10810 (compare_interface), (gst_bin_get_by_interface),
10811 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10813 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10814 (gst_buffer_default_free), (gst_buffer_default_copy),
10815 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10816 (gst_buffer_create_sub):
10818 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10819 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10820 (gst_caps_unref), (gst_static_caps_get),
10821 (gst_caps_remove_and_get_structure), (gst_caps_append),
10822 (gst_caps_append_structure), (gst_caps_remove_structure),
10823 (gst_caps_copy_nth), (gst_caps_set_simple),
10824 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10825 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10826 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10827 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10828 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10829 (gst_caps_structure_figure_out_union),
10830 (gst_caps_switch_structures), (gst_caps_do_simplify),
10831 (gst_caps_replace), (gst_caps_from_string),
10832 (gst_caps_copy_conditional):
10834 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10835 (_gst_clock_id_free), (gst_clock_id_unref),
10836 (gst_clock_id_compare_func), (gst_clock_id_wait),
10837 (gst_clock_id_wait_async), (gst_clock_class_init),
10838 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10839 (gst_clock_get_time), (gst_clock_set_time_adjust),
10840 (gst_clock_set_property), (gst_clock_get_property):
10843 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10844 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10846 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10847 (gst_element_requires_clock), (gst_element_provides_clock),
10848 (gst_element_set_clock), (gst_element_clock_wait),
10849 (gst_element_wait), (gst_element_set_time_delay),
10850 (gst_element_is_indexable), (gst_element_add_pad),
10851 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10852 (pad_compare_name), (gst_element_get_static_pad),
10853 (gst_element_request_pad), (gst_element_get_request_pad),
10854 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10855 (gst_element_class_get_pad_template_list),
10856 (gst_element_class_get_pad_template), (gst_element_error_func),
10857 (gst_element_get_random_pad), (gst_element_get_event_masks),
10858 (gst_element_send_event), (gst_element_seek),
10859 (gst_element_get_query_types), (gst_element_query),
10860 (gst_element_get_formats), (gst_element_convert),
10861 (gst_element_is_locked_state), (gst_element_set_locked_state),
10862 (gst_element_sync_state_with_parent), (gst_element_change_state),
10863 (gst_element_finalize), (gst_element_yield),
10864 (gst_element_interrupt), (gst_element_set_scheduler),
10865 (gst_element_get_scheduler), (gst_element_set_loop_function):
10866 * gst/gstelement.h:
10868 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10869 (gst_format_get_by_nick), (gst_format_get_details),
10870 (gst_format_iterate_definitions):
10872 * gst/gstindex.c: (gst_index_gtype_resolver):
10875 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10876 (gst_mem_chunk_free):
10877 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10878 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10879 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10880 (gst_object_dispatch_properties_changed),
10881 (gst_object_set_name_default), (gst_object_set_name),
10882 (gst_object_get_name), (gst_object_set_name_prefix),
10883 (gst_object_get_name_prefix), (gst_object_set_parent),
10884 (gst_object_get_parent), (gst_object_unparent),
10885 (gst_object_check_uniqueness), (gst_object_save_thyself),
10886 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10887 (gst_object_set_property), (gst_object_get_property),
10888 (gst_object_get_path_string):
10890 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10891 (gst_real_pad_init), (gst_real_pad_get_property),
10892 (gst_pad_custom_new), (gst_pad_get_direction),
10893 (gst_pad_set_active), (gst_pad_is_active),
10894 (gst_pad_set_event_function), (gst_pad_is_linked),
10895 (gst_pad_link_free), (gst_pad_link_intersect),
10896 (gst_pad_link_fixate), (gst_pad_set_caps),
10897 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10898 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10899 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10900 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10901 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10902 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10903 (gst_pad_realize), (gst_pad_get_allowed_caps),
10904 (gst_real_pad_dispose), (gst_real_pad_finalize),
10905 (gst_pad_collectv), (gst_pad_collect_valist),
10906 (gst_pad_template_dispose), (gst_pad_template_new),
10907 (gst_pad_get_internal_links):
10909 * gst/gstpipeline.c: (gst_pipeline_dispose),
10910 (gst_pipeline_change_state):
10911 * gst/gstpipeline.h:
10913 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10914 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10915 * gst/gstpluginfeature.h:
10916 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10917 * gst/gstquery.c: (_gst_query_type_initialize),
10918 (gst_query_type_register), (gst_query_type_get_by_nick),
10919 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10921 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10922 * gst/gstscheduler.c: (gst_scheduler_add_element),
10923 (gst_scheduler_factory_create):
10924 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10925 (gst_structure_free), (gst_structure_set_name),
10926 (gst_structure_id_set_value), (gst_structure_set_value),
10927 (gst_structure_set_valist), (gst_structure_remove_field),
10928 (gst_structure_remove_fields),
10929 (gst_structure_remove_fields_valist),
10930 (gst_structure_remove_all_fields), (gst_structure_foreach),
10931 (gst_structure_map_in_place),
10932 (gst_caps_structure_fixate_field_nearest_int),
10933 (gst_caps_structure_fixate_field_nearest_double):
10934 * gst/gststructure.h:
10935 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10936 (gst_system_clock_init), (gst_system_clock_dispose),
10937 (gst_system_clock_async_thread),
10938 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10939 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10940 * gst/gstsystemclock.h:
10941 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10942 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10943 * gst/gsttaginterface.c:
10944 * gst/gstthread.c: (gst_thread_dispose),
10945 (gst_thread_release_children_locks), (gst_thread_change_state),
10946 (gst_thread_main_loop):
10947 * gst/gsttrashstack.h:
10948 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10950 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10951 (gst_element_request_pad), (gst_element_get_pad_from_template),
10952 (gst_element_request_compatible_pad),
10953 (gst_element_get_compatible_pad_filtered),
10954 (gst_element_get_compatible_pad), (gst_element_state_get_name),
10955 (gst_element_link_pads_filtered), (gst_element_link_filtered),
10956 (gst_element_link_many), (gst_element_link),
10957 (gst_element_link_pads), (gst_element_unlink_pads),
10958 (gst_element_unlink_many), (gst_element_unlink),
10959 (gst_pad_can_link_filtered), (gst_pad_can_link),
10960 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
10961 (gst_object_default_error), (gst_bin_add_many),
10962 (gst_bin_remove_many), (gst_element_populate_std_props),
10963 (gst_element_class_install_std_props), (gst_buffer_merge),
10964 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
10965 (link_fold_func), (gst_pad_proxy_setcaps):
10967 * gst/gstvalue.c: (gst_value_deserialize_string):
10968 * gst/parse/grammar.y:
10969 * gst/schedulers/gstbasicscheduler.c:
10970 (gst_basic_scheduler_cothreaded_chain),
10971 (gst_basic_scheduler_chain_recursive_add),
10972 (gst_basic_scheduler_pad_link):
10973 * gst/schedulers/gstoptimalscheduler.c:
10974 (get_group_schedule_function),
10975 (gst_opt_scheduler_state_transition),
10976 (gst_opt_scheduler_add_element), (element_get_reachables_func):
10977 * libs/gst/bytestream/bytestream.c:
10978 * libs/gst/dataprotocol/dataprotocol.c:
10979 (gst_dp_header_from_buffer):
10982 * tests/threadstate/threadstate2.c: (eos):
10983 * tools/gst-compprep.c: (main):
10984 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
10985 (print_pad_info), (print_children_info):
10986 * tools/gst-launch.c: (idle_func), (main):
10987 * tools/gst-md5sum.c: (idle_func), (main):
10988 * tools/gst-xmlinspect.c: (print_element_info):
10989 First THREADED backport attempt, focusing on adding locks and
10990 making sure the API is threadsafe. Needs more work. More docs
10993 2005-02-24 Andy Wingo <wingo@pobox.com>
10995 * tests/bench-complexity.scm:
10996 * tests/complexity.gnuplot: New files, good for running complexity
10999 * tests/Makefile.am:
11000 * tests/complexity.c: New test, sets up N elements, at each level
11001 teeing into M streams per element. Eeeenteresting.
11003 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11004 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11005 running bench-mass_elements.scm.
11007 * tests/bench-mass_elements.scm: New script, runs mass_elements
11008 for various numbers of identities, outputting the results to a
11009 file. Requires guile 1.6. Just for testing.
11011 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11013 * gst/schedulers/fairscheduler.c:
11014 compile with debug disabled
11016 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11019 hunting season on 0.9 is now OPEN