1 2005-11-19 Andy Wingo <wingo@pobox.com>
3 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
5 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6 string should produce an error, given the lack of a way to
7 represent NULL strings. Fixes #165650.
10 * gst/gstvalue.c (gst_value_array_append_value)
11 (gst_value_array_prepend_value, gst_value_array_get_size)
12 (gst_value_array_get_value): New API, copied from
13 gst_value_list_*, only operates on arrays.
14 (gst_value_list_append_value, gst_value_list_prepend_value)
15 (gst_value_list_concat, gst_value_list_get_size)
16 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
19 init_list, because it works on both.
20 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
21 (gst_value_copy_list_or_array): Renamed from copy_list.
22 (gst_value_free_list_or_array): Renamed from free_list.
23 (gst_value_collect_list_or_array): Renamed from collect_list.
24 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
25 (gst_value_list_or_array_peek_pointer): Renamed from
27 (_gst_value_array_value_table, _gst_value_list_value_table):
28 Update value table functions.
29 (gst_value_compare_list_or_array): Renamed from compare_list.
31 * gsttaglist.h: Whoops, foreach function returns void. Also fix
35 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
36 GstTagList*. Fixes #143472.
38 * gst/gststructure.h: Clarify what the foreach/map functions can
39 or can't do to their arguments.
41 2005-11-18 Wim Taymans <wim@fluendo.com>
43 * gst/gstclock.c: (gst_clock_set_calibration),
44 (gst_clock_get_calibration):
46 Callibration can be set with internal time equal to current
49 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
55 2005-11-18 Andy Wingo <wingo@pobox.com>
58 * pkgconfig/gstreamer-net.pc.in:
59 * pkgconfig/gstreamer-net-uninstalled.pc.in:
60 * pkgconfig/Makefile.am: Add net pkgconfig files.
62 2005-11-18 Stefan Kost <ensonic@users.sf.net>
71 2005-11-18 Andy Wingo <wingo@pobox.com>
73 * gst/net/gstnetclientclock.c: Turn off debugging.
75 * check/net/gstnetclientclock.c (test_functioning): Assert that the
76 times connverge somewhat. Can't make a real test.
78 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
79 integer arithmetic. Return the minimum of the domain, which can be
80 set as "internal" for gst_clock_set_calibration.
81 (gst_net_client_clock_observe_times): Call _set_calibration.
82 (gst_net_client_clock_new): Call _set_calibration instead of
85 * check/net/gstnetclientclock.c (test_functioning): Use the right
89 * gst/gstclock.c (gst_clock_get_calibration)
90 (gst_clock_set_calibration): New functions, obsolete the ones I
91 added yesterday. Doh. Precision issues mean we have to extrapolate
92 from a point in the more recent past than 1970.
93 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
95 (gst_clock_adjust_unlocked): Use the right calibration data.
97 2005-11-18 Edward Hervey <edward@fluendo.com>
99 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
100 Also reset the ->current_* values in READY->PAUSED
102 2005-11-18 Andy Wingo <wingo@pobox.com>
104 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
105 Whoops, check the right fd. Also add some debugging.
106 (gst_net_client_clock_observe_times): Adjust for int64 offset.
107 (do_linear_regression): Add a crapload of debugging. Subtract off
108 the minimum values from the input series to discard unneeded bits.
109 Use only int arithmetic. There is still double arithmetic when
110 calculating the intercept that needs fixing. Return boolean to
111 indicate success; FALSE would mean the domain or range is too
112 great. Still needs fixes.
114 2005-11-18 Wim Taymans <wim@fluendo.com>
116 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
117 For the current position in stream time, we need to subtract
120 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
121 Release lock before calling the callback function of async
124 2005-11-18 Andy Wingo <wingo@pobox.com>
126 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
127 Port goes all the way to MAXUINT16.
129 * gst/net/gstnettimeprovider.c: Make the port range the same as
130 for the kernel: 0 assigns, otherwise ports are less than
133 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
136 * check/net/gstnetclientclock.c (test_functioning): Add the start
139 2005-11-18 Wim Taymans <wim@fluendo.com>
141 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
142 (gst_bin_remove_func), (bin_bus_handler):
144 Removing a clock provider from a bin, triggers a clock lost message
145 so that a new clock will be selected.
146 Adding a clock to a bin triggers a clock provider message.
147 Make sure we reselect a clock when we received a clock lost message.
148 Keep a reference to the element that provided the clock.
150 2005-11-18 Andy Wingo <wingo@pobox.com>
152 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
153 the clock initially so it produces values around the base time.
154 (gst_net_client_clock_class_init): Typo fix.
155 (gst_net_client_clock_thread): Add note on when the socket gets
158 2005-11-17 Wim Taymans <wim@fluendo.com>
160 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
161 Free remote and local time arrays.
163 2005-11-17 Wim Taymans <wim@fluendo.com>
165 * gst/net/gstnetclientclock.c: (do_linear_regression),
166 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
167 Fix compilation, uninitialized vars and a forgotten continue.
169 2005-11-17 Andy Wingo <wingo@pobox.com>
171 * check/Makefile.am (check_PROGRAMS):
172 * check/net/gstnetclientclock.c: Add a most minimal test for the
173 net client clock. More to come later.
176 * gst/net/Makefile.am: Add netclientclock.
178 * gst/net/gstnetclientclock.h:
179 * gst/net/gstnetclientclock.c: New files, implement an untested
180 GstClock that takes its time from a network time provider.
181 Implements the algorithm in network-clock.scm.
183 * tests/network-clock.scm (*window-size*): Rename from
185 * tests/network-clock.scm (network-time):
186 * tests/network-clock-utils.scm (q-push): Update callers.
188 2005-11-17 Wim Taymans <wim@fluendo.com>
190 * gst/gstbin.c: (gst_bin_provide_clock_func),
191 (gst_bin_sort_iterator_new):
192 And unref the child too..
194 2005-11-17 Wim Taymans <wim@fluendo.com>
196 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
197 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
198 Refactor the sort iterator so it can be used while holding the
200 Make clock selection select a clock closest to the source.
202 2005-11-17 Michael Smith <msmith@fluendo.com>
204 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
205 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
207 Anonymous structs are a gcc (and some other compilers) extension, so
208 don't use them. Since this is only for ABI-compatibility, and our
209 API/ABI freeze is over in a few days, this whole thing will only
210 last a few days, so don't bother trying to think up a meaningful
213 2005-11-17 Andy Wingo <wingo@pobox.com>
215 * gst/gstclock.h (GstClock): Add rate and offset properties,
216 preserving ABI stability. Add rate/offset accessors. Will file bug
217 for the freeze break.
219 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
220 and offset, trying to keep precision and avoiding
222 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
223 functions. Make gst_clock_set_time_adjust obsolete.
224 (gst_clock_set_time_adjust): Note that this function is obsolete.
227 * gst/base/gstbasetransform.h: Make the ABI-stability hack
228 greppable by using GST_PADDING-1+1.
230 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
232 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
234 * gst/gstmessage.c: (gst_message_parse_clock_lost):
235 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
237 * gst/gstpadtemplate.h:
238 * gst/gstpluginfeature.h:
239 Don't use c++ style comments in headers (#321638).
241 2005-11-16 Andy Wingo <wingo@pobox.com>
243 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
246 * check/net/gstnettimeprovider.c: Check to see that the time
247 provider actually provides times. Works, yo!
249 2005-11-16 Wim Taymans <wim@fluendo.com>
254 * check/elements/fakesrc.c: (GST_START_TEST):
255 Set element to NULL before disposing it.
257 2005-11-16 Andy Wingo <wingo@pobox.com>
259 * gst/net/Makefile.am:
261 * gst/net/gstnettimeprovider.c:
262 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
263 provider, include it from gstnet.h, and add it to the build.
265 * gst/net/gstnettimepacket.h:
266 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
267 sending and receiving.
269 2005-11-16 Wim Taymans <wim@fluendo.com>
272 Enable valgrind check.
274 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
275 (gst_fake_src_alloc_buffer):
278 2005-11-16 Wim Taymans <wim@fluendo.com>
280 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
281 Call parent finalize too.
283 2005-11-16 Wim Taymans <wim@fluendo.com>
286 Enable valgrind check that should work fine now.
288 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
289 * gst/gstqueue.c: (gst_queue_init):
290 Fix memleaks in pad allocation.
292 2005-11-16 Andy Wingo <wingo@pobox.com>
294 * gst/net/Makefile.am:
295 * gst/net/gstnet.h: New part of core to hold network elements and
296 objects. Put in core because it exposes API that applications want
297 to use. The library is named libgstnet-tempname right now because
298 of the existing libgstnet in gst-plugins-base. Solution is
299 probably to rename the one in plugins-base; will file a bug for
302 * gst/net/gstnettimeprovider.c:
303 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
304 get_time call over the network.
307 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
310 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
311 get additions shortly.
313 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
315 * gst/gstpad.c: (gst_pad_new_from_static_template):
317 add gst_pad_new_from_static_template functions
318 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
319 (gst_check_setup_sink_pad):
320 * gst/elements/gsttee.c: (gst_tee_init):
323 2005-11-16 Wim Taymans <wim@fluendo.com>
325 * gst/gstpad.c: (gst_pad_pause_task):
326 Removed warning, it's not really an error either.
328 2005-11-16 Wim Taymans <wim@fluendo.com>
330 * gst/base/gstbasetransform.c:
331 (gst_base_transform_prepare_output_buf),
332 (gst_base_transform_event):
333 Check if the caps are NULL, this can happen if the element
334 is shutting down and the pad caps are set to NULL.
336 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
338 * gst/elements/gsttee.c: (gst_tee_init):
339 fix pad tempalte leak in tee
341 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
343 * gst/glib-compat.c: (g_value_dup_gst_object):
345 * gst/gstpad.c: (gst_pad_set_property):
346 use gst_object_ref when setting the pad template; this will
347 trigger the pad template leaks on GLib 2.6 and the slaves
349 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
351 * gst/glib-compat.c: (gst_flags_get_first_value):
353 * gst/gstregistryxml.c:
354 remove functions copied from GLib 2.6
356 2005-11-16 Michael Smith <msmith@fluendo.com>
359 Don't link against VALGRIND_LIBS. That was always the wrong thing to
360 do, but only breaks with newer valgrind versions. We're not a
361 valgrind tool, we have no link-time dependencies on libcoregrind.
363 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
365 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
370 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
372 * gst/base/gstbasesrc.c: (gst_base_src_init):
373 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
374 * gst/gstqueue.c: (gst_queue_init):
375 * gst/gstregistryxml.c: (load_feature):
376 Revert all these unrefs, they don't even pass make check !
378 2005-11-15 Johan Dahlin <johan@gnome.org>
380 * gst/base/gstbasesrc.c: (gst_base_src_init):
381 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
382 * gst/gstqueue.c: (gst_queue_init):
383 Free pad templates, fixes a couple of leaks.
385 2005-11-15 Daniel Fischer <dan at f3c dot com>
387 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
389 * gst/gstpad.c: (gst_pad_get_property):
390 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
391 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
394 2005-11-15 Wim Taymans <wim@fluendo.com>
399 2005-11-15 Andy Wingo <wingo@pobox.com>
401 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
403 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
404 using GST_CLOCK_TIME_NONE to disable base time management.
405 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
406 time if it was NONE before.
407 (gst_pipeline_change_state): Only munge the base time if
408 stream_time != GST_CLOCK_TIME_NONE.
410 * check/gst/gstpipeline.c (test_base_time): Punt around the
411 problem of the probe not being called, because that's not the
412 issue I'm looking at. Add a check that setting stream_time to NONE
413 disables base time management.
415 2005-11-15 Wim Taymans <wim@fluendo.com>
417 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
418 segment_stop == -1 at startup.
420 * gst/base/gstbasetransform.c: (gst_base_transform_event),
421 (gst_base_transform_change_state):
422 Init segment values at start.
424 2005-11-15 Wim Taymans <wim@fluendo.com>
426 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
427 0 segment values are 0 in any format.
429 * gst/base/gstbasetransform.c: (gst_base_transform_event):
430 * gst/base/gstbasetransform.h:
431 Parse newsegment correctly in basetransform
433 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
434 Sync to clock using updated segment values.
436 2005-11-15 Andy Wingo <wingo@pobox.com>
438 * check/gst/gstpipeline.c (test_base_time): Add check that the
439 base time and stream time are reset correctly.
441 2005-11-15 Wim Taymans <wim@fluendo.com>
443 * docs/design/part-TODO.txt:
444 Some more TODO items.
446 2005-11-15 Andy Wingo <wingo@pobox.com>
448 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
449 error if the user selected "no clock" as the clocking method.
451 * check/gst/gstpipeline.c (test_base_time): New test for buffer
452 timestamps with live capture.
454 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
455 is 0 but we are a live source, timestamp the buffers using the
458 2005-11-14 Stefan Kost <ensonic@users.sf.net>
460 * docs/gst/gstreamer-sections.txt:
467 2005-11-14 Wim Taymans <wim@fluendo.com>
470 add suppressions from Wim's Debian machine
472 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
475 add suppressions from Andy's AMD64 Ubuntu machine
477 2005-11-14 Andy Wingo <wingo@pobox.com>
479 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
480 STATE_LOCK not necessary. Fixes #311489.
482 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
485 * gst/gstindex.c (gst_index_add_object): Note in the docs that
486 this function is not implemented.
488 2005-11-14 Julien MOUTTE <julien@moutte.net>
490 * gst/base/gstbasetransform.c:
491 (gst_base_transform_prepare_output_buf):
492 Ref the source pad caps while we need them.
495 2005-11-11 Wim Taymans <wim@fluendo.com>
497 * docs/gst/gstreamer-sections.txt:
498 Added some docs for GstCollectData.
500 * gst/base/gstadapter.c:
501 Some small code example fix.
503 * gst/base/gstcollectpads.c:
504 * gst/base/gstcollectpads.h:
507 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
509 * configure.ac: back to HEAD
511 === release 0.9.5 ===
513 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
516 releasing 0.9.5, "Bike Lunch Day"
518 2005-11-11 Wim Taymans <wim@fluendo.com>
520 * gst/gstbuffer.c: (_gst_buffer_copy):
523 * gst/gstcaps.c: (gst_caps_is_equal):
525 Make _is_equal fast in the trivial cases.
527 * gst/gstminiobject.c:
528 * gst/gstminiobject.h:
529 More docs. Spifify .h file.
534 2005-11-11 Wim Taymans <wim@fluendo.com>
536 * gst/base/gstbasetransform.c:
537 (gst_base_transform_prepare_output_buf),
538 (gst_base_transform_handle_buffer):
540 If we're processing a buffer and need to allocate an output
541 buffer, we cannot accept a format change. If we did get a
542 format change, we have to alloc a buffer ourselves of the
545 2005-11-11 Wim Taymans <wim@fluendo.com>
547 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
548 While checking the flag for reentrancy in the gstcaps function
549 is nice to detect recursive invocations, it also makes it
550 impossible to call getcaps from multiple threads, which must be
551 possible. So, checking for recursive calls has to go.
553 2005-11-11 Michael Smith <msmith@fluendo.com>
555 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
556 Don't sync on buffers that fall partially outside our current
557 segment. Prevents an assertion failure/abort playing some files.
559 2005-11-10 Andy Wingo <wingo@pobox.com>
561 * check/gst/gstbin.c (test_message_state_changed_children): Style
564 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
565 gst_bus_poll with the signal watch. Ensures that poll and a signal
566 watch see the same messages.
568 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
569 a poll and a watch at the same time get the same messages.
571 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
573 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
574 * gst/gstcaps.c: (gst_caps_intersect):
575 Don't call gst_caps_do_simplify - it doesn't respect order of caps
578 2005-11-10 Wim Taymans <wim@fluendo.com>
580 * docs/design/part-TODO.txt:
583 2005-11-10 Wim Taymans <wim@fluendo.com>
585 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
586 * gst/base/gstbasesrc.c: (gst_base_src_wait),
587 (gst_base_src_do_sync), (gst_base_src_get_range):
588 Implement clock sync in base class.
590 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
592 patch by: Tim-Philipp Müller <tim at centricular dot net>
594 * gst/gststructure.c: (gst_structure_parse_field),
595 (gst_structure_from_string):
596 Forward-port a 0.8 patch to handle escaped spaces in structure string,
597 so that gst_parse_launch() can deal with spaces in filtered link
599 * check/gst/capslist.h:
600 * check/gst/gststructure.c: (GST_START_TEST):
601 add unit tests for this change
603 2005-11-10 Wim Taymans <wim@fluendo.com>
605 * docs/gst/gstreamer-sections.txt:
608 Fix docs, move some STATE macros to private.
610 2005-11-10 Wim Taymans <wim@fluendo.com>
612 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
613 Added check for bug #317341
617 Some more spiffifying.
619 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
620 Call peer linkfunction if we are a source pad. Totally fixes
624 Update docs, source pads should call the peer linkfunction
625 so they can atomically perform the pad link.
627 2005-11-09 Wim Taymans <wim@fluendo.com>
631 Uber-spiffy-spiffify some more.
633 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
635 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
636 * gst/elements/gstfilesink.c: (gst_file_sink_init):
637 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
638 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
639 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
640 * gst/gstpad.c: (gst_pad_init):
641 Use GST_DEBUG_FUNCPTR() more extensively.
643 2005-11-09 Wim Taymans <wim@fluendo.com>
645 * gst/gstobject.c: (gst_object_class_init):
649 2005-11-09 Edward Hervey <edward@fluendo.com>
651 * gst/gsttypefindfactory.c:
654 2005-11-09 Edward Hervey <edward@fluendo.com>
656 * gst/base/gsttypefindhelper.c:
661 2005-11-09 Wim Taymans <wim@fluendo.com>
670 2005-11-09 Wim Taymans <wim@fluendo.com>
676 2005-11-09 Wim Taymans <wim@fluendo.com>
678 * docs/gst/gstreamer-sections.txt:
679 Moved the message async delivery private lock and cond
680 to the private section.
686 2005-11-09 Edward Hervey <edward@fluendo.com>
688 * docs/gst/gstreamer-sections.txt:
691 Document GstURIHandler
693 2005-11-09 Wim Taymans <wim@fluendo.com>
695 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
696 (gst_iterator_find_custom):
700 2005-11-09 Wim Taymans <wim@fluendo.com>
703 Document another field.
705 * gst/gststructure.c:
706 * gst/gststructure.h:
709 2005-11-09 Wim Taymans <wim@fluendo.com>
714 2005-11-09 Wim Taymans <wim@fluendo.com>
716 * docs/gst/gstreamer-sections.txt:
717 Added some new macros.
724 2005-11-09 Wim Taymans <wim@fluendo.com>
726 * docs/design/part-TODO.txt:
727 Some more items for the TODO
733 2005-11-09 Andy Wingo <wingo@pobox.com>
735 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
736 to work on something else now tho...
738 * gst/base/gstadapter.c: More adapter docs.
740 * gst/elements/gstfilesink.c (gst_file_sink_start)
741 (gst_file_sink_stop): New functions, replace the state change
743 (gst_file_sink_class_init): Hook up the start and stop functions.
744 (gst_file_sink_base_init): Don't set the state change handler any
745 more. It was a bit ugly too, being set from here...
746 (gst_file_sink_get_property, gst_file_sink_set_property):
748 (gst_file_sink_set_location): More robust check that doesn't call
751 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
753 * gst/base/gstbasetransform.c: (gst_base_transform_event):
754 Hold STREAM_LOCK while pushing newsegment or tag events as well.
756 2005-11-08 Wim Taymans <wim@fluendo.com>
758 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
759 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
760 (gst_base_sink_chain), (gst_base_sink_change_state):
761 * gst/base/gstbasesink.h:
762 * gst/base/gstbasesrc.h:
765 Avoid excessive typechecking in macros.
767 * gst/gstminiobject.c: (gst_mini_object_get_type),
768 (gst_mini_object_init), (gst_mini_object_new),
769 (gst_mini_object_free):
770 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
771 (gst_object_finalize):
772 Remove cruft code, optimize alloc_trace.
774 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
776 * docs/faq/gst-uninstalled:
777 fix up PS1 for systems that try to reset it
779 2005-11-07 Wim Taymans <wim@fluendo.com>
781 * gst/base/gstbasesrc.c: (gst_base_src_init),
782 (gst_base_src_get_range):
783 Set the segment_end to -1 initially. Fixed typefind.
785 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
787 * gst/base/gstadapter.c:
788 Debug category should be 'adapter', not 'GstAdapter'.
790 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
791 (gst_collectpads_class_init), (gst_collectpads_init),
792 (gst_collectpads_peek), (gst_collectpads_pop),
793 (gst_collectpads_event), (gst_collectpads_chain):
794 Add debug category and some debugging output. Use boilerplate
795 macros. Remove some extraneous words from docs.
797 2005-11-05 Andy Wingo <wingo@pobox.com>
799 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
802 2005-11-04 Stefan Kost <ensonic@users.sf.net>
804 * docs/gst/gstreamer-sections.txt:
807 * gst/gstminiobject.h:
812 2005-11-04 Wim Taymans <wim@fluendo.com>
814 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
815 Small update to stop at the configured segment_end
818 2005-11-04 Stefan Kost <ensonic@users.sf.net>
824 2005-11-04 Edward Hervey <edward@fluendo.com>
826 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
827 Check if we are doing a segment seek and have arrived at the
830 2005-11-04 Wim Taymans <wim@fluendo.com>
832 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
833 Don't leak a mutex unlock in case of an error.
838 2005-11-04 Wim Taymans <wim@fluendo.com>
840 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
842 Get the context to wake up only once.
844 2005-11-03 Wim Taymans <wim@fluendo.com>
846 * check/states/sinks.c: (GST_START_TEST):
847 Uncomment fixed check.
849 * docs/design/part-TODO.txt:
852 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
853 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
854 (gst_base_sink_get_position):
855 If we are going to PLAYING, post the right pending state
856 when we post the intermediate paused message.
858 * gst/gstelement.c: (gst_element_continue_state),
859 (gst_element_set_state_func), (gst_element_change_state):
860 Don't post state changes that were between the same state
863 2005-11-03 Stefan Kost <ensonic@users.sf.net>
865 * docs/gst/gstreamer-sections.txt:
868 * gst/gstminiobject.h:
871 more docs and doc style fixes
873 2005-11-03 Stefan Kost <ensonic@users.sf.net>
875 * docs/gst/gstreamer-sections.txt:
877 * gst/gstminiobject.c:
880 2005-11-03 Andy Wingo <wingo@pobox.com>
882 * check/states/sinks.c (test_livesrc_sink): Add checks that the
883 state-changed messages actually have the right order and the right
886 2005-11-03 Wim Taymans <wim@fluendo.com>
888 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
889 Added some more checks. Specifically the case where NO_PREROLL
890 elements are in the pipeline.
892 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
893 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
894 (gst_base_sink_get_position):
895 Post READY->PAUSED state change messages too.
896 Fix bug where VOID was posted as pending state...
898 * gst/gstbin.c: (gst_bin_recalc_state):
899 use _element_continue_state() to continue the state change.
901 * gst/gstelement.c: (gst_element_continue_state),
902 (gst_element_commit_state), (gst_element_set_state_func),
903 (gst_element_change_state), (gst_element_change_state_func):
904 Lots of state change cleanups, assign the STATE_RETURN in
905 a new continue_state() function that also propagates the
906 last return value from a state change to the app.
907 Update some debug statements with proper category.
909 2005-11-03 Wim Taymans <wim@fluendo.com>
911 * docs/design/part-events.txt:
912 * docs/design/part-gstpipeline.txt:
913 * docs/design/part-messages.txt:
914 * docs/design/part-overview.txt:
915 * docs/design/part-seeking.txt:
916 * docs/design/part-states.txt:
917 * docs/design/part-trickmodes.txt:
918 * docs/manual/advanced-position.xml:
922 People think !! is ugly, this looks better.
924 * gst/gstpad.c: (gst_pad_set_blocked_async):
925 Remove !! since it's fixed elsewhere now.
927 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
929 * gst/gstminiobject.h:
931 Add !! to _FLAG_IS_SET macros to make the result boolean.
933 2005-11-03 Edward Hervey <edward@fluendo.com>
935 * gst/gstpad.c: (gst_pad_set_blocked_async):
936 comparing a flag and a gboolean rarely returns coherent results...
937 Added two characters (!!) to make that work correctly.
939 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
941 * gst/gstbus.c: (gst_bus_class_init):
944 * gst/gstqueue.c: (gst_queue_loop):
945 Don't assume a miniobject that isn't a buffer is an
946 event (it could be that there is a refcounting
947 problem somewhere and the pointer is stale and
948 refers to an already destroyed miniobject).
950 2005-11-03 Julien MOUTTE <julien@moutte.net>
952 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
954 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
956 * docs/manual/advanced-position.xml:
957 Update seek example and explanations to current 0.9 API.
959 * gst/elements/gsttypefindelement.c:
960 (gst_type_find_element_activate):
961 Remove FIXME comment now that the found caps
964 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
966 * gst/gstregistryxml.c: (load_feature):
967 Add another GST_STR_NULL instance
969 2005-11-02 Edward Hervey <edward@fluendo.com>
971 * gst/gstpad.c: (handle_pad_block):
972 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
974 2005-11-02 Wim Taymans <wim@fluendo.com>
979 * gst/gstelement.c: (gst_element_commit_state):
983 Mention that the returned element is reffed in the docs.
985 2005-11-02 Wim Taymans <wim@fluendo.com>
987 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
988 (gst_pad_push), (gst_pad_push_event):
989 Unlock blocked pads when they are flushed.
991 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
994 * docs/gst/gstreamer-sections.txt:
997 * gst/gstregistry.c: (gst_registry_scan_path_level):
998 fix for a nasty little missed situation where an installed plug-in
999 which was in the cache did not get overridden by an uninstalled one
1000 which was earlier in the plugin path because the newly created plugin
1001 for the uninstalled one (not in the registry) didn't get its
1002 ->registered set to TRUE
1004 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1006 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
1007 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
1008 (gst_collectpads_is_active), (gst_collectpads_collect),
1009 (gst_collectpads_collect_range), (gst_collectpads_start),
1010 (gst_collectpads_stop), (gst_collectpads_peek),
1011 (gst_collectpads_pop), (gst_collectpads_available),
1012 (gst_collectpads_read), (gst_collectpads_flush):
1013 Guard public API with assertions.
1016 Fix docs for gst_pad_set_link_function().
1018 2005-11-02 Johan Dahlin <johan@gnome.org>
1020 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
1021 Unref found_caps after we used it.
1023 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
1025 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
1026 Don't try to ref NULL.
1028 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1030 * win32/common/config.h.in:
1031 provide a GST_FUNCTION that just gives a string for now
1033 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
1035 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1036 (gst_object_flags_get_type), (register_gst_bin_flags),
1037 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1038 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1039 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1040 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
1041 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1042 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1043 (gst_clock_flags_get_type), (register_gst_state),
1044 (gst_state_get_type), (register_gst_state_change_return),
1045 (gst_state_change_return_get_type), (register_gst_state_change),
1046 (gst_state_change_get_type), (register_gst_element_flags),
1047 (gst_element_flags_get_type), (register_gst_core_error),
1048 (gst_core_error_get_type), (register_gst_library_error),
1049 (gst_library_error_get_type), (register_gst_resource_error),
1050 (gst_resource_error_get_type), (register_gst_stream_error),
1051 (gst_stream_error_get_type), (register_gst_event_type),
1052 (gst_event_type_get_type), (register_gst_seek_type),
1053 (gst_seek_type_get_type), (register_gst_seek_flags),
1054 (gst_seek_flags_get_type), (register_gst_format),
1055 (gst_format_get_type), (register_gst_index_certainty),
1056 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1057 (gst_index_entry_type_get_type),
1058 (register_gst_index_lookup_method),
1059 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1060 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1061 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1062 (gst_index_flags_get_type), (register_gst_debug_level),
1063 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1064 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1065 (gst_iterator_result_get_type), (register_gst_iterator_item),
1066 (gst_iterator_item_get_type), (register_gst_message_type),
1067 (gst_message_type_get_type), (register_gst_mini_object_flags),
1068 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1069 (gst_pad_link_return_get_type), (register_gst_flow_return),
1070 (gst_flow_return_get_type), (register_gst_activate_mode),
1071 (gst_activate_mode_get_type), (register_gst_pad_direction),
1072 (gst_pad_direction_get_type), (register_gst_pad_flags),
1073 (gst_pad_flags_get_type), (register_gst_pad_presence),
1074 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1075 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1076 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1077 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1078 (gst_plugin_flags_get_type), (register_gst_rank),
1079 (gst_rank_get_type), (register_gst_query_type),
1080 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1081 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1082 (gst_tag_flag_get_type), (register_gst_task_state),
1083 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1084 (gst_alloc_trace_flags_get_type),
1085 (register_gst_type_find_probability),
1086 (gst_type_find_probability_get_type), (register_gst_uri_type),
1087 (gst_uri_type_get_type), (register_gst_parse_error),
1088 (gst_parse_error_get_type):
1089 * win32/common/gstversion.h:
1092 2005-11-01 Luca Ognibene <luogni@tin.it>
1095 fix docs. popt is dead, long live GOption.
1097 2005-10-31 Wim Taymans <wim@fluendo.com>
1102 2005-10-31 Andy Wingo <wingo@pobox.com>
1106 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1108 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1109 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1110 the possibility of deadlocks here if code calling notify() or
1111 set() has a lock that can be taken in another notify handler (ABBA
1112 with class lock and e.g. python GIL state lock).
1114 2005-10-28 Julien MOUTTE <julien@moutte.net>
1116 * gst/gstbus.c: Doc updates.
1118 2005-10-28 Wim Taymans <wim@fluendo.com>
1120 * docs/design/part-TODO.txt:
1121 * gst/gstiterator.c:
1122 * gst/gstsystemclock.c:
1123 * gst/gstsystemclock.h:
1126 2005-10-28 Edward Hervey <edward@fluendo.com>
1128 * docs/gst/gstreamer-docs.sgml:
1129 * docs/gst/gstreamer-sections.txt:
1130 the GstURIType documentation page is private, it only defines GstURIType
1131 which should be defined in the GstURIHandler page
1133 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1135 * gst/gstbin.c: (gst_bin_class_init):
1138 Documentation updates.
1140 2005-10-28 Wim Taymans <wim@fluendo.com>
1142 * docs/gst/gstreamer-sections.txt:
1145 Documented the clocks.
1147 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1149 * docs/gst/gstreamer-sections.txt:
1150 move some macros to private sections
1151 * gst/gstminiobject.c:
1152 * gst/gstminiobject.h:
1153 add descriptions provided by ds and some more
1155 mark macro as to be removed
1157 2005-10-28 Wim Taymans <wim@fluendo.com>
1159 * docs/design/part-TODO.txt:
1160 Add an item to TODO.
1162 * gst/gstiterator.c: (gst_iterator_fold),
1163 (gst_iterator_find_custom):
1164 * gst/gstiterator.h:
1167 2005-10-28 Wim Taymans <wim@fluendo.com>
1169 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1170 (gst_base_transform_init):
1173 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1174 An EOS event marks the queue as completely filled.
1176 2005-10-27 Wim Taymans <wim@fluendo.com>
1178 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1179 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1180 Some more debugging.
1182 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1183 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1184 (gst_base_transform_event), (gst_base_transform_getrange),
1185 (gst_base_transform_chain):
1186 * gst/base/gstbasetransform.h:
1188 Protect transform and concurrent buffer alloc with a new lock.
1189 Try not to break ABI/API.
1191 2005-10-27 Wim Taymans <wim@fluendo.com>
1193 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1194 (gst_base_src_init), (gst_base_src_query),
1195 (gst_base_src_default_newsegment),
1196 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1197 (gst_base_src_send_event), (gst_base_src_event_handler),
1198 (gst_base_src_pad_get_range), (gst_base_src_loop),
1199 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1200 (gst_base_src_start), (gst_base_src_deactivate),
1201 (gst_base_src_activate_push), (gst_base_src_change_state):
1202 Move some stuff around and cleanup things.
1204 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1206 * gst/base/gstbasesrc.c: (gst_base_src_query):
1207 Add missing break statements.
1209 2005-10-27 Wim Taymans <wim@fluendo.com>
1211 * check/gst/gstbin.c: (GST_START_TEST):
1212 An extra refcount is taken in basesrc.
1214 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1215 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1216 (gst_base_src_loop):
1217 Small cleanups, check for flushing after being unlocked from the
1218 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1219 Don't send out EOS when going to READY.
1221 2005-10-27 Wim Taymans <wim@fluendo.com>
1223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1224 (gst_base_sink_get_position):
1227 * gst/gstbin.c: (message_check), (bin_replace_message),
1228 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1229 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1230 (bin_query_duration_init), (bin_query_duration_fold),
1231 (bin_query_duration_done), (bin_query_generic_fold),
1233 * tools/gst-launch.c: (main):
1236 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1238 * examples/controller/audio-example.c: (main):
1239 * examples/queue/queue.c: (event_loop):
1240 * gst/base/gstbasetransform.h:
1241 * gst/gstelement.c: (gst_element_send_event):
1243 * gst/gstpad.c: (gst_pad_send_event):
1246 changing log priority in error situations
1248 2005-10-25 Wim Taymans <wim@fluendo.com>
1250 * gst/gstbin.c: (message_check), (bin_replace_message),
1251 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1252 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1253 (bin_query_duration_init), (bin_query_duration_fold),
1254 (bin_query_duration_done), (bin_query_generic_fold),
1256 Some doc and debug updates.
1257 Cache previously requested query DURATION for speed. invalidate
1258 cached duration if element posts a DURATION message.
1260 2005-10-25 Wim Taymans <wim@fluendo.com>
1262 * docs/design/part-TODO.txt:
1265 * gst/gstbin.c: (message_check), (bin_replace_message),
1266 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1267 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1268 (bin_query_duration_init), (bin_query_duration_fold),
1269 (bin_query_duration_done), (bin_query_generic_fold),
1271 Handle SEGMENT_START/DONE messages correctly.
1272 More evolved query algorithm that handles duration queries
1275 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1276 (gst_element_get_state_func), (gst_element_abort_state),
1277 (gst_element_commit_state), (gst_element_lost_state):
1278 Some more debugging.
1283 2005-10-25 Wim Taymans <wim@fluendo.com>
1285 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1286 Don't use invalid stream_time.
1288 * gst/gstevent.c: (gst_event_new_newsegment):
1289 stream_time in newsegment cannot be undefined.
1291 2005-10-24 Wim Taymans <wim@fluendo.com>
1296 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1298 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1300 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1302 * docs/libs/tmpl/gstdparam.sgml:
1303 * docs/libs/tmpl/gstdplinint.sgml:
1304 * docs/libs/tmpl/gstdpman.sgml:
1305 * docs/libs/tmpl/gstdpsmooth.sgml:
1306 * docs/libs/tmpl/gstunitconvert.sgml:
1309 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1314 === release 0.9.4 ===
1316 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1319 releasing 0.9.4, "Tyrannosaurus Rex"
1321 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1323 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1324 (gst_file_sink_get_current_offset):
1325 Use fseeko() and ftello() if available. When falling back on
1326 lseek() to get the current offset, fflush() first to make sure
1327 everything is up-to-date and we get the right offset.
1329 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1331 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1332 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1333 * gst/gsterror.c: (_gst_stream_errors_init):
1335 * gst/gstqueue.c: (gst_queue_loop):
1337 remove prematurely added error category and clean up the instances
1339 2005-10-21 Wim Taymans <wim@fluendo.com>
1341 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1342 (gst_base_sink_get_position), (gst_base_sink_query),
1343 (gst_base_sink_change_state):
1344 Simply set the right flag when going to playing, that's all
1345 we need to do instead of calling a function inside the object
1346 lock (that could take the lock as well and deadlock)
1348 2005-10-21 Wim Taymans <wim@fluendo.com>
1350 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1351 (gst_base_src_loop):
1352 Don't warn, the peer element knows what to do best when
1353 the seek failed, it might try something else.
1355 2005-10-21 Wim Taymans <wim@fluendo.com>
1357 * gst/base/gstbasesrc.c: (gst_base_src_init),
1358 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1361 2005-10-21 Wim Taymans <wim@fluendo.com>
1363 * docs/design/part-segments.txt:
1366 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1367 Correctly set caps, even on the subbufer.
1369 2005-10-21 Wim Taymans <wim@fluendo.com>
1371 * docs/gst/gstreamer-docs.sgml:
1372 * docs/gst/gstreamer-sections.txt:
1379 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1383 And 2% more doc coverage.
1385 2005-10-21 Andy Wingo <wingo@pobox.com>
1387 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1390 2005-10-20 Wim Taymans <wim@fluendo.com>
1392 * gst/gsterror.c: (gst_error_get_message):
1395 * gst/gststructure.c:
1400 2005-10-20 Wim Taymans <wim@fluendo.com>
1405 Another 1% more coverage.
1407 2005-10-20 Wim Taymans <wim@fluendo.com>
1409 * docs/gst/gstreamer-sections.txt:
1410 * gst/gstelement.c: (gst_element_get_state_func),
1411 (gst_element_abort_state), (gst_element_commit_state),
1412 (gst_element_lost_state):
1414 * gst/gstquery.c: (gst_query_set_position),
1415 (gst_query_parse_position), (gst_query_set_duration),
1416 (gst_query_parse_duration), (gst_query_new_convert):
1418 Yay! 1% more docs coverage.
1420 2005-10-20 Wim Taymans <wim@fluendo.com>
1423 * gst/gstquery.c: (gst_query_set_position),
1424 (gst_query_parse_position), (gst_query_set_duration),
1425 (gst_query_parse_duration), (gst_query_new_convert):
1427 * gst/gstutils.c: (gst_element_query_convert):
1429 Docs and consistency fixes.
1431 2005-10-20 Wim Taymans <wim@fluendo.com>
1437 2005-10-20 Wim Taymans <wim@fluendo.com>
1439 * gst/gstbin.c: (message_check), (bin_replace_message),
1440 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1441 (update_degree), (gst_bin_sort_iterator_next),
1442 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1443 Reworked the message handling a bit, cache the messages instead of
1444 only the senders. alows us to do more in the future.
1446 2005-10-20 Wim Taymans <wim@fluendo.com>
1448 * docs/design/part-TODO.txt:
1451 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1452 (gst_base_sink_query):
1453 Don't use clock time to report position when in EOS.
1455 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1457 * tools/gst-inspect.c: (print_interfaces),
1458 (print_element_properties_info), (print_element_info):
1459 Fix interface output with gst-inspect -a; don't print
1460 newlines after double/float properties.
1462 2005-10-20 Wim Taymans <wim@fluendo.com>
1464 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1465 (gst_base_sink_query):
1466 Speed up current position calculation.
1468 * gst/base/gstbasesrc.c: (gst_base_src_query),
1469 (gst_base_src_default_newsegment):
1470 Correctly set stream position in newsegment.
1472 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1473 (update_degree), (gst_bin_sort_iterator_next),
1474 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1475 * gst/gstmessage.c: (gst_message_new_custom):
1476 Clean up debugging info
1478 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1479 (gst_queue_loop), (gst_queue_handle_src_query):
1482 2005-10-19 Wim Taymans <wim@fluendo.com>
1484 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1485 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1486 Fix query handling again.
1488 2005-10-19 Wim Taymans <wim@fluendo.com>
1490 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1491 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1492 * gst/base/gstbasesrc.c: (gst_base_src_query):
1493 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1494 * gst/elements/gsttypefindelement.c:
1495 (gst_type_find_handle_src_query), (find_element_get_length),
1496 (gst_type_find_element_activate):
1499 * gst/gstquery.c: (gst_query_new_position),
1500 (gst_query_set_position), (gst_query_parse_position),
1501 (gst_query_new_duration), (gst_query_set_duration),
1502 (gst_query_parse_duration), (gst_query_set_segment),
1503 (gst_query_parse_segment):
1505 Bundling query position/duration is not a good idea since duration
1506 does not change much and we don't want to recalculate it for every
1507 position query, so they are separated again..
1508 Base value in segment query is not needed.
1510 * gst/gstqueue.c: (gst_queue_handle_src_query):
1511 * gst/gstutils.c: (gst_element_query_position),
1512 (gst_element_query_duration), (gst_pad_query_position),
1513 (gst_pad_query_duration):
1515 Updates for query API change.
1516 Added some docs here and there.
1518 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1520 * check/gst/gstbin.c: (GST_START_TEST):
1521 * check/gst/gstghostpad.c: (GST_START_TEST):
1522 * check/pipelines/cleanup.c: (GST_START_TEST):
1523 wait on thread to die so we can check refcount correctly
1525 2005-10-18 Wim Taymans <wim@fluendo.com>
1527 * check/pipelines/stress.c: (GST_START_TEST):
1528 Make check a little more time consuming.
1530 2005-10-18 Wim Taymans <wim@fluendo.com>
1532 * check/Makefile.am:
1533 * check/pipelines/stress.c: (GST_START_TEST),
1534 (simple_launch_lines_suite), (main):
1535 Small state change torture test.
1537 * docs/design/part-states.txt:
1538 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1539 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1540 (gst_base_sink_change_state):
1541 Never take state lock from streaming thread, clean up ugly
1542 hacks. Unfortunatly core does not yet support nice ways to
1545 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1547 Start state recalc if a STATE_DIRTY message is posted, but only
1548 on the toplevel bin.
1550 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1551 (gst_element_get_state_func), (gst_element_abort_state),
1552 (gst_element_commit_state), (gst_element_lost_state),
1553 (gst_element_set_state_func), (gst_element_change_state):
1555 State variables are now protected with the LOCK, the state
1556 lock is only used to serialize _set_state().
1558 2005-10-18 Wim Taymans <wim@fluendo.com>
1560 * check/gst/gstbin.c: (GST_START_TEST):
1561 * check/gst/gstmessage.c: (GST_START_TEST):
1562 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1563 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1565 * gst/gstelement.c: (gst_element_abort_state),
1566 (gst_element_commit_state), (gst_element_lost_state):
1567 * gst/gstmessage.c: (gst_message_new_state_changed),
1568 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1569 (gst_message_new_segment_done), (gst_message_new_duration),
1570 (gst_message_parse_state_changed),
1571 (gst_message_parse_segment_start),
1572 (gst_message_parse_segment_done), (gst_message_parse_duration):
1574 * tools/gst-launch.c: (event_loop):
1575 Seriously, this is better than a previous commit as we only need
1576 to notify the fact that an element changed state in a streaming
1577 thread, marking the state of the parents dirty, hence the
1578 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1581 2005-10-18 Wim Taymans <wim@fluendo.com>
1583 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1584 (gst_bin_recalc_func):
1585 * gst/gstelement.c: (gst_element_set_clock),
1586 (gst_element_abort_state), (gst_element_lost_state):
1587 Cleanups, prepare for state change fixes.
1589 2005-10-18 Wim Taymans <wim@fluendo.com>
1592 * gst/gstelement.c: (gst_element_class_init),
1593 (gst_element_set_state), (gst_element_set_state_func):
1595 Pending ABI changes.
1596 GThreadPool in GstBinClass to monitor async state changes.
1597 state_cookie in GstElement to detect concurrent gst/set state.
1598 set_state is now virtual too in case a very complicated element
1599 has to be constructed.
1601 2005-10-18 Wim Taymans <wim@fluendo.com>
1603 * check/gst/gstbin.c: (GST_START_TEST):
1604 * check/gst/gstmessage.c: (GST_START_TEST):
1605 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1606 * gst/gstbin.c: (bin_bus_handler):
1607 * gst/gstelement.c: (gst_element_commit_state),
1608 (gst_element_lost_state):
1609 * gst/gstmessage.c: (gst_message_new_state_changed),
1610 (gst_message_new_segment_start), (gst_message_new_segment_done),
1611 (gst_message_new_duration), (gst_message_parse_state_changed),
1612 (gst_message_parse_segment_start),
1613 (gst_message_parse_segment_done), (gst_message_parse_duration):
1615 * tools/gst-launch.c: (event_loop):
1616 Make messages future proof.
1617 state-change gets a flag if it was a message comming from the
1619 segment-start/stop can also be specified in other formats.
1620 A message to notify an app that a pipeline changed playback
1622 Also fix a GstMessage leak in -launch
1624 2005-10-18 Andy Wingo <wingo@pobox.com>
1626 * gst/gstelement.c (gst_element_dispose): More helpful message.
1628 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1630 reviewed by: <delete if not using a buddy>
1632 * common/gtk-doc.mak:
1634 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1636 * gst/gstregistry.c: (gst_registry_scan_path_level):
1637 unref a plug-in we get that was already initialized
1639 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1641 * docs/gst/gstreamer-sections.txt:
1642 * docs/libs/gstreamer-libs-sections.txt:
1647 2005-10-17 Andy Wingo <wingo@pobox.com>
1649 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1652 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1654 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1656 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1657 (gst_element_get_state_func): Better debug message.
1658 (gst_element_commit_state): s/INFO/DEBUG/.
1659 (gst_element_lost_state, gst_element_change_state):
1661 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1662 (gst_message_new_custom): s/INFO/LOG/.
1664 2005-10-17 Michael Smith <msmith@fluendo.com>
1666 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1667 Check if end time is valid using end time, not start time.
1669 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1671 * check/gst-libs/controller.c: (GST_START_TEST),
1672 (gst_controller_suite):
1673 * libs/gst/controller/gstcontroller.c:
1674 (gst_controlled_property_set_interpolation_mode):
1675 * libs/gst/controller/gstcontroller.h:
1676 * libs/gst/controller/gstinterpolation.c:
1677 * testsuite/controller/.cvsignore:
1678 * testsuite/controller/Makefile.am:
1679 * testsuite/controller/interpolator.c:
1680 merge controller testsuites
1682 remove mem-chunk from docs
1684 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1686 * gst/gstmemchunk.c:
1687 * gst/gstmemchunk.h:
1688 * gst/gsttrashstack.c:
1689 * gst/gsttrashstack.h:
1690 out. get out. you're fired. to the Attic !
1692 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1694 * gst/gstcaps.c: (gst_caps_intersect):
1695 fix signedness issues in a (hopefully) correct way
1696 * gst/gstelement.c: (gst_element_pads_activate):
1698 * gst/gstobject.c: (gst_object_set_parent):
1701 2005-10-17 Julien MOUTTE <julien@moutte.net>
1703 * gst/gstvalue.h: Fix prototypes.
1705 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1707 * docs/gst/gstreamer-sections.txt:
1708 * gst/gst.c: (gst_version_string):
1710 * gst/gstversion.h.in:
1711 * win32/common/libgstreamer.def:
1712 add gst_version_string ()
1714 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1718 * gst/gst.c: (init_post):
1719 * win32/common/config.h.in:
1721 * gst/gstcaps.c: (gst_caps_intersect):
1722 use gint64, the range could be bigger than a guint
1724 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1727 document potential problem in 2038
1729 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1731 * gst/gstcaps.c: (gst_caps_intersect):
1732 Fix guint j diving under 0
1734 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1737 * win32/common/config.h:
1738 * win32/common/config.h.in:
1739 check for process.h, declares getpid() on Windows
1741 include process.h if we have it
1742 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1743 * gst/gstmemchunk.h:
1744 fix signedness issues
1745 * win32/common/libgstreamer.def:
1748 2005-10-16 Julien MOUTTE <julien@moutte.net>
1750 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1751 fix. Because of unsigned ints, caps intersection was going nuts and
1752 trying to access structures with G_MAXUINT index. That fixes
1753 videotestsrc ! ffmpegcolorspace ! fakesink
1754 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1757 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1760 use the gettext macro
1761 * gst/elements/gstelements.c:
1763 * gst/indexers/gstindexers.c:
1764 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1765 * win32/common/config.h:
1767 * win32/common/config.h.in:
1768 add the template to generate config.h
1769 * win32/common/gstenumtypes.c:
1770 * win32/common/gstversion.h:
1773 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1775 * gst/gst.c: (gst_version):
1776 * gst/gstversion.h.in:
1779 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1782 Oops, add missing closing bracket.
1784 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1787 use common m4's for argument checking
1789 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1791 * docs/gst/gstreamer-sections.txt:
1793 Add GST_EVENT_TYPE_NAME() macro.
1795 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1798 * gst/gstpluginfeature.c:
1800 privatize more symbols
1802 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1805 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1806 everything that uses GStreamer API should have the includes
1808 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1810 * docs/gst/gstreamer-sections.txt:
1811 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1813 give each value a _get_type, removes the DATA exports
1815 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1819 remove _gst_registry_auto_load, not used anymore
1820 * gst/gstbin.c: (gst_bin_get_type):
1822 * gst/gstelement.c: (gst_element_get_type):
1824 * gst/gstobject.c: (gst_object_get_type):
1826 * gst/gstpad.c: (gst_pad_get_type):
1828 make _get_type functions similar, fixes data export from library
1830 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1833 correctly make conditionals
1834 * gst/elements/Makefile.am:
1835 * gst/elements/gstelements.c:
1836 fix typo causing fdsrc not to build
1838 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1840 * testsuite/Makefile.am:
1841 * testsuite/bytestream/.cvsignore:
1842 * testsuite/bytestream/Makefile.am:
1843 * testsuite/bytestream/filepadsink.c:
1844 * testsuite/bytestream/gstbstest.c:
1845 * testsuite/bytestream/test1.c:
1846 * testsuite/bytestream/testfile1:
1847 * testsuite/caps/normalisation.c:
1848 * testsuite/caps/random.c: (main):
1849 * testsuite/cleanup/.cvsignore:
1850 * testsuite/cleanup/Makefile.am:
1851 * testsuite/cleanup/cleanup1.c:
1852 * testsuite/cleanup/cleanup2.c:
1853 * testsuite/cleanup/cleanup3.c:
1854 * testsuite/cleanup/cleanup4.c:
1855 * testsuite/cleanup/cleanup5.c:
1856 * testsuite/controller/interpolator.c:
1857 * testsuite/debug/printf_extension.c: (main):
1858 * testsuite/elements/tee.c:
1859 * testsuite/negotiation/.cvsignore:
1860 * testsuite/negotiation/Makefile.am:
1861 * testsuite/negotiation/pad_link.c:
1862 * testsuite/pad/Makefile.am:
1863 * testsuite/pad/chainnopull.c:
1864 * testsuite/pad/getnopush.c:
1865 * testsuite/pad/link.c:
1866 * testsuite/refcounting/sched.c: (create_pipeline):
1867 * testsuite/registry/Makefile.am:
1868 * testsuite/registry/gst-print-formats.c:
1869 * testsuite/schedulers/.cvsignore:
1870 * testsuite/schedulers/142183-2.c:
1871 * testsuite/schedulers/142183.c:
1872 * testsuite/schedulers/143777-2.c:
1873 * testsuite/schedulers/143777.c:
1874 * testsuite/schedulers/147713.c:
1875 * testsuite/schedulers/147819.c:
1876 * testsuite/schedulers/147894-2.c:
1877 * testsuite/schedulers/147894.c:
1878 * testsuite/schedulers/Makefile.am:
1879 * testsuite/schedulers/group_link.c:
1880 * testsuite/schedulers/queue_link.c:
1881 * testsuite/schedulers/relink.c:
1882 * testsuite/schedulers/unlink.c:
1883 * testsuite/schedulers/unref.c:
1884 * testsuite/schedulers/useless_iteration.c:
1885 * testsuite/states/bin.c:
1886 clean out/remove some stuff from the testsuite directories
1888 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1891 check for some headers
1892 * gst/elements/Makefile.am:
1893 * gst/elements/gstelements.c:
1894 don't compile fdsrc without sys/socket.h
1895 * gst/indexers/Makefile.am:
1896 * gst/indexers/gstindexers.c: (plugin_init):
1897 don't compile fileindex without mmap
1899 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1906 * check/Makefile.am:
1907 * docs/gst/Makefile.am:
1908 * examples/helloworld/Makefile.am:
1910 * gst/base/Makefile.am:
1911 * gst/check/Makefile.am:
1912 * gst/elements/Makefile.am:
1913 * gst/indexers/Makefile.am:
1914 * gst/parse/Makefile.am:
1915 * libs/gst/controller/Makefile.am:
1916 * libs/gst/dataprotocol/Makefile.am:
1917 * examples/helloworld/helloworld.c: (event_loop):
1918 compile fixes, though it's not being compiled currently
1920 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1922 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1923 Add some simple tests for the new taglist date API.
1925 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1927 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1928 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1929 Beautify 'last-message' output: print 'none' for buffer timestamps
1930 and durations if none is set; improve alignment with next messages.
1932 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1934 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1935 * gst/gstpluginfeature.h:
1936 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1937 * gst/gstregistry.h:
1938 * docs/gst/gstreamer-sections.txt:
1939 Add new API to check plugin feature version requirements.
1941 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1942 Some basic tests for the above.
1944 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1946 * gst/gststructure.c: (gst_structure_to_string):
1947 guard against NULL printf - happens when for example
1948 a message structure with GstClock gets serialized
1950 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1952 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1953 Fix presumable copy'n'pasto.
1955 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1957 * gst/elements/gstfakesrc.h:
1958 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1959 * gst/elements/gsttypefindelement.c:
1961 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1962 I wonder if this could actually write +2GB files before
1964 2005-10-13 Andy Wingo <wingo@pobox.com>
1966 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1967 Fix Timmeke Waymans bug.
1968 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1969 string of the proper length to gst_caps_from_string. There's a
1970 potential for, before this fix, that this could cause someone
1971 connecting over the network to cause a segfault if the payload is
1974 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1976 * docs/design/draft-push-pull.txt:
1977 * docs/design/part-overview.txt:
1978 * docs/random/TODO-pre-0.9:
1979 * docs/random/old/ChangeLog.gstreamer:
1980 * gst/base/gstpushsrc.c:
1984 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1986 * gst/glib-compat.c: (gst_flags_get_first_value):
1987 * gst/glib-compat.h:
1988 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1989 (gst_value_compare_double), (gst_value_serialize_flags):
1990 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1993 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1996 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1998 * tools/gst-launch.c: (event_loop):
1999 print out clock nicely
2001 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
2003 * docs/gst/gstreamer-sections.txt:
2005 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
2006 (gst_tag_list_get_date_index):
2007 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
2008 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
2010 2005-10-13 Julien MOUTTE <julien@moutte.net>
2012 * gst/base/gstcollectpads.c: (gst_collectpads_event),
2013 (gst_collectpads_chain):
2014 * gst/base/gstcollectpads.h: Handle newsegment and store informations
2017 2005-10-13 Stefan Kost <ensonic@users.sf.net>
2019 * docs/gst/gstreamer-sections.txt:
2022 * tools/gst-inspect.c: (main):
2023 * tools/gst-launch.c: (main):
2024 * tools/gst-run.c: (main):
2025 * tools/gst-xmlinspect.c: (main):
2026 fix GOption context leaks
2029 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
2033 * win32/common/config.h:
2035 * win32/vs6/grammar.dsp:
2036 * win32/vs6/libgstelements.dsp:
2037 * win32/vs6/libgstreamer.dsp:
2040 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2042 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2043 * gst/base/gstbasesrc.c: (gst_base_src_query):
2044 fix more guint64<->gdouble conversions
2046 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2049 add win32-update target
2050 * win32/common/gstconfig.h:
2051 * win32/common/gstenumtypes.c:
2052 * win32/common/gstenumtypes.h:
2053 * win32/common/gstversion.h:
2054 add files that visual studio can't generate
2056 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2059 add a win32-update target
2062 2005-10-12 Wim Taymans <wim@fluendo.com>
2064 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2065 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2066 * gst/gstelement.c: (gst_element_commit_state),
2067 (gst_element_set_state):
2068 Protect flags with proper lock.
2069 unref provided cached clock in dispose.
2071 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2074 * gst/gstminiobject.h:
2076 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2077 removed unused flags from miniobject
2080 2005-10-12 Wim Taymans <wim@fluendo.com>
2082 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2083 (gst_file_sink_event), (gst_file_sink_render):
2084 Flush before seeking.
2086 2005-10-12 Andy Wingo <wingo@pobox.com>
2088 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2089 always been the case.
2091 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2093 * check/gst/gstbin.c: (GST_START_TEST):
2094 * docs/gst/gstreamer-sections.txt:
2095 * gst/base/gstbasesink.c: (gst_base_sink_init):
2096 * gst/base/gstbasesrc.c: (gst_base_src_init),
2097 (gst_base_src_get_range), (gst_base_src_check_get_range),
2098 (gst_base_src_start), (gst_base_src_stop):
2099 * gst/base/gstbasesrc.h:
2100 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2101 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2102 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2106 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2108 * gst/gstelement.c: (gst_element_is_locked_state),
2109 (gst_element_set_locked_state), (gst_element_commit_state),
2110 (gst_element_set_state):
2112 * gst/gstindex.c: (gst_index_init):
2114 * gst/gstminiobject.h:
2115 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2116 (gst_object_set_parent):
2118 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2119 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2121 * gst/gstpadtemplate.h:
2122 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2123 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2124 * gst/gstpipeline.h:
2125 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2126 (gst_file_index_commit):
2127 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2128 * testsuite/pad/link.c: (gst_test_src_init),
2129 (gst_test_filter_init), (gst_test_sink_init):
2130 * testsuite/states/locked.c: (main):
2131 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2132 moved bitshift from macro to enum definition
2134 2005-10-12 Wim Taymans <wim@fluendo.com>
2136 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2137 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2138 (gst_file_sink_render):
2139 Some more debugging info.
2141 2005-10-12 Wim Taymans <wim@fluendo.com>
2143 * docs/design/part-states.txt:
2144 * tools/gst-launch.c: (main):
2146 Revert non-intentional change.
2148 2005-10-12 Wim Taymans <wim@fluendo.com>
2150 * check/gst/gstbin.c: (GST_START_TEST):
2151 * check/gst/gstelement.c: (GST_START_TEST):
2152 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2153 * check/gst/gstghostpad.c: (GST_START_TEST):
2154 * check/gst/gstpipeline.c: (GST_START_TEST):
2155 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2156 * check/states/sinks.c: (GST_START_TEST):
2157 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2158 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2159 (gst_bin_remove_func), (gst_bin_get_state_func),
2160 (gst_bin_recalc_state), (gst_bin_change_state_func),
2162 * gst/gstelement.c: (gst_element_get_state_func),
2163 (gst_element_get_state), (gst_element_abort_state),
2164 (gst_element_commit_state), (gst_element_set_state),
2165 (gst_element_change_state), (gst_element_change_state_func):
2167 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2168 (gst_pipeline_provide_clock_func):
2169 * gst/gstutils.c: (gst_element_link_pads_filtered):
2170 * tools/gst-launch.c: (main):
2171 * tools/gst-typefind.c: (main):
2172 Use GstClockTime in _get_state() instead of GTimeVal.
2173 Remove old code in gstutils.c
2175 2005-10-12 Andy Wingo <wingo@pobox.com>
2177 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2180 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2181 there is no task. Shouldn't affect any code, as nothing in our
2182 plugins checks this return value.
2183 (gst_pad_stop_task): Also take the stream lock if the pad has no
2186 2005-10-12 Wim Taymans <wim@fluendo.com>
2188 * gst/gstpad.c: (pre_activate), (post_activate),
2189 (gst_pad_activate_pull), (gst_pad_activate_push):
2190 Cleanup activation code. Reset old state if
2193 2005-10-12 Wim Taymans <wim@fluendo.com>
2195 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2196 (gst_base_sink_change_state):
2197 No need to prerol after receiving EOS.
2199 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2200 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2201 * gst/elements/gstidentity.c: (gst_identity_event):
2202 Print events more verbosely.
2204 2005-10-12 Wim Taymans <wim@fluendo.com>
2206 * check/Makefile.am:
2207 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2208 * check/states/sinks2.c:
2209 Moved sinks2 testcode in sinks check.
2211 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2212 (gst_bin_remove_func), (gst_bin_recalc_state),
2213 (gst_bin_change_state_func), (bin_bus_handler):
2214 Fix potential race condition when _get_state() iterated over an
2215 ASYNC element right before it posted a state completion.
2218 Do proper cast here.
2220 * gst/gstevent.c: (gst_event_new_newsegment),
2221 (gst_event_parse_newsegment):
2222 A playback rate of 0.0 is not allowed.
2224 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2226 * win32/common/config.h:
2227 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2228 (_trewinddir), (_ttelldir), (_tseekdir):
2229 * win32/common/dirent.h:
2230 * win32/common/gtchar.h:
2231 * win32/common/libgstbase.def:
2232 * win32/common/libgstreamer.def:
2233 * win32/vs6/grammar.dsp:
2234 * win32/vs6/gst_inspect.dsp:
2235 * win32/vs6/gst_launch.dsp:
2236 * win32/vs6/gstreamer.dsw:
2237 * win32/vs6/libgstbase.dsp:
2238 * win32/vs6/libgstelements.dsp:
2239 * win32/vs6/libgstreamer.dsp:
2240 Visual Studio 6 project files, and a new common directory.
2243 2005-10-11 Wim Taymans <wim@fluendo.com>
2245 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2246 (gst_base_sink_do_sync), (gst_base_sink_query),
2247 (gst_base_sink_change_state):
2248 * gst/base/gstbasesink.h:
2249 Correctly parse newsegment info.
2251 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2253 * gst/gst.c: (init_post):
2254 split plugin paths correctly
2256 2005-10-11 Wim Taymans <wim@fluendo.com>
2258 * check/gst/gstevent.c: (GST_START_TEST):
2259 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2260 (gst_base_sink_change_state):
2261 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2262 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2263 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2264 * gst/gstevent.c: (gst_event_new_newsegment),
2265 (gst_event_parse_newsegment):
2267 Added extra flag to newsegment for future API freeze.
2268 Updated check and base elements.
2270 2005-10-11 Julien MOUTTE <julien@moutte.net>
2272 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2273 (gst_collectpads_add_pad), (gst_collectpads_pop),
2274 (gst_collectpads_event), (gst_collectpads_chain):
2275 * gst/base/gstcollectpads.h: Handle EOS correctly.
2277 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2279 * tools/gst-launch.c: (main):
2280 more null protecting
2282 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2284 * gst/gst-i18n-lib.h:
2285 check for ENABLE_NLS, not GETTEXT_PACKAGE
2286 * gst/gstregistry.c: (gst_registry_add_plugin),
2287 (gst_registry_scan_path_level),
2288 (_gst_registry_remove_cache_plugins):
2289 protect possibly NULL strings
2290 * gst/parse/types.h:
2291 config.h already included before
2292 * tools/gst-inspect.c: (main):
2293 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2294 check for ENABLE_NLS, not GETTEXT_PACKAGE
2295 * tools/gst-launch.c: (main):
2296 check for ENABLE_NLS, not GETTEXT_PACKAGE
2298 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2301 if we don't have glib, fail before testing 2.8
2302 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2303 fix a leak, should fix plugins-base testsuite
2305 2005-10-11 Andy Wingo <wingo@pobox.com>
2307 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2308 take the mode we're going to as an arg. Go head and set the mode
2309 and flushing flags now, so that if the activate function starts a
2310 thread all the flags will be in the right state.
2311 (post_activate): Renamed also. Just handle making sure streaming
2312 finishes for the deactivation case, and setting the deactivated
2314 (gst_pad_set_active): Complain loudly if deactivation fails.
2315 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2316 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2317 remove the terrible hack.
2319 2005-10-11 Wim Taymans <wim@fluendo.com>
2321 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2322 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2323 (gst_bin_recalc_state), (gst_bin_change_state_func),
2324 (gst_bin_dispose), (bin_bus_handler):
2326 Prepare to make current EOS message queue more generic.
2329 * gst/gstevent.c: (gst_event_new_newsegment),
2330 (gst_event_parse_newsegment):
2332 Rename base to stream_time.
2337 2005-10-11 Wim Taymans <wim@fluendo.com>
2339 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2340 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2341 (gst_bin_change_state_func), (bin_bus_handler):
2343 Work on proper clock selection.
2345 2005-10-11 Edward Hervey <edward@fluendo.com>
2347 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2348 * libs/gst/controller/gstcontroller.h:
2349 Added GList* version of _remove_properties() in order to be able to wrap
2352 2005-10-11 Wim Taymans <wim@fluendo.com>
2354 * docs/design/part-states.txt:
2357 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2358 (gst_bin_change_state_func), (bin_bus_handler):
2359 Doc updates. Don't distribute the same clock over and over again.
2365 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2366 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2367 (gst_pad_send_event):
2369 Make probe emission threadsafe again.
2370 Register quarks and move _get_name() from utils.
2373 * gst/gstpipeline.c: (gst_pipeline_class_init),
2374 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2375 Only redistribute the clock of it changed.
2377 * gst/gstsystemclock.h:
2382 Moved the _flow_get_name() to GstPad.
2384 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2386 * check/gst-libs/gdp.c: (GST_START_TEST):
2387 * check/gst/gstcaps.c: (GST_START_TEST):
2388 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2389 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2390 (gst_dp_packet_from_caps):
2391 fix more valgrind warnings before turning up the heat
2393 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2395 * gst/parse/grammar.y:
2396 some cleanup before the hacking
2398 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2400 * gst/base/gstbasesrc.c: (gst_base_src_query):
2402 * gst/gstutils.c: (gst_guint64_to_gdouble),
2403 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2405 externalize, basesrc uses it
2406 obviously the implementation needs testing
2408 2005-10-10 Wim Taymans <wim@fluendo.com>
2410 * tests/sched/Makefile.am:
2411 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2412 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2414 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2416 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2417 apparently converting from guint64 to double is not implemented
2420 2005-10-10 Wim Taymans <wim@fluendo.com>
2422 * check/Makefile.am:
2423 * check/generic/states.c: (GST_START_TEST):
2424 * check/gst/gstbin.c: (GST_START_TEST):
2425 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2426 * check/states/sinks.c: (GST_START_TEST):
2427 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2429 Check fixes, use API as stated in design docs, remove hacks.
2431 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2432 (gst_base_sink_change_state):
2433 Catch stopping our task while we're shutting down.
2435 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2436 (gst_bin_remove_func), (gst_bin_get_state_func),
2437 (gst_bin_recalc_state), (gst_bin_change_state_func),
2440 * gst/gstelement.c: (gst_element_init),
2441 (gst_element_get_state_func), (gst_element_abort_state),
2442 (gst_element_commit_state), (gst_element_lost_state),
2443 (gst_element_set_state), (gst_element_change_state),
2444 (gst_element_change_state_func):
2446 New state change algorithm (see #318116)
2448 * gst/gstpipeline.c: (gst_pipeline_class_init),
2449 (gst_pipeline_init), (gst_pipeline_set_property),
2450 (gst_pipeline_get_property), (do_pipeline_seek),
2451 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2452 * gst/gstpipeline.h:
2453 Remove crude state change hacks.
2458 * tools/gst-launch.c: (main):
2459 Fixes for state change. Needs some more work to fully use the
2462 2005-10-10 Andy Wingo <wingo@pobox.com>
2464 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2466 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2467 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2470 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2472 * gst/gstiterator.c: (gst_iterator_new):
2473 Fix my previous commit: GTypes passed to gst_iterator_new()
2474 can be fundamental types.
2476 2005-10-10 Wim Taymans <wim@fluendo.com>
2478 * gst/gstelement.c: (gst_element_iterate_pad_list),
2479 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2480 (gst_element_iterate_sink_pads):
2481 Use src/sink pads lists for the respective iterators instead
2484 2005-10-10 Andy Wingo <wingo@pobox.com>
2486 Merged in popt removal + GOption addition patch from Ronald, bug
2489 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2490 GstElement macros around, remove popt-related symbols, add goption
2493 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2495 * docs/gst/Makefile.am:
2496 * docs/libs/Makefile.am: No POPT_CFLAGS.
2498 * examples/manual/Makefile.am:
2499 * docs/manual/basics-init.xml: Doc updates with an example.
2501 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2502 (gst_init), (parse_one_option), (parse_goption_arg):
2503 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2504 bit of hand merging and debugging to get the GOption stuff working
2507 * tests/Makefile.am:
2508 * tools/Makefile.am:
2509 * tools/gst-inspect.c: (main):
2510 * tools/gst-launch.c: (main):
2511 * tools/gst-run.c: (main):
2512 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2514 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2516 * gst/gstiterator.c: (gst_iterator_new):
2517 Add assertions to make sure passed GType is likely to really
2518 be a GType (as the compiler won't catch it if the size and
2519 GType arguments get mixed up, see #318447).
2521 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2523 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2525 * gst/gstbin.c: (gst_bin_iterate_sorted):
2526 Pass GType and size arguments to gst_iterator_new() in the right
2527 order (maybe we should make _new() take the GType as first argument
2528 just like _new_list()?) (#318447).
2531 2005-10-10 Wim Taymans <wim@fluendo.com>
2533 * gst/gstelement.c: (gst_element_finalize):
2534 And free the GStaticRecMutex too
2536 2005-10-10 Andy Wingo <wingo@pobox.com>
2538 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2539 Allocate and free the mutex properly.
2541 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2543 (GstElement): The state_lock is now recursive. Rebuild your
2544 plugins, suckers. Old macros adapted.
2546 * docs/gst/gstreamer-sections.txt: Doc updates.
2549 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2550 (g_static_rec_cond_wait): Ported from state changes patch, while
2551 we wait on bug #317802 to be solved in a well-distributed GLib.
2553 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2554 gst_element_change_state, variable name changes.
2555 (gst_element_change_state): Split out of gst_element_set_state in
2556 preparation for the state change merge. Doesn't pay attention to
2557 the 'transition' argument.
2558 (gst_element_set_state): Updates, hopefully purely cosmetic.
2559 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2561 (gst_element_get_state_func): Renamed from get_state, cosmetic
2564 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2566 * gst/elements/gstelements.c:
2567 * win32/GStreamer.vcproj:
2569 * win32/dirent.c: (_tseekdir):
2570 * win32/gst-inspect.vcproj:
2571 * win32/gst-launch.vcproj:
2572 * win32/gstconfig.h:
2573 * win32/gstelements.vcproj:
2574 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2575 * win32/gstreamer.def:
2577 updates for the win32 build (patch from Sebastien Moutte)
2579 2005-10-10 Andy Wingo <wingo@pobox.com>
2581 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2582 gst_bin_get_state, cleaned up (but no logic changes).
2583 (bin_element_is_sink): Comment updates.
2584 (sink_iterator_filter): Remove needless cast.
2585 (gst_bin_iterate_sinks): Doc update.
2586 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2587 cleaned up (but no logic changes).
2589 * check/states/sinks.c (test_src_sink): Cleanups from the state
2591 (test_livesrc_sink): Sync on the state.
2593 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2594 the state change patch.
2596 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2599 * check/gst/gstbin.c: Merge in some style fixes and additional
2600 checks from Wim's state change patch.
2602 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2604 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2605 (gst_type_find_helper):
2606 Check whether we have the requested data already in our list of
2607 cached buffers before pulling a new buffer; also make the buffer
2608 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2610 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2615 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2616 don't use long long, it's not portable. Replacing with
2617 gint64 seems to work; let's hope no skeletons fall out of the closet.
2619 2005-10-10 Andy Wingo <wingo@pobox.com>
2621 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2623 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2625 * docs/gst/gstreamer-sections.txt:
2630 * gst/gstmessage.c: (gst_message_parse_state_changed):
2633 more docs, fix compilation
2635 2005-10-09 Philippe Khalaf <burger@speedy.org>
2637 Fixed a few forgotten variables on previous commit
2639 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2641 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2642 Fix evil typefind crasher: getrange() might return a short
2643 buffer at the end of a file, but gst_type_find_peek() must
2644 either return the full data as requested or NULL, but
2645 never a short buffer.
2647 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2649 * gst/gstmessage.c: (gst_message_new_state_changed),
2650 (gst_message_parse_state_changed):
2652 don't use "new", it's a C++ keyword
2654 2005-10-08 Wim Taymans <wim@fluendo.com>
2656 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2657 * gst/gstelement.c: (gst_element_post_message):
2658 * gst/gstpipeline.c: (gst_pipeline_change_state):
2659 Small docs and debug updates.
2661 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2663 * docs/gst/gstreamer-sections.txt:
2664 * gst/gstelementfactory.c:
2669 2005-10-08 Wim Taymans <wim@fluendo.com>
2671 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2672 (gst_bin_dispose), (bin_bus_handler):
2673 Fix typos, add comments.
2674 Clear EOS list when going to PAUSED from any direction and do it
2675 in a threadsafe way.
2676 Get base time in a threadsafe way too.
2677 Fix confusing debug in the change_state function.
2678 Various other small cleanups.
2680 * gst/gstelement.c: (gst_element_post_message):
2681 Fix very verbose bus posting code.
2683 * gst/gstpipeline.c: (gst_pipeline_class_init),
2684 (gst_pipeline_set_property), (gst_pipeline_get_property),
2685 (gst_pipeline_change_state):
2686 Small ARG_ -> PROP_ cleanup
2688 2005-10-08 Wim Taymans <wim@fluendo.com>
2690 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2691 Do a less CPU demanding EOS check because we can.
2693 2005-10-08 Wim Taymans <wim@fluendo.com>
2695 * libs/gst/dataprotocol/dataprotocol.c:
2696 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2697 (gst_dp_packet_from_event):
2698 * libs/gst/dataprotocol/dataprotocol.h:
2699 * libs/gst/dataprotocol/dp-private.h:
2700 It's about time we bump the version number.
2701 Since event types don't fit in the guint8 anymore describing
2702 the payload type, make payload type 16 bits wide.
2704 2005-10-08 Wim Taymans <wim@fluendo.com>
2706 * docs/design/part-TODO.txt:
2707 * docs/design/part-clocks.txt:
2708 * docs/design/part-events.txt:
2709 * docs/design/part-gstbin.txt:
2710 * docs/design/part-gstelement.txt:
2711 * docs/design/part-gstpipeline.txt:
2712 * docs/design/part-live-source.txt:
2713 * docs/design/part-messages.txt:
2714 * docs/design/part-overview.txt:
2715 * docs/design/part-states.txt:
2718 2005-10-08 Wim Taymans <wim@fluendo.com>
2722 Fix event quark registration.
2723 Add some space between events so we can insert them in the
2726 2005-10-08 Wim Taymans <wim@fluendo.com>
2728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2729 (gst_base_sink_handle_buffer):
2736 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2737 (gst_queue_set_property), (gst_queue_get_property):
2739 Remove old unused properties.
2741 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2742 * docs/gst/gstreamer-sections.txt:
2745 * gst/gstminiobject.c:
2746 * gst/gstminiobject.h:
2750 lots of new docs and doc fixes
2752 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2754 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2756 * gst/gstregistry.c: (gst_registry_lookup_locked),
2757 (gst_registry_scan_path_level):
2758 * gst/gstregistryxml.c: (load_plugin):
2759 Only ever load one plugin for a given plugin basename.
2760 This ensures correct overriding of GST_PLUGIN_PATH over
2761 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2762 system installed plugins.
2764 2005-10-08 Wim Taymans <wim@fluendo.com>
2766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2767 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2768 Prepare for doing QOS.
2770 2005-10-08 Wim Taymans <wim@fluendo.com>
2772 * check/gst/gstbin.c: (GST_START_TEST):
2773 * check/pipelines/cleanup.c: (GST_START_TEST):
2774 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2775 Allow new clock message too.
2777 2005-10-08 Wim Taymans <wim@fluendo.com>
2779 * gst/gstmessage.c: (gst_message_new_error),
2780 (gst_message_new_warning), (gst_message_new_tag),
2781 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2782 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2783 (gst_message_new_segment_start), (gst_message_new_segment_done),
2784 (gst_message_parse_state_changed),
2785 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2786 (gst_message_parse_new_clock):
2788 Also carry the clock in question.
2790 2005-10-08 Wim Taymans <wim@fluendo.com>
2792 * gst/gstmessage.c: (gst_message_new_custom),
2793 (gst_message_new_eos), (gst_message_new_error),
2794 (gst_message_new_warning), (gst_message_new_tag),
2795 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2796 (gst_message_new_new_clock), (gst_message_new_segment_start),
2797 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2798 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2801 Added clock related messages.
2803 * gst/gstpipeline.c: (gst_pipeline_change_state):
2804 Post message when the clock changed.
2806 * tools/gst-launch.c: (event_loop):
2809 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2811 * tools/gst-inspect.c: (print_element_properties_info):
2812 Can't pass NULL strings to g_print() on windows.
2814 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2817 * docs/gst/Makefile.am:
2818 * docs/gst/gstreamer-docs.sgml:
2819 * docs/gst/running.xml:
2820 * docs/version.entities.in:
2821 add a chapter on running GStreamer.
2822 document GST_DEBUG and GST_PLUGIN* env vars
2824 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2829 remove PLUGINS_BUILDDIR stuff
2830 * gst/gst.c: (init_post):
2831 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2833 remove, it was condescending and not needed
2835 2005-10-08 Wim Taymans <wim@fluendo.com>
2837 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2838 (gst_base_sink_handle_object), (gst_base_sink_event),
2839 (gst_base_sink_wait), (gst_base_sink_handle_event),
2840 (gst_base_sink_change_state):
2841 * gst/base/gstbasesink.h:
2842 Repost EOS message while going to PLAYING if still EOS.
2843 Make sure that when receiving a FLUSH_START we don't attempt
2844 to sync on the clock anymore.
2846 2005-10-08 Wim Taymans <wim@fluendo.com>
2848 * tools/gst-launch.c: (event_loop):
2849 Better message printout.
2851 2005-10-08 Wim Taymans <wim@fluendo.com>
2853 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2854 (gst_bin_child_proxy_get_children_count):
2855 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2856 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2857 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2858 (gst_child_proxy_set_valist):
2859 * gst/parse/grammar.y:
2860 Make ChildProxy threadsafe and fix mem leaks.
2862 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2864 * gst/gst.c: (init_post):
2865 debug the GST_PLUGIN_ env vars
2867 2005-10-08 Wim Taymans <wim@fluendo.com>
2869 * check/gst/gstbin.c: (GST_START_TEST):
2870 * check/gst/gstmessage.c: (GST_START_TEST):
2871 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2872 * gst/gstelement.c: (gst_element_commit_state),
2873 (gst_element_lost_state):
2874 * gst/gstmessage.c: (gst_message_new_state_changed),
2875 (gst_message_parse_state_changed):
2877 * tools/gst-launch.c: (event_loop):
2878 Added extra field to STATE_CHANGE message with the pending
2879 state, which will be different from the new state soon.
2881 2005-10-08 Wim Taymans <wim@fluendo.com>
2883 * gst/gstbus.c: (gst_bus_pop):
2885 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2886 Small cleanups and doc updates.
2888 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2890 * gst/gst.c: (init_pre):
2891 * gst/gstbin.c: (gst_bin_add_func):
2892 log distributing clocks and base time
2893 * gst/gstregistry.c: (gst_registry_add_plugin),
2894 (gst_registry_scan_path_level), (gst_registry_scan_path):
2895 clean up the debugging output a little
2896 * gst/gstutils.c: (gst_element_state_get_name):
2897 warn about a memleak (I've actually seen this be used, though
2898 it was probably a bug)
2900 2005-10-07 Wim Taymans <wim@fluendo.com>
2902 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2903 (gst_base_src_init), (gst_base_src_default_newsegment),
2904 (gst_base_src_newsegment), (gst_base_src_do_seek),
2905 (gst_base_src_loop), (gst_base_src_start):
2906 * gst/base/gstbasesrc.h:
2907 Make the newsegment event customizable by subclasses.
2909 2005-10-07 Wim Taymans <wim@fluendo.com>
2911 * gst/gstevent.c: (gst_event_new_buffersize),
2912 (gst_event_parse_buffersize):
2914 New event for future idea.
2916 2005-10-07 Andy Wingo <wingo@pobox.com>
2918 * gst/gstelement.c (gst_element_post_message): Doc update.
2920 * docs/gst/gstreamer-sections.txt: Update.
2922 * gst/gstmessage.c (gst_message_new_application): Made into a
2923 function like honest API calls.
2924 (gst_message_new_element): New message type.
2926 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2928 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2929 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2932 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2933 NO_PREROLL from gst_element_change_state to fall through.
2935 2005-10-07 Wim Taymans <wim@fluendo.com>
2937 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2938 (gst_ghost_pad_do_activate_push):
2939 Activating a ghostpad with no internal pad in push mode
2942 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2945 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2946 Fixes compilation on Windows.
2948 2005-10-07 Michael Smith <msmith@fluendo.com>
2950 * tools/gst-inspect.c:
2951 Print out feature and plugin count at the end when printing out
2954 2005-10-04 Michael Smith <msmith@fluendo.com>
2956 * gst/gsterror.c: (_gst_stream_errors_init):
2957 Add another error string used in a few existing plugins.
2960 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2961 * tools/gst-inspect.c: (print_element_info):
2962 When a feature disappears from a plugin (and the feature exists in
2963 the cached registry file), things went horribly wrong. This isn't a
2964 complete fix, we should actually be removing the 'missing' features
2965 from the features list when we load the actual plugin. That's not
2968 2005-10-04 Johan Dahlin <johan@gnome.org>
2970 * check/gst/gstiterator.c: (GST_START_TEST):
2971 * gst/gstbin.c: (gst_bin_iterate_elements),
2972 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2973 * gst/gstelement.c: (gst_element_iterate_pads):
2974 * gst/gstformat.c: (gst_format_iterate_definitions):
2975 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2976 (gst_iterator_new_list), (gst_iterator_filter):
2977 * gst/gstiterator.h:
2978 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2979 Add a GType to GstIterator, update callsites and tests.
2981 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2983 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2984 give events a chance to be handled by event probes when the pad
2987 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2989 * gst/gstevent.c: (gst_event_type_get_name),
2990 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2992 add string representations for event types
2994 2005-10-06 Wim Taymans <wim@fluendo.com>
2996 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2997 Don't use NULL pointers.
2999 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3001 * gst/gst_private.h:
3005 * gst/gstpluginfeature.c:
3006 widen the debug category in output to fit the biggest one we have
3007 add a bus category and use it
3008 play with the colors
3009 fix up some categories
3011 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
3013 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
3014 add push activation of sink ghost pads.
3015 Andye, please verify
3017 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3019 * gst/gstutils.c: (gst_element_link_pads):
3020 fix a bug in the case where neither element has a pad
3021 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3022 add a test for that case
3024 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
3026 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
3027 emit have-data before checking for peers. This allows
3028 for probe handlers to connect elements. This helps autopluggers.
3029 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
3031 add six checks, linked/unlinked with no/true/false probe
3033 2005-10-04 Wim Taymans <wim@fluendo.com>
3035 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
3036 (gst_fake_sink_event), (gst_fake_sink_preroll),
3037 (gst_fake_sink_render), (gst_fake_sink_change_state):
3038 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
3039 (gst_fake_src_get_property), (gst_fake_src_create),
3040 (gst_fake_src_stop):
3041 * gst/elements/gstidentity.c: (gst_identity_stop):
3042 Protect last_message with lock.
3044 2005-10-04 Edward Hervey <edward@fluendo.com>
3047 Added precision in the comments for GST_FORMAT_DEFAULT
3049 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
3051 * tools/gst-launch.c: (main):
3052 Don't try to run erroneous pipelines.
3054 2005-10-04 Julien MOUTTE <julien@moutte.net>
3056 * gst/gstbus.c: We don't need this header.
3058 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3063 === release 0.9.3 ===
3065 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3069 Releasing 0.9.3, "Unregistered"
3071 2005-10-03 Andy Wingo <wingo@pobox.com>
3073 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3074 whereby calling a pad's activatepush() function can start a thread
3075 that starts to push or pull before the pad gets the FLUSHING flag
3076 unset. Hack around it by holding the stream lock until the flag is
3077 set. Need to replace this with a proper solution. Together with
3078 the ghost pad fixes, this fixes mp3 playing/tagreading.
3080 * docs/design/part-gstghostpad.txt: Add a note about activation of
3081 proxy pads outside of ghost pads.
3083 * gst/gstghostpad.c: Implement the ghost pad activation design.
3085 2005-10-02 Andy Wingo <wingo@pobox.com>
3087 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3088 It is volatile, after all.
3090 * docs/design/part-gstghostpad.txt: Flesh out activation with
3093 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3096 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3099 Fix (unused) AM_CONDITIONAL tests.
3101 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3103 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3105 * gst/gstutils.c: (gst_pad_query_convert):
3106 Add assertion that makes sure src_val is >=0, just like
3107 gst_query_new_convert() has. (#315895)
3109 2005-09-30 Edward Hervey <edward@fluendo.com>
3111 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3112 Let's not iterate pads we're not interested in, it avoids getting
3113 sky-high refcounts on sinkpad.
3115 2005-09-30 Wim Taymans <wim@fluendo.com>
3117 * gst/gstelement.c: (gst_element_set_state),
3118 (gst_element_change_state):
3119 Small tweak, element in ASYNC remains ASYNC.
3121 2005-09-30 Wim Taymans <wim@fluendo.com>
3123 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3124 Only error is an error.
3126 * gst/gstbin.c: (gst_bin_change_state):
3129 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3130 Also call pad_block in pad alloc.
3132 * gst/gstutils.c: (gst_flow_get_name):
3135 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3137 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3138 (gst_base_src_get_range):
3139 Fix documentation typos. Add some more debug info.
3141 2005-09-29 David Schleef <ds@schleef.org>
3143 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3144 more end-user friendly.
3145 * tools/gst-inspect.c: (main): Check if command-line argument is
3146 a file and attempt to load that file as a plugin.
3148 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3150 * check/gst/gstbin.c:
3151 * check/states/sinks.c:
3152 fix tests for the new warning
3153 * check/gst/gstpipeline.c:
3154 add a test for pipeline and bus interaction
3156 elements should be NULL if they get disposed; add a warning if not
3158 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3161 for 2.6 refcounting, make debug log more correct by printing
3162 the actual refcounts at the time of swap (Wim)
3164 2005-09-29 Andy Wingo <wingo@pobox.com>
3166 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3167 removes signal watches previously added via
3168 gst_bus_add_signal_watch.
3169 (gst_bus_add_signal_watch): Don't return the source id, just store
3170 it on the bus if there wasn't an id already.
3172 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3173 add_signal_watch and remove_signal_watch.
3175 2005-09-29 Edward Hervey <edward@fluendo.com>
3177 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3178 Better if we actually iterate the list :)
3180 2005-09-29 Wim Taymans <wim@fluendo.com>
3182 * check/gst/gstbin.c: (GST_START_TEST):
3183 Change for new bus API.
3185 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3186 (send_messages), (GST_START_TEST), (gstbus_suite):
3187 Change for new bus signal API.
3189 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3190 (gst_bus_source_prepare), (gst_bus_source_check),
3191 (gst_bus_create_watch), (gst_bus_add_watch_full),
3192 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3193 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3195 Remove support for multiple GSources operating on different
3196 message types as it is too complex and unneeded when using
3198 Added support for receiving signals from the bus.
3200 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3202 * docs/libs/tmpl/gstdataprotocol.sgml:
3203 * docs/manual/advanced-dataaccess.xml:
3204 * gst/elements/gstcapsfilter.c:
3206 rename filter-caps to caps property
3208 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3210 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3211 More robust fraction string parsing.
3213 * docs/pwg/appendix-porting.xml:
3214 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3216 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3218 * gst/gstcaps.c: (gst_caps_do_simplify):
3219 Thou shalt not free a structure and then continue using it
3220 in the next loop iteration.
3222 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3224 Add test case for caps simplification.
3226 2005-09-29 Wim Taymans <wim@fluendo.com>
3228 * check/gst/gstbin.c: (GST_START_TEST):
3231 2005-09-29 Wim Taymans <wim@fluendo.com>
3233 * check/gst/gstbin.c: (GST_START_TEST):
3236 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3237 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3238 (find_element), (gst_bin_sort_iterator_next),
3239 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3240 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3241 (gst_bin_change_state), (gst_bin_dispose):
3242 A bin does not have a bus, it gets the bus from the parent.
3244 * gst/gstelement.c: (gst_element_requires_clock),
3245 (gst_element_provides_clock), (gst_element_is_indexable),
3246 (gst_element_is_locked_state), (gst_element_change_state),
3247 (gst_element_set_bus_func):
3250 * gst/gstpipeline.c: (gst_pipeline_class_init),
3251 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3252 The pipeline provides a bus.
3254 2005-09-28 Johan Dahlin <johan@gnome.org>
3256 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3257 gst_structure_get_enum instead of gst_structure_get_int
3259 * gst/gststructure.c (gst_structure_get_enum): Impl.
3261 * gst/gststructure.h (gst_structure_get_enum): Add
3263 * docs/gst/gstreamer-sections.txt: Ditto
3265 * gst/gstmessage.c (gst_message_new_state_changed): Use
3266 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3267 which does introspection.
3268 Reviewed by Christian Schaller
3270 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3272 * gst/gstinfo.c: (gst_debug_log_default):
3273 don't do dummy g_strdup()s
3274 * libs/gst/controller/gstcontroller.c:
3275 (on_object_controlled_property_changed),
3276 (gst_controlled_property_new), (gst_controller_new_valist),
3277 (gst_controller_new_list),
3278 (gst_controller_remove_properties_valist), (gst_controller_set),
3279 (gst_controller_get), (gst_controller_sync_values),
3280 (gst_controller_get_value_array), (_gst_controller_class_init),
3281 (gst_controller_get_type):
3282 * libs/gst/controller/gstcontroller.h:
3283 * libs/gst/controller/gstinterpolation.c:
3284 (gst_controlled_property_find_timed_value_node):
3285 convert // to /**/ comments
3287 2005-09-28 Wim Taymans <wim@fluendo.com>
3289 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3290 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3291 (gst_bus_sync_signal_handler):
3293 Added async-message and sync-message signals to the bus.
3294 Added helper BusFunc to emit signals for all posted messages.
3296 * gst/gstmessage.c: (gst_message_type_get_name),
3297 (gst_message_type_to_quark), (gst_message_get_type):
3299 Register quarks for message names.
3301 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3303 * docs/libs/gstreamer-libs-sections.txt:
3304 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3305 (gst_controller_new_list):
3306 * libs/gst/controller/gstcontroller.h:
3307 added another constructor for language bindings
3309 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3311 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3315 * gst/gstinfo.c: (_gst_debug_init):
3316 slightly more readable color for refcount debugging
3318 2005-09-28 Wim Taymans <wim@fluendo.com>
3320 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3321 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3322 (find_element), (gst_bin_sort_iterator_next),
3323 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3324 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3325 (gst_bin_change_state), (gst_bin_dispose):
3326 Small doc fixes. get_clock -> provide_clock.
3328 * gst/gstelement.c: (gst_element_class_init),
3329 (gst_element_provides_clock), (gst_element_provide_clock),
3330 (gst_element_get_clock), (gst_element_commit_state),
3331 (gst_element_lost_state):
3333 Make get/set_clock() symetric. Add provide_clock vmethod since
3334 that is actually what this function does.
3336 * gst/gstpipeline.c: (gst_pipeline_class_init),
3337 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3338 (gst_pipeline_get_clock):
3339 get_clock -> provide_clock.
3341 2005-09-28 Andy Wingo <wingo@pobox.com>
3343 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3344 lieu of real docs...
3346 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3348 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3350 * gst/elements/gstcapsfilter.c:
3351 * gst/elements/gstfakesink.c:
3352 * gst/elements/gstfakesrc.c:
3353 * gst/elements/gstfdsink.c:
3354 * gst/elements/gstfdsrc.c:
3355 * gst/elements/gstfilesink.c:
3356 * gst/elements/gstfilesrc.c:
3357 * gst/elements/gstidentity.c:
3358 * gst/elements/gsttee.c:
3359 * gst/elements/gsttypefindelement.c:
3360 Make element details static.
3362 2005-09-28 Wim Taymans <wim@fluendo.com>
3364 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3365 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3366 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3367 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3368 (gst_bin_change_state), (gst_bin_dispose):
3369 Some documentation updates.
3370 Clean up dispose handlers.
3372 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3373 * gst/gstpad.c: (gst_pad_dispose):
3374 Clean up dispose handler.
3376 * gst/gstpipeline.c: (gst_pipeline_change_state):
3377 Removed spurious UNLOCK.
3379 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3381 * docs/gst/gstreamer-sections.txt:
3382 * gst/base/gstbasesrc.h:
3387 * gst/gstpipeline.c:
3388 * gst/gstpipeline.h:
3391 added two new functions to the docs
3392 documents all undocumented GstXXXFlags
3393 completed some incomplete docs
3395 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3397 * gst/gstbin.c: (gst_bin_dispose):
3398 * gst/gstelement.c: (gst_element_dispose):
3399 remove now useless and leaky resurrection code in dispose
3400 * gst/base/gstbasesrc.c: (gst_base_src_init):
3401 * gst/gstelementfactory.c: (gst_element_factory_create):
3402 * gst/gstobject.c: (gst_object_set_parent):
3405 2005-09-27 Wim Taymans <wim@fluendo.com>
3407 * docs/design/part-TODO.txt:
3410 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3411 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3412 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3413 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3414 (gst_bin_change_state):
3416 Remove element variable, we keep element info in the iterator now.
3418 2005-09-27 Andy Wingo <wingo@pobox.com>
3420 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3423 2005-09-27 Wim Taymans <wim@fluendo.com>
3425 * check/gst/gstbin.c: (GST_START_TEST):
3426 Enable check that works now.
3428 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3429 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3430 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3431 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3432 (gst_bin_change_state):
3434 Redid the state change algorithm using a topological sort algo.
3435 Handles all cases correctly.
3436 Exposed iterator for state change order.
3439 Temp storage for state changes. Need to get rid of this soon.
3441 2005-09-27 Wim Taymans <wim@fluendo.com>
3443 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3444 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3445 (link_fold_func), (gst_pad_proxy_setcaps):
3446 Leak fixes, the fold functions need to unref the passed object and
3447 _get_parent_*() returns ref to parent.
3449 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3451 * check/gst/gstbuffer.c: (test_make_writable):
3452 Plug leak in test case and fix 'make check-valgrind'
3454 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3456 * gst/gstbuffer.c: (gst_subbuffer_init):
3457 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3458 works correctly in all circumstances (we could have just copied
3459 the parent buffer's readonly flag, but conceptually it seems
3460 cleaner to mark all subbuffers as read-only). (based on patch
3461 by Alessandro Decina, #314710).
3463 * check/gst/gstbuffer.c: (create_read_only_buffer),
3464 (test_make_writable), (test_subbuffer_make_writable),
3466 Add some tests for gst_buffer_make_writable().
3468 2005-09-27 Wim Taymans <wim@fluendo.com>
3470 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3471 use gst_object_has_ancestor().
3473 * gst/gstobject.c: (gst_object_has_ancestor):
3475 gst_object_has_ancestor() copied from gstbin.c as it is a
3478 * tests/instantiate/create.c: (create_all_elements):
3479 * tests/lat.c: (handoff_src), (handoff_sink):
3480 * tests/sched/runxml.c: (main):
3481 * tests/seeking/seeking1.c: (main):
3482 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3484 Fix compilation of some tests.
3486 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3489 Remove comment. GST_TYPE_G_ERROR is here to stay,
3490 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3493 2005-09-26 Wim Taymans <wim@fluendo.com>
3495 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3496 Added check that shows error in state change order.
3498 2005-09-26 Wim Taymans <wim@fluendo.com>
3500 * gst/gstbin.c: (gst_bin_change_state):
3501 Make state change function use 3 queues again, we were
3502 adding elements in the wrong order.
3504 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3507 * gst/gstpad.c: (gst_pad_dispose):
3508 Added some debug info first.
3510 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3512 * docs/design/draft-push-pull.txt:
3513 * docs/design/part-events.txt:
3514 * docs/design/part-overview.txt:
3515 * docs/design/part-scheduling.txt:
3516 Replace all _pull_region() with _pull_range()
3518 2005-09-26 Andy Wingo <wingo@pobox.com>
3520 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3522 * check/gst-libs/controller.c: Update for controller api change.
3525 * tests/Makefile.am:
3526 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3527 over by GLib bug 118439.
3529 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3530 routines to a function.
3532 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3534 * libs/gst/controller/gsthelper.c:
3535 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3536 (gst_object_sync_values): Renamed from sink_values. Ugh.
3538 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3540 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3541 Renamed from controller_key, as it is exported.
3543 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3545 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3550 * gst/gstpadtemplate.h:
3553 * gst/gstqueryutils.c:
3554 * gst/gstqueryutils.h:
3555 remove queryutils headers after moving the two used functions
3556 to gstquery. also fixes build problem for gstsiddec
3558 2005-09-26 Michael Smith <msmith@fluendo.com>
3560 * tools/gst-launch.1.in:
3561 Correct documentation in manpage of debug syntax
3563 2005-09-26 Wim Taymans <wim@fluendo.com>
3565 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3566 (gst_base_src_is_seekable), (gst_base_src_change_state):
3567 Some more debugging info.
3569 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3571 * docs/gst/gstreamer-sections.txt:
3572 * gst/base/gstbasetransform.h:
3576 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3578 * docs/gst/.cvsignore:
3579 * docs/gst/tmpl/.cvsignore:
3580 * docs/gst/tmpl/gstpipeline.sgml:
3581 * docs/gst/tmpl/gstplugin.sgml:
3582 * gst/gstpipeline.c:
3585 inlined the last two docs files
3586 removed the tmpl directory from cvs (no more conflicts here!)
3588 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3590 * docs/gst/gstreamer-sections.txt:
3591 * docs/gst/tmpl/.cvsignore:
3592 * docs/gst/tmpl/gstpad.sgml:
3593 * docs/gst/tmpl/gstpadtemplate.sgml:
3595 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3596 (gst_pad_finalize), (gst_pad_set_pad_template):
3598 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3599 (gst_pad_template_class_init), (gst_pad_template_init),
3600 (gst_pad_template_dispose), (name_is_valid),
3601 (gst_static_pad_template_get), (gst_pad_template_new),
3602 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3603 (gst_pad_template_pad_created):
3604 * gst/gstpadtemplate.h:
3605 inlined two more docs
3606 factored gstpadtemplate out of gstpad
3608 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3610 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3611 (test_children_state_change_order_semi_sink):
3612 Fix test case: we can't rely on a fixed state change order when
3613 going from READY => PAUSED because the sink might commit its
3614 new state first when the first buffer created by the source
3615 reaches the sink before the source has finished its change state.
3616 (Test case still fails at times, see #316856, comment 5 onwards)
3618 2005-09-24 Wim Taymans <wim@fluendo.com>
3620 * docs/design/part-events.txt:
3621 * docs/design/part-gstbus.txt:
3622 * docs/design/part-gstpipeline.txt:
3623 * docs/design/part-messages.txt:
3624 * docs/design/part-overview.txt:
3625 * docs/design/part-segments.txt:
3632 * gst/gstiterator.c:
3633 Various documentation updates.
3635 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3638 Well, that's embarassing. Luckily we weren't using
3639 GST_CLOCK_DIFF anywhere.
3641 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3643 * common/gtk-doc.mak:
3644 don't fail on building XML, FC4 slave shows a bunch of doc
3645 missing bits that I don't get
3647 * gst/gstpipeline.c:
3648 * gst/gststructure.c:
3651 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3653 * docs/design/part-gstbin.txt:
3654 * docs/design/part-gstbus.txt:
3656 Add blurb about how the bus goes into flushing mode and
3657 drops all messages when its bin goes from READY into NULL
3660 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3662 * docs/gst/gstreamer-sections.txt:
3663 * gst/gststructure.c: (gst_structure_get_clock_time):
3664 * gst/gststructure.h:
3665 add a method to get a GstClockTime out of a structure
3667 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3669 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3670 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3671 Added test to check state change order in bins (can still be made
3672 to fail here under heavy disk load; bails out with 'Push on pad
3673 fakesink:sink0, but it was not activated in push mode').
3675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3676 Fix state change order when there is only a semi sink (#316856)
3678 * gst/gstbus.c: (gst_bus_class_init):
3679 Use _class_peek_parent(), not _class_ref(); fix docs to say
3680 'default main context' instead of 'mainloop' where that is
3683 * gst/gstelement.c: (gst_element_commit_state),
3684 (gst_element_set_state):
3685 Fix typos in debug messages
3687 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3690 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3691 * gst/gstpluginfeature.c:
3694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3695 change an assert into an error until it gets fixed properly
3697 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3699 * docs/gst/gstreamer-sections.txt:
3700 * docs/gst/tmpl/.cvsignore:
3701 * docs/gst/tmpl/gstelement.sgml:
3702 * docs/gst/tmpl/gstinfo.sgml:
3703 * docs/gst/tmpl/gstobject.sgml:
3708 * gst/gstobject.c: (gst_object_class_init):
3710 inlined 3 more biiiig doc files and added some missing docs on the fly
3712 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3714 * check/gst/.cvsignore:
3715 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3716 * gst/gstregistryxml.c: (load_plugin),
3717 (gst_registry_xml_save_plugin):
3718 put back source in registry. add checks for find_plugin.
3719 * testsuite/states/bin.c: (assert_state), (empty_bin),
3720 (test_adding_one_element), (main):
3721 * testsuite/states/locked.c: (main):
3722 some compile/run fixes
3724 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3726 * check/gst/gstvalue.c: (GST_START_TEST):
3727 fix leaks in the test itself
3729 2005-09-22 Wim Taymans <wim@fluendo.com>
3731 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3732 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3733 (gst_base_sink_query):
3734 Prepare for more accurate position reporting and query
3737 * gst/gstelement.c: (gst_element_send_event),
3738 (gst_element_set_state):
3741 2005-09-22 Wim Taymans <wim@fluendo.com>
3743 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3744 (gst_query_parse_segment):
3747 Add segment query for future use.
3749 2005-09-22 Wim Taymans <wim@fluendo.com>
3751 * gst/gstbin.c: (gst_bin_add_func):
3752 Some more debug info.
3754 * gst/gstelement.c: (gst_element_send_event):
3758 Don't know how flags got broken.
3763 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3765 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3766 Add simplistic test suite for GST_TYPE_DATE serialisation and
3769 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3771 * docs/gst/gstreamer-sections.txt:
3772 * gst/gststructure.c: (gst_structure_set_valist),
3773 (gst_structure_get_date):
3774 * gst/gststructure.h:
3775 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3776 (gst_date_copy), (gst_value_compare_date),
3777 (gst_value_serialize_date), (gst_value_deserialize_date),
3778 (gst_value_transform_date_string),
3779 (gst_value_transform_string_date), (_gst_value_initialize):
3781 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3782 bunch of utility functions along with a hack that checks that
3783 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3784 is required. Part of the grand scheme in #170777.
3786 2005-09-22 Andy Wingo <wingo@pobox.com>
3788 * gst/gstconfig.h.in: Psych out gtk-doc.
3790 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3792 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3794 * tools/gst-inspect.c (print_element_list): Plug some
3795 inconsequential leaks.
3797 * gst/gstregistry.c (gst_registry_get_default): Doc.
3799 * check/gst/gstplugin.c:
3800 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3801 * gst/gstelementfactory.c (gst_element_factory_create):
3802 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3805 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3806 (gst_plugin_feature_load): Doc, don't eat refs.
3808 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3809 (gst_plugin_list_free): Doc.
3810 (gst_plugin_load_file): Doc updates.
3812 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3813 accessors returning refcounted objects, return a ref.
3815 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3816 accessor for caps. IDEMPOTENCE. Oh yes.
3818 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3820 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3822 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3823 (_gst_debug_register_funcptr):
3824 Add mutex to serialise access to the hash table with
3825 the function pointer => function name string mapping;
3826 make that hash table static scope (#316809).
3828 * gst/registries/.cvsignore:
3829 Remove left-over file.
3831 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3833 * docs/pwg/appendix-porting.xml:
3834 And something about newsegment events and caps-on-buffers to
3835 the porting guide (feel free to improve).
3837 2005-09-21 Andy Wingo <wingo@pobox.com>
3839 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3840 data and event probes on the same pad.
3841 (test_buffer_probe_once): Test that removing probes from within
3842 the probe functions works.
3844 2005-09-21 Andy Wingo <wingo@pobox.com>
3846 * check/gst/gstutils.c: New file.
3847 (test_buffer_probe_n_times): A simple buffer probe test. More to
3850 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3851 have-data::buffer, not have-data.
3852 (gst_pad_add_event_probe): Likewise for have-data::event.
3853 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3854 peer' isn't quite right yet though.
3855 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3856 (gst_pad_remove_data_probe): Change to take the guint handler_id
3857 as their arg, not the function+data, which is more glib-like.
3859 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3860 the signal emission to indicate if the data is a buffer or an
3862 (gst_pad_get_type): Initialize buffer and event quarks.
3863 (gst_pad_class_init): have-data is now a detailed signal, yes it
3866 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3868 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3869 * gst/gstutils.c: (gst_util_set_value_from_string),
3870 (gst_util_set_object_arg):
3871 Don't put functional code in g_return_if_fail() or
3872 g_return_val_if_fail() statements, otherwise things will
3873 break when G_DISABLE_CHECKS is defined during compilation.
3875 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3877 * docs/gst/tmpl/.cvsignore:
3878 * docs/gst/tmpl/gstvalue.sgml:
3881 inlied another one and added some obvious docs
3883 2005-09-21 Wim Taymans <wim@fluendo.com>
3885 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3886 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3887 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3888 (gst_fdsrc_get_property), (gst_fdsrc_create):
3889 * gst/elements/gstfdsrc.h:
3890 Properly implement fdsrc. Removed signal and timeout,
3891 better implemented somewhere else.
3893 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3895 * docs/gst/tmpl/.cvsignore:
3896 * docs/gst/tmpl/gstimplementsinterface.sgml:
3897 * gst/gstinterface.c:
3900 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3902 * docs/gst/gstreamer-sections.txt:
3903 * docs/gst/tmpl/.cvsignore:
3904 * docs/gst/tmpl/gstenumtypes.sgml:
3905 remove obsolete doc file
3907 2005-09-21 David Schleef <ds@schleef.org>
3909 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3910 little beer, fix a little leak.
3912 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3914 * docs/gst/gstreamer-docs.sgml:
3915 * docs/gst/gstreamer-sections.txt:
3916 * docs/gst/tmpl/.cvsignore:
3921 * gst/gstindex.c: (gst_index_class_init):
3923 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3924 (gst_index_factory_class_init), (gst_index_factory_init),
3925 (gst_index_factory_finalize), (gst_index_factory_new),
3926 (gst_index_factory_destroy), (gst_index_factory_find),
3927 (gst_index_factory_create), (gst_index_factory_make):
3928 * gst/gstindexfactory.h:
3929 * gst/gstpluginfeature.c:
3930 * gst/gstpluginfeature.h:
3931 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3932 more docs inlined, splitted gstindex.{c,h}
3934 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3936 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3939 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3941 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3942 Set sync to FALSE by default.
3944 2005-09-20 Wim Taymans <wim@fluendo.com>
3946 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3947 (gst_base_sink_init):
3948 Make sync property settable from subclass.
3950 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3951 (gst_fake_sink_change_state):
3952 Set sync to FALSE by default.
3954 2005-09-20 Wim Taymans <wim@fluendo.com>
3956 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3957 * tools/gst-launch.c: (main):
3958 The timeout handler should have lower priority than the source
3959 so we don't timeout before popping a message with 0 timeout.
3960 Dump error messages after failed state change.
3962 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3964 * tools/gst-inspect.c: (print_element_properties_info):
3967 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3969 * check/gst/gstevent.c:
3970 * gst/elements/gstfakesink.c:
3971 * gst/elements/gstfakesink.h:
3972 remove the sync property from fakesink.
3973 has the side effect of setting sync TRUE
3974 for fakesink, which is a change. Anyone who knows how
3975 to fix this nicely in a GObject-y way, feel free.
3977 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3979 * docs/gst/gstreamer-docs.sgml:
3980 remove probe refsection
3982 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3984 * check/Makefile.am:
3985 disable valgrinding the controller test again
3986 * docs/gst/gstreamer-sections.txt:
3987 update for api-changes
3989 2005-09-20 Wim Taymans <wim@fluendo.com>
3991 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3992 (gst_base_sink_set_property), (gst_base_sink_get_property),
3993 (gst_base_sink_do_sync):
3994 * gst/base/gstbasesink.h:
3995 Added sync property to basesink to disable clock sync.
3997 2005-09-20 Andy Wingo <wingo@pobox.com>
3999 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
4000 eating the caller's refcount.
4002 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
4003 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
4006 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
4007 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
4008 of GLib 2.8 public, so we can know which refcount to check in
4011 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
4012 (gst_object_init): Only set the gst refcount if we're going ahead
4013 with the refcount hack.
4015 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4017 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4018 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
4019 more leaks plumbed, added more debug-logging
4023 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4026 remove include of gstmemchunk.h
4028 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4030 * gst/gstclock.c: (_gst_clock_id_free):
4031 Commit from the Political Party For More Atomic CVS Commits,
4032 so that people don't waste too much of their day fishing
4033 out obvious leaks out of massive commits.
4034 Oh, and fix a pretty damn obvious leak in the memchunk
4037 2005-09-20 Stefan Kost <ensonic@users.sf.net>
4039 * check/Makefile.am:
4040 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
4041 plug mem-leak, re-add to valgrindable tests
4043 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
4046 unbreak the build for those who have chronic arthritis
4047 and typing "make check" is just too taxing on the hands
4049 2005-09-20 Andy Wingo <wingo@pobox.com>
4051 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
4052 really want it out, you should fix plugins at the same time.
4054 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4057 * docs/gst/gstreamer-sections.txt:
4059 added missing symbols to api docs
4060 disable ref-count hack if we have glib >= 2.8
4062 2005-09-19 David Schleef <ds@schleef.org>
4064 * docs/gst/Makefile.am: Ignore a few more internal headers
4065 * docs/gst/gstreamer-docs.sgml: Remove old sections
4066 * docs/gst/gstreamer-sections.txt: Remove old sections
4067 * docs/gst/tmpl/gstobject.sgml: update
4068 * docs/gst/tmpl/gstplugin.sgml: update
4069 * docs/gst/tmpl/gstpluginfeature.sgml: update
4070 * docs/random/ds/0.9-suggested-changes: update.
4071 * gst/Makefile.am: remove memchunk and trashstack, since they're
4073 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4074 * gst/gst.h: don't include some headers
4075 * gst/gstchildproxy.c: add gstmarshal.h
4076 * gst/gstclock.c: Don't use memchunks
4077 * gst/gstminiobject.c: Add some docs
4078 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4079 * gst/gstobject.h: same
4080 * gst/gstplugin.c: include gstmacros.h
4081 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4082 * gst/gstquery.c: don't use memchunks
4083 * gst/gstregistry.c: rename gst_registry_deinit()
4084 * gst/gstregistry.h: same
4086 2005-09-19 David Schleef <ds@schleef.org>
4088 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4089 * docs/libs/gstreamer-libs-sections.txt:
4090 * docs/libs/tmpl/gstgetbits.sgml:
4091 * docs/libs/tmpl/gstputbits.sgml:
4093 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4095 * win32/gstenumtypes.c:
4096 * win32/gstenumtypes.h:
4099 2005-09-19 Wim Taymans <wim@fluendo.com>
4101 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4102 Automatically PAUSE and RESUME a pipeline when a flushing seek
4105 2005-09-19 Andy Wingo <wingo@pobox.com>
4107 * gst/gstregistry.h: Spacing fixen.
4109 2005-09-19 Wim Taymans <wim@fluendo.com>
4111 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4112 Handle state change failure more correctly.
4114 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4116 * check/Makefile.am:
4117 * check/pipelines/cleanup.c: (run_pipeline):
4118 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4120 enable cleanup again after fixing the leak
4122 some more info on docs
4124 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4126 * check/Makefile.am:
4127 re-enable tests now that leaks are plugged
4129 * check/gst/gstbin.c:
4130 * check/gst/gstpipeline.c:
4131 add some more tests while fixing leaks
4133 make sure binaries are uptodate when valgrinding/gdbing
4135 * gst/gstelementfactory.c:
4136 remove a ref too many, and add a FIXME for when we get
4137 round to disposing of classes
4139 fix the refcounting when loading a plugin from a file and
4140 the code pretends that the pointer is the same even though
4141 of course it can change
4142 * gst/gstpluginfeature.c:
4143 unref plugins marked cached (a bit confusing as a name)
4144 as the docs state should be done
4145 various doc additions to explain refcounting
4146 * gst/gstregistry.c:
4147 * gst/gstregistryxml.c:
4150 2005-09-19 Wim Taymans <wim@fluendo.com>
4152 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4153 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4154 (send_messages), (GST_START_TEST), (gstbus_suite):
4155 * check/gst/gstpipeline.c: (GST_START_TEST):
4156 * check/pipelines/cleanup.c: (run_pipeline):
4157 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4159 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4160 (gst_bus_source_check), (gst_bus_source_dispatch),
4161 (gst_bus_create_watch), (gst_bus_add_watch_full),
4162 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4164 * tools/gst-launch.c: (event_loop):
4165 * tools/gst-md5sum.c: (event_loop):
4166 GstBusHandler -> GstBusFunc, return value has the same meaning as
4167 any other GSource (FALSE == remove source).
4168 _add_watch() and _add_watch_full() now take a MessageType mask to
4169 only handle specific types of messages.
4170 _poll() returns the GstMessage instead of the message type to avoid
4172 _have_pending() takes a MessageType mask now too.
4173 Added testsuite for multiple bus watches.
4174 Fix testsuites and applications for new bus API.
4176 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4178 * check/Makefile.am:
4179 mark a bunch of the tests as to fix until we fix them
4181 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4184 use GST_PLUGIN settings for valgrind tests as well, so we're
4185 valgrinding the correct thing
4186 * gst/gst.c: (init_post):
4189 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4191 * gst/gst.c: (init_post), (gst_deinit):
4192 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4193 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4194 * gst/gstindex.c: (gst_index_factory_class_init),
4195 (gst_index_factory_finalize):
4196 * gst/gstobject.c: (gst_object_dispose):
4197 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4198 (gst_plugin_load_file), (gst_plugin_desc_free):
4199 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4200 (gst_plugin_feature_finalize):
4201 * gst/gstregistry.c: (gst_registry_class_init),
4202 (gst_registry_init), (gst_registry_finalize),
4203 (gst_registry_get_default), (gst_registry_deinit):
4204 * gst/gstregistry.h:
4205 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4206 various cleanups and memleak plugging. make valgrind is happy now.
4208 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4211 add a check-valgrind target
4213 2005-09-18 David Schleef <ds@schleef.org>
4215 * tools/gst-inspect.c: Revert the GOption code.
4217 2005-09-17 David Schleef <ds@schleef.org>
4219 * check/Makefile.am: Fix environment variables.
4220 * check/gst/gstplugin.c: Fix for API changes.
4221 * tools/gst-inspect.c: Fix for API changes.
4222 * tools/gst-xmlinspect.c: Fix for API changes.
4223 * gst/gstelementfactory.c:
4226 * gst/gstpluginfeature.c:
4227 * gst/gstpluginfeature.h:
4228 * gst/gstregistry.c:
4229 * gst/gstregistry.h:
4230 * gst/gstregistryxml.c:
4231 * gst/gsttypefind.c:
4232 * gst/gsttypefindfactory.c:
4233 * gst/indexers/gstfileindex.c:
4234 * gst/indexers/gstmemindex.c:
4235 * gst/schedulers/Makefile.am:
4236 Change registry to keep track of both plugins and features,
4237 removing the feature tracking from plugins themselves.
4239 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4241 * check/Makefile.am:
4242 * tools/gst-register.1.in:
4245 2005-09-15 David Schleef <ds@schleef.org>
4247 * check/gst/gstplugin.c:
4248 * gst/gstelementfactory.c:
4250 * gst/gstpluginfeature.c:
4251 * gst/gstregistry.c:
4252 Getting tired of debugging. Disabled all the unreffing of
4253 plugins and features, which fixes the segfaults, but of
4254 course leaks like crazy. At least playbin works.
4256 2005-09-15 David Schleef <ds@schleef.org>
4258 * check/gst/gstplugin.c: (register_check_elements),
4259 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4261 * gst/elements/gsttypefindelement.c: Fix refcounting.
4262 * gst/gsttypefind.c:
4263 * gst/gsttypefindfactory.c:
4264 * gst/gsttypefindfactory.h:
4266 2005-09-15 David Schleef <ds@schleef.org>
4268 * gst/gstindex.c: get refcounting correct.
4269 * gst/gstregistry.c: Handle the case where a feature/plugin is
4272 2005-09-15 David Schleef <ds@schleef.org>
4274 * check/Makefile.am:
4275 * check/gst/gstplugin.c: Add test
4276 * gst/gstplugin.c: Fix problems noticed by testsuite
4278 * gst/gstregistry.c:
4279 * gst/gstregistry.h:
4281 2005-09-15 David Schleef <ds@schleef.org>
4283 * gst/gstplugin.c: Implement semi-decent recounting and locking
4284 in plugins and plugin features.
4286 * gst/gstpluginfeature.c:
4287 * gst/gstpluginfeature.h:
4288 * gst/gstregistry.c:
4290 2005-09-15 Michael Smith <msmith@fluendo.com>
4292 * gst/gstregistry.c: (gst_registry_get_feature_list):
4293 Implement this. Makes oggdemux work; decodebin still broken.
4295 2005-09-14 David Schleef <ds@schleef.org>
4297 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4299 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4300 * gst/check/Makefile.am:
4301 * libs/gst/controller/Makefile.am:
4302 * libs/gst/dataprotocol/Makefile.am:
4304 2005-09-14 David Schleef <ds@schleef.org>
4306 * configure.ac: Remove getbits library. Nothing uses it, and
4307 it should be in something like liboil if someone did want
4309 * libs/gst/Makefile.am:
4310 * libs/gst/getbits/Makefile.am:
4311 * libs/gst/getbits/gbtest.c:
4312 * libs/gst/getbits/getbits.c:
4313 * libs/gst/getbits/getbits.h:
4314 * libs/gst/getbits/gstgetbits_generic.c:
4315 * libs/gst/getbits/gstgetbits_i386.s:
4316 * libs/gst/getbits/gstgetbits_inl.h:
4318 2005-09-14 David Schleef <ds@schleef.org>
4320 * gst/Makefile.am: Dist glib-compat.h
4322 2005-09-14 David Schleef <ds@schleef.org>
4324 * configure.ac: Remove gst/registries, since it's no longer used.
4325 * gst/registries/Makefile.am:
4326 * gst/registries/gstlibxmlregistry.c:
4327 * gst/registries/gstlibxmlregistry.h:
4328 * gst/registries/gstxmlregistry.c:
4329 * gst/registries/gstxmlregistry.h:
4330 * gst/registries/registrytest.c:
4332 2005-09-14 David Schleef <ds@schleef.org>
4334 * gst/glib-compat.h:
4335 * gst/gstregistryxml.c:
4336 Convergence is near. Seriously.
4338 2005-09-14 David Schleef <ds@schleef.org>
4340 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4341 * gst/glib-compat.h:
4342 Attempt #4 to appease the buildbots.
4344 2005-09-14 David Schleef <ds@schleef.org>
4346 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4349 2005-09-14 David Schleef <ds@schleef.org>
4351 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4354 2005-09-14 David Schleef <ds@schleef.org>
4356 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4359 2005-09-14 David Schleef <ds@schleef.org>
4361 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4362 * gst/glib-compat.h: Add some functions that are in newer versions
4363 of glib than we care to require.
4364 * gst/gstregistryxml.c: Use them.
4366 2005-09-14 David Schleef <ds@schleef.org>
4368 * po/POTFILES.in: remove gst-register.c
4370 2005-09-14 David Schleef <ds@schleef.org>
4372 * docs/gst/gstreamer-docs.sgml:
4373 * docs/gst/gstreamer-sections.txt:
4374 * docs/gst/gstreamer.types:
4375 * docs/gst/tmpl/gstelement.sgml:
4376 * docs/gst/tmpl/gstplugin.sgml:
4377 * docs/gst/tmpl/gstpluginfeature.sgml:
4378 Documentation updates for registry changes.
4380 2005-09-14 David Schleef <ds@schleef.org>
4382 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4383 because we don't require glib-2.8.
4385 2005-09-14 David Schleef <ds@schleef.org>
4387 * gst/gstregistryxml.c: Added. Essentially moved out of the
4388 registries directory.
4390 2005-09-14 David Schleef <ds@schleef.org>
4392 * check/Makefile.am:
4393 * check/generic/states.c:
4397 * gst/gst_private.h:
4398 * gst/gstelementfactory.c:
4403 * gst/gstpluginfeature.c:
4404 * gst/gstpluginfeature.h:
4405 * gst/gstregistry.c:
4406 * gst/gstregistry.h:
4407 * gst/gstregistrypool.c: remove
4408 * gst/gstregistrypool.h: remove
4409 * gst/gsttypefind.c:
4410 * gst/gsttypefindfactory.c:
4412 * tools/Makefile.am:
4413 * tools/gst-compprep.c:
4414 * tools/gst-inspect.c:
4415 * tools/gst-register.c: remove
4416 * tools/gst-xmlinspect.c:
4417 Registry rewrite. Changes registry from being a file created
4418 by a tool into a simple cache file created automatically by
4419 libgstreamer. Removed gst-register (because it's no longer
4420 needed). Remove registry pools, because we only have one
4421 registry implementation (XML). Fix up other subsystems as
4424 2005-09-13 Michael Smith <msmith@fluendo.com>
4426 * gst/gstconfig.h.in:
4427 Don't Use windows linking attributes for MinGW. Fixes #316157
4429 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4431 * gst/gstutils.c: (set_state_async_thread_func),
4432 (gst_element_set_state_async):
4433 Apparently people think it's better if this function doesn't
4434 try to set the state to whatever state was asked for on the first
4435 call to this function for any object. Seriously.
4437 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4439 * check/gst/gstpipeline.c: (GST_START_TEST):
4440 * docs/gst/gstreamer-sections.txt:
4441 * gst/gstutils.c: (set_state_async_thread_func),
4442 (gst_element_set_state_async):
4444 add a "gst_element_set_state_async" method that
4445 sets the state and starts a thread to make sure the state
4446 change completes as best as it can
4448 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4450 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4451 codify design+behaviour in testsuite after discussion
4453 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4455 * docs/gst/tmpl/gstelement.sgml:
4456 * docs/manual/appendix-quotes.xml:
4458 * gst/gstelement.c: (gst_element_set_state):
4461 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4463 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4464 (gst_base_transform_prepare_output_buf),
4465 (gst_base_transform_handle_buffer):
4466 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4467 (gst_capsfilter_prepare_buf):
4468 Remove the requirement for sub-classes to call the parent
4469 implementation of prepare_output_buffer with a wrapper function.
4472 * gst/gsttagsetter.h:
4475 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4477 * docs/gst/gstreamer-sections.txt:
4480 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4482 * docs/gst/gstreamer-sections.txt:
4483 * docs/gst/tmpl/gstelement.sgml:
4484 * docs/gst/tmpl/gstplugin.sgml:
4485 * gst/gstminiobject.c:
4487 docs now stop throwing warnings
4489 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4491 * docs/gst/gstreamer-sections.txt:
4492 * docs/gst/gstreamer.types:
4493 * docs/gst/tmpl/gstpad.sgml:
4494 * docs/gst/tmpl/gsttypes.sgml:
4495 * gst/base/gstadapter.h:
4496 * gst/base/gstbasesink.h:
4497 * gst/base/gstbasesrc.h:
4507 * gst/gststructure.c:
4508 * gst/registries/gstlibxmlregistry.h:
4509 various documentation fixes
4511 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4513 * docs/gst/gstreamer-sections.txt:
4514 * docs/gst/tmpl/gstvalue.sgml:
4515 rearrange gstvalue section
4516 * gst/gstutils.c: (gst_element_state_get_name):
4518 * gst/gstvalue.c: (_gst_value_initialize):
4522 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4524 * check/gst-libs/controller.c:
4526 * gst/base/gstbasetransform.c:
4527 (gst_base_transform_default_prepare_buf),
4528 (gst_base_transform_handle_buffer):
4529 * gst/base/gstbasetransform.h:
4530 Some more basetransform changes and fixes to enable sub-classes
4531 that modify buffer metadata only.
4532 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4533 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4534 (gst_capsfilter_prepare_buf):
4535 If the output pad has fixed allowed caps and input buffers
4536 don't have any, set the fixed caps on outgoing buffers.
4538 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4539 * check/elements/identity.c: (GST_START_TEST):
4540 Make the error a little clearer when the test fails because
4541 identity made a copy of the buffer.
4542 * docs/gst/gstreamer-sections.txt:
4543 New symbols in gstbasetransform.h
4544 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4545 (gst_base_transform_init), (gst_base_transform_transform_size),
4546 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4547 (gst_base_transform_default_prepare_buf),
4548 (gst_base_transform_get_unit_size),
4549 (gst_base_transform_buffer_alloc),
4550 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4551 (gst_base_transform_change_state),
4552 (gst_base_transform_set_passthrough),
4553 (gst_base_transform_set_in_place),
4554 (gst_base_transform_is_in_place):
4555 * gst/base/gstbasetransform.h:
4556 Change BaseTransform to separate in_place operate from same_caps
4557 output. in_place implies that the element can perform the transform
4558 on incoming buffers in-place, even if the caps on the output are
4560 Sub-class elements can now implement special buffer allocation
4561 methods for outgoing buffers if they wish to.
4562 Big documentation addition.
4563 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4564 * gst/elements/gstelements.c:
4565 Changes for basetransform modifications.
4566 * gst/elements/Makefile.am:
4567 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4568 Compile fix. Extra debug output.
4570 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4572 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4574 add tests for valid pad naming
4575 * gst/check/gstcheck.c: (gst_check_log_message_func),
4576 (gst_check_log_critical_func):
4578 remove printing of code, it is fragile when the code contains
4579 % and the line number is enough info
4580 * gst/check/gstcheck.h:
4581 * gst/gstpad.c: (gst_pad_template_new):
4584 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4587 say what CHECK flags we use
4588 * docs/libs/gstreamer-libs.types:
4589 * libs/gst/controller/Makefile.am:
4590 * libs/gst/controller/gst-controller.c:
4591 * libs/gst/controller/gst-controller.h:
4592 * libs/gst/controller/gst-helper.c:
4593 * libs/gst/controller/gst-interpolation.c:
4594 * libs/gst/controller/gstcontroller.c:
4595 * libs/gst/controller/gsthelper.c:
4596 * libs/gst/controller/gstinterpolation.c:
4597 * tools/gst-inspect.c: (print_plugin_info):
4598 we don't use dashes in header names
4600 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4602 * check/Makefile.am:
4603 * check/gst/.cvsignore:
4604 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4605 (gst_pipeline_suite), (main):
4606 adding a test for pipelines and state changes
4607 * gst/gstutils.c: (get_state_func):
4609 * gstreamer.spec.in:
4612 2005-09-08 Michael Smith <msmith@fluendo.com>
4614 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4615 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4616 (gst_file_src_is_seekable), (gst_file_src_get_size),
4617 (gst_file_src_start):
4618 * gst/elements/gstfilesrc.h:
4619 Various fixes for unseekable, unmmapable, and non-normal files, so
4620 that fallback to read() rather than mmap() works.
4621 * gst/gstevent.c: (gst_event_new_newsegment):
4622 Allow newsegment events with segment_start == segment_end, as will
4623 correctly happen if you use filesrc on a zero-size file, for
4626 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4628 * gst/gstplugin.c: (gst_plugin_load_file):
4629 Call g_module_close when we don't load the module
4631 * gst/registries/gstlibxmlregistry.c:
4632 (gst_xml_registry_get_property):
4633 Port leak fix from 0.8
4635 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4637 * docs/gst/gstreamer-docs.sgml:
4638 * docs/gst/tmpl/.cvsignore:
4639 * docs/gst/tmpl/gsttrace.sgml:
4640 * docs/gst/tmpl/gsttrashstack.sgml:
4649 * gst/gsttaginterface.c:
4650 * gst/gsttaginterface.h:
4653 * gst/gsttagsetter.c:
4654 * gst/gsttagsetter.h:
4657 * gst/gsttrashstack.c:
4658 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4659 inlined docs for gsttrace, gsttrashstack
4661 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4664 * gst/elements/gstbufferstore.h:
4665 * gst/elements/gsttypefindelement.c:
4666 * gst/elements/gsttypefindelement.h:
4668 * gst/gsttypefind.c:
4669 * gst/gsttypefind.h:
4670 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4671 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4672 (gst_type_find_factory_dispose),
4673 (gst_type_find_factory_unload_thyself),
4674 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4675 (gst_type_find_factory_get_caps),
4676 (gst_type_find_factory_get_extensions),
4677 (gst_type_find_factory_call_function):
4678 * gst/gsttypefindfactory.h:
4679 * gst/registries/gstlibxmlregistry.c:
4680 * gst/registries/gstxmlregistry.c:
4681 splitted gsttypefind into gsttypefind, gsttypefindfactory
4683 2005-09-07 Andy Wingo <wingo@pobox.com>
4685 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4686 condition whereby the pad's task function is entered before the
4687 pad_mode variable was set.
4689 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4691 * gst/gstpad.c: (gst_pad_alloc_buffer):
4692 Catch misbehaving pad_alloc functions that don't
4693 set up caps and do it for them.
4695 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4697 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4699 * docs/gst/tmpl/.cvsignore:
4700 * docs/gst/tmpl/gstmemchunk.sgml:
4701 * docs/gst/tmpl/gstparse.sgml:
4702 * docs/gst/tmpl/gsttaglist.sgml:
4703 * docs/gst/tmpl/gsttagsetter.sgml:
4704 * docs/gst/tmpl/gsttypefind.sgml:
4705 * docs/gst/tmpl/gsttypefindfactory.sgml:
4706 * gst/gstmemchunk.c:
4709 * gst/gsttaginterface.c:
4710 * gst/gsttypefind.c:
4711 * gst/gsttypefind.h:
4714 === release 0.9.2 ===
4716 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4721 releasing 0.9.2, "South"
4723 2005-09-05 Andy Wingo <wingo@pobox.com>
4725 * gst/registries/gstxmlregistry.h:
4726 * gst/registries/gstxmlregistry.c: Um... resurrect...
4728 * gst/registries/gstxmlregistry.h:
4729 * gst/registries/gstxmlregistry.c: and update to newer API.
4730 Incidentally they should be a bit faster now that they don't have
4733 2005-09-05 Andy Wingo <wingo@pobox.com>
4735 * gst/registries/gstxmlregistry.h:
4736 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4737 replaced by the libxml registry a while back
4739 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4741 * docs/gst/tmpl/gstplugin.sgml:
4742 * gst/elements/gstelements.c:
4744 * gst/gstplugin.c: (gst_plugin_register_func),
4745 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4746 (gst_plugin_get_source):
4748 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4749 (gst_xml_registry_save_plugin):
4750 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4751 (gst_xml_registry_save_plugin):
4752 * tools/gst-inspect.c: (print_plugin_info):
4753 add a "source" plugin description field, to represent the source
4754 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4755 will set it to PACKAGE, which is automake's idea of the name of
4758 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4764 * docs/faq/Makefile.am:
4765 * docs/gst/tmpl/gstelement.sgml:
4766 * docs/gst/tmpl/gsttypes.sgml:
4767 * docs/htmlinstall.mak:
4768 * docs/manual/Makefile.am:
4769 * docs/pwg/Makefile.am:
4770 reorganize doc build a little
4771 split out docbook and gtk-doc stuff
4772 have two separate --enable's and enable them through autogen
4773 but disable by default in configure (to be similar to other
4775 * gstreamer.spec.in:
4776 clean up docs install
4796 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4798 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4801 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4802 (gst_fake_sink_change_state):
4803 Make state change function thread-safe.
4805 * gst/gstpad.c: (gst_pad_alloc_buffer):
4806 Set offset on generic buffer allocated by fallback.
4808 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4810 * docs/gst/gstreamer-sections.txt:
4811 * docs/gst/tmpl/gstelement.sgml:
4813 * libs/gst/controller/gst-controller.c:
4814 (gst_controlled_property_set_interpolation_mode),
4815 (gst_controlled_property_new),
4816 (gst_controller_find_controlled_property):
4817 run the wingo-magic script against the docs
4819 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4821 * docs/gst/gstreamer-docs.sgml:
4822 * docs/gst/gstreamer-sections.txt:
4823 * docs/gst/tmpl/.cvsignore:
4824 * docs/gst/tmpl/gstelementdetails.sgml:
4825 * docs/gst/tmpl/gstelementfactory.sgml:
4828 * gst/gstelementfactory.c:
4829 * gst/gstelementfactory.h:
4830 merged elementdetails docs into elementfactory docs
4833 2005-09-02 Andy Wingo <wingo@pobox.com>
4835 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4836 consider this enum an enum and not a flags.
4838 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4840 * docs/gst/gstreamer-docs.sgml:
4841 * docs/gst/tmpl/.cvsignore:
4842 * docs/gst/tmpl/gstghostpad.sgml:
4843 * docs/gst/tmpl/gstiterator.sgml:
4844 * docs/gst/tmpl/gstmacros.sgml:
4845 * docs/gst/tmpl/gstrealpad.sgml:
4846 * docs/gst/tmpl/gstregistry.sgml:
4847 * docs/gst/tmpl/gstregistrypool.sgml:
4848 * docs/gst/tmpl/gststructure.sgml:
4849 * docs/gst/tmpl/gstsystemclock.sgml:
4850 * docs/gst/tmpl/gsttrace.sgml:
4851 * gst/gstghostpad.c:
4853 * gst/gstmemchunk.c:
4854 * gst/gstmemchunk.h:
4856 * gst/gstregistry.c:
4857 * gst/gstregistrypool.c:
4858 * gst/gststructure.c:
4859 * gst/gstsystemclock.c:
4862 2005-09-02 Andy Wingo <wingo@pobox.com>
4864 * gst/gstelement.h (GstState): Renamed from GstElementState,
4865 changed to be a normal enum instead of flags.
4866 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4867 munged to be GST_STATE_CHANGE_*.
4868 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4869 work with the new state representation.
4870 (GstStateChange): New enumeration of possible state transitions.
4871 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4872 (GstElementClass::change_state): Pass the GstStateChange along as
4873 an argument. Helps language bindings, so they don't have to use
4874 tricky lock-needing macros like GST_STATE_CHANGE ().
4876 * scripts/update-states (file): New script. Run it on a file to
4877 update it for state naming and API changes. Updates files in
4880 * All files updated for the new API.
4882 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4884 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4885 * gst/gstutils.c: (gst_util_set_value_from_string),
4886 (gst_util_set_object_arg):
4887 fix a bunch of unchecked return values
4888 * tools/gst-complete.c: (main):
4889 * gstreamer.spec.in:
4892 2005-09-01 Wim Taymans <wim@fluendo.com>
4894 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4895 (gst_base_sink_event), (gst_base_sink_do_sync),
4896 (gst_base_sink_handle_event):
4897 * gst/base/gstbasesink.h:
4898 Handle newsegments more correctly.
4903 * gst/gstevent.c: (gst_event_new_newsegment):
4904 A newsegment cannot have a start_time of -1
4906 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4908 * win32/gstenumtypes.c:
4909 * win32/gstenumtypes.h:
4912 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4914 * libs/gst/controller/gst-controller.c:
4915 (gst_controlled_property_set_interpolation_mode),
4916 (gst_controlled_property_new):
4919 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4921 * docs/faq/gst-uninstalled:
4926 * gst/gstutils.c: (gst_element_link_filtered):
4928 add gst_element_link_filtered
4930 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4932 * docs/gst/gstreamer-docs.sgml:
4933 * docs/gst/gstreamer-sections.txt:
4934 * docs/gst/tmpl/.cvsignore:
4935 * docs/gst/tmpl/gsterror.sgml:
4936 * docs/gst/tmpl/gstfilter.sgml:
4937 * docs/gst/tmpl/gsturihandler.sgml:
4938 * docs/gst/tmpl/gsturitype.sgml:
4939 * docs/gst/tmpl/gstutils.sgml:
4940 * docs/gst/tmpl/gstxml.sgml:
4948 inlined more docs, fixed double id-ref
4950 2005-08-31 Wim Taymans <wim@fluendo.com>
4952 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4953 (gst_base_transform_handle_buffer):
4954 Passthrough elements don't need the caps as they don't care.
4956 2005-08-31 Wim Taymans <wim@fluendo.com>
4958 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4959 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4960 Don't leak refcounts on buffers.
4962 2005-08-31 Wim Taymans <wim@fluendo.com>
4964 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4965 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4966 (gst_base_transform_chain), (gst_base_transform_change_state):
4967 * gst/base/gstbasetransform.h:
4968 Handle the case where we are not negotiated more gracefully.
4970 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4972 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4973 (gst_file_src_map_region):
4974 Set READONLY flag on mmap'ed buffers, otherwise
4975 gst_buffer_make_writable() won't work properly (#314708).
4977 2005-08-31 Wim Taymans <wim@fluendo.com>
4979 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4980 passthrough elements can even do inplace on non writable
4981 buffers (as they don't touch them).
4983 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4985 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4986 (gst_test_mono_source_set_property),
4987 (gst_test_mono_source_class_init), (GST_START_TEST),
4988 (gst_controller_suite):
4989 more tests (hehe I have the most)
4991 describe popping messages whenusing mulltiple sources
4992 * libs/gst/controller/gst-controller.c:
4993 (gst_controlled_property_set_interpolation_mode),
4994 (gst_controlled_property_new):
4995 * libs/gst/controller/gst-controller.h:
4996 * libs/gst/controller/gst-interpolation.c:
4997 implement boolean properties
4999 2005-08-31 Wim Taymans <wim@fluendo.com>
5001 * gst/gstminiobject.c: (gst_mini_object_ref):
5002 Cannot assert that the refcount has to be positive
5003 since a disposed object can be resurrected.
5005 2005-08-31 Wim Taymans <wim@fluendo.com>
5007 * gst/gstpad.c: (gst_pad_init):
5008 Revert change, need to first fix badly behaving
5011 2005-08-30 Wim Taymans <wim@fluendo.com>
5013 * check/elements/fakesrc.c: (setup_fakesrc):
5014 * check/elements/identity.c: (setup_identity):
5015 Activate pads before using them.
5017 2005-08-30 Wim Taymans <wim@fluendo.com>
5019 * gst/base/gstadapter.c: (gst_adapter_flush):
5020 Flushing out 0 bytes is ok for this function.
5022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5023 no newsegment gives a warning and sets the start/stop to
5026 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
5027 (gst_base_transform_set_passthrough):
5030 * gst/gstminiobject.c: (gst_mini_object_ref):
5031 Check refcount here too.
5033 * gst/gstpad.c: (gst_pad_init):
5034 Pads are initially flushing and refusing data.
5036 * gst/gstutils.c: (gst_element_link_pads_filtered):
5037 When adding a capsfilter element make sure it has the
5038 same state as the parent bin.
5040 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5042 * docs/gst/tmpl/.cvsignore:
5043 * docs/gst/tmpl/gstformat.sgml:
5044 * docs/gst/tmpl/gstversion.sgml:
5048 * gst/gstversion.h.in:
5049 more docs and two more inlined
5051 2005-08-30 Wim Taymans <wim@fluendo.com>
5053 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5054 Don't sync to clock.
5056 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5058 * docs/gst/gstreamer-sections.txt:
5059 ultral33t func10ns deserve to appear in the docs actually
5060 * docs/gst/tmpl/.cvsignore:
5061 * docs/gst/tmpl/gstcompat.sgml:
5062 * docs/gst/tmpl/gstconfig.sgml:
5063 * gst/check/gstcheck.c:
5065 * gst/gstconfig.h.in:
5068 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5070 * docs/gst/tmpl/.cvsignore:
5071 * docs/gst/tmpl/gstquery.sgml:
5072 * docs/gst/tmpl/gstutils.sgml:
5075 inlined and extended docs
5077 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5079 * check/gst-libs/controller.c: (GST_START_TEST),
5080 (gst_controller_suite):
5082 * docs/gst/tmpl/gstutils.sgml:
5083 * docs/libs/gstreamer-libs-sections.txt:
5084 * docs/libs/tmpl/gstdataprotocol.sgml:
5086 * examples/controller/audio-example.c: (main):
5087 controller example works now
5090 * tools/gst-inspect.c: (print_element_properties_info):
5091 show param spec flags
5093 2005-08-29 Andy Wingo <wingo@pobox.com>
5095 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5097 2005-08-28 Andy Wingo <wingo@pobox.com>
5099 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5100 as having two arguments instead of just one. Allows superclasses
5101 to access information on subclasses -- see the terrible for() loop
5102 in gtype.c:g_type_create_instance for the reason why. All callers
5105 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5107 * docs/design/part-messages.txt:
5109 * docs/gst/tmpl/.cvsignore:
5110 * docs/gst/tmpl/gstcaps.sgml:
5111 * docs/gst/tmpl/gstclock.sgml:
5118 added descriptions for bus and message
5119 inline caps and clock docs
5121 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5127 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5129 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5132 2005-08-26 Andy Wingo <wingo@pobox.com>
5134 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5135 element_set_state's return val.
5136 (test_2_elements): Add test that's been disabled for months.
5138 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5139 can-activate-pull properties.
5141 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5142 can-activate-pull properties. Implement is_seekable so fakesrc can
5143 operate in pull mode.
5145 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5147 (gst_base_sink_activate, gst_base_sink_activate_pull)
5148 (gst_base_sink_activate_push): Make activation mode choosing work.
5150 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5151 is right. Make pull mode work. Post an eos before pausing in pull
5153 (gst_base_sink_change_state): Pay attention to the core's
5154 change_state() return val.
5156 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5157 has-getrange properties. Cleanups.
5159 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5160 has_getrange and replace with can_activate_pull and
5163 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5164 locking comments. Remove has_loop, has_chain and replace with
5165 can_activate_pull and can_activate_push.
5167 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5170 * examples/Makefile.am:
5171 * examples/metadata/Makefile.am:
5172 * examples/metadata/read-metadata.c: (message_loop),
5173 (have_pad_handler), (make_pipeline), (print_tag), (main):
5174 Add metadata reading example that loops over a list of filenames,
5175 dumping any tags found.
5177 * gst/gstbus.c: (gst_bus_dispose):
5178 * gst/gstelement.c: (gst_element_dispose):
5179 Release a few potentially-held references in dispose.
5181 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5183 * docs/gst/tmpl/gstminiobject.sgml:
5184 do *not* add tmpl/*.sgml files to CVS!
5186 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5188 * libs/gst/bytestream/.cvsignore:
5189 * libs/gst/bytestream/Makefile.am:
5190 * libs/gst/bytestream/adapter.c:
5191 * libs/gst/bytestream/adapter.h:
5192 * libs/gst/bytestream/bytestream.c:
5193 * libs/gst/bytestream/bytestream.h:
5194 * libs/gst/bytestream/filepad.c:
5195 * libs/gst/bytestream/filepad.h:
5196 removing obsolete files
5198 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5200 * docs/gst/gstreamer-docs.sgml:
5201 * docs/libs/gstreamer-libs-docs.sgml:
5202 disabed additional index entries again, as this makes docs-gen just
5203 slow and they aren't useful yet
5204 * docs/libs/gstreamer-libs-sections.txt:
5205 little -section.txt cleanup for libs
5207 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5209 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5210 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5211 fix up some debugging
5212 (gst_base_transform_get_unit_size),
5213 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5214 (gst_base_transform_handle_buffer):
5215 * gst/base/gstbasetransform.h:
5216 handle and store timed NEWSEGMENT events so that subclasses that
5217 calculate time by counting samples have a segment_start time they
5218 need to add to their timestamps - see audioresample
5220 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5223 removed ';' from the end of macro defs
5224 * docs/gst/gstreamer-docs.sgml:
5225 * docs/gst/gstreamer-sections.txt:
5226 * docs/gst/tmpl/.cvsignore:
5228 * gst/gstelement.c: (gst_element_class_init),
5229 (gst_element_set_state), (activate_pads),
5230 (gst_element_save_thyself):
5231 * gst/gstevent.c: (gst_event_new_newsegment):
5233 * gst/gstiterator.c:
5234 * gst/gstiterator.h:
5237 * gst/gstutils.c: (gst_pad_query_convert):
5239 fixed parameter name mismatches between source, header and docs
5240 added some more docs, resolved the last batch of unused elements in
5241 docs (now someone needs to doc them)
5243 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5245 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5246 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5247 don't walk through the plugins backwards. Where is all this
5248 reversed logic coming from ?
5250 2005-08-25 Wim Taymans <wim@fluendo.com>
5252 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5253 (gst_base_transform_transform_size),
5254 (gst_base_transform_configure_caps),
5255 (gst_base_transform_get_unit_size),
5256 (gst_base_transform_buffer_alloc),
5257 (gst_base_transform_change_state):
5258 * gst/base/gstbasetransform.h:
5259 Cache caps unit_size.
5260 Make sure we cannot negotiate up and downstream at the
5263 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5265 * gst/gst.c: (init_pre), (init_post):
5266 register the installed plugin path after the env var
5267 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5268 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5269 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5270 directories, so the tests can prefer uninstalled over installed
5272 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5274 * gst/base/gstbasetransform.h:
5279 2005-08-25 Wim Taymans <wim@fluendo.com>
5281 * gst/gstbin.c: (bin_bus_handler):
5282 Be a bit more conservative about the posted message.
5284 * gst/gstbus.c: (gst_bus_post):
5285 Some cleanups, warn wrong return values.
5287 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5289 * check/gst/gstbin.c: (GST_START_TEST):
5290 * gst/gstbin.c: (bin_bus_handler):
5291 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5292 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5293 (gst_message_new_warning), (gst_message_new_tag),
5294 (gst_message_new_state_changed), (gst_message_new_segment_start),
5295 (gst_message_new_segment_done), (gst_message_new_custom):
5297 * tools/gst-launch.c: (event_loop):
5298 * tools/gst-md5sum.c: (event_loop):
5299 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5301 2005-08-25 Wim Taymans <wim@fluendo.com>
5303 * check/generic/states.c: (GST_START_TEST):
5304 Cleanup can be done at the end.
5306 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5307 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5308 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5309 Oh boy.. Thanks for finding this, Thomas.
5311 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5313 * docs/gst/gstreamer.types:
5316 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5318 * docs/gst/gstreamer-docs.sgml:
5319 * docs/gst/gstreamer-sections.txt:
5320 * docs/gst/tmpl/.cvsignore:
5322 * gst/gstiterator.c:
5324 * gst/registries/gstxmlregistry.h:
5325 added missing classes and symbols (123 more to go)
5326 removed removed symbols from section file
5327 fixed many doc-comments
5329 2005-08-24 Wim Taymans <wim@fluendo.com>
5331 * check/generic/states.c: (GST_START_TEST):
5332 Make sure all tasks are stopped.
5334 * check/gst/gstbin.c: (GST_START_TEST):
5335 Unref after usage for proper valgrinding.
5337 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5338 Really wait for the task to stop before destroying the
5341 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5342 (gst_queue_src_activate_push):
5343 Small cleanups. Don't stop the task when we did not start
5346 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5347 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5348 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5351 Protect the stream lock with the object lock.
5352 Disallow setting the stream lock when running.
5353 Add cleanup_all to wait for the threadpool to finish.
5354 Remove code to autoallocate a mutex if none was provided.
5355 Add _join() to wait for a task to stop.
5356 Protect the thread pool with a global lock.
5358 2005-08-24 Wim Taymans <wim@fluendo.com>
5360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5361 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5362 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5363 * gst/base/gstbasesink.h:
5364 Handle newsegment events correctly.
5365 Drop buffers out of the segment range.
5367 2005-08-22 Andy Wingo <wingo@pobox.com>
5369 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5370 macro, implements an interface and gstimplementsinterface for a
5373 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5375 * check/Makefile.am:
5376 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5377 add a test that does a bunch of state changes on elements
5378 needs some fixing for valgrind
5379 * check/states/sinks.c: (gst_object_suite):
5382 add prototype for gst_caps_is_equal_fixed
5384 * gst/gstregistrypool.c:
5387 2005-08-24 Andy Wingo <wingo@pobox.com>
5389 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5390 convert a negative value. Doesn't make much sense. Mostly this is
5391 here to force callers to ensure -1 maps to -1.
5393 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5395 * docs/pwg/advanced-types.xml:
5396 Well done to Michael for catching my deliberate introduction
5397 of this spelling mistake.
5398 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5400 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5401 unlink pads before removing the element from the bin.
5403 2005-08-24 Andy Wingo <wingo@pobox.com>
5405 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5406 the same thing as GST_DEBUG=*:4.
5407 (parse_debug_level, parse_debug_category): New helper parsers.
5409 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5411 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5412 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5413 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5414 (gst_base_transform_buffer_alloc),
5415 (gst_base_transform_handle_buffer):
5416 use gboolean return values and pointers to size so we can use the
5417 full GST_BUFFER_SIZE range (guint) for buffer sizes
5418 use GstPadDirection for transform_caps
5419 * gst/base/gstbasetransform.h:
5420 rename get_size to get_unit_size since that's what it is
5421 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5422 use GstPadDirection for transform_caps
5423 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5425 cleanup and debugging
5427 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5429 * gst/gstelement.c: (gst_element_class_init),
5430 (gst_element_set_state), (activate_pads),
5431 (gst_element_save_thyself):
5432 * tools/gst-compprep.c: (main):
5433 * tools/gst-inspect.c: (print_element_properties_info):
5434 * tools/gst-xmlinspect.c: (print_element_properties):
5435 Fixed long standing mem-leak
5437 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5439 * check/gst/gstbin.c: (GST_START_TEST):
5440 * gst/gstbin.c: (bin_bus_handler):
5441 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5442 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5443 (gst_message_new_warning), (gst_message_new_tag),
5444 (gst_message_new_state_changed), (gst_message_new_segment_start),
5445 (gst_message_new_segment_done), (gst_message_new_custom):
5447 * tools/gst-launch.c: (event_loop):
5448 * tools/gst-md5sum.c: (event_loop):
5449 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5450 that applications can sensibly post custom messages with references
5451 to their own objects.
5453 2005-08-24 Andy Wingo <wingo@pobox.com>
5455 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5458 2005-08-24 Wim Taymans <wim@fluendo.com>
5460 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5461 (gst_base_transform_transform_caps),
5462 (gst_base_transform_transform_size),
5463 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5464 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5465 (gst_base_transform_handle_buffer):
5466 * gst/base/gstbasetransform.h:
5467 Many fixes and new features added by Thomas. Can now also do
5468 transforms with variable sizes and a custom fixate_caps function.
5470 2005-08-24 Wim Taymans <wim@fluendo.com>
5472 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5476 Cast to ClockTime before formatting to time.
5481 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5483 * check/gst-libs/controller.c: (GST_START_TEST),
5484 (gst_controller_suite):
5485 * docs/gst/tmpl/gstcaps.sgml:
5486 * docs/gst/tmpl/gstghostpad.sgml:
5487 * docs/gst/tmpl/gstquery.sgml:
5488 * docs/gst/tmpl/gstutils.sgml:
5489 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5490 (gst_object_sink_values), (gst_object_get_value_arrays),
5491 (gst_object_get_value_array):
5492 gracefully handle helper method calls to objects that are not beeing
5493 controlled, added test case for that
5495 2005-08-23 Wim Taymans <wim@fluendo.com>
5497 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5498 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5499 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5500 (gst_event_parse_qos), (gst_event_new_seek),
5501 (gst_event_parse_seek):
5503 Some more debugging output and doc cleanups.
5505 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5506 Fix possible deadlock.
5508 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5510 * docs/gst/gstreamer-docs.sgml:
5511 * docs/gst/gstreamer-sections.txt:
5512 * docs/gst/gstreamer.types:
5513 * docs/gst/tmpl/.cvsignore:
5518 added 100 symbols from gstreamer-unused.txt to the right sections
5519 fixed more broken comments
5520 added GstBus to docs
5522 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5524 * docs/gst/gstreamer-sections.txt:
5525 * docs/gst/tmpl/.cvsignore:
5526 * docs/gst/tmpl/gstbin.sgml:
5527 * docs/gst/tmpl/gstbuffer.sgml:
5528 * gst/base/gstbasesrc.c:
5529 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5532 * tools/gst-launch.1.in:
5533 inlined more doc comments, added missing comments and fixed comments
5536 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5538 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5542 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5544 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5545 * gst/gststructure.h:
5546 add a fixate function for booleans; add a FIXME that these func
5547 names should probably be gst_structure_fixate_*
5549 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5551 * docs/gst/gstreamer-docs.sgml:
5552 * docs/gst/gstreamer-sections.txt:
5554 * gst/gstbin.c: (gst_bin_get_type),
5555 (gst_bin_child_proxy_get_child_by_index),
5556 (gst_bin_child_proxy_get_children_count),
5557 (gst_bin_child_proxy_init):
5558 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5559 (gst_child_proxy_get_child_by_index),
5560 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5561 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5562 (gst_child_proxy_get), (gst_child_proxy_set_property),
5563 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5564 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5565 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5566 * gst/gstchildproxy.h:
5567 * gst/parse/grammar.y:
5568 * tools/gst-inspect.c: (print_interfaces),
5569 (print_element_properties_info), (print_element_info):
5570 ported gstchildproxy over from 0.8
5571 ported gst-inspect fixes and enhancements over from 0.8
5573 2005-08-22 Wim Taymans <wim@fluendo.com>
5575 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5576 (gst_base_transform_handle_buffer):
5577 Also call the transform function if we have ANY caps.
5579 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5582 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5584 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5585 Don't pretend to handle seek events if the source is not seekable
5587 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5589 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5590 Remove extra parameter to debug output
5592 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5593 (gst_base_src_do_seek), (gst_base_src_activate_push):
5594 Fix seek event handling.
5596 * gst/gstpipeline.c: (gst_pipeline_change_state):
5597 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5598 (gst_queue_src_activate_push):
5599 Don't start the src pad task on FLUSH_STOP if the pad
5603 2005-08-22 Wim Taymans <wim@fluendo.com>
5605 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5606 Added check for gst_static_caps_get() refcounting.
5608 2005-08-22 Wim Taymans <wim@fluendo.com>
5610 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5611 Make _static_caps_get() refcounting sane.
5613 * gst/gstelement.c: (gst_element_set_state):
5614 Add g_return_val_if_fail() to protect against segfaults.
5616 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5618 * docs/gst/tmpl/gstevent.sgml:
5621 inlined remaining docs, added missing doc comments
5623 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5625 * check/gst/gstbin.c: (GST_START_TEST):
5626 since we don't know when preroll is done, use refcount range
5628 * gst/check/gstcheck.h:
5629 add macro for checking refcount range
5631 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5633 * check/Makefile.am:
5634 clean up environment for when registry gets built versus
5635 when actual tests are run; valgrind seems to not report
5636 leaks if GST_PLUGIN_PATH is set to some specific values
5637 * check/gst/gstbin.c: (GST_START_TEST):
5638 add more refcounting checks; maybe this exposes a
5641 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5642 * gst/check/gstcheck.h:
5643 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5644 (gst_bin_change_state):
5645 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5646 add/fix debugging/whitespace
5648 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5650 * check/gst/gstevent.c: (event_probe), (test_event),
5652 Er, don't call gst_bin_watch_for_state_change you idiot.
5654 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5656 * check/Makefile.am:
5657 Use CHECK_CFLAGS and CHECK_LIBS
5658 * check/gst/gstevent.c: (event_probe), (test_event),
5661 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5662 (gst_base_src_start), (gst_base_src_stop),
5663 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5664 (gst_base_src_change_state):
5665 Sprinkle gst_base_src_stop liberally around error paths to fix
5666 problems reusing a source after failed state changes.
5667 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5668 (helper_find_suggest), (gst_type_find_helper):
5669 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5671 * docs/gst/tmpl/gstevent.sgml:
5672 Migrate part of the docs from the SGML file. Wait for ensonic to
5673 tell me how I did it wrong ;)
5674 * tools/gst-typefind.c: (main):
5675 Extra robustness to state changes between files.
5677 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5679 * check/Makefile.am:
5680 don't valgrind the controller test - it's leaking - Stefan, HELP
5681 * gst/check/gstcheck.c: (gst_check_message_error),
5682 (gst_check_chain_func), (gst_check_setup_element),
5683 (gst_check_teardown_element), (gst_check_setup_src_pad),
5684 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5685 (gst_check_teardown_sink_pad):
5686 * gst/check/gstcheck.h:
5687 add a bunch of methods to set up elements, and src and sink pads
5688 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5689 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5694 whitespace/doc fixes
5696 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5699 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5700 be handled by the application and not always printed as well
5702 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5704 * check/Makefile.am:
5706 * gst/check/gstcheck.c: (gst_check_message_error):
5707 * gst/check/gstcheck.h:
5708 add a fail_unless_equals_int
5709 add fail_unless for error messages
5711 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5713 * check/Makefile.am:
5715 * common/Makefile.am:
5718 factor out some of the common stuff so we can use it
5720 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5722 * check/Makefile.am:
5723 * check/gst/gstiterator.c: (GST_START_TEST):
5724 * check/gst/gstsystemclock.c: (GST_START_TEST),
5725 (gst_systemclock_suite):
5726 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5730 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5732 * check/elements/.cvsignore:
5733 * check/elements/gstfakesrc.c:
5734 rename to name of element
5735 * check/elements/identity.c: (chain_func), (event_func),
5736 (setup_identity), (cleanup_identity), (GST_START_TEST),
5737 (identity_suite), (main):
5738 add a test for identity
5739 * check/Makefile.am:
5740 * pkgconfig/Makefile.am:
5741 * pkgconfig/gstreamer-check.pc.in:
5742 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5746 move the check stuff to a library that gets installed
5747 * check/gst-libs/controller.c: (GST_START_TEST):
5748 * check/gst-libs/gdp.c:
5749 * check/gst/gst.c: (GST_START_TEST):
5750 * check/gst/gstbin.c:
5751 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5752 * check/gst/gstbus.c:
5753 * check/gst/gstcaps.c: (GST_START_TEST):
5754 * check/gst/gstelement.c:
5755 * check/gst/gstghostpad.c:
5756 * check/gst/gstiterator.c:
5757 * check/gst/gstmessage.c:
5758 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5759 * check/gst/gstobject.c:
5760 * check/gst/gstpad.c: (GST_START_TEST):
5761 * check/gst/gststructure.c: (GST_START_TEST):
5762 * check/gst/gstsystemclock.c: (GST_START_TEST),
5763 (gst_systemclock_suite):
5764 * check/gst/gsttag.c: (gst_tag_suite):
5765 * check/gst/gstvalue.c:
5766 * check/pipelines/cleanup.c:
5767 * check/pipelines/simple_launch_lines.c:
5768 * check/states/sinks.c:
5769 change include statement
5771 * docs/gst/gstreamer-sections.txt:
5772 * docs/gst/tmpl/gstpad.sgml:
5773 document more pad stuff
5774 * gst/gstminiobject.c: (gst_mini_object_ref),
5775 (gst_mini_object_unref):
5778 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5780 * docs/gst/tmpl/gst.sgml:
5782 eliminate another tmpl file, fix spelling in the long-description
5784 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5786 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5787 (test_event), (timediff), (gstevents_suite):
5788 Should fix build on 64-bit arch's
5790 2005-08-18 Andy Wingo <wingo@pobox.com>
5792 Make sure that when a pipeline goes to PLAYING, that data has
5793 actually hit the sink.
5795 * check/states/sinks.c (test_sink): A sink that doesn't get any
5796 data shouldn't return SUCCESS for going to either PLAYING or
5797 PAUSED. Test also the return values on the way back down.
5799 * gst/gstelement.c (gst_element_set_state): When changing the
5800 state of an element currently changing state asynchronously, go to
5801 lost-state after commiting the pending state. Makes future calls
5802 to get_state continue to return ASYNC.
5804 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5805 ASYNC when going to PLAYING if we still don't have preroll, as can
5806 happen with live sources.
5808 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5810 * docs/pwg/advanced-types.xml:
5811 Hack long paragraph into 2 chunks as a workaround for buggy
5812 jadetex version in sid and breezy that loops infinitely and
5815 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5817 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5818 (test_event), (timediff), (gstevents_suite):
5819 Provide more error margin in clock measurements to allow for
5820 g_get_current_time inaccuracies.
5822 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5824 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5825 (test_event), (timediff), (gstevents_suite):
5826 Fix error message output so I might be able to tell why the
5827 test works here but fails on the build farm.
5829 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5831 * check/Makefile.am:
5832 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5833 (test_event), (timediff), (gstevents_suite), (main):
5836 * docs/design/part-seeking.txt:
5839 * docs/gst/tmpl/gstevent.sgml:
5840 * docs/gst/tmpl/gstfakesrc.sgml:
5843 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5844 Treat a buffer-without-newsegment the same as a receiving
5845 a newsegment not in time format, and disable syncing to the clock
5848 * gst/gstbus.c: (gst_bus_set_sync_handler):
5849 Assert if anyone tries to replace the existing sync_handler for bus,
5850 as only the owner should be setting it.
5853 Have a fixed set of custom event enums with events identified by
5854 their structure name (as in 0.8), rather than a free-for-all
5855 allowing collisions between enum values from different plugins.
5857 * gst/gstpad.c: (gst_pad_class_init):
5860 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5861 Handle out-of-band downstream events from the sending thread.
5863 2005-08-17 Andy Wingo <wingo@pobox.com>
5865 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5866 play-timeout==0 to mean no timeout at all. In that case, don't
5867 bother with a get_state or a warning, just return directly, even
5870 * gst/base/gstbasetransform.c: Debug changes.
5873 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5874 ensure bins post state change messages. A bit of a hack but I can't
5875 think of a way to avoid it.
5877 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5879 2005-08-16 Andy Wingo <wingo@pobox.com>
5881 * gst/base/gstadapter.h:
5882 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5883 peek() but you own the data. Not terribly efficient atm.
5885 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5887 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5888 (gst_element_found_tags):
5890 Add two utility functions for tag handling.
5892 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5894 * docs/manual/advanced-dataaccess.xml:
5895 * docs/manual/basics-helloworld.xml:
5896 Fix docs to use _bin_add() before _link(), which fixes the examples
5897 with recent core versions (reported by Madhan Raj M
5898 <raj_madan@rediffmail.com>, #313199).
5900 2005-08-16 Wim Taymans <wim@fluendo.com>
5902 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5903 Added subtract checks.
5905 * docs/design/part-events.txt:
5906 Some more docs about newsegment
5908 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5911 * gst/gstcaps.c: (gst_caps_to_string):
5912 Add comments, cleanups.
5914 * gst/gstelement.c: (gst_element_save_thyself):
5917 * gst/gstvalue.c: (gst_value_collect_int_range),
5918 (gst_string_unwrap), (gst_value_union_int_int_range),
5919 (gst_value_union_int_range_int_range),
5920 (gst_value_intersect_int_int_range),
5921 (gst_value_intersect_int_range_int_range),
5922 (gst_value_intersect_double_double_range),
5923 (gst_value_intersect_double_range_double_range),
5924 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5925 (gst_value_subtract_int_range_int),
5926 (gst_value_subtract_double_range_double),
5927 (gst_value_subtract_double_range_double_range),
5928 (gst_value_subtract_from_list), (gst_value_subtract_list),
5929 (gst_value_can_compare), (gst_value_compare_fraction):
5930 Cleanups, add comments, remove unneeded asserts.
5932 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5934 * tools/gst-launch.c: (event_loop):
5935 don't convert NULL structures to strings
5937 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5939 * docs/gst/gstreamer-sections.txt:
5940 made some defines private
5941 * docs/gst/tmpl/gstconfig.sgml:
5942 * docs/gst/tmpl/gstqueue.sgml:
5943 * docs/gst/tmpl/gsttaglist.sgml:
5944 * docs/gst/tmpl/gsttypes.sgml:
5945 * docs/gst/tmpl/gstutils.sgml:
5946 * docs/pwg/appendix-porting.xml:
5947 * gst/base/gstbasesink.h:
5948 * gst/base/gstbasesrc.c:
5949 * gst/base/gstbasesrc.h:
5950 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5951 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5952 * gst/gstelement.c: (gst_element_class_init):
5953 * gst/gstpad.c: (gst_pad_class_init):
5954 * gst/gstqueue.c: (gst_queue_class_init):
5955 * gst/gstxml.c: (gst_xml_class_init):
5956 documented all undocumented signal inline
5957 * libs/gst/controller/gst-controller.h:
5960 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5962 * docs/pwg/appendix-porting.xml:
5963 Document _set_link_function -> _set_setcaps_function.
5965 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5967 * check/Makefile.am:
5968 add a .check target for running the check
5969 * check/gst-libs/controller.c: (GST_START_TEST):
5971 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5972 complete checks for gstbuffer; would be nice if I could get the
5973 gcov stuff to work so I can see if I actually completed gstbuffer.c
5975 add ASSERT_BUFFER_REFCOUNT
5977 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5979 * docs/gst/gstreamer-sections.txt:
5980 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5982 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5983 spew out a warning if a tag that is already registered
5984 is re-registered, unless it is re-registered with a
5985 different type (#308438).
5987 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5989 * docs/pwg/appendix-porting.xml:
5990 * docs/pwg/building-state.xml:
5991 Add some paragraphs about state changes in 0.9 to the PWG
5992 and the porting guide, in particular about the new meaning
5993 of GST_STATE_PAUSED and how to write state change functions
5994 with concurrent access by multiple threads in mind.
5996 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5998 * docs/gst/gstreamer-docs.sgml:
5999 * docs/libs/gstreamer-libs-docs.sgml:
6000 added deprecation and since indexes
6001 * libs/gst/controller/gst-controller.c:
6002 * libs/gst/controller/gst-helper.c:
6006 2005-08-11 Wim Taymans <wim@fluendo.com>
6008 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
6009 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
6010 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
6011 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
6012 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
6013 (gst_ghost_pad_set_target):
6014 Actually implement (re)setting the target on a ghostpad
6015 as described in the docs.
6017 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6019 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
6020 Check whether GST_DEBUG_NO_COLOR environment variable is
6021 set and disable coloured debug output if that is the case.
6023 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
6025 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6026 (gst_type_find_helper):
6027 The memory returned by gst_type_find_peek() needs to
6028 stay valid until the end of a typefind function, and
6029 typefind functions may keep results from different
6030 offsets around, so we can't just unref the buffer from
6031 the previous _peek(), but have to save all buffers
6032 returned by _peek() until typefinding is done and only
6035 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
6037 * docs/gst/gstreamer-sections.txt:
6039 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
6041 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6043 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
6044 Fix a pretty good memleak.
6046 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6048 * gst/gstiterator.h:
6049 Fix wrong include and 'make distcheck'.
6051 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6053 * gst/gstbin.c: (bin_bus_handler):
6054 Use gst_element_post_message() instead.
6056 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6058 * gst/base/gstadapter.h:
6059 * gst/base/gstbasesink.h:
6060 * gst/base/gstbasesrc.h:
6061 * gst/base/gstbasetransform.h:
6062 * gst/base/gstcollectpads.h:
6063 * gst/base/gstpushsrc.h:
6064 * gst/gstiterator.h:
6065 Add padding to our base elements' class and instance structs and
6066 to GstIterator (you will need to rebuild all plugins and apps!)
6068 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6070 * gst/gstbin.c: (bin_bus_handler):
6071 Make default message forwarding from child->bus to bin->bus
6072 threadsafe and make it not emit warnings if the parent has no bus.
6074 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6076 * gst/gstelement.c: (activate_pads):
6077 On paused->ready, set pad->caps to NULL, as is the documented
6078 behaviour in this state change. Fixes playback of series of
6079 media files when visualization is enabled in Totem.
6081 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6083 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6084 Allow NULL as filter-caps (which means "any").
6086 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6088 * docs/libs/gstreamer-libs-sections.txt:
6089 * libs/gst/controller/gst-controller.c:
6090 * libs/gst/controller/gst-controller.h:
6091 * libs/gst/controller/gst-helper.c:
6092 adding more entries to the docs and fix small doc-bugs
6094 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6096 * docs/gst/gstreamer-docs.sgml:
6097 * docs/gst/gstreamer-sections.txt:
6098 * docs/gst/gstreamer.types:
6099 * docs/gst/tmpl/gstbasesink.sgml:
6100 * docs/gst/tmpl/gstbasesrc.sgml:
6101 * docs/gst/tmpl/gstbasetransform.sgml:
6102 * docs/gst/tmpl/gstfakesrc.sgml:
6103 * gst/base/gstcollectpads.c:
6104 * gst/base/gstcollectpads.h:
6105 * libs/gst/controller/gst-controller.c:
6106 * libs/gst/controller/gst-controller.h:
6107 * libs/gst/controller/gst-helper.c:
6108 * libs/gst/controller/gst-interpolation.c:
6109 * libs/gst/controller/lib.c:
6110 added long/short desc for controller docs
6111 added collectpads base class docs
6112 added correct includes to base-class docs
6114 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6116 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6117 (gst_test_mono_source_set_property),
6118 (gst_test_mono_source_class_init), (GST_START_TEST),
6119 (gst_controller_suite):
6120 * docs/gst/gstreamer-docs.sgml:
6121 * docs/gst/gstreamer-sections.txt:
6122 * docs/gst/gstreamer.types:
6123 * docs/libs/gstreamer-libs-docs.sgml:
6124 * docs/libs/gstreamer-libs-sections.txt:
6125 * gst/base/gstadapter.c:
6126 * libs/gst/controller/gst-controller.c:
6127 (gst_controlled_property_new), (gst_controlled_property_free),
6128 (gst_controller_new_valist),
6129 (gst_controller_remove_properties_valist),
6130 (gst_controller_sink_values), (_gst_controller_finalize):
6131 * libs/gst/controller/gst-controller.h:
6132 * libs/gst/controller/gst-helper.c:
6133 (gst_object_control_properties), (gst_object_uncontrol_properties),
6134 (gst_object_get_controller), (gst_object_set_controller),
6135 (gst_object_sink_values), (gst_object_get_value_arrays),
6136 (gst_object_get_value_array):
6137 more tests (and fixes) for the controller
6138 more docs for the controller
6139 integrated companies docs for the adapter
6141 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6143 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6144 (GST_START_TEST), (fakesrc_suite):
6145 add tests for sizetype
6147 2005-08-04 Andy Wingo <wingo@pobox.com>
6149 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6150 fixes buffer_alloc proxying among other things.
6152 * gst/base/gstbasetransform.c:
6153 * gst/base/gstbasetransform.h:
6154 Revert patch to gstbasetransform from 7-28 removing
6157 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6158 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6159 Semantics changed, should return not the size of the output buffer
6160 but the byte size of a buffer with a given caps.
6162 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6164 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6165 out) are not the pad caps until setcaps finishes.
6166 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6167 not-in-place case as well. Deal with changing from in-place to
6168 not-in-place within calling pad_alloc_buffer. Still a bit
6169 concerned about the overhead here...
6171 2005-08-03 Andy Wingo <wingo@pobox.com>
6173 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6174 fixating is an error.
6176 2005-08-04 Edward Hervey <edward@fluendo.com>
6178 * gst/base/gstadapter.h:
6179 Added gst_adapter_get_type() to the header
6181 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6183 * check/Makefile.am:
6184 * check/gst-libs/controller.c:
6185 * libs/gst/controller/gst-controller.c:
6186 (gst_controller_new_valist):
6187 added check test suite for the controller
6188 * gst/base/gstpushsrc.c:
6191 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6193 * docs/gst/Makefile.am:
6194 * docs/gst/gstreamer-docs.sgml:
6195 * docs/gst/gstreamer-sections.txt:
6196 * docs/gst/gstreamer.types:
6197 * docs/gst/tmpl/gstfakesrc.sgml:
6199 * gst/base/gstbasesink.c:
6200 * gst/base/gstbasesink.h:
6201 * gst/base/gstbasesrc.c:
6202 * gst/base/gstbasesrc.h:
6203 * gst/base/gstbasetransform.c:
6204 * gst/base/gstpushsrc.c:
6205 * gst/base/gstpushsrc.h:
6206 add short/long description docs to base classes
6207 add pushsrc to the docs
6208 remove consolidated doc fragments
6210 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6213 * docs/libs/Makefile.am:
6214 * docs/libs/gstreamer-libs-docs.sgml:
6215 * docs/libs/gstreamer-libs-sections.txt:
6216 * docs/libs/gstreamer-libs.types:
6217 * examples/Makefile.am:
6218 * examples/controller/.cvsignore:
6219 * examples/controller/Makefile.am:
6220 * examples/controller/audio-example.c: (main):
6221 * libs/gst/Makefile.am:
6222 * libs/gst/controller/.cvsignore:
6223 * libs/gst/controller/Makefile.am:
6224 * libs/gst/controller/gst-controller.c:
6225 (on_object_controlled_property_changed), (gst_timed_value_compare),
6226 (gst_timed_value_find),
6227 (gst_controlled_property_set_interpolation_mode),
6228 (gst_controlled_property_new), (gst_controlled_property_free),
6229 (gst_controller_find_controlled_property),
6230 (gst_controller_new_valist), (gst_controller_new),
6231 (gst_controller_remove_properties_valist),
6232 (gst_controller_remove_properties), (gst_controller_set),
6233 (gst_controller_set_from_list), (gst_controller_unset),
6234 (gst_controller_get), (gst_controller_get_all),
6235 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6236 (gst_controller_get_value_array),
6237 (gst_controller_set_interpolation_mode),
6238 (_gst_controller_finalize), (_gst_controller_init),
6239 (_gst_controller_class_init), (gst_controller_get_type):
6240 * libs/gst/controller/gst-controller.h:
6241 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6242 (g_object_uncontrol_properties), (g_object_get_controller),
6243 (g_object_set_controller), (g_object_sink_values),
6244 (g_object_get_value_arrays), (g_object_get_value_array):
6245 * libs/gst/controller/gst-interpolation.c:
6246 (gst_controlled_property_find_timed_value_node),
6247 (interpolate_none_get), (interpolate_trigger_get),
6248 (interpolate_trigger_get_value_array):
6249 * libs/gst/controller/lib.c: (gst_controller_init):
6250 * pkgconfig/Makefile.am:
6251 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6252 * pkgconfig/gstreamer-control.pc.in:
6253 * testsuite/Makefile.am:
6254 * testsuite/controller/.cvsignore:
6255 * testsuite/controller/Makefile.am:
6256 * testsuite/controller/interpolator.c: (main):
6257 added controller code
6258 removed dparam pc files
6260 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6261 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6262 (gst_collectpads_stop):
6263 Broadcast the condition when shutting down, to make sure we wake all
6264 threads up. Shut down pads on finalize, for safety.
6266 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6267 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6268 (gst_base_transform_handle_buffer),
6269 (gst_base_transform_change_state):
6270 Handle PAUSED->READY->PAUSED transition after negotiation
6272 * gst/gstmessage.c: (gst_message_init):
6273 Extra piece of debug for new messages.
6275 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6278 * docs/gst/tmpl/gstbasesrc.sgml:
6279 * docs/gst/tmpl/gstelement.sgml:
6280 * docs/gst/tmpl/gstevent.sgml:
6281 * docs/gst/tmpl/gstfakesrc.sgml:
6282 * docs/gst/tmpl/gstformat.sgml:
6283 * docs/gst/tmpl/gstghostpad.sgml:
6284 * docs/gst/tmpl/gstpad.sgml:
6285 * docs/gst/tmpl/gstquery.sgml:
6286 * docs/gst/tmpl/gststructure.sgml:
6287 * docs/gst/tmpl/gsttaglist.sgml:
6288 * docs/gst/tmpl/gstvalue.sgml:
6289 * docs/libs/gstreamer-libs-docs.sgml:
6290 * docs/libs/gstreamer-libs-sections.txt:
6291 * docs/libs/gstreamer-libs.types:
6292 * libs/gst/Makefile.am:
6293 * libs/gst/control/.cvsignore:
6294 * libs/gst/control/Makefile.am:
6295 * libs/gst/control/control.c:
6296 * libs/gst/control/control.h:
6297 * libs/gst/control/dparam.c:
6298 * libs/gst/control/dparam.h:
6299 * libs/gst/control/dparam_smooth.c:
6300 * libs/gst/control/dparam_smooth.h:
6301 * libs/gst/control/dparamcommon.h:
6302 * libs/gst/control/dparammanager.c:
6303 * libs/gst/control/dparammanager.h:
6304 * libs/gst/control/dplinearinterp.c:
6305 * libs/gst/control/dplinearinterp.h:
6306 * libs/gst/control/unitconvert.c:
6307 * libs/gst/control/unitconvert.h:
6308 * testsuite/Makefile.am:
6309 * testsuite/dynparams/.cvsignore:
6310 * testsuite/dynparams/Makefile.am:
6311 * testsuite/dynparams/dparamstest.c:
6312 * tools/Makefile.am:
6313 * tools/gst-inspect.c: (print_element_info), (main):
6314 * tools/gst-xmlinspect.c: (print_element_info), (main):
6315 deactivate and remove dparams (libgstcontrol)
6317 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6319 * gst/elements/gsttypefindelement.c:
6320 (gst_type_find_element_have_type), (gst_type_find_element_init),
6321 (stop_typefinding), (gst_type_find_element_handle_event),
6322 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6323 * gst/elements/gsttypefindelement.h:
6324 Set caps on all outgoing buffers, not just the first one.
6326 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6328 * gst/elements/gsttypefindelement.c:
6329 (gst_type_find_element_have_type),
6330 (gst_type_find_element_check_set_buffer_caps),
6331 (gst_type_find_element_init), (stop_typefinding),
6332 (gst_type_find_element_handle_event),
6333 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6334 * gst/elements/gsttypefindelement.h:
6335 Set caps on first outgoing buffer when we've found the type.
6337 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6339 * docs/gst/gstreamer-docs.sgml:
6340 * docs/gst/gstreamer-sections.txt:
6341 * docs/gst/tmpl/gstscheduler.sgml:
6342 * docs/gst/tmpl/gstschedulerfactory.sgml:
6343 Remove some old cruft from docs.
6345 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6348 Fix inline docs for GstPadLinkReturn.
6350 * gst/gststructure.c: (gst_structure_has_name):
6351 * gst/gststructure.h:
6352 * docs/gst/gstreamer-sections.txt:
6353 New API: gst_structure_has_name().
6355 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6358 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6359 and _LARGEFILE_SOURCE in config.h as required. Do not
6360 export those flags in our .pc files any longer (#142209).
6362 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6364 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6365 (gst_file_sink_do_seek), (gst_file_sink_event),
6366 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6367 Redo seek/tell calls with large file support in mind; add some
6368 debugging messages; add log message that tells us when large
6369 file support is unavailable or not enabled for some reason.
6371 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6372 Add log message that tells us when large file support
6373 is unavailable or not enabled for some reason.
6375 2005-07-29 Wim Taymans <wim@fluendo.com>
6377 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6378 Added test for removing an element with ghostpad from a bin.
6379 Fixed test as current implementation does the right thing.
6381 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6382 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6383 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6384 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6385 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6386 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6387 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6388 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6389 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6390 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6391 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6392 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6393 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6394 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6395 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6396 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6397 * gst/gstghostpad.h:
6398 Clean up ghostpads, remove properties for internal stuff.
6401 Prepare for switching targets, not all use cases work yet.
6403 2005-07-29 Wim Taymans <wim@fluendo.com>
6405 * docs/design/part-gstghostpad.txt:
6408 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6409 (gst_bin_remove_func):
6410 Unlinking pads while holding the bin LOCK is not a good
6413 * gst/gstpad.c: (gst_pad_class_init),
6414 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6415 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6416 No prob setting template after creating the pad.
6418 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6420 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6421 (gst_bus_peek), (gst_bus_source_dispatch),
6422 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6423 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6424 gst_bus_poll may be called from other threads. Handle
6425 this nicely by not making poll_data disappear off the
6426 stack once gst_bus_poll returns.
6427 gst_bus_peek now increments the refcount on the returned
6430 2005-07-29 Wim Taymans <wim@fluendo.com>
6432 * docs/design/part-gstghostpad.txt:
6433 Overview of current GhostPad datastructures and use
6434 cases for changing the target.
6436 2005-07-28 Wim Taymans <wim@fluendo.com>
6438 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6439 Added checks for hierarchy consistency whan adding linked
6442 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6443 Added check to test element scheduling without bin/pipeline.
6445 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6446 First add elements to bin, then link.
6448 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6449 (gst_bin_remove_func):
6450 Unlink pads from elements added/removed from bin to maintain
6451 hierarchy consistency.
6453 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6455 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6456 (gst_base_transform_handle_buffer):
6457 * gst/base/gstbasetransform.h:
6458 Remove broken delay_configure (fixes renegotiation of software
6459 scaling pipelines); remove some leftover printf()s.
6461 2005-07-28 Wim Taymans <wim@fluendo.com>
6463 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6464 Added some more tests for wrong hierarchy
6466 * docs/design/part-overview.txt:
6469 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6472 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6473 (gst_element_dispose):
6476 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6477 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6478 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6479 (gst_pad_set_caps), (gst_pad_send_event):
6480 Check for correct hierarchy when linking pads. Moving to
6481 strict requirement for ghostpads when linking elements in
6485 Clean ups. Added WRONG_HIERARCHY return value.
6487 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6489 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6490 Better debug if no transform is possible.
6492 2005-07-27 Wim Taymans <wim@fluendo.com>
6494 * docs/random/wtay/network-transp:
6497 2005-07-27 Wim Taymans <wim@fluendo.com>
6499 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6500 (gst_dp_event_from_packet):
6501 Fix serialization of seek events.
6503 2005-07-27 Wim Taymans <wim@fluendo.com>
6505 * check/gst-libs/gdp.c: (GST_START_TEST):
6506 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6507 Fix compilation and fix event serialization.
6509 2005-07-27 Wim Taymans <wim@fluendo.com>
6512 * docs/design/part-TODO.txt:
6513 * docs/design/part-events.txt:
6516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6517 (gst_base_sink_event), (gst_base_sink_do_sync),
6518 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6519 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6520 (gst_base_src_do_seek), (gst_base_src_event_handler),
6521 (gst_base_src_loop):
6522 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6523 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6524 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6525 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6526 (gst_base_transform_set_passthrough),
6527 (gst_base_transform_is_passthrough):
6528 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6529 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6535 * gst/gstelement.c: (gst_element_seek):
6537 Update gst_element_seek.
6539 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6540 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6541 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6542 (gst_event_new_eos), (gst_event_new_newsegment),
6543 (gst_event_parse_newsegment), (gst_event_new_tag),
6544 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6545 (gst_event_parse_qos), (gst_event_new_seek),
6546 (gst_event_parse_seek), (gst_event_new_navigation):
6548 Make GstEvent use GstStructure. Add parsing code, make sure the
6549 API is sufficiently generic.
6550 Mark possible directions of events and serialization.
6552 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6553 (_gst_message_copy), (gst_message_new_segment_start),
6554 (gst_message_new_segment_done), (gst_message_new_custom),
6555 (gst_message_parse_segment_start),
6556 (gst_message_parse_segment_done):
6559 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6560 (gst_pad_set_caps), (gst_pad_send_event):
6561 Update for new events.
6562 Catch events sent in wrong directions.
6564 * gst/gstqueue.c: (gst_queue_link_src),
6565 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6566 (gst_queue_handle_src_query):
6571 Remove event code from this file.
6573 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6574 (gst_dp_event_from_packet):
6577 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6579 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6580 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6581 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6582 Make debugging actually useful.
6584 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6586 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6587 (gst_pad_fixate_caps):
6588 Implement default fixation once again, so that gst_pad_fixate()
6589 actually does anything at all. This probably needs to be some
6590 sort of a last resort, and use profile-based fixation first, but
6591 since that doesn't exist yet, this is the best we have. Fixes
6592 visualization in Totem.
6594 2005-07-22 Wim Taymans <wim@fluendo.com>
6596 * docs/design/part-events.txt:
6599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6600 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6601 (gst_base_sink_activate_pull):
6604 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6605 (gst_fake_src_create):
6606 Fix handoff marshall.
6608 * gst/elements/gstidentity.c: (gst_identity_class_init),
6609 (gst_identity_transform_ip):
6610 We're a real inplace element.
6612 * gst/gstbus.c: (gst_bus_post):
6613 Added some comments.
6615 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6616 * tests/muxing/case1.c: (main):
6617 * tests/sched/dynamic-pipeline.c: (main):
6618 * tests/sched/interrupt1.c: (main):
6619 * tests/sched/interrupt2.c: (main):
6620 * tests/sched/interrupt3.c: (main):
6621 * tests/sched/runxml.c: (main):
6622 * tests/sched/sched-stress.c: (main):
6623 * tests/seeking/seeking1.c: (event_received), (main):
6624 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6626 * tests/threadstate/threadstate3.c: (main):
6627 * tests/threadstate/threadstate4.c: (main):
6628 * tests/threadstate/threadstate5.c: (main):
6631 2005-07-21 Wim Taymans <wim@fluendo.com>
6633 * docs/design/part-seeking.txt:
6634 Some small additions.
6636 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6637 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6638 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6639 * gst/base/gstbasesink.h:
6640 discont values are gint64, handle the math correctly.
6642 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6643 Make the basesrc report error if the source pad is not linked.
6645 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6646 (gst_queue_loop), (gst_queue_handle_src_query),
6647 (gst_queue_src_activate_push):
6648 Make queue collect data even if the srcpad is not linked.
6649 Start pushing out data as soon as it is linked.
6651 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6653 Added gst_flow_get_name() to ease error reporting.
6655 2005-07-20 Wim Taymans <wim@fluendo.com>
6657 * gst/gstmessage.c: (gst_message_new_segment_start),
6658 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6659 (gst_message_parse_segment_done):
6661 Added a bunch of messages for advanced seeking.
6663 * gst/parse/grammar.y:
6664 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6665 (gst_dpman_state_changed):
6666 Fix some new-pad -> pad-added signals
6668 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6670 * docs/manual/appendix-porting.xml:
6671 * docs/pwg/appendix-porting.xml:
6672 Document new-pad/state-change signal renames and the FixedList
6675 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6677 * docs/manual/advanced-autoplugging.xml:
6678 * docs/manual/basics-helloworld.xml:
6679 * docs/manual/basics-pads.xml:
6680 * docs/random/ds/0.9-suggested-changes:
6681 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6686 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6687 (gst_structure_parse_array), (gst_structure_parse_value):
6688 * gst/gstvalue.c: (gst_type_is_fixed),
6689 (gst_value_list_prepend_value), (gst_value_list_append_value),
6690 (gst_value_list_get_size), (gst_value_list_get_value),
6691 (gst_value_transform_array_string), (gst_value_serialize_array),
6692 (gst_value_deserialize_array), (gst_value_intersect_array),
6693 (gst_value_is_fixed), (_gst_value_initialize):
6695 GstElement::new-pad -> pad-added, GstElement::state-change ->
6696 state-changed, GstValueFixedList -> GstValueArray, add format and
6697 flags as their own arguments in gst_element_seek() (should improve
6698 "bindeability"), remove function generators since they don't work
6699 under a whole bunch of compilers (they were deprecated already
6702 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6704 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6705 (_gst_debug_register_funcptr):
6707 Fix illegal cast on some platforms (#309253).
6709 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6711 * gst/gstmessage.c: (gst_message_new_custom):
6713 Add _new_custom, make _new_application a macro to _new_custom.
6715 2005-07-20 Wim Taymans <wim@fluendo.com>
6717 * gst/base/gstbasesrc.c: (gst_base_src_init),
6718 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6719 * gst/base/gstbasesrc.h:
6720 Add a gboolean to decide when to push out a discont.
6722 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6723 (gst_queue_loop), (gst_queue_handle_src_query),
6724 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6725 (gst_queue_set_property), (gst_queue_get_property):
6728 * tests/threadstate/threadstate1.c: (main):
6729 Make a thread test compile and run... very silly..
6732 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6734 * docs/manual/appendix-porting.xml:
6735 Mention removal of libgstgconf-0.9.la and existence of gconf
6738 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6740 * docs/pwg/advanced-clock.xml:
6741 * docs/pwg/appendix-porting.xml:
6742 * docs/pwg/intro-preface.xml:
6743 * docs/pwg/other-base.xml:
6744 * docs/pwg/other-manager.xml:
6745 * docs/pwg/other-nton.xml:
6746 * docs/pwg/other-ntoone.xml:
6747 * docs/pwg/other-oneton.xml:
6749 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6750 demuxer), remove n-to-n (was never written), fix some code examples
6751 and links and update the porting section to include all this.
6753 2005-07-19 Wim Taymans <wim@fluendo.com>
6755 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6756 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6757 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6758 (gst_queue_src_activate_push), (gst_queue_change_state),
6759 (gst_queue_get_property):
6761 Propagate GstFlowReturn more intelligently upstream and output
6762 an ERROR/EOS when streaming stopped due to fatal error.
6764 2005-07-19 Wim Taymans <wim@fluendo.com>
6766 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6767 Don't block forever for the state change to complete, the
6768 pipeline already did with a sensible timeout.
6770 2005-07-19 Wim Taymans <wim@fluendo.com>
6772 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6773 Make sure we never call the create function is we
6776 2005-07-19 Andy Wingo <wingo@pobox.com>
6778 * gst/parse/parse.l: Attempt to solve bug #172815.
6780 2005-07-19 Wim Taymans <wim@fluendo.com>
6782 * docs/design/part-clocks.txt:
6783 * docs/design/part-events.txt:
6784 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6786 Only update the seeking values when we are not
6789 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6791 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6792 Oops, ignore the result of gst_pad_push_event here.
6794 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6796 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6797 (gst_base_src_activate_push):
6798 Send discont event from the loop function, as pads
6799 aren't activated yet in the activate_push handler.
6801 * gst/gstbin.c: (bin_bus_handler):
6802 Don't leak element name.
6804 2005-07-18 Andy Wingo <wingo@pobox.com>
6806 * configure.ac: Use AS_LIBTOOL_TAGS.
6808 2005-07-18 Wim Taymans <wim@fluendo.com>
6810 * docs/gst/gstreamer.types:
6811 Remove deleted types.
6813 2005-07-18 Wim Taymans <wim@fluendo.com>
6815 * check/elements/gstfakesrc.c: (GST_START_TEST):
6818 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6819 (init_popt_callback):
6821 * gst/gst_private.h:
6822 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6823 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6826 * gst/gstconfig.h.in:
6827 * gst/gstelement.c: (gst_element_class_init),
6828 (gst_element_set_base_time), (gst_element_get_base_time),
6829 (iterator_fold_with_resync), (gst_element_change_state),
6830 (gst_element_dispose), (gst_element_get_bus):
6832 * gst/gstelementfactory.h:
6833 * gst/gsterror.c: (_gst_core_errors_init):
6836 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6838 * gst/gstinfo.c: (_gst_debug_init):
6839 * gst/gstmessage.c: (_gst_message_copy):
6841 * gst/gstminiobject.h:
6844 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6845 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6848 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6849 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6850 (gst_pipeline_get_last_stream_time):
6851 * gst/gstpipeline.h:
6852 * gst/gstpluginfeature.h:
6854 * gst/gstscheduler.c:
6855 * gst/gstscheduler.h:
6856 * gst/gststructure.h:
6857 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6858 (gst_task_finalize), (gst_task_func), (gst_task_create),
6859 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6860 (gst_task_stop), (gst_task_pause):
6862 * gst/gsttypefind.h:
6864 * gst/registries/gstlibxmlregistry.c: (load_feature),
6865 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6866 * gst/registries/gstxmlregistry.c:
6867 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6868 * gst/schedulers/threadscheduler.c:
6869 * libs/gst/control/dparammanager.h:
6870 * tools/gst-inspect.c: (print_element_list),
6871 (print_plugin_features), (print_element_features):
6872 * tools/gst-xmlinspect.c: (print_element_list),
6873 (print_plugin_info), (main):
6874 Removed plugable schedulers.
6875 Removed Scheduler/Manager from elements.
6876 Removed gsttypes.h, rearranged includes.
6877 Removed dependency pad<->element, element<>pipeline, and
6878 various others, fix includes.
6879 implement gst_pad_get_parent() with gst_object_get_parent()
6880 Make GstTask sefcontained.
6881 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6883 Fix endless loop in iterator_fold_with_resync.
6886 2005-07-18 Wim Taymans <wim@fluendo.com>
6892 2005-07-18 Wim Taymans <wim@fluendo.com>
6897 2005-07-18 Wim Taymans <wim@fluendo.com>
6903 2005-07-18 Wim Taymans <wim@fluendo.com>
6905 * docs/design/part-dynamic.txt:
6906 * docs/design/part-events.txt:
6907 * docs/design/part-seeking.txt:
6908 Some more docs in the works.
6910 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6911 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6912 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6913 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6914 (gst_base_transform_handle_buffer),
6915 (gst_base_transform_sink_activate_push),
6916 (gst_base_transform_src_activate_pull),
6917 (gst_base_transform_set_passthrough),
6918 (gst_base_transform_is_passthrough):
6921 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6924 * gst/gstevent.c: (gst_event_finalize):
6927 * gst/gstutils.c: (gst_element_unlink),
6928 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6929 (gst_pad_proxy_setcaps):
6931 Add _get_parent_element() to get a pads parent as an element.
6933 2005-07-18 Wim Taymans <wim@fluendo.com>
6935 * check/gst/gstbin.c: (GST_START_TEST):
6938 2005-07-18 Wim Taymans <wim@fluendo.com>
6940 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6941 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6942 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6943 (gst_base_sink_event), (gst_base_sink_do_sync),
6944 (gst_base_sink_chain), (gst_base_sink_loop),
6945 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6946 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6948 Fix logic for returning ASYNC when not prerolled.
6950 2005-07-18 Wim Taymans <wim@fluendo.com>
6952 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6953 Fix nasty refcount bug.
6955 2005-07-16 Philippe Khalaf <burger@speedy.org>
6957 * gst/elements/gstfdsrc.c:
6958 * gst/elements/gstfdsrc.h:
6959 * gst/elements/gstelements.c:
6960 * gst/elements/Makefile.am:
6961 Ported fdsrc to 0.9.
6963 2005-07-16 Wim Taymans <wim@fluendo.com>
6965 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6966 (gst_base_sink_do_sync):
6969 2005-07-16 Wim Taymans <wim@fluendo.com>
6971 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6972 (gst_base_sink_event), (gst_base_sink_get_times),
6973 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6974 * gst/base/gstbasesink.h:
6975 Store and use discont values when syncing buffers as described
6978 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6979 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6980 (gst_base_src_activate_push):
6981 Push discont event when starting.
6983 * gst/elements/gstidentity.c: (gst_identity_transform):
6986 * gst/gstbin.c: (gst_bin_change_state):
6987 Small cleanups in base_time distribution.
6989 * gst/gstelement.c: (gst_element_set_base_time),
6990 (gst_element_get_base_time), (gst_element_change_state):
6992 Added methods for the base_time of the element.
6995 * gst/gstpipeline.c: (gst_pipeline_send_event),
6996 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6997 (gst_pipeline_get_last_stream_time):
6998 * gst/gstpipeline.h:
7000 Handle seeking as described in design doc, remove stream_time
7002 Cleanups clock and stream_time selection code. Added accessors
7003 for the stream_time.
7006 2005-07-16 Andy Wingo <wingo@pobox.com>
7008 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
7011 2005-07-16 Wim Taymans <wim@fluendo.com>
7013 * check/gst/gstbin.c: (GST_START_TEST):
7014 Make elements silent as the deep_notify refs the
7015 parent, which might make the test fail.
7017 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
7018 Don't hold the lock for too long.
7020 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
7022 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7023 Don't unref the caps we passed to gst_caps_make_writable() after
7024 passing them. gst_caps_make_writable() will do that for us.
7026 2005-07-15 Andy Wingo <wingo@pobox.com>
7028 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
7031 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
7032 own marshalling function for the handoff signal. Properly type the
7033 buffer as a buffer. Fixes some warnings. Should do a more general
7035 (gst_identity_class_init): Plug into the right marshaller.
7037 2005-07-15 Wim Taymans <wim@fluendo.com>
7039 * docs/design/part-TODO.txt:
7040 * docs/design/part-clocks.txt:
7041 * docs/design/part-element-sink.txt:
7042 * docs/design/part-events.txt:
7043 * docs/design/part-gstpipeline.txt:
7044 Updated docs, mostly DISCONT related.
7046 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
7048 * docs/pwg/building-pads.xml:
7049 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
7051 2005-07-15 Andy Wingo <wingo@pobox.com>
7053 * tools/gst-typefind.c: Update, add copyright block.
7055 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7056 Normalize and truncate caps before fixation.
7059 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7060 discards all but the first structure from its argument.
7062 2005-07-15 Wim Taymans <wim@fluendo.com>
7064 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7065 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7066 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7067 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7068 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7069 (gst_base_transform_chain), (gst_base_transform_change_state),
7070 (gst_base_transform_set_passthrough),
7071 (gst_base_transform_is_passthrough):
7072 * gst/base/gstbasetransform.h:
7073 Make passthrough work using the bufferpools.
7074 Changed API a bit, subclasses have to write into a buffer
7075 provided by the base class.
7076 More debug info in nego functions.
7078 * gst/elements/gstidentity.c: (gst_identity_init),
7079 (gst_identity_transform):
7080 Port to new base class.
7082 2005-07-15 Wim Taymans <wim@fluendo.com>
7084 * gst/gstmessage.c: (gst_message_new_state_changed):
7085 * tools/gst-launch.c: (event_loop), (main):
7086 Totally dump messages in -launch with the -m option.
7087 Fix message name for State messages,
7089 2005-07-14 Wim Taymans <wim@fluendo.com>
7091 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7092 Post error messages on errors.
7094 2005-07-14 Wim Taymans <wim@fluendo.com>
7096 * gst/gstcaps.c: (gst_caps_do_simplify):
7100 Define error for stream stopped.
7102 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7103 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7104 Do proper return values.
7106 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7107 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7108 (gst_pad_get_range):
7109 Better return values.
7112 Reorganise return values, add macro to check for fatal errors.
7114 * gst/gstqueue.c: (gst_queue_chain):
7115 Return proper GstFlowReturn values,
7117 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7119 * docs/gst/gstreamer-sections.txt:
7120 * docs/gst/gstreamer.types:
7121 * docs/gst/tmpl/gst.sgml:
7122 * docs/gst/tmpl/gstbasesink.sgml:
7123 * docs/gst/tmpl/gstbasesrc.sgml:
7124 * docs/gst/tmpl/gstbasetransform.sgml:
7125 * docs/gst/tmpl/gstbin.sgml:
7126 * docs/gst/tmpl/gstbuffer.sgml:
7127 * docs/gst/tmpl/gstcaps.sgml:
7128 * docs/gst/tmpl/gstclock.sgml:
7129 * docs/gst/tmpl/gstcompat.sgml:
7130 * docs/gst/tmpl/gstconfig.sgml:
7131 * docs/gst/tmpl/gstelement.sgml:
7132 * docs/gst/tmpl/gstelementdetails.sgml:
7133 * docs/gst/tmpl/gstelementfactory.sgml:
7134 * docs/gst/tmpl/gstenumtypes.sgml:
7135 * docs/gst/tmpl/gsterror.sgml:
7136 * docs/gst/tmpl/gstevent.sgml:
7137 * docs/gst/tmpl/gstfakesink.sgml:
7138 * docs/gst/tmpl/gstfakesrc.sgml:
7139 * docs/gst/tmpl/gstfilesink.sgml:
7140 * docs/gst/tmpl/gstfilesrc.sgml:
7141 * docs/gst/tmpl/gstfilter.sgml:
7142 * docs/gst/tmpl/gstformat.sgml:
7143 * docs/gst/tmpl/gstghostpad.sgml:
7144 * docs/gst/tmpl/gstimplementsinterface.sgml:
7145 * docs/gst/tmpl/gstindex.sgml:
7146 * docs/gst/tmpl/gstindexfactory.sgml:
7147 * docs/gst/tmpl/gstinfo.sgml:
7148 * docs/gst/tmpl/gstiterator.sgml:
7149 * docs/gst/tmpl/gstmacros.sgml:
7150 * docs/gst/tmpl/gstmemchunk.sgml:
7151 * docs/gst/tmpl/gstminiobject.sgml:
7152 * docs/gst/tmpl/gstobject.sgml:
7153 * docs/gst/tmpl/gstpad.sgml:
7154 * docs/gst/tmpl/gstpadtemplate.sgml:
7155 * docs/gst/tmpl/gstparse.sgml:
7156 * docs/gst/tmpl/gstpipeline.sgml:
7157 * docs/gst/tmpl/gstplugin.sgml:
7158 * docs/gst/tmpl/gstpluginfeature.sgml:
7159 * docs/gst/tmpl/gstquery.sgml:
7160 * docs/gst/tmpl/gstqueue.sgml:
7161 * docs/gst/tmpl/gstregistry.sgml:
7162 * docs/gst/tmpl/gstregistrypool.sgml:
7163 * docs/gst/tmpl/gstscheduler.sgml:
7164 * docs/gst/tmpl/gstschedulerfactory.sgml:
7165 * docs/gst/tmpl/gststructure.sgml:
7166 * docs/gst/tmpl/gstsystemclock.sgml:
7167 * docs/gst/tmpl/gsttaglist.sgml:
7168 * docs/gst/tmpl/gsttagsetter.sgml:
7169 * docs/gst/tmpl/gsttrace.sgml:
7170 * docs/gst/tmpl/gsttrashstack.sgml:
7171 * docs/gst/tmpl/gsttypefind.sgml:
7172 * docs/gst/tmpl/gsttypefindfactory.sgml:
7173 * docs/gst/tmpl/gsttypes.sgml:
7174 * docs/gst/tmpl/gsturihandler.sgml:
7175 * docs/gst/tmpl/gsturitype.sgml:
7176 * docs/gst/tmpl/gstutils.sgml:
7177 * docs/gst/tmpl/gstvalue.sgml:
7178 * docs/gst/tmpl/gstversion.sgml:
7179 * docs/gst/tmpl/gstxml.sgml:
7180 * docs/libs/tmpl/gstcontrol.sgml:
7181 * docs/libs/tmpl/gstdataprotocol.sgml:
7182 * docs/libs/tmpl/gstdparam.sgml:
7183 * docs/libs/tmpl/gstdplinint.sgml:
7184 * docs/libs/tmpl/gstdpman.sgml:
7185 * docs/libs/tmpl/gstdpsmooth.sgml:
7186 * docs/libs/tmpl/gstgetbits.sgml:
7187 * docs/libs/tmpl/gstunitconvert.sgml:
7188 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7189 (gst_push_src_base_init), (gst_push_src_class_init),
7190 (gst_push_src_init), (gst_push_src_create):
7191 * gst/base/gstpushsrc.h:
7192 * gst/elements/gstelements.c:
7193 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7194 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7195 (gst_fake_sink_init), (gst_fake_sink_set_property),
7196 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7197 (gst_fake_sink_event), (gst_fake_sink_preroll),
7198 (gst_fake_sink_render), (gst_fake_sink_change_state):
7199 * gst/elements/gstfakesink.h:
7200 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7201 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7202 (gst_fake_src_base_init), (gst_fake_src_class_init),
7203 (gst_fake_src_init), (gst_fake_src_event_handler),
7204 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7205 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7206 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7207 (gst_fake_src_create_buffer), (gst_fake_src_create),
7208 (gst_fake_src_start), (gst_fake_src_stop):
7209 * gst/elements/gstfakesrc.h:
7210 * gst/elements/gstfilesink.c: (_do_init),
7211 (gst_file_sink_base_init), (gst_file_sink_class_init),
7212 (gst_file_sink_init), (gst_file_sink_dispose),
7213 (gst_file_sink_set_location), (gst_file_sink_set_property),
7214 (gst_file_sink_get_property), (gst_file_sink_open_file),
7215 (gst_file_sink_close_file), (gst_file_sink_query),
7216 (gst_file_sink_event), (gst_file_sink_render),
7217 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7218 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7219 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7220 * gst/elements/gstfilesink.h:
7221 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7222 (gst_file_src_class_init), (gst_file_src_init),
7223 (gst_file_src_finalize), (gst_file_src_set_location),
7224 (gst_file_src_set_property), (gst_file_src_get_property),
7225 (gst_file_src_map_region), (gst_file_src_map_small_region),
7226 (gst_file_src_create_mmap), (gst_file_src_create_read),
7227 (gst_file_src_create), (gst_file_src_is_seekable),
7228 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7229 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7230 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7231 (gst_file_src_uri_handler_init):
7232 * gst/elements/gstfilesrc.h:
7233 more autistic cleanliness in functions/names/defines
7235 2005-07-13 Andy Wingo <wingo@pobox.com>
7237 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7238 source couldn't negotiate.
7240 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7244 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7245 function. I am channeling Hades. Put your boots on suckers!!!
7247 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7249 * testsuite/caps/Makefile.am:
7250 * testsuite/caps/value_compare.c:
7251 * testsuite/caps/value_intersect.c:
7252 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7253 move two testsuite apps over to the check dir
7255 2005-07-12 Wim Taymans <wim@fluendo.com>
7257 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7258 Added more debug info in the negotiate process.
7261 Prepare for segment playback.
7263 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7269 * tools/gst-launch.c: (main):
7270 NULL pipeline on errors.
7272 2005-07-12 Andy Wingo <wingo@pobox.com>
7274 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7275 not it comes from a malloc region. Make sure our copy gets freed.
7277 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7279 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7280 * check/gst/gstmessage.c: (GST_START_TEST):
7281 * check/gst/gststructure.c: (GST_START_TEST),
7282 (gst_structure_suite), (main):
7284 * gst/gstelement.c: (gst_element_message_full):
7285 clean up GError and debug string now that they get copied
7286 * gst/gstmessage.c: (gst_message_new_error),
7287 (gst_message_new_warning), (gst_message_parse_error),
7288 (gst_message_parse_warning):
7289 use GST_TYPE_G_ERROR for structure_new, and take copies of
7290 arguments, so that we don't mess up refcounting
7292 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7294 * check/Makefile.am:
7295 add per-test valgrind targets
7296 * check/gst-libs/gdp.c: (GST_START_TEST),
7297 (gst_data_protocol_suite), (main):
7300 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7302 * check/Makefile.am:
7303 instate more valgrindable tests
7304 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7305 (GST_START_TEST), (fakesrc_suite):
7306 * check/gst/gstpad.c: (GST_START_TEST):
7307 * check/gst/gststructure.c: (GST_START_TEST):
7309 * docs/gst/tmpl/gstminiobject.sgml:
7310 * gst/gstpad.c: (gst_pad_finalize):
7311 fix the static mutex leak
7313 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7315 * check/Makefile.am:
7316 add two more tests for valgrinding
7317 * check/gst/gstvalue.c: (GST_START_TEST):
7318 test refcount of deserialized buffer, found a leak
7319 * docs/gst/gstreamer-docs.sgml:
7320 * docs/gst/gstreamer-sections.txt:
7321 * docs/gst/gstreamer.types:
7322 * docs/gst/tmpl/gstminiobject.sgml:
7323 add miniobject to docs
7324 * gst/gstminiobject.c:
7326 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7327 (gst_string_unwrap):
7328 fix a hard-to-find invalid write for one of the tests
7329 fix a leak for deserialized buffers
7331 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7333 * docs/pwg/advanced-events.xml:
7334 * docs/pwg/advanced-request.xml:
7335 * docs/pwg/advanced-scheduling.xml:
7336 * docs/pwg/appendix-porting.xml:
7337 * docs/pwg/building-boiler.xml:
7338 * docs/pwg/intro-preface.xml:
7339 * docs/pwg/other-ntoone.xml:
7340 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7341 of example code and explanation for pad activation, loop() and
7342 getrange() functions and a bit more. Remove old comments pointing
7344 * examples/pwg/Makefile.am:
7345 Add loop/getrange examples.
7347 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7350 check for valgrind binary + some fixes
7352 valgrind suppressions for the tests
7353 * check/Makefile.am:
7354 add a valgrind: target that valgrinds the unit tests
7355 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7356 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7357 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7358 * check/gst/gstghostpad.c:
7360 * check/gst/gstdata.c:
7362 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7363 (thread_unref), (gst_mini_object_suite), (main):
7365 * gst/gst.c: (gst_deinit):
7367 add a method to clean up.
7368 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7369 (gst_system_clock_obtain):
7370 allow for disposing the system clock.
7371 * tools/gst-launch.c: (main):
7374 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7376 * docs/gst/tmpl/gstbasesrc.sgml:
7377 * docs/gst/tmpl/gstfakesrc.sgml:
7378 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7379 (gst_base_src_init), (gst_base_src_set_property),
7380 (gst_base_src_get_property), (gst_base_src_get_range),
7381 (gst_base_src_start):
7382 * gst/base/gstbasesrc.h:
7383 add num-buffers property
7384 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7385 (gst_fakesrc_init), (gst_fakesrc_set_property),
7386 (gst_fakesrc_get_property), (gst_fakesrc_create),
7387 (gst_fakesrc_start):
7388 remove num-buffers property
7390 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7392 * docs/gst/gstreamer-sections.txt:
7393 * docs/gst/tmpl/gstbasesink.sgml:
7394 * docs/gst/tmpl/gstbasesrc.sgml:
7395 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7396 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7397 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7398 (gst_base_sink_set_property), (gst_base_sink_get_property),
7399 (gst_base_sink_handle_object), (gst_base_sink_event),
7400 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7401 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7402 (gst_base_sink_loop), (gst_base_sink_deactivate),
7403 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7404 (gst_base_sink_change_state):
7405 * gst/base/gstbasesink.h:
7406 * gst/base/gstbasesrc.h:
7407 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7408 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7409 (gst_filesink_init):
7410 more macro splitting
7412 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7414 * gst/gstelement.c: (gst_element_get_bus):
7416 * tools/gst-launch.c: (check_intr), (event_loop):
7419 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7421 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7424 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7426 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7427 (gst_base_src_finalize):
7428 add finalize method and clean up properly
7429 * gst/gstpipeline.c: (gst_pipeline_dispose):
7432 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7434 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7436 add more things to check
7437 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7441 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7443 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7444 (GST_START_TEST), (fakesrc_suite):
7445 * check/gst-libs/gdp.c: (GST_START_TEST):
7446 * check/gst/gst.c: (GST_START_TEST):
7447 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7448 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7449 * check/gst/gstbus.c: (GST_START_TEST):
7450 * check/gst/gstcaps.c: (GST_START_TEST):
7451 * check/gst/gstdata.c: (GST_START_TEST):
7452 * check/gst/gstelement.c: (GST_START_TEST):
7453 * check/gst/gstghostpad.c: (GST_START_TEST):
7454 * check/gst/gstiterator.c: (GST_START_TEST):
7455 * check/gst/gstmessage.c: (GST_START_TEST):
7456 * check/gst/gstobject.c: (GST_START_TEST):
7457 * check/gst/gstpad.c: (GST_START_TEST):
7458 * check/gst/gststructure.c: (GST_START_TEST):
7459 * check/gst/gstsystemclock.c: (GST_START_TEST),
7460 (gst_systemclock_suite):
7461 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7462 * check/gst/gstvalue.c: (GST_START_TEST):
7463 * check/pipelines/cleanup.c: (GST_START_TEST):
7464 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7465 * check/states/sinks.c: (GST_START_TEST):
7466 * check/gstcheck.c: (gst_check_init):
7468 add debugging category
7469 use GST_START_TEST now, so we add a debug line
7471 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7473 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7474 add test for state change message on a bin
7475 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7477 * gst/gstbin.c: (gst_bin_init):
7478 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7479 * gst/gstelement.c: (gst_element_post_message),
7480 (gst_element_set_state):
7481 * gst/gstelementfactory.c: (gst_element_factory_create):
7482 * gst/gstmessage.c: (gst_message_new):
7483 * gst/gstscheduler.c:
7484 various debugging additions and cleanups
7486 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7488 * check/Makefile.am:
7489 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7491 adding tests for elements
7492 * gst/gstelement.c: (gst_element_dispose):
7494 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7496 * gst/registries/gstlibxmlregistry.c: (load_feature):
7497 plug more leaks. A simple gst_init() now is leakfree, yay.
7499 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7501 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7502 (gst_xml_registry_load):
7503 plug another memleak
7505 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7508 use GST_SET_ERROR_CFLAGS
7510 change to ERROR_CFLAGS
7512 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7515 make GST_ERROR_CFLAGS overridable and re-enable Werror
7517 add a note about error CFLAGS
7518 * docs/gst/tmpl/gstfakesrc.sgml:
7519 * gst/elements/gstfakesrc.c:
7520 comment out some unused code
7521 * gst/gst.c: (split_and_iterate):
7522 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7526 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7528 * common/Makefile.am:
7529 * common/gtk-doc.mak:
7530 * docs/gst/Makefile.am:
7531 factor out gtk-doc.mak
7533 2005-07-07 Wim Taymans <wim@fluendo.com>
7535 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7536 (gst_thread_scheduler_dispose):
7537 Unlock the STREAM_LOCK completely.
7539 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7541 * check/Makefile.am:
7542 * check/elements/.cvsignore:
7543 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7544 (START_TEST), (fakesrc_suite), (main):
7545 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7546 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7547 (gst_fakesrc_create), (gst_fakesrc_start):
7548 * gst/elements/gstfakesrc.h:
7549 adding a first element test
7551 2005-07-07 Andy Wingo <wingo@pobox.com>
7553 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7556 2005-07-07 Wim Taymans <wim@fluendo.com>
7562 2005-07-07 Wim Taymans <wim@fluendo.com>
7564 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7565 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7566 Allow subclasses to implement their own negotiation.
7568 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7570 * docs/design/part-gstbin.txt:
7571 * docs/design/part-gstpipeline.txt:
7572 Update design notes to reflect the movement of
7573 responsibility for bus handling from GstPipeline to
7576 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7579 Remove unnecessary queue2/3/4 examples.
7581 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7583 * examples/Makefile.am:
7584 * examples/helloworld/helloworld.c: (event_loop), (main):
7585 * examples/queue/queue.c: (event_loop), (main):
7586 * examples/queue2/queue2.c: (main):
7587 Update a couple of the examples to work again.
7589 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7590 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7591 Spelling corrections and extra debug.
7593 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7594 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7595 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7597 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7598 (gst_pipeline_change_state):
7599 * gst/gstpipeline.h:
7600 Move the bus handler for children to the GstBin, and create a
7601 separate bus for receiving messages from children to the one the
7602 bus sends 'upwards' on.
7604 2005-07-06 Wim Taymans <wim@fluendo.com>
7607 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7608 (gst_base_sink_handle_object), (gst_base_sink_loop),
7609 (gst_base_sink_change_state):
7610 * gst/base/gstbasesink.h:
7611 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7612 (gst_base_src_init), (gst_base_src_setcaps),
7613 (gst_base_src_getcaps), (gst_base_src_loop),
7614 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7615 (gst_base_src_start), (gst_base_src_change_state):
7616 * gst/base/gstbasesrc.h:
7617 Make basesrc negotiate.
7618 Handle the case where preroll fails in basesink.
7621 2005-07-06 Wim Taymans <wim@fluendo.com>
7623 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7624 Implement the fixate function.
7625 Clean up acceptcaps.
7627 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7629 * docs/pwg/building-filterfactory.xml:
7631 Remove never-written filter-factory chapter; I'll add the various
7632 base classes to part 4 ("other element types") later on.
7634 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7636 * docs/pwg/advanced-negotiation.xml:
7637 * docs/pwg/building-boiler.xml:
7638 * docs/pwg/building-pads.xml:
7640 * examples/pwg/Makefile.am:
7641 Add a chapter on caps negotiation, simplify the original code
7642 samples a bit w.r.t. caps negotiation, add link to the advanced
7643 section. Add a bunch of examples showing different use cases of
7644 different types of caps negotiation. Upstream renegotiation isn't
7645 fully documented yet since nobody knows how that works.
7647 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7649 * check/gst/gstpad.c:
7651 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7652 if pad has no parent, return NULL as list of internal links
7654 2005-07-05 Andy Wingo <wingo@pobox.com>
7656 * gst/elements/gstfilesrc.c:
7657 * gst/elements/gstfakesrc.c:
7658 * gst/base/gstpushsrc.c:
7659 * gst/base/gstbasesrc.h:
7660 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7662 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7665 better report generation target (lcov needs a patch)
7667 2005-07-05 Andy Wingo <wingo@pobox.com>
7669 * gst/elements, testsuite: Null if we got it...
7671 2005-07-05 Wim Taymans <wim@fluendo.com>
7674 * libs/gst/dataprotocol/Makefile.am:
7675 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7676 * libs/gst/dataprotocol/dataprotocol.h:
7677 * pkgconfig/Makefile.am:
7678 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7679 * pkgconfig/gstreamer-dataprotocol.pc.in:
7680 Ported dataprotol to 0.9.
7681 Added pkgconfig files.
7683 2005-07-05 Andy Wingo <wingo@pobox.com>
7685 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7686 Default to returning TRUE for the case when tranform_caps returns
7687 a fixed caps, like for identity or volume.
7689 * check/gst/gstbus.c (pound_bus_with_messages):
7690 * check/gst/gstmessage.c (START_TEST):
7691 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7694 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7695 logic weaks here: always run transform_caps, trying passthrough
7696 operation only if the original caps intersects with the transform.
7698 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7699 source and sink caps.
7701 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7702 Intersect the peer caps with the pad template before going into
7704 (gst_base_transform_transform_caps): More debugging.
7706 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7709 2005-07-04 Edward Hervey <edward@fluendo.com>
7713 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7716 2005-07-04 Andy Wingo <wingo@pobox.com>
7718 * check/gst/gstpad.c: Only set explicit caps on pads.
7720 2005-07-01 Andy Wingo <wingo@pobox.com>
7722 * tests/network-clock.scm: Commentary update.
7724 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7725 Didn't really make sense, not implementable with basetransform,
7727 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7728 attempt at implementing the sync property, needs an unlock method.
7730 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7731 New func, by default returns the same caps (the identity
7733 (gst_base_transform_getcaps): Uses transform_caps to return
7735 (gst_base_transform_setcaps): Complicated logic to get caps on
7736 both pads, even if they are different, and to call set_caps once
7737 for every time both pads get their caps set.
7738 (gst_base_transform_handle_buffer): Give the ref to the transform
7739 function. Allows in-place modification of the buffer.
7741 * gst/base/gstbasetransform.h (transform_caps): New class method.
7742 Given caps on one side, what can I do on the other.
7743 (set_caps): Take two caps, one for each side of the element.
7746 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7747 caps in place. This is safe because we can check the mutability of
7748 the caps, and a good idea because fixate functions are just called
7749 as a matter of last resort. (Not actually implemented.)
7750 (gst_pad_set_caps): If the caps we're setting is actually the same
7751 as the existing pad caps, just update the pointer without calling
7752 setcaps. Assert that caps is either NULL or fixed, as per the
7755 * gst/gstghostpad.c: Update for fixate changes.
7757 2005-07-02 Andy Wingo <wingo@pobox.com>
7760 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7761 two refcounts makes it immutable, which is enough. Doc more.
7763 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7765 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7766 Put the mini_object into GValue as a mini_object,
7767 not a gpointer, since that's how we declared
7770 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7772 * examples/pwg/Makefile.am:
7775 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7777 * docs/pwg/building-testapp.xml:
7779 * examples/pwg/Makefile.am:
7782 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7785 * examples/Makefile.am:
7786 * examples/pwg/Makefile.am:
7787 * examples/pwg/extract.pl:
7788 Enable building the PWG examples.
7789 * docs/pwg/advanced-interfaces.xml:
7790 Add URI interface stub.
7791 * docs/pwg/advanced-types.xml:
7792 * docs/pwg/other-autoplugger.xml:
7793 * docs/pwg/appendix-porting.xml:
7795 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7796 * docs/pwg/building-boiler.xml:
7797 * docs/pwg/building-chainfn.xml:
7798 * docs/pwg/building-pads.xml:
7799 * docs/pwg/building-props.xml:
7800 * docs/pwg/building-state.xml:
7801 * docs/pwg/building-testapp.xml:
7802 Update the building-*.xml parts for 0.9 changes. All examples
7803 code blocks compile in examples/pwg/*.
7805 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7807 * docs/manual/advanced-autoplugging.xml:
7808 * docs/manual/appendix-checklist.xml:
7809 * docs/manual/appendix-integration.xml:
7810 * docs/manual/highlevel-components.xml:
7811 Fix playbin/decodebin examples, update docs a bit, mention bus
7812 instead of signals in various places, mention kmplayer and
7813 kaffeine since they have a working GStreamer backend in the KDE
7816 2005-06-30 Wim Taymans <wim@fluendo.com>
7819 * docs/design/draft-ghostpads.txt:
7820 * docs/design/draft-push-pull.txt:
7821 * docs/design/draft-query.txt:
7822 * docs/design/part-TODO.txt:
7823 * docs/design/part-query.txt:
7824 Added CHANGES-0.9 doc, updated status of other docs.
7829 2005-06-30 Wim Taymans <wim@fluendo.com>
7831 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7832 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7833 (gst_base_sink_change_state):
7834 * gst/base/gstbasesink.h:
7835 Some tweaks, only EOS and a buffer complete a preroll.
7837 2005-06-30 Andy Wingo <wingo@pobox.com>
7839 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7840 activate_push down to the internal pad as well.
7842 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7844 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7846 * gst/gsttaginterface.c:
7847 Some documentation fixes (#307394 and #307397).
7849 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7851 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7853 * gst/gstvalue.c: (gst_value_intersect_list):
7854 Fix memleak (#309125).
7856 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7858 * docs/manual/advanced-dataaccess.xml:
7859 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7860 * docs/manual/basics-pads.xml:
7861 Add reference for filtered caps to above chapter.
7863 2005-06-30 Wim Taymans <wim@fluendo.com>
7865 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7866 (gst_bin_change_state):
7868 Lame attempt at making the state change function a bit
7871 2005-06-30 Wim Taymans <wim@fluendo.com>
7873 * docs/design/part-clocks.txt:
7874 * docs/design/part-element-sink.txt:
7875 * docs/design/part-events.txt:
7876 * docs/design/part-preroll.txt:
7877 * docs/design/part-states.txt:
7878 Some more tweeks and additions to the docs.
7880 2005-06-30 Wim Taymans <wim@fluendo.com>
7882 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7883 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7884 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7885 (gst_pad_check_pull_range), (gst_pad_get_range),
7886 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7888 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7889 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7890 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7891 (gst_pad_remove_buffer_probe):
7892 Removed atomic operations, use existing LOCK.
7893 Move exception handling out of main code path.
7895 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7897 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7898 (silly_return_true_function), (gst_pad_class_init),
7899 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7900 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7901 (gst_pad_send_event):
7902 Fix accumulator, add default value by using _emitv() instead
7903 of _emit() for signal emission.
7905 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7907 * docs/manual/advanced-dataaccess.xml:
7908 * examples/manual/Makefile.am:
7910 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7913 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7915 * gst/elements/gstfilesink.c: (gst_filesink_render):
7916 Simplify code so that we don't have to handle short
7917 writes and return GST_FLOW_ERROR if an error occured.
7919 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7921 * docs/gst/gstreamer-docs.sgml:
7924 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7926 * docs/gst/gstreamer-sections.txt:
7927 * docs/gst/tmpl/gstpad.sgml:
7928 * docs/gst/tmpl/gstprobe.sgml:
7930 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7931 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7932 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7933 (gst_pad_push_event), (gst_pad_send_event):
7935 * gst/gstutils.c: (gst_pad_add_data_probe),
7936 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7937 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7938 (gst_pad_remove_buffer_probe):
7940 Remove old probes, add new g-signal-based probes and some utility
7943 2005-06-29 Edward Hervey <edward@fluendo.com>
7945 * gst/gstelementfactory.c:
7948 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7949 the definition to the header file.
7951 2005-06-29 Andy Wingo <wingo@pobox.com>
7953 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7954 plugins from the source directory.
7956 2005-06-29 Wim Taymans <wim@fluendo.com>
7958 * docs/gst/tmpl/gstbuffer.sgml:
7959 * docs/gst/tmpl/gstclock.sgml:
7960 Some fixings for blantently wrong text.
7962 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7964 * check/Makefile.am:
7965 * gst/gst.c: (add_path_func), (init_pre):
7966 * gst/gstregistry.c: (gst_registry_add_path):
7967 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7968 only scan the GST_PLUGIN_PATH locations, and not add
7971 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7973 * docs/gst/gstreamer-sections.txt:
7974 * docs/gst/tmpl/gstbasesrc.sgml:
7981 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7983 * docs/manual/advanced-autoplugging.xml:
7984 Fix autoplugging example.
7986 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7988 * docs/manual/advanced-autoplugging.xml:
7989 * docs/manual/mime-world.fig:
7990 Try to get autoplugging working, fix type detection. Fix text
7991 in hello-world image.
7993 2005-06-29 Wim Taymans <wim@fluendo.com>
7995 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7996 (gst_base_sink_change_state):
8000 map SIGNAL and BROADCAST to the right function.
8003 Remove redundant braces.
8005 * gst/gstpad.c: (gst_pad_set_caps):
8006 Don't call setcaps function when reseting caps to NULL.
8008 * gst/gstsystemclock.c: (gst_system_clock_dispose),
8009 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
8010 (gst_system_clock_id_unschedule):
8011 Use BROADCAST as this is what we do.
8013 2005-06-29 Wim Taymans <wim@fluendo.com>
8015 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8016 We are actually prerolling before commiting the state
8019 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8021 * docs/manual/advanced-clocks.xml:
8022 * docs/manual/advanced-interfaces.xml:
8023 * docs/manual/advanced-metadata.xml:
8024 * docs/manual/advanced-position.xml:
8025 * docs/manual/advanced-schedulers.xml:
8026 * docs/manual/advanced-threads.xml:
8027 * docs/manual/appendix-porting.xml:
8028 * docs/manual/basics-bins.xml:
8029 * docs/manual/basics-bus.xml:
8030 * docs/manual/basics-elements.xml:
8031 * docs/manual/basics-helloworld.xml:
8032 * docs/manual/basics-pads.xml:
8033 * docs/manual/highlevel-components.xml:
8034 * docs/manual/manual.xml:
8035 * docs/manual/thread.fig:
8036 Update (until threads/scheduling) Application Development Manual;
8037 remove GstThread, add GstBus, add simple porting checklist, add
8038 documentation for tag writing, clocks, make all examples until this
8039 part compile and run.
8040 * examples/manual/Makefile.am:
8041 Update from changes to Application Development Manual; add bus
8042 example, remove thread example.
8044 2005-06-28 Wim Taymans <wim@fluendo.com>
8046 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
8047 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
8048 (gst_bus_source_dispatch):
8049 Add debugging messages.
8050 Make internal methods static.
8051 Handle the case where the bus is flushed in the handler.
8053 * gst/gstelement.c: (gst_element_get_bus):
8054 Fix refcount in _get_bus();
8056 * gst/gstpipeline.c: (gst_pipeline_change_state),
8057 (gst_pipeline_get_clock_func):
8058 Clock refcounting fixes.
8059 Handle the case where preroll timed out more gracefully.
8061 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8062 Clean up the internal thread in dispose. This is needed
8063 for subclasses that actually get disposed.
8065 * gst/schedulers/threadscheduler.c:
8066 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8067 (gst_thread_scheduler_dispose):
8068 Free thread pool in dispose.
8070 2005-06-28 Andy Wingo <wingo@pobox.com>
8072 * tests/network-clock-utils.scm (debug, print-event): New utils.
8074 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8075 (*packet-loss*): Unified loss probability.
8076 (network-time): Report out-of-band events.
8078 * tests/plot-data: Add support for out-of-band events. Hack it
8079 into this script instead of passing it down the pipe; should fix
8082 2005-06-28 Wim Taymans <wim@fluendo.com>
8084 * docs/gst/gstreamer.types:
8085 * docs/gst/tmpl/gstbasesrc.sgml:
8086 * docs/gst/tmpl/gstpad.sgml:
8089 2005-06-28 Wim Taymans <wim@fluendo.com>
8091 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8092 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8093 (gst_proxy_pad_do_fixatecaps):
8094 Correctly proxy the check_pull_range function.
8096 2005-06-28 Andy Wingo <wingo@pobox.com>
8098 * tests/network-clock.scm: Removed need for slib.
8100 2005-06-28 Wim Taymans <wim@fluendo.com>
8102 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8103 (gst_basesink_preroll_queue_flush):
8104 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8105 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8106 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8107 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8108 (gst_proxy_pad_set_property):
8111 * gst/gstqueue.c: (gst_queue_init):
8112 The deprecated pad loop function is removed now.
8114 2005-06-28 Andy Wingo <wingo@pobox.com>
8116 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8117 New parameters, simulate network packet loss.
8119 * tests/network-clock-utils.scm: Initialize the RNG.
8121 2005-06-28 Wim Taymans <wim@fluendo.com>
8123 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8124 (gst_basesink_event), (gst_basesink_deactivate):
8125 Flushing the preroll queue always needs to unlock the waiters.
8127 2005-06-28 Edward Hervey <edward@fluendo.com>
8129 * gst/gstpipeline.c: (gst_pipeline_send_event):
8130 Wheen a seek was successful on a pipeline, set the stream_time to the
8131 seek offset in order to have a synchronized stream_time.
8133 2005-06-28 Wim Taymans <wim@fluendo.com>
8135 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8136 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8137 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8138 (gst_proxy_pad_do_fixatecaps):
8139 Call wrapper function instead of just calling the function
8140 pointers. This takes care of any locking and whatmore.
8142 2005-06-28 Wim Taymans <wim@fluendo.com>
8144 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8145 (gst_pad_pull_range):
8147 CONNECTED -> LINKED.
8149 2005-06-28 Andy Wingo <wingo@pobox.com>
8151 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8152 source-munging commit!!!
8154 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8155 (gst_object_sink): Take gpointer arguments, not GstObject --
8156 avoids casts. Like GLib.
8158 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8161 2005-06-27 Andy Wingo <wingo@pobox.com>
8163 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8166 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8167 returns a sorted copy of the trace list.
8168 (gst_alloc_trace_print_live): New API, only prints traces with
8169 live objects. Sort the list.
8170 (gst_alloc_trace_print_all): Sort the list.
8171 (gst_alloc_trace_print): Align columns.
8173 * gst/elements/gstttypefindelement.c:
8174 * gst/elements/gsttee.c:
8175 * gst/base/gstbasesrc.c:
8176 * gst/base/gstbasesink.c:
8177 * gst/base/gstbasetransform.c:
8178 * gst/gstqueue.c: Adapt for pad activation changes.
8180 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8182 (gst_pipeline_dispose): Drop ref on sched.
8184 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8185 (gst_pad_activate_default): Push mode by default.
8186 (pre_activate_switch, post_activate_switch): New stubs, things to
8187 do before and after switching activation modes on pads.
8188 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8189 the pad's activate function to choose which mode to activate.
8190 Shortcut on deactivation and call the right function directly.
8191 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8193 (gst_pad_activate_push): New API, same for push mode.
8194 (gst_pad_set_activate_function)
8195 (gst_pad_set_activatepull_function)
8196 (gst_pad_set_activatepush_function): Setters for new API.
8198 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8199 Trace all miniobjects.
8200 (gst_mini_object_make_writable): Unref the arg if we copy, like
8201 gst_caps_make_writable.
8203 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8205 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8206 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8207 Adapt for new pad API.
8209 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8212 * gst/gstelement.c (gst_element_iterate_src_pads)
8213 (gst_element_iterate_sink_pads): New API functions.
8215 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8216 should fold into gstiterator.c in some form.
8217 (gst_element_pads_activate): Simplified via use of fold and
8218 delegation of decisions to gstpad->activate.
8220 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8223 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8224 class once in init, like gstmessage. Didn't run into this issue
8225 but it seems correct. Don't initialize a trace, gstminiobject does
8228 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8229 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8231 (assert_live_count): New util function, uses alloc traces to check
8234 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8235 To be modified when unlink drops the internal pad.
8237 2005-06-27 Wim Taymans <wim@fluendo.com>
8239 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8240 (gst_bin_change_state):
8241 Cleanup the get_state() function a little, make sure it
8242 iterates the same set of elements.
8243 Added stub iterate_state_order().
8245 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8247 * docs/gst/gstreamer-docs.sgml:
8248 * docs/gst/gstreamer-sections.txt:
8249 * docs/gst/gstreamer.types:
8250 * docs/gst/tmpl/gstbasesink.sgml:
8251 * docs/gst/tmpl/gstbasesrc.sgml:
8252 * docs/gst/tmpl/gstbasetransform.sgml:
8253 * docs/gst/tmpl/gstelement.sgml:
8254 * docs/gst/tmpl/gstiterator.sgml:
8255 * gst/base/gstbasesrc.c:
8256 * gst/base/gstbasesrc.h:
8257 * gst/base/gstbasetransform.h:
8259 * gst/gstiterator.h:
8260 adding basetransform and iterator docs
8262 2005-06-27 Andy Wingo <wingo@pobox.com>
8264 * docs/design/part-activation.txt: Notes on how activation should
8265 work -- not quite implemented yet.
8267 2005-06-25 Wim Taymans <wim@fluendo.com>
8269 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8270 At least get the chain function correct, needs more
8273 2005-06-25 Wim Taymans <wim@fluendo.com>
8275 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8276 (gst_basesink_handle_object), (gst_basesink_event),
8277 (gst_basesink_do_sync), (gst_basesink_handle_event),
8278 (gst_basesink_change_state):
8280 Right, two problems here: ghostpads don't take locks and
8281 glib _rec_mutex_lock_full() with depth==0 still locks.
8282 Catch illegal locking and g_warn them.
8284 2005-06-25 Wim Taymans <wim@fluendo.com>
8286 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8287 Have to check for completion now...
8289 2005-06-25 Wim Taymans <wim@fluendo.com>
8291 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8292 (gst_basesink_handle_object), (gst_basesink_event),
8293 (gst_basesink_do_sync), (gst_basesink_handle_event),
8294 (gst_basesink_change_state):
8296 Unlock STREAM_LOCK whatever the recursion was.
8298 2005-06-25 Wim Taymans <wim@fluendo.com>
8300 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8301 (gst_basesink_preroll_queue_empty),
8302 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8303 (gst_basesink_event), (gst_basesink_do_sync),
8304 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8305 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8306 (gst_basesink_change_state):
8307 Reworked the base sink, handle event and buffer serialisation
8308 correctly and removed possible deadlock.
8309 Handle EOS correctly.
8311 2005-06-25 Wim Taymans <wim@fluendo.com>
8313 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8314 (gst_pipeline_change_state):
8315 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8316 Allow elements to post EOS in the state change function.
8317 Fix up -launch, make it exit the poll loop when the
8318 pipeline actually changed state.
8319 Fix up warning parsing in -launch.
8321 2005-06-25 Wim Taymans <wim@fluendo.com>
8323 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8324 (gst_tee_sink_activate):
8325 Core takes STREAM_LOCK for us now.
8327 2005-06-25 Wim Taymans <wim@fluendo.com>
8329 * gst/gstelement.c: (gst_element_get_state_func),
8330 (gst_element_set_state):
8332 * gst/gstmessage.c: (gst_message_parse_error),
8333 (gst_message_parse_warning):
8334 Keep track of current target state while performing a state
8335 change so that subclasses can do something interesting.
8336 Fix parsing of warning/error messages when GError is NULL.
8338 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8340 * docs/gst/Makefile.am:
8341 * docs/gst/gstreamer-docs.sgml:
8342 * docs/gst/gstreamer-sections.txt:
8343 * docs/gst/gstreamer.types:
8344 * docs/gst/tmpl/gstbasesink.sgml:
8345 * docs/gst/tmpl/gstbasesrc.sgml:
8346 * docs/gst/tmpl/gstbin.sgml:
8347 * docs/gst/tmpl/gstcompat.sgml:
8348 * docs/gst/tmpl/gstfakesink.sgml:
8349 * docs/gst/tmpl/gstfakesrc.sgml:
8350 * docs/gst/tmpl/gstfilesink.sgml:
8351 * docs/gst/tmpl/gstfilesrc.sgml:
8352 * docs/gst/tmpl/gstindex.sgml:
8353 * docs/manual/appendix-quotes.xml:
8354 * gst/base/gstbasesrc.h:
8355 * gst/elements/gstfakesrc.h:
8357 start pulling in base classes and elements in our docs
8359 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8361 * docs/gst/Makefile.am:
8362 * docs/libs/Makefile.am:
8363 fixed make distcheck with gtk-doc 1.3
8365 2005-06-23 Wim Taymans <wim@fluendo.com>
8367 * gst/gstelement.c: (gst_element_get_state_func),
8368 (gst_element_set_state), (gst_element_change_state):
8369 When the state did not change, also report NO_PREROLL
8372 2005-06-23 Wim Taymans <wim@fluendo.com>
8374 * gst/gstpad.c: (gst_pad_event_default):
8375 * gst/gstqueue.c: (gst_queue_loop):
8376 No unsafe task pausing please.
8378 2005-06-23 Wim Taymans <wim@fluendo.com>
8380 * gst/schedulers/threadscheduler.c:
8381 (gst_thread_scheduler_task_start),
8382 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8383 Ref the task before pushing it on the threadpool. This
8384 makes sure that we have a ref when the threadfunction is
8387 2005-06-23 Andy Wingo <wingo@pobox.com>
8389 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8390 offset is greater than the file's size.
8392 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8393 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8394 * gst/gstobject.c (gst_object_class_init): Make the class lock
8395 recursive. Wim won't let me drop deep_notify. Decodebin works
8398 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8399 internal pad, and hacks accordingly. Doesn't do it on the target
8400 pad because we change its caps. Probably catches all cases of
8402 (gst_ghost_pad_set_property): Connect to notify::caps as
8405 * tests/network-clock.scm (plot-simulation): Pipe data to the
8406 elite python skript.
8408 * tests/network-clock-utils.scm (define-parameter): New macro,
8409 defines a parameter that can be set via the command line.
8410 (set-parameter!, parse-parameter-arguments): Command line args
8413 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8416 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8418 * gst/elements/gsttypefindelement.c:
8419 (gst_type_find_element_handle_event):
8420 Don't restart typefinding on a discont.
8421 * gst/gstelement.c: (gst_element_set_state):
8423 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8424 Allow changing mode of an active pad.
8426 * gst/registries/gstlibxmlregistry.c: (load_feature):
8427 Don't cast a static pad template to a normal pad template.
8429 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8431 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8432 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8433 remove gst_strtoll completely, since it didn't actually do
8434 anything more than what g_ascii_strtoull already does.
8435 check for range errors when deserializing
8436 do a cast for the unsigned cases; but further fixing needs
8437 a decision on what the interpretation of "(int)" and
8438 deserialization should be for values that fall outside the
8439 type's boundaries (ie, refuse, or interpret as casting)
8441 2005-06-23 Wim Taymans <wim@fluendo.com>
8443 * check/Makefile.am:
8444 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8445 * docs/design/part-live-source.txt:
8446 * docs/design/part-states.txt:
8447 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8448 (gst_basesrc_set_live), (gst_basesrc_is_live),
8449 (gst_basesrc_get_range), (gst_basesrc_activate),
8450 (gst_basesrc_change_state):
8451 * gst/base/gstbasesrc.h:
8452 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8453 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8454 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8455 * gst/gstelement.c: (gst_element_get_state_func),
8456 (gst_element_set_state):
8459 * tools/gst-launch.c: (event_loop), (main):
8460 Added support for live sources and other elements that
8462 Updated design docs, added live-source design doc.
8463 Implemented live source functionality in basesrc
8464 Fix error condition in _bin_get_state()
8465 Implement live source handling in -launch.
8466 Added check for live sources.
8467 Fixed case in GstBin where elements were changed state
8471 2005-06-23 Andy Wingo <wingo@pobox.com>
8473 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8476 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8477 gst_caps_replace takes care of this for us.
8479 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8480 gst_pad_set_caps on the target, not just its setcaps() function.
8482 * tests/network-clock.scm:
8483 * tests/network-clock-utils.scm: A network clock simulator.
8484 Something of an algorithmic testbed before doing something in C.
8486 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8488 * check/Makefile.am:
8489 * check/gst/capslist.h:
8490 copy over from 0.8, and add two with bitmasks specified with
8492 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8493 add test to parse everything from capslist.h
8494 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8496 add test for structure deserialization
8497 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8498 add tests for deserialization of strings to int types
8499 * gst/gststructure.c: (gst_structure_nth_field_name):
8500 * gst/gststructure.h:
8501 add a way to get the name of a field referenced by index
8502 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8503 instead of checking if the resulting long long lies between
8504 min and max, we check if the long long would fit into
8505 a number of bytes for the final type.
8506 This fixes cases where a string represents 2^32 - 1, which
8507 when cast to int would be the (valid) -1, but is bigger than
8510 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8512 * gst/parse/grammar.y:
8513 add a log line for type deserialization
8515 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8517 * check/gst/gstvalue.c: (START_TEST):
8518 * gst/gstvalue.c: (gst_value_deserialize):
8519 return long long, not int, so gint64 deserialization actually
8520 works. Is there any flag that makes the compiler check this ?
8523 2005-06-22 Wim Taymans <wim@fluendo.com>
8526 Added convenience macros for setting buffers in GValue.
8528 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8530 * check/gst/.cvsignore:
8531 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8532 add a test deserializing int64, and comment part out because
8535 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8537 * check/Makefile.am:
8538 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8539 * testsuite/Makefile.am:
8540 * testsuite/caps/Makefile.am:
8541 * testsuite/caps/value_serialize.c:
8542 * testsuite/test_gst_init.c:
8543 move a value_serialize test over
8545 2005-06-20 Wim Taymans <wim@fluendo.com>
8550 * gst/gstvalue.c: (gst_value_compare_buffer),
8551 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8552 (gst_value_compare_flags), (gst_value_serialize_flags),
8553 (gst_value_deserialize_flags), (_gst_value_initialize):
8554 Fix serialisation of buffers, they are not boxed types anymore
8556 2005-06-20 Wim Taymans <wim@fluendo.com>
8558 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8559 Testcase to show error in buffer-on-caps serialisation.
8561 2005-06-20 Andy Wingo <wingo@pobox.com>
8563 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8564 will be adding to later.
8566 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8567 if its socks fill with rocks.
8568 (gst_system_clock_obtain): Set the name on object construction.
8569 Avoid double-checked locking.
8571 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8573 * gst/gsturi.c: (gst_element_make_from_uri):
8574 Fix potential endless loop.
8576 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8578 * check/Makefile.am:
8580 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8582 move over from testsuite dir and clean up
8585 * testsuite/Makefile.am:
8586 * testsuite/tags/.cvsignore:
8587 * testsuite/tags/Makefile.am:
8588 * testsuite/tags/merge.c:
8589 remove testsuite/tags
8591 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8593 * docs/gst/gstreamer-sections.txt:
8594 * docs/gst/tmpl/gstenumtypes.sgml:
8595 * win32/gstenumtypes.c:
8596 clean up documentation build a little
8598 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8601 add macros for checking refcounts on objects and caps
8602 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8603 add some more unit tests
8604 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8605 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8606 fix leaked refcounts (I hope :)) so unittest works
8610 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8612 * configure.ac: back to HEAD
8614 === release 0.9.1 ===
8616 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8622 2005-06-17 Andy Wingo <wingo@pobox.com>
8624 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8625 assert; it's always possible that the pad gets deactivated in
8626 between the checks in gstpad.c and the implementation. Rely on
8627 finish_preroll() to return a FLUSHING or similar instead of on the
8630 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8631 clock and post an EOS message if we come out of finish_preroll in
8634 2005-06-16 David Schleef <ds@schleef.org>
8636 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8637 (gst_capsfilter_set_property): Allow NULL as possible value
8638 for filter_caps property, indicating GST_CAPS_ANY.
8640 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8642 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8644 * gst/schedulers/Makefile.am:
8646 * gstreamer.spec.in:
8649 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8651 * gstreamer.spec.in:
8654 2005-06-08 Andy Wingo <wingo@pobox.com>
8656 * gst/gstutils.c: RPAD fixes all around.
8657 (gst_element_link_pads): Refcounting fixes.
8659 * tools/gst-inspect.c:
8660 * tools/gst-xmlinspect.c:
8662 * gst/base/gsttypefindhelper.c:
8663 * gst/base/gstbasesink.c:
8664 * gst/gstqueue.c: RPAD fixes.
8666 * gst/gstghostpad.h:
8667 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8668 pads. The tricky thing is they provide both source and sink
8669 interfaces, since they proxy the internal pad for the external
8670 pad, and vice versa. Implement with lower-level ProxyPad objects,
8671 with the interior proxy pad as a child of the exterior ghost pad.
8672 Should write a doc on this.
8674 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8675 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8678 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8679 pads are real pads. No ghost pads in this file. Not documenting
8680 the myriad s/RPAD/PAD/ and REALIZE fixes.
8681 (gst_pad_class_init): Add properties for "direction" and
8682 "template". Both are construct-only, so they can't change during
8683 the life of the pad. Fixes properly deriving from GstPad.
8684 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8685 derived objects, just set properties when creating the objects via
8687 (gst_pad_get_parent): Implement as a function, return NULL if the
8688 parent is not an element.
8689 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8690 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8692 * gst/gstobject.c (gst_object_class_init): Make name a construct
8693 property. Don't set it in the object init.
8695 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8696 with UNKNOWN direction.
8697 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8698 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8699 (gst_element_remove_pad): Remove ghost-pad special cases.
8700 (gst_element_pads_activate): Remove rpad cruft.
8702 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8703 catch the pad's-parent-not-an-element case.
8705 * gst/gst.h: Include gstghostpad.h.
8707 * gst/gst.c (init_post): No more real, ghost pads.
8709 * gst/Makefile.am: Add gstghostpad.[ch].
8711 * check/Makefile.am:
8712 * check/gst/gstbin.c:
8713 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8714 into a bin creates ghost pads, and that the refcounts are right.
8715 Partly moved from gstbin.c.
8717 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8719 * check/gst-libs/.cvsignore:
8720 * check/gst/.cvsignore:
8721 * check/pipelines/.cvsignore:
8723 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8724 (START_TEST), (cleanup_suite), (main):
8725 add some tests related to cleanup after running pipelines
8727 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8729 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8730 add a testsuite for GstBuffer
8732 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8734 * gst/gstminiobject.h:
8735 add defines for accessing the refcount
8737 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8739 * Makefile.am: added support for html unit test coverage reports
8741 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8743 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8744 Free existing caps if the capsfilter changes. Add a FIXME about
8745 setting those caps on the pads.
8747 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8748 Before adding a ghost pad to a parent bin, check that there isn't
8749 already one for the element on the bin. Prevents infinite recursion
8750 when using decodebin in parse pipelines. Andy says he'll rewrite the
8751 way this works anyway, so ignore the hack.
8753 2005-06-02 Andy Wingo <wingo@pobox.com>
8755 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8756 file size, pass it on to the type find helper.
8758 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8759 segment_start and segment_end properly according to the seek
8760 method. Segment_end is still a bit flaky because offset can be
8761 negative for CUR and END cases, but it takes -1 as an "unset"
8764 2005-06-02 Wim Taymans <wim@fluendo.com>
8766 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8767 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8768 (gst_basesink_activate):
8769 * gst/base/gstbasesink.h:
8770 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8771 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8772 (gst_pad_query), (gst_pad_start_task):
8774 * gst/gstqueue.c: (gst_queue_bufferalloc),
8775 (gst_queue_handle_sink_event), (gst_queue_chain):
8776 Bufferalloc: return GstFlowReturn to more accuratly report
8777 why allocation failed.
8779 2005-06-02 Wim Taymans <wim@fluendo.com>
8781 * gst/gstpipeline.c: (gst_pipeline_send_event):
8782 Take snapshot of state without blocking.
8784 2005-06-02 Wim Taymans <wim@fluendo.com>
8786 * docs/design/part-TODO.txt:
8787 * docs/design/part-caps.txt:
8788 * docs/design/part-clocks.txt:
8789 * docs/design/part-negotiation.txt:
8790 * docs/design/part-preroll.txt:
8793 2005-05-30 Wim Taymans <wim@fluendo.com>
8795 * gst/elements/gstidentity.c: (gst_identity_event),
8796 (gst_identity_transform), (gst_identity_get_property):
8797 Protect last_message property as it is accessed from
8800 2005-05-30 Wim Taymans <wim@fluendo.com>
8802 * gst/gstelement.c: (gst_element_init),
8803 (gst_element_pads_activate), (gst_element_change_state):
8804 Slicker pad activation code.
8806 2005-05-30 Wim Taymans <wim@fluendo.com>
8810 * gst/gstelementfactory.h:
8812 Move elementfactory methods to separate .h file.
8814 2005-05-30 Wim Taymans <wim@fluendo.com>
8816 * docs/design/part-overview.txt:
8817 * gst/gstsystemclock.h:
8818 Small typo fixes, doc updates.
8820 2005-05-30 Wim Taymans <wim@fluendo.com>
8822 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8823 (init_popt_callback):
8824 Remove cpu-opt flag.
8826 2005-05-30 Wim Taymans <wim@fluendo.com>
8828 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8829 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8831 Avoid typechecking in places where not needed.
8832 Added accessor for malloc_data.
8834 2005-05-30 Wim Taymans <wim@fluendo.com>
8836 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8837 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8838 (gst_pad_configure_sink), (gst_pad_configure_src),
8839 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8840 (gst_pad_start_task):
8841 Propagate errors from _set_caps() in configure_src/sink
8842 functions instead of returning TRUE.
8843 FLUSH events can travel up and downstream
8846 2005-05-30 Wim Taymans <wim@fluendo.com>
8848 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8849 (gst_basesink_activate):
8850 Handle EOS in preroll.
8852 2005-05-30 Wim Taymans <wim@fluendo.com>
8854 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8855 (gst_queue_loop), (gst_queue_handle_src_event):
8856 Remove old pieces of code
8857 Flushing the queue in an upstream event is a very bad idea.
8859 2005-05-26 Andy Wingo <wingo@pobox.com>
8861 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8862 gst_value_set_mini_object so as to add a ref on the object (which
8863 will be removed when the value is unset).
8865 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8866 arg type in ::handoff.
8868 * gst/gstelement.c (gst_element_change_state): Also deactivate
8869 pads in READY->NULL, just in case the element didn't make it to
8870 PAUSED. Wingo tested, Wim approved.
8872 2005-05-26 Wim Taymans <wim@fluendo.com>
8874 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8875 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8876 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8877 A flushing pad cannot be used to alloc_buffer from.
8879 2005-05-26 Wim Taymans <wim@fluendo.com>
8881 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8882 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8883 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8884 (gst_bus_create_watch), (gst_bus_add_watch_full):
8886 Implement a real GSource and use g_main_context_wakeup() to
8887 signal new messages instead of the socketpair.
8889 2005-05-25 Wim Taymans <wim@fluendo.com>
8891 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8892 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8893 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8894 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8895 (gst_pad_send_event), (gst_pad_start_task):
8896 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8897 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8898 (gst_queue_sink_activate), (gst_queue_src_activate),
8899 (gst_queue_change_state):
8901 Fix state changes for non sinks. We now change sinks, then elements
8902 with unconnected srcpads, then the rest.
8903 More efficient queue unlocking in flush and state changes.
8904 Set the pad activate mode even if it does not have an activate
8907 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8909 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8910 Don't go in pull mode for non-seekable sources.
8911 * gst/elements/gsttypefindelement.h:
8912 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8913 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8914 (free_entry), (stop_typefinding),
8915 (gst_type_find_element_handle_event), (find_peek),
8916 (gst_type_find_element_chain), (do_pull_typefind),
8917 (gst_type_find_element_change_state):
8918 Allow typefinding (w/o seeking) in push-mode, simplified version
8920 * gst/gstutils.c: (gst_buffer_join):
8922 gst_buffer_join() from 0.8.
8924 2005-05-25 Wim Taymans <wim@fluendo.com>
8926 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8927 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8928 (gst_pad_send_event), (gst_pad_start_task):
8929 Disable attempt at mode switching until it is figured out.
8931 2005-05-25 Wim Taymans <wim@fluendo.com>
8933 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8934 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8935 (gst_basesink_finish_preroll), (gst_basesink_chain),
8936 (gst_basesink_loop), (gst_basesink_activate),
8937 (gst_basesink_change_state):
8938 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8939 (gst_basesrc_get_range), (gst_basesrc_loop),
8940 (gst_basesrc_activate):
8941 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8942 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8943 (gst_real_pad_init), (gst_real_pad_set_property),
8944 (gst_real_pad_get_property), (gst_pad_set_active),
8945 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8946 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8947 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8948 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8949 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8950 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8951 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8952 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8953 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8954 (gst_pad_stop_task):
8956 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8957 (gst_queue_loop), (gst_queue_src_activate):
8958 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8959 (gst_task_get_state):
8961 * gst/schedulers/threadscheduler.c:
8962 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8963 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8965 Remove ACTIVE pad flag, use FLUSHING everywhere
8966 Added _pad_chain(), _pad_get_range() to call chain/getrange
8968 Add locks around IS_FLUSHING when reading.
8969 Take STREAM lock in chain(), get_range() functions so plugins
8970 don't need to take it anymore.
8974 2005-05-25 Wim Taymans <wim@fluendo.com>
8976 * tools/gst-launch.c: (event_loop):
8977 Unref message after using its contents instead of
8980 2005-05-24 Wim Taymans <wim@fluendo.com>
8982 * docs/design/draft-ghostpads.txt:
8983 * docs/design/draft-push-pull.txt:
8984 * docs/design/draft-query.txt:
8985 * docs/design/part-overview.txt:
8986 Docs updates, added general overview doc.
8988 2005-05-21 David Schleef <ds@schleef.org>
8990 * docs/gst/tmpl/old/GstBin.sgml:
8991 * docs/gst/tmpl/old/GstBuffer.sgml:
8992 * docs/gst/tmpl/old/GstCaps.sgml:
8993 * docs/gst/tmpl/old/GstClock.sgml:
8994 * docs/gst/tmpl/old/GstCompat.sgml:
8995 * docs/gst/tmpl/old/GstData.sgml:
8996 * docs/gst/tmpl/old/GstElement.sgml:
8997 * docs/gst/tmpl/old/GstEvent.sgml:
8998 * docs/gst/tmpl/old/GstIndex.sgml:
8999 * docs/gst/tmpl/old/GstStructure.sgml:
9000 * docs/gst/tmpl/old/GstTag.sgml:
9001 * docs/gst/tmpl/old/cothreads.sgml:
9002 * docs/gst/tmpl/old/cothreads_compat.sgml:
9003 * docs/gst/tmpl/old/gettext.sgml:
9004 * docs/gst/tmpl/old/gobject2gtk.sgml:
9005 * docs/gst/tmpl/old/grammar.tab.sgml:
9006 * docs/gst/tmpl/old/gst-i18n-app.sgml:
9007 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
9008 * docs/gst/tmpl/old/gst_private.sgml:
9009 * docs/gst/tmpl/old/gstaggregator.sgml:
9010 * docs/gst/tmpl/old/gstarch.sgml:
9011 * docs/gst/tmpl/old/gstatomic_impl.sgml:
9012 * docs/gst/tmpl/old/gstbufferstore.sgml:
9013 * docs/gst/tmpl/old/gstdata_private.sgml:
9014 * docs/gst/tmpl/old/gstdisksink.sgml:
9015 * docs/gst/tmpl/old/gstdisksrc.sgml:
9016 * docs/gst/tmpl/old/gstelementfactory.sgml:
9017 * docs/gst/tmpl/old/gstextratypes.sgml:
9018 * docs/gst/tmpl/old/gstfakesink.sgml:
9019 * docs/gst/tmpl/old/gstfakesrc.sgml:
9020 * docs/gst/tmpl/old/gstfdsink.sgml:
9021 * docs/gst/tmpl/old/gstfdsrc.sgml:
9022 * docs/gst/tmpl/old/gstfilesink.sgml:
9023 * docs/gst/tmpl/old/gstfilesrc.sgml:
9024 * docs/gst/tmpl/old/gsthttpsrc.sgml:
9025 * docs/gst/tmpl/old/gstidentity.sgml:
9026 * docs/gst/tmpl/old/gstindexfactory.sgml:
9027 * docs/gst/tmpl/old/gstmarshal.sgml:
9028 * docs/gst/tmpl/old/gstmd5sink.sgml:
9029 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
9030 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
9031 * docs/gst/tmpl/old/gstpadtemplate.sgml:
9032 * docs/gst/tmpl/old/gstpipefilter.sgml:
9033 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
9034 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
9035 * docs/gst/tmpl/old/gstshaper.sgml:
9036 * docs/gst/tmpl/old/gstspider.sgml:
9037 * docs/gst/tmpl/old/gstspideridentity.sgml:
9038 * docs/gst/tmpl/old/gststatistics.sgml:
9039 * docs/gst/tmpl/old/gsttee.sgml:
9040 * docs/gst/tmpl/old/gsttimecache.sgml:
9041 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
9042 * docs/gst/tmpl/old/gstxmlregistry.sgml:
9043 * docs/gst/tmpl/old/gthread-cothreads.sgml:
9044 * docs/gst/tmpl/old/types.sgml:
9045 I didn't intend to add these or check them in.
9047 2005-05-19 David Schleef <ds@schleef.org>
9049 * configure.ac: Use -no-common everywhere. In a sane world, it
9050 would be the default in libtool, because without it, you can't
9051 build DLLs on Windows.
9052 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
9053 * docs/gst/gstreamer-sections.txt:
9054 * docs/gst/tmpl/gstcpu.sgml:
9055 * docs/gst/tmpl/gstdata.sgml:
9056 * docs/gst/tmpl/gstthread.sgml:
9058 2005-05-19 David Schleef <ds@schleef.org>
9060 * gst/gstminiobject.c: (gst_value_set_mini_object),
9061 (gst_value_take_mini_object), (gst_value_get_mini_object):
9062 * gst/gstminiobject.h: Add GValue set/get functions.
9064 2005-05-19 Wim Taymans <wim@fluendo.com>
9066 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9067 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9068 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9070 * gst/gstbus.c: (gst_bus_post):
9071 * gst/gstelement.c: (gst_element_get_random_pad):
9072 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9073 Make subbufer unref the parent in finalize.
9074 some more debugging info.
9077 2005-05-19 Wim Taymans <wim@fluendo.com>
9079 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9080 (gst_basesink_init), (gst_basesink_finalize),
9081 (gst_basesink_activate), (gst_basesink_change_state):
9082 Don't free preroll queue too early.
9084 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9088 Hi, I'm outdated. Please shoot me.
9090 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9092 * gst/gstpipeline.c: (gst_pipeline_send_event):
9093 Do not access variables after they have been deleted.
9095 2005-05-19 Wim Taymans <wim@fluendo.com>
9097 * tools/gst-inspect.c: (print_plugin_features):
9098 A plugin feature does unfortunatly not use the
9101 2005-05-18 Wim Taymans <wim@fluendo.com>
9103 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9104 Port _span() functions to new subbuffers.
9106 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9108 * gst/gstbin.c: (gst_bin_add_func):
9109 Fix clock settery in bins when adding kids after the clock has
9112 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9114 * gst/elements/gstidentity.c: (gst_identity_class_init):
9115 Workaround until signals support GstMiniObject.
9117 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9120 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9122 2005-05-18 Wim Taymans <wim@fluendo.com>
9124 * gst/base/Makefile.am:
9125 * gst/base/gstadapter.c: (gst_adapter_base_init),
9126 (gst_adapter_class_init), (gst_adapter_init),
9127 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9128 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9129 (gst_adapter_flush), (gst_adapter_available),
9130 (gst_adapter_available_fast):
9131 * gst/base/gstadapter.h:
9132 Ported and added adapter to the base classes.
9134 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9138 Make sure the class is reffed/unreffed once before threads can be
9139 used. Fixes #304551.
9141 2005-05-17 Wim Taymans <wim@fluendo.com>
9143 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9144 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9145 * gst/gstminiobject.c: (gst_mini_object_get_type),
9146 (gst_mini_object_free):
9147 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9148 (gst_pad_push), (gst_pad_push_event):
9149 * gst/gstqueue.c: (gst_queue_change_state):
9150 Don't queue buffers in basesink when we are flushing.
9151 Unref buffer when flushing in basesink.
9152 Flush queue when going to READY
9153 Unref buffer when _push() returns an error.
9154 Don't free MiniObject instance when refcount is incremented
9155 in _finalize() so that we can recover objects.
9157 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9159 * docs/manual/advanced-schedulers.xml:
9160 * docs/manual/appendix-checklist.xml:
9161 * docs/pwg/advanced-clock.xml:
9162 * docs/pwg/advanced-interfaces.xml:
9163 * docs/pwg/advanced-request.xml:
9164 * docs/pwg/advanced-types.xml:
9165 * docs/pwg/intro-preface.xml:
9166 * examples/plugins/example.c: (gst_example_get_type),
9167 (gst_example_class_init), (gst_example_chain),
9168 (gst_example_set_property), (gst_example_get_property),
9169 (gst_example_change_state), (plugin_init):
9170 * examples/plugins/example.h:
9173 2005-05-17 Wim Taymans <wim@fluendo.com>
9175 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9176 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9177 * gst/gstqueue.c: (gst_queue_change_state):
9178 Clear queue when going to READY.
9179 Remove IN_SETCAPS flag too.
9181 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9183 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9184 Remove implicit cast from gboolean to GstElementStateReturn;
9185 make sure we still return failure in paused => ready case if
9186 the parent class fails to change state and our own stop
9189 2005-05-17 Wim Taymans <wim@fluendo.com>
9191 * tools/gst-launch.c: (event_loop):
9192 Message was unreffed too soon.
9194 2005-05-16 Andy Wingo <wingo@pobox.com>
9196 * gst/gstbin.c (sink_iterator_filter): Err... um...
9198 * check/gst/gstbin.c (test_ghost_pads): New test for the
9199 ghosting-if-elements-not-in-same-bin behavior.
9201 2005-05-16 David Schleef <ds@schleef.org>
9203 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9204 accessing refcount directly.
9206 2005-05-15 David Schleef <ds@schleef.org>
9208 * check/Makefile.am: remove GstData checks
9209 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9210 * gst/Makefile.am: add miniobject, remove data
9211 * gst/gst.h: add miniobject, remove data
9212 * gst/gstdata.c: remove
9213 * gst/gstdata.h: remove
9214 * gst/gstdata_private.h: remove
9215 * gst/gsttypes.h: remove GstEvent and GstMessage
9216 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9217 * gst/gstmarshal.list: change BOXED -> OBJECT
9219 Implement GstMiniObject.
9220 * gst/gstminiobject.c:
9221 * gst/gstminiobject.h:
9223 Modify to be subclasses of GstMiniObject.
9224 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9225 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9226 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9227 (gst_subbuffer_get_type), (gst_subbuffer_init),
9228 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9231 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9232 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9233 (_gst_event_copy), (gst_event_new):
9235 * gst/gstmessage.c: (_gst_message_initialize),
9236 (gst_message_get_type), (gst_message_class_init),
9237 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9238 (gst_message_new), (gst_message_new_error),
9239 (gst_message_new_warning), (gst_message_new_tag),
9240 (gst_message_new_state_changed), (gst_message_new_application):
9242 * gst/gstprobe.c: (gst_probe_perform),
9243 (gst_probe_dispatcher_dispatch):
9245 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9246 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9247 (_gst_query_copy), (gst_query_new):
9249 Update elements for GstData -> GstMiniObject changes
9251 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9252 (gst_queue_chain), (gst_queue_loop):
9253 * gst/elements/gstbufferstore.c:
9254 (gst_buffer_store_add_buffer_func),
9255 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9256 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9257 (gst_fakesink_render):
9258 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9259 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9260 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9261 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9262 (gst_filesrc_create_read):
9263 * gst/elements/gstidentity.c: (gst_identity_class_init):
9264 * gst/elements/gsttypefindelement.c:
9265 (gst_type_find_element_src_event), (free_entry_buffers),
9266 (gst_type_find_element_handle_event):
9267 * libs/gst/dataprotocol/dataprotocol.c:
9268 (gst_dp_header_from_buffer):
9269 * libs/gst/dataprotocol/dataprotocol.h:
9270 * libs/gst/dataprotocol/dp-private.h:
9272 2005-05-15 David Schleef <ds@schleef.org>
9274 * gst/elements/gstelements.c: Don't include headers that were
9277 2005-05-15 David Schleef <ds@schleef.org>
9279 * gst/elements/Makefile.am: Remove some elements that don't
9280 need to be in the core (or even exist at all).
9281 * gst/elements/gstaggregator.c:
9282 * gst/elements/gstaggregator.h:
9283 * gst/elements/gstmd5sink.c:
9284 * gst/elements/gstmd5sink.h:
9285 * gst/elements/gstmultifilesrc.c:
9286 * gst/elements/gstmultifilesrc.h:
9287 * gst/elements/gstpipefilter.c:
9288 * gst/elements/gstpipefilter.h:
9289 * gst/elements/gstshaper.c:
9290 * gst/elements/gstshaper.h:
9291 * gst/elements/gststatistics.c:
9292 * gst/elements/gststatistics.h:
9293 * po/POTFILES.in: Remove above files.
9295 2005-05-14 Andy Wingo <wingo@pobox.com>
9297 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9298 so as to get the refs right.
9299 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9300 unreffing objects that don't pass the filter.
9302 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9303 gst_element_set_bus.
9304 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9305 normal cases, this will destroy the bus.
9307 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9310 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9313 2005-05-13 Andy Wingo <wingo@pobox.com>
9315 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9316 gst_pad_link, call pad_link_maybe_ghosting,
9317 (pad_link_maybe_ghosting): Links pads, making sure that the
9318 elements being linked are in the same bin.
9319 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9320 Helpers for pad_link_maybe_ghosting.
9322 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9325 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9327 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9329 * docs/design/part-element-source.txt:
9332 2005-05-12 Wim Taymans <wim@fluendo.com>
9334 * gst/base/gstbasesink.c: (gst_basesink_init),
9335 (gst_basesink_activate):
9336 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9337 (gst_basesrc_is_seekable):
9338 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9339 (bin_element_is_sink), (gst_bin_change_state):
9340 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9342 Identify sinks by their flag to avoid overly complicated
9344 Do state changes even for elements not reachable from the
9346 BaseSink is a sink now :)
9347 Some more debugging info in the basesrc.
9350 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9352 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9353 Implement _query on a bin, similar to _send_event.
9355 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9357 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9358 Discont event offset format should be GST_FORMAT_BYTES,
9359 not GST_FORMAT_TIME.
9361 2005-05-12 Wim Taymans <wim@fluendo.com>
9363 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9364 Same fix as Ronald's but without the signal.
9366 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9368 * gst/gstutils.c: (gst_element_query_position):
9369 No, an element is not a pad.
9371 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9373 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9374 (gst_bin_get_state):
9375 If a child is removed from a bin while we remove the child from
9376 the bin and while we're retrieving its state, signal this to the
9377 get_state function so we abort the wait (instead of waiting for
9378 a timeout) and can immediately re-iterate over all other elements.
9380 2005-05-12 Wim Taymans <wim@fluendo.com>
9382 * gst/base/Makefile.am:
9383 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9384 (gst_basesrc_start):
9385 * gst/base/gstbasesrc.h:
9386 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9387 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9388 (gst_pushsrc_init), (gst_pushsrc_create):
9389 * gst/base/gstpushsrc.h:
9390 Added is_seekable to BaseSrc
9391 Added simple PushSrc.
9393 2005-05-11 Wim Taymans <wim@fluendo.com>
9395 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9396 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9397 (gst_element_link_pads), (gst_element_query_position),
9398 (gst_element_query_convert), (intersect_caps_func),
9399 (gst_pad_query_position), (gst_pad_query_convert):
9400 Fix refcounting in utils function.
9401 No point in trying to activate a pad when it's added, it could
9402 be added from the state change function and then we deadlock, the
9403 element has to decide what to do.
9405 2005-05-10 Andy Wingo <wingo@pobox.com>
9407 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9408 *all* the arguments.
9410 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9411 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9412 lock (according to the docs -- if this is wrong change the docs).
9414 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9415 flush messages in the NULL state.
9417 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9418 message immediately and return.
9419 (gst_bus_set_flushing): New function. If a bus is flushing, it
9420 flushes out any queued messages and immediately unrefs new
9421 messages. This is so when an element goes to NULL, all of the
9422 unhandled messages coming from it can be freed, and their
9423 references to the element dropped. In other words: message source
9424 ref considered harmful :P
9426 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9427 we're finished with it.
9429 * gst/gstmessage.c (gst_message_new_state_changed):
9431 2005-05-10 Wim Taymans <wim@fluendo.com>
9433 * gst/gstvalue.c: (gst_value_compare_flags),
9434 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9435 (_gst_value_initialize):
9436 Added flags serialize/deserialize/compare code.
9438 2005-05-09 Andy Wingo <wingo@pobox.com>
9440 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9441 Intersect the peer's caps with our caps.
9443 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9445 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9446 * gst/elements/gsttypefindelement.c: (find_peek):
9447 Handle negative offsets better. Fixes decodebin.
9449 2005-05-09 Wim Taymans <wim@fluendo.com>
9451 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9452 (gst_base_transform_event):
9453 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9454 Implement accept_caps.
9455 Fix silly lock/unlock mismatch in base class.
9457 2005-05-09 Wim Taymans <wim@fluendo.com>
9459 * docs/design/draft-push-pull.txt:
9460 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9461 * gst/elements/gstfilesink.c: (gst_filesink_init),
9462 (gst_filesink_query):
9463 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9464 (gst_type_find_handle_src_query), (find_element_get_length):
9465 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9469 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9470 (gst_real_pad_get_caps_unlocked),
9471 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9472 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9473 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9474 (gst_real_pad_dispose), (gst_real_pad_finalize),
9475 (gst_pad_load_and_link), (gst_pad_save_thyself),
9476 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9477 (gst_pad_check_pull_range), (gst_pad_pull_range),
9478 (gst_pad_template_get_type), (gst_pad_template_class_init),
9479 (gst_pad_template_init), (gst_pad_template_dispose),
9480 (name_is_valid), (gst_static_pad_template_get),
9481 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9482 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9483 (gst_pad_get_element_private), (gst_pad_start_task),
9484 (gst_pad_pause_task), (gst_pad_stop_task),
9485 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9486 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9487 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9488 (gst_ghost_pad_new):
9490 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9491 (gst_query_new_position), (gst_query_set_position),
9492 (gst_query_parse_position), (gst_query_new_convert),
9493 (gst_query_set_convert), (gst_query_parse_convert):
9495 * gst/gstqueryutils.c:
9496 * gst/gstqueryutils.h:
9497 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9498 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9499 (gst_queue_handle_src_query):
9500 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9501 (gst_element_query_position), (gst_element_query_convert),
9502 (intersect_caps_func), (gst_pad_query_position),
9503 (gst_pad_query_convert):
9505 * tools/gst-inspect.c: (print_pad_info):
9506 * tools/gst-xmlinspect.c: (print_element_info):
9507 Remove old query functions. Ported old code.
9508 Added position/convert helper functions to gstutils.
9509 Reordered gstpad.c code, grouping relevant things.
9510 Remove gst_message_new(), always need to speficy a specific
9514 2005-05-09 Andy Wingo <wingo@pobox.com>
9516 * gst/gstiterator.h: Add some includes.
9518 * gst/gstqueryutils.h: Include more headers.
9521 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9522 some uses of gst_pad_query.
9524 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9525 NULL out parameters.
9526 (gst_query_new_position): New proc, allocates a new position
9529 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9530 gstqueryutils.c to the build.
9532 * gst/gststructure.c (gst_structure_set_valist): Implement with
9533 the generic G_VALUE_COLLECT.
9535 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9537 * gst/Makefile.am: (gst_headers):
9538 Added gstqueryutils.h to the list of headers to install, that was
9539 a 'nachty' move wingo :)
9541 2005-05-06 Andy Wingo <wingo@pobox.com>
9544 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9545 GstData, init a memchunk.
9546 (standard_definitions): Add a few query types, deprecate a few.
9547 (gst_query_get_type): New proc.
9548 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9550 (gst_query_new_application, gst_query_get_structure): New public
9553 * docs/design/draft-query.txt: Removed LINKS from the query types,
9554 because all the rest can be dispatched to other pads -- seemed
9555 ugly to have a query that couldn't be dispatched. internal_links
9556 is fine as a pad method.
9558 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9559 in gstpad.c, but maintain binary compatibility for the moment.
9560 Will fix before 0.9 is out.
9562 * gst/gstqueryutils.c:
9563 * gst/gstqueryutils.h: New files, implement 3 methods for each
9564 query type: parse_query, parse_response, and set. Probably need an
9567 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9569 * gst/elements/gstfilesink.c (gst_filesink_query2):
9570 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9571 query_types, and formats methods.
9573 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9574 (gst_pad_set_query2_function): New functions.
9575 (gst_real_pad_init): Set query2_default as the default query2
9576 function. Basically just dispatches to internally linked pads.
9580 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9581 without using the atomic operations. Only one thread can possibly
9582 be accessing the data at this point. Changed so as to avoid
9583 gst_atomic operations.
9585 2005-05-06 Wim Taymans <wim@fluendo.com>
9587 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9588 Also set caps if we use the fallback buffer alloc.
9590 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9592 * docs/gst/Makefile.am:
9593 * docs/gst/gstreamer-docs.sgml:
9594 * docs/gst/gstreamer-sections.txt:
9595 * docs/gst/tmpl/gstatomic.sgml:
9596 * docs/gst/tmpl/gstmemchunk.sgml:
9597 * testsuite/elements/struct_i386.h:
9598 * win32/GStreamer.vcproj:
9600 Purge GstAtomic stuff from docs and win32 makefiles as well
9602 2005-05-06 Wim Taymans <wim@fluendo.com>
9604 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9605 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9606 * gst/gstpad.c: (gst_pad_peer_get_caps):
9607 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9608 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9609 (gst_queue_src_activate), (gst_queue_change_state):
9611 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9612 (intersect_caps_func):
9613 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9614 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9615 Some fixes for the peer_get_caps() change.
9617 2005-05-06 Wim Taymans <wim@fluendo.com>
9619 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9620 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9621 (gst_basesink_activate):
9622 Actually do something with error codes returned from the push
9625 2005-05-06 Wim Taymans <wim@fluendo.com>
9627 * docs/design/part-element-sink.txt:
9628 * docs/design/part-element-source.txt:
9629 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9630 (gst_basesink_event), (gst_basesink_activate):
9631 * gst/base/gstbasesink.h:
9632 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9633 (gst_basesrc_activate):
9634 * gst/base/gstbasesrc.h:
9635 * gst/gstelement.c: (gst_element_pads_activate):
9636 Some more documentation.
9637 Fixed scheduling decision in _pads_activate().
9639 2005-05-05 Andy Wingo <wingo@pobox.com>
9641 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9644 2005-05-05 Wim Taymans <wim@fluendo.com>
9646 * gst/base/Makefile.am:
9647 * gst/base/gstbasesink.h:
9648 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9649 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9650 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9651 (gst_collectpads_class_init), (gst_collectpads_init),
9652 (gst_collectpads_finalize), (gst_collectpads_new),
9653 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9654 (find_pad), (gst_collectpads_remove_pad),
9655 (gst_collectpads_is_active), (gst_collectpads_collect),
9656 (gst_collectpads_collect_range), (gst_collectpads_start),
9657 (gst_collectpads_stop), (gst_collectpads_peek),
9658 (gst_collectpads_pop), (gst_collectpads_available),
9659 (gst_collectpads_read), (gst_collectpads_flush),
9660 (gst_collectpads_chain):
9661 * gst/base/gstcollectpads.h:
9662 * gst/elements/Makefile.am:
9663 * gst/elements/gstelements.c:
9664 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9665 (gst_fakesink_get_times), (gst_fakesink_event),
9666 (gst_fakesink_preroll), (gst_fakesink_render):
9667 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9668 (gst_filesink_init), (gst_filesink_set_location),
9669 (gst_filesink_open_file), (gst_filesink_close_file),
9670 (gst_filesink_pad_query), (gst_filesink_event),
9671 (gst_filesink_render), (gst_filesink_change_state):
9672 * gst/elements/gstfilesink.h:
9673 Added object to help in making collect pad based elements.
9675 Make event function in sink baseclass return gboolean.
9677 2005-05-05 Wim Taymans <wim@fluendo.com>
9679 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9680 (gst_bin_get_by_name):
9682 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9683 (gst_clock_finalize):
9684 * gst/gstdata.c: (gst_data_replace):
9686 * gst/gstelement.c: (gst_element_request_pad),
9687 (gst_element_pads_activate):
9688 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9690 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9691 (gst_pad_set_checkgetrange_function),
9692 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9693 (gst_pad_check_pull_range), (gst_pad_pull_range),
9694 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9695 (gst_pad_pause_task), (gst_pad_stop_task):
9696 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9697 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9698 Fix name lookup in GstBin.
9699 Added _data_replace() function and _buffer_replace()
9700 Use finalize method to clean up clock.
9701 Fix refcounting on request pads.
9702 Fix pad schedule mode error.
9703 Some more object refcounting debug info,
9706 2005-05-04 Andy Wingo <wingo@pobox.com>
9708 * check/Makefile.am:
9709 * docs/gst/tmpl/gstatomic.sgml:
9710 * docs/gst/tmpl/gstplugin.sgml:
9711 * gst/base/gstbasesink.c: (gst_basesink_activate):
9712 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9713 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9714 (gst_basesrc_query), (gst_basesrc_set_property),
9715 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9716 (gst_basesrc_activate):
9717 * gst/base/gstbasesrc.h:
9718 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9719 (gst_base_transform_src_activate):
9720 * gst/elements/gstelements.c:
9721 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9722 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9723 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9724 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9725 (gst_type_find_element_checkgetrange),
9726 (gst_type_find_element_activate):
9727 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9728 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9729 (gst_caps_load_thyself):
9730 * gst/gstelement.c: (gst_element_pads_activate),
9731 (gst_element_save_thyself), (gst_element_restore_thyself):
9732 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9733 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9735 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9736 (gst_xml_parse_file), (gst_xml_parse_memory),
9737 (gst_xml_get_element), (gst_xml_make_element):
9738 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9739 (_file_index_id_save_xml), (gst_file_index_commit):
9740 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9741 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9743 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9744 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9745 * tools/gst-complete.c: (main):
9746 * tools/gst-compprep.c: (main):
9747 * tools/gst-inspect.c: (print_element_properties_info):
9748 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9749 * tools/gst-xmlinspect.c: (print_element_properties):
9752 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9754 * gst/gstplugin.c: (gst_plugin_check_module),
9755 (gst_plugin_check_file), (gst_plugin_load_file):
9756 apply patch from #172526 to make register work on MacOSX
9758 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9760 * docs/gst/tmpl/gstconfig.sgml:
9761 * gst/gstconfig.h.in:
9762 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9763 * testsuite/debug/printf_extension.c: (main):
9764 Do not use GST_PTR_FORMAT on pointers to types with
9765 sizeof < sizeof(gpointer). Fixes test on 64-bit
9766 * testsuite/elements/property.h:
9767 use correct printf format
9769 2005-05-02 Wim Taymans <wim@fluendo.com>
9771 * docs/design/draft-push-pull.txt:
9772 * docs/design/draft-query.txt:
9773 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9774 (gst_basesrc_start):
9775 Added draft for new query API.
9776 Added draft for better selecting scheduling methods.
9777 Make basesrc ignore length if the subclass does not support
9780 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9783 possible fixes for automake-1.5 - _LIBADD is reserved
9785 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9787 * docs/faq/Makefile.am:
9788 * docs/manual/Makefile.am:
9790 * docs/pwg/Makefile.am:
9792 possible fixes for automake-1.5
9794 2005-04-28 Wim Taymans <wim@fluendo.com>
9796 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9797 (gst_basesink_pad_getcaps), (gst_basesink_init),
9798 (gst_basesink_do_sync):
9799 * gst/gstclock.c: (gst_clock_entry_new):
9800 * gst/gstevent.c: (gst_event_discont_get_value):
9801 * gst/gstpipeline.c: (pipeline_bus_handler),
9802 (gst_pipeline_change_state):
9803 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9804 Better debugging of clocking info.
9805 Allow NULL values when getting discont values.
9807 2005-04-27 Wim Taymans <wim@fluendo.com>
9809 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9810 * check/gst/gstpad.c: (gst_pad_suite):
9811 Increase timeout for checks.
9813 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9815 * check/Makefile.am:
9816 fix the broken rule for cleanup. Apparently this rule is
9817 only needed on FC2, so maybe this warrants further autotool
9820 2005-04-26 Wim Taymans <wim@fluendo.com>
9822 * gst/gsttrashstack.h:
9823 Ooohh. a nasty one! After having a failed pop() from the stack,
9824 it's possible that the stack is empty. In that case, don't
9825 follow the NULL pointer.
9827 2005-04-25 Wim Taymans <wim@fluendo.com>
9829 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9830 (gst_pad_set_checkgetrange_function),
9831 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9832 (gst_pad_check_pull_range), (gst_pad_pull_range),
9833 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9834 (gst_pad_pause_task), (gst_pad_stop_task):
9835 * gst/gstplugin.c: (gst_plugin_load):
9837 Remove gst_library_load as it does more harm than good with
9838 the new g_module flags.
9839 Revert bogus caps template check in pad linking, pad caps
9840 are important when linking not the template, which is more
9841 general than the current caps.
9843 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9845 * gst/autoplug/.cvsignore:
9846 * gst/autoplug/Makefile.am:
9847 * gst/autoplug/gstsearchfuncs.c:
9848 * gst/autoplug/gstsearchfuncs.h:
9849 * gst/autoplug/gstspider.c:
9850 * gst/autoplug/gstspider.h:
9851 * gst/autoplug/gstspideridentity.c:
9852 * gst/autoplug/gstspideridentity.h:
9853 * gst/autoplug/spidertest.c:
9856 2005-04-25 Wim Taymans <wim@fluendo.com>
9858 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9859 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9860 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9861 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9863 Added stubs for unimplemented functions.
9865 2005-04-24 David Schleef <ds@schleef.org>
9867 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9870 2005-04-24 David Schleef <ds@schleef.org>
9872 Convert everything from GstAtomicInt to g_atomic_int_*, and
9877 * gst/gstatomic_impl.h:
9885 * gst/gstdata_private.h:
9892 * gst/gststructure.c:
9893 * gst/gststructure.h:
9894 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9897 2005-04-24 David Schleef <ds@schleef.org>
9899 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9900 make the regressions tests work. Remove some code that is no
9902 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9903 Disable warning for pads without templates.
9905 2005-04-24 David Schleef <ds@schleef.org>
9907 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9908 functions that handle filtered links.
9909 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9911 * gst/gstutils.c: Fix/remove utility functions that handle
9914 * gst/gstvalue.c: Add serialization/deserialization of caps
9915 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9916 requires fixing so that the filter caps notation creates
9917 a capsfilter element and sets the filter_caps property. I
9918 think everyone probably wants to keep the shorthand notation.
9919 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9920 * docs/gst/tmpl/gstpad.sgml:
9922 * gst/elements/gstelements.c: Register capsfilter element.
9923 * gst/Makefile.am: fix spacing
9924 * docs/random/ds/0.9-suggested-changes: random
9926 2005-04-23 David Schleef <ds@schleef.org>
9928 * gst/elements/Makefile.am:
9929 * gst/elements/gstcapsfilter.c: New element that acts like an
9930 identity, but filters caps. Will eventually replace filtered
9931 caps in pad linking.
9932 * gst/gstutils.c: (gst_element_create_all_pads): New function
9933 to create all the ALWAYS pads that are registered with an
9934 element class. This functionality should eventually be
9935 merged in with GstElement initialization.
9937 * testsuite/trigger/README: part of trigger test code that should
9938 have been checked in a long time ago.
9940 2005-04-23 David Schleef <ds@schleef.org>
9942 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9943 needed with new versions of libtool (nobody will confirm this),
9944 and hard to carry around.
9945 * gst/autoplug/Makefile.am:
9946 * gst/base/Makefile.am:
9947 * gst/elements/Makefile.am:
9948 * gst/indexers/Makefile.am:
9949 * gst/schedulers/Makefile.am:
9950 * libs/gst/bytestream/Makefile.am:
9951 * libs/gst/control/Makefile.am:
9952 * libs/gst/dataprotocol/Makefile.am:
9953 * libs/gst/getbits/Makefile.am:
9955 2005-04-21 Wim Taymans <wim@fluendo.com>
9957 * docs/design/draft-push-pull.txt:
9958 * docs/design/part-MT-refcounting.txt:
9959 * docs/design/part-TODO.txt:
9960 * docs/design/part-caps.txt:
9961 * docs/design/part-events.txt:
9962 * docs/design/part-gstbus.txt:
9963 * docs/design/part-gstpipeline.txt:
9964 * docs/design/part-messages.txt:
9965 * docs/design/part-push-pull.txt:
9966 * docs/design/part-query.txt:
9969 2005-04-21 Wim Taymans <wim@fluendo.com>
9971 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9972 (gst_message_new), (gst_message_new_error),
9973 (gst_message_new_warning), (gst_message_new_tag),
9974 (gst_message_new_state_changed), (gst_message_new_application),
9975 (gst_message_get_structure):
9977 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9978 (gst_structure_copy_conditional):
9979 Use parent refcount in GstMessage to ensure GstStructure
9981 Cleaned up headers a bit.
9984 2005-04-20 Wim Taymans <wim@fluendo.com>
9986 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9987 (gst_basesink_pad_getcaps), (gst_basesink_init),
9988 (gst_basesink_chain_unlocked):
9989 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9990 (gst_type_find_helper):
9991 * gst/elements/gsttypefindelement.c:
9992 (gst_type_find_element_have_type), (gst_type_find_element_init),
9993 (stop_typefinding), (gst_type_find_element_handle_event),
9994 (find_suggest), (gst_type_find_element_chain),
9995 (gst_type_find_element_checkgetrange),
9996 (gst_type_find_element_getrange), (do_typefind),
9997 (gst_type_find_element_activate):
9998 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9999 (gst_buffer_default_free), (gst_buffer_default_copy),
10000 (gst_buffer_set_caps):
10001 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
10002 (gst_caps_replace):
10003 * gst/gstmessage.c: (gst_message_new),
10004 (gst_message_new_state_changed):
10005 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10006 (gst_pad_set_checkgetrange_function),
10007 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
10008 (gst_pad_set_caps), (gst_pad_check_pull_range),
10009 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
10011 * gst/gsttypefind.c: (gst_type_find_register):
10012 Make gst_caps_replace() work like other _replace() functions.
10013 Use _caps_replace() where possible.
10014 Make sure _message_new() initialises its field.
10015 Add gst_static_pad_template_get_caps()
10018 2005-04-18 Andy Wingo <wingo@pobox.com>
10020 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
10021 on the peer, not the pad. I think that was a typo. Pass an extra
10022 arg to see if random access is possible. Activate the pads as
10023 PULL_RANGE if possible.
10025 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
10027 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
10028 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
10031 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10033 * docs/faq/using.xml:
10034 Add note on gstreamer-properties (#154996).
10036 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10038 * docs/random/bbb/optional-properties:
10039 Some analysis on optional properties.
10041 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10043 * docs/gst/tmpl/gstelementfactory.sgml:
10044 * gst/gstelement.h:
10045 * gst/gstelementfactory.c: (gst_element_factory_init),
10046 (gst_element_factory_cleanup), (gst_element_register),
10047 (__gst_element_factory_add_static_pad_template),
10048 (gst_element_factory_get_static_pad_templates),
10049 (gst_element_factory_can_src_caps),
10050 (gst_element_factory_can_sink_caps):
10051 * gst/registries/Makefile.am:
10052 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
10053 (gst_xml_registry_class_init), (gst_xml_registry_init),
10054 (gst_xml_registry_new), (gst_xml_registry_set_property),
10055 (gst_xml_registry_get_property), (get_time), (make_dir),
10056 (gst_xml_registry_get_perms_func),
10057 (plugin_times_older_than_recurse), (plugin_times_older_than),
10058 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10059 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10060 (add_to_char_array), (read_string), (read_uint), (read_enum),
10061 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10062 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10063 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10064 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10065 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10066 (gst_xml_registry_rebuild):
10067 * gst/registries/gstlibxmlregistry.h:
10068 * tools/gst-compprep.c: (main):
10069 * tools/gst-inspect.c: (print_pad_templates_info):
10070 * tools/gst-xmlinspect.c: (print_element_info):
10071 Use libxml2 for registry parsing, use staticpadtemplates in
10072 elementfactories. Makes gst_init() +/- 10x faster.
10074 2005-04-12 Wim Taymans <wim@fluendo.com>
10076 * gst/base/Makefile.am:
10077 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10078 (gst_basesink_pad_getcaps), (gst_basesink_init),
10079 (gst_basesink_event), (gst_basesink_change_state):
10080 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10081 (gst_basesrc_init), (gst_basesrc_query),
10082 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10083 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10084 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10085 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10086 (gst_basesrc_stop), (gst_basesrc_activate),
10087 (gst_basesrc_change_state):
10088 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10089 (helper_find_suggest), (gst_type_find_helper):
10090 * gst/base/gsttypefindhelper.h:
10091 * gst/elements/Makefile.am:
10092 * gst/elements/gstelements.c:
10093 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10094 (gst_fakesink_get_times), (gst_fakesink_event),
10095 (gst_fakesink_preroll), (gst_fakesink_render):
10096 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10097 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10098 (gst_fakesrc_get_property), (gst_fakesrc_create),
10099 (gst_fakesrc_start), (gst_fakesrc_stop):
10100 * gst/elements/gstfakesrc.h:
10101 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10102 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10103 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10104 (gst_filesrc_create_read), (gst_filesrc_create),
10105 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10106 (gst_filesrc_start):
10107 * gst/elements/gsttypefindelement.c:
10108 (gst_type_find_element_have_type), (gst_type_find_element_init),
10109 (start_typefinding), (stop_typefinding), (push_buffer_store),
10110 (gst_type_find_element_handle_event),
10111 (gst_type_find_element_chain),
10112 (gst_type_find_element_checkgetrange),
10113 (gst_type_find_element_getrange), (do_typefind),
10114 (gst_type_find_element_activate),
10115 (gst_type_find_element_change_state):
10116 * gst/elements/gsttypefindelement.h:
10117 * gst/gstpipeline.c: (pipeline_bus_handler):
10118 Added typefind helper.
10119 Small preroll fix in the base sink.
10120 Disable typefind code in basesrc.
10121 Crude port of typefindelement.
10125 2005-04-11 Wim Taymans <wim@fluendo.com>
10127 * check/gst/gstbus.c: (gstbus_suite):
10128 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10129 * check/gstcheck.h:
10130 Fix up the timeout so that the test does not fail.
10132 2005-04-06 Wim Taymans <wim@fluendo.com>
10135 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10136 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10137 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10138 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10139 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10140 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10141 (gst_basesrc_stop), (gst_basesrc_activate),
10142 (gst_basesrc_change_state), (basesrc_find_peek),
10143 (basesrc_find_suggest), (gst_basesrc_type_find):
10144 * gst/base/gstbasesrc.h:
10145 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10146 (gst_filesrc_class_init), (gst_filesrc_init),
10147 (gst_filesrc_finalize), (gst_filesrc_set_location),
10148 (gst_filesrc_set_property), (gst_filesrc_get_property),
10149 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10150 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10151 (gst_filesrc_create_read), (gst_filesrc_create),
10152 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10153 * gst/elements/gstfilesrc.h:
10154 * gst/gstelement.c: (gst_element_get_state_func),
10155 (gst_element_lost_state), (gst_element_pads_activate):
10156 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10157 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10158 (gst_pad_pull_range):
10160 More work on the generic source base class, implement seeking,
10162 Make filesrc extend the base source class.
10163 Added gst_pad_set_checkgetrange_function to GstPad.
10165 2005-04-06 Andy Wingo <wingo@pobox.com>
10167 * pkgconfig/gstreamer-base.pc.in:
10168 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10170 * pkgconfig/Makefile.am:
10171 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10173 2005-04-04 Wim Taymans <wim@fluendo.com>
10175 * gst/base/Makefile.am:
10177 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10178 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10179 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10180 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10181 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10182 (gst_basesrc_base_init), (gst_basesrc_class_init),
10183 (gst_basesrc_init), (gst_basesrc_get_formats),
10184 (gst_basesrc_get_query_types), (gst_basesrc_query),
10185 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10186 (gst_basesrc_set_property), (gst_basesrc_get_property),
10187 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10188 (gst_basesrc_loop), (gst_basesrc_activate),
10189 (gst_basesrc_change_state):
10190 * gst/base/gstbasesrc.h:
10191 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10192 (gst_fakesrc_class_init), (gst_fakesrc_init),
10193 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10194 (gst_fakesrc_get_property), (gst_fakesrc_create):
10195 * gst/elements/gstfakesrc.h:
10196 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10197 (gst_filesrc_open_file), (gst_filesrc_loop),
10198 (gst_filesrc_activate), (filesrc_find_peek),
10199 (gst_filesrc_type_find):
10200 Made base source class, make fakesrc extend it.
10201 Add comments to basesink class.
10202 Some filesrc cleanup.
10204 2005-03-31 David Schleef <ds@schleef.org>
10206 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10207 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10208 expected to link against libgstreamer.
10209 * gst/base/Makefile.am: link against libgstreamer
10210 * gst/elements/Makefile.am: same
10212 2005-03-31 Andy Wingo <wingo@pobox.com>
10214 * tests/instantiate/Makefile.am:
10215 * tests/instantiate/caps.c: Add test to test speed of caps copy
10218 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10219 GMemChunk to be fair.
10221 * gst/gsttrashstack.h: Remove warning about using the fallback
10222 trash stack implementation, it's still faster than malloc.
10224 2005-03-30 Andy Wingo <wingo@pobox.com>
10226 * tests/complexity.c: Add a copyright.
10228 2005-03-31 Wim Taymans <wim@fluendo.com>
10230 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10231 (gst_base_transform_class_init), (gst_base_transform_init),
10232 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10233 (gst_base_transform_get_property),
10234 (gst_base_transform_sink_activate),
10235 (gst_base_transform_src_activate),
10236 (gst_base_transform_change_state):
10237 * gst/base/gstbasetransform.h:
10238 * gst/elements/gstidentity.c: (gst_identity_class_init),
10239 (gst_identity_event), (gst_identity_check_perfect),
10240 (gst_identity_transform), (gst_identity_start),
10241 (gst_identity_stop):
10242 Added start/stop methods to transform base class so subclasses
10243 don't need to deal with state changes even.
10245 2005-03-31 Wim Taymans <wim@fluendo.com>
10247 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10248 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10250 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10251 (gst_pad_pull_range):
10252 Added rate to the discont event to prepare for variable speed
10253 and reverse playback.
10255 2005-03-29 David Schleef <ds@schleef.org>
10258 * testsuite/trigger/Makefile.am:
10259 * testsuite/trigger/trigger.c: A little example program to show
10260 how trigger-based elements can work.
10262 2005-03-29 Wim Taymans <wim@fluendo.com>
10264 * gst/base/Makefile.am:
10266 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10267 (gst_basesink_base_init), (gst_basesink_class_init),
10268 (gst_basesink_pad_getcaps), (gst_basesink_init),
10269 (gst_basesink_activate), (gst_basesink_change_state):
10270 * gst/base/gstbasesink.h:
10271 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10272 (gst_base_transform_base_init), (gst_base_transform_finalize),
10273 (gst_base_transform_class_init), (gst_base_transform_init),
10274 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10275 (gst_base_transform_event), (gst_base_transform_getrange),
10276 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10277 (gst_base_transform_set_property),
10278 (gst_base_transform_get_property),
10279 (gst_base_transform_sink_activate),
10280 (gst_base_transform_src_activate),
10281 (gst_base_transform_change_state):
10282 * gst/base/gstbasetransform.h:
10283 * gst/elements/gstidentity.c: (gst_identity_finalize),
10284 (gst_identity_class_init), (gst_identity_init),
10285 (gst_identity_event), (gst_identity_check_perfect),
10286 (gst_identity_transform), (gst_identity_set_property),
10287 (gst_identity_get_property), (gst_identity_change_state):
10288 * gst/elements/gstidentity.h:
10289 * gst/gstelement.c: (gst_element_get_state_func),
10290 (gst_element_lost_state), (gst_element_pads_activate):
10291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10292 (gst_pad_check_pull_range), (gst_pad_pull_range):
10294 Simplify pad activation.
10295 Added function to check if pull_range can be performed.
10296 Error out when pulling inactive or flushing pads.
10297 Removed const from refcounted types as it does not make sense.
10298 Simplify pad templates in basesink
10299 Added base class for simple 1-to-1 transforms.
10300 Make identity subclass the base transform.
10302 2005-03-29 Andy Wingo <wingo@pobox.com>
10304 * docs/libs/gstreamer-libs-overrides.txt:
10305 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10306 really don't understand what's going on, but like whatever. I want
10309 * docs/gst/Makefile.am:
10310 * docs/libs/Makefile.am: Dist the overrides files.
10312 * check/Makefile.am (clean-local): Remove .libs directories.
10314 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10315 elements to EXTRA_DIST, so po/ files are happy.
10317 * po/POTFILES.in: Er, remove it here.
10319 * po/POTFILES: Remove gstspider.c.
10321 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10323 * docs/libs/gstreamer-libs-docs.sgml:
10324 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10327 * tests/complexity.c (main): Set the length of the preroll queue
10328 on the sinks to prevent a lockup.
10330 * libs/gst/dataprotocol/Makefile.am:
10331 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10332 the same as the one in check/gst-libs/gdp.c.
10334 * po/, docs/gst/: Commit automatic changes to docs and po files.
10336 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10337 the versioned libgstbase.
10339 * check/Makefile.am: Depend on an unversioned gst-register, seems
10340 to make autoconf happier.
10342 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10344 2005-03-28 Wim Taymans <wim@fluendo.com>
10347 * docs/design/part-gstelement.txt:
10348 * docs/design/part-negotiation.txt:
10349 * docs/design/part-preroll.txt:
10350 * docs/design/part-scheduling.txt:
10351 * docs/design/part-states.txt:
10353 * gst/base/Makefile.am:
10355 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10356 (gst_basesink_base_init), (gst_basesink_class_init),
10357 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10358 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10359 (gst_basesink_set_pad_functions),
10360 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10361 (gst_basesink_set_property), (gst_basesink_get_property),
10362 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10363 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10364 (gst_basesink_preroll_queue_push),
10365 (gst_basesink_preroll_queue_empty),
10366 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10367 (gst_basesink_event), (gst_basesink_get_times),
10368 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10369 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10370 (gst_basesink_loop), (gst_basesink_activate),
10371 (gst_basesink_change_state):
10372 * gst/base/gstbasesink.h:
10373 * gst/elements/Makefile.am:
10374 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10375 (gst_fakesink_class_init), (gst_fakesink_init),
10376 (gst_fakesink_set_property), (gst_fakesink_get_property),
10377 (gst_fakesink_get_times), (gst_fakesink_event),
10378 (gst_fakesink_preroll), (gst_fakesink_render),
10379 (gst_fakesink_change_state):
10380 * gst/elements/gstfakesink.h:
10381 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10382 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10383 * gst/gstelement.c: (gst_element_add_pad),
10384 (gst_element_get_state_func), (gst_element_abort_state),
10385 (gst_element_commit_state), (gst_element_lost_state),
10386 (gst_element_set_state), (gst_element_pads_activate):
10387 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10388 * gst/gstpipeline.c: (gst_pipeline_send_event),
10389 (gst_pipeline_change_state):
10390 Added state change code.
10391 Added/updated docs.
10392 Added sink base class, make fakesink extend the base class.
10393 Small cleanups in GstPipeline.
10395 2005-03-26 David Schleef <ds@schleef.org>
10397 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10398 is broken and should be implemented in a different library.
10399 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10400 * gst/gst.h: remove gstcpu.h
10401 * gst/gstcpu.c: remove
10402 * gst/gstcpu.h: remove
10403 * gst/Makefile.am.future: Remove this file. It's ancient.
10405 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10407 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10408 (gst_bin_send_event):
10409 Add default event/set_manager handlers. The set_manager handler
10410 takes care that the manager is distributed over kids that were
10411 already in the bin before the manager was set. The event handler
10412 is a utility virtual function that sends the event over all sinks,
10413 so that gst_element_send_event (bin, event); has the expected
10415 * gst/gstpad.c: (gst_pad_event_default):
10416 Re-install default event handling for discontinuities, so that
10417 seeking works without requiring hacks in applications or extra
10419 * gst/gstpipeline.c: (gst_pipeline_class_init),
10420 (gst_pipeline_send_event):
10421 Half hack, half utility: set a pipeline to PAUSED for seek events,
10422 since that is the only way we can guarantee a/v sync. Means that
10423 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10424 and it "just works".
10426 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10428 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10429 Lock/unlock mismatch.
10431 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10433 * docs/faq/gst-uninstalled:
10434 add gst-plugins-base
10435 * docs/gst/Makefile.am:
10436 don't error out until docs are fixed
10437 * docs/gst/gstreamer.types:
10440 2005-03-22 Wim Taymans <wim@fluendo.com>
10442 * check/Makefile.am:
10443 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10444 * gst/gststructure.c: (gst_structure_set_valist),
10445 (gst_structure_copy_conditional):
10446 Activated more tests.
10447 Added message test.
10448 Added G_TYPE_POINTER to GstStructure.
10451 2005-03-22 Wim Taymans <wim@fluendo.com>
10453 * docs/design/part-TODO.txt:
10454 * docs/design/part-events.txt:
10455 * docs/design/part-gstbin.txt:
10456 * docs/design/part-gstbus.txt:
10457 * docs/design/part-gstpipeline.txt:
10458 * docs/design/part-messages.txt:
10460 * gst/gstmessage.c:
10463 2005-03-21 Wim Taymans <wim@fluendo.com>
10465 * gst/gstbus.c: (gst_bus_post):
10466 Fix copy-and-paste error.
10468 2005-03-21 Wim Taymans <wim@fluendo.com>
10470 * check/Makefile.am:
10472 * gst/elements/Makefile.am:
10473 * gst/elements/gstelements.c:
10474 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10475 (gst_fakesink_event), (gst_fakesink_chain):
10476 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10477 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10478 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10479 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10480 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10481 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10482 (gst_fakesrc_loop), (gst_fakesrc_activate),
10483 (gst_fakesrc_change_state):
10484 * gst/elements/gstfakesrc.h:
10485 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10486 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10487 (gst_filesrc_open_file), (gst_filesrc_loop),
10488 (gst_filesrc_activate), (gst_filesrc_change_state),
10489 (filesrc_find_peek), (filesrc_find_suggest),
10490 (gst_filesrc_type_find):
10491 * gst/elements/gstidentity.c: (gst_identity_finalize),
10492 (gst_identity_class_init), (gst_identity_init),
10493 (gst_identity_proxy_getcaps), (identity_queue_push),
10494 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10495 (gst_identity_getrange), (gst_identity_chain),
10496 (gst_identity_sink_loop), (gst_identity_src_loop),
10497 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10498 (gst_identity_set_property), (gst_identity_get_property),
10499 (gst_identity_change_state):
10500 * gst/elements/gstidentity.h:
10501 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10502 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10503 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10504 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10505 (gst_tee_sink_activate):
10506 * gst/elements/gsttee.h:
10507 * gst/gst.c: (gst_register_core_elements), (init_post):
10509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10510 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10511 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10512 (gst_bin_change_state):
10514 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10515 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10516 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10517 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10518 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10519 (bus_watch_callback), (bus_watch_destroy),
10520 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10521 (poll_timeout), (gst_bus_poll):
10525 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10526 (gst_element_post_message), (gst_element_message_full),
10527 (gst_element_get_state_func), (gst_element_get_state),
10528 (gst_element_abort_state), (gst_element_commit_state),
10529 (gst_element_lost_state), (gst_element_set_state),
10530 (gst_element_pads_activate), (gst_element_change_state),
10531 (gst_element_dispose), (gst_element_set_manager_func),
10532 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10533 (gst_element_set_manager), (gst_element_get_manager),
10534 (gst_element_set_bus), (gst_element_get_bus),
10535 (gst_element_set_scheduler), (gst_element_get_scheduler):
10536 * gst/gstelement.h:
10537 * gst/gstevent.c: (gst_event_new_segment_seek),
10538 (gst_event_new_flush):
10540 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10541 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10542 (gst_message_new_eos), (gst_message_new_error),
10543 (gst_message_new_warning), (gst_message_new_tag),
10544 (gst_message_new_state_changed), (gst_message_new_application),
10545 (gst_message_get_structure), (gst_message_parse_tag),
10546 (gst_message_parse_state_changed), (gst_message_parse_error),
10547 (gst_message_parse_warning):
10548 * gst/gstmessage.h:
10549 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10550 (gst_real_pad_set_property), (gst_pad_set_active),
10551 (gst_pad_is_active), (gst_pad_set_blocked_async),
10552 (gst_pad_set_blocked), (gst_pad_is_blocked),
10553 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10554 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10555 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10556 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10557 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10558 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10559 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10560 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10561 (gst_pad_set_caps), (gst_pad_configure_sink),
10562 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10563 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10564 (gst_real_pad_dispose), (gst_real_pad_finalize),
10565 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10566 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10567 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10569 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10570 (pipeline_bus_handler), (gst_pipeline_change_state),
10571 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10572 * gst/gstpipeline.h:
10574 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10575 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10576 (gst_queue_link_src), (gst_queue_bufferalloc),
10577 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10578 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10579 (gst_queue_loop), (gst_queue_handle_src_event),
10580 (gst_queue_handle_src_query), (gst_queue_src_activate),
10581 (gst_queue_change_state):
10583 * gst/gstscheduler.c: (gst_scheduler_init),
10584 (gst_scheduler_dispose), (gst_scheduler_create_task),
10585 (gst_scheduler_factory_create):
10586 * gst/gstscheduler.h:
10587 * gst/gststructure.c: (gst_structure_get_type),
10588 (gst_structure_copy_conditional):
10589 * gst/gststructure.h:
10590 * gst/gsttaginterface.h:
10591 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10592 (gst_task_init), (gst_task_dispose), (gst_task_create),
10593 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10599 * gst/schedulers/Makefile.am:
10600 * gst/schedulers/cothreads_compat.h:
10601 * gst/schedulers/entryscheduler.c:
10602 * gst/schedulers/faircothreads.c:
10603 * gst/schedulers/faircothreads.h:
10604 * gst/schedulers/fairscheduler.c:
10605 * gst/schedulers/gstbasicscheduler.c:
10606 * gst/schedulers/gstoptimalscheduler.c:
10607 * gst/schedulers/gthread-cothreads.h:
10608 * gst/schedulers/threadscheduler.c:
10609 (gst_thread_scheduler_task_get_type),
10610 (gst_thread_scheduler_task_class_init),
10611 (gst_thread_scheduler_task_init),
10612 (gst_thread_scheduler_task_start),
10613 (gst_thread_scheduler_task_stop),
10614 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10615 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10616 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10617 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10619 * libs/gst/Makefile.am:
10620 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10621 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10622 (gst_file_pad_parent_set):
10623 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10624 (gst_dp_event_from_packet):
10625 * tests/complexity.c: (main):
10626 * tests/mass_elements.c: (main):
10627 * testsuite/states/locked.c: (message_received), (main):
10628 * testsuite/states/parent.c: (main):
10629 * tools/gst-inspect.c: (print_element_flag_info),
10630 (print_implementation_info), (print_pad_info):
10631 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10633 * tools/gst-md5sum.c: (event_loop), (main):
10634 * tools/gst-typefind.c: (main):
10635 * tools/gst-xmlinspect.c: (print_element_info):
10637 Added GstBus for mainloop integration.
10638 Added GstMessage for sending notifications on the bus.
10639 Added GstTask as an abstraction for pipeline entry points.
10641 Removed Schedulers.
10642 Simplified GstQueue for multithreaded core.
10643 Made _link threadsafe, removed old capsnego.
10644 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10645 Added pad blocking functions.
10646 Reworked scheduling functions in GstPad to prepare for
10647 scheduling updates soon.
10648 Moved events out of data stream.
10649 Simplified GstEvent types.
10650 Added return values to push/pull.
10651 Removed clocking from GstElement.
10652 Added prototypes for state change function for next merge.
10653 Removed iterate from bins and state change management.
10654 Fixed some elements, disabled others for now.
10655 Fixed -inspect and -launch.
10656 Added check for GstBus.
10658 2005-03-10 Wim Taymans <wim@fluendo.com>
10660 * docs/design/part-MT-refcounting.txt:
10661 * docs/design/part-clocks.txt:
10662 * docs/design/part-gstelement.txt:
10663 * docs/design/part-gstobject.txt:
10664 * docs/design/part-standards.txt:
10665 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10666 (gst_bin_remove_func), (gst_bin_remove):
10670 * testsuite/clock/clock1.c: (main):
10671 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10673 * testsuite/dlopen/loadgst.c: (do_test):
10674 * testsuite/refcounting/bin.c: (add_remove_test1),
10675 (add_remove_test2), (main):
10676 * testsuite/refcounting/element.c: (main):
10677 * testsuite/refcounting/element_pad.c: (main):
10678 * testsuite/refcounting/pad.c: (main):
10679 * tools/gst-launch.c: (sigint_handler_sighandler):
10680 * tools/gst-typefind.c: (main):
10682 Added doc about clock.
10683 removed gst_bin_iterate_recurse_up(), marked methods
10685 Fix more testsuites.
10687 2005-03-09 Wim Taymans <wim@fluendo.com>
10689 * gst/gstpad.c: (gst_pad_get_direction),
10690 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10691 (gst_pad_collect_valist):
10692 * testsuite/bins/interface.c: (main):
10693 * testsuite/caps/audioscale.c: (test_caps):
10694 * testsuite/caps/caps.c: (test1), (test2), (test3):
10695 * testsuite/caps/deserialize.c: (main):
10696 * testsuite/caps/enumcaps.c: (main):
10697 * testsuite/caps/filtercaps.c: (main):
10698 * testsuite/caps/intersect2.c: (main):
10699 * testsuite/caps/random.c: (main):
10700 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10701 * testsuite/caps/sets.c: (check_caps):
10702 * testsuite/caps/simplify.c: (check_caps), (main):
10703 * testsuite/caps/subtract.c: (check_caps):
10704 Fix _pad_get_direction wrt ghostpads.
10705 Fix caps testsuite.
10707 2005-03-09 Wim Taymans <wim@fluendo.com>
10709 * check/Makefile.am:
10710 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10711 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10712 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10713 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10714 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10715 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10716 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10717 (bin_element_is_sink), (gst_bin_iterate_sinks),
10718 (gst_bin_iterate_all_by_interface):
10720 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10721 (gst_element_change_state), (gst_element_dispose),
10722 (gst_element_finalize), (gst_element_set_loop_function):
10723 * gst/gstelement.h:
10724 * gst/gstiterator.c: (find_custom_fold_func):
10725 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10726 (gst_pad_collectv), (gst_pad_collect_valist),
10727 (gst_pad_template_new):
10728 * gst/gstpipeline.c: (gst_pipeline_class_init),
10729 (gst_pipeline_dispose), (gst_pipeline_set_property),
10730 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10731 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10732 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10734 * gst/schedulers/entryscheduler.c:
10735 * gst/schedulers/gstbasicscheduler.c:
10736 (gst_basic_scheduler_cothreaded_chain),
10737 (gst_basic_scheduler_chain_add_element):
10738 * testsuite/bins/interface.c: (main):
10740 Added GstSystemClock test.
10741 Implemented clock distribution code in GstBin.
10742 Implemented iterate sinks method for future use.
10743 Rearranged gstelement.h
10744 Fix GstIterator comparison bug.
10745 Moved some code to GstPipeline, mostly clocking related.
10747 2005-03-09 Wim Taymans <wim@fluendo.com>
10750 * gst/gst_private.h:
10751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10752 (gst_bin_remove_func), (gst_bin_remove),
10753 (gst_bin_get_by_name_recurse_up):
10754 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10755 (gst_clock_id_compare_func), (gst_clock_id_wait),
10756 (gst_clock_id_wait_async), (gst_clock_init),
10757 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10758 * gst/gstelement.h:
10759 * gst/gstinfo.c: (_gst_debug_init):
10761 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10762 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10764 Bump version number, we're now 0.9.0
10765 Add future debugging category.
10766 Fix NULL _unref() in _get_by_name_recurse_up
10767 Rearrange gstpad.h.
10770 2005-03-08 Wim Taymans <wim@fluendo.com>
10772 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10773 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10774 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10775 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10776 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10777 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10778 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10779 * gst/elements/gstidentity.c: (gst_identity_class_init):
10780 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10781 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10782 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10783 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10784 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10786 * gst/gstelement.c: (gst_element_class_init),
10787 (gst_element_base_class_init), (gst_element_init),
10788 (gst_element_get_random_pad), (gst_element_wait_state_change),
10789 (gst_element_change_state), (gst_element_dispose),
10790 (gst_element_finalize), (gst_element_set_loop_function):
10791 * gst/gstelement.h:
10792 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10793 * gst/gstthread.c: (gst_thread_class_init),
10794 (gst_thread_release_children_locks), (gst_thread_change_state):
10795 * gst/schedulers/gstbasicscheduler.c:
10796 (gst_basic_scheduler_loopfunc_wrapper),
10797 (gst_basic_scheduler_chain_wrapper),
10798 (gst_basic_scheduler_src_wrapper),
10799 (gst_basic_scheduler_remove_element):
10800 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10801 Remove threadsafe properties. Fix elements because GObject
10802 complains when installing a property before declaring a
10803 set/get_property handler.
10804 Rearrange gstelement.h file, use STATE macros for state locks.
10805 Free mutexes in the finalize method instead of dispose.
10807 2005-03-08 Wim Taymans <wim@fluendo.com>
10809 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10810 * gst/gstthread.c: (gst_thread_release_children_locks):
10811 Added parentage check.
10812 Fix build og GstThread again.
10814 2005-03-08 Wim Taymans <wim@fluendo.com>
10816 * docs/design/part-MT-refcounting.txt:
10817 * docs/design/part-conventions.txt:
10818 * docs/design/part-gstobject.txt:
10819 * docs/design/part-relations.txt:
10820 * docs/design/part-standards.txt:
10821 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10822 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10823 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10824 (gst_bin_iterate_all_by_interface):
10827 * gst/gstelement.c: (gst_element_class_init),
10828 (gst_element_change_state), (gst_element_set_loop_function):
10829 * gst/gstelement.h:
10830 * gst/gstiterator.c:
10831 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10832 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10833 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10834 (gst_object_set_parent), (gst_object_unparent),
10835 (gst_object_check_uniqueness):
10837 Docs updates, clean up some headers.
10839 2005-03-07 Wim Taymans <wim@fluendo.com>
10841 * check/.cvsignore:
10842 * check/Makefile.am:
10843 * check/gst-libs/.cvsignore:
10844 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10845 * check/gst/.cvsignore:
10846 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10847 (START_TEST), (gstbus_suite), (main):
10848 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10849 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10850 (gst_data_suite), (main):
10851 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10852 (add_fold_func), (gstiterator_suite), (main):
10853 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10854 (thread_name_object), (thread_name_object_default),
10855 (gst_object_name_compare), (gst_object_suite), (main):
10856 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10857 (gst_pad_suite), (main):
10858 * check/gstcheck.c: (gst_check_log_message_func),
10859 (gst_check_log_critical_func), (gst_check_init):
10860 * check/gstcheck.h:
10861 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10862 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10865 2005-03-07 Wim Taymans <wim@fluendo.com>
10867 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10868 (gst_list_iterator_next), (gst_list_iterator_resync),
10869 (gst_list_iterator_free), (gst_iterator_new_list),
10870 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10871 (gst_iterator_free), (gst_iterator_push), (filter_next),
10872 (filter_resync), (filter_uninit), (filter_free),
10873 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10874 (gst_iterator_foreach), (find_custom_fold_func),
10875 (gst_iterator_find_custom):
10876 * gst/gstiterator.h:
10877 Added missing files.
10879 2005-03-07 Wim Taymans <wim@fluendo.com>
10883 * docs/design/part-MT-refcounting.txt:
10884 * docs/design/part-conventions.txt:
10885 * docs/design/part-gstobject.txt:
10886 * docs/design/part-relations.txt:
10887 * examples/mixer/mixer.c: (main):
10888 * examples/thread/thread.c: (eos), (main):
10890 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10891 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10892 (gst_spider_plug_from_srcpad):
10893 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10894 (gst_spider_identity_change_state),
10895 (gst_spider_identity_sink_loop_type_finding):
10896 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10897 * gst/elements/gstidentity.c: (gst_identity_init):
10898 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10899 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10900 * gst/elements/gsttypefindelement.c: (free_entry):
10903 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10904 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10905 (gst_bin_set_index), (gst_bin_set_element_sched),
10906 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10907 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10908 (gst_bin_iterate_elements), (iterate_child_recurse),
10909 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10910 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10911 (compare_interface), (gst_bin_get_by_interface),
10912 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10914 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10915 (gst_buffer_default_free), (gst_buffer_default_copy),
10916 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10917 (gst_buffer_create_sub):
10919 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10920 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10921 (gst_caps_unref), (gst_static_caps_get),
10922 (gst_caps_remove_and_get_structure), (gst_caps_append),
10923 (gst_caps_append_structure), (gst_caps_remove_structure),
10924 (gst_caps_copy_nth), (gst_caps_set_simple),
10925 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10926 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10927 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10928 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10929 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10930 (gst_caps_structure_figure_out_union),
10931 (gst_caps_switch_structures), (gst_caps_do_simplify),
10932 (gst_caps_replace), (gst_caps_from_string),
10933 (gst_caps_copy_conditional):
10935 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10936 (_gst_clock_id_free), (gst_clock_id_unref),
10937 (gst_clock_id_compare_func), (gst_clock_id_wait),
10938 (gst_clock_id_wait_async), (gst_clock_class_init),
10939 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10940 (gst_clock_get_time), (gst_clock_set_time_adjust),
10941 (gst_clock_set_property), (gst_clock_get_property):
10944 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10945 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10947 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10948 (gst_element_requires_clock), (gst_element_provides_clock),
10949 (gst_element_set_clock), (gst_element_clock_wait),
10950 (gst_element_wait), (gst_element_set_time_delay),
10951 (gst_element_is_indexable), (gst_element_add_pad),
10952 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10953 (pad_compare_name), (gst_element_get_static_pad),
10954 (gst_element_request_pad), (gst_element_get_request_pad),
10955 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10956 (gst_element_class_get_pad_template_list),
10957 (gst_element_class_get_pad_template), (gst_element_error_func),
10958 (gst_element_get_random_pad), (gst_element_get_event_masks),
10959 (gst_element_send_event), (gst_element_seek),
10960 (gst_element_get_query_types), (gst_element_query),
10961 (gst_element_get_formats), (gst_element_convert),
10962 (gst_element_is_locked_state), (gst_element_set_locked_state),
10963 (gst_element_sync_state_with_parent), (gst_element_change_state),
10964 (gst_element_finalize), (gst_element_yield),
10965 (gst_element_interrupt), (gst_element_set_scheduler),
10966 (gst_element_get_scheduler), (gst_element_set_loop_function):
10967 * gst/gstelement.h:
10969 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10970 (gst_format_get_by_nick), (gst_format_get_details),
10971 (gst_format_iterate_definitions):
10973 * gst/gstindex.c: (gst_index_gtype_resolver):
10976 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10977 (gst_mem_chunk_free):
10978 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10979 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10980 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10981 (gst_object_dispatch_properties_changed),
10982 (gst_object_set_name_default), (gst_object_set_name),
10983 (gst_object_get_name), (gst_object_set_name_prefix),
10984 (gst_object_get_name_prefix), (gst_object_set_parent),
10985 (gst_object_get_parent), (gst_object_unparent),
10986 (gst_object_check_uniqueness), (gst_object_save_thyself),
10987 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10988 (gst_object_set_property), (gst_object_get_property),
10989 (gst_object_get_path_string):
10991 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10992 (gst_real_pad_init), (gst_real_pad_get_property),
10993 (gst_pad_custom_new), (gst_pad_get_direction),
10994 (gst_pad_set_active), (gst_pad_is_active),
10995 (gst_pad_set_event_function), (gst_pad_is_linked),
10996 (gst_pad_link_free), (gst_pad_link_intersect),
10997 (gst_pad_link_fixate), (gst_pad_set_caps),
10998 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10999 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
11000 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
11001 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
11002 (gst_pad_get_caps), (gst_pad_peer_get_caps),
11003 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
11004 (gst_pad_realize), (gst_pad_get_allowed_caps),
11005 (gst_real_pad_dispose), (gst_real_pad_finalize),
11006 (gst_pad_collectv), (gst_pad_collect_valist),
11007 (gst_pad_template_dispose), (gst_pad_template_new),
11008 (gst_pad_get_internal_links):
11010 * gst/gstpipeline.c: (gst_pipeline_dispose),
11011 (gst_pipeline_change_state):
11012 * gst/gstpipeline.h:
11014 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
11015 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
11016 * gst/gstpluginfeature.h:
11017 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
11018 * gst/gstquery.c: (_gst_query_type_initialize),
11019 (gst_query_type_register), (gst_query_type_get_by_nick),
11020 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
11022 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
11023 * gst/gstscheduler.c: (gst_scheduler_add_element),
11024 (gst_scheduler_factory_create):
11025 * gst/gststructure.c: (gst_structure_set_parent_refcount),
11026 (gst_structure_free), (gst_structure_set_name),
11027 (gst_structure_id_set_value), (gst_structure_set_value),
11028 (gst_structure_set_valist), (gst_structure_remove_field),
11029 (gst_structure_remove_fields),
11030 (gst_structure_remove_fields_valist),
11031 (gst_structure_remove_all_fields), (gst_structure_foreach),
11032 (gst_structure_map_in_place),
11033 (gst_caps_structure_fixate_field_nearest_int),
11034 (gst_caps_structure_fixate_field_nearest_double):
11035 * gst/gststructure.h:
11036 * gst/gstsystemclock.c: (gst_system_clock_class_init),
11037 (gst_system_clock_init), (gst_system_clock_dispose),
11038 (gst_system_clock_async_thread),
11039 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
11040 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
11041 * gst/gstsystemclock.h:
11042 * gst/gsttag.c: (gst_tag_list_add_value_internal),
11043 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
11044 * gst/gsttaginterface.c:
11045 * gst/gstthread.c: (gst_thread_dispose),
11046 (gst_thread_release_children_locks), (gst_thread_change_state),
11047 (gst_thread_main_loop):
11048 * gst/gsttrashstack.h:
11049 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
11051 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11052 (gst_element_request_pad), (gst_element_get_pad_from_template),
11053 (gst_element_request_compatible_pad),
11054 (gst_element_get_compatible_pad_filtered),
11055 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11056 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11057 (gst_element_link_many), (gst_element_link),
11058 (gst_element_link_pads), (gst_element_unlink_pads),
11059 (gst_element_unlink_many), (gst_element_unlink),
11060 (gst_pad_can_link_filtered), (gst_pad_can_link),
11061 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11062 (gst_object_default_error), (gst_bin_add_many),
11063 (gst_bin_remove_many), (gst_element_populate_std_props),
11064 (gst_element_class_install_std_props), (gst_buffer_merge),
11065 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11066 (link_fold_func), (gst_pad_proxy_setcaps):
11068 * gst/gstvalue.c: (gst_value_deserialize_string):
11069 * gst/parse/grammar.y:
11070 * gst/schedulers/gstbasicscheduler.c:
11071 (gst_basic_scheduler_cothreaded_chain),
11072 (gst_basic_scheduler_chain_recursive_add),
11073 (gst_basic_scheduler_pad_link):
11074 * gst/schedulers/gstoptimalscheduler.c:
11075 (get_group_schedule_function),
11076 (gst_opt_scheduler_state_transition),
11077 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11078 * libs/gst/bytestream/bytestream.c:
11079 * libs/gst/dataprotocol/dataprotocol.c:
11080 (gst_dp_header_from_buffer):
11083 * tests/threadstate/threadstate2.c: (eos):
11084 * tools/gst-compprep.c: (main):
11085 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11086 (print_pad_info), (print_children_info):
11087 * tools/gst-launch.c: (idle_func), (main):
11088 * tools/gst-md5sum.c: (idle_func), (main):
11089 * tools/gst-xmlinspect.c: (print_element_info):
11090 First THREADED backport attempt, focusing on adding locks and
11091 making sure the API is threadsafe. Needs more work. More docs
11094 2005-02-24 Andy Wingo <wingo@pobox.com>
11096 * tests/bench-complexity.scm:
11097 * tests/complexity.gnuplot: New files, good for running complexity
11100 * tests/Makefile.am:
11101 * tests/complexity.c: New test, sets up N elements, at each level
11102 teeing into M streams per element. Eeeenteresting.
11104 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11105 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11106 running bench-mass_elements.scm.
11108 * tests/bench-mass_elements.scm: New script, runs mass_elements
11109 for various numbers of identities, outputting the results to a
11110 file. Requires guile 1.6. Just for testing.
11112 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11114 * gst/schedulers/fairscheduler.c:
11115 compile with debug disabled
11117 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11120 hunting season on 0.9 is now OPEN