1 2005-11-18 Andy Wingo <wingo@pobox.com>
4 * pkgconfig/gstreamer-net.pc.in:
5 * pkgconfig/gstreamer-net-uninstalled.pc.in:
6 * pkgconfig/Makefile.am: Add net pkgconfig files.
8 2005-11-18 Stefan Kost <ensonic@users.sf.net>
17 2005-11-18 Andy Wingo <wingo@pobox.com>
19 * gst/net/gstnetclientclock.c: Turn off debugging.
21 * check/net/gstnetclientclock.c (test_functioning): Assert that the
22 times connverge somewhat. Can't make a real test.
24 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
25 integer arithmetic. Return the minimum of the domain, which can be
26 set as "internal" for gst_clock_set_calibration.
27 (gst_net_client_clock_observe_times): Call _set_calibration.
28 (gst_net_client_clock_new): Call _set_calibration instead of
31 * check/net/gstnetclientclock.c (test_functioning): Use the right
35 * gst/gstclock.c (gst_clock_get_calibration)
36 (gst_clock_set_calibration): New functions, obsolete the ones I
37 added yesterday. Doh. Precision issues mean we have to extrapolate
38 from a point in the more recent past than 1970.
39 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
41 (gst_clock_adjust_unlocked): Use the right calibration data.
43 2005-11-18 Edward Hervey <edward@fluendo.com>
45 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
46 Also reset the ->current_* values in READY->PAUSED
48 2005-11-18 Andy Wingo <wingo@pobox.com>
50 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
51 Whoops, check the right fd. Also add some debugging.
52 (gst_net_client_clock_observe_times): Adjust for int64 offset.
53 (do_linear_regression): Add a crapload of debugging. Subtract off
54 the minimum values from the input series to discard unneeded bits.
55 Use only int arithmetic. There is still double arithmetic when
56 calculating the intercept that needs fixing. Return boolean to
57 indicate success; FALSE would mean the domain or range is too
58 great. Still needs fixes.
60 2005-11-18 Wim Taymans <wim@fluendo.com>
62 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
63 For the current position in stream time, we need to subtract
66 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
67 Release lock before calling the callback function of async
70 2005-11-18 Andy Wingo <wingo@pobox.com>
72 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
73 Port goes all the way to MAXUINT16.
75 * gst/net/gstnettimeprovider.c: Make the port range the same as
76 for the kernel: 0 assigns, otherwise ports are less than
79 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
82 * check/net/gstnetclientclock.c (test_functioning): Add the start
85 2005-11-18 Wim Taymans <wim@fluendo.com>
87 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
88 (gst_bin_remove_func), (bin_bus_handler):
90 Removing a clock provider from a bin, triggers a clock lost message
91 so that a new clock will be selected.
92 Adding a clock to a bin triggers a clock provider message.
93 Make sure we reselect a clock when we received a clock lost message.
94 Keep a reference to the element that provided the clock.
96 2005-11-18 Andy Wingo <wingo@pobox.com>
98 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
99 the clock initially so it produces values around the base time.
100 (gst_net_client_clock_class_init): Typo fix.
101 (gst_net_client_clock_thread): Add note on when the socket gets
104 2005-11-17 Wim Taymans <wim@fluendo.com>
106 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
107 Free remote and local time arrays.
109 2005-11-17 Wim Taymans <wim@fluendo.com>
111 * gst/net/gstnetclientclock.c: (do_linear_regression),
112 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
113 Fix compilation, uninitialized vars and a forgotten continue.
115 2005-11-17 Andy Wingo <wingo@pobox.com>
117 * check/Makefile.am (check_PROGRAMS):
118 * check/net/gstnetclientclock.c: Add a most minimal test for the
119 net client clock. More to come later.
122 * gst/net/Makefile.am: Add netclientclock.
124 * gst/net/gstnetclientclock.h:
125 * gst/net/gstnetclientclock.c: New files, implement an untested
126 GstClock that takes its time from a network time provider.
127 Implements the algorithm in network-clock.scm.
129 * tests/network-clock.scm (*window-size*): Rename from
131 * tests/network-clock.scm (network-time):
132 * tests/network-clock-utils.scm (q-push): Update callers.
134 2005-11-17 Wim Taymans <wim@fluendo.com>
136 * gst/gstbin.c: (gst_bin_provide_clock_func),
137 (gst_bin_sort_iterator_new):
138 And unref the child too..
140 2005-11-17 Wim Taymans <wim@fluendo.com>
142 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
143 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
144 Refactor the sort iterator so it can be used while holding the
146 Make clock selection select a clock closest to the source.
148 2005-11-17 Michael Smith <msmith@fluendo.com>
150 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
151 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
153 Anonymous structs are a gcc (and some other compilers) extension, so
154 don't use them. Since this is only for ABI-compatibility, and our
155 API/ABI freeze is over in a few days, this whole thing will only
156 last a few days, so don't bother trying to think up a meaningful
159 2005-11-17 Andy Wingo <wingo@pobox.com>
161 * gst/gstclock.h (GstClock): Add rate and offset properties,
162 preserving ABI stability. Add rate/offset accessors. Will file bug
163 for the freeze break.
165 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
166 and offset, trying to keep precision and avoiding
168 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
169 functions. Make gst_clock_set_time_adjust obsolete.
170 (gst_clock_set_time_adjust): Note that this function is obsolete.
173 * gst/base/gstbasetransform.h: Make the ABI-stability hack
174 greppable by using GST_PADDING-1+1.
176 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
178 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
180 * gst/gstmessage.c: (gst_message_parse_clock_lost):
181 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
183 * gst/gstpadtemplate.h:
184 * gst/gstpluginfeature.h:
185 Don't use c++ style comments in headers (#321638).
187 2005-11-16 Andy Wingo <wingo@pobox.com>
189 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
192 * check/net/gstnettimeprovider.c: Check to see that the time
193 provider actually provides times. Works, yo!
195 2005-11-16 Wim Taymans <wim@fluendo.com>
200 * check/elements/fakesrc.c: (GST_START_TEST):
201 Set element to NULL before disposing it.
203 2005-11-16 Andy Wingo <wingo@pobox.com>
205 * gst/net/Makefile.am:
207 * gst/net/gstnettimeprovider.c:
208 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
209 provider, include it from gstnet.h, and add it to the build.
211 * gst/net/gstnettimepacket.h:
212 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
213 sending and receiving.
215 2005-11-16 Wim Taymans <wim@fluendo.com>
218 Enable valgrind check.
220 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
221 (gst_fake_src_alloc_buffer):
224 2005-11-16 Wim Taymans <wim@fluendo.com>
226 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
227 Call parent finalize too.
229 2005-11-16 Wim Taymans <wim@fluendo.com>
232 Enable valgrind check that should work fine now.
234 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
235 * gst/gstqueue.c: (gst_queue_init):
236 Fix memleaks in pad allocation.
238 2005-11-16 Andy Wingo <wingo@pobox.com>
240 * gst/net/Makefile.am:
241 * gst/net/gstnet.h: New part of core to hold network elements and
242 objects. Put in core because it exposes API that applications want
243 to use. The library is named libgstnet-tempname right now because
244 of the existing libgstnet in gst-plugins-base. Solution is
245 probably to rename the one in plugins-base; will file a bug for
248 * gst/net/gstnettimeprovider.c:
249 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
250 get_time call over the network.
253 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
256 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
257 get additions shortly.
259 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
261 * gst/gstpad.c: (gst_pad_new_from_static_template):
263 add gst_pad_new_from_static_template functions
264 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
265 (gst_check_setup_sink_pad):
266 * gst/elements/gsttee.c: (gst_tee_init):
269 2005-11-16 Wim Taymans <wim@fluendo.com>
271 * gst/gstpad.c: (gst_pad_pause_task):
272 Removed warning, it's not really an error either.
274 2005-11-16 Wim Taymans <wim@fluendo.com>
276 * gst/base/gstbasetransform.c:
277 (gst_base_transform_prepare_output_buf),
278 (gst_base_transform_event):
279 Check if the caps are NULL, this can happen if the element
280 is shutting down and the pad caps are set to NULL.
282 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
284 * gst/elements/gsttee.c: (gst_tee_init):
285 fix pad tempalte leak in tee
287 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
289 * gst/glib-compat.c: (g_value_dup_gst_object):
291 * gst/gstpad.c: (gst_pad_set_property):
292 use gst_object_ref when setting the pad template; this will
293 trigger the pad template leaks on GLib 2.6 and the slaves
295 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
297 * gst/glib-compat.c: (gst_flags_get_first_value):
299 * gst/gstregistryxml.c:
300 remove functions copied from GLib 2.6
302 2005-11-16 Michael Smith <msmith@fluendo.com>
305 Don't link against VALGRIND_LIBS. That was always the wrong thing to
306 do, but only breaks with newer valgrind versions. We're not a
307 valgrind tool, we have no link-time dependencies on libcoregrind.
309 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
311 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
316 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
318 * gst/base/gstbasesrc.c: (gst_base_src_init):
319 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
320 * gst/gstqueue.c: (gst_queue_init):
321 * gst/gstregistryxml.c: (load_feature):
322 Revert all these unrefs, they don't even pass make check !
324 2005-11-15 Johan Dahlin <johan@gnome.org>
326 * gst/base/gstbasesrc.c: (gst_base_src_init):
327 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
328 * gst/gstqueue.c: (gst_queue_init):
329 Free pad templates, fixes a couple of leaks.
331 2005-11-15 Daniel Fischer <dan at f3c dot com>
333 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
335 * gst/gstpad.c: (gst_pad_get_property):
336 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
337 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
340 2005-11-15 Wim Taymans <wim@fluendo.com>
345 2005-11-15 Andy Wingo <wingo@pobox.com>
347 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
349 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
350 using GST_CLOCK_TIME_NONE to disable base time management.
351 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
352 time if it was NONE before.
353 (gst_pipeline_change_state): Only munge the base time if
354 stream_time != GST_CLOCK_TIME_NONE.
356 * check/gst/gstpipeline.c (test_base_time): Punt around the
357 problem of the probe not being called, because that's not the
358 issue I'm looking at. Add a check that setting stream_time to NONE
359 disables base time management.
361 2005-11-15 Wim Taymans <wim@fluendo.com>
363 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
364 segment_stop == -1 at startup.
366 * gst/base/gstbasetransform.c: (gst_base_transform_event),
367 (gst_base_transform_change_state):
368 Init segment values at start.
370 2005-11-15 Wim Taymans <wim@fluendo.com>
372 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
373 0 segment values are 0 in any format.
375 * gst/base/gstbasetransform.c: (gst_base_transform_event):
376 * gst/base/gstbasetransform.h:
377 Parse newsegment correctly in basetransform
379 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
380 Sync to clock using updated segment values.
382 2005-11-15 Andy Wingo <wingo@pobox.com>
384 * check/gst/gstpipeline.c (test_base_time): Add check that the
385 base time and stream time are reset correctly.
387 2005-11-15 Wim Taymans <wim@fluendo.com>
389 * docs/design/part-TODO.txt:
390 Some more TODO items.
392 2005-11-15 Andy Wingo <wingo@pobox.com>
394 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
395 error if the user selected "no clock" as the clocking method.
397 * check/gst/gstpipeline.c (test_base_time): New test for buffer
398 timestamps with live capture.
400 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
401 is 0 but we are a live source, timestamp the buffers using the
404 2005-11-14 Stefan Kost <ensonic@users.sf.net>
406 * docs/gst/gstreamer-sections.txt:
413 2005-11-14 Wim Taymans <wim@fluendo.com>
416 add suppressions from Wim's Debian machine
418 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
421 add suppressions from Andy's AMD64 Ubuntu machine
423 2005-11-14 Andy Wingo <wingo@pobox.com>
425 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
426 STATE_LOCK not necessary. Fixes #311489.
428 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
431 * gst/gstindex.c (gst_index_add_object): Note in the docs that
432 this function is not implemented.
434 2005-11-14 Julien MOUTTE <julien@moutte.net>
436 * gst/base/gstbasetransform.c:
437 (gst_base_transform_prepare_output_buf):
438 Ref the source pad caps while we need them.
441 2005-11-11 Wim Taymans <wim@fluendo.com>
443 * docs/gst/gstreamer-sections.txt:
444 Added some docs for GstCollectData.
446 * gst/base/gstadapter.c:
447 Some small code example fix.
449 * gst/base/gstcollectpads.c:
450 * gst/base/gstcollectpads.h:
453 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
455 * configure.ac: back to HEAD
457 === release 0.9.5 ===
459 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
462 releasing 0.9.5, "Bike Lunch Day"
464 2005-11-11 Wim Taymans <wim@fluendo.com>
466 * gst/gstbuffer.c: (_gst_buffer_copy):
469 * gst/gstcaps.c: (gst_caps_is_equal):
471 Make _is_equal fast in the trivial cases.
473 * gst/gstminiobject.c:
474 * gst/gstminiobject.h:
475 More docs. Spifify .h file.
480 2005-11-11 Wim Taymans <wim@fluendo.com>
482 * gst/base/gstbasetransform.c:
483 (gst_base_transform_prepare_output_buf),
484 (gst_base_transform_handle_buffer):
486 If we're processing a buffer and need to allocate an output
487 buffer, we cannot accept a format change. If we did get a
488 format change, we have to alloc a buffer ourselves of the
491 2005-11-11 Wim Taymans <wim@fluendo.com>
493 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
494 While checking the flag for reentrancy in the gstcaps function
495 is nice to detect recursive invocations, it also makes it
496 impossible to call getcaps from multiple threads, which must be
497 possible. So, checking for recursive calls has to go.
499 2005-11-11 Michael Smith <msmith@fluendo.com>
501 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
502 Don't sync on buffers that fall partially outside our current
503 segment. Prevents an assertion failure/abort playing some files.
505 2005-11-10 Andy Wingo <wingo@pobox.com>
507 * check/gst/gstbin.c (test_message_state_changed_children): Style
510 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
511 gst_bus_poll with the signal watch. Ensures that poll and a signal
512 watch see the same messages.
514 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
515 a poll and a watch at the same time get the same messages.
517 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
519 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
520 * gst/gstcaps.c: (gst_caps_intersect):
521 Don't call gst_caps_do_simplify - it doesn't respect order of caps
524 2005-11-10 Wim Taymans <wim@fluendo.com>
526 * docs/design/part-TODO.txt:
529 2005-11-10 Wim Taymans <wim@fluendo.com>
531 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
532 * gst/base/gstbasesrc.c: (gst_base_src_wait),
533 (gst_base_src_do_sync), (gst_base_src_get_range):
534 Implement clock sync in base class.
536 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
538 patch by: Tim-Philipp Müller <tim at centricular dot net>
540 * gst/gststructure.c: (gst_structure_parse_field),
541 (gst_structure_from_string):
542 Forward-port a 0.8 patch to handle escaped spaces in structure string,
543 so that gst_parse_launch() can deal with spaces in filtered link
545 * check/gst/capslist.h:
546 * check/gst/gststructure.c: (GST_START_TEST):
547 add unit tests for this change
549 2005-11-10 Wim Taymans <wim@fluendo.com>
551 * docs/gst/gstreamer-sections.txt:
554 Fix docs, move some STATE macros to private.
556 2005-11-10 Wim Taymans <wim@fluendo.com>
558 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
559 Added check for bug #317341
563 Some more spiffifying.
565 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
566 Call peer linkfunction if we are a source pad. Totally fixes
570 Update docs, source pads should call the peer linkfunction
571 so they can atomically perform the pad link.
573 2005-11-09 Wim Taymans <wim@fluendo.com>
577 Uber-spiffy-spiffify some more.
579 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
581 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
582 * gst/elements/gstfilesink.c: (gst_file_sink_init):
583 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
584 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
585 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
586 * gst/gstpad.c: (gst_pad_init):
587 Use GST_DEBUG_FUNCPTR() more extensively.
589 2005-11-09 Wim Taymans <wim@fluendo.com>
591 * gst/gstobject.c: (gst_object_class_init):
595 2005-11-09 Edward Hervey <edward@fluendo.com>
597 * gst/gsttypefindfactory.c:
600 2005-11-09 Edward Hervey <edward@fluendo.com>
602 * gst/base/gsttypefindhelper.c:
607 2005-11-09 Wim Taymans <wim@fluendo.com>
616 2005-11-09 Wim Taymans <wim@fluendo.com>
622 2005-11-09 Wim Taymans <wim@fluendo.com>
624 * docs/gst/gstreamer-sections.txt:
625 Moved the message async delivery private lock and cond
626 to the private section.
632 2005-11-09 Edward Hervey <edward@fluendo.com>
634 * docs/gst/gstreamer-sections.txt:
637 Document GstURIHandler
639 2005-11-09 Wim Taymans <wim@fluendo.com>
641 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
642 (gst_iterator_find_custom):
646 2005-11-09 Wim Taymans <wim@fluendo.com>
649 Document another field.
651 * gst/gststructure.c:
652 * gst/gststructure.h:
655 2005-11-09 Wim Taymans <wim@fluendo.com>
660 2005-11-09 Wim Taymans <wim@fluendo.com>
662 * docs/gst/gstreamer-sections.txt:
663 Added some new macros.
670 2005-11-09 Wim Taymans <wim@fluendo.com>
672 * docs/design/part-TODO.txt:
673 Some more items for the TODO
679 2005-11-09 Andy Wingo <wingo@pobox.com>
681 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
682 to work on something else now tho...
684 * gst/base/gstadapter.c: More adapter docs.
686 * gst/elements/gstfilesink.c (gst_file_sink_start)
687 (gst_file_sink_stop): New functions, replace the state change
689 (gst_file_sink_class_init): Hook up the start and stop functions.
690 (gst_file_sink_base_init): Don't set the state change handler any
691 more. It was a bit ugly too, being set from here...
692 (gst_file_sink_get_property, gst_file_sink_set_property):
694 (gst_file_sink_set_location): More robust check that doesn't call
697 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
699 * gst/base/gstbasetransform.c: (gst_base_transform_event):
700 Hold STREAM_LOCK while pushing newsegment or tag events as well.
702 2005-11-08 Wim Taymans <wim@fluendo.com>
704 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
705 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
706 (gst_base_sink_chain), (gst_base_sink_change_state):
707 * gst/base/gstbasesink.h:
708 * gst/base/gstbasesrc.h:
711 Avoid excessive typechecking in macros.
713 * gst/gstminiobject.c: (gst_mini_object_get_type),
714 (gst_mini_object_init), (gst_mini_object_new),
715 (gst_mini_object_free):
716 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
717 (gst_object_finalize):
718 Remove cruft code, optimize alloc_trace.
720 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
722 * docs/faq/gst-uninstalled:
723 fix up PS1 for systems that try to reset it
725 2005-11-07 Wim Taymans <wim@fluendo.com>
727 * gst/base/gstbasesrc.c: (gst_base_src_init),
728 (gst_base_src_get_range):
729 Set the segment_end to -1 initially. Fixed typefind.
731 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
733 * gst/base/gstadapter.c:
734 Debug category should be 'adapter', not 'GstAdapter'.
736 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
737 (gst_collectpads_class_init), (gst_collectpads_init),
738 (gst_collectpads_peek), (gst_collectpads_pop),
739 (gst_collectpads_event), (gst_collectpads_chain):
740 Add debug category and some debugging output. Use boilerplate
741 macros. Remove some extraneous words from docs.
743 2005-11-05 Andy Wingo <wingo@pobox.com>
745 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
748 2005-11-04 Stefan Kost <ensonic@users.sf.net>
750 * docs/gst/gstreamer-sections.txt:
753 * gst/gstminiobject.h:
758 2005-11-04 Wim Taymans <wim@fluendo.com>
760 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
761 Small update to stop at the configured segment_end
764 2005-11-04 Stefan Kost <ensonic@users.sf.net>
770 2005-11-04 Edward Hervey <edward@fluendo.com>
772 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
773 Check if we are doing a segment seek and have arrived at the
776 2005-11-04 Wim Taymans <wim@fluendo.com>
778 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
779 Don't leak a mutex unlock in case of an error.
784 2005-11-04 Wim Taymans <wim@fluendo.com>
786 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
788 Get the context to wake up only once.
790 2005-11-03 Wim Taymans <wim@fluendo.com>
792 * check/states/sinks.c: (GST_START_TEST):
793 Uncomment fixed check.
795 * docs/design/part-TODO.txt:
798 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
799 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
800 (gst_base_sink_get_position):
801 If we are going to PLAYING, post the right pending state
802 when we post the intermediate paused message.
804 * gst/gstelement.c: (gst_element_continue_state),
805 (gst_element_set_state_func), (gst_element_change_state):
806 Don't post state changes that were between the same state
809 2005-11-03 Stefan Kost <ensonic@users.sf.net>
811 * docs/gst/gstreamer-sections.txt:
814 * gst/gstminiobject.h:
817 more docs and doc style fixes
819 2005-11-03 Stefan Kost <ensonic@users.sf.net>
821 * docs/gst/gstreamer-sections.txt:
823 * gst/gstminiobject.c:
826 2005-11-03 Andy Wingo <wingo@pobox.com>
828 * check/states/sinks.c (test_livesrc_sink): Add checks that the
829 state-changed messages actually have the right order and the right
832 2005-11-03 Wim Taymans <wim@fluendo.com>
834 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
835 Added some more checks. Specifically the case where NO_PREROLL
836 elements are in the pipeline.
838 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
839 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
840 (gst_base_sink_get_position):
841 Post READY->PAUSED state change messages too.
842 Fix bug where VOID was posted as pending state...
844 * gst/gstbin.c: (gst_bin_recalc_state):
845 use _element_continue_state() to continue the state change.
847 * gst/gstelement.c: (gst_element_continue_state),
848 (gst_element_commit_state), (gst_element_set_state_func),
849 (gst_element_change_state), (gst_element_change_state_func):
850 Lots of state change cleanups, assign the STATE_RETURN in
851 a new continue_state() function that also propagates the
852 last return value from a state change to the app.
853 Update some debug statements with proper category.
855 2005-11-03 Wim Taymans <wim@fluendo.com>
857 * docs/design/part-events.txt:
858 * docs/design/part-gstpipeline.txt:
859 * docs/design/part-messages.txt:
860 * docs/design/part-overview.txt:
861 * docs/design/part-seeking.txt:
862 * docs/design/part-states.txt:
863 * docs/design/part-trickmodes.txt:
864 * docs/manual/advanced-position.xml:
868 People think !! is ugly, this looks better.
870 * gst/gstpad.c: (gst_pad_set_blocked_async):
871 Remove !! since it's fixed elsewhere now.
873 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
875 * gst/gstminiobject.h:
877 Add !! to _FLAG_IS_SET macros to make the result boolean.
879 2005-11-03 Edward Hervey <edward@fluendo.com>
881 * gst/gstpad.c: (gst_pad_set_blocked_async):
882 comparing a flag and a gboolean rarely returns coherent results...
883 Added two characters (!!) to make that work correctly.
885 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
887 * gst/gstbus.c: (gst_bus_class_init):
890 * gst/gstqueue.c: (gst_queue_loop):
891 Don't assume a miniobject that isn't a buffer is an
892 event (it could be that there is a refcounting
893 problem somewhere and the pointer is stale and
894 refers to an already destroyed miniobject).
896 2005-11-03 Julien MOUTTE <julien@moutte.net>
898 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
900 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
902 * docs/manual/advanced-position.xml:
903 Update seek example and explanations to current 0.9 API.
905 * gst/elements/gsttypefindelement.c:
906 (gst_type_find_element_activate):
907 Remove FIXME comment now that the found caps
910 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
912 * gst/gstregistryxml.c: (load_feature):
913 Add another GST_STR_NULL instance
915 2005-11-02 Edward Hervey <edward@fluendo.com>
917 * gst/gstpad.c: (handle_pad_block):
918 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
920 2005-11-02 Wim Taymans <wim@fluendo.com>
925 * gst/gstelement.c: (gst_element_commit_state):
929 Mention that the returned element is reffed in the docs.
931 2005-11-02 Wim Taymans <wim@fluendo.com>
933 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
934 (gst_pad_push), (gst_pad_push_event):
935 Unlock blocked pads when they are flushed.
937 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
940 * docs/gst/gstreamer-sections.txt:
943 * gst/gstregistry.c: (gst_registry_scan_path_level):
944 fix for a nasty little missed situation where an installed plug-in
945 which was in the cache did not get overridden by an uninstalled one
946 which was earlier in the plugin path because the newly created plugin
947 for the uninstalled one (not in the registry) didn't get its
948 ->registered set to TRUE
950 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
952 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
953 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
954 (gst_collectpads_is_active), (gst_collectpads_collect),
955 (gst_collectpads_collect_range), (gst_collectpads_start),
956 (gst_collectpads_stop), (gst_collectpads_peek),
957 (gst_collectpads_pop), (gst_collectpads_available),
958 (gst_collectpads_read), (gst_collectpads_flush):
959 Guard public API with assertions.
962 Fix docs for gst_pad_set_link_function().
964 2005-11-02 Johan Dahlin <johan@gnome.org>
966 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
967 Unref found_caps after we used it.
969 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
971 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
972 Don't try to ref NULL.
974 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
976 * win32/common/config.h.in:
977 provide a GST_FUNCTION that just gives a string for now
979 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
981 * win32/common/gstenumtypes.c: (register_gst_object_flags),
982 (gst_object_flags_get_type), (register_gst_bin_flags),
983 (gst_bin_flags_get_type), (register_gst_buffer_flag),
984 (gst_buffer_flag_get_type), (register_gst_bus_flags),
985 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
986 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
987 (gst_clock_return_get_type), (register_gst_clock_entry_type),
988 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
989 (gst_clock_flags_get_type), (register_gst_state),
990 (gst_state_get_type), (register_gst_state_change_return),
991 (gst_state_change_return_get_type), (register_gst_state_change),
992 (gst_state_change_get_type), (register_gst_element_flags),
993 (gst_element_flags_get_type), (register_gst_core_error),
994 (gst_core_error_get_type), (register_gst_library_error),
995 (gst_library_error_get_type), (register_gst_resource_error),
996 (gst_resource_error_get_type), (register_gst_stream_error),
997 (gst_stream_error_get_type), (register_gst_event_type),
998 (gst_event_type_get_type), (register_gst_seek_type),
999 (gst_seek_type_get_type), (register_gst_seek_flags),
1000 (gst_seek_flags_get_type), (register_gst_format),
1001 (gst_format_get_type), (register_gst_index_certainty),
1002 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1003 (gst_index_entry_type_get_type),
1004 (register_gst_index_lookup_method),
1005 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1006 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1007 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1008 (gst_index_flags_get_type), (register_gst_debug_level),
1009 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1010 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1011 (gst_iterator_result_get_type), (register_gst_iterator_item),
1012 (gst_iterator_item_get_type), (register_gst_message_type),
1013 (gst_message_type_get_type), (register_gst_mini_object_flags),
1014 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1015 (gst_pad_link_return_get_type), (register_gst_flow_return),
1016 (gst_flow_return_get_type), (register_gst_activate_mode),
1017 (gst_activate_mode_get_type), (register_gst_pad_direction),
1018 (gst_pad_direction_get_type), (register_gst_pad_flags),
1019 (gst_pad_flags_get_type), (register_gst_pad_presence),
1020 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1021 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1022 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1023 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1024 (gst_plugin_flags_get_type), (register_gst_rank),
1025 (gst_rank_get_type), (register_gst_query_type),
1026 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1027 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1028 (gst_tag_flag_get_type), (register_gst_task_state),
1029 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1030 (gst_alloc_trace_flags_get_type),
1031 (register_gst_type_find_probability),
1032 (gst_type_find_probability_get_type), (register_gst_uri_type),
1033 (gst_uri_type_get_type), (register_gst_parse_error),
1034 (gst_parse_error_get_type):
1035 * win32/common/gstversion.h:
1038 2005-11-01 Luca Ognibene <luogni@tin.it>
1041 fix docs. popt is dead, long live GOption.
1043 2005-10-31 Wim Taymans <wim@fluendo.com>
1048 2005-10-31 Andy Wingo <wingo@pobox.com>
1052 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
1054 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
1055 need to serialize property notifications on GLib 2.8. GLib 2.6 has
1056 the possibility of deadlocks here if code calling notify() or
1057 set() has a lock that can be taken in another notify handler (ABBA
1058 with class lock and e.g. python GIL state lock).
1060 2005-10-28 Julien MOUTTE <julien@moutte.net>
1062 * gst/gstbus.c: Doc updates.
1064 2005-10-28 Wim Taymans <wim@fluendo.com>
1066 * docs/design/part-TODO.txt:
1067 * gst/gstiterator.c:
1068 * gst/gstsystemclock.c:
1069 * gst/gstsystemclock.h:
1072 2005-10-28 Edward Hervey <edward@fluendo.com>
1074 * docs/gst/gstreamer-docs.sgml:
1075 * docs/gst/gstreamer-sections.txt:
1076 the GstURIType documentation page is private, it only defines GstURIType
1077 which should be defined in the GstURIHandler page
1079 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
1081 * gst/gstbin.c: (gst_bin_class_init):
1084 Documentation updates.
1086 2005-10-28 Wim Taymans <wim@fluendo.com>
1088 * docs/gst/gstreamer-sections.txt:
1091 Documented the clocks.
1093 2005-10-28 Stefan Kost <ensonic@users.sf.net>
1095 * docs/gst/gstreamer-sections.txt:
1096 move some macros to private sections
1097 * gst/gstminiobject.c:
1098 * gst/gstminiobject.h:
1099 add descriptions provided by ds and some more
1101 mark macro as to be removed
1103 2005-10-28 Wim Taymans <wim@fluendo.com>
1105 * docs/design/part-TODO.txt:
1106 Add an item to TODO.
1108 * gst/gstiterator.c: (gst_iterator_fold),
1109 (gst_iterator_find_custom):
1110 * gst/gstiterator.h:
1113 2005-10-28 Wim Taymans <wim@fluendo.com>
1115 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1116 (gst_base_transform_init):
1119 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
1120 An EOS event marks the queue as completely filled.
1122 2005-10-27 Wim Taymans <wim@fluendo.com>
1124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1125 (gst_base_sink_do_sync), (gst_base_sink_get_position):
1126 Some more debugging.
1128 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
1129 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
1130 (gst_base_transform_event), (gst_base_transform_getrange),
1131 (gst_base_transform_chain):
1132 * gst/base/gstbasetransform.h:
1134 Protect transform and concurrent buffer alloc with a new lock.
1135 Try not to break ABI/API.
1137 2005-10-27 Wim Taymans <wim@fluendo.com>
1139 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1140 (gst_base_src_init), (gst_base_src_query),
1141 (gst_base_src_default_newsegment),
1142 (gst_base_src_configure_segment), (gst_base_src_do_seek),
1143 (gst_base_src_send_event), (gst_base_src_event_handler),
1144 (gst_base_src_pad_get_range), (gst_base_src_loop),
1145 (gst_base_src_unlock), (gst_base_src_default_negotiate),
1146 (gst_base_src_start), (gst_base_src_deactivate),
1147 (gst_base_src_activate_push), (gst_base_src_change_state):
1148 Move some stuff around and cleanup things.
1150 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
1152 * gst/base/gstbasesrc.c: (gst_base_src_query):
1153 Add missing break statements.
1155 2005-10-27 Wim Taymans <wim@fluendo.com>
1157 * check/gst/gstbin.c: (GST_START_TEST):
1158 An extra refcount is taken in basesrc.
1160 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
1161 (gst_base_src_get_range), (gst_base_src_pad_get_range),
1162 (gst_base_src_loop):
1163 Small cleanups, check for flushing after being unlocked from the
1164 LIVE_LOCK. take refcounts correctly (not yet everywhere).
1165 Don't send out EOS when going to READY.
1167 2005-10-27 Wim Taymans <wim@fluendo.com>
1169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1170 (gst_base_sink_get_position):
1173 * gst/gstbin.c: (message_check), (bin_replace_message),
1174 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1175 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1176 (bin_query_duration_init), (bin_query_duration_fold),
1177 (bin_query_duration_done), (bin_query_generic_fold),
1179 * tools/gst-launch.c: (main):
1182 2005-10-26 Stefan Kost <ensonic@users.sf.net>
1184 * examples/controller/audio-example.c: (main):
1185 * examples/queue/queue.c: (event_loop):
1186 * gst/base/gstbasetransform.h:
1187 * gst/gstelement.c: (gst_element_send_event):
1189 * gst/gstpad.c: (gst_pad_send_event):
1192 changing log priority in error situations
1194 2005-10-25 Wim Taymans <wim@fluendo.com>
1196 * gst/gstbin.c: (message_check), (bin_replace_message),
1197 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1198 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1199 (bin_query_duration_init), (bin_query_duration_fold),
1200 (bin_query_duration_done), (bin_query_generic_fold),
1202 Some doc and debug updates.
1203 Cache previously requested query DURATION for speed. invalidate
1204 cached duration if element posts a DURATION message.
1206 2005-10-25 Wim Taymans <wim@fluendo.com>
1208 * docs/design/part-TODO.txt:
1211 * gst/gstbin.c: (message_check), (bin_replace_message),
1212 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1213 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
1214 (bin_query_duration_init), (bin_query_duration_fold),
1215 (bin_query_duration_done), (bin_query_generic_fold),
1217 Handle SEGMENT_START/DONE messages correctly.
1218 More evolved query algorithm that handles duration queries
1221 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
1222 (gst_element_get_state_func), (gst_element_abort_state),
1223 (gst_element_commit_state), (gst_element_lost_state):
1224 Some more debugging.
1229 2005-10-25 Wim Taymans <wim@fluendo.com>
1231 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
1232 Don't use invalid stream_time.
1234 * gst/gstevent.c: (gst_event_new_newsegment):
1235 stream_time in newsegment cannot be undefined.
1237 2005-10-24 Wim Taymans <wim@fluendo.com>
1242 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
1244 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
1246 2005-10-24 Stefan Kost <ensonic@users.sf.net>
1248 * docs/libs/tmpl/gstdparam.sgml:
1249 * docs/libs/tmpl/gstdplinint.sgml:
1250 * docs/libs/tmpl/gstdpman.sgml:
1251 * docs/libs/tmpl/gstdpsmooth.sgml:
1252 * docs/libs/tmpl/gstunitconvert.sgml:
1255 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
1260 === release 0.9.4 ===
1262 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1265 releasing 0.9.4, "Tyrannosaurus Rex"
1267 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
1269 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
1270 (gst_file_sink_get_current_offset):
1271 Use fseeko() and ftello() if available. When falling back on
1272 lseek() to get the current offset, fflush() first to make sure
1273 everything is up-to-date and we get the right offset.
1275 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
1277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1278 * gst/base/gstbasesrc.c: (gst_base_src_loop):
1279 * gst/gsterror.c: (_gst_stream_errors_init):
1281 * gst/gstqueue.c: (gst_queue_loop):
1283 remove prematurely added error category and clean up the instances
1285 2005-10-21 Wim Taymans <wim@fluendo.com>
1287 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1288 (gst_base_sink_get_position), (gst_base_sink_query),
1289 (gst_base_sink_change_state):
1290 Simply set the right flag when going to playing, that's all
1291 we need to do instead of calling a function inside the object
1292 lock (that could take the lock as well and deadlock)
1294 2005-10-21 Wim Taymans <wim@fluendo.com>
1296 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
1297 (gst_base_src_loop):
1298 Don't warn, the peer element knows what to do best when
1299 the seek failed, it might try something else.
1301 2005-10-21 Wim Taymans <wim@fluendo.com>
1303 * gst/base/gstbasesrc.c: (gst_base_src_init),
1304 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
1307 2005-10-21 Wim Taymans <wim@fluendo.com>
1309 * docs/design/part-segments.txt:
1312 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
1313 Correctly set caps, even on the subbufer.
1315 2005-10-21 Wim Taymans <wim@fluendo.com>
1317 * docs/gst/gstreamer-docs.sgml:
1318 * docs/gst/gstreamer-sections.txt:
1325 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
1329 And 2% more doc coverage.
1331 2005-10-21 Andy Wingo <wingo@pobox.com>
1333 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
1336 2005-10-20 Wim Taymans <wim@fluendo.com>
1338 * gst/gsterror.c: (gst_error_get_message):
1341 * gst/gststructure.c:
1346 2005-10-20 Wim Taymans <wim@fluendo.com>
1351 Another 1% more coverage.
1353 2005-10-20 Wim Taymans <wim@fluendo.com>
1355 * docs/gst/gstreamer-sections.txt:
1356 * gst/gstelement.c: (gst_element_get_state_func),
1357 (gst_element_abort_state), (gst_element_commit_state),
1358 (gst_element_lost_state):
1360 * gst/gstquery.c: (gst_query_set_position),
1361 (gst_query_parse_position), (gst_query_set_duration),
1362 (gst_query_parse_duration), (gst_query_new_convert):
1364 Yay! 1% more docs coverage.
1366 2005-10-20 Wim Taymans <wim@fluendo.com>
1369 * gst/gstquery.c: (gst_query_set_position),
1370 (gst_query_parse_position), (gst_query_set_duration),
1371 (gst_query_parse_duration), (gst_query_new_convert):
1373 * gst/gstutils.c: (gst_element_query_convert):
1375 Docs and consistency fixes.
1377 2005-10-20 Wim Taymans <wim@fluendo.com>
1383 2005-10-20 Wim Taymans <wim@fluendo.com>
1385 * gst/gstbin.c: (message_check), (bin_replace_message),
1386 (bin_remove_messages), (is_eos), (gst_bin_add_func),
1387 (update_degree), (gst_bin_sort_iterator_next),
1388 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
1389 Reworked the message handling a bit, cache the messages instead of
1390 only the senders. alows us to do more in the future.
1392 2005-10-20 Wim Taymans <wim@fluendo.com>
1394 * docs/design/part-TODO.txt:
1397 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1398 (gst_base_sink_query):
1399 Don't use clock time to report position when in EOS.
1401 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
1403 * tools/gst-inspect.c: (print_interfaces),
1404 (print_element_properties_info), (print_element_info):
1405 Fix interface output with gst-inspect -a; don't print
1406 newlines after double/float properties.
1408 2005-10-20 Wim Taymans <wim@fluendo.com>
1410 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
1411 (gst_base_sink_query):
1412 Speed up current position calculation.
1414 * gst/base/gstbasesrc.c: (gst_base_src_query),
1415 (gst_base_src_default_newsegment):
1416 Correctly set stream position in newsegment.
1418 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
1419 (update_degree), (gst_bin_sort_iterator_next),
1420 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
1421 * gst/gstmessage.c: (gst_message_new_custom):
1422 Clean up debugging info
1424 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
1425 (gst_queue_loop), (gst_queue_handle_src_query):
1428 2005-10-19 Wim Taymans <wim@fluendo.com>
1430 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1431 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1432 Fix query handling again.
1434 2005-10-19 Wim Taymans <wim@fluendo.com>
1436 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1437 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
1438 * gst/base/gstbasesrc.c: (gst_base_src_query):
1439 * gst/elements/gstfilesink.c: (gst_file_sink_query):
1440 * gst/elements/gsttypefindelement.c:
1441 (gst_type_find_handle_src_query), (find_element_get_length),
1442 (gst_type_find_element_activate):
1445 * gst/gstquery.c: (gst_query_new_position),
1446 (gst_query_set_position), (gst_query_parse_position),
1447 (gst_query_new_duration), (gst_query_set_duration),
1448 (gst_query_parse_duration), (gst_query_set_segment),
1449 (gst_query_parse_segment):
1451 Bundling query position/duration is not a good idea since duration
1452 does not change much and we don't want to recalculate it for every
1453 position query, so they are separated again..
1454 Base value in segment query is not needed.
1456 * gst/gstqueue.c: (gst_queue_handle_src_query):
1457 * gst/gstutils.c: (gst_element_query_position),
1458 (gst_element_query_duration), (gst_pad_query_position),
1459 (gst_pad_query_duration):
1461 Updates for query API change.
1462 Added some docs here and there.
1464 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
1466 * check/gst/gstbin.c: (GST_START_TEST):
1467 * check/gst/gstghostpad.c: (GST_START_TEST):
1468 * check/pipelines/cleanup.c: (GST_START_TEST):
1469 wait on thread to die so we can check refcount correctly
1471 2005-10-18 Wim Taymans <wim@fluendo.com>
1473 * check/pipelines/stress.c: (GST_START_TEST):
1474 Make check a little more time consuming.
1476 2005-10-18 Wim Taymans <wim@fluendo.com>
1478 * check/Makefile.am:
1479 * check/pipelines/stress.c: (GST_START_TEST),
1480 (simple_launch_lines_suite), (main):
1481 Small state change torture test.
1483 * docs/design/part-states.txt:
1484 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1485 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
1486 (gst_base_sink_change_state):
1487 Never take state lock from streaming thread, clean up ugly
1488 hacks. Unfortunatly core does not yet support nice ways to
1491 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
1493 Start state recalc if a STATE_DIRTY message is posted, but only
1494 on the toplevel bin.
1496 * gst/gstelement.c: (gst_element_sync_state_with_parent),
1497 (gst_element_get_state_func), (gst_element_abort_state),
1498 (gst_element_commit_state), (gst_element_lost_state),
1499 (gst_element_set_state_func), (gst_element_change_state):
1501 State variables are now protected with the LOCK, the state
1502 lock is only used to serialize _set_state().
1504 2005-10-18 Wim Taymans <wim@fluendo.com>
1506 * check/gst/gstbin.c: (GST_START_TEST):
1507 * check/gst/gstmessage.c: (GST_START_TEST):
1508 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
1511 * gst/gstelement.c: (gst_element_abort_state),
1512 (gst_element_commit_state), (gst_element_lost_state):
1513 * gst/gstmessage.c: (gst_message_new_state_changed),
1514 (gst_message_new_state_dirty), (gst_message_new_segment_start),
1515 (gst_message_new_segment_done), (gst_message_new_duration),
1516 (gst_message_parse_state_changed),
1517 (gst_message_parse_segment_start),
1518 (gst_message_parse_segment_done), (gst_message_parse_duration):
1520 * tools/gst-launch.c: (event_loop):
1521 Seriously, this is better than a previous commit as we only need
1522 to notify the fact that an element changed state in a streaming
1523 thread, marking the state of the parents dirty, hence the
1524 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
1527 2005-10-18 Wim Taymans <wim@fluendo.com>
1529 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
1530 (gst_bin_recalc_func):
1531 * gst/gstelement.c: (gst_element_set_clock),
1532 (gst_element_abort_state), (gst_element_lost_state):
1533 Cleanups, prepare for state change fixes.
1535 2005-10-18 Wim Taymans <wim@fluendo.com>
1538 * gst/gstelement.c: (gst_element_class_init),
1539 (gst_element_set_state), (gst_element_set_state_func):
1541 Pending ABI changes.
1542 GThreadPool in GstBinClass to monitor async state changes.
1543 state_cookie in GstElement to detect concurrent gst/set state.
1544 set_state is now virtual too in case a very complicated element
1545 has to be constructed.
1547 2005-10-18 Wim Taymans <wim@fluendo.com>
1549 * check/gst/gstbin.c: (GST_START_TEST):
1550 * check/gst/gstmessage.c: (GST_START_TEST):
1551 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
1552 * gst/gstbin.c: (bin_bus_handler):
1553 * gst/gstelement.c: (gst_element_commit_state),
1554 (gst_element_lost_state):
1555 * gst/gstmessage.c: (gst_message_new_state_changed),
1556 (gst_message_new_segment_start), (gst_message_new_segment_done),
1557 (gst_message_new_duration), (gst_message_parse_state_changed),
1558 (gst_message_parse_segment_start),
1559 (gst_message_parse_segment_done), (gst_message_parse_duration):
1561 * tools/gst-launch.c: (event_loop):
1562 Make messages future proof.
1563 state-change gets a flag if it was a message comming from the
1565 segment-start/stop can also be specified in other formats.
1566 A message to notify an app that a pipeline changed playback
1568 Also fix a GstMessage leak in -launch
1570 2005-10-18 Andy Wingo <wingo@pobox.com>
1572 * gst/gstelement.c (gst_element_dispose): More helpful message.
1574 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1576 reviewed by: <delete if not using a buddy>
1578 * common/gtk-doc.mak:
1580 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
1582 * gst/gstregistry.c: (gst_registry_scan_path_level):
1583 unref a plug-in we get that was already initialized
1585 2005-10-18 Stefan Kost <ensonic@users.sf.net>
1587 * docs/gst/gstreamer-sections.txt:
1588 * docs/libs/gstreamer-libs-sections.txt:
1593 2005-10-17 Andy Wingo <wingo@pobox.com>
1595 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
1598 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
1600 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
1602 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
1603 (gst_element_get_state_func): Better debug message.
1604 (gst_element_commit_state): s/INFO/DEBUG/.
1605 (gst_element_lost_state, gst_element_change_state):
1607 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
1608 (gst_message_new_custom): s/INFO/LOG/.
1610 2005-10-17 Michael Smith <msmith@fluendo.com>
1612 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
1613 Check if end time is valid using end time, not start time.
1615 2005-10-17 Stefan Kost <ensonic@users.sf.net>
1617 * check/gst-libs/controller.c: (GST_START_TEST),
1618 (gst_controller_suite):
1619 * libs/gst/controller/gstcontroller.c:
1620 (gst_controlled_property_set_interpolation_mode):
1621 * libs/gst/controller/gstcontroller.h:
1622 * libs/gst/controller/gstinterpolation.c:
1623 * testsuite/controller/.cvsignore:
1624 * testsuite/controller/Makefile.am:
1625 * testsuite/controller/interpolator.c:
1626 merge controller testsuites
1628 remove mem-chunk from docs
1630 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1632 * gst/gstmemchunk.c:
1633 * gst/gstmemchunk.h:
1634 * gst/gsttrashstack.c:
1635 * gst/gsttrashstack.h:
1636 out. get out. you're fired. to the Attic !
1638 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
1640 * gst/gstcaps.c: (gst_caps_intersect):
1641 fix signedness issues in a (hopefully) correct way
1642 * gst/gstelement.c: (gst_element_pads_activate):
1644 * gst/gstobject.c: (gst_object_set_parent):
1647 2005-10-17 Julien MOUTTE <julien@moutte.net>
1649 * gst/gstvalue.h: Fix prototypes.
1651 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1653 * docs/gst/gstreamer-sections.txt:
1654 * gst/gst.c: (gst_version_string):
1656 * gst/gstversion.h.in:
1657 * win32/common/libgstreamer.def:
1658 add gst_version_string ()
1660 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1664 * gst/gst.c: (init_post):
1665 * win32/common/config.h.in:
1667 * gst/gstcaps.c: (gst_caps_intersect):
1668 use gint64, the range could be bigger than a guint
1670 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1673 document potential problem in 2038
1675 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1677 * gst/gstcaps.c: (gst_caps_intersect):
1678 Fix guint j diving under 0
1680 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1683 * win32/common/config.h:
1684 * win32/common/config.h.in:
1685 check for process.h, declares getpid() on Windows
1687 include process.h if we have it
1688 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
1689 * gst/gstmemchunk.h:
1690 fix signedness issues
1691 * win32/common/libgstreamer.def:
1694 2005-10-16 Julien MOUTTE <julien@moutte.net>
1696 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
1697 fix. Because of unsigned ints, caps intersection was going nuts and
1698 trying to access structures with G_MAXUINT index. That fixes
1699 videotestsrc ! ffmpegcolorspace ! fakesink
1700 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
1703 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1706 use the gettext macro
1707 * gst/elements/gstelements.c:
1709 * gst/indexers/gstindexers.c:
1710 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
1711 * win32/common/config.h:
1713 * win32/common/config.h.in:
1714 add the template to generate config.h
1715 * win32/common/gstenumtypes.c:
1716 * win32/common/gstversion.h:
1719 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
1721 * gst/gst.c: (gst_version):
1722 * gst/gstversion.h.in:
1725 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1728 Oops, add missing closing bracket.
1730 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1733 use common m4's for argument checking
1735 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
1737 * docs/gst/gstreamer-sections.txt:
1739 Add GST_EVENT_TYPE_NAME() macro.
1741 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1744 * gst/gstpluginfeature.c:
1746 privatize more symbols
1748 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1751 add srcdir, builddir includes to GST_ALL_CFLAGS, since
1752 everything that uses GStreamer API should have the includes
1754 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1756 * docs/gst/gstreamer-sections.txt:
1757 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1759 give each value a _get_type, removes the DATA exports
1761 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1765 remove _gst_registry_auto_load, not used anymore
1766 * gst/gstbin.c: (gst_bin_get_type):
1768 * gst/gstelement.c: (gst_element_get_type):
1770 * gst/gstobject.c: (gst_object_get_type):
1772 * gst/gstpad.c: (gst_pad_get_type):
1774 make _get_type functions similar, fixes data export from library
1776 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1779 correctly make conditionals
1780 * gst/elements/Makefile.am:
1781 * gst/elements/gstelements.c:
1782 fix typo causing fdsrc not to build
1784 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1786 * testsuite/Makefile.am:
1787 * testsuite/bytestream/.cvsignore:
1788 * testsuite/bytestream/Makefile.am:
1789 * testsuite/bytestream/filepadsink.c:
1790 * testsuite/bytestream/gstbstest.c:
1791 * testsuite/bytestream/test1.c:
1792 * testsuite/bytestream/testfile1:
1793 * testsuite/caps/normalisation.c:
1794 * testsuite/caps/random.c: (main):
1795 * testsuite/cleanup/.cvsignore:
1796 * testsuite/cleanup/Makefile.am:
1797 * testsuite/cleanup/cleanup1.c:
1798 * testsuite/cleanup/cleanup2.c:
1799 * testsuite/cleanup/cleanup3.c:
1800 * testsuite/cleanup/cleanup4.c:
1801 * testsuite/cleanup/cleanup5.c:
1802 * testsuite/controller/interpolator.c:
1803 * testsuite/debug/printf_extension.c: (main):
1804 * testsuite/elements/tee.c:
1805 * testsuite/negotiation/.cvsignore:
1806 * testsuite/negotiation/Makefile.am:
1807 * testsuite/negotiation/pad_link.c:
1808 * testsuite/pad/Makefile.am:
1809 * testsuite/pad/chainnopull.c:
1810 * testsuite/pad/getnopush.c:
1811 * testsuite/pad/link.c:
1812 * testsuite/refcounting/sched.c: (create_pipeline):
1813 * testsuite/registry/Makefile.am:
1814 * testsuite/registry/gst-print-formats.c:
1815 * testsuite/schedulers/.cvsignore:
1816 * testsuite/schedulers/142183-2.c:
1817 * testsuite/schedulers/142183.c:
1818 * testsuite/schedulers/143777-2.c:
1819 * testsuite/schedulers/143777.c:
1820 * testsuite/schedulers/147713.c:
1821 * testsuite/schedulers/147819.c:
1822 * testsuite/schedulers/147894-2.c:
1823 * testsuite/schedulers/147894.c:
1824 * testsuite/schedulers/Makefile.am:
1825 * testsuite/schedulers/group_link.c:
1826 * testsuite/schedulers/queue_link.c:
1827 * testsuite/schedulers/relink.c:
1828 * testsuite/schedulers/unlink.c:
1829 * testsuite/schedulers/unref.c:
1830 * testsuite/schedulers/useless_iteration.c:
1831 * testsuite/states/bin.c:
1832 clean out/remove some stuff from the testsuite directories
1834 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1837 check for some headers
1838 * gst/elements/Makefile.am:
1839 * gst/elements/gstelements.c:
1840 don't compile fdsrc without sys/socket.h
1841 * gst/indexers/Makefile.am:
1842 * gst/indexers/gstindexers.c: (plugin_init):
1843 don't compile fileindex without mmap
1845 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
1852 * check/Makefile.am:
1853 * docs/gst/Makefile.am:
1854 * examples/helloworld/Makefile.am:
1856 * gst/base/Makefile.am:
1857 * gst/check/Makefile.am:
1858 * gst/elements/Makefile.am:
1859 * gst/indexers/Makefile.am:
1860 * gst/parse/Makefile.am:
1861 * libs/gst/controller/Makefile.am:
1862 * libs/gst/dataprotocol/Makefile.am:
1863 * examples/helloworld/helloworld.c: (event_loop):
1864 compile fixes, though it's not being compiled currently
1866 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1868 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
1869 Add some simple tests for the new taglist date API.
1871 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1873 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
1874 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
1875 Beautify 'last-message' output: print 'none' for buffer timestamps
1876 and durations if none is set; improve alignment with next messages.
1878 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
1880 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
1881 * gst/gstpluginfeature.h:
1882 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
1883 * gst/gstregistry.h:
1884 * docs/gst/gstreamer-sections.txt:
1885 Add new API to check plugin feature version requirements.
1887 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
1888 Some basic tests for the above.
1890 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1892 * gst/gststructure.c: (gst_structure_to_string):
1893 guard against NULL printf - happens when for example
1894 a message structure with GstClock gets serialized
1896 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1898 * gst/base/gstcollectpads.c: (gst_collectpads_event):
1899 Fix presumable copy'n'pasto.
1901 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1903 * gst/elements/gstfakesrc.h:
1904 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
1905 * gst/elements/gsttypefindelement.c:
1907 * gst/elements/gstfilesink.c: (gst_file_sink_render):
1908 I wonder if this could actually write +2GB files before
1910 2005-10-13 Andy Wingo <wingo@pobox.com>
1912 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
1913 Fix Timmeke Waymans bug.
1914 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
1915 string of the proper length to gst_caps_from_string. There's a
1916 potential for, before this fix, that this could cause someone
1917 connecting over the network to cause a segfault if the payload is
1920 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1922 * docs/design/draft-push-pull.txt:
1923 * docs/design/part-overview.txt:
1924 * docs/random/TODO-pre-0.9:
1925 * docs/random/old/ChangeLog.gstreamer:
1926 * gst/base/gstpushsrc.c:
1930 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1932 * gst/glib-compat.c: (gst_flags_get_first_value):
1933 * gst/glib-compat.h:
1934 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
1935 (gst_value_compare_double), (gst_value_serialize_flags):
1936 GLib 2.6 g_flags_get_first_value has a bug that triggers an
1939 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1942 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
1944 * tools/gst-launch.c: (event_loop):
1945 print out clock nicely
1947 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
1949 * docs/gst/gstreamer-sections.txt:
1951 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
1952 (gst_tag_list_get_date_index):
1953 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
1954 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
1956 2005-10-13 Julien MOUTTE <julien@moutte.net>
1958 * gst/base/gstcollectpads.c: (gst_collectpads_event),
1959 (gst_collectpads_chain):
1960 * gst/base/gstcollectpads.h: Handle newsegment and store informations
1963 2005-10-13 Stefan Kost <ensonic@users.sf.net>
1965 * docs/gst/gstreamer-sections.txt:
1968 * tools/gst-inspect.c: (main):
1969 * tools/gst-launch.c: (main):
1970 * tools/gst-run.c: (main):
1971 * tools/gst-xmlinspect.c: (main):
1972 fix GOption context leaks
1975 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
1979 * win32/common/config.h:
1981 * win32/vs6/grammar.dsp:
1982 * win32/vs6/libgstelements.dsp:
1983 * win32/vs6/libgstreamer.dsp:
1986 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1989 * gst/base/gstbasesrc.c: (gst_base_src_query):
1990 fix more guint64<->gdouble conversions
1992 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
1995 add win32-update target
1996 * win32/common/gstconfig.h:
1997 * win32/common/gstenumtypes.c:
1998 * win32/common/gstenumtypes.h:
1999 * win32/common/gstversion.h:
2000 add files that visual studio can't generate
2002 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
2005 add a win32-update target
2008 2005-10-12 Wim Taymans <wim@fluendo.com>
2010 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2011 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
2012 * gst/gstelement.c: (gst_element_commit_state),
2013 (gst_element_set_state):
2014 Protect flags with proper lock.
2015 unref provided cached clock in dispose.
2017 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2020 * gst/gstminiobject.h:
2022 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
2023 removed unused flags from miniobject
2026 2005-10-12 Wim Taymans <wim@fluendo.com>
2028 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
2029 (gst_file_sink_event), (gst_file_sink_render):
2030 Flush before seeking.
2032 2005-10-12 Andy Wingo <wingo@pobox.com>
2034 * gst/gst.c (gst_init_check): Ignore unknown options, as has
2035 always been the case.
2037 2005-10-12 Stefan Kost <ensonic@users.sf.net>
2039 * check/gst/gstbin.c: (GST_START_TEST):
2040 * docs/gst/gstreamer-sections.txt:
2041 * gst/base/gstbasesink.c: (gst_base_sink_init):
2042 * gst/base/gstbasesrc.c: (gst_base_src_init),
2043 (gst_base_src_get_range), (gst_base_src_check_get_range),
2044 (gst_base_src_start), (gst_base_src_stop):
2045 * gst/base/gstbasesrc.h:
2046 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
2047 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2048 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
2052 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
2054 * gst/gstelement.c: (gst_element_is_locked_state),
2055 (gst_element_set_locked_state), (gst_element_commit_state),
2056 (gst_element_set_state):
2058 * gst/gstindex.c: (gst_index_init):
2060 * gst/gstminiobject.h:
2061 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
2062 (gst_object_set_parent):
2064 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
2065 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
2067 * gst/gstpadtemplate.h:
2068 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
2069 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2070 * gst/gstpipeline.h:
2071 * gst/indexers/gstfileindex.c: (gst_file_index_load),
2072 (gst_file_index_commit):
2073 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
2074 * testsuite/pad/link.c: (gst_test_src_init),
2075 (gst_test_filter_init), (gst_test_sink_init):
2076 * testsuite/states/locked.c: (main):
2077 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
2078 moved bitshift from macro to enum definition
2080 2005-10-12 Wim Taymans <wim@fluendo.com>
2082 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
2083 * gst/elements/gstfilesink.c: (gst_file_sink_event),
2084 (gst_file_sink_render):
2085 Some more debugging info.
2087 2005-10-12 Wim Taymans <wim@fluendo.com>
2089 * docs/design/part-states.txt:
2090 * tools/gst-launch.c: (main):
2092 Revert non-intentional change.
2094 2005-10-12 Wim Taymans <wim@fluendo.com>
2096 * check/gst/gstbin.c: (GST_START_TEST):
2097 * check/gst/gstelement.c: (GST_START_TEST):
2098 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
2099 * check/gst/gstghostpad.c: (GST_START_TEST):
2100 * check/gst/gstpipeline.c: (GST_START_TEST):
2101 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2102 * check/states/sinks.c: (GST_START_TEST):
2103 * gst/elements/gsttypefindelement.c: (stop_typefinding):
2104 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2105 (gst_bin_remove_func), (gst_bin_get_state_func),
2106 (gst_bin_recalc_state), (gst_bin_change_state_func),
2108 * gst/gstelement.c: (gst_element_get_state_func),
2109 (gst_element_get_state), (gst_element_abort_state),
2110 (gst_element_commit_state), (gst_element_set_state),
2111 (gst_element_change_state), (gst_element_change_state_func):
2113 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
2114 (gst_pipeline_provide_clock_func):
2115 * gst/gstutils.c: (gst_element_link_pads_filtered):
2116 * tools/gst-launch.c: (main):
2117 * tools/gst-typefind.c: (main):
2118 Use GstClockTime in _get_state() instead of GTimeVal.
2119 Remove old code in gstutils.c
2121 2005-10-12 Andy Wingo <wingo@pobox.com>
2123 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
2126 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
2127 there is no task. Shouldn't affect any code, as nothing in our
2128 plugins checks this return value.
2129 (gst_pad_stop_task): Also take the stream lock if the pad has no
2132 2005-10-12 Wim Taymans <wim@fluendo.com>
2134 * gst/gstpad.c: (pre_activate), (post_activate),
2135 (gst_pad_activate_pull), (gst_pad_activate_push):
2136 Cleanup activation code. Reset old state if
2139 2005-10-12 Wim Taymans <wim@fluendo.com>
2141 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2142 (gst_base_sink_change_state):
2143 No need to prerol after receiving EOS.
2145 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2146 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
2147 * gst/elements/gstidentity.c: (gst_identity_event):
2148 Print events more verbosely.
2150 2005-10-12 Wim Taymans <wim@fluendo.com>
2152 * check/Makefile.am:
2153 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
2154 * check/states/sinks2.c:
2155 Moved sinks2 testcode in sinks check.
2157 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2158 (gst_bin_remove_func), (gst_bin_recalc_state),
2159 (gst_bin_change_state_func), (bin_bus_handler):
2160 Fix potential race condition when _get_state() iterated over an
2161 ASYNC element right before it posted a state completion.
2164 Do proper cast here.
2166 * gst/gstevent.c: (gst_event_new_newsegment),
2167 (gst_event_parse_newsegment):
2168 A playback rate of 0.0 is not allowed.
2170 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2172 * win32/common/config.h:
2173 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
2174 (_trewinddir), (_ttelldir), (_tseekdir):
2175 * win32/common/dirent.h:
2176 * win32/common/gtchar.h:
2177 * win32/common/libgstbase.def:
2178 * win32/common/libgstreamer.def:
2179 * win32/vs6/grammar.dsp:
2180 * win32/vs6/gst_inspect.dsp:
2181 * win32/vs6/gst_launch.dsp:
2182 * win32/vs6/gstreamer.dsw:
2183 * win32/vs6/libgstbase.dsp:
2184 * win32/vs6/libgstelements.dsp:
2185 * win32/vs6/libgstreamer.dsp:
2186 Visual Studio 6 project files, and a new common directory.
2189 2005-10-11 Wim Taymans <wim@fluendo.com>
2191 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2192 (gst_base_sink_do_sync), (gst_base_sink_query),
2193 (gst_base_sink_change_state):
2194 * gst/base/gstbasesink.h:
2195 Correctly parse newsegment info.
2197 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2199 * gst/gst.c: (init_post):
2200 split plugin paths correctly
2202 2005-10-11 Wim Taymans <wim@fluendo.com>
2204 * check/gst/gstevent.c: (GST_START_TEST):
2205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2206 (gst_base_sink_change_state):
2207 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
2208 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2209 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2210 * gst/gstevent.c: (gst_event_new_newsegment),
2211 (gst_event_parse_newsegment):
2213 Added extra flag to newsegment for future API freeze.
2214 Updated check and base elements.
2216 2005-10-11 Julien MOUTTE <julien@moutte.net>
2218 * gst/base/gstcollectpads.c: (gst_collectpads_init),
2219 (gst_collectpads_add_pad), (gst_collectpads_pop),
2220 (gst_collectpads_event), (gst_collectpads_chain):
2221 * gst/base/gstcollectpads.h: Handle EOS correctly.
2223 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2225 * tools/gst-launch.c: (main):
2226 more null protecting
2228 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2230 * gst/gst-i18n-lib.h:
2231 check for ENABLE_NLS, not GETTEXT_PACKAGE
2232 * gst/gstregistry.c: (gst_registry_add_plugin),
2233 (gst_registry_scan_path_level),
2234 (_gst_registry_remove_cache_plugins):
2235 protect possibly NULL strings
2236 * gst/parse/types.h:
2237 config.h already included before
2238 * tools/gst-inspect.c: (main):
2239 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
2240 check for ENABLE_NLS, not GETTEXT_PACKAGE
2241 * tools/gst-launch.c: (main):
2242 check for ENABLE_NLS, not GETTEXT_PACKAGE
2244 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2247 if we don't have glib, fail before testing 2.8
2248 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
2249 fix a leak, should fix plugins-base testsuite
2251 2005-10-11 Andy Wingo <wingo@pobox.com>
2253 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
2254 take the mode we're going to as an arg. Go head and set the mode
2255 and flushing flags now, so that if the activate function starts a
2256 thread all the flags will be in the right state.
2257 (post_activate): Renamed also. Just handle making sure streaming
2258 finishes for the deactivation case, and setting the deactivated
2260 (gst_pad_set_active): Complain loudly if deactivation fails.
2261 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
2262 (gst_pad_activate_push): Adapt to pre/post_activate changes,
2263 remove the terrible hack.
2265 2005-10-11 Wim Taymans <wim@fluendo.com>
2267 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2268 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
2269 (gst_bin_recalc_state), (gst_bin_change_state_func),
2270 (gst_bin_dispose), (bin_bus_handler):
2272 Prepare to make current EOS message queue more generic.
2275 * gst/gstevent.c: (gst_event_new_newsegment),
2276 (gst_event_parse_newsegment):
2278 Rename base to stream_time.
2283 2005-10-11 Wim Taymans <wim@fluendo.com>
2285 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
2286 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
2287 (gst_bin_change_state_func), (bin_bus_handler):
2289 Work on proper clock selection.
2291 2005-10-11 Edward Hervey <edward@fluendo.com>
2293 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
2294 * libs/gst/controller/gstcontroller.h:
2295 Added GList* version of _remove_properties() in order to be able to wrap
2298 2005-10-11 Wim Taymans <wim@fluendo.com>
2300 * docs/design/part-states.txt:
2303 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
2304 (gst_bin_change_state_func), (bin_bus_handler):
2305 Doc updates. Don't distribute the same clock over and over again.
2311 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
2312 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
2313 (gst_pad_send_event):
2315 Make probe emission threadsafe again.
2316 Register quarks and move _get_name() from utils.
2319 * gst/gstpipeline.c: (gst_pipeline_class_init),
2320 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2321 Only redistribute the clock of it changed.
2323 * gst/gstsystemclock.h:
2328 Moved the _flow_get_name() to GstPad.
2330 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2332 * check/gst-libs/gdp.c: (GST_START_TEST):
2333 * check/gst/gstcaps.c: (GST_START_TEST):
2334 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
2335 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
2336 (gst_dp_packet_from_caps):
2337 fix more valgrind warnings before turning up the heat
2339 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
2341 * gst/parse/grammar.y:
2342 some cleanup before the hacking
2344 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2346 * gst/base/gstbasesrc.c: (gst_base_src_query):
2348 * gst/gstutils.c: (gst_guint64_to_gdouble),
2349 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
2351 externalize, basesrc uses it
2352 obviously the implementation needs testing
2354 2005-10-10 Wim Taymans <wim@fluendo.com>
2356 * tests/sched/Makefile.am:
2357 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
2358 (make_pipeline3), (make_pipeline4), (print_elem), (main):
2360 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2362 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
2363 apparently converting from guint64 to double is not implemented
2366 2005-10-10 Wim Taymans <wim@fluendo.com>
2368 * check/Makefile.am:
2369 * check/generic/states.c: (GST_START_TEST):
2370 * check/gst/gstbin.c: (GST_START_TEST):
2371 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2372 * check/states/sinks.c: (GST_START_TEST):
2373 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
2375 Check fixes, use API as stated in design docs, remove hacks.
2377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2378 (gst_base_sink_change_state):
2379 Catch stopping our task while we're shutting down.
2381 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2382 (gst_bin_remove_func), (gst_bin_get_state_func),
2383 (gst_bin_recalc_state), (gst_bin_change_state_func),
2386 * gst/gstelement.c: (gst_element_init),
2387 (gst_element_get_state_func), (gst_element_abort_state),
2388 (gst_element_commit_state), (gst_element_lost_state),
2389 (gst_element_set_state), (gst_element_change_state),
2390 (gst_element_change_state_func):
2392 New state change algorithm (see #318116)
2394 * gst/gstpipeline.c: (gst_pipeline_class_init),
2395 (gst_pipeline_init), (gst_pipeline_set_property),
2396 (gst_pipeline_get_property), (do_pipeline_seek),
2397 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
2398 * gst/gstpipeline.h:
2399 Remove crude state change hacks.
2404 * tools/gst-launch.c: (main):
2405 Fixes for state change. Needs some more work to fully use the
2408 2005-10-10 Andy Wingo <wingo@pobox.com>
2410 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
2412 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
2413 this flag, but it's not even in GLib 2.6. Odd. Hack around the
2416 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2418 * gst/gstiterator.c: (gst_iterator_new):
2419 Fix my previous commit: GTypes passed to gst_iterator_new()
2420 can be fundamental types.
2422 2005-10-10 Wim Taymans <wim@fluendo.com>
2424 * gst/gstelement.c: (gst_element_iterate_pad_list),
2425 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
2426 (gst_element_iterate_sink_pads):
2427 Use src/sink pads lists for the respective iterators instead
2430 2005-10-10 Andy Wingo <wingo@pobox.com>
2432 Merged in popt removal + GOption addition patch from Ronald, bug
2435 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
2436 GstElement macros around, remove popt-related symbols, add goption
2439 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
2441 * docs/gst/Makefile.am:
2442 * docs/libs/Makefile.am: No POPT_CFLAGS.
2444 * examples/manual/Makefile.am:
2445 * docs/manual/basics-init.xml: Doc updates with an example.
2447 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
2448 (gst_init), (parse_one_option), (parse_goption_arg):
2449 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
2450 bit of hand merging and debugging to get the GOption stuff working
2453 * tests/Makefile.am:
2454 * tools/Makefile.am:
2455 * tools/gst-inspect.c: (main):
2456 * tools/gst-launch.c: (main):
2457 * tools/gst-run.c: (main):
2458 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
2460 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2462 * gst/gstiterator.c: (gst_iterator_new):
2463 Add assertions to make sure passed GType is likely to really
2464 be a GType (as the compiler won't catch it if the size and
2465 GType arguments get mixed up, see #318447).
2467 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
2469 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2471 * gst/gstbin.c: (gst_bin_iterate_sorted):
2472 Pass GType and size arguments to gst_iterator_new() in the right
2473 order (maybe we should make _new() take the GType as first argument
2474 just like _new_list()?) (#318447).
2477 2005-10-10 Wim Taymans <wim@fluendo.com>
2479 * gst/gstelement.c: (gst_element_finalize):
2480 And free the GStaticRecMutex too
2482 2005-10-10 Andy Wingo <wingo@pobox.com>
2484 * gst/gstelement.c (gst_element_init, gst_element_finalize):
2485 Allocate and free the mutex properly.
2487 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
2489 (GstElement): The state_lock is now recursive. Rebuild your
2490 plugins, suckers. Old macros adapted.
2492 * docs/gst/gstreamer-sections.txt: Doc updates.
2495 * gst/gstutils.c (g_static_rec_cond_timed_wait)
2496 (g_static_rec_cond_wait): Ported from state changes patch, while
2497 we wait on bug #317802 to be solved in a well-distributed GLib.
2499 * gst/gstelement.c (gst_element_change_state_func): Renamed from
2500 gst_element_change_state, variable name changes.
2501 (gst_element_change_state): Split out of gst_element_set_state in
2502 preparation for the state change merge. Doesn't pay attention to
2503 the 'transition' argument.
2504 (gst_element_set_state): Updates, hopefully purely cosmetic.
2505 (gst_element_sync_state_with_parent): MT-safety. Ported from the
2507 (gst_element_get_state_func): Renamed from get_state, cosmetic
2510 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2512 * gst/elements/gstelements.c:
2513 * win32/GStreamer.vcproj:
2515 * win32/dirent.c: (_tseekdir):
2516 * win32/gst-inspect.vcproj:
2517 * win32/gst-launch.vcproj:
2518 * win32/gstconfig.h:
2519 * win32/gstelements.vcproj:
2520 * win32/gstenumtypes.c: (gst_object_flags_get_type):
2521 * win32/gstreamer.def:
2523 updates for the win32 build (patch from Sebastien Moutte)
2525 2005-10-10 Andy Wingo <wingo@pobox.com>
2527 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
2528 gst_bin_get_state, cleaned up (but no logic changes).
2529 (bin_element_is_sink): Comment updates.
2530 (sink_iterator_filter): Remove needless cast.
2531 (gst_bin_iterate_sinks): Doc update.
2532 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
2533 cleaned up (but no logic changes).
2535 * check/states/sinks.c (test_src_sink): Cleanups from the state
2537 (test_livesrc_sink): Sync on the state.
2539 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
2540 the state change patch.
2542 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
2545 * check/gst/gstbin.c: Merge in some style fixes and additional
2546 checks from Wim's state change patch.
2548 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
2550 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2551 (gst_type_find_helper):
2552 Check whether we have the requested data already in our list of
2553 cached buffers before pulling a new buffer; also make the buffer
2554 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
2556 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
2561 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
2562 don't use long long, it's not portable. Replacing with
2563 gint64 seems to work; let's hope no skeletons fall out of the closet.
2565 2005-10-10 Andy Wingo <wingo@pobox.com>
2567 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
2569 2005-10-09 Stefan Kost <ensonic@users.sf.net>
2571 * docs/gst/gstreamer-sections.txt:
2576 * gst/gstmessage.c: (gst_message_parse_state_changed):
2579 more docs, fix compilation
2581 2005-10-09 Philippe Khalaf <burger@speedy.org>
2583 Fixed a few forgotten variables on previous commit
2585 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
2587 * gst/base/gsttypefindhelper.c: (helper_find_peek):
2588 Fix evil typefind crasher: getrange() might return a short
2589 buffer at the end of a file, but gst_type_find_peek() must
2590 either return the full data as requested or NULL, but
2591 never a short buffer.
2593 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
2595 * gst/gstmessage.c: (gst_message_new_state_changed),
2596 (gst_message_parse_state_changed):
2598 don't use "new", it's a C++ keyword
2600 2005-10-08 Wim Taymans <wim@fluendo.com>
2602 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
2603 * gst/gstelement.c: (gst_element_post_message):
2604 * gst/gstpipeline.c: (gst_pipeline_change_state):
2605 Small docs and debug updates.
2607 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2609 * docs/gst/gstreamer-sections.txt:
2610 * gst/gstelementfactory.c:
2615 2005-10-08 Wim Taymans <wim@fluendo.com>
2617 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
2618 (gst_bin_dispose), (bin_bus_handler):
2619 Fix typos, add comments.
2620 Clear EOS list when going to PAUSED from any direction and do it
2621 in a threadsafe way.
2622 Get base time in a threadsafe way too.
2623 Fix confusing debug in the change_state function.
2624 Various other small cleanups.
2626 * gst/gstelement.c: (gst_element_post_message):
2627 Fix very verbose bus posting code.
2629 * gst/gstpipeline.c: (gst_pipeline_class_init),
2630 (gst_pipeline_set_property), (gst_pipeline_get_property),
2631 (gst_pipeline_change_state):
2632 Small ARG_ -> PROP_ cleanup
2634 2005-10-08 Wim Taymans <wim@fluendo.com>
2636 * gst/gstbin.c: (is_eos), (bin_bus_handler):
2637 Do a less CPU demanding EOS check because we can.
2639 2005-10-08 Wim Taymans <wim@fluendo.com>
2641 * libs/gst/dataprotocol/dataprotocol.c:
2642 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2643 (gst_dp_packet_from_event):
2644 * libs/gst/dataprotocol/dataprotocol.h:
2645 * libs/gst/dataprotocol/dp-private.h:
2646 It's about time we bump the version number.
2647 Since event types don't fit in the guint8 anymore describing
2648 the payload type, make payload type 16 bits wide.
2650 2005-10-08 Wim Taymans <wim@fluendo.com>
2652 * docs/design/part-TODO.txt:
2653 * docs/design/part-clocks.txt:
2654 * docs/design/part-events.txt:
2655 * docs/design/part-gstbin.txt:
2656 * docs/design/part-gstelement.txt:
2657 * docs/design/part-gstpipeline.txt:
2658 * docs/design/part-live-source.txt:
2659 * docs/design/part-messages.txt:
2660 * docs/design/part-overview.txt:
2661 * docs/design/part-states.txt:
2664 2005-10-08 Wim Taymans <wim@fluendo.com>
2668 Fix event quark registration.
2669 Add some space between events so we can insert them in the
2672 2005-10-08 Wim Taymans <wim@fluendo.com>
2674 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2675 (gst_base_sink_handle_buffer):
2682 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
2683 (gst_queue_set_property), (gst_queue_get_property):
2685 Remove old unused properties.
2687 2005-10-08 Stefan Kost <ensonic@users.sf.net>
2688 * docs/gst/gstreamer-sections.txt:
2691 * gst/gstminiobject.c:
2692 * gst/gstminiobject.h:
2696 lots of new docs and doc fixes
2698 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2700 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
2702 * gst/gstregistry.c: (gst_registry_lookup_locked),
2703 (gst_registry_scan_path_level):
2704 * gst/gstregistryxml.c: (load_plugin):
2705 Only ever load one plugin for a given plugin basename.
2706 This ensures correct overriding of GST_PLUGIN_PATH over
2707 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
2708 system installed plugins.
2710 2005-10-08 Wim Taymans <wim@fluendo.com>
2712 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2713 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
2714 Prepare for doing QOS.
2716 2005-10-08 Wim Taymans <wim@fluendo.com>
2718 * check/gst/gstbin.c: (GST_START_TEST):
2719 * check/pipelines/cleanup.c: (GST_START_TEST):
2720 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2721 Allow new clock message too.
2723 2005-10-08 Wim Taymans <wim@fluendo.com>
2725 * gst/gstmessage.c: (gst_message_new_error),
2726 (gst_message_new_warning), (gst_message_new_tag),
2727 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2728 (gst_message_new_clock_lost), (gst_message_new_new_clock),
2729 (gst_message_new_segment_start), (gst_message_new_segment_done),
2730 (gst_message_parse_state_changed),
2731 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
2732 (gst_message_parse_new_clock):
2734 Also carry the clock in question.
2736 2005-10-08 Wim Taymans <wim@fluendo.com>
2738 * gst/gstmessage.c: (gst_message_new_custom),
2739 (gst_message_new_eos), (gst_message_new_error),
2740 (gst_message_new_warning), (gst_message_new_tag),
2741 (gst_message_new_state_changed), (gst_message_new_clock_provide),
2742 (gst_message_new_new_clock), (gst_message_new_segment_start),
2743 (gst_message_new_segment_done), (gst_message_parse_state_changed),
2744 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
2747 Added clock related messages.
2749 * gst/gstpipeline.c: (gst_pipeline_change_state):
2750 Post message when the clock changed.
2752 * tools/gst-launch.c: (event_loop):
2755 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
2757 * tools/gst-inspect.c: (print_element_properties_info):
2758 Can't pass NULL strings to g_print() on windows.
2760 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2763 * docs/gst/Makefile.am:
2764 * docs/gst/gstreamer-docs.sgml:
2765 * docs/gst/running.xml:
2766 * docs/version.entities.in:
2767 add a chapter on running GStreamer.
2768 document GST_DEBUG and GST_PLUGIN* env vars
2770 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2775 remove PLUGINS_BUILDDIR stuff
2776 * gst/gst.c: (init_post):
2777 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
2779 remove, it was condescending and not needed
2781 2005-10-08 Wim Taymans <wim@fluendo.com>
2783 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
2784 (gst_base_sink_handle_object), (gst_base_sink_event),
2785 (gst_base_sink_wait), (gst_base_sink_handle_event),
2786 (gst_base_sink_change_state):
2787 * gst/base/gstbasesink.h:
2788 Repost EOS message while going to PLAYING if still EOS.
2789 Make sure that when receiving a FLUSH_START we don't attempt
2790 to sync on the clock anymore.
2792 2005-10-08 Wim Taymans <wim@fluendo.com>
2794 * tools/gst-launch.c: (event_loop):
2795 Better message printout.
2797 2005-10-08 Wim Taymans <wim@fluendo.com>
2799 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
2800 (gst_bin_child_proxy_get_children_count):
2801 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
2802 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
2803 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
2804 (gst_child_proxy_set_valist):
2805 * gst/parse/grammar.y:
2806 Make ChildProxy threadsafe and fix mem leaks.
2808 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2810 * gst/gst.c: (init_post):
2811 debug the GST_PLUGIN_ env vars
2813 2005-10-08 Wim Taymans <wim@fluendo.com>
2815 * check/gst/gstbin.c: (GST_START_TEST):
2816 * check/gst/gstmessage.c: (GST_START_TEST):
2817 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
2818 * gst/gstelement.c: (gst_element_commit_state),
2819 (gst_element_lost_state):
2820 * gst/gstmessage.c: (gst_message_new_state_changed),
2821 (gst_message_parse_state_changed):
2823 * tools/gst-launch.c: (event_loop):
2824 Added extra field to STATE_CHANGE message with the pending
2825 state, which will be different from the new state soon.
2827 2005-10-08 Wim Taymans <wim@fluendo.com>
2829 * gst/gstbus.c: (gst_bus_pop):
2831 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2832 Small cleanups and doc updates.
2834 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
2836 * gst/gst.c: (init_pre):
2837 * gst/gstbin.c: (gst_bin_add_func):
2838 log distributing clocks and base time
2839 * gst/gstregistry.c: (gst_registry_add_plugin),
2840 (gst_registry_scan_path_level), (gst_registry_scan_path):
2841 clean up the debugging output a little
2842 * gst/gstutils.c: (gst_element_state_get_name):
2843 warn about a memleak (I've actually seen this be used, though
2844 it was probably a bug)
2846 2005-10-07 Wim Taymans <wim@fluendo.com>
2848 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2849 (gst_base_src_init), (gst_base_src_default_newsegment),
2850 (gst_base_src_newsegment), (gst_base_src_do_seek),
2851 (gst_base_src_loop), (gst_base_src_start):
2852 * gst/base/gstbasesrc.h:
2853 Make the newsegment event customizable by subclasses.
2855 2005-10-07 Wim Taymans <wim@fluendo.com>
2857 * gst/gstevent.c: (gst_event_new_buffersize),
2858 (gst_event_parse_buffersize):
2860 New event for future idea.
2862 2005-10-07 Andy Wingo <wingo@pobox.com>
2864 * gst/gstelement.c (gst_element_post_message): Doc update.
2866 * docs/gst/gstreamer-sections.txt: Update.
2868 * gst/gstmessage.c (gst_message_new_application): Made into a
2869 function like honest API calls.
2870 (gst_message_new_element): New message type.
2872 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
2874 * check/elements/fakesrc.c (test_no_preroll): New check, checks
2875 that setting a live fakesrc to PAUSED returns NO_PREROLL both
2878 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
2879 NO_PREROLL from gst_element_change_state to fall through.
2881 2005-10-07 Wim Taymans <wim@fluendo.com>
2883 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
2884 (gst_ghost_pad_do_activate_push):
2885 Activating a ghostpad with no internal pad in push mode
2888 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
2891 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
2892 Fixes compilation on Windows.
2894 2005-10-07 Michael Smith <msmith@fluendo.com>
2896 * tools/gst-inspect.c:
2897 Print out feature and plugin count at the end when printing out
2900 2005-10-04 Michael Smith <msmith@fluendo.com>
2902 * gst/gsterror.c: (_gst_stream_errors_init):
2903 Add another error string used in a few existing plugins.
2906 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
2907 * tools/gst-inspect.c: (print_element_info):
2908 When a feature disappears from a plugin (and the feature exists in
2909 the cached registry file), things went horribly wrong. This isn't a
2910 complete fix, we should actually be removing the 'missing' features
2911 from the features list when we load the actual plugin. That's not
2914 2005-10-04 Johan Dahlin <johan@gnome.org>
2916 * check/gst/gstiterator.c: (GST_START_TEST):
2917 * gst/gstbin.c: (gst_bin_iterate_elements),
2918 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
2919 * gst/gstelement.c: (gst_element_iterate_pads):
2920 * gst/gstformat.c: (gst_format_iterate_definitions):
2921 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
2922 (gst_iterator_new_list), (gst_iterator_filter):
2923 * gst/gstiterator.h:
2924 * gst/gstquery.c: (gst_query_type_iterate_definitions):
2925 Add a GType to GstIterator, update callsites and tests.
2927 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2929 * gst/gstpad.c: (gst_pad_event_default_dispatch):
2930 give events a chance to be handled by event probes when the pad
2933 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2935 * gst/gstevent.c: (gst_event_type_get_name),
2936 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
2938 add string representations for event types
2940 2005-10-06 Wim Taymans <wim@fluendo.com>
2942 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
2943 Don't use NULL pointers.
2945 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2947 * gst/gst_private.h:
2951 * gst/gstpluginfeature.c:
2952 widen the debug category in output to fit the biggest one we have
2953 add a bus category and use it
2954 play with the colors
2955 fix up some categories
2957 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
2959 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
2960 add push activation of sink ghost pads.
2961 Andye, please verify
2963 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2965 * gst/gstutils.c: (gst_element_link_pads):
2966 fix a bug in the case where neither element has a pad
2967 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2968 add a test for that case
2970 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
2972 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
2973 emit have-data before checking for peers. This allows
2974 for probe handlers to connect elements. This helps autopluggers.
2975 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
2977 add six checks, linked/unlinked with no/true/false probe
2979 2005-10-04 Wim Taymans <wim@fluendo.com>
2981 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
2982 (gst_fake_sink_event), (gst_fake_sink_preroll),
2983 (gst_fake_sink_render), (gst_fake_sink_change_state):
2984 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
2985 (gst_fake_src_get_property), (gst_fake_src_create),
2986 (gst_fake_src_stop):
2987 * gst/elements/gstidentity.c: (gst_identity_stop):
2988 Protect last_message with lock.
2990 2005-10-04 Edward Hervey <edward@fluendo.com>
2993 Added precision in the comments for GST_FORMAT_DEFAULT
2995 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
2997 * tools/gst-launch.c: (main):
2998 Don't try to run erroneous pipelines.
3000 2005-10-04 Julien MOUTTE <julien@moutte.net>
3002 * gst/gstbus.c: We don't need this header.
3004 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3009 === release 0.9.3 ===
3011 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
3015 Releasing 0.9.3, "Unregistered"
3017 2005-10-03 Andy Wingo <wingo@pobox.com>
3019 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
3020 whereby calling a pad's activatepush() function can start a thread
3021 that starts to push or pull before the pad gets the FLUSHING flag
3022 unset. Hack around it by holding the stream lock until the flag is
3023 set. Need to replace this with a proper solution. Together with
3024 the ghost pad fixes, this fixes mp3 playing/tagreading.
3026 * docs/design/part-gstghostpad.txt: Add a note about activation of
3027 proxy pads outside of ghost pads.
3029 * gst/gstghostpad.c: Implement the ghost pad activation design.
3031 2005-10-02 Andy Wingo <wingo@pobox.com>
3033 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
3034 It is volatile, after all.
3036 * docs/design/part-gstghostpad.txt: Flesh out activation with
3039 * gst/base/gstbasesrc.c (gst_base_src_init): Use
3042 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
3045 Fix (unused) AM_CONDITIONAL tests.
3047 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
3049 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3051 * gst/gstutils.c: (gst_pad_query_convert):
3052 Add assertion that makes sure src_val is >=0, just like
3053 gst_query_new_convert() has. (#315895)
3055 2005-09-30 Edward Hervey <edward@fluendo.com>
3057 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
3058 Let's not iterate pads we're not interested in, it avoids getting
3059 sky-high refcounts on sinkpad.
3061 2005-09-30 Wim Taymans <wim@fluendo.com>
3063 * gst/gstelement.c: (gst_element_set_state),
3064 (gst_element_change_state):
3065 Small tweak, element in ASYNC remains ASYNC.
3067 2005-09-30 Wim Taymans <wim@fluendo.com>
3069 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3070 Only error is an error.
3072 * gst/gstbin.c: (gst_bin_change_state):
3075 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
3076 Also call pad_block in pad alloc.
3078 * gst/gstutils.c: (gst_flow_get_name):
3081 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3083 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3084 (gst_base_src_get_range):
3085 Fix documentation typos. Add some more debug info.
3087 2005-09-29 David Schleef <ds@schleef.org>
3089 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
3090 more end-user friendly.
3091 * tools/gst-inspect.c: (main): Check if command-line argument is
3092 a file and attempt to load that file as a plugin.
3094 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3096 * check/gst/gstbin.c:
3097 * check/states/sinks.c:
3098 fix tests for the new warning
3099 * check/gst/gstpipeline.c:
3100 add a test for pipeline and bus interaction
3102 elements should be NULL if they get disposed; add a warning if not
3104 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3107 for 2.6 refcounting, make debug log more correct by printing
3108 the actual refcounts at the time of swap (Wim)
3110 2005-09-29 Andy Wingo <wingo@pobox.com>
3112 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
3113 removes signal watches previously added via
3114 gst_bus_add_signal_watch.
3115 (gst_bus_add_signal_watch): Don't return the source id, just store
3116 it on the bus if there wasn't an id already.
3118 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
3119 add_signal_watch and remove_signal_watch.
3121 2005-09-29 Edward Hervey <edward@fluendo.com>
3123 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
3124 Better if we actually iterate the list :)
3126 2005-09-29 Wim Taymans <wim@fluendo.com>
3128 * check/gst/gstbin.c: (GST_START_TEST):
3129 Change for new bus API.
3131 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
3132 (send_messages), (GST_START_TEST), (gstbus_suite):
3133 Change for new bus signal API.
3135 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
3136 (gst_bus_source_prepare), (gst_bus_source_check),
3137 (gst_bus_create_watch), (gst_bus_add_watch_full),
3138 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
3139 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
3141 Remove support for multiple GSources operating on different
3142 message types as it is too complex and unneeded when using
3144 Added support for receiving signals from the bus.
3146 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
3148 * docs/libs/tmpl/gstdataprotocol.sgml:
3149 * docs/manual/advanced-dataaccess.xml:
3150 * gst/elements/gstcapsfilter.c:
3152 rename filter-caps to caps property
3154 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3156 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3157 More robust fraction string parsing.
3159 * docs/pwg/appendix-porting.xml:
3160 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
3162 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
3164 * gst/gstcaps.c: (gst_caps_do_simplify):
3165 Thou shalt not free a structure and then continue using it
3166 in the next loop iteration.
3168 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
3170 Add test case for caps simplification.
3172 2005-09-29 Wim Taymans <wim@fluendo.com>
3174 * check/gst/gstbin.c: (GST_START_TEST):
3177 2005-09-29 Wim Taymans <wim@fluendo.com>
3179 * check/gst/gstbin.c: (GST_START_TEST):
3182 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3183 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3184 (find_element), (gst_bin_sort_iterator_next),
3185 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3186 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3187 (gst_bin_change_state), (gst_bin_dispose):
3188 A bin does not have a bus, it gets the bus from the parent.
3190 * gst/gstelement.c: (gst_element_requires_clock),
3191 (gst_element_provides_clock), (gst_element_is_indexable),
3192 (gst_element_is_locked_state), (gst_element_change_state),
3193 (gst_element_set_bus_func):
3196 * gst/gstpipeline.c: (gst_pipeline_class_init),
3197 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
3198 The pipeline provides a bus.
3200 2005-09-28 Johan Dahlin <johan@gnome.org>
3202 * gst/gstmessage.c (gst_message_parse_state_changed): Use
3203 gst_structure_get_enum instead of gst_structure_get_int
3205 * gst/gststructure.c (gst_structure_get_enum): Impl.
3207 * gst/gststructure.h (gst_structure_get_enum): Add
3209 * docs/gst/gstreamer-sections.txt: Ditto
3211 * gst/gstmessage.c (gst_message_new_state_changed): Use
3212 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
3213 which does introspection.
3214 Reviewed by Christian Schaller
3216 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3218 * gst/gstinfo.c: (gst_debug_log_default):
3219 don't do dummy g_strdup()s
3220 * libs/gst/controller/gstcontroller.c:
3221 (on_object_controlled_property_changed),
3222 (gst_controlled_property_new), (gst_controller_new_valist),
3223 (gst_controller_new_list),
3224 (gst_controller_remove_properties_valist), (gst_controller_set),
3225 (gst_controller_get), (gst_controller_sync_values),
3226 (gst_controller_get_value_array), (_gst_controller_class_init),
3227 (gst_controller_get_type):
3228 * libs/gst/controller/gstcontroller.h:
3229 * libs/gst/controller/gstinterpolation.c:
3230 (gst_controlled_property_find_timed_value_node):
3231 convert // to /**/ comments
3233 2005-09-28 Wim Taymans <wim@fluendo.com>
3235 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
3236 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
3237 (gst_bus_sync_signal_handler):
3239 Added async-message and sync-message signals to the bus.
3240 Added helper BusFunc to emit signals for all posted messages.
3242 * gst/gstmessage.c: (gst_message_type_get_name),
3243 (gst_message_type_to_quark), (gst_message_get_type):
3245 Register quarks for message names.
3247 2005-09-28 Stefan Kost <ensonic@users.sf.net>
3249 * docs/libs/gstreamer-libs-sections.txt:
3250 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
3251 (gst_controller_new_list):
3252 * libs/gst/controller/gstcontroller.h:
3253 added another constructor for language bindings
3255 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
3257 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
3261 * gst/gstinfo.c: (_gst_debug_init):
3262 slightly more readable color for refcount debugging
3264 2005-09-28 Wim Taymans <wim@fluendo.com>
3266 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
3267 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
3268 (find_element), (gst_bin_sort_iterator_next),
3269 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3270 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3271 (gst_bin_change_state), (gst_bin_dispose):
3272 Small doc fixes. get_clock -> provide_clock.
3274 * gst/gstelement.c: (gst_element_class_init),
3275 (gst_element_provides_clock), (gst_element_provide_clock),
3276 (gst_element_get_clock), (gst_element_commit_state),
3277 (gst_element_lost_state):
3279 Make get/set_clock() symetric. Add provide_clock vmethod since
3280 that is actually what this function does.
3282 * gst/gstpipeline.c: (gst_pipeline_class_init),
3283 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
3284 (gst_pipeline_get_clock):
3285 get_clock -> provide_clock.
3287 2005-09-28 Andy Wingo <wingo@pobox.com>
3289 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
3290 lieu of real docs...
3292 * gst/elements/gstfdsrc.c: Cleaned up a bit.
3294 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
3296 * gst/elements/gstcapsfilter.c:
3297 * gst/elements/gstfakesink.c:
3298 * gst/elements/gstfakesrc.c:
3299 * gst/elements/gstfdsink.c:
3300 * gst/elements/gstfdsrc.c:
3301 * gst/elements/gstfilesink.c:
3302 * gst/elements/gstfilesrc.c:
3303 * gst/elements/gstidentity.c:
3304 * gst/elements/gsttee.c:
3305 * gst/elements/gsttypefindelement.c:
3306 Make element details static.
3308 2005-09-28 Wim Taymans <wim@fluendo.com>
3310 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3311 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3312 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3313 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3314 (gst_bin_change_state), (gst_bin_dispose):
3315 Some documentation updates.
3316 Clean up dispose handlers.
3318 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
3319 * gst/gstpad.c: (gst_pad_dispose):
3320 Clean up dispose handler.
3322 * gst/gstpipeline.c: (gst_pipeline_change_state):
3323 Removed spurious UNLOCK.
3325 2005-09-27 Stefan Kost <ensonic@users.sf.net>
3327 * docs/gst/gstreamer-sections.txt:
3328 * gst/base/gstbasesrc.h:
3333 * gst/gstpipeline.c:
3334 * gst/gstpipeline.h:
3337 added two new functions to the docs
3338 documents all undocumented GstXXXFlags
3339 completed some incomplete docs
3341 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
3343 * gst/gstbin.c: (gst_bin_dispose):
3344 * gst/gstelement.c: (gst_element_dispose):
3345 remove now useless and leaky resurrection code in dispose
3346 * gst/base/gstbasesrc.c: (gst_base_src_init):
3347 * gst/gstelementfactory.c: (gst_element_factory_create):
3348 * gst/gstobject.c: (gst_object_set_parent):
3351 2005-09-27 Wim Taymans <wim@fluendo.com>
3353 * docs/design/part-TODO.txt:
3356 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3357 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3358 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3359 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3360 (gst_bin_change_state):
3362 Remove element variable, we keep element info in the iterator now.
3364 2005-09-27 Andy Wingo <wingo@pobox.com>
3366 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
3369 2005-09-27 Wim Taymans <wim@fluendo.com>
3371 * check/gst/gstbin.c: (GST_START_TEST):
3372 Enable check that works now.
3374 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
3375 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
3376 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
3377 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
3378 (gst_bin_change_state):
3380 Redid the state change algorithm using a topological sort algo.
3381 Handles all cases correctly.
3382 Exposed iterator for state change order.
3385 Temp storage for state changes. Need to get rid of this soon.
3387 2005-09-27 Wim Taymans <wim@fluendo.com>
3389 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
3390 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
3391 (link_fold_func), (gst_pad_proxy_setcaps):
3392 Leak fixes, the fold functions need to unref the passed object and
3393 _get_parent_*() returns ref to parent.
3395 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3397 * check/gst/gstbuffer.c: (test_make_writable):
3398 Plug leak in test case and fix 'make check-valgrind'
3400 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3402 * gst/gstbuffer.c: (gst_subbuffer_init):
3403 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
3404 works correctly in all circumstances (we could have just copied
3405 the parent buffer's readonly flag, but conceptually it seems
3406 cleaner to mark all subbuffers as read-only). (based on patch
3407 by Alessandro Decina, #314710).
3409 * check/gst/gstbuffer.c: (create_read_only_buffer),
3410 (test_make_writable), (test_subbuffer_make_writable),
3412 Add some tests for gst_buffer_make_writable().
3414 2005-09-27 Wim Taymans <wim@fluendo.com>
3416 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
3417 use gst_object_has_ancestor().
3419 * gst/gstobject.c: (gst_object_has_ancestor):
3421 gst_object_has_ancestor() copied from gstbin.c as it is a
3424 * tests/instantiate/create.c: (create_all_elements):
3425 * tests/lat.c: (handoff_src), (handoff_sink):
3426 * tests/sched/runxml.c: (main):
3427 * tests/seeking/seeking1.c: (main):
3428 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3430 Fix compilation of some tests.
3432 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
3435 Remove comment. GST_TYPE_G_ERROR is here to stay,
3436 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
3439 2005-09-26 Wim Taymans <wim@fluendo.com>
3441 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3442 Added check that shows error in state change order.
3444 2005-09-26 Wim Taymans <wim@fluendo.com>
3446 * gst/gstbin.c: (gst_bin_change_state):
3447 Make state change function use 3 queues again, we were
3448 adding elements in the wrong order.
3450 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
3453 * gst/gstpad.c: (gst_pad_dispose):
3454 Added some debug info first.
3456 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
3458 * docs/design/draft-push-pull.txt:
3459 * docs/design/part-events.txt:
3460 * docs/design/part-overview.txt:
3461 * docs/design/part-scheduling.txt:
3462 Replace all _pull_region() with _pull_range()
3464 2005-09-26 Andy Wingo <wingo@pobox.com>
3466 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
3468 * check/gst-libs/controller.c: Update for controller api change.
3471 * tests/Makefile.am:
3472 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
3473 over by GLib bug 118439.
3475 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
3476 routines to a function.
3478 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
3480 * libs/gst/controller/gsthelper.c:
3481 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
3482 (gst_object_sync_values): Renamed from sink_values. Ugh.
3484 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
3486 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
3487 Renamed from controller_key, as it is exported.
3489 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
3491 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
3496 * gst/gstpadtemplate.h:
3499 * gst/gstqueryutils.c:
3500 * gst/gstqueryutils.h:
3501 remove queryutils headers after moving the two used functions
3502 to gstquery. also fixes build problem for gstsiddec
3504 2005-09-26 Michael Smith <msmith@fluendo.com>
3506 * tools/gst-launch.1.in:
3507 Correct documentation in manpage of debug syntax
3509 2005-09-26 Wim Taymans <wim@fluendo.com>
3511 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3512 (gst_base_src_is_seekable), (gst_base_src_change_state):
3513 Some more debugging info.
3515 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3517 * docs/gst/gstreamer-sections.txt:
3518 * gst/base/gstbasetransform.h:
3522 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3524 * docs/gst/.cvsignore:
3525 * docs/gst/tmpl/.cvsignore:
3526 * docs/gst/tmpl/gstpipeline.sgml:
3527 * docs/gst/tmpl/gstplugin.sgml:
3528 * gst/gstpipeline.c:
3531 inlined the last two docs files
3532 removed the tmpl directory from cvs (no more conflicts here!)
3534 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3536 * docs/gst/gstreamer-sections.txt:
3537 * docs/gst/tmpl/.cvsignore:
3538 * docs/gst/tmpl/gstpad.sgml:
3539 * docs/gst/tmpl/gstpadtemplate.sgml:
3541 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
3542 (gst_pad_finalize), (gst_pad_set_pad_template):
3544 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
3545 (gst_pad_template_class_init), (gst_pad_template_init),
3546 (gst_pad_template_dispose), (name_is_valid),
3547 (gst_static_pad_template_get), (gst_pad_template_new),
3548 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
3549 (gst_pad_template_pad_created):
3550 * gst/gstpadtemplate.h:
3551 inlined two more docs
3552 factored gstpadtemplate out of gstpad
3554 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
3556 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3557 (test_children_state_change_order_semi_sink):
3558 Fix test case: we can't rely on a fixed state change order when
3559 going from READY => PAUSED because the sink might commit its
3560 new state first when the first buffer created by the source
3561 reaches the sink before the source has finished its change state.
3562 (Test case still fails at times, see #316856, comment 5 onwards)
3564 2005-09-24 Wim Taymans <wim@fluendo.com>
3566 * docs/design/part-events.txt:
3567 * docs/design/part-gstbus.txt:
3568 * docs/design/part-gstpipeline.txt:
3569 * docs/design/part-messages.txt:
3570 * docs/design/part-overview.txt:
3571 * docs/design/part-segments.txt:
3578 * gst/gstiterator.c:
3579 Various documentation updates.
3581 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
3584 Well, that's embarassing. Luckily we weren't using
3585 GST_CLOCK_DIFF anywhere.
3587 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3589 * common/gtk-doc.mak:
3590 don't fail on building XML, FC4 slave shows a bunch of doc
3591 missing bits that I don't get
3593 * gst/gstpipeline.c:
3594 * gst/gststructure.c:
3597 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3599 * docs/design/part-gstbin.txt:
3600 * docs/design/part-gstbus.txt:
3602 Add blurb about how the bus goes into flushing mode and
3603 drops all messages when its bin goes from READY into NULL
3606 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3608 * docs/gst/gstreamer-sections.txt:
3609 * gst/gststructure.c: (gst_structure_get_clock_time):
3610 * gst/gststructure.h:
3611 add a method to get a GstClockTime out of a structure
3613 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
3615 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
3616 (test_children_state_change_order_semi_sink), (gst_bin_suite):
3617 Added test to check state change order in bins (can still be made
3618 to fail here under heavy disk load; bails out with 'Push on pad
3619 fakesink:sink0, but it was not activated in push mode').
3621 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
3622 Fix state change order when there is only a semi sink (#316856)
3624 * gst/gstbus.c: (gst_bus_class_init):
3625 Use _class_peek_parent(), not _class_ref(); fix docs to say
3626 'default main context' instead of 'mainloop' where that is
3629 * gst/gstelement.c: (gst_element_commit_state),
3630 (gst_element_set_state):
3631 Fix typos in debug messages
3633 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3636 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
3637 * gst/gstpluginfeature.c:
3640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3641 change an assert into an error until it gets fixed properly
3643 2005-09-23 Stefan Kost <ensonic@users.sf.net>
3645 * docs/gst/gstreamer-sections.txt:
3646 * docs/gst/tmpl/.cvsignore:
3647 * docs/gst/tmpl/gstelement.sgml:
3648 * docs/gst/tmpl/gstinfo.sgml:
3649 * docs/gst/tmpl/gstobject.sgml:
3654 * gst/gstobject.c: (gst_object_class_init):
3656 inlined 3 more biiiig doc files and added some missing docs on the fly
3658 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
3660 * check/gst/.cvsignore:
3661 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
3662 * gst/gstregistryxml.c: (load_plugin),
3663 (gst_registry_xml_save_plugin):
3664 put back source in registry. add checks for find_plugin.
3665 * testsuite/states/bin.c: (assert_state), (empty_bin),
3666 (test_adding_one_element), (main):
3667 * testsuite/states/locked.c: (main):
3668 some compile/run fixes
3670 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
3672 * check/gst/gstvalue.c: (GST_START_TEST):
3673 fix leaks in the test itself
3675 2005-09-22 Wim Taymans <wim@fluendo.com>
3677 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3678 (gst_base_sink_send_event), (gst_base_sink_peer_query),
3679 (gst_base_sink_query):
3680 Prepare for more accurate position reporting and query
3683 * gst/gstelement.c: (gst_element_send_event),
3684 (gst_element_set_state):
3687 2005-09-22 Wim Taymans <wim@fluendo.com>
3689 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
3690 (gst_query_parse_segment):
3693 Add segment query for future use.
3695 2005-09-22 Wim Taymans <wim@fluendo.com>
3697 * gst/gstbin.c: (gst_bin_add_func):
3698 Some more debug info.
3700 * gst/gstelement.c: (gst_element_send_event):
3704 Don't know how flags got broken.
3709 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3711 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
3712 Add simplistic test suite for GST_TYPE_DATE serialisation and
3715 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
3717 * docs/gst/gstreamer-sections.txt:
3718 * gst/gststructure.c: (gst_structure_set_valist),
3719 (gst_structure_get_date):
3720 * gst/gststructure.h:
3721 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
3722 (gst_date_copy), (gst_value_compare_date),
3723 (gst_value_serialize_date), (gst_value_deserialize_date),
3724 (gst_value_transform_date_string),
3725 (gst_value_transform_string_date), (_gst_value_initialize):
3727 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
3728 bunch of utility functions along with a hack that checks that
3729 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
3730 is required. Part of the grand scheme in #170777.
3732 2005-09-22 Andy Wingo <wingo@pobox.com>
3734 * gst/gstconfig.h.in: Psych out gtk-doc.
3736 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
3738 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
3740 * tools/gst-inspect.c (print_element_list): Plug some
3741 inconsequential leaks.
3743 * gst/gstregistry.c (gst_registry_get_default): Doc.
3745 * check/gst/gstplugin.c:
3746 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
3747 * gst/gstelementfactory.c (gst_element_factory_create):
3748 * gst/gstindexfactory.c (gst_index_factory_create): Update for
3751 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
3752 (gst_plugin_feature_load): Doc, don't eat refs.
3754 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
3755 (gst_plugin_list_free): Doc.
3756 (gst_plugin_load_file): Doc updates.
3758 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
3759 accessors returning refcounted objects, return a ref.
3761 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
3762 accessor for caps. IDEMPOTENCE. Oh yes.
3764 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
3766 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3768 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3769 (_gst_debug_register_funcptr):
3770 Add mutex to serialise access to the hash table with
3771 the function pointer => function name string mapping;
3772 make that hash table static scope (#316809).
3774 * gst/registries/.cvsignore:
3775 Remove left-over file.
3777 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3779 * docs/pwg/appendix-porting.xml:
3780 And something about newsegment events and caps-on-buffers to
3781 the porting guide (feel free to improve).
3783 2005-09-21 Andy Wingo <wingo@pobox.com>
3785 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
3786 data and event probes on the same pad.
3787 (test_buffer_probe_once): Test that removing probes from within
3788 the probe functions works.
3790 2005-09-21 Andy Wingo <wingo@pobox.com>
3792 * check/gst/gstutils.c: New file.
3793 (test_buffer_probe_n_times): A simple buffer probe test. More to
3796 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
3797 have-data::buffer, not have-data.
3798 (gst_pad_add_event_probe): Likewise for have-data::event.
3799 (gst_pad_add_data_probe): More docs. The part about 'resolving the
3800 peer' isn't quite right yet though.
3801 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
3802 (gst_pad_remove_data_probe): Change to take the guint handler_id
3803 as their arg, not the function+data, which is more glib-like.
3805 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
3806 the signal emission to indicate if the data is a buffer or an
3808 (gst_pad_get_type): Initialize buffer and event quarks.
3809 (gst_pad_class_init): have-data is now a detailed signal, yes it
3812 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
3814 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3815 * gst/gstutils.c: (gst_util_set_value_from_string),
3816 (gst_util_set_object_arg):
3817 Don't put functional code in g_return_if_fail() or
3818 g_return_val_if_fail() statements, otherwise things will
3819 break when G_DISABLE_CHECKS is defined during compilation.
3821 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3823 * docs/gst/tmpl/.cvsignore:
3824 * docs/gst/tmpl/gstvalue.sgml:
3827 inlied another one and added some obvious docs
3829 2005-09-21 Wim Taymans <wim@fluendo.com>
3831 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
3832 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
3833 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
3834 (gst_fdsrc_get_property), (gst_fdsrc_create):
3835 * gst/elements/gstfdsrc.h:
3836 Properly implement fdsrc. Removed signal and timeout,
3837 better implemented somewhere else.
3839 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3841 * docs/gst/tmpl/.cvsignore:
3842 * docs/gst/tmpl/gstimplementsinterface.sgml:
3843 * gst/gstinterface.c:
3846 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3848 * docs/gst/gstreamer-sections.txt:
3849 * docs/gst/tmpl/.cvsignore:
3850 * docs/gst/tmpl/gstenumtypes.sgml:
3851 remove obsolete doc file
3853 2005-09-21 David Schleef <ds@schleef.org>
3855 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
3856 little beer, fix a little leak.
3858 2005-09-21 Stefan Kost <ensonic@users.sf.net>
3860 * docs/gst/gstreamer-docs.sgml:
3861 * docs/gst/gstreamer-sections.txt:
3862 * docs/gst/tmpl/.cvsignore:
3867 * gst/gstindex.c: (gst_index_class_init):
3869 * gst/gstindexfactory.c: (gst_index_factory_get_type),
3870 (gst_index_factory_class_init), (gst_index_factory_init),
3871 (gst_index_factory_finalize), (gst_index_factory_new),
3872 (gst_index_factory_destroy), (gst_index_factory_find),
3873 (gst_index_factory_create), (gst_index_factory_make):
3874 * gst/gstindexfactory.h:
3875 * gst/gstpluginfeature.c:
3876 * gst/gstpluginfeature.h:
3877 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3878 more docs inlined, splitted gstindex.{c,h}
3880 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3882 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3885 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3887 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3888 Set sync to FALSE by default.
3890 2005-09-20 Wim Taymans <wim@fluendo.com>
3892 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3893 (gst_base_sink_init):
3894 Make sync property settable from subclass.
3896 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
3897 (gst_fake_sink_change_state):
3898 Set sync to FALSE by default.
3900 2005-09-20 Wim Taymans <wim@fluendo.com>
3902 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
3903 * tools/gst-launch.c: (main):
3904 The timeout handler should have lower priority than the source
3905 so we don't timeout before popping a message with 0 timeout.
3906 Dump error messages after failed state change.
3908 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
3910 * tools/gst-inspect.c: (print_element_properties_info):
3913 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3915 * check/gst/gstevent.c:
3916 * gst/elements/gstfakesink.c:
3917 * gst/elements/gstfakesink.h:
3918 remove the sync property from fakesink.
3919 has the side effect of setting sync TRUE
3920 for fakesink, which is a change. Anyone who knows how
3921 to fix this nicely in a GObject-y way, feel free.
3923 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3925 * docs/gst/gstreamer-docs.sgml:
3926 remove probe refsection
3928 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3930 * check/Makefile.am:
3931 disable valgrinding the controller test again
3932 * docs/gst/gstreamer-sections.txt:
3933 update for api-changes
3935 2005-09-20 Wim Taymans <wim@fluendo.com>
3937 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
3938 (gst_base_sink_set_property), (gst_base_sink_get_property),
3939 (gst_base_sink_do_sync):
3940 * gst/base/gstbasesink.h:
3941 Added sync property to basesink to disable clock sync.
3943 2005-09-20 Andy Wingo <wingo@pobox.com>
3945 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
3946 eating the caller's refcount.
3948 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
3949 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
3952 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
3953 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
3954 of GLib 2.8 public, so we can know which refcount to check in
3957 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
3958 (gst_object_init): Only set the gst refcount if we're going ahead
3959 with the refcount hack.
3961 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3963 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3964 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
3965 more leaks plumbed, added more debug-logging
3969 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3972 remove include of gstmemchunk.h
3974 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3976 * gst/gstclock.c: (_gst_clock_id_free):
3977 Commit from the Political Party For More Atomic CVS Commits,
3978 so that people don't waste too much of their day fishing
3979 out obvious leaks out of massive commits.
3980 Oh, and fix a pretty damn obvious leak in the memchunk
3983 2005-09-20 Stefan Kost <ensonic@users.sf.net>
3985 * check/Makefile.am:
3986 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
3987 plug mem-leak, re-add to valgrindable tests
3989 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
3992 unbreak the build for those who have chronic arthritis
3993 and typing "make check" is just too taxing on the hands
3995 2005-09-20 Andy Wingo <wingo@pobox.com>
3997 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
3998 really want it out, you should fix plugins at the same time.
4000 2005-09-19 Stefan Kost <ensonic@users.sf.net>
4003 * docs/gst/gstreamer-sections.txt:
4005 added missing symbols to api docs
4006 disable ref-count hack if we have glib >= 2.8
4008 2005-09-19 David Schleef <ds@schleef.org>
4010 * docs/gst/Makefile.am: Ignore a few more internal headers
4011 * docs/gst/gstreamer-docs.sgml: Remove old sections
4012 * docs/gst/gstreamer-sections.txt: Remove old sections
4013 * docs/gst/tmpl/gstobject.sgml: update
4014 * docs/gst/tmpl/gstplugin.sgml: update
4015 * docs/gst/tmpl/gstpluginfeature.sgml: update
4016 * docs/random/ds/0.9-suggested-changes: update.
4017 * gst/Makefile.am: remove memchunk and trashstack, since they're
4019 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
4020 * gst/gst.h: don't include some headers
4021 * gst/gstchildproxy.c: add gstmarshal.h
4022 * gst/gstclock.c: Don't use memchunks
4023 * gst/gstminiobject.c: Add some docs
4024 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
4025 * gst/gstobject.h: same
4026 * gst/gstplugin.c: include gstmacros.h
4027 * gst/gstplugin.h: don't include gstmacros.h, since it's private
4028 * gst/gstquery.c: don't use memchunks
4029 * gst/gstregistry.c: rename gst_registry_deinit()
4030 * gst/gstregistry.h: same
4032 2005-09-19 David Schleef <ds@schleef.org>
4034 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
4035 * docs/libs/gstreamer-libs-sections.txt:
4036 * docs/libs/tmpl/gstgetbits.sgml:
4037 * docs/libs/tmpl/gstputbits.sgml:
4039 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
4041 * win32/gstenumtypes.c:
4042 * win32/gstenumtypes.h:
4045 2005-09-19 Wim Taymans <wim@fluendo.com>
4047 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
4048 Automatically PAUSE and RESUME a pipeline when a flushing seek
4051 2005-09-19 Andy Wingo <wingo@pobox.com>
4053 * gst/gstregistry.h: Spacing fixen.
4055 2005-09-19 Wim Taymans <wim@fluendo.com>
4057 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
4058 Handle state change failure more correctly.
4060 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4062 * check/Makefile.am:
4063 * check/pipelines/cleanup.c: (run_pipeline):
4064 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4066 enable cleanup again after fixing the leak
4068 some more info on docs
4070 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4072 * check/Makefile.am:
4073 re-enable tests now that leaks are plugged
4075 * check/gst/gstbin.c:
4076 * check/gst/gstpipeline.c:
4077 add some more tests while fixing leaks
4079 make sure binaries are uptodate when valgrinding/gdbing
4081 * gst/gstelementfactory.c:
4082 remove a ref too many, and add a FIXME for when we get
4083 round to disposing of classes
4085 fix the refcounting when loading a plugin from a file and
4086 the code pretends that the pointer is the same even though
4087 of course it can change
4088 * gst/gstpluginfeature.c:
4089 unref plugins marked cached (a bit confusing as a name)
4090 as the docs state should be done
4091 various doc additions to explain refcounting
4092 * gst/gstregistry.c:
4093 * gst/gstregistryxml.c:
4096 2005-09-19 Wim Taymans <wim@fluendo.com>
4098 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
4099 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
4100 (send_messages), (GST_START_TEST), (gstbus_suite):
4101 * check/gst/gstpipeline.c: (GST_START_TEST):
4102 * check/pipelines/cleanup.c: (run_pipeline):
4103 * check/pipelines/simple_launch_lines.c: (run_pipeline),
4105 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
4106 (gst_bus_source_check), (gst_bus_source_dispatch),
4107 (gst_bus_create_watch), (gst_bus_add_watch_full),
4108 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
4110 * tools/gst-launch.c: (event_loop):
4111 * tools/gst-md5sum.c: (event_loop):
4112 GstBusHandler -> GstBusFunc, return value has the same meaning as
4113 any other GSource (FALSE == remove source).
4114 _add_watch() and _add_watch_full() now take a MessageType mask to
4115 only handle specific types of messages.
4116 _poll() returns the GstMessage instead of the message type to avoid
4118 _have_pending() takes a MessageType mask now too.
4119 Added testsuite for multiple bus watches.
4120 Fix testsuites and applications for new bus API.
4122 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
4124 * check/Makefile.am:
4125 mark a bunch of the tests as to fix until we fix them
4127 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4130 use GST_PLUGIN settings for valgrind tests as well, so we're
4131 valgrinding the correct thing
4132 * gst/gst.c: (init_post):
4135 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4137 * gst/gst.c: (init_post), (gst_deinit):
4138 * gst/gstelementfactory.c: (gst_element_factory_class_init),
4139 (gst_element_factory_finalize), (gst_element_factory_cleanup):
4140 * gst/gstindex.c: (gst_index_factory_class_init),
4141 (gst_index_factory_finalize):
4142 * gst/gstobject.c: (gst_object_dispose):
4143 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4144 (gst_plugin_load_file), (gst_plugin_desc_free):
4145 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
4146 (gst_plugin_feature_finalize):
4147 * gst/gstregistry.c: (gst_registry_class_init),
4148 (gst_registry_init), (gst_registry_finalize),
4149 (gst_registry_get_default), (gst_registry_deinit):
4150 * gst/gstregistry.h:
4151 * gst/gstregistryxml.c: (load_feature), (load_plugin):
4152 various cleanups and memleak plugging. make valgrind is happy now.
4154 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
4157 add a check-valgrind target
4159 2005-09-18 David Schleef <ds@schleef.org>
4161 * tools/gst-inspect.c: Revert the GOption code.
4163 2005-09-17 David Schleef <ds@schleef.org>
4165 * check/Makefile.am: Fix environment variables.
4166 * check/gst/gstplugin.c: Fix for API changes.
4167 * tools/gst-inspect.c: Fix for API changes.
4168 * tools/gst-xmlinspect.c: Fix for API changes.
4169 * gst/gstelementfactory.c:
4172 * gst/gstpluginfeature.c:
4173 * gst/gstpluginfeature.h:
4174 * gst/gstregistry.c:
4175 * gst/gstregistry.h:
4176 * gst/gstregistryxml.c:
4177 * gst/gsttypefind.c:
4178 * gst/gsttypefindfactory.c:
4179 * gst/indexers/gstfileindex.c:
4180 * gst/indexers/gstmemindex.c:
4181 * gst/schedulers/Makefile.am:
4182 Change registry to keep track of both plugins and features,
4183 removing the feature tracking from plugins themselves.
4185 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
4187 * check/Makefile.am:
4188 * tools/gst-register.1.in:
4191 2005-09-15 David Schleef <ds@schleef.org>
4193 * check/gst/gstplugin.c:
4194 * gst/gstelementfactory.c:
4196 * gst/gstpluginfeature.c:
4197 * gst/gstregistry.c:
4198 Getting tired of debugging. Disabled all the unreffing of
4199 plugins and features, which fixes the segfaults, but of
4200 course leaks like crazy. At least playbin works.
4202 2005-09-15 David Schleef <ds@schleef.org>
4204 * check/gst/gstplugin.c: (register_check_elements),
4205 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
4207 * gst/elements/gsttypefindelement.c: Fix refcounting.
4208 * gst/gsttypefind.c:
4209 * gst/gsttypefindfactory.c:
4210 * gst/gsttypefindfactory.h:
4212 2005-09-15 David Schleef <ds@schleef.org>
4214 * gst/gstindex.c: get refcounting correct.
4215 * gst/gstregistry.c: Handle the case where a feature/plugin is
4218 2005-09-15 David Schleef <ds@schleef.org>
4220 * check/Makefile.am:
4221 * check/gst/gstplugin.c: Add test
4222 * gst/gstplugin.c: Fix problems noticed by testsuite
4224 * gst/gstregistry.c:
4225 * gst/gstregistry.h:
4227 2005-09-15 David Schleef <ds@schleef.org>
4229 * gst/gstplugin.c: Implement semi-decent recounting and locking
4230 in plugins and plugin features.
4232 * gst/gstpluginfeature.c:
4233 * gst/gstpluginfeature.h:
4234 * gst/gstregistry.c:
4236 2005-09-15 Michael Smith <msmith@fluendo.com>
4238 * gst/gstregistry.c: (gst_registry_get_feature_list):
4239 Implement this. Makes oggdemux work; decodebin still broken.
4241 2005-09-14 David Schleef <ds@schleef.org>
4243 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
4245 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
4246 * gst/check/Makefile.am:
4247 * libs/gst/controller/Makefile.am:
4248 * libs/gst/dataprotocol/Makefile.am:
4250 2005-09-14 David Schleef <ds@schleef.org>
4252 * configure.ac: Remove getbits library. Nothing uses it, and
4253 it should be in something like liboil if someone did want
4255 * libs/gst/Makefile.am:
4256 * libs/gst/getbits/Makefile.am:
4257 * libs/gst/getbits/gbtest.c:
4258 * libs/gst/getbits/getbits.c:
4259 * libs/gst/getbits/getbits.h:
4260 * libs/gst/getbits/gstgetbits_generic.c:
4261 * libs/gst/getbits/gstgetbits_i386.s:
4262 * libs/gst/getbits/gstgetbits_inl.h:
4264 2005-09-14 David Schleef <ds@schleef.org>
4266 * gst/Makefile.am: Dist glib-compat.h
4268 2005-09-14 David Schleef <ds@schleef.org>
4270 * configure.ac: Remove gst/registries, since it's no longer used.
4271 * gst/registries/Makefile.am:
4272 * gst/registries/gstlibxmlregistry.c:
4273 * gst/registries/gstlibxmlregistry.h:
4274 * gst/registries/gstxmlregistry.c:
4275 * gst/registries/gstxmlregistry.h:
4276 * gst/registries/registrytest.c:
4278 2005-09-14 David Schleef <ds@schleef.org>
4280 * gst/glib-compat.h:
4281 * gst/gstregistryxml.c:
4282 Convergence is near. Seriously.
4284 2005-09-14 David Schleef <ds@schleef.org>
4286 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4287 * gst/glib-compat.h:
4288 Attempt #4 to appease the buildbots.
4290 2005-09-14 David Schleef <ds@schleef.org>
4292 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4295 2005-09-14 David Schleef <ds@schleef.org>
4297 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4300 2005-09-14 David Schleef <ds@schleef.org>
4302 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
4305 2005-09-14 David Schleef <ds@schleef.org>
4307 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
4308 * gst/glib-compat.h: Add some functions that are in newer versions
4309 of glib than we care to require.
4310 * gst/gstregistryxml.c: Use them.
4312 2005-09-14 David Schleef <ds@schleef.org>
4314 * po/POTFILES.in: remove gst-register.c
4316 2005-09-14 David Schleef <ds@schleef.org>
4318 * docs/gst/gstreamer-docs.sgml:
4319 * docs/gst/gstreamer-sections.txt:
4320 * docs/gst/gstreamer.types:
4321 * docs/gst/tmpl/gstelement.sgml:
4322 * docs/gst/tmpl/gstplugin.sgml:
4323 * docs/gst/tmpl/gstpluginfeature.sgml:
4324 Documentation updates for registry changes.
4326 2005-09-14 David Schleef <ds@schleef.org>
4328 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
4329 because we don't require glib-2.8.
4331 2005-09-14 David Schleef <ds@schleef.org>
4333 * gst/gstregistryxml.c: Added. Essentially moved out of the
4334 registries directory.
4336 2005-09-14 David Schleef <ds@schleef.org>
4338 * check/Makefile.am:
4339 * check/generic/states.c:
4343 * gst/gst_private.h:
4344 * gst/gstelementfactory.c:
4349 * gst/gstpluginfeature.c:
4350 * gst/gstpluginfeature.h:
4351 * gst/gstregistry.c:
4352 * gst/gstregistry.h:
4353 * gst/gstregistrypool.c: remove
4354 * gst/gstregistrypool.h: remove
4355 * gst/gsttypefind.c:
4356 * gst/gsttypefindfactory.c:
4358 * tools/Makefile.am:
4359 * tools/gst-compprep.c:
4360 * tools/gst-inspect.c:
4361 * tools/gst-register.c: remove
4362 * tools/gst-xmlinspect.c:
4363 Registry rewrite. Changes registry from being a file created
4364 by a tool into a simple cache file created automatically by
4365 libgstreamer. Removed gst-register (because it's no longer
4366 needed). Remove registry pools, because we only have one
4367 registry implementation (XML). Fix up other subsystems as
4370 2005-09-13 Michael Smith <msmith@fluendo.com>
4372 * gst/gstconfig.h.in:
4373 Don't Use windows linking attributes for MinGW. Fixes #316157
4375 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
4377 * gst/gstutils.c: (set_state_async_thread_func),
4378 (gst_element_set_state_async):
4379 Apparently people think it's better if this function doesn't
4380 try to set the state to whatever state was asked for on the first
4381 call to this function for any object. Seriously.
4383 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4385 * check/gst/gstpipeline.c: (GST_START_TEST):
4386 * docs/gst/gstreamer-sections.txt:
4387 * gst/gstutils.c: (set_state_async_thread_func),
4388 (gst_element_set_state_async):
4390 add a "gst_element_set_state_async" method that
4391 sets the state and starts a thread to make sure the state
4392 change completes as best as it can
4394 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4396 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4397 codify design+behaviour in testsuite after discussion
4399 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
4401 * docs/gst/tmpl/gstelement.sgml:
4402 * docs/manual/appendix-quotes.xml:
4404 * gst/gstelement.c: (gst_element_set_state):
4407 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
4409 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4410 (gst_base_transform_prepare_output_buf),
4411 (gst_base_transform_handle_buffer):
4412 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
4413 (gst_capsfilter_prepare_buf):
4414 Remove the requirement for sub-classes to call the parent
4415 implementation of prepare_output_buffer with a wrapper function.
4418 * gst/gsttagsetter.h:
4421 2005-09-11 Stefan Kost <ensonic@users.sf.net>
4423 * docs/gst/gstreamer-sections.txt:
4426 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4428 * docs/gst/gstreamer-sections.txt:
4429 * docs/gst/tmpl/gstelement.sgml:
4430 * docs/gst/tmpl/gstplugin.sgml:
4431 * gst/gstminiobject.c:
4433 docs now stop throwing warnings
4435 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4437 * docs/gst/gstreamer-sections.txt:
4438 * docs/gst/gstreamer.types:
4439 * docs/gst/tmpl/gstpad.sgml:
4440 * docs/gst/tmpl/gsttypes.sgml:
4441 * gst/base/gstadapter.h:
4442 * gst/base/gstbasesink.h:
4443 * gst/base/gstbasesrc.h:
4453 * gst/gststructure.c:
4454 * gst/registries/gstlibxmlregistry.h:
4455 various documentation fixes
4457 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
4459 * docs/gst/gstreamer-sections.txt:
4460 * docs/gst/tmpl/gstvalue.sgml:
4461 rearrange gstvalue section
4462 * gst/gstutils.c: (gst_element_state_get_name):
4464 * gst/gstvalue.c: (_gst_value_initialize):
4468 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
4470 * check/gst-libs/controller.c:
4472 * gst/base/gstbasetransform.c:
4473 (gst_base_transform_default_prepare_buf),
4474 (gst_base_transform_handle_buffer):
4475 * gst/base/gstbasetransform.h:
4476 Some more basetransform changes and fixes to enable sub-classes
4477 that modify buffer metadata only.
4478 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4479 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
4480 (gst_capsfilter_prepare_buf):
4481 If the output pad has fixed allowed caps and input buffers
4482 don't have any, set the fixed caps on outgoing buffers.
4484 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
4485 * check/elements/identity.c: (GST_START_TEST):
4486 Make the error a little clearer when the test fails because
4487 identity made a copy of the buffer.
4488 * docs/gst/gstreamer-sections.txt:
4489 New symbols in gstbasetransform.h
4490 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
4491 (gst_base_transform_init), (gst_base_transform_transform_size),
4492 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4493 (gst_base_transform_default_prepare_buf),
4494 (gst_base_transform_get_unit_size),
4495 (gst_base_transform_buffer_alloc),
4496 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4497 (gst_base_transform_change_state),
4498 (gst_base_transform_set_passthrough),
4499 (gst_base_transform_set_in_place),
4500 (gst_base_transform_is_in_place):
4501 * gst/base/gstbasetransform.h:
4502 Change BaseTransform to separate in_place operate from same_caps
4503 output. in_place implies that the element can perform the transform
4504 on incoming buffers in-place, even if the caps on the output are
4506 Sub-class elements can now implement special buffer allocation
4507 methods for outgoing buffers if they wish to.
4508 Big documentation addition.
4509 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
4510 * gst/elements/gstelements.c:
4511 Changes for basetransform modifications.
4512 * gst/elements/Makefile.am:
4513 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
4514 Compile fix. Extra debug output.
4516 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4518 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
4520 add tests for valid pad naming
4521 * gst/check/gstcheck.c: (gst_check_log_message_func),
4522 (gst_check_log_critical_func):
4524 remove printing of code, it is fragile when the code contains
4525 % and the line number is enough info
4526 * gst/check/gstcheck.h:
4527 * gst/gstpad.c: (gst_pad_template_new):
4530 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4533 say what CHECK flags we use
4534 * docs/libs/gstreamer-libs.types:
4535 * libs/gst/controller/Makefile.am:
4536 * libs/gst/controller/gst-controller.c:
4537 * libs/gst/controller/gst-controller.h:
4538 * libs/gst/controller/gst-helper.c:
4539 * libs/gst/controller/gst-interpolation.c:
4540 * libs/gst/controller/gstcontroller.c:
4541 * libs/gst/controller/gsthelper.c:
4542 * libs/gst/controller/gstinterpolation.c:
4543 * tools/gst-inspect.c: (print_plugin_info):
4544 we don't use dashes in header names
4546 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
4548 * check/Makefile.am:
4549 * check/gst/.cvsignore:
4550 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
4551 (gst_pipeline_suite), (main):
4552 adding a test for pipelines and state changes
4553 * gst/gstutils.c: (get_state_func):
4555 * gstreamer.spec.in:
4558 2005-09-08 Michael Smith <msmith@fluendo.com>
4560 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
4561 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
4562 (gst_file_src_is_seekable), (gst_file_src_get_size),
4563 (gst_file_src_start):
4564 * gst/elements/gstfilesrc.h:
4565 Various fixes for unseekable, unmmapable, and non-normal files, so
4566 that fallback to read() rather than mmap() works.
4567 * gst/gstevent.c: (gst_event_new_newsegment):
4568 Allow newsegment events with segment_start == segment_end, as will
4569 correctly happen if you use filesrc on a zero-size file, for
4572 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4574 * gst/gstplugin.c: (gst_plugin_load_file):
4575 Call g_module_close when we don't load the module
4577 * gst/registries/gstlibxmlregistry.c:
4578 (gst_xml_registry_get_property):
4579 Port leak fix from 0.8
4581 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4583 * docs/gst/gstreamer-docs.sgml:
4584 * docs/gst/tmpl/.cvsignore:
4585 * docs/gst/tmpl/gsttrace.sgml:
4586 * docs/gst/tmpl/gsttrashstack.sgml:
4595 * gst/gsttaginterface.c:
4596 * gst/gsttaginterface.h:
4599 * gst/gsttagsetter.c:
4600 * gst/gsttagsetter.h:
4603 * gst/gsttrashstack.c:
4604 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
4605 inlined docs for gsttrace, gsttrashstack
4607 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4610 * gst/elements/gstbufferstore.h:
4611 * gst/elements/gsttypefindelement.c:
4612 * gst/elements/gsttypefindelement.h:
4614 * gst/gsttypefind.c:
4615 * gst/gsttypefind.h:
4616 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
4617 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
4618 (gst_type_find_factory_dispose),
4619 (gst_type_find_factory_unload_thyself),
4620 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
4621 (gst_type_find_factory_get_caps),
4622 (gst_type_find_factory_get_extensions),
4623 (gst_type_find_factory_call_function):
4624 * gst/gsttypefindfactory.h:
4625 * gst/registries/gstlibxmlregistry.c:
4626 * gst/registries/gstxmlregistry.c:
4627 splitted gsttypefind into gsttypefind, gsttypefindfactory
4629 2005-09-07 Andy Wingo <wingo@pobox.com>
4631 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
4632 condition whereby the pad's task function is entered before the
4633 pad_mode variable was set.
4635 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
4637 * gst/gstpad.c: (gst_pad_alloc_buffer):
4638 Catch misbehaving pad_alloc functions that don't
4639 set up caps and do it for them.
4641 2005-09-07 Stefan Kost <ensonic@users.sf.net>
4643 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4645 * docs/gst/tmpl/.cvsignore:
4646 * docs/gst/tmpl/gstmemchunk.sgml:
4647 * docs/gst/tmpl/gstparse.sgml:
4648 * docs/gst/tmpl/gsttaglist.sgml:
4649 * docs/gst/tmpl/gsttagsetter.sgml:
4650 * docs/gst/tmpl/gsttypefind.sgml:
4651 * docs/gst/tmpl/gsttypefindfactory.sgml:
4652 * gst/gstmemchunk.c:
4655 * gst/gsttaginterface.c:
4656 * gst/gsttypefind.c:
4657 * gst/gsttypefind.h:
4660 === release 0.9.2 ===
4662 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
4667 releasing 0.9.2, "South"
4669 2005-09-05 Andy Wingo <wingo@pobox.com>
4671 * gst/registries/gstxmlregistry.h:
4672 * gst/registries/gstxmlregistry.c: Um... resurrect...
4674 * gst/registries/gstxmlregistry.h:
4675 * gst/registries/gstxmlregistry.c: and update to newer API.
4676 Incidentally they should be a bit faster now that they don't have
4679 2005-09-05 Andy Wingo <wingo@pobox.com>
4681 * gst/registries/gstxmlregistry.h:
4682 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
4683 replaced by the libxml registry a while back
4685 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4687 * docs/gst/tmpl/gstplugin.sgml:
4688 * gst/elements/gstelements.c:
4690 * gst/gstplugin.c: (gst_plugin_register_func),
4691 (gst_plugin_desc_copy), (gst_plugin_desc_free),
4692 (gst_plugin_get_source):
4694 * gst/registries/gstlibxmlregistry.c: (load_plugin),
4695 (gst_xml_registry_save_plugin):
4696 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
4697 (gst_xml_registry_save_plugin):
4698 * tools/gst-inspect.c: (print_plugin_info):
4699 add a "source" plugin description field, to represent the source
4700 module this plugin is a part of. By default GST_PLUGIN_DEFINE
4701 will set it to PACKAGE, which is automake's idea of the name of
4704 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
4710 * docs/faq/Makefile.am:
4711 * docs/gst/tmpl/gstelement.sgml:
4712 * docs/gst/tmpl/gsttypes.sgml:
4713 * docs/htmlinstall.mak:
4714 * docs/manual/Makefile.am:
4715 * docs/pwg/Makefile.am:
4716 reorganize doc build a little
4717 split out docbook and gtk-doc stuff
4718 have two separate --enable's and enable them through autogen
4719 but disable by default in configure (to be similar to other
4721 * gstreamer.spec.in:
4722 clean up docs install
4742 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
4744 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
4747 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
4748 (gst_fake_sink_change_state):
4749 Make state change function thread-safe.
4751 * gst/gstpad.c: (gst_pad_alloc_buffer):
4752 Set offset on generic buffer allocated by fallback.
4754 2005-09-03 Stefan Kost <ensonic@users.sf.net>
4756 * docs/gst/gstreamer-sections.txt:
4757 * docs/gst/tmpl/gstelement.sgml:
4759 * libs/gst/controller/gst-controller.c:
4760 (gst_controlled_property_set_interpolation_mode),
4761 (gst_controlled_property_new),
4762 (gst_controller_find_controlled_property):
4763 run the wingo-magic script against the docs
4765 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4767 * docs/gst/gstreamer-docs.sgml:
4768 * docs/gst/gstreamer-sections.txt:
4769 * docs/gst/tmpl/.cvsignore:
4770 * docs/gst/tmpl/gstelementdetails.sgml:
4771 * docs/gst/tmpl/gstelementfactory.sgml:
4774 * gst/gstelementfactory.c:
4775 * gst/gstelementfactory.h:
4776 merged elementdetails docs into elementfactory docs
4779 2005-09-02 Andy Wingo <wingo@pobox.com>
4781 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
4782 consider this enum an enum and not a flags.
4784 2005-09-02 Stefan Kost <ensonic@users.sf.net>
4786 * docs/gst/gstreamer-docs.sgml:
4787 * docs/gst/tmpl/.cvsignore:
4788 * docs/gst/tmpl/gstghostpad.sgml:
4789 * docs/gst/tmpl/gstiterator.sgml:
4790 * docs/gst/tmpl/gstmacros.sgml:
4791 * docs/gst/tmpl/gstrealpad.sgml:
4792 * docs/gst/tmpl/gstregistry.sgml:
4793 * docs/gst/tmpl/gstregistrypool.sgml:
4794 * docs/gst/tmpl/gststructure.sgml:
4795 * docs/gst/tmpl/gstsystemclock.sgml:
4796 * docs/gst/tmpl/gsttrace.sgml:
4797 * gst/gstghostpad.c:
4799 * gst/gstmemchunk.c:
4800 * gst/gstmemchunk.h:
4802 * gst/gstregistry.c:
4803 * gst/gstregistrypool.c:
4804 * gst/gststructure.c:
4805 * gst/gstsystemclock.c:
4808 2005-09-02 Andy Wingo <wingo@pobox.com>
4810 * gst/gstelement.h (GstState): Renamed from GstElementState,
4811 changed to be a normal enum instead of flags.
4812 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
4813 munged to be GST_STATE_CHANGE_*.
4814 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
4815 work with the new state representation.
4816 (GstStateChange): New enumeration of possible state transitions.
4817 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
4818 (GstElementClass::change_state): Pass the GstStateChange along as
4819 an argument. Helps language bindings, so they don't have to use
4820 tricky lock-needing macros like GST_STATE_CHANGE ().
4822 * scripts/update-states (file): New script. Run it on a file to
4823 update it for state naming and API changes. Updates files in
4826 * All files updated for the new API.
4828 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
4830 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
4831 * gst/gstutils.c: (gst_util_set_value_from_string),
4832 (gst_util_set_object_arg):
4833 fix a bunch of unchecked return values
4834 * tools/gst-complete.c: (main):
4835 * gstreamer.spec.in:
4838 2005-09-01 Wim Taymans <wim@fluendo.com>
4840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4841 (gst_base_sink_event), (gst_base_sink_do_sync),
4842 (gst_base_sink_handle_event):
4843 * gst/base/gstbasesink.h:
4844 Handle newsegments more correctly.
4849 * gst/gstevent.c: (gst_event_new_newsegment):
4850 A newsegment cannot have a start_time of -1
4852 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
4854 * win32/gstenumtypes.c:
4855 * win32/gstenumtypes.h:
4858 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4860 * libs/gst/controller/gst-controller.c:
4861 (gst_controlled_property_set_interpolation_mode),
4862 (gst_controlled_property_new):
4865 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
4867 * docs/faq/gst-uninstalled:
4872 * gst/gstutils.c: (gst_element_link_filtered):
4874 add gst_element_link_filtered
4876 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4878 * docs/gst/gstreamer-docs.sgml:
4879 * docs/gst/gstreamer-sections.txt:
4880 * docs/gst/tmpl/.cvsignore:
4881 * docs/gst/tmpl/gsterror.sgml:
4882 * docs/gst/tmpl/gstfilter.sgml:
4883 * docs/gst/tmpl/gsturihandler.sgml:
4884 * docs/gst/tmpl/gsturitype.sgml:
4885 * docs/gst/tmpl/gstutils.sgml:
4886 * docs/gst/tmpl/gstxml.sgml:
4894 inlined more docs, fixed double id-ref
4896 2005-08-31 Wim Taymans <wim@fluendo.com>
4898 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4899 (gst_base_transform_handle_buffer):
4900 Passthrough elements don't need the caps as they don't care.
4902 2005-08-31 Wim Taymans <wim@fluendo.com>
4904 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4905 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
4906 Don't leak refcounts on buffers.
4908 2005-08-31 Wim Taymans <wim@fluendo.com>
4910 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
4911 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
4912 (gst_base_transform_chain), (gst_base_transform_change_state):
4913 * gst/base/gstbasetransform.h:
4914 Handle the case where we are not negotiated more gracefully.
4916 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
4918 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
4919 (gst_file_src_map_region):
4920 Set READONLY flag on mmap'ed buffers, otherwise
4921 gst_buffer_make_writable() won't work properly (#314708).
4923 2005-08-31 Wim Taymans <wim@fluendo.com>
4925 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
4926 passthrough elements can even do inplace on non writable
4927 buffers (as they don't touch them).
4929 2005-08-31 Stefan Kost <ensonic@users.sf.net>
4931 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4932 (gst_test_mono_source_set_property),
4933 (gst_test_mono_source_class_init), (GST_START_TEST),
4934 (gst_controller_suite):
4935 more tests (hehe I have the most)
4937 describe popping messages whenusing mulltiple sources
4938 * libs/gst/controller/gst-controller.c:
4939 (gst_controlled_property_set_interpolation_mode),
4940 (gst_controlled_property_new):
4941 * libs/gst/controller/gst-controller.h:
4942 * libs/gst/controller/gst-interpolation.c:
4943 implement boolean properties
4945 2005-08-31 Wim Taymans <wim@fluendo.com>
4947 * gst/gstminiobject.c: (gst_mini_object_ref):
4948 Cannot assert that the refcount has to be positive
4949 since a disposed object can be resurrected.
4951 2005-08-31 Wim Taymans <wim@fluendo.com>
4953 * gst/gstpad.c: (gst_pad_init):
4954 Revert change, need to first fix badly behaving
4957 2005-08-30 Wim Taymans <wim@fluendo.com>
4959 * check/elements/fakesrc.c: (setup_fakesrc):
4960 * check/elements/identity.c: (setup_identity):
4961 Activate pads before using them.
4963 2005-08-30 Wim Taymans <wim@fluendo.com>
4965 * gst/base/gstadapter.c: (gst_adapter_flush):
4966 Flushing out 0 bytes is ok for this function.
4968 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4969 no newsegment gives a warning and sets the start/stop to
4972 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
4973 (gst_base_transform_set_passthrough):
4976 * gst/gstminiobject.c: (gst_mini_object_ref):
4977 Check refcount here too.
4979 * gst/gstpad.c: (gst_pad_init):
4980 Pads are initially flushing and refusing data.
4982 * gst/gstutils.c: (gst_element_link_pads_filtered):
4983 When adding a capsfilter element make sure it has the
4984 same state as the parent bin.
4986 2005-08-30 Stefan Kost <ensonic@users.sf.net>
4988 * docs/gst/tmpl/.cvsignore:
4989 * docs/gst/tmpl/gstformat.sgml:
4990 * docs/gst/tmpl/gstversion.sgml:
4994 * gst/gstversion.h.in:
4995 more docs and two more inlined
4997 2005-08-30 Wim Taymans <wim@fluendo.com>
4999 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
5000 Don't sync to clock.
5002 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5004 * docs/gst/gstreamer-sections.txt:
5005 ultral33t func10ns deserve to appear in the docs actually
5006 * docs/gst/tmpl/.cvsignore:
5007 * docs/gst/tmpl/gstcompat.sgml:
5008 * docs/gst/tmpl/gstconfig.sgml:
5009 * gst/check/gstcheck.c:
5011 * gst/gstconfig.h.in:
5014 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5016 * docs/gst/tmpl/.cvsignore:
5017 * docs/gst/tmpl/gstquery.sgml:
5018 * docs/gst/tmpl/gstutils.sgml:
5021 inlined and extended docs
5023 2005-08-30 Stefan Kost <ensonic@users.sf.net>
5025 * check/gst-libs/controller.c: (GST_START_TEST),
5026 (gst_controller_suite):
5028 * docs/gst/tmpl/gstutils.sgml:
5029 * docs/libs/gstreamer-libs-sections.txt:
5030 * docs/libs/tmpl/gstdataprotocol.sgml:
5032 * examples/controller/audio-example.c: (main):
5033 controller example works now
5036 * tools/gst-inspect.c: (print_element_properties_info):
5037 show param spec flags
5039 2005-08-29 Andy Wingo <wingo@pobox.com>
5041 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
5043 2005-08-28 Andy Wingo <wingo@pobox.com>
5045 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
5046 as having two arguments instead of just one. Allows superclasses
5047 to access information on subclasses -- see the terrible for() loop
5048 in gtype.c:g_type_create_instance for the reason why. All callers
5051 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5053 * docs/design/part-messages.txt:
5055 * docs/gst/tmpl/.cvsignore:
5056 * docs/gst/tmpl/gstcaps.sgml:
5057 * docs/gst/tmpl/gstclock.sgml:
5064 added descriptions for bus and message
5065 inline caps and clock docs
5067 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5073 2005-08-27 Stefan Kost <ensonic@users.sf.net>
5075 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
5078 2005-08-26 Andy Wingo <wingo@pobox.com>
5080 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
5081 element_set_state's return val.
5082 (test_2_elements): Add test that's been disabled for months.
5084 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
5085 can-activate-pull properties.
5087 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
5088 can-activate-pull properties. Implement is_seekable so fakesrc can
5089 operate in pull mode.
5091 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
5093 (gst_base_sink_activate, gst_base_sink_activate_pull)
5094 (gst_base_sink_activate_push): Make activation mode choosing work.
5096 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
5097 is right. Make pull mode work. Post an eos before pausing in pull
5099 (gst_base_sink_change_state): Pay attention to the core's
5100 change_state() return val.
5102 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
5103 has-getrange properties. Cleanups.
5105 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
5106 has_getrange and replace with can_activate_pull and
5109 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
5110 locking comments. Remove has_loop, has_chain and replace with
5111 can_activate_pull and can_activate_push.
5113 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
5116 * examples/Makefile.am:
5117 * examples/metadata/Makefile.am:
5118 * examples/metadata/read-metadata.c: (message_loop),
5119 (have_pad_handler), (make_pipeline), (print_tag), (main):
5120 Add metadata reading example that loops over a list of filenames,
5121 dumping any tags found.
5123 * gst/gstbus.c: (gst_bus_dispose):
5124 * gst/gstelement.c: (gst_element_dispose):
5125 Release a few potentially-held references in dispose.
5127 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5129 * docs/gst/tmpl/gstminiobject.sgml:
5130 do *not* add tmpl/*.sgml files to CVS!
5132 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5134 * libs/gst/bytestream/.cvsignore:
5135 * libs/gst/bytestream/Makefile.am:
5136 * libs/gst/bytestream/adapter.c:
5137 * libs/gst/bytestream/adapter.h:
5138 * libs/gst/bytestream/bytestream.c:
5139 * libs/gst/bytestream/bytestream.h:
5140 * libs/gst/bytestream/filepad.c:
5141 * libs/gst/bytestream/filepad.h:
5142 removing obsolete files
5144 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5146 * docs/gst/gstreamer-docs.sgml:
5147 * docs/libs/gstreamer-libs-docs.sgml:
5148 disabed additional index entries again, as this makes docs-gen just
5149 slow and they aren't useful yet
5150 * docs/libs/gstreamer-libs-sections.txt:
5151 little -section.txt cleanup for libs
5153 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
5155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5156 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
5157 fix up some debugging
5158 (gst_base_transform_get_unit_size),
5159 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5160 (gst_base_transform_handle_buffer):
5161 * gst/base/gstbasetransform.h:
5162 handle and store timed NEWSEGMENT events so that subclasses that
5163 calculate time by counting samples have a segment_start time they
5164 need to add to their timestamps - see audioresample
5166 2005-08-26 Stefan Kost <ensonic@users.sf.net>
5169 removed ';' from the end of macro defs
5170 * docs/gst/gstreamer-docs.sgml:
5171 * docs/gst/gstreamer-sections.txt:
5172 * docs/gst/tmpl/.cvsignore:
5174 * gst/gstelement.c: (gst_element_class_init),
5175 (gst_element_set_state), (activate_pads),
5176 (gst_element_save_thyself):
5177 * gst/gstevent.c: (gst_event_new_newsegment):
5179 * gst/gstiterator.c:
5180 * gst/gstiterator.h:
5183 * gst/gstutils.c: (gst_pad_query_convert):
5185 fixed parameter name mismatches between source, header and docs
5186 added some more docs, resolved the last batch of unused elements in
5187 docs (now someone needs to doc them)
5189 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5191 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
5192 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
5193 don't walk through the plugins backwards. Where is all this
5194 reversed logic coming from ?
5196 2005-08-25 Wim Taymans <wim@fluendo.com>
5198 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5199 (gst_base_transform_transform_size),
5200 (gst_base_transform_configure_caps),
5201 (gst_base_transform_get_unit_size),
5202 (gst_base_transform_buffer_alloc),
5203 (gst_base_transform_change_state):
5204 * gst/base/gstbasetransform.h:
5205 Cache caps unit_size.
5206 Make sure we cannot negotiate up and downstream at the
5209 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5211 * gst/gst.c: (init_pre), (init_post):
5212 register the installed plugin path after the env var
5213 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
5214 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
5215 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
5216 directories, so the tests can prefer uninstalled over installed
5218 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
5220 * gst/base/gstbasetransform.h:
5225 2005-08-25 Wim Taymans <wim@fluendo.com>
5227 * gst/gstbin.c: (bin_bus_handler):
5228 Be a bit more conservative about the posted message.
5230 * gst/gstbus.c: (gst_bus_post):
5231 Some cleanups, warn wrong return values.
5233 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
5235 * check/gst/gstbin.c: (GST_START_TEST):
5236 * gst/gstbin.c: (bin_bus_handler):
5237 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5238 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5239 (gst_message_new_warning), (gst_message_new_tag),
5240 (gst_message_new_state_changed), (gst_message_new_segment_start),
5241 (gst_message_new_segment_done), (gst_message_new_custom):
5243 * tools/gst-launch.c: (event_loop):
5244 * tools/gst-md5sum.c: (event_loop):
5245 Revert unpopular change for GST_MESSAGE_SRC to GObject.
5247 2005-08-25 Wim Taymans <wim@fluendo.com>
5249 * check/generic/states.c: (GST_START_TEST):
5250 Cleanup can be done at the end.
5252 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
5253 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5254 (gst_task_get_state), (gst_task_start), (gst_task_pause):
5255 Oh boy.. Thanks for finding this, Thomas.
5257 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5259 * docs/gst/gstreamer.types:
5262 2005-08-25 Stefan Kost <ensonic@users.sf.net>
5264 * docs/gst/gstreamer-docs.sgml:
5265 * docs/gst/gstreamer-sections.txt:
5266 * docs/gst/tmpl/.cvsignore:
5268 * gst/gstiterator.c:
5270 * gst/registries/gstxmlregistry.h:
5271 added missing classes and symbols (123 more to go)
5272 removed removed symbols from section file
5273 fixed many doc-comments
5275 2005-08-24 Wim Taymans <wim@fluendo.com>
5277 * check/generic/states.c: (GST_START_TEST):
5278 Make sure all tasks are stopped.
5280 * check/gst/gstbin.c: (GST_START_TEST):
5281 Unref after usage for proper valgrinding.
5283 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
5284 Really wait for the task to stop before destroying the
5287 * gst/gstqueue.c: (gst_queue_sink_activate_push),
5288 (gst_queue_src_activate_push):
5289 Small cleanups. Don't stop the task when we did not start
5292 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
5293 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
5294 (gst_task_get_state), (gst_task_start), (gst_task_pause),
5297 Protect the stream lock with the object lock.
5298 Disallow setting the stream lock when running.
5299 Add cleanup_all to wait for the threadpool to finish.
5300 Remove code to autoallocate a mutex if none was provided.
5301 Add _join() to wait for a task to stop.
5302 Protect the thread pool with a global lock.
5304 2005-08-24 Wim Taymans <wim@fluendo.com>
5306 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5307 (gst_base_sink_get_times), (gst_base_sink_do_sync),
5308 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
5309 * gst/base/gstbasesink.h:
5310 Handle newsegment events correctly.
5311 Drop buffers out of the segment range.
5313 2005-08-22 Andy Wingo <wingo@pobox.com>
5315 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
5316 macro, implements an interface and gstimplementsinterface for a
5319 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5321 * check/Makefile.am:
5322 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
5323 add a test that does a bunch of state changes on elements
5324 needs some fixing for valgrind
5325 * check/states/sinks.c: (gst_object_suite):
5328 add prototype for gst_caps_is_equal_fixed
5330 * gst/gstregistrypool.c:
5333 2005-08-24 Andy Wingo <wingo@pobox.com>
5335 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
5336 convert a negative value. Doesn't make much sense. Mostly this is
5337 here to force callers to ensure -1 maps to -1.
5339 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5341 * docs/pwg/advanced-types.xml:
5342 Well done to Michael for catching my deliberate introduction
5343 of this spelling mistake.
5344 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
5346 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
5347 unlink pads before removing the element from the bin.
5349 2005-08-24 Andy Wingo <wingo@pobox.com>
5351 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
5352 the same thing as GST_DEBUG=*:4.
5353 (parse_debug_level, parse_debug_category): New helper parsers.
5355 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
5357 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5358 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
5359 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
5360 (gst_base_transform_buffer_alloc),
5361 (gst_base_transform_handle_buffer):
5362 use gboolean return values and pointers to size so we can use the
5363 full GST_BUFFER_SIZE range (guint) for buffer sizes
5364 use GstPadDirection for transform_caps
5365 * gst/base/gstbasetransform.h:
5366 rename get_size to get_unit_size since that's what it is
5367 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
5368 use GstPadDirection for transform_caps
5369 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5371 cleanup and debugging
5373 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5375 * gst/gstelement.c: (gst_element_class_init),
5376 (gst_element_set_state), (activate_pads),
5377 (gst_element_save_thyself):
5378 * tools/gst-compprep.c: (main):
5379 * tools/gst-inspect.c: (print_element_properties_info):
5380 * tools/gst-xmlinspect.c: (print_element_properties):
5381 Fixed long standing mem-leak
5383 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
5385 * check/gst/gstbin.c: (GST_START_TEST):
5386 * gst/gstbin.c: (bin_bus_handler):
5387 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
5388 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
5389 (gst_message_new_warning), (gst_message_new_tag),
5390 (gst_message_new_state_changed), (gst_message_new_segment_start),
5391 (gst_message_new_segment_done), (gst_message_new_custom):
5393 * tools/gst-launch.c: (event_loop):
5394 * tools/gst-md5sum.c: (event_loop):
5395 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
5396 that applications can sensibly post custom messages with references
5397 to their own objects.
5399 2005-08-24 Andy Wingo <wingo@pobox.com>
5401 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
5404 2005-08-24 Wim Taymans <wim@fluendo.com>
5406 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5407 (gst_base_transform_transform_caps),
5408 (gst_base_transform_transform_size),
5409 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5410 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5411 (gst_base_transform_handle_buffer):
5412 * gst/base/gstbasetransform.h:
5413 Many fixes and new features added by Thomas. Can now also do
5414 transforms with variable sizes and a custom fixate_caps function.
5416 2005-08-24 Wim Taymans <wim@fluendo.com>
5418 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5422 Cast to ClockTime before formatting to time.
5427 2005-08-24 Stefan Kost <ensonic@users.sf.net>
5429 * check/gst-libs/controller.c: (GST_START_TEST),
5430 (gst_controller_suite):
5431 * docs/gst/tmpl/gstcaps.sgml:
5432 * docs/gst/tmpl/gstghostpad.sgml:
5433 * docs/gst/tmpl/gstquery.sgml:
5434 * docs/gst/tmpl/gstutils.sgml:
5435 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
5436 (gst_object_sink_values), (gst_object_get_value_arrays),
5437 (gst_object_get_value_array):
5438 gracefully handle helper method calls to objects that are not beeing
5439 controlled, added test case for that
5441 2005-08-23 Wim Taymans <wim@fluendo.com>
5443 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
5444 (gst_event_new_newsegment), (gst_event_parse_newsegment),
5445 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
5446 (gst_event_parse_qos), (gst_event_new_seek),
5447 (gst_event_parse_seek):
5449 Some more debugging output and doc cleanups.
5451 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5452 Fix possible deadlock.
5454 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5456 * docs/gst/gstreamer-docs.sgml:
5457 * docs/gst/gstreamer-sections.txt:
5458 * docs/gst/gstreamer.types:
5459 * docs/gst/tmpl/.cvsignore:
5464 added 100 symbols from gstreamer-unused.txt to the right sections
5465 fixed more broken comments
5466 added GstBus to docs
5468 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5470 * docs/gst/gstreamer-sections.txt:
5471 * docs/gst/tmpl/.cvsignore:
5472 * docs/gst/tmpl/gstbin.sgml:
5473 * docs/gst/tmpl/gstbuffer.sgml:
5474 * gst/base/gstbasesrc.c:
5475 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
5478 * tools/gst-launch.1.in:
5479 inlined more doc comments, added missing comments and fixed comments
5482 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
5484 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
5488 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
5490 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
5491 * gst/gststructure.h:
5492 add a fixate function for booleans; add a FIXME that these func
5493 names should probably be gst_structure_fixate_*
5495 2005-08-23 Stefan Kost <ensonic@users.sf.net>
5497 * docs/gst/gstreamer-docs.sgml:
5498 * docs/gst/gstreamer-sections.txt:
5500 * gst/gstbin.c: (gst_bin_get_type),
5501 (gst_bin_child_proxy_get_child_by_index),
5502 (gst_bin_child_proxy_get_children_count),
5503 (gst_bin_child_proxy_init):
5504 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5505 (gst_child_proxy_get_child_by_index),
5506 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
5507 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
5508 (gst_child_proxy_get), (gst_child_proxy_set_property),
5509 (gst_child_proxy_set_valist), (gst_child_proxy_set),
5510 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
5511 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
5512 * gst/gstchildproxy.h:
5513 * gst/parse/grammar.y:
5514 * tools/gst-inspect.c: (print_interfaces),
5515 (print_element_properties_info), (print_element_info):
5516 ported gstchildproxy over from 0.8
5517 ported gst-inspect fixes and enhancements over from 0.8
5519 2005-08-22 Wim Taymans <wim@fluendo.com>
5521 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5522 (gst_base_transform_handle_buffer):
5523 Also call the transform function if we have ANY caps.
5525 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
5528 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5530 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
5531 Don't pretend to handle seek events if the source is not seekable
5533 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
5535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5536 Remove extra parameter to debug output
5538 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5539 (gst_base_src_do_seek), (gst_base_src_activate_push):
5540 Fix seek event handling.
5542 * gst/gstpipeline.c: (gst_pipeline_change_state):
5543 * gst/gstqueue.c: (gst_queue_handle_sink_event),
5544 (gst_queue_src_activate_push):
5545 Don't start the src pad task on FLUSH_STOP if the pad
5549 2005-08-22 Wim Taymans <wim@fluendo.com>
5551 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
5552 Added check for gst_static_caps_get() refcounting.
5554 2005-08-22 Wim Taymans <wim@fluendo.com>
5556 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
5557 Make _static_caps_get() refcounting sane.
5559 * gst/gstelement.c: (gst_element_set_state):
5560 Add g_return_val_if_fail() to protect against segfaults.
5562 2005-08-22 Stefan Kost <ensonic@users.sf.net>
5564 * docs/gst/tmpl/gstevent.sgml:
5567 inlined remaining docs, added missing doc comments
5569 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
5571 * check/gst/gstbin.c: (GST_START_TEST):
5572 since we don't know when preroll is done, use refcount range
5574 * gst/check/gstcheck.h:
5575 add macro for checking refcount range
5577 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5579 * check/Makefile.am:
5580 clean up environment for when registry gets built versus
5581 when actual tests are run; valgrind seems to not report
5582 leaks if GST_PLUGIN_PATH is set to some specific values
5583 * check/gst/gstbin.c: (GST_START_TEST):
5584 add more refcounting checks; maybe this exposes a
5587 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5588 * gst/check/gstcheck.h:
5589 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
5590 (gst_bin_change_state):
5591 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
5592 add/fix debugging/whitespace
5594 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5596 * check/gst/gstevent.c: (event_probe), (test_event),
5598 Er, don't call gst_bin_watch_for_state_change you idiot.
5600 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
5602 * check/Makefile.am:
5603 Use CHECK_CFLAGS and CHECK_LIBS
5604 * check/gst/gstevent.c: (event_probe), (test_event),
5607 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5608 (gst_base_src_start), (gst_base_src_stop),
5609 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5610 (gst_base_src_change_state):
5611 Sprinkle gst_base_src_stop liberally around error paths to fix
5612 problems reusing a source after failed state changes.
5613 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5614 (helper_find_suggest), (gst_type_find_helper):
5615 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
5617 * docs/gst/tmpl/gstevent.sgml:
5618 Migrate part of the docs from the SGML file. Wait for ensonic to
5619 tell me how I did it wrong ;)
5620 * tools/gst-typefind.c: (main):
5621 Extra robustness to state changes between files.
5623 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
5625 * check/Makefile.am:
5626 don't valgrind the controller test - it's leaking - Stefan, HELP
5627 * gst/check/gstcheck.c: (gst_check_message_error),
5628 (gst_check_chain_func), (gst_check_setup_element),
5629 (gst_check_teardown_element), (gst_check_setup_src_pad),
5630 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5631 (gst_check_teardown_sink_pad):
5632 * gst/check/gstcheck.h:
5633 add a bunch of methods to set up elements, and src and sink pads
5634 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
5635 * check/elements/identity.c: (setup_identity), (cleanup_identity),
5640 whitespace/doc fixes
5642 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5645 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
5646 be handled by the application and not always printed as well
5648 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5650 * check/Makefile.am:
5652 * gst/check/gstcheck.c: (gst_check_message_error):
5653 * gst/check/gstcheck.h:
5654 add a fail_unless_equals_int
5655 add fail_unless for error messages
5657 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5659 * check/Makefile.am:
5661 * common/Makefile.am:
5664 factor out some of the common stuff so we can use it
5666 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5668 * check/Makefile.am:
5669 * check/gst/gstiterator.c: (GST_START_TEST):
5670 * check/gst/gstsystemclock.c: (GST_START_TEST),
5671 (gst_systemclock_suite):
5672 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5676 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
5678 * check/elements/.cvsignore:
5679 * check/elements/gstfakesrc.c:
5680 rename to name of element
5681 * check/elements/identity.c: (chain_func), (event_func),
5682 (setup_identity), (cleanup_identity), (GST_START_TEST),
5683 (identity_suite), (main):
5684 add a test for identity
5685 * check/Makefile.am:
5686 * pkgconfig/Makefile.am:
5687 * pkgconfig/gstreamer-check.pc.in:
5688 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5692 move the check stuff to a library that gets installed
5693 * check/gst-libs/controller.c: (GST_START_TEST):
5694 * check/gst-libs/gdp.c:
5695 * check/gst/gst.c: (GST_START_TEST):
5696 * check/gst/gstbin.c:
5697 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5698 * check/gst/gstbus.c:
5699 * check/gst/gstcaps.c: (GST_START_TEST):
5700 * check/gst/gstelement.c:
5701 * check/gst/gstghostpad.c:
5702 * check/gst/gstiterator.c:
5703 * check/gst/gstmessage.c:
5704 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
5705 * check/gst/gstobject.c:
5706 * check/gst/gstpad.c: (GST_START_TEST):
5707 * check/gst/gststructure.c: (GST_START_TEST):
5708 * check/gst/gstsystemclock.c: (GST_START_TEST),
5709 (gst_systemclock_suite):
5710 * check/gst/gsttag.c: (gst_tag_suite):
5711 * check/gst/gstvalue.c:
5712 * check/pipelines/cleanup.c:
5713 * check/pipelines/simple_launch_lines.c:
5714 * check/states/sinks.c:
5715 change include statement
5717 * docs/gst/gstreamer-sections.txt:
5718 * docs/gst/tmpl/gstpad.sgml:
5719 document more pad stuff
5720 * gst/gstminiobject.c: (gst_mini_object_ref),
5721 (gst_mini_object_unref):
5724 2005-08-19 Stefan Kost <ensonic@users.sf.net>
5726 * docs/gst/tmpl/gst.sgml:
5728 eliminate another tmpl file, fix spelling in the long-description
5730 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5732 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5733 (test_event), (timediff), (gstevents_suite):
5734 Should fix build on 64-bit arch's
5736 2005-08-18 Andy Wingo <wingo@pobox.com>
5738 Make sure that when a pipeline goes to PLAYING, that data has
5739 actually hit the sink.
5741 * check/states/sinks.c (test_sink): A sink that doesn't get any
5742 data shouldn't return SUCCESS for going to either PLAYING or
5743 PAUSED. Test also the return values on the way back down.
5745 * gst/gstelement.c (gst_element_set_state): When changing the
5746 state of an element currently changing state asynchronously, go to
5747 lost-state after commiting the pending state. Makes future calls
5748 to get_state continue to return ASYNC.
5750 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
5751 ASYNC when going to PLAYING if we still don't have preroll, as can
5752 happen with live sources.
5754 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5756 * docs/pwg/advanced-types.xml:
5757 Hack long paragraph into 2 chunks as a workaround for buggy
5758 jadetex version in sid and breezy that loops infinitely and
5761 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5763 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5764 (test_event), (timediff), (gstevents_suite):
5765 Provide more error margin in clock measurements to allow for
5766 g_get_current_time inaccuracies.
5768 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5770 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5771 (test_event), (timediff), (gstevents_suite):
5772 Fix error message output so I might be able to tell why the
5773 test works here but fails on the build farm.
5775 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
5777 * check/Makefile.am:
5778 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
5779 (test_event), (timediff), (gstevents_suite), (main):
5782 * docs/design/part-seeking.txt:
5785 * docs/gst/tmpl/gstevent.sgml:
5786 * docs/gst/tmpl/gstfakesrc.sgml:
5789 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5790 Treat a buffer-without-newsegment the same as a receiving
5791 a newsegment not in time format, and disable syncing to the clock
5794 * gst/gstbus.c: (gst_bus_set_sync_handler):
5795 Assert if anyone tries to replace the existing sync_handler for bus,
5796 as only the owner should be setting it.
5799 Have a fixed set of custom event enums with events identified by
5800 their structure name (as in 0.8), rather than a free-for-all
5801 allowing collisions between enum values from different plugins.
5803 * gst/gstpad.c: (gst_pad_class_init):
5806 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5807 Handle out-of-band downstream events from the sending thread.
5809 2005-08-17 Andy Wingo <wingo@pobox.com>
5811 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
5812 play-timeout==0 to mean no timeout at all. In that case, don't
5813 bother with a get_state or a warning, just return directly, even
5816 * gst/base/gstbasetransform.c: Debug changes.
5819 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
5820 ensure bins post state change messages. A bit of a hack but I can't
5821 think of a way to avoid it.
5823 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
5825 2005-08-16 Andy Wingo <wingo@pobox.com>
5827 * gst/base/gstadapter.h:
5828 * gst/base/gstadapter.c (gst_adapter_take): New function, like
5829 peek() but you own the data. Not terribly efficient atm.
5831 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5833 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
5834 (gst_element_found_tags):
5836 Add two utility functions for tag handling.
5838 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5840 * docs/manual/advanced-dataaccess.xml:
5841 * docs/manual/basics-helloworld.xml:
5842 Fix docs to use _bin_add() before _link(), which fixes the examples
5843 with recent core versions (reported by Madhan Raj M
5844 <raj_madan@rediffmail.com>, #313199).
5846 2005-08-16 Wim Taymans <wim@fluendo.com>
5848 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5849 Added subtract checks.
5851 * docs/design/part-events.txt:
5852 Some more docs about newsegment
5854 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5857 * gst/gstcaps.c: (gst_caps_to_string):
5858 Add comments, cleanups.
5860 * gst/gstelement.c: (gst_element_save_thyself):
5863 * gst/gstvalue.c: (gst_value_collect_int_range),
5864 (gst_string_unwrap), (gst_value_union_int_int_range),
5865 (gst_value_union_int_range_int_range),
5866 (gst_value_intersect_int_int_range),
5867 (gst_value_intersect_int_range_int_range),
5868 (gst_value_intersect_double_double_range),
5869 (gst_value_intersect_double_range_double_range),
5870 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
5871 (gst_value_subtract_int_range_int),
5872 (gst_value_subtract_double_range_double),
5873 (gst_value_subtract_double_range_double_range),
5874 (gst_value_subtract_from_list), (gst_value_subtract_list),
5875 (gst_value_can_compare), (gst_value_compare_fraction):
5876 Cleanups, add comments, remove unneeded asserts.
5878 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5880 * tools/gst-launch.c: (event_loop):
5881 don't convert NULL structures to strings
5883 2005-08-15 Stefan Kost <ensonic@users.sf.net>
5885 * docs/gst/gstreamer-sections.txt:
5886 made some defines private
5887 * docs/gst/tmpl/gstconfig.sgml:
5888 * docs/gst/tmpl/gstqueue.sgml:
5889 * docs/gst/tmpl/gsttaglist.sgml:
5890 * docs/gst/tmpl/gsttypes.sgml:
5891 * docs/gst/tmpl/gstutils.sgml:
5892 * docs/pwg/appendix-porting.xml:
5893 * gst/base/gstbasesink.h:
5894 * gst/base/gstbasesrc.c:
5895 * gst/base/gstbasesrc.h:
5896 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
5897 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
5898 * gst/gstelement.c: (gst_element_class_init):
5899 * gst/gstpad.c: (gst_pad_class_init):
5900 * gst/gstqueue.c: (gst_queue_class_init):
5901 * gst/gstxml.c: (gst_xml_class_init):
5902 documented all undocumented signal inline
5903 * libs/gst/controller/gst-controller.h:
5906 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5908 * docs/pwg/appendix-porting.xml:
5909 Document _set_link_function -> _set_setcaps_function.
5911 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
5913 * check/Makefile.am:
5914 add a .check target for running the check
5915 * check/gst-libs/controller.c: (GST_START_TEST):
5917 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5918 complete checks for gstbuffer; would be nice if I could get the
5919 gcov stuff to work so I can see if I actually completed gstbuffer.c
5921 add ASSERT_BUFFER_REFCOUNT
5923 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
5925 * docs/gst/gstreamer-sections.txt:
5926 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
5928 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
5929 spew out a warning if a tag that is already registered
5930 is re-registered, unless it is re-registered with a
5931 different type (#308438).
5933 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
5935 * docs/pwg/appendix-porting.xml:
5936 * docs/pwg/building-state.xml:
5937 Add some paragraphs about state changes in 0.9 to the PWG
5938 and the porting guide, in particular about the new meaning
5939 of GST_STATE_PAUSED and how to write state change functions
5940 with concurrent access by multiple threads in mind.
5942 2005-08-11 Stefan Kost <ensonic@users.sf.net>
5944 * docs/gst/gstreamer-docs.sgml:
5945 * docs/libs/gstreamer-libs-docs.sgml:
5946 added deprecation and since indexes
5947 * libs/gst/controller/gst-controller.c:
5948 * libs/gst/controller/gst-helper.c:
5952 2005-08-11 Wim Taymans <wim@fluendo.com>
5954 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
5955 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
5956 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
5957 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
5958 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
5959 (gst_ghost_pad_set_target):
5960 Actually implement (re)setting the target on a ghostpad
5961 as described in the docs.
5963 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5965 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
5966 Check whether GST_DEBUG_NO_COLOR environment variable is
5967 set and disable coloured debug output if that is the case.
5969 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
5971 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5972 (gst_type_find_helper):
5973 The memory returned by gst_type_find_peek() needs to
5974 stay valid until the end of a typefind function, and
5975 typefind functions may keep results from different
5976 offsets around, so we can't just unref the buffer from
5977 the previous _peek(), but have to save all buffers
5978 returned by _peek() until typefinding is done and only
5981 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
5983 * docs/gst/gstreamer-sections.txt:
5985 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
5987 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5989 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5990 Fix a pretty good memleak.
5992 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
5994 * gst/gstiterator.h:
5995 Fix wrong include and 'make distcheck'.
5997 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5999 * gst/gstbin.c: (bin_bus_handler):
6000 Use gst_element_post_message() instead.
6002 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
6004 * gst/base/gstadapter.h:
6005 * gst/base/gstbasesink.h:
6006 * gst/base/gstbasesrc.h:
6007 * gst/base/gstbasetransform.h:
6008 * gst/base/gstcollectpads.h:
6009 * gst/base/gstpushsrc.h:
6010 * gst/gstiterator.h:
6011 Add padding to our base elements' class and instance structs and
6012 to GstIterator (you will need to rebuild all plugins and apps!)
6014 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6016 * gst/gstbin.c: (bin_bus_handler):
6017 Make default message forwarding from child->bus to bin->bus
6018 threadsafe and make it not emit warnings if the parent has no bus.
6020 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6022 * gst/gstelement.c: (activate_pads):
6023 On paused->ready, set pad->caps to NULL, as is the documented
6024 behaviour in this state change. Fixes playback of series of
6025 media files when visualization is enabled in Totem.
6027 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6029 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6030 Allow NULL as filter-caps (which means "any").
6032 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6034 * docs/libs/gstreamer-libs-sections.txt:
6035 * libs/gst/controller/gst-controller.c:
6036 * libs/gst/controller/gst-controller.h:
6037 * libs/gst/controller/gst-helper.c:
6038 adding more entries to the docs and fix small doc-bugs
6040 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6042 * docs/gst/gstreamer-docs.sgml:
6043 * docs/gst/gstreamer-sections.txt:
6044 * docs/gst/gstreamer.types:
6045 * docs/gst/tmpl/gstbasesink.sgml:
6046 * docs/gst/tmpl/gstbasesrc.sgml:
6047 * docs/gst/tmpl/gstbasetransform.sgml:
6048 * docs/gst/tmpl/gstfakesrc.sgml:
6049 * gst/base/gstcollectpads.c:
6050 * gst/base/gstcollectpads.h:
6051 * libs/gst/controller/gst-controller.c:
6052 * libs/gst/controller/gst-controller.h:
6053 * libs/gst/controller/gst-helper.c:
6054 * libs/gst/controller/gst-interpolation.c:
6055 * libs/gst/controller/lib.c:
6056 added long/short desc for controller docs
6057 added collectpads base class docs
6058 added correct includes to base-class docs
6060 2005-08-05 Stefan Kost <ensonic@users.sf.net>
6062 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
6063 (gst_test_mono_source_set_property),
6064 (gst_test_mono_source_class_init), (GST_START_TEST),
6065 (gst_controller_suite):
6066 * docs/gst/gstreamer-docs.sgml:
6067 * docs/gst/gstreamer-sections.txt:
6068 * docs/gst/gstreamer.types:
6069 * docs/libs/gstreamer-libs-docs.sgml:
6070 * docs/libs/gstreamer-libs-sections.txt:
6071 * gst/base/gstadapter.c:
6072 * libs/gst/controller/gst-controller.c:
6073 (gst_controlled_property_new), (gst_controlled_property_free),
6074 (gst_controller_new_valist),
6075 (gst_controller_remove_properties_valist),
6076 (gst_controller_sink_values), (_gst_controller_finalize):
6077 * libs/gst/controller/gst-controller.h:
6078 * libs/gst/controller/gst-helper.c:
6079 (gst_object_control_properties), (gst_object_uncontrol_properties),
6080 (gst_object_get_controller), (gst_object_set_controller),
6081 (gst_object_sink_values), (gst_object_get_value_arrays),
6082 (gst_object_get_value_array):
6083 more tests (and fixes) for the controller
6084 more docs for the controller
6085 integrated companies docs for the adapter
6087 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
6089 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
6090 (GST_START_TEST), (fakesrc_suite):
6091 add tests for sizetype
6093 2005-08-04 Andy Wingo <wingo@pobox.com>
6095 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
6096 fixes buffer_alloc proxying among other things.
6098 * gst/base/gstbasetransform.c:
6099 * gst/base/gstbasetransform.h:
6100 Revert patch to gstbasetransform from 7-28 removing
6103 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
6104 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
6105 Semantics changed, should return not the size of the output buffer
6106 but the byte size of a buffer with a given caps.
6108 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
6110 (gst_base_transform_configure_caps): Don't set out_size here: (in,
6111 out) are not the pad caps until setcaps finishes.
6112 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
6113 not-in-place case as well. Deal with changing from in-place to
6114 not-in-place within calling pad_alloc_buffer. Still a bit
6115 concerned about the overhead here...
6117 2005-08-03 Andy Wingo <wingo@pobox.com>
6119 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
6120 fixating is an error.
6122 2005-08-04 Edward Hervey <edward@fluendo.com>
6124 * gst/base/gstadapter.h:
6125 Added gst_adapter_get_type() to the header
6127 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6129 * check/Makefile.am:
6130 * check/gst-libs/controller.c:
6131 * libs/gst/controller/gst-controller.c:
6132 (gst_controller_new_valist):
6133 added check test suite for the controller
6134 * gst/base/gstpushsrc.c:
6137 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6139 * docs/gst/Makefile.am:
6140 * docs/gst/gstreamer-docs.sgml:
6141 * docs/gst/gstreamer-sections.txt:
6142 * docs/gst/gstreamer.types:
6143 * docs/gst/tmpl/gstfakesrc.sgml:
6145 * gst/base/gstbasesink.c:
6146 * gst/base/gstbasesink.h:
6147 * gst/base/gstbasesrc.c:
6148 * gst/base/gstbasesrc.h:
6149 * gst/base/gstbasetransform.c:
6150 * gst/base/gstpushsrc.c:
6151 * gst/base/gstpushsrc.h:
6152 add short/long description docs to base classes
6153 add pushsrc to the docs
6154 remove consolidated doc fragments
6156 2005-08-03 Stefan Kost <ensonic@users.sf.net>
6159 * docs/libs/Makefile.am:
6160 * docs/libs/gstreamer-libs-docs.sgml:
6161 * docs/libs/gstreamer-libs-sections.txt:
6162 * docs/libs/gstreamer-libs.types:
6163 * examples/Makefile.am:
6164 * examples/controller/.cvsignore:
6165 * examples/controller/Makefile.am:
6166 * examples/controller/audio-example.c: (main):
6167 * libs/gst/Makefile.am:
6168 * libs/gst/controller/.cvsignore:
6169 * libs/gst/controller/Makefile.am:
6170 * libs/gst/controller/gst-controller.c:
6171 (on_object_controlled_property_changed), (gst_timed_value_compare),
6172 (gst_timed_value_find),
6173 (gst_controlled_property_set_interpolation_mode),
6174 (gst_controlled_property_new), (gst_controlled_property_free),
6175 (gst_controller_find_controlled_property),
6176 (gst_controller_new_valist), (gst_controller_new),
6177 (gst_controller_remove_properties_valist),
6178 (gst_controller_remove_properties), (gst_controller_set),
6179 (gst_controller_set_from_list), (gst_controller_unset),
6180 (gst_controller_get), (gst_controller_get_all),
6181 (gst_controller_sink_values), (gst_controller_get_value_arrays),
6182 (gst_controller_get_value_array),
6183 (gst_controller_set_interpolation_mode),
6184 (_gst_controller_finalize), (_gst_controller_init),
6185 (_gst_controller_class_init), (gst_controller_get_type):
6186 * libs/gst/controller/gst-controller.h:
6187 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
6188 (g_object_uncontrol_properties), (g_object_get_controller),
6189 (g_object_set_controller), (g_object_sink_values),
6190 (g_object_get_value_arrays), (g_object_get_value_array):
6191 * libs/gst/controller/gst-interpolation.c:
6192 (gst_controlled_property_find_timed_value_node),
6193 (interpolate_none_get), (interpolate_trigger_get),
6194 (interpolate_trigger_get_value_array):
6195 * libs/gst/controller/lib.c: (gst_controller_init):
6196 * pkgconfig/Makefile.am:
6197 * pkgconfig/gstreamer-control-uninstalled.pc.in:
6198 * pkgconfig/gstreamer-control.pc.in:
6199 * testsuite/Makefile.am:
6200 * testsuite/controller/.cvsignore:
6201 * testsuite/controller/Makefile.am:
6202 * testsuite/controller/interpolator.c: (main):
6203 added controller code
6204 removed dparam pc files
6206 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6207 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
6208 (gst_collectpads_stop):
6209 Broadcast the condition when shutting down, to make sure we wake all
6210 threads up. Shut down pads on finalize, for safety.
6212 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
6213 * gst/base/gstbasetransform.c: (gst_base_transform_init),
6214 (gst_base_transform_handle_buffer),
6215 (gst_base_transform_change_state):
6216 Handle PAUSED->READY->PAUSED transition after negotiation
6218 * gst/gstmessage.c: (gst_message_init):
6219 Extra piece of debug for new messages.
6221 2005-08-01 Stefan Kost <ensonic@users.sf.net>
6224 * docs/gst/tmpl/gstbasesrc.sgml:
6225 * docs/gst/tmpl/gstelement.sgml:
6226 * docs/gst/tmpl/gstevent.sgml:
6227 * docs/gst/tmpl/gstfakesrc.sgml:
6228 * docs/gst/tmpl/gstformat.sgml:
6229 * docs/gst/tmpl/gstghostpad.sgml:
6230 * docs/gst/tmpl/gstpad.sgml:
6231 * docs/gst/tmpl/gstquery.sgml:
6232 * docs/gst/tmpl/gststructure.sgml:
6233 * docs/gst/tmpl/gsttaglist.sgml:
6234 * docs/gst/tmpl/gstvalue.sgml:
6235 * docs/libs/gstreamer-libs-docs.sgml:
6236 * docs/libs/gstreamer-libs-sections.txt:
6237 * docs/libs/gstreamer-libs.types:
6238 * libs/gst/Makefile.am:
6239 * libs/gst/control/.cvsignore:
6240 * libs/gst/control/Makefile.am:
6241 * libs/gst/control/control.c:
6242 * libs/gst/control/control.h:
6243 * libs/gst/control/dparam.c:
6244 * libs/gst/control/dparam.h:
6245 * libs/gst/control/dparam_smooth.c:
6246 * libs/gst/control/dparam_smooth.h:
6247 * libs/gst/control/dparamcommon.h:
6248 * libs/gst/control/dparammanager.c:
6249 * libs/gst/control/dparammanager.h:
6250 * libs/gst/control/dplinearinterp.c:
6251 * libs/gst/control/dplinearinterp.h:
6252 * libs/gst/control/unitconvert.c:
6253 * libs/gst/control/unitconvert.h:
6254 * testsuite/Makefile.am:
6255 * testsuite/dynparams/.cvsignore:
6256 * testsuite/dynparams/Makefile.am:
6257 * testsuite/dynparams/dparamstest.c:
6258 * tools/Makefile.am:
6259 * tools/gst-inspect.c: (print_element_info), (main):
6260 * tools/gst-xmlinspect.c: (print_element_info), (main):
6261 deactivate and remove dparams (libgstcontrol)
6263 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6265 * gst/elements/gsttypefindelement.c:
6266 (gst_type_find_element_have_type), (gst_type_find_element_init),
6267 (stop_typefinding), (gst_type_find_element_handle_event),
6268 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6269 * gst/elements/gsttypefindelement.h:
6270 Set caps on all outgoing buffers, not just the first one.
6272 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6274 * gst/elements/gsttypefindelement.c:
6275 (gst_type_find_element_have_type),
6276 (gst_type_find_element_check_set_buffer_caps),
6277 (gst_type_find_element_init), (stop_typefinding),
6278 (gst_type_find_element_handle_event),
6279 (gst_type_find_element_chain), (gst_type_find_element_getrange):
6280 * gst/elements/gsttypefindelement.h:
6281 Set caps on first outgoing buffer when we've found the type.
6283 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
6285 * docs/gst/gstreamer-docs.sgml:
6286 * docs/gst/gstreamer-sections.txt:
6287 * docs/gst/tmpl/gstscheduler.sgml:
6288 * docs/gst/tmpl/gstschedulerfactory.sgml:
6289 Remove some old cruft from docs.
6291 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
6294 Fix inline docs for GstPadLinkReturn.
6296 * gst/gststructure.c: (gst_structure_has_name):
6297 * gst/gststructure.h:
6298 * docs/gst/gstreamer-sections.txt:
6299 New API: gst_structure_has_name().
6301 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
6304 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
6305 and _LARGEFILE_SOURCE in config.h as required. Do not
6306 export those flags in our .pc files any longer (#142209).
6308 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
6310 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
6311 (gst_file_sink_do_seek), (gst_file_sink_event),
6312 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6313 Redo seek/tell calls with large file support in mind; add some
6314 debugging messages; add log message that tells us when large
6315 file support is unavailable or not enabled for some reason.
6317 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
6318 Add log message that tells us when large file support
6319 is unavailable or not enabled for some reason.
6321 2005-07-29 Wim Taymans <wim@fluendo.com>
6323 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6324 Added test for removing an element with ghostpad from a bin.
6325 Fixed test as current implementation does the right thing.
6327 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
6328 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
6329 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
6330 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
6331 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
6332 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
6333 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
6334 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6335 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
6336 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
6337 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
6338 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
6339 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
6340 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
6341 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
6342 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
6343 * gst/gstghostpad.h:
6344 Clean up ghostpads, remove properties for internal stuff.
6347 Prepare for switching targets, not all use cases work yet.
6349 2005-07-29 Wim Taymans <wim@fluendo.com>
6351 * docs/design/part-gstghostpad.txt:
6354 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6355 (gst_bin_remove_func):
6356 Unlinking pads while holding the bin LOCK is not a good
6359 * gst/gstpad.c: (gst_pad_class_init),
6360 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
6361 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
6362 No prob setting template after creating the pad.
6364 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
6366 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
6367 (gst_bus_peek), (gst_bus_source_dispatch),
6368 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
6369 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
6370 gst_bus_poll may be called from other threads. Handle
6371 this nicely by not making poll_data disappear off the
6372 stack once gst_bus_poll returns.
6373 gst_bus_peek now increments the refcount on the returned
6376 2005-07-29 Wim Taymans <wim@fluendo.com>
6378 * docs/design/part-gstghostpad.txt:
6379 Overview of current GhostPad datastructures and use
6380 cases for changing the target.
6382 2005-07-28 Wim Taymans <wim@fluendo.com>
6384 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6385 Added checks for hierarchy consistency whan adding linked
6388 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
6389 Added check to test element scheduling without bin/pipeline.
6391 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
6392 First add elements to bin, then link.
6394 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
6395 (gst_bin_remove_func):
6396 Unlink pads from elements added/removed from bin to maintain
6397 hierarchy consistency.
6399 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6401 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
6402 (gst_base_transform_handle_buffer):
6403 * gst/base/gstbasetransform.h:
6404 Remove broken delay_configure (fixes renegotiation of software
6405 scaling pipelines); remove some leftover printf()s.
6407 2005-07-28 Wim Taymans <wim@fluendo.com>
6409 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
6410 Added some more tests for wrong hierarchy
6412 * docs/design/part-overview.txt:
6415 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
6418 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
6419 (gst_element_dispose):
6422 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6423 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
6424 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6425 (gst_pad_set_caps), (gst_pad_send_event):
6426 Check for correct hierarchy when linking pads. Moving to
6427 strict requirement for ghostpads when linking elements in
6431 Clean ups. Added WRONG_HIERARCHY return value.
6433 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6435 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
6436 Better debug if no transform is possible.
6438 2005-07-27 Wim Taymans <wim@fluendo.com>
6440 * docs/random/wtay/network-transp:
6443 2005-07-27 Wim Taymans <wim@fluendo.com>
6445 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6446 (gst_dp_event_from_packet):
6447 Fix serialization of seek events.
6449 2005-07-27 Wim Taymans <wim@fluendo.com>
6451 * check/gst-libs/gdp.c: (GST_START_TEST):
6452 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6453 Fix compilation and fix event serialization.
6455 2005-07-27 Wim Taymans <wim@fluendo.com>
6458 * docs/design/part-TODO.txt:
6459 * docs/design/part-events.txt:
6462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6463 (gst_base_sink_event), (gst_base_sink_do_sync),
6464 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6465 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6466 (gst_base_src_do_seek), (gst_base_src_event_handler),
6467 (gst_base_src_loop):
6468 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6469 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6470 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
6471 (gst_base_transform_event), (gst_base_transform_handle_buffer),
6472 (gst_base_transform_set_passthrough),
6473 (gst_base_transform_is_passthrough):
6474 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
6475 * gst/elements/gstfilesink.c: (gst_file_sink_event):
6481 * gst/gstelement.c: (gst_element_seek):
6483 Update gst_element_seek.
6485 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
6486 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
6487 (gst_event_new_flush_start), (gst_event_new_flush_stop),
6488 (gst_event_new_eos), (gst_event_new_newsegment),
6489 (gst_event_parse_newsegment), (gst_event_new_tag),
6490 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
6491 (gst_event_parse_qos), (gst_event_new_seek),
6492 (gst_event_parse_seek), (gst_event_new_navigation):
6494 Make GstEvent use GstStructure. Add parsing code, make sure the
6495 API is sufficiently generic.
6496 Mark possible directions of events and serialization.
6498 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
6499 (_gst_message_copy), (gst_message_new_segment_start),
6500 (gst_message_new_segment_done), (gst_message_new_custom),
6501 (gst_message_parse_segment_start),
6502 (gst_message_parse_segment_done):
6505 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6506 (gst_pad_set_caps), (gst_pad_send_event):
6507 Update for new events.
6508 Catch events sent in wrong directions.
6510 * gst/gstqueue.c: (gst_queue_link_src),
6511 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6512 (gst_queue_handle_src_query):
6517 Remove event code from this file.
6519 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6520 (gst_dp_event_from_packet):
6523 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6525 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
6526 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
6527 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
6528 Make debugging actually useful.
6530 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6532 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
6533 (gst_pad_fixate_caps):
6534 Implement default fixation once again, so that gst_pad_fixate()
6535 actually does anything at all. This probably needs to be some
6536 sort of a last resort, and use profile-based fixation first, but
6537 since that doesn't exist yet, this is the best we have. Fixes
6538 visualization in Totem.
6540 2005-07-22 Wim Taymans <wim@fluendo.com>
6542 * docs/design/part-events.txt:
6545 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6546 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
6547 (gst_base_sink_activate_pull):
6550 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
6551 (gst_fake_src_create):
6552 Fix handoff marshall.
6554 * gst/elements/gstidentity.c: (gst_identity_class_init),
6555 (gst_identity_transform_ip):
6556 We're a real inplace element.
6558 * gst/gstbus.c: (gst_bus_post):
6559 Added some comments.
6561 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
6562 * tests/muxing/case1.c: (main):
6563 * tests/sched/dynamic-pipeline.c: (main):
6564 * tests/sched/interrupt1.c: (main):
6565 * tests/sched/interrupt2.c: (main):
6566 * tests/sched/interrupt3.c: (main):
6567 * tests/sched/runxml.c: (main):
6568 * tests/sched/sched-stress.c: (main):
6569 * tests/seeking/seeking1.c: (event_received), (main):
6570 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6572 * tests/threadstate/threadstate3.c: (main):
6573 * tests/threadstate/threadstate4.c: (main):
6574 * tests/threadstate/threadstate5.c: (main):
6577 2005-07-21 Wim Taymans <wim@fluendo.com>
6579 * docs/design/part-seeking.txt:
6580 Some small additions.
6582 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6583 (gst_base_sink_get_times), (gst_base_sink_do_sync),
6584 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
6585 * gst/base/gstbasesink.h:
6586 discont values are gint64, handle the math correctly.
6588 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6589 Make the basesrc report error if the source pad is not linked.
6591 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
6592 (gst_queue_loop), (gst_queue_handle_src_query),
6593 (gst_queue_src_activate_push):
6594 Make queue collect data even if the srcpad is not linked.
6595 Start pushing out data as soon as it is linked.
6597 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
6599 Added gst_flow_get_name() to ease error reporting.
6601 2005-07-20 Wim Taymans <wim@fluendo.com>
6603 * gst/gstmessage.c: (gst_message_new_segment_start),
6604 (gst_message_new_segment_done), (gst_message_parse_segment_start),
6605 (gst_message_parse_segment_done):
6607 Added a bunch of messages for advanced seeking.
6609 * gst/parse/grammar.y:
6610 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
6611 (gst_dpman_state_changed):
6612 Fix some new-pad -> pad-added signals
6614 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6616 * docs/manual/appendix-porting.xml:
6617 * docs/pwg/appendix-porting.xml:
6618 Document new-pad/state-change signal renames and the FixedList
6621 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6623 * docs/manual/advanced-autoplugging.xml:
6624 * docs/manual/basics-helloworld.xml:
6625 * docs/manual/basics-pads.xml:
6626 * docs/random/ds/0.9-suggested-changes:
6627 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
6632 * gst/gststructure.c: (gst_structure_value_get_generic_type),
6633 (gst_structure_parse_array), (gst_structure_parse_value):
6634 * gst/gstvalue.c: (gst_type_is_fixed),
6635 (gst_value_list_prepend_value), (gst_value_list_append_value),
6636 (gst_value_list_get_size), (gst_value_list_get_value),
6637 (gst_value_transform_array_string), (gst_value_serialize_array),
6638 (gst_value_deserialize_array), (gst_value_intersect_array),
6639 (gst_value_is_fixed), (_gst_value_initialize):
6641 GstElement::new-pad -> pad-added, GstElement::state-change ->
6642 state-changed, GstValueFixedList -> GstValueArray, add format and
6643 flags as their own arguments in gst_element_seek() (should improve
6644 "bindeability"), remove function generators since they don't work
6645 under a whole bunch of compilers (they were deprecated already
6648 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6650 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6651 (_gst_debug_register_funcptr):
6653 Fix illegal cast on some platforms (#309253).
6655 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6657 * gst/gstmessage.c: (gst_message_new_custom):
6659 Add _new_custom, make _new_application a macro to _new_custom.
6661 2005-07-20 Wim Taymans <wim@fluendo.com>
6663 * gst/base/gstbasesrc.c: (gst_base_src_init),
6664 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
6665 * gst/base/gstbasesrc.h:
6666 Add a gboolean to decide when to push out a discont.
6668 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6669 (gst_queue_loop), (gst_queue_handle_src_query),
6670 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
6671 (gst_queue_set_property), (gst_queue_get_property):
6674 * tests/threadstate/threadstate1.c: (main):
6675 Make a thread test compile and run... very silly..
6678 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6680 * docs/manual/appendix-porting.xml:
6681 Mention removal of libgstgconf-0.9.la and existence of gconf
6684 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6686 * docs/pwg/advanced-clock.xml:
6687 * docs/pwg/appendix-porting.xml:
6688 * docs/pwg/intro-preface.xml:
6689 * docs/pwg/other-base.xml:
6690 * docs/pwg/other-manager.xml:
6691 * docs/pwg/other-nton.xml:
6692 * docs/pwg/other-ntoone.xml:
6693 * docs/pwg/other-oneton.xml:
6695 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
6696 demuxer), remove n-to-n (was never written), fix some code examples
6697 and links and update the porting section to include all this.
6699 2005-07-19 Wim Taymans <wim@fluendo.com>
6701 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
6702 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
6703 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
6704 (gst_queue_src_activate_push), (gst_queue_change_state),
6705 (gst_queue_get_property):
6707 Propagate GstFlowReturn more intelligently upstream and output
6708 an ERROR/EOS when streaming stopped due to fatal error.
6710 2005-07-19 Wim Taymans <wim@fluendo.com>
6712 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6713 Don't block forever for the state change to complete, the
6714 pipeline already did with a sensible timeout.
6716 2005-07-19 Wim Taymans <wim@fluendo.com>
6718 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
6719 Make sure we never call the create function is we
6722 2005-07-19 Andy Wingo <wingo@pobox.com>
6724 * gst/parse/parse.l: Attempt to solve bug #172815.
6726 2005-07-19 Wim Taymans <wim@fluendo.com>
6728 * docs/design/part-clocks.txt:
6729 * docs/design/part-events.txt:
6730 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
6732 Only update the seeking values when we are not
6735 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6737 * gst/base/gstbasesrc.c: (gst_base_src_loop):
6738 Oops, ignore the result of gst_pad_push_event here.
6740 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
6742 * gst/base/gstbasesrc.c: (gst_base_src_loop),
6743 (gst_base_src_activate_push):
6744 Send discont event from the loop function, as pads
6745 aren't activated yet in the activate_push handler.
6747 * gst/gstbin.c: (bin_bus_handler):
6748 Don't leak element name.
6750 2005-07-18 Andy Wingo <wingo@pobox.com>
6752 * configure.ac: Use AS_LIBTOOL_TAGS.
6754 2005-07-18 Wim Taymans <wim@fluendo.com>
6756 * docs/gst/gstreamer.types:
6757 Remove deleted types.
6759 2005-07-18 Wim Taymans <wim@fluendo.com>
6761 * check/elements/gstfakesrc.c: (GST_START_TEST):
6764 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
6765 (init_popt_callback):
6767 * gst/gst_private.h:
6768 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
6769 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
6772 * gst/gstconfig.h.in:
6773 * gst/gstelement.c: (gst_element_class_init),
6774 (gst_element_set_base_time), (gst_element_get_base_time),
6775 (iterator_fold_with_resync), (gst_element_change_state),
6776 (gst_element_dispose), (gst_element_get_bus):
6778 * gst/gstelementfactory.h:
6779 * gst/gsterror.c: (_gst_core_errors_init):
6782 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6784 * gst/gstinfo.c: (_gst_debug_init):
6785 * gst/gstmessage.c: (_gst_message_copy):
6787 * gst/gstminiobject.h:
6790 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
6791 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
6794 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
6795 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6796 (gst_pipeline_get_last_stream_time):
6797 * gst/gstpipeline.h:
6798 * gst/gstpluginfeature.h:
6800 * gst/gstscheduler.c:
6801 * gst/gstscheduler.h:
6802 * gst/gststructure.h:
6803 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6804 (gst_task_finalize), (gst_task_func), (gst_task_create),
6805 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
6806 (gst_task_stop), (gst_task_pause):
6808 * gst/gsttypefind.h:
6810 * gst/registries/gstlibxmlregistry.c: (load_feature),
6811 (gst_xml_registry_load), (gst_xml_registry_save_feature):
6812 * gst/registries/gstxmlregistry.c:
6813 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
6814 * gst/schedulers/threadscheduler.c:
6815 * libs/gst/control/dparammanager.h:
6816 * tools/gst-inspect.c: (print_element_list),
6817 (print_plugin_features), (print_element_features):
6818 * tools/gst-xmlinspect.c: (print_element_list),
6819 (print_plugin_info), (main):
6820 Removed plugable schedulers.
6821 Removed Scheduler/Manager from elements.
6822 Removed gsttypes.h, rearranged includes.
6823 Removed dependency pad<->element, element<>pipeline, and
6824 various others, fix includes.
6825 implement gst_pad_get_parent() with gst_object_get_parent()
6826 Make GstTask sefcontained.
6827 Fix _get_state() on GstBin, it did not return ASYNC with a 0
6829 Fix endless loop in iterator_fold_with_resync.
6832 2005-07-18 Wim Taymans <wim@fluendo.com>
6838 2005-07-18 Wim Taymans <wim@fluendo.com>
6843 2005-07-18 Wim Taymans <wim@fluendo.com>
6849 2005-07-18 Wim Taymans <wim@fluendo.com>
6851 * docs/design/part-dynamic.txt:
6852 * docs/design/part-events.txt:
6853 * docs/design/part-seeking.txt:
6854 Some more docs in the works.
6856 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
6857 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
6858 (gst_base_transform_setcaps), (gst_base_transform_get_size),
6859 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
6860 (gst_base_transform_handle_buffer),
6861 (gst_base_transform_sink_activate_push),
6862 (gst_base_transform_src_activate_pull),
6863 (gst_base_transform_set_passthrough),
6864 (gst_base_transform_is_passthrough):
6867 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
6870 * gst/gstevent.c: (gst_event_finalize):
6873 * gst/gstutils.c: (gst_element_unlink),
6874 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
6875 (gst_pad_proxy_setcaps):
6877 Add _get_parent_element() to get a pads parent as an element.
6879 2005-07-18 Wim Taymans <wim@fluendo.com>
6881 * check/gst/gstbin.c: (GST_START_TEST):
6884 2005-07-18 Wim Taymans <wim@fluendo.com>
6886 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
6887 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
6888 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
6889 (gst_base_sink_event), (gst_base_sink_do_sync),
6890 (gst_base_sink_chain), (gst_base_sink_loop),
6891 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
6892 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
6894 Fix logic for returning ASYNC when not prerolled.
6896 2005-07-18 Wim Taymans <wim@fluendo.com>
6898 * gst/gstqueue.c: (gst_queue_handle_sink_event):
6899 Fix nasty refcount bug.
6901 2005-07-16 Philippe Khalaf <burger@speedy.org>
6903 * gst/elements/gstfdsrc.c:
6904 * gst/elements/gstfdsrc.h:
6905 * gst/elements/gstelements.c:
6906 * gst/elements/Makefile.am:
6907 Ported fdsrc to 0.9.
6909 2005-07-16 Wim Taymans <wim@fluendo.com>
6911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6912 (gst_base_sink_do_sync):
6915 2005-07-16 Wim Taymans <wim@fluendo.com>
6917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6918 (gst_base_sink_event), (gst_base_sink_get_times),
6919 (gst_base_sink_do_sync), (gst_base_sink_change_state):
6920 * gst/base/gstbasesink.h:
6921 Store and use discont values when syncing buffers as described
6924 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
6925 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
6926 (gst_base_src_activate_push):
6927 Push discont event when starting.
6929 * gst/elements/gstidentity.c: (gst_identity_transform):
6932 * gst/gstbin.c: (gst_bin_change_state):
6933 Small cleanups in base_time distribution.
6935 * gst/gstelement.c: (gst_element_set_base_time),
6936 (gst_element_get_base_time), (gst_element_change_state):
6938 Added methods for the base_time of the element.
6941 * gst/gstpipeline.c: (gst_pipeline_send_event),
6942 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
6943 (gst_pipeline_get_last_stream_time):
6944 * gst/gstpipeline.h:
6946 Handle seeking as described in design doc, remove stream_time
6948 Cleanups clock and stream_time selection code. Added accessors
6949 for the stream_time.
6952 2005-07-16 Andy Wingo <wingo@pobox.com>
6954 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
6957 2005-07-16 Wim Taymans <wim@fluendo.com>
6959 * check/gst/gstbin.c: (GST_START_TEST):
6960 Make elements silent as the deep_notify refs the
6961 parent, which might make the test fail.
6963 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
6964 Don't hold the lock for too long.
6966 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
6968 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6969 Don't unref the caps we passed to gst_caps_make_writable() after
6970 passing them. gst_caps_make_writable() will do that for us.
6972 2005-07-15 Andy Wingo <wingo@pobox.com>
6974 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
6977 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
6978 own marshalling function for the handoff signal. Properly type the
6979 buffer as a buffer. Fixes some warnings. Should do a more general
6981 (gst_identity_class_init): Plug into the right marshaller.
6983 2005-07-15 Wim Taymans <wim@fluendo.com>
6985 * docs/design/part-TODO.txt:
6986 * docs/design/part-clocks.txt:
6987 * docs/design/part-element-sink.txt:
6988 * docs/design/part-events.txt:
6989 * docs/design/part-gstpipeline.txt:
6990 Updated docs, mostly DISCONT related.
6992 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
6994 * docs/pwg/building-pads.xml:
6995 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
6997 2005-07-15 Andy Wingo <wingo@pobox.com>
6999 * tools/gst-typefind.c: Update, add copyright block.
7001 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
7002 Normalize and truncate caps before fixation.
7005 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
7006 discards all but the first structure from its argument.
7008 2005-07-15 Wim Taymans <wim@fluendo.com>
7010 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7011 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
7012 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7013 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7014 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
7015 (gst_base_transform_chain), (gst_base_transform_change_state),
7016 (gst_base_transform_set_passthrough),
7017 (gst_base_transform_is_passthrough):
7018 * gst/base/gstbasetransform.h:
7019 Make passthrough work using the bufferpools.
7020 Changed API a bit, subclasses have to write into a buffer
7021 provided by the base class.
7022 More debug info in nego functions.
7024 * gst/elements/gstidentity.c: (gst_identity_init),
7025 (gst_identity_transform):
7026 Port to new base class.
7028 2005-07-15 Wim Taymans <wim@fluendo.com>
7030 * gst/gstmessage.c: (gst_message_new_state_changed):
7031 * tools/gst-launch.c: (event_loop), (main):
7032 Totally dump messages in -launch with the -m option.
7033 Fix message name for State messages,
7035 2005-07-14 Wim Taymans <wim@fluendo.com>
7037 * gst/base/gstbasesrc.c: (gst_base_src_loop):
7038 Post error messages on errors.
7040 2005-07-14 Wim Taymans <wim@fluendo.com>
7042 * gst/gstcaps.c: (gst_caps_do_simplify):
7046 Define error for stream stopped.
7048 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
7049 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
7050 Do proper return values.
7052 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
7053 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
7054 (gst_pad_get_range):
7055 Better return values.
7058 Reorganise return values, add macro to check for fatal errors.
7060 * gst/gstqueue.c: (gst_queue_chain):
7061 Return proper GstFlowReturn values,
7063 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
7065 * docs/gst/gstreamer-sections.txt:
7066 * docs/gst/gstreamer.types:
7067 * docs/gst/tmpl/gst.sgml:
7068 * docs/gst/tmpl/gstbasesink.sgml:
7069 * docs/gst/tmpl/gstbasesrc.sgml:
7070 * docs/gst/tmpl/gstbasetransform.sgml:
7071 * docs/gst/tmpl/gstbin.sgml:
7072 * docs/gst/tmpl/gstbuffer.sgml:
7073 * docs/gst/tmpl/gstcaps.sgml:
7074 * docs/gst/tmpl/gstclock.sgml:
7075 * docs/gst/tmpl/gstcompat.sgml:
7076 * docs/gst/tmpl/gstconfig.sgml:
7077 * docs/gst/tmpl/gstelement.sgml:
7078 * docs/gst/tmpl/gstelementdetails.sgml:
7079 * docs/gst/tmpl/gstelementfactory.sgml:
7080 * docs/gst/tmpl/gstenumtypes.sgml:
7081 * docs/gst/tmpl/gsterror.sgml:
7082 * docs/gst/tmpl/gstevent.sgml:
7083 * docs/gst/tmpl/gstfakesink.sgml:
7084 * docs/gst/tmpl/gstfakesrc.sgml:
7085 * docs/gst/tmpl/gstfilesink.sgml:
7086 * docs/gst/tmpl/gstfilesrc.sgml:
7087 * docs/gst/tmpl/gstfilter.sgml:
7088 * docs/gst/tmpl/gstformat.sgml:
7089 * docs/gst/tmpl/gstghostpad.sgml:
7090 * docs/gst/tmpl/gstimplementsinterface.sgml:
7091 * docs/gst/tmpl/gstindex.sgml:
7092 * docs/gst/tmpl/gstindexfactory.sgml:
7093 * docs/gst/tmpl/gstinfo.sgml:
7094 * docs/gst/tmpl/gstiterator.sgml:
7095 * docs/gst/tmpl/gstmacros.sgml:
7096 * docs/gst/tmpl/gstmemchunk.sgml:
7097 * docs/gst/tmpl/gstminiobject.sgml:
7098 * docs/gst/tmpl/gstobject.sgml:
7099 * docs/gst/tmpl/gstpad.sgml:
7100 * docs/gst/tmpl/gstpadtemplate.sgml:
7101 * docs/gst/tmpl/gstparse.sgml:
7102 * docs/gst/tmpl/gstpipeline.sgml:
7103 * docs/gst/tmpl/gstplugin.sgml:
7104 * docs/gst/tmpl/gstpluginfeature.sgml:
7105 * docs/gst/tmpl/gstquery.sgml:
7106 * docs/gst/tmpl/gstqueue.sgml:
7107 * docs/gst/tmpl/gstregistry.sgml:
7108 * docs/gst/tmpl/gstregistrypool.sgml:
7109 * docs/gst/tmpl/gstscheduler.sgml:
7110 * docs/gst/tmpl/gstschedulerfactory.sgml:
7111 * docs/gst/tmpl/gststructure.sgml:
7112 * docs/gst/tmpl/gstsystemclock.sgml:
7113 * docs/gst/tmpl/gsttaglist.sgml:
7114 * docs/gst/tmpl/gsttagsetter.sgml:
7115 * docs/gst/tmpl/gsttrace.sgml:
7116 * docs/gst/tmpl/gsttrashstack.sgml:
7117 * docs/gst/tmpl/gsttypefind.sgml:
7118 * docs/gst/tmpl/gsttypefindfactory.sgml:
7119 * docs/gst/tmpl/gsttypes.sgml:
7120 * docs/gst/tmpl/gsturihandler.sgml:
7121 * docs/gst/tmpl/gsturitype.sgml:
7122 * docs/gst/tmpl/gstutils.sgml:
7123 * docs/gst/tmpl/gstvalue.sgml:
7124 * docs/gst/tmpl/gstversion.sgml:
7125 * docs/gst/tmpl/gstxml.sgml:
7126 * docs/libs/tmpl/gstcontrol.sgml:
7127 * docs/libs/tmpl/gstdataprotocol.sgml:
7128 * docs/libs/tmpl/gstdparam.sgml:
7129 * docs/libs/tmpl/gstdplinint.sgml:
7130 * docs/libs/tmpl/gstdpman.sgml:
7131 * docs/libs/tmpl/gstdpsmooth.sgml:
7132 * docs/libs/tmpl/gstgetbits.sgml:
7133 * docs/libs/tmpl/gstunitconvert.sgml:
7134 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
7135 (gst_push_src_base_init), (gst_push_src_class_init),
7136 (gst_push_src_init), (gst_push_src_create):
7137 * gst/base/gstpushsrc.h:
7138 * gst/elements/gstelements.c:
7139 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
7140 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
7141 (gst_fake_sink_init), (gst_fake_sink_set_property),
7142 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
7143 (gst_fake_sink_event), (gst_fake_sink_preroll),
7144 (gst_fake_sink_render), (gst_fake_sink_change_state):
7145 * gst/elements/gstfakesink.h:
7146 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7147 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7148 (gst_fake_src_base_init), (gst_fake_src_class_init),
7149 (gst_fake_src_init), (gst_fake_src_event_handler),
7150 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
7151 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
7152 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
7153 (gst_fake_src_create_buffer), (gst_fake_src_create),
7154 (gst_fake_src_start), (gst_fake_src_stop):
7155 * gst/elements/gstfakesrc.h:
7156 * gst/elements/gstfilesink.c: (_do_init),
7157 (gst_file_sink_base_init), (gst_file_sink_class_init),
7158 (gst_file_sink_init), (gst_file_sink_dispose),
7159 (gst_file_sink_set_location), (gst_file_sink_set_property),
7160 (gst_file_sink_get_property), (gst_file_sink_open_file),
7161 (gst_file_sink_close_file), (gst_file_sink_query),
7162 (gst_file_sink_event), (gst_file_sink_render),
7163 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
7164 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
7165 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
7166 * gst/elements/gstfilesink.h:
7167 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
7168 (gst_file_src_class_init), (gst_file_src_init),
7169 (gst_file_src_finalize), (gst_file_src_set_location),
7170 (gst_file_src_set_property), (gst_file_src_get_property),
7171 (gst_file_src_map_region), (gst_file_src_map_small_region),
7172 (gst_file_src_create_mmap), (gst_file_src_create_read),
7173 (gst_file_src_create), (gst_file_src_is_seekable),
7174 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
7175 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
7176 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
7177 (gst_file_src_uri_handler_init):
7178 * gst/elements/gstfilesrc.h:
7179 more autistic cleanliness in functions/names/defines
7181 2005-07-13 Andy Wingo <wingo@pobox.com>
7183 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
7184 source couldn't negotiate.
7186 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
7190 * gst/gstutils.c (gst_element_link_pads_filtered): New old
7191 function. I am channeling Hades. Put your boots on suckers!!!
7193 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
7195 * testsuite/caps/Makefile.am:
7196 * testsuite/caps/value_compare.c:
7197 * testsuite/caps/value_intersect.c:
7198 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7199 move two testsuite apps over to the check dir
7201 2005-07-12 Wim Taymans <wim@fluendo.com>
7203 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7204 Added more debug info in the negotiate process.
7207 Prepare for segment playback.
7209 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
7215 * tools/gst-launch.c: (main):
7216 NULL pipeline on errors.
7218 2005-07-12 Andy Wingo <wingo@pobox.com>
7220 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
7221 not it comes from a malloc region. Make sure our copy gets freed.
7223 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7225 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
7226 * check/gst/gstmessage.c: (GST_START_TEST):
7227 * check/gst/gststructure.c: (GST_START_TEST),
7228 (gst_structure_suite), (main):
7230 * gst/gstelement.c: (gst_element_message_full):
7231 clean up GError and debug string now that they get copied
7232 * gst/gstmessage.c: (gst_message_new_error),
7233 (gst_message_new_warning), (gst_message_parse_error),
7234 (gst_message_parse_warning):
7235 use GST_TYPE_G_ERROR for structure_new, and take copies of
7236 arguments, so that we don't mess up refcounting
7238 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7240 * check/Makefile.am:
7241 add per-test valgrind targets
7242 * check/gst-libs/gdp.c: (GST_START_TEST),
7243 (gst_data_protocol_suite), (main):
7246 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
7248 * check/Makefile.am:
7249 instate more valgrindable tests
7250 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7251 (GST_START_TEST), (fakesrc_suite):
7252 * check/gst/gstpad.c: (GST_START_TEST):
7253 * check/gst/gststructure.c: (GST_START_TEST):
7255 * docs/gst/tmpl/gstminiobject.sgml:
7256 * gst/gstpad.c: (gst_pad_finalize):
7257 fix the static mutex leak
7259 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7261 * check/Makefile.am:
7262 add two more tests for valgrinding
7263 * check/gst/gstvalue.c: (GST_START_TEST):
7264 test refcount of deserialized buffer, found a leak
7265 * docs/gst/gstreamer-docs.sgml:
7266 * docs/gst/gstreamer-sections.txt:
7267 * docs/gst/gstreamer.types:
7268 * docs/gst/tmpl/gstminiobject.sgml:
7269 add miniobject to docs
7270 * gst/gstminiobject.c:
7272 * gst/gstvalue.c: (gst_value_deserialize_buffer),
7273 (gst_string_unwrap):
7274 fix a hard-to-find invalid write for one of the tests
7275 fix a leak for deserialized buffers
7277 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7279 * docs/pwg/advanced-events.xml:
7280 * docs/pwg/advanced-request.xml:
7281 * docs/pwg/advanced-scheduling.xml:
7282 * docs/pwg/appendix-porting.xml:
7283 * docs/pwg/building-boiler.xml:
7284 * docs/pwg/intro-preface.xml:
7285 * docs/pwg/other-ntoone.xml:
7286 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
7287 of example code and explanation for pad activation, loop() and
7288 getrange() functions and a bit more. Remove old comments pointing
7290 * examples/pwg/Makefile.am:
7291 Add loop/getrange examples.
7293 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7296 check for valgrind binary + some fixes
7298 valgrind suppressions for the tests
7299 * check/Makefile.am:
7300 add a valgrind: target that valgrinds the unit tests
7301 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
7302 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
7303 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7304 * check/gst/gstghostpad.c:
7306 * check/gst/gstdata.c:
7308 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
7309 (thread_unref), (gst_mini_object_suite), (main):
7311 * gst/gst.c: (gst_deinit):
7313 add a method to clean up.
7314 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7315 (gst_system_clock_obtain):
7316 allow for disposing the system clock.
7317 * tools/gst-launch.c: (main):
7320 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
7322 * docs/gst/tmpl/gstbasesrc.sgml:
7323 * docs/gst/tmpl/gstfakesrc.sgml:
7324 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7325 (gst_base_src_init), (gst_base_src_set_property),
7326 (gst_base_src_get_property), (gst_base_src_get_range),
7327 (gst_base_src_start):
7328 * gst/base/gstbasesrc.h:
7329 add num-buffers property
7330 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7331 (gst_fakesrc_init), (gst_fakesrc_set_property),
7332 (gst_fakesrc_get_property), (gst_fakesrc_create),
7333 (gst_fakesrc_start):
7334 remove num-buffers property
7336 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7338 * docs/gst/gstreamer-sections.txt:
7339 * docs/gst/tmpl/gstbasesink.sgml:
7340 * docs/gst/tmpl/gstbasesrc.sgml:
7341 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
7342 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
7343 (gst_base_sink_finalize), (gst_base_sink_set_clock),
7344 (gst_base_sink_set_property), (gst_base_sink_get_property),
7345 (gst_base_sink_handle_object), (gst_base_sink_event),
7346 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7347 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
7348 (gst_base_sink_loop), (gst_base_sink_deactivate),
7349 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
7350 (gst_base_sink_change_state):
7351 * gst/base/gstbasesink.h:
7352 * gst/base/gstbasesrc.h:
7353 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
7354 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7355 (gst_filesink_init):
7356 more macro splitting
7358 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7360 * gst/gstelement.c: (gst_element_get_bus):
7362 * tools/gst-launch.c: (check_intr), (event_loop):
7365 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7367 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
7370 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
7372 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7373 (gst_base_src_finalize):
7374 add finalize method and clean up properly
7375 * gst/gstpipeline.c: (gst_pipeline_dispose):
7378 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7380 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
7382 add more things to check
7383 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
7387 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7389 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7390 (GST_START_TEST), (fakesrc_suite):
7391 * check/gst-libs/gdp.c: (GST_START_TEST):
7392 * check/gst/gst.c: (GST_START_TEST):
7393 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
7394 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
7395 * check/gst/gstbus.c: (GST_START_TEST):
7396 * check/gst/gstcaps.c: (GST_START_TEST):
7397 * check/gst/gstdata.c: (GST_START_TEST):
7398 * check/gst/gstelement.c: (GST_START_TEST):
7399 * check/gst/gstghostpad.c: (GST_START_TEST):
7400 * check/gst/gstiterator.c: (GST_START_TEST):
7401 * check/gst/gstmessage.c: (GST_START_TEST):
7402 * check/gst/gstobject.c: (GST_START_TEST):
7403 * check/gst/gstpad.c: (GST_START_TEST):
7404 * check/gst/gststructure.c: (GST_START_TEST):
7405 * check/gst/gstsystemclock.c: (GST_START_TEST),
7406 (gst_systemclock_suite):
7407 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
7408 * check/gst/gstvalue.c: (GST_START_TEST):
7409 * check/pipelines/cleanup.c: (GST_START_TEST):
7410 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
7411 * check/states/sinks.c: (GST_START_TEST):
7412 * check/gstcheck.c: (gst_check_init):
7414 add debugging category
7415 use GST_START_TEST now, so we add a debug line
7417 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
7419 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
7420 add test for state change message on a bin
7421 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
7423 * gst/gstbin.c: (gst_bin_init):
7424 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
7425 * gst/gstelement.c: (gst_element_post_message),
7426 (gst_element_set_state):
7427 * gst/gstelementfactory.c: (gst_element_factory_create):
7428 * gst/gstmessage.c: (gst_message_new):
7429 * gst/gstscheduler.c:
7430 various debugging additions and cleanups
7432 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7434 * check/Makefile.am:
7435 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
7437 adding tests for elements
7438 * gst/gstelement.c: (gst_element_dispose):
7440 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7442 * gst/registries/gstlibxmlregistry.c: (load_feature):
7443 plug more leaks. A simple gst_init() now is leakfree, yay.
7445 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7447 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
7448 (gst_xml_registry_load):
7449 plug another memleak
7451 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7454 use GST_SET_ERROR_CFLAGS
7456 change to ERROR_CFLAGS
7458 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
7461 make GST_ERROR_CFLAGS overridable and re-enable Werror
7463 add a note about error CFLAGS
7464 * docs/gst/tmpl/gstfakesrc.sgml:
7465 * gst/elements/gstfakesrc.c:
7466 comment out some unused code
7467 * gst/gst.c: (split_and_iterate):
7468 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
7472 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7474 * common/Makefile.am:
7475 * common/gtk-doc.mak:
7476 * docs/gst/Makefile.am:
7477 factor out gtk-doc.mak
7479 2005-07-07 Wim Taymans <wim@fluendo.com>
7481 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
7482 (gst_thread_scheduler_dispose):
7483 Unlock the STREAM_LOCK completely.
7485 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
7487 * check/Makefile.am:
7488 * check/elements/.cvsignore:
7489 * check/elements/gstfakesrc.c: (chain_func), (event_func),
7490 (START_TEST), (fakesrc_suite), (main):
7491 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7492 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
7493 (gst_fakesrc_create), (gst_fakesrc_start):
7494 * gst/elements/gstfakesrc.h:
7495 adding a first element test
7497 2005-07-07 Andy Wingo <wingo@pobox.com>
7499 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
7502 2005-07-07 Wim Taymans <wim@fluendo.com>
7508 2005-07-07 Wim Taymans <wim@fluendo.com>
7510 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
7511 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
7512 Allow subclasses to implement their own negotiation.
7514 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7516 * docs/design/part-gstbin.txt:
7517 * docs/design/part-gstpipeline.txt:
7518 Update design notes to reflect the movement of
7519 responsibility for bus handling from GstPipeline to
7522 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7525 Remove unnecessary queue2/3/4 examples.
7527 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
7529 * examples/Makefile.am:
7530 * examples/helloworld/helloworld.c: (event_loop), (main):
7531 * examples/queue/queue.c: (event_loop), (main):
7532 * examples/queue2/queue2.c: (main):
7533 Update a couple of the examples to work again.
7535 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7536 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
7537 Spelling corrections and extra debug.
7539 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
7540 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
7541 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
7543 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
7544 (gst_pipeline_change_state):
7545 * gst/gstpipeline.h:
7546 Move the bus handler for children to the GstBin, and create a
7547 separate bus for receiving messages from children to the one the
7548 bus sends 'upwards' on.
7550 2005-07-06 Wim Taymans <wim@fluendo.com>
7553 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7554 (gst_base_sink_handle_object), (gst_base_sink_loop),
7555 (gst_base_sink_change_state):
7556 * gst/base/gstbasesink.h:
7557 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7558 (gst_base_src_init), (gst_base_src_setcaps),
7559 (gst_base_src_getcaps), (gst_base_src_loop),
7560 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
7561 (gst_base_src_start), (gst_base_src_change_state):
7562 * gst/base/gstbasesrc.h:
7563 Make basesrc negotiate.
7564 Handle the case where preroll fails in basesink.
7567 2005-07-06 Wim Taymans <wim@fluendo.com>
7569 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
7570 Implement the fixate function.
7571 Clean up acceptcaps.
7573 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7575 * docs/pwg/building-filterfactory.xml:
7577 Remove never-written filter-factory chapter; I'll add the various
7578 base classes to part 4 ("other element types") later on.
7580 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7582 * docs/pwg/advanced-negotiation.xml:
7583 * docs/pwg/building-boiler.xml:
7584 * docs/pwg/building-pads.xml:
7586 * examples/pwg/Makefile.am:
7587 Add a chapter on caps negotiation, simplify the original code
7588 samples a bit w.r.t. caps negotiation, add link to the advanced
7589 section. Add a bunch of examples showing different use cases of
7590 different types of caps negotiation. Upstream renegotiation isn't
7591 fully documented yet since nobody knows how that works.
7593 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
7595 * check/gst/gstpad.c:
7597 * gst/gstpad.c: (gst_pad_get_internal_links_default):
7598 if pad has no parent, return NULL as list of internal links
7600 2005-07-05 Andy Wingo <wingo@pobox.com>
7602 * gst/elements/gstfilesrc.c:
7603 * gst/elements/gstfakesrc.c:
7604 * gst/base/gstpushsrc.c:
7605 * gst/base/gstbasesrc.h:
7606 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
7608 2005-07-05 Stefan Kost <ensonic@users.sf.net>
7611 better report generation target (lcov needs a patch)
7613 2005-07-05 Andy Wingo <wingo@pobox.com>
7615 * gst/elements, testsuite: Null if we got it...
7617 2005-07-05 Wim Taymans <wim@fluendo.com>
7620 * libs/gst/dataprotocol/Makefile.am:
7621 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
7622 * libs/gst/dataprotocol/dataprotocol.h:
7623 * pkgconfig/Makefile.am:
7624 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
7625 * pkgconfig/gstreamer-dataprotocol.pc.in:
7626 Ported dataprotol to 0.9.
7627 Added pkgconfig files.
7629 2005-07-05 Andy Wingo <wingo@pobox.com>
7631 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
7632 Default to returning TRUE for the case when tranform_caps returns
7633 a fixed caps, like for identity or volume.
7635 * check/gst/gstbus.c (pound_bus_with_messages):
7636 * check/gst/gstmessage.c (START_TEST):
7637 * check/pipelines/simple_launch_lines.c (got_handoff): Application
7640 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
7641 logic weaks here: always run transform_caps, trying passthrough
7642 operation only if the original caps intersects with the transform.
7644 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
7645 source and sink caps.
7647 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
7648 Intersect the peer caps with the pad template before going into
7650 (gst_base_transform_transform_caps): More debugging.
7652 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
7655 2005-07-04 Edward Hervey <edward@fluendo.com>
7659 (gst_pad_add_*_probe): now returns the signal id for better wrapping
7662 2005-07-04 Andy Wingo <wingo@pobox.com>
7664 * check/gst/gstpad.c: Only set explicit caps on pads.
7666 2005-07-01 Andy Wingo <wingo@pobox.com>
7668 * tests/network-clock.scm: Commentary update.
7670 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
7671 Didn't really make sense, not implementable with basetransform,
7673 (gst_identity_transform): Unref inbuf via make_writable. Feeble
7674 attempt at implementing the sync property, needs an unlock method.
7676 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
7677 New func, by default returns the same caps (the identity
7679 (gst_base_transform_getcaps): Uses transform_caps to return
7681 (gst_base_transform_setcaps): Complicated logic to get caps on
7682 both pads, even if they are different, and to call set_caps once
7683 for every time both pads get their caps set.
7684 (gst_base_transform_handle_buffer): Give the ref to the transform
7685 function. Allows in-place modification of the buffer.
7687 * gst/base/gstbasetransform.h (transform_caps): New class method.
7688 Given caps on one side, what can I do on the other.
7689 (set_caps): Take two caps, one for each side of the element.
7692 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
7693 caps in place. This is safe because we can check the mutability of
7694 the caps, and a good idea because fixate functions are just called
7695 as a matter of last resort. (Not actually implemented.)
7696 (gst_pad_set_caps): If the caps we're setting is actually the same
7697 as the existing pad caps, just update the pointer without calling
7698 setcaps. Assert that caps is either NULL or fixed, as per the
7701 * gst/gstghostpad.c: Update for fixate changes.
7703 2005-07-02 Andy Wingo <wingo@pobox.com>
7706 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
7707 two refcounts makes it immutable, which is enough. Doc more.
7709 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
7711 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
7712 Put the mini_object into GValue as a mini_object,
7713 not a gpointer, since that's how we declared
7716 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7718 * examples/pwg/Makefile.am:
7721 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7723 * docs/pwg/building-testapp.xml:
7725 * examples/pwg/Makefile.am:
7728 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7731 * examples/Makefile.am:
7732 * examples/pwg/Makefile.am:
7733 * examples/pwg/extract.pl:
7734 Enable building the PWG examples.
7735 * docs/pwg/advanced-interfaces.xml:
7736 Add URI interface stub.
7737 * docs/pwg/advanced-types.xml:
7738 * docs/pwg/other-autoplugger.xml:
7739 * docs/pwg/appendix-porting.xml:
7741 Add porting guide (mostly stubs), remove autoplugging (see ADM).
7742 * docs/pwg/building-boiler.xml:
7743 * docs/pwg/building-chainfn.xml:
7744 * docs/pwg/building-pads.xml:
7745 * docs/pwg/building-props.xml:
7746 * docs/pwg/building-state.xml:
7747 * docs/pwg/building-testapp.xml:
7748 Update the building-*.xml parts for 0.9 changes. All examples
7749 code blocks compile in examples/pwg/*.
7751 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7753 * docs/manual/advanced-autoplugging.xml:
7754 * docs/manual/appendix-checklist.xml:
7755 * docs/manual/appendix-integration.xml:
7756 * docs/manual/highlevel-components.xml:
7757 Fix playbin/decodebin examples, update docs a bit, mention bus
7758 instead of signals in various places, mention kmplayer and
7759 kaffeine since they have a working GStreamer backend in the KDE
7762 2005-06-30 Wim Taymans <wim@fluendo.com>
7765 * docs/design/draft-ghostpads.txt:
7766 * docs/design/draft-push-pull.txt:
7767 * docs/design/draft-query.txt:
7768 * docs/design/part-TODO.txt:
7769 * docs/design/part-query.txt:
7770 Added CHANGES-0.9 doc, updated status of other docs.
7775 2005-06-30 Wim Taymans <wim@fluendo.com>
7777 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7778 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
7779 (gst_base_sink_change_state):
7780 * gst/base/gstbasesink.h:
7781 Some tweaks, only EOS and a buffer complete a preroll.
7783 2005-06-30 Andy Wingo <wingo@pobox.com>
7785 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
7786 activate_push down to the internal pad as well.
7788 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
7790 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7792 * gst/gsttaginterface.c:
7793 Some documentation fixes (#307394 and #307397).
7795 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
7797 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7799 * gst/gstvalue.c: (gst_value_intersect_list):
7800 Fix memleak (#309125).
7802 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7804 * docs/manual/advanced-dataaccess.xml:
7805 Fix fakesrc example to compile; doesn't work, bug somewhere...?
7806 * docs/manual/basics-pads.xml:
7807 Add reference for filtered caps to above chapter.
7809 2005-06-30 Wim Taymans <wim@fluendo.com>
7811 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
7812 (gst_bin_change_state):
7814 Lame attempt at making the state change function a bit
7817 2005-06-30 Wim Taymans <wim@fluendo.com>
7819 * docs/design/part-clocks.txt:
7820 * docs/design/part-element-sink.txt:
7821 * docs/design/part-events.txt:
7822 * docs/design/part-preroll.txt:
7823 * docs/design/part-states.txt:
7824 Some more tweeks and additions to the docs.
7826 2005-06-30 Wim Taymans <wim@fluendo.com>
7828 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7829 (default_have_data), (gst_pad_class_init), (gst_pad_init),
7830 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7831 (gst_pad_check_pull_range), (gst_pad_get_range),
7832 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
7834 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
7835 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7836 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7837 (gst_pad_remove_buffer_probe):
7838 Removed atomic operations, use existing LOCK.
7839 Move exception handling out of main code path.
7841 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7843 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7844 (silly_return_true_function), (gst_pad_class_init),
7845 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
7846 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
7847 (gst_pad_send_event):
7848 Fix accumulator, add default value by using _emitv() instead
7849 of _emit() for signal emission.
7851 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7853 * docs/manual/advanced-dataaccess.xml:
7854 * examples/manual/Makefile.am:
7856 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
7859 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
7861 * gst/elements/gstfilesink.c: (gst_filesink_render):
7862 Simplify code so that we don't have to handle short
7863 writes and return GST_FLOW_ERROR if an error occured.
7865 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7867 * docs/gst/gstreamer-docs.sgml:
7870 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7872 * docs/gst/gstreamer-sections.txt:
7873 * docs/gst/tmpl/gstpad.sgml:
7874 * docs/gst/tmpl/gstprobe.sgml:
7876 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
7877 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
7878 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7879 (gst_pad_push_event), (gst_pad_send_event):
7881 * gst/gstutils.c: (gst_pad_add_data_probe),
7882 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
7883 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
7884 (gst_pad_remove_buffer_probe):
7886 Remove old probes, add new g-signal-based probes and some utility
7889 2005-06-29 Edward Hervey <edward@fluendo.com>
7891 * gst/gstelementfactory.c:
7894 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
7895 the definition to the header file.
7897 2005-06-29 Andy Wingo <wingo@pobox.com>
7899 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
7900 plugins from the source directory.
7902 2005-06-29 Wim Taymans <wim@fluendo.com>
7904 * docs/gst/tmpl/gstbuffer.sgml:
7905 * docs/gst/tmpl/gstclock.sgml:
7906 Some fixings for blantently wrong text.
7908 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7910 * check/Makefile.am:
7911 * gst/gst.c: (add_path_func), (init_pre):
7912 * gst/gstregistry.c: (gst_registry_add_path):
7913 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
7914 only scan the GST_PLUGIN_PATH locations, and not add
7917 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
7919 * docs/gst/gstreamer-sections.txt:
7920 * docs/gst/tmpl/gstbasesrc.sgml:
7927 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7929 * docs/manual/advanced-autoplugging.xml:
7930 Fix autoplugging example.
7932 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7934 * docs/manual/advanced-autoplugging.xml:
7935 * docs/manual/mime-world.fig:
7936 Try to get autoplugging working, fix type detection. Fix text
7937 in hello-world image.
7939 2005-06-29 Wim Taymans <wim@fluendo.com>
7941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7942 (gst_base_sink_change_state):
7946 map SIGNAL and BROADCAST to the right function.
7949 Remove redundant braces.
7951 * gst/gstpad.c: (gst_pad_set_caps):
7952 Don't call setcaps function when reseting caps to NULL.
7954 * gst/gstsystemclock.c: (gst_system_clock_dispose),
7955 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
7956 (gst_system_clock_id_unschedule):
7957 Use BROADCAST as this is what we do.
7959 2005-06-29 Wim Taymans <wim@fluendo.com>
7961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7962 We are actually prerolling before commiting the state
7965 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7967 * docs/manual/advanced-clocks.xml:
7968 * docs/manual/advanced-interfaces.xml:
7969 * docs/manual/advanced-metadata.xml:
7970 * docs/manual/advanced-position.xml:
7971 * docs/manual/advanced-schedulers.xml:
7972 * docs/manual/advanced-threads.xml:
7973 * docs/manual/appendix-porting.xml:
7974 * docs/manual/basics-bins.xml:
7975 * docs/manual/basics-bus.xml:
7976 * docs/manual/basics-elements.xml:
7977 * docs/manual/basics-helloworld.xml:
7978 * docs/manual/basics-pads.xml:
7979 * docs/manual/highlevel-components.xml:
7980 * docs/manual/manual.xml:
7981 * docs/manual/thread.fig:
7982 Update (until threads/scheduling) Application Development Manual;
7983 remove GstThread, add GstBus, add simple porting checklist, add
7984 documentation for tag writing, clocks, make all examples until this
7985 part compile and run.
7986 * examples/manual/Makefile.am:
7987 Update from changes to Application Development Manual; add bus
7988 example, remove thread example.
7990 2005-06-28 Wim Taymans <wim@fluendo.com>
7992 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
7993 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
7994 (gst_bus_source_dispatch):
7995 Add debugging messages.
7996 Make internal methods static.
7997 Handle the case where the bus is flushed in the handler.
7999 * gst/gstelement.c: (gst_element_get_bus):
8000 Fix refcount in _get_bus();
8002 * gst/gstpipeline.c: (gst_pipeline_change_state),
8003 (gst_pipeline_get_clock_func):
8004 Clock refcounting fixes.
8005 Handle the case where preroll timed out more gracefully.
8007 * gst/gstsystemclock.c: (gst_system_clock_dispose):
8008 Clean up the internal thread in dispose. This is needed
8009 for subclasses that actually get disposed.
8011 * gst/schedulers/threadscheduler.c:
8012 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8013 (gst_thread_scheduler_dispose):
8014 Free thread pool in dispose.
8016 2005-06-28 Andy Wingo <wingo@pobox.com>
8018 * tests/network-clock-utils.scm (debug, print-event): New utils.
8020 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
8021 (*packet-loss*): Unified loss probability.
8022 (network-time): Report out-of-band events.
8024 * tests/plot-data: Add support for out-of-band events. Hack it
8025 into this script instead of passing it down the pipe; should fix
8028 2005-06-28 Wim Taymans <wim@fluendo.com>
8030 * docs/gst/gstreamer.types:
8031 * docs/gst/tmpl/gstbasesrc.sgml:
8032 * docs/gst/tmpl/gstpad.sgml:
8035 2005-06-28 Wim Taymans <wim@fluendo.com>
8037 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8038 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
8039 (gst_proxy_pad_do_fixatecaps):
8040 Correctly proxy the check_pull_range function.
8042 2005-06-28 Andy Wingo <wingo@pobox.com>
8044 * tests/network-clock.scm: Removed need for slib.
8046 2005-06-28 Wim Taymans <wim@fluendo.com>
8048 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
8049 (gst_basesink_preroll_queue_flush):
8050 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
8051 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
8052 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8053 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8054 (gst_proxy_pad_set_property):
8057 * gst/gstqueue.c: (gst_queue_init):
8058 The deprecated pad loop function is removed now.
8060 2005-06-28 Andy Wingo <wingo@pobox.com>
8062 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
8063 New parameters, simulate network packet loss.
8065 * tests/network-clock-utils.scm: Initialize the RNG.
8067 2005-06-28 Wim Taymans <wim@fluendo.com>
8069 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
8070 (gst_basesink_event), (gst_basesink_deactivate):
8071 Flushing the preroll queue always needs to unlock the waiters.
8073 2005-06-28 Edward Hervey <edward@fluendo.com>
8075 * gst/gstpipeline.c: (gst_pipeline_send_event):
8076 Wheen a seek was successful on a pipeline, set the stream_time to the
8077 seek offset in order to have a synchronized stream_time.
8079 2005-06-28 Wim Taymans <wim@fluendo.com>
8081 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
8082 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
8083 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
8084 (gst_proxy_pad_do_fixatecaps):
8085 Call wrapper function instead of just calling the function
8086 pointers. This takes care of any locking and whatmore.
8088 2005-06-28 Wim Taymans <wim@fluendo.com>
8090 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
8091 (gst_pad_pull_range):
8093 CONNECTED -> LINKED.
8095 2005-06-28 Andy Wingo <wingo@pobox.com>
8097 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
8098 source-munging commit!!!
8100 * gst/gstobject.c (gst_object_unref, gst_object_ref)
8101 (gst_object_sink): Take gpointer arguments, not GstObject --
8102 avoids casts. Like GLib.
8104 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
8107 2005-06-27 Andy Wingo <wingo@pobox.com>
8109 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
8112 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
8113 returns a sorted copy of the trace list.
8114 (gst_alloc_trace_print_live): New API, only prints traces with
8115 live objects. Sort the list.
8116 (gst_alloc_trace_print_all): Sort the list.
8117 (gst_alloc_trace_print): Align columns.
8119 * gst/elements/gstttypefindelement.c:
8120 * gst/elements/gsttee.c:
8121 * gst/base/gstbasesrc.c:
8122 * gst/base/gstbasesink.c:
8123 * gst/base/gstbasetransform.c:
8124 * gst/gstqueue.c: Adapt for pad activation changes.
8126 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
8128 (gst_pipeline_dispose): Drop ref on sched.
8130 * gst/gstpad.c (gst_pad_init): Set the default activate func.
8131 (gst_pad_activate_default): Push mode by default.
8132 (pre_activate_switch, post_activate_switch): New stubs, things to
8133 do before and after switching activation modes on pads.
8134 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
8135 the pad's activate function to choose which mode to activate.
8136 Shortcut on deactivation and call the right function directly.
8137 (gst_pad_activate_pull): New API, (de)activates a pad in pull
8139 (gst_pad_activate_push): New API, same for push mode.
8140 (gst_pad_set_activate_function)
8141 (gst_pad_set_activatepull_function)
8142 (gst_pad_set_activatepush_function): Setters for new API.
8144 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
8145 Trace all miniobjects.
8146 (gst_mini_object_make_writable): Unref the arg if we copy, like
8147 gst_caps_make_writable.
8149 * gst/gstmessage.c (_gst_message_initialize): No trace init.
8151 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
8152 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
8153 Adapt for new pad API.
8155 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
8158 * gst/gstelement.c (gst_element_iterate_src_pads)
8159 (gst_element_iterate_sink_pads): New API functions.
8161 * gst/gstelement.c (iterator_fold_with_resync): New utility,
8162 should fold into gstiterator.c in some form.
8163 (gst_element_pads_activate): Simplified via use of fold and
8164 delegation of decisions to gstpad->activate.
8166 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
8169 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
8170 class once in init, like gstmessage. Didn't run into this issue
8171 but it seems correct. Don't initialize a trace, gstminiobject does
8174 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
8175 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
8177 (assert_live_count): New util function, uses alloc traces to check
8180 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
8181 To be modified when unlink drops the internal pad.
8183 2005-06-27 Wim Taymans <wim@fluendo.com>
8185 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
8186 (gst_bin_change_state):
8187 Cleanup the get_state() function a little, make sure it
8188 iterates the same set of elements.
8189 Added stub iterate_state_order().
8191 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
8193 * docs/gst/gstreamer-docs.sgml:
8194 * docs/gst/gstreamer-sections.txt:
8195 * docs/gst/gstreamer.types:
8196 * docs/gst/tmpl/gstbasesink.sgml:
8197 * docs/gst/tmpl/gstbasesrc.sgml:
8198 * docs/gst/tmpl/gstbasetransform.sgml:
8199 * docs/gst/tmpl/gstelement.sgml:
8200 * docs/gst/tmpl/gstiterator.sgml:
8201 * gst/base/gstbasesrc.c:
8202 * gst/base/gstbasesrc.h:
8203 * gst/base/gstbasetransform.h:
8205 * gst/gstiterator.h:
8206 adding basetransform and iterator docs
8208 2005-06-27 Andy Wingo <wingo@pobox.com>
8210 * docs/design/part-activation.txt: Notes on how activation should
8211 work -- not quite implemented yet.
8213 2005-06-25 Wim Taymans <wim@fluendo.com>
8215 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
8216 At least get the chain function correct, needs more
8219 2005-06-25 Wim Taymans <wim@fluendo.com>
8221 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8222 (gst_basesink_handle_object), (gst_basesink_event),
8223 (gst_basesink_do_sync), (gst_basesink_handle_event),
8224 (gst_basesink_change_state):
8226 Right, two problems here: ghostpads don't take locks and
8227 glib _rec_mutex_lock_full() with depth==0 still locks.
8228 Catch illegal locking and g_warn them.
8230 2005-06-25 Wim Taymans <wim@fluendo.com>
8232 * check/states/sinks.c: (START_TEST), (gst_object_suite):
8233 Have to check for completion now...
8235 2005-06-25 Wim Taymans <wim@fluendo.com>
8237 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
8238 (gst_basesink_handle_object), (gst_basesink_event),
8239 (gst_basesink_do_sync), (gst_basesink_handle_event),
8240 (gst_basesink_change_state):
8242 Unlock STREAM_LOCK whatever the recursion was.
8244 2005-06-25 Wim Taymans <wim@fluendo.com>
8246 * gst/base/gstbasesink.c: (gst_basesink_set_property),
8247 (gst_basesink_preroll_queue_empty),
8248 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
8249 (gst_basesink_event), (gst_basesink_do_sync),
8250 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
8251 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
8252 (gst_basesink_change_state):
8253 Reworked the base sink, handle event and buffer serialisation
8254 correctly and removed possible deadlock.
8255 Handle EOS correctly.
8257 2005-06-25 Wim Taymans <wim@fluendo.com>
8259 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
8260 (gst_pipeline_change_state):
8261 * tools/gst-launch.c: (check_intr), (event_loop), (main):
8262 Allow elements to post EOS in the state change function.
8263 Fix up -launch, make it exit the poll loop when the
8264 pipeline actually changed state.
8265 Fix up warning parsing in -launch.
8267 2005-06-25 Wim Taymans <wim@fluendo.com>
8269 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
8270 (gst_tee_sink_activate):
8271 Core takes STREAM_LOCK for us now.
8273 2005-06-25 Wim Taymans <wim@fluendo.com>
8275 * gst/gstelement.c: (gst_element_get_state_func),
8276 (gst_element_set_state):
8278 * gst/gstmessage.c: (gst_message_parse_error),
8279 (gst_message_parse_warning):
8280 Keep track of current target state while performing a state
8281 change so that subclasses can do something interesting.
8282 Fix parsing of warning/error messages when GError is NULL.
8284 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
8286 * docs/gst/Makefile.am:
8287 * docs/gst/gstreamer-docs.sgml:
8288 * docs/gst/gstreamer-sections.txt:
8289 * docs/gst/gstreamer.types:
8290 * docs/gst/tmpl/gstbasesink.sgml:
8291 * docs/gst/tmpl/gstbasesrc.sgml:
8292 * docs/gst/tmpl/gstbin.sgml:
8293 * docs/gst/tmpl/gstcompat.sgml:
8294 * docs/gst/tmpl/gstfakesink.sgml:
8295 * docs/gst/tmpl/gstfakesrc.sgml:
8296 * docs/gst/tmpl/gstfilesink.sgml:
8297 * docs/gst/tmpl/gstfilesrc.sgml:
8298 * docs/gst/tmpl/gstindex.sgml:
8299 * docs/manual/appendix-quotes.xml:
8300 * gst/base/gstbasesrc.h:
8301 * gst/elements/gstfakesrc.h:
8303 start pulling in base classes and elements in our docs
8305 2005-06-24 Stefan Kost <ensonic@users.sf.net>
8307 * docs/gst/Makefile.am:
8308 * docs/libs/Makefile.am:
8309 fixed make distcheck with gtk-doc 1.3
8311 2005-06-23 Wim Taymans <wim@fluendo.com>
8313 * gst/gstelement.c: (gst_element_get_state_func),
8314 (gst_element_set_state), (gst_element_change_state):
8315 When the state did not change, also report NO_PREROLL
8318 2005-06-23 Wim Taymans <wim@fluendo.com>
8320 * gst/gstpad.c: (gst_pad_event_default):
8321 * gst/gstqueue.c: (gst_queue_loop):
8322 No unsafe task pausing please.
8324 2005-06-23 Wim Taymans <wim@fluendo.com>
8326 * gst/schedulers/threadscheduler.c:
8327 (gst_thread_scheduler_task_start),
8328 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
8329 Ref the task before pushing it on the threadpool. This
8330 makes sure that we have a ref when the threadfunction is
8333 2005-06-23 Andy Wingo <wingo@pobox.com>
8335 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
8336 offset is greater than the file's size.
8338 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
8339 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
8340 * gst/gstobject.c (gst_object_class_init): Make the class lock
8341 recursive. Wim won't let me drop deep_notify. Decodebin works
8344 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
8345 internal pad, and hacks accordingly. Doesn't do it on the target
8346 pad because we change its caps. Probably catches all cases of
8348 (gst_ghost_pad_set_property): Connect to notify::caps as
8351 * tests/network-clock.scm (plot-simulation): Pipe data to the
8352 elite python skript.
8354 * tests/network-clock-utils.scm (define-parameter): New macro,
8355 defines a parameter that can be set via the command line.
8356 (set-parameter!, parse-parameter-arguments): Command line args
8359 * tests/plot-data: Simple matplotlib-based plotter, takes input on
8362 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
8364 * gst/elements/gsttypefindelement.c:
8365 (gst_type_find_element_handle_event):
8366 Don't restart typefinding on a discont.
8367 * gst/gstelement.c: (gst_element_set_state):
8369 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
8370 Allow changing mode of an active pad.
8372 * gst/registries/gstlibxmlregistry.c: (load_feature):
8373 Don't cast a static pad template to a normal pad template.
8375 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
8377 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8378 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8379 remove gst_strtoll completely, since it didn't actually do
8380 anything more than what g_ascii_strtoull already does.
8381 check for range errors when deserializing
8382 do a cast for the unsigned cases; but further fixing needs
8383 a decision on what the interpretation of "(int)" and
8384 deserialization should be for values that fall outside the
8385 type's boundaries (ie, refuse, or interpret as casting)
8387 2005-06-23 Wim Taymans <wim@fluendo.com>
8389 * check/Makefile.am:
8390 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
8391 * docs/design/part-live-source.txt:
8392 * docs/design/part-states.txt:
8393 * gst/base/gstbasesrc.c: (gst_basesrc_init),
8394 (gst_basesrc_set_live), (gst_basesrc_is_live),
8395 (gst_basesrc_get_range), (gst_basesrc_activate),
8396 (gst_basesrc_change_state):
8397 * gst/base/gstbasesrc.h:
8398 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8399 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
8400 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
8401 * gst/gstelement.c: (gst_element_get_state_func),
8402 (gst_element_set_state):
8405 * tools/gst-launch.c: (event_loop), (main):
8406 Added support for live sources and other elements that
8408 Updated design docs, added live-source design doc.
8409 Implemented live source functionality in basesrc
8410 Fix error condition in _bin_get_state()
8411 Implement live source handling in -launch.
8412 Added check for live sources.
8413 Fixed case in GstBin where elements were changed state
8417 2005-06-23 Andy Wingo <wingo@pobox.com>
8419 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
8422 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
8423 gst_caps_replace takes care of this for us.
8425 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
8426 gst_pad_set_caps on the target, not just its setcaps() function.
8428 * tests/network-clock.scm:
8429 * tests/network-clock-utils.scm: A network clock simulator.
8430 Something of an algorithmic testbed before doing something in C.
8432 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8434 * check/Makefile.am:
8435 * check/gst/capslist.h:
8436 copy over from 0.8, and add two with bitmasks specified with
8438 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8439 add test to parse everything from capslist.h
8440 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
8442 add test for structure deserialization
8443 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8444 add tests for deserialization of strings to int types
8445 * gst/gststructure.c: (gst_structure_nth_field_name):
8446 * gst/gststructure.h:
8447 add a way to get the name of a field referenced by index
8448 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
8449 instead of checking if the resulting long long lies between
8450 min and max, we check if the long long would fit into
8451 a number of bytes for the final type.
8452 This fixes cases where a string represents 2^32 - 1, which
8453 when cast to int would be the (valid) -1, but is bigger than
8456 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8458 * gst/parse/grammar.y:
8459 add a log line for type deserialization
8461 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
8463 * check/gst/gstvalue.c: (START_TEST):
8464 * gst/gstvalue.c: (gst_value_deserialize):
8465 return long long, not int, so gint64 deserialization actually
8466 works. Is there any flag that makes the compiler check this ?
8469 2005-06-22 Wim Taymans <wim@fluendo.com>
8472 Added convenience macros for setting buffers in GValue.
8474 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8476 * check/gst/.cvsignore:
8477 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
8478 add a test deserializing int64, and comment part out because
8481 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
8483 * check/Makefile.am:
8484 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
8485 * testsuite/Makefile.am:
8486 * testsuite/caps/Makefile.am:
8487 * testsuite/caps/value_serialize.c:
8488 * testsuite/test_gst_init.c:
8489 move a value_serialize test over
8491 2005-06-20 Wim Taymans <wim@fluendo.com>
8496 * gst/gstvalue.c: (gst_value_compare_buffer),
8497 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
8498 (gst_value_compare_flags), (gst_value_serialize_flags),
8499 (gst_value_deserialize_flags), (_gst_value_initialize):
8500 Fix serialisation of buffers, they are not boxed types anymore
8502 2005-06-20 Wim Taymans <wim@fluendo.com>
8504 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
8505 Testcase to show error in buffer-on-caps serialisation.
8507 2005-06-20 Andy Wingo <wingo@pobox.com>
8509 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
8510 will be adding to later.
8512 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
8513 if its socks fill with rocks.
8514 (gst_system_clock_obtain): Set the name on object construction.
8515 Avoid double-checked locking.
8517 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
8519 * gst/gsturi.c: (gst_element_make_from_uri):
8520 Fix potential endless loop.
8522 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8524 * check/Makefile.am:
8526 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
8528 move over from testsuite dir and clean up
8531 * testsuite/Makefile.am:
8532 * testsuite/tags/.cvsignore:
8533 * testsuite/tags/Makefile.am:
8534 * testsuite/tags/merge.c:
8535 remove testsuite/tags
8537 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8539 * docs/gst/gstreamer-sections.txt:
8540 * docs/gst/tmpl/gstenumtypes.sgml:
8541 * win32/gstenumtypes.c:
8542 clean up documentation build a little
8544 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8547 add macros for checking refcounts on objects and caps
8548 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
8549 add some more unit tests
8550 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
8551 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
8552 fix leaked refcounts (I hope :)) so unittest works
8556 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
8558 * configure.ac: back to HEAD
8560 === release 0.9.1 ===
8562 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
8568 2005-06-17 Andy Wingo <wingo@pobox.com>
8570 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
8571 assert; it's always possible that the pad gets deactivated in
8572 between the checks in gstpad.c and the implementation. Rely on
8573 finish_preroll() to return a FLUSHING or similar instead of on the
8576 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
8577 clock and post an EOS message if we come out of finish_preroll in
8580 2005-06-16 David Schleef <ds@schleef.org>
8582 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
8583 (gst_capsfilter_set_property): Allow NULL as possible value
8584 for filter_caps property, indicating GST_CAPS_ANY.
8586 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8588 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
8590 * gst/schedulers/Makefile.am:
8592 * gstreamer.spec.in:
8595 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
8597 * gstreamer.spec.in:
8600 2005-06-08 Andy Wingo <wingo@pobox.com>
8602 * gst/gstutils.c: RPAD fixes all around.
8603 (gst_element_link_pads): Refcounting fixes.
8605 * tools/gst-inspect.c:
8606 * tools/gst-xmlinspect.c:
8608 * gst/base/gsttypefindhelper.c:
8609 * gst/base/gstbasesink.c:
8610 * gst/gstqueue.c: RPAD fixes.
8612 * gst/gstghostpad.h:
8613 * gst/gstghostpad.c: New ghost pad implementation as full proxy
8614 pads. The tricky thing is they provide both source and sink
8615 interfaces, since they proxy the internal pad for the external
8616 pad, and vice versa. Implement with lower-level ProxyPad objects,
8617 with the interior proxy pad as a child of the exterior ghost pad.
8618 Should write a doc on this.
8620 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
8621 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
8624 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
8625 pads are real pads. No ghost pads in this file. Not documenting
8626 the myriad s/RPAD/PAD/ and REALIZE fixes.
8627 (gst_pad_class_init): Add properties for "direction" and
8628 "template". Both are construct-only, so they can't change during
8629 the life of the pad. Fixes properly deriving from GstPad.
8630 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
8631 derived objects, just set properties when creating the objects via
8633 (gst_pad_get_parent): Implement as a function, return NULL if the
8634 parent is not an element.
8635 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
8636 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
8638 * gst/gstobject.c (gst_object_class_init): Make name a construct
8639 property. Don't set it in the object init.
8641 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
8642 with UNKNOWN direction.
8643 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
8644 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
8645 (gst_element_remove_pad): Remove ghost-pad special cases.
8646 (gst_element_pads_activate): Remove rpad cruft.
8648 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
8649 catch the pad's-parent-not-an-element case.
8651 * gst/gst.h: Include gstghostpad.h.
8653 * gst/gst.c (init_post): No more real, ghost pads.
8655 * gst/Makefile.am: Add gstghostpad.[ch].
8657 * check/Makefile.am:
8658 * check/gst/gstbin.c:
8659 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
8660 into a bin creates ghost pads, and that the refcounts are right.
8661 Partly moved from gstbin.c.
8663 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8665 * check/gst-libs/.cvsignore:
8666 * check/gst/.cvsignore:
8667 * check/pipelines/.cvsignore:
8669 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
8670 (START_TEST), (cleanup_suite), (main):
8671 add some tests related to cleanup after running pipelines
8673 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8675 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
8676 add a testsuite for GstBuffer
8678 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
8680 * gst/gstminiobject.h:
8681 add defines for accessing the refcount
8683 2005-06-03 Stefan Kost <ensonic@users.sf.net>
8685 * Makefile.am: added support for html unit test coverage reports
8687 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
8689 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8690 Free existing caps if the capsfilter changes. Add a FIXME about
8691 setting those caps on the pads.
8693 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
8694 Before adding a ghost pad to a parent bin, check that there isn't
8695 already one for the element on the bin. Prevents infinite recursion
8696 when using decodebin in parse pipelines. Andy says he'll rewrite the
8697 way this works anyway, so ignore the hack.
8699 2005-06-02 Andy Wingo <wingo@pobox.com>
8701 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
8702 file size, pass it on to the type find helper.
8704 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
8705 segment_start and segment_end properly according to the seek
8706 method. Segment_end is still a bit flaky because offset can be
8707 negative for CUR and END cases, but it takes -1 as an "unset"
8710 2005-06-02 Wim Taymans <wim@fluendo.com>
8712 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
8713 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
8714 (gst_basesink_activate):
8715 * gst/base/gstbasesink.h:
8716 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8717 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8718 (gst_pad_query), (gst_pad_start_task):
8720 * gst/gstqueue.c: (gst_queue_bufferalloc),
8721 (gst_queue_handle_sink_event), (gst_queue_chain):
8722 Bufferalloc: return GstFlowReturn to more accuratly report
8723 why allocation failed.
8725 2005-06-02 Wim Taymans <wim@fluendo.com>
8727 * gst/gstpipeline.c: (gst_pipeline_send_event):
8728 Take snapshot of state without blocking.
8730 2005-06-02 Wim Taymans <wim@fluendo.com>
8732 * docs/design/part-TODO.txt:
8733 * docs/design/part-caps.txt:
8734 * docs/design/part-clocks.txt:
8735 * docs/design/part-negotiation.txt:
8736 * docs/design/part-preroll.txt:
8739 2005-05-30 Wim Taymans <wim@fluendo.com>
8741 * gst/elements/gstidentity.c: (gst_identity_event),
8742 (gst_identity_transform), (gst_identity_get_property):
8743 Protect last_message property as it is accessed from
8746 2005-05-30 Wim Taymans <wim@fluendo.com>
8748 * gst/gstelement.c: (gst_element_init),
8749 (gst_element_pads_activate), (gst_element_change_state):
8750 Slicker pad activation code.
8752 2005-05-30 Wim Taymans <wim@fluendo.com>
8756 * gst/gstelementfactory.h:
8758 Move elementfactory methods to separate .h file.
8760 2005-05-30 Wim Taymans <wim@fluendo.com>
8762 * docs/design/part-overview.txt:
8763 * gst/gstsystemclock.h:
8764 Small typo fixes, doc updates.
8766 2005-05-30 Wim Taymans <wim@fluendo.com>
8768 * gst/gst.c: (gst_init_get_popt_table), (init_post),
8769 (init_popt_callback):
8770 Remove cpu-opt flag.
8772 2005-05-30 Wim Taymans <wim@fluendo.com>
8774 * gst/gstbuffer.c: (gst_subbuffer_finalize),
8775 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
8777 Avoid typechecking in places where not needed.
8778 Added accessor for malloc_data.
8780 2005-05-30 Wim Taymans <wim@fluendo.com>
8782 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
8783 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
8784 (gst_pad_configure_sink), (gst_pad_configure_src),
8785 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
8786 (gst_pad_start_task):
8787 Propagate errors from _set_caps() in configure_src/sink
8788 functions instead of returning TRUE.
8789 FLUSH events can travel up and downstream
8792 2005-05-30 Wim Taymans <wim@fluendo.com>
8794 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8795 (gst_basesink_activate):
8796 Handle EOS in preroll.
8798 2005-05-30 Wim Taymans <wim@fluendo.com>
8800 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8801 (gst_queue_loop), (gst_queue_handle_src_event):
8802 Remove old pieces of code
8803 Flushing the queue in an upstream event is a very bad idea.
8805 2005-05-26 Andy Wingo <wingo@pobox.com>
8807 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
8808 gst_value_set_mini_object so as to add a ref on the object (which
8809 will be removed when the value is unset).
8811 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
8812 arg type in ::handoff.
8814 * gst/gstelement.c (gst_element_change_state): Also deactivate
8815 pads in READY->NULL, just in case the element didn't make it to
8816 PAUSED. Wingo tested, Wim approved.
8818 2005-05-26 Wim Taymans <wim@fluendo.com>
8820 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8821 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
8822 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
8823 A flushing pad cannot be used to alloc_buffer from.
8825 2005-05-26 Wim Taymans <wim@fluendo.com>
8827 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
8828 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
8829 (gst_bus_source_dispatch), (gst_bus_source_finalize),
8830 (gst_bus_create_watch), (gst_bus_add_watch_full):
8832 Implement a real GSource and use g_main_context_wakeup() to
8833 signal new messages instead of the socketpair.
8835 2005-05-25 Wim Taymans <wim@fluendo.com>
8837 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
8838 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
8839 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8840 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8841 (gst_pad_send_event), (gst_pad_start_task):
8842 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
8843 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
8844 (gst_queue_sink_activate), (gst_queue_src_activate),
8845 (gst_queue_change_state):
8847 Fix state changes for non sinks. We now change sinks, then elements
8848 with unconnected srcpads, then the rest.
8849 More efficient queue unlocking in flush and state changes.
8850 Set the pad activate mode even if it does not have an activate
8853 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8855 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
8856 Don't go in pull mode for non-seekable sources.
8857 * gst/elements/gsttypefindelement.h:
8858 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
8859 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
8860 (free_entry), (stop_typefinding),
8861 (gst_type_find_element_handle_event), (find_peek),
8862 (gst_type_find_element_chain), (do_pull_typefind),
8863 (gst_type_find_element_change_state):
8864 Allow typefinding (w/o seeking) in push-mode, simplified version
8866 * gst/gstutils.c: (gst_buffer_join):
8868 gst_buffer_join() from 0.8.
8870 2005-05-25 Wim Taymans <wim@fluendo.com>
8872 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
8873 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
8874 (gst_pad_send_event), (gst_pad_start_task):
8875 Disable attempt at mode switching until it is figured out.
8877 2005-05-25 Wim Taymans <wim@fluendo.com>
8879 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
8880 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
8881 (gst_basesink_finish_preroll), (gst_basesink_chain),
8882 (gst_basesink_loop), (gst_basesink_activate),
8883 (gst_basesink_change_state):
8884 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
8885 (gst_basesrc_get_range), (gst_basesrc_loop),
8886 (gst_basesrc_activate):
8887 * gst/elements/gsttee.c: (gst_tee_sink_activate):
8888 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
8889 (gst_real_pad_init), (gst_real_pad_set_property),
8890 (gst_real_pad_get_property), (gst_pad_set_active),
8891 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
8892 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
8893 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
8894 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
8895 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8896 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
8897 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
8898 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
8899 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
8900 (gst_pad_stop_task):
8902 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8903 (gst_queue_loop), (gst_queue_src_activate):
8904 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
8905 (gst_task_get_state):
8907 * gst/schedulers/threadscheduler.c:
8908 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
8909 Implement gst_pad_pause/start/stop_task(), take STREAM lock
8911 Remove ACTIVE pad flag, use FLUSHING everywhere
8912 Added _pad_chain(), _pad_get_range() to call chain/getrange
8914 Add locks around IS_FLUSHING when reading.
8915 Take STREAM lock in chain(), get_range() functions so plugins
8916 don't need to take it anymore.
8920 2005-05-25 Wim Taymans <wim@fluendo.com>
8922 * tools/gst-launch.c: (event_loop):
8923 Unref message after using its contents instead of
8926 2005-05-24 Wim Taymans <wim@fluendo.com>
8928 * docs/design/draft-ghostpads.txt:
8929 * docs/design/draft-push-pull.txt:
8930 * docs/design/draft-query.txt:
8931 * docs/design/part-overview.txt:
8932 Docs updates, added general overview doc.
8934 2005-05-21 David Schleef <ds@schleef.org>
8936 * docs/gst/tmpl/old/GstBin.sgml:
8937 * docs/gst/tmpl/old/GstBuffer.sgml:
8938 * docs/gst/tmpl/old/GstCaps.sgml:
8939 * docs/gst/tmpl/old/GstClock.sgml:
8940 * docs/gst/tmpl/old/GstCompat.sgml:
8941 * docs/gst/tmpl/old/GstData.sgml:
8942 * docs/gst/tmpl/old/GstElement.sgml:
8943 * docs/gst/tmpl/old/GstEvent.sgml:
8944 * docs/gst/tmpl/old/GstIndex.sgml:
8945 * docs/gst/tmpl/old/GstStructure.sgml:
8946 * docs/gst/tmpl/old/GstTag.sgml:
8947 * docs/gst/tmpl/old/cothreads.sgml:
8948 * docs/gst/tmpl/old/cothreads_compat.sgml:
8949 * docs/gst/tmpl/old/gettext.sgml:
8950 * docs/gst/tmpl/old/gobject2gtk.sgml:
8951 * docs/gst/tmpl/old/grammar.tab.sgml:
8952 * docs/gst/tmpl/old/gst-i18n-app.sgml:
8953 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
8954 * docs/gst/tmpl/old/gst_private.sgml:
8955 * docs/gst/tmpl/old/gstaggregator.sgml:
8956 * docs/gst/tmpl/old/gstarch.sgml:
8957 * docs/gst/tmpl/old/gstatomic_impl.sgml:
8958 * docs/gst/tmpl/old/gstbufferstore.sgml:
8959 * docs/gst/tmpl/old/gstdata_private.sgml:
8960 * docs/gst/tmpl/old/gstdisksink.sgml:
8961 * docs/gst/tmpl/old/gstdisksrc.sgml:
8962 * docs/gst/tmpl/old/gstelementfactory.sgml:
8963 * docs/gst/tmpl/old/gstextratypes.sgml:
8964 * docs/gst/tmpl/old/gstfakesink.sgml:
8965 * docs/gst/tmpl/old/gstfakesrc.sgml:
8966 * docs/gst/tmpl/old/gstfdsink.sgml:
8967 * docs/gst/tmpl/old/gstfdsrc.sgml:
8968 * docs/gst/tmpl/old/gstfilesink.sgml:
8969 * docs/gst/tmpl/old/gstfilesrc.sgml:
8970 * docs/gst/tmpl/old/gsthttpsrc.sgml:
8971 * docs/gst/tmpl/old/gstidentity.sgml:
8972 * docs/gst/tmpl/old/gstindexfactory.sgml:
8973 * docs/gst/tmpl/old/gstmarshal.sgml:
8974 * docs/gst/tmpl/old/gstmd5sink.sgml:
8975 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
8976 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
8977 * docs/gst/tmpl/old/gstpadtemplate.sgml:
8978 * docs/gst/tmpl/old/gstpipefilter.sgml:
8979 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
8980 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
8981 * docs/gst/tmpl/old/gstshaper.sgml:
8982 * docs/gst/tmpl/old/gstspider.sgml:
8983 * docs/gst/tmpl/old/gstspideridentity.sgml:
8984 * docs/gst/tmpl/old/gststatistics.sgml:
8985 * docs/gst/tmpl/old/gsttee.sgml:
8986 * docs/gst/tmpl/old/gsttimecache.sgml:
8987 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
8988 * docs/gst/tmpl/old/gstxmlregistry.sgml:
8989 * docs/gst/tmpl/old/gthread-cothreads.sgml:
8990 * docs/gst/tmpl/old/types.sgml:
8991 I didn't intend to add these or check them in.
8993 2005-05-19 David Schleef <ds@schleef.org>
8995 * configure.ac: Use -no-common everywhere. In a sane world, it
8996 would be the default in libtool, because without it, you can't
8997 build DLLs on Windows.
8998 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
8999 * docs/gst/gstreamer-sections.txt:
9000 * docs/gst/tmpl/gstcpu.sgml:
9001 * docs/gst/tmpl/gstdata.sgml:
9002 * docs/gst/tmpl/gstthread.sgml:
9004 2005-05-19 David Schleef <ds@schleef.org>
9006 * gst/gstminiobject.c: (gst_value_set_mini_object),
9007 (gst_value_take_mini_object), (gst_value_get_mini_object):
9008 * gst/gstminiobject.h: Add GValue set/get functions.
9010 2005-05-19 Wim Taymans <wim@fluendo.com>
9012 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
9013 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
9014 (gst_subbuffer_init), (gst_buffer_is_span_fast):
9016 * gst/gstbus.c: (gst_bus_post):
9017 * gst/gstelement.c: (gst_element_get_random_pad):
9018 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
9019 Make subbufer unref the parent in finalize.
9020 some more debugging info.
9023 2005-05-19 Wim Taymans <wim@fluendo.com>
9025 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9026 (gst_basesink_init), (gst_basesink_finalize),
9027 (gst_basesink_activate), (gst_basesink_change_state):
9028 Don't free preroll queue too early.
9030 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9034 Hi, I'm outdated. Please shoot me.
9036 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9038 * gst/gstpipeline.c: (gst_pipeline_send_event):
9039 Do not access variables after they have been deleted.
9041 2005-05-19 Wim Taymans <wim@fluendo.com>
9043 * tools/gst-inspect.c: (print_plugin_features):
9044 A plugin feature does unfortunatly not use the
9047 2005-05-18 Wim Taymans <wim@fluendo.com>
9049 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
9050 Port _span() functions to new subbuffers.
9052 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9054 * gst/gstbin.c: (gst_bin_add_func):
9055 Fix clock settery in bins when adding kids after the clock has
9058 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9060 * gst/elements/gstidentity.c: (gst_identity_class_init):
9061 Workaround until signals support GstMiniObject.
9063 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9066 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
9068 2005-05-18 Wim Taymans <wim@fluendo.com>
9070 * gst/base/Makefile.am:
9071 * gst/base/gstadapter.c: (gst_adapter_base_init),
9072 (gst_adapter_class_init), (gst_adapter_init),
9073 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
9074 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
9075 (gst_adapter_flush), (gst_adapter_available),
9076 (gst_adapter_available_fast):
9077 * gst/base/gstadapter.h:
9078 Ported and added adapter to the base classes.
9080 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9084 Make sure the class is reffed/unreffed once before threads can be
9085 used. Fixes #304551.
9087 2005-05-17 Wim Taymans <wim@fluendo.com>
9089 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
9090 (gst_basesink_chain_unlocked), (gst_basesink_activate):
9091 * gst/gstminiobject.c: (gst_mini_object_get_type),
9092 (gst_mini_object_free):
9093 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
9094 (gst_pad_push), (gst_pad_push_event):
9095 * gst/gstqueue.c: (gst_queue_change_state):
9096 Don't queue buffers in basesink when we are flushing.
9097 Unref buffer when flushing in basesink.
9098 Flush queue when going to READY
9099 Unref buffer when _push() returns an error.
9100 Don't free MiniObject instance when refcount is incremented
9101 in _finalize() so that we can recover objects.
9103 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
9105 * docs/manual/advanced-schedulers.xml:
9106 * docs/manual/appendix-checklist.xml:
9107 * docs/pwg/advanced-clock.xml:
9108 * docs/pwg/advanced-interfaces.xml:
9109 * docs/pwg/advanced-request.xml:
9110 * docs/pwg/advanced-types.xml:
9111 * docs/pwg/intro-preface.xml:
9112 * examples/plugins/example.c: (gst_example_get_type),
9113 (gst_example_class_init), (gst_example_chain),
9114 (gst_example_set_property), (gst_example_get_property),
9115 (gst_example_change_state), (plugin_init):
9116 * examples/plugins/example.h:
9119 2005-05-17 Wim Taymans <wim@fluendo.com>
9121 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
9122 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
9123 * gst/gstqueue.c: (gst_queue_change_state):
9124 Clear queue when going to READY.
9125 Remove IN_SETCAPS flag too.
9127 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
9129 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
9130 Remove implicit cast from gboolean to GstElementStateReturn;
9131 make sure we still return failure in paused => ready case if
9132 the parent class fails to change state and our own stop
9135 2005-05-17 Wim Taymans <wim@fluendo.com>
9137 * tools/gst-launch.c: (event_loop):
9138 Message was unreffed too soon.
9140 2005-05-16 Andy Wingo <wingo@pobox.com>
9142 * gst/gstbin.c (sink_iterator_filter): Err... um...
9144 * check/gst/gstbin.c (test_ghost_pads): New test for the
9145 ghosting-if-elements-not-in-same-bin behavior.
9147 2005-05-16 David Schleef <ds@schleef.org>
9149 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
9150 accessing refcount directly.
9152 2005-05-15 David Schleef <ds@schleef.org>
9154 * check/Makefile.am: remove GstData checks
9155 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
9156 * gst/Makefile.am: add miniobject, remove data
9157 * gst/gst.h: add miniobject, remove data
9158 * gst/gstdata.c: remove
9159 * gst/gstdata.h: remove
9160 * gst/gstdata_private.h: remove
9161 * gst/gsttypes.h: remove GstEvent and GstMessage
9162 * gst/gstelement.c: (gst_element_post_message): fix for API changes
9163 * gst/gstmarshal.list: change BOXED -> OBJECT
9165 Implement GstMiniObject.
9166 * gst/gstminiobject.c:
9167 * gst/gstminiobject.h:
9169 Modify to be subclasses of GstMiniObject.
9170 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
9171 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
9172 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
9173 (gst_subbuffer_get_type), (gst_subbuffer_init),
9174 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
9177 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
9178 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
9179 (_gst_event_copy), (gst_event_new):
9181 * gst/gstmessage.c: (_gst_message_initialize),
9182 (gst_message_get_type), (gst_message_class_init),
9183 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
9184 (gst_message_new), (gst_message_new_error),
9185 (gst_message_new_warning), (gst_message_new_tag),
9186 (gst_message_new_state_changed), (gst_message_new_application):
9188 * gst/gstprobe.c: (gst_probe_perform),
9189 (gst_probe_dispatcher_dispatch):
9191 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
9192 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
9193 (_gst_query_copy), (gst_query_new):
9195 Update elements for GstData -> GstMiniObject changes
9197 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
9198 (gst_queue_chain), (gst_queue_loop):
9199 * gst/elements/gstbufferstore.c:
9200 (gst_buffer_store_add_buffer_func),
9201 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
9202 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9203 (gst_fakesink_render):
9204 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
9205 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
9206 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
9207 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
9208 (gst_filesrc_create_read):
9209 * gst/elements/gstidentity.c: (gst_identity_class_init):
9210 * gst/elements/gsttypefindelement.c:
9211 (gst_type_find_element_src_event), (free_entry_buffers),
9212 (gst_type_find_element_handle_event):
9213 * libs/gst/dataprotocol/dataprotocol.c:
9214 (gst_dp_header_from_buffer):
9215 * libs/gst/dataprotocol/dataprotocol.h:
9216 * libs/gst/dataprotocol/dp-private.h:
9218 2005-05-15 David Schleef <ds@schleef.org>
9220 * gst/elements/gstelements.c: Don't include headers that were
9223 2005-05-15 David Schleef <ds@schleef.org>
9225 * gst/elements/Makefile.am: Remove some elements that don't
9226 need to be in the core (or even exist at all).
9227 * gst/elements/gstaggregator.c:
9228 * gst/elements/gstaggregator.h:
9229 * gst/elements/gstmd5sink.c:
9230 * gst/elements/gstmd5sink.h:
9231 * gst/elements/gstmultifilesrc.c:
9232 * gst/elements/gstmultifilesrc.h:
9233 * gst/elements/gstpipefilter.c:
9234 * gst/elements/gstpipefilter.h:
9235 * gst/elements/gstshaper.c:
9236 * gst/elements/gstshaper.h:
9237 * gst/elements/gststatistics.c:
9238 * gst/elements/gststatistics.h:
9239 * po/POTFILES.in: Remove above files.
9241 2005-05-14 Andy Wingo <wingo@pobox.com>
9243 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
9244 so as to get the refs right.
9245 (sink_iterator_filter): New function, wraps bin_element_is_sink,
9246 unreffing objects that don't pass the filter.
9248 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
9249 gst_element_set_bus.
9250 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
9251 normal cases, this will destroy the bus.
9253 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
9256 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
9259 2005-05-13 Andy Wingo <wingo@pobox.com>
9261 * gst/gstutils.c (gst_element_link_pads): Instead of calling
9262 gst_pad_link, call pad_link_maybe_ghosting,
9263 (pad_link_maybe_ghosting): Links pads, making sure that the
9264 elements being linked are in the same bin.
9265 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
9266 Helpers for pad_link_maybe_ghosting.
9268 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9271 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
9273 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
9275 * docs/design/part-element-source.txt:
9278 2005-05-12 Wim Taymans <wim@fluendo.com>
9280 * gst/base/gstbasesink.c: (gst_basesink_init),
9281 (gst_basesink_activate):
9282 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
9283 (gst_basesrc_is_seekable):
9284 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
9285 (bin_element_is_sink), (gst_bin_change_state):
9286 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9288 Identify sinks by their flag to avoid overly complicated
9290 Do state changes even for elements not reachable from the
9292 BaseSink is a sink now :)
9293 Some more debugging info in the basesrc.
9296 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9298 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
9299 Implement _query on a bin, similar to _send_event.
9301 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
9303 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
9304 Discont event offset format should be GST_FORMAT_BYTES,
9305 not GST_FORMAT_TIME.
9307 2005-05-12 Wim Taymans <wim@fluendo.com>
9309 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
9310 Same fix as Ronald's but without the signal.
9312 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9314 * gst/gstutils.c: (gst_element_query_position):
9315 No, an element is not a pad.
9317 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9319 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
9320 (gst_bin_get_state):
9321 If a child is removed from a bin while we remove the child from
9322 the bin and while we're retrieving its state, signal this to the
9323 get_state function so we abort the wait (instead of waiting for
9324 a timeout) and can immediately re-iterate over all other elements.
9326 2005-05-12 Wim Taymans <wim@fluendo.com>
9328 * gst/base/Makefile.am:
9329 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
9330 (gst_basesrc_start):
9331 * gst/base/gstbasesrc.h:
9332 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
9333 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
9334 (gst_pushsrc_init), (gst_pushsrc_create):
9335 * gst/base/gstpushsrc.h:
9336 Added is_seekable to BaseSrc
9337 Added simple PushSrc.
9339 2005-05-11 Wim Taymans <wim@fluendo.com>
9341 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
9342 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9343 (gst_element_link_pads), (gst_element_query_position),
9344 (gst_element_query_convert), (intersect_caps_func),
9345 (gst_pad_query_position), (gst_pad_query_convert):
9346 Fix refcounting in utils function.
9347 No point in trying to activate a pad when it's added, it could
9348 be added from the state change function and then we deadlock, the
9349 element has to decide what to do.
9351 2005-05-10 Andy Wingo <wingo@pobox.com>
9353 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
9354 *all* the arguments.
9356 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
9357 stream lock if it's a FLUSH_DONE; normal flushes don't get the
9358 lock (according to the docs -- if this is wrong change the docs).
9360 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
9361 flush messages in the NULL state.
9363 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
9364 message immediately and return.
9365 (gst_bus_set_flushing): New function. If a bus is flushing, it
9366 flushes out any queued messages and immediately unrefs new
9367 messages. This is so when an element goes to NULL, all of the
9368 unhandled messages coming from it can be freed, and their
9369 references to the element dropped. In other words: message source
9370 ref considered harmful :P
9372 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
9373 we're finished with it.
9375 * gst/gstmessage.c (gst_message_new_state_changed):
9377 2005-05-10 Wim Taymans <wim@fluendo.com>
9379 * gst/gstvalue.c: (gst_value_compare_flags),
9380 (gst_value_serialize_flags), (gst_value_deserialize_flags),
9381 (_gst_value_initialize):
9382 Added flags serialize/deserialize/compare code.
9384 2005-05-09 Andy Wingo <wingo@pobox.com>
9386 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
9387 Intersect the peer's caps with our caps.
9389 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9391 * gst/base/gsttypefindhelper.c: (helper_find_peek):
9392 * gst/elements/gsttypefindelement.c: (find_peek):
9393 Handle negative offsets better. Fixes decodebin.
9395 2005-05-09 Wim Taymans <wim@fluendo.com>
9397 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
9398 (gst_base_transform_event):
9399 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
9400 Implement accept_caps.
9401 Fix silly lock/unlock mismatch in base class.
9403 2005-05-09 Wim Taymans <wim@fluendo.com>
9405 * docs/design/draft-push-pull.txt:
9406 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
9407 * gst/elements/gstfilesink.c: (gst_filesink_init),
9408 (gst_filesink_query):
9409 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
9410 (gst_type_find_handle_src_query), (find_element_get_length):
9411 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
9415 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
9416 (gst_real_pad_get_caps_unlocked),
9417 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
9418 (gst_pad_event_default_dispatch), (gst_pad_event_default),
9419 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
9420 (gst_real_pad_dispose), (gst_real_pad_finalize),
9421 (gst_pad_load_and_link), (gst_pad_save_thyself),
9422 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
9423 (gst_pad_check_pull_range), (gst_pad_pull_range),
9424 (gst_pad_template_get_type), (gst_pad_template_class_init),
9425 (gst_pad_template_init), (gst_pad_template_dispose),
9426 (name_is_valid), (gst_static_pad_template_get),
9427 (gst_pad_template_new), (gst_static_pad_template_get_caps),
9428 (gst_pad_template_get_caps), (gst_pad_set_element_private),
9429 (gst_pad_get_element_private), (gst_pad_start_task),
9430 (gst_pad_pause_task), (gst_pad_stop_task),
9431 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
9432 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
9433 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
9434 (gst_ghost_pad_new):
9436 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
9437 (gst_query_new_position), (gst_query_set_position),
9438 (gst_query_parse_position), (gst_query_new_convert),
9439 (gst_query_set_convert), (gst_query_parse_convert):
9441 * gst/gstqueryutils.c:
9442 * gst/gstqueryutils.h:
9443 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9444 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9445 (gst_queue_handle_src_query):
9446 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9447 (gst_element_query_position), (gst_element_query_convert),
9448 (intersect_caps_func), (gst_pad_query_position),
9449 (gst_pad_query_convert):
9451 * tools/gst-inspect.c: (print_pad_info):
9452 * tools/gst-xmlinspect.c: (print_element_info):
9453 Remove old query functions. Ported old code.
9454 Added position/convert helper functions to gstutils.
9455 Reordered gstpad.c code, grouping relevant things.
9456 Remove gst_message_new(), always need to speficy a specific
9460 2005-05-09 Andy Wingo <wingo@pobox.com>
9462 * gst/gstiterator.h: Add some includes.
9464 * gst/gstqueryutils.h: Include more headers.
9467 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
9468 some uses of gst_pad_query.
9470 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
9471 NULL out parameters.
9472 (gst_query_new_position): New proc, allocates a new position
9475 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
9476 gstqueryutils.c to the build.
9478 * gst/gststructure.c (gst_structure_set_valist): Implement with
9479 the generic G_VALUE_COLLECT.
9481 2005-05-08 Edward Hervey <bilboed@bilboed.com>
9483 * gst/Makefile.am: (gst_headers):
9484 Added gstqueryutils.h to the list of headers to install, that was
9485 a 'nachty' move wingo :)
9487 2005-05-06 Andy Wingo <wingo@pobox.com>
9490 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
9491 GstData, init a memchunk.
9492 (standard_definitions): Add a few query types, deprecate a few.
9493 (gst_query_get_type): New proc.
9494 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
9496 (gst_query_new_application, gst_query_get_structure): New public
9499 * docs/design/draft-query.txt: Removed LINKS from the query types,
9500 because all the rest can be dispatched to other pads -- seemed
9501 ugly to have a query that couldn't be dispatched. internal_links
9502 is fine as a pad method.
9504 * gst/gstpad.h: Add query2 as a pad method, add the new functions
9505 in gstpad.c, but maintain binary compatibility for the moment.
9506 Will fix before 0.9 is out.
9508 * gst/gstqueryutils.c:
9509 * gst/gstqueryutils.h: New files, implement 3 methods for each
9510 query type: parse_query, parse_response, and set. Probably need an
9513 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
9515 * gst/elements/gstfilesink.c (gst_filesink_query2):
9516 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
9517 query_types, and formats methods.
9519 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
9520 (gst_pad_set_query2_function): New functions.
9521 (gst_real_pad_init): Set query2_default as the default query2
9522 function. Basically just dispatches to internally linked pads.
9526 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
9527 without using the atomic operations. Only one thread can possibly
9528 be accessing the data at this point. Changed so as to avoid
9529 gst_atomic operations.
9531 2005-05-06 Wim Taymans <wim@fluendo.com>
9533 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
9534 Also set caps if we use the fallback buffer alloc.
9536 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
9538 * docs/gst/Makefile.am:
9539 * docs/gst/gstreamer-docs.sgml:
9540 * docs/gst/gstreamer-sections.txt:
9541 * docs/gst/tmpl/gstatomic.sgml:
9542 * docs/gst/tmpl/gstmemchunk.sgml:
9543 * testsuite/elements/struct_i386.h:
9544 * win32/GStreamer.vcproj:
9546 Purge GstAtomic stuff from docs and win32 makefiles as well
9548 2005-05-06 Wim Taymans <wim@fluendo.com>
9550 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
9551 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
9552 * gst/gstpad.c: (gst_pad_peer_get_caps):
9553 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
9554 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
9555 (gst_queue_src_activate), (gst_queue_change_state):
9557 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9558 (intersect_caps_func):
9559 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
9560 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
9561 Some fixes for the peer_get_caps() change.
9563 2005-05-06 Wim Taymans <wim@fluendo.com>
9565 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
9566 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
9567 (gst_basesink_activate):
9568 Actually do something with error codes returned from the push
9571 2005-05-06 Wim Taymans <wim@fluendo.com>
9573 * docs/design/part-element-sink.txt:
9574 * docs/design/part-element-source.txt:
9575 * gst/base/gstbasesink.c: (gst_basesink_class_init),
9576 (gst_basesink_event), (gst_basesink_activate):
9577 * gst/base/gstbasesink.h:
9578 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
9579 (gst_basesrc_activate):
9580 * gst/base/gstbasesrc.h:
9581 * gst/gstelement.c: (gst_element_pads_activate):
9582 Some more documentation.
9583 Fixed scheduling decision in _pads_activate().
9585 2005-05-05 Andy Wingo <wingo@pobox.com>
9587 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
9590 2005-05-05 Wim Taymans <wim@fluendo.com>
9592 * gst/base/Makefile.am:
9593 * gst/base/gstbasesink.h:
9594 * gst/base/gstbasesrc.c: (gst_basesrc_init),
9595 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
9596 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
9597 (gst_collectpads_class_init), (gst_collectpads_init),
9598 (gst_collectpads_finalize), (gst_collectpads_new),
9599 (gst_collectpads_set_function), (gst_collectpads_add_pad),
9600 (find_pad), (gst_collectpads_remove_pad),
9601 (gst_collectpads_is_active), (gst_collectpads_collect),
9602 (gst_collectpads_collect_range), (gst_collectpads_start),
9603 (gst_collectpads_stop), (gst_collectpads_peek),
9604 (gst_collectpads_pop), (gst_collectpads_available),
9605 (gst_collectpads_read), (gst_collectpads_flush),
9606 (gst_collectpads_chain):
9607 * gst/base/gstcollectpads.h:
9608 * gst/elements/Makefile.am:
9609 * gst/elements/gstelements.c:
9610 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
9611 (gst_fakesink_get_times), (gst_fakesink_event),
9612 (gst_fakesink_preroll), (gst_fakesink_render):
9613 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9614 (gst_filesink_init), (gst_filesink_set_location),
9615 (gst_filesink_open_file), (gst_filesink_close_file),
9616 (gst_filesink_pad_query), (gst_filesink_event),
9617 (gst_filesink_render), (gst_filesink_change_state):
9618 * gst/elements/gstfilesink.h:
9619 Added object to help in making collect pad based elements.
9621 Make event function in sink baseclass return gboolean.
9623 2005-05-05 Wim Taymans <wim@fluendo.com>
9625 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
9626 (gst_bin_get_by_name):
9628 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
9629 (gst_clock_finalize):
9630 * gst/gstdata.c: (gst_data_replace):
9632 * gst/gstelement.c: (gst_element_request_pad),
9633 (gst_element_pads_activate):
9634 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
9636 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9637 (gst_pad_set_checkgetrange_function),
9638 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
9639 (gst_pad_check_pull_range), (gst_pad_pull_range),
9640 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9641 (gst_pad_pause_task), (gst_pad_stop_task):
9642 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9643 (gst_element_request_pad), (gst_pad_proxy_getcaps):
9644 Fix name lookup in GstBin.
9645 Added _data_replace() function and _buffer_replace()
9646 Use finalize method to clean up clock.
9647 Fix refcounting on request pads.
9648 Fix pad schedule mode error.
9649 Some more object refcounting debug info,
9652 2005-05-04 Andy Wingo <wingo@pobox.com>
9654 * check/Makefile.am:
9655 * docs/gst/tmpl/gstatomic.sgml:
9656 * docs/gst/tmpl/gstplugin.sgml:
9657 * gst/base/gstbasesink.c: (gst_basesink_activate):
9658 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
9659 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
9660 (gst_basesrc_query), (gst_basesrc_set_property),
9661 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
9662 (gst_basesrc_activate):
9663 * gst/base/gstbasesrc.h:
9664 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
9665 (gst_base_transform_src_activate):
9666 * gst/elements/gstelements.c:
9667 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9668 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
9669 * gst/elements/gsttee.c: (gst_tee_sink_activate):
9670 * gst/elements/gsttypefindelement.c: (find_element_get_length),
9671 (gst_type_find_element_checkgetrange),
9672 (gst_type_find_element_activate):
9673 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
9674 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
9675 (gst_caps_load_thyself):
9676 * gst/gstelement.c: (gst_element_pads_activate),
9677 (gst_element_save_thyself), (gst_element_restore_thyself):
9678 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
9679 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
9681 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
9682 (gst_xml_parse_file), (gst_xml_parse_memory),
9683 (gst_xml_get_element), (gst_xml_make_element):
9684 * gst/indexers/gstfileindex.c: (gst_file_index_load),
9685 (_file_index_id_save_xml), (gst_file_index_commit):
9686 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
9687 (read_enum), (load_pad_template), (load_feature), (load_plugin),
9689 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
9690 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
9691 * tools/gst-complete.c: (main):
9692 * tools/gst-compprep.c: (main):
9693 * tools/gst-inspect.c: (print_element_properties_info):
9694 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
9695 * tools/gst-xmlinspect.c: (print_element_properties):
9698 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
9700 * gst/gstplugin.c: (gst_plugin_check_module),
9701 (gst_plugin_check_file), (gst_plugin_load_file):
9702 apply patch from #172526 to make register work on MacOSX
9704 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9706 * docs/gst/tmpl/gstconfig.sgml:
9707 * gst/gstconfig.h.in:
9708 move documentation for some symbols. Add doc for GST_PTR_FORMAT
9709 * testsuite/debug/printf_extension.c: (main):
9710 Do not use GST_PTR_FORMAT on pointers to types with
9711 sizeof < sizeof(gpointer). Fixes test on 64-bit
9712 * testsuite/elements/property.h:
9713 use correct printf format
9715 2005-05-02 Wim Taymans <wim@fluendo.com>
9717 * docs/design/draft-push-pull.txt:
9718 * docs/design/draft-query.txt:
9719 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
9720 (gst_basesrc_start):
9721 Added draft for new query API.
9722 Added draft for better selecting scheduling methods.
9723 Make basesrc ignore length if the subclass does not support
9726 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9729 possible fixes for automake-1.5 - _LIBADD is reserved
9731 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
9733 * docs/faq/Makefile.am:
9734 * docs/manual/Makefile.am:
9736 * docs/pwg/Makefile.am:
9738 possible fixes for automake-1.5
9740 2005-04-28 Wim Taymans <wim@fluendo.com>
9742 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9743 (gst_basesink_pad_getcaps), (gst_basesink_init),
9744 (gst_basesink_do_sync):
9745 * gst/gstclock.c: (gst_clock_entry_new):
9746 * gst/gstevent.c: (gst_event_discont_get_value):
9747 * gst/gstpipeline.c: (pipeline_bus_handler),
9748 (gst_pipeline_change_state):
9749 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9750 Better debugging of clocking info.
9751 Allow NULL values when getting discont values.
9753 2005-04-27 Wim Taymans <wim@fluendo.com>
9755 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
9756 * check/gst/gstpad.c: (gst_pad_suite):
9757 Increase timeout for checks.
9759 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9761 * check/Makefile.am:
9762 fix the broken rule for cleanup. Apparently this rule is
9763 only needed on FC2, so maybe this warrants further autotool
9766 2005-04-26 Wim Taymans <wim@fluendo.com>
9768 * gst/gsttrashstack.h:
9769 Ooohh. a nasty one! After having a failed pop() from the stack,
9770 it's possible that the stack is empty. In that case, don't
9771 follow the NULL pointer.
9773 2005-04-25 Wim Taymans <wim@fluendo.com>
9775 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9776 (gst_pad_set_checkgetrange_function),
9777 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
9778 (gst_pad_check_pull_range), (gst_pad_pull_range),
9779 (gst_static_pad_template_get_caps), (gst_pad_start_task),
9780 (gst_pad_pause_task), (gst_pad_stop_task):
9781 * gst/gstplugin.c: (gst_plugin_load):
9783 Remove gst_library_load as it does more harm than good with
9784 the new g_module flags.
9785 Revert bogus caps template check in pad linking, pad caps
9786 are important when linking not the template, which is more
9787 general than the current caps.
9789 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9791 * gst/autoplug/.cvsignore:
9792 * gst/autoplug/Makefile.am:
9793 * gst/autoplug/gstsearchfuncs.c:
9794 * gst/autoplug/gstsearchfuncs.h:
9795 * gst/autoplug/gstspider.c:
9796 * gst/autoplug/gstspider.h:
9797 * gst/autoplug/gstspideridentity.c:
9798 * gst/autoplug/gstspideridentity.h:
9799 * gst/autoplug/spidertest.c:
9802 2005-04-25 Wim Taymans <wim@fluendo.com>
9804 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9805 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
9806 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
9807 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
9809 Added stubs for unimplemented functions.
9811 2005-04-24 David Schleef <ds@schleef.org>
9813 * gst/gstpad.h: Disable some unimplemented functions. Wim,
9816 2005-04-24 David Schleef <ds@schleef.org>
9818 Convert everything from GstAtomicInt to g_atomic_int_*, and
9823 * gst/gstatomic_impl.h:
9831 * gst/gstdata_private.h:
9838 * gst/gststructure.c:
9839 * gst/gststructure.h:
9840 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
9843 2005-04-24 David Schleef <ds@schleef.org>
9845 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
9846 make the regressions tests work. Remove some code that is no
9848 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
9849 Disable warning for pads without templates.
9851 2005-04-24 David Schleef <ds@schleef.org>
9853 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
9854 functions that handle filtered links.
9855 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
9857 * gst/gstutils.c: Fix/remove utility functions that handle
9860 * gst/gstvalue.c: Add serialization/deserialization of caps
9861 * gst/parse/grammar.y: Ignore filtered caps when linking. This
9862 requires fixing so that the filter caps notation creates
9863 a capsfilter element and sets the filter_caps property. I
9864 think everyone probably wants to keep the shorthand notation.
9865 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
9866 * docs/gst/tmpl/gstpad.sgml:
9868 * gst/elements/gstelements.c: Register capsfilter element.
9869 * gst/Makefile.am: fix spacing
9870 * docs/random/ds/0.9-suggested-changes: random
9872 2005-04-23 David Schleef <ds@schleef.org>
9874 * gst/elements/Makefile.am:
9875 * gst/elements/gstcapsfilter.c: New element that acts like an
9876 identity, but filters caps. Will eventually replace filtered
9877 caps in pad linking.
9878 * gst/gstutils.c: (gst_element_create_all_pads): New function
9879 to create all the ALWAYS pads that are registered with an
9880 element class. This functionality should eventually be
9881 merged in with GstElement initialization.
9883 * testsuite/trigger/README: part of trigger test code that should
9884 have been checked in a long time ago.
9886 2005-04-23 David Schleef <ds@schleef.org>
9888 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
9889 needed with new versions of libtool (nobody will confirm this),
9890 and hard to carry around.
9891 * gst/autoplug/Makefile.am:
9892 * gst/base/Makefile.am:
9893 * gst/elements/Makefile.am:
9894 * gst/indexers/Makefile.am:
9895 * gst/schedulers/Makefile.am:
9896 * libs/gst/bytestream/Makefile.am:
9897 * libs/gst/control/Makefile.am:
9898 * libs/gst/dataprotocol/Makefile.am:
9899 * libs/gst/getbits/Makefile.am:
9901 2005-04-21 Wim Taymans <wim@fluendo.com>
9903 * docs/design/draft-push-pull.txt:
9904 * docs/design/part-MT-refcounting.txt:
9905 * docs/design/part-TODO.txt:
9906 * docs/design/part-caps.txt:
9907 * docs/design/part-events.txt:
9908 * docs/design/part-gstbus.txt:
9909 * docs/design/part-gstpipeline.txt:
9910 * docs/design/part-messages.txt:
9911 * docs/design/part-push-pull.txt:
9912 * docs/design/part-query.txt:
9915 2005-04-21 Wim Taymans <wim@fluendo.com>
9917 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
9918 (gst_message_new), (gst_message_new_error),
9919 (gst_message_new_warning), (gst_message_new_tag),
9920 (gst_message_new_state_changed), (gst_message_new_application),
9921 (gst_message_get_structure):
9923 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9924 (gst_structure_copy_conditional):
9925 Use parent refcount in GstMessage to ensure GstStructure
9927 Cleaned up headers a bit.
9930 2005-04-20 Wim Taymans <wim@fluendo.com>
9932 * gst/base/gstbasesink.c: (gst_basesink_base_init),
9933 (gst_basesink_pad_getcaps), (gst_basesink_init),
9934 (gst_basesink_chain_unlocked):
9935 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
9936 (gst_type_find_helper):
9937 * gst/elements/gsttypefindelement.c:
9938 (gst_type_find_element_have_type), (gst_type_find_element_init),
9939 (stop_typefinding), (gst_type_find_element_handle_event),
9940 (find_suggest), (gst_type_find_element_chain),
9941 (gst_type_find_element_checkgetrange),
9942 (gst_type_find_element_getrange), (do_typefind),
9943 (gst_type_find_element_activate):
9944 * gst/gstbuffer.c: (_gst_buffer_sub_free),
9945 (gst_buffer_default_free), (gst_buffer_default_copy),
9946 (gst_buffer_set_caps):
9947 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
9949 * gst/gstmessage.c: (gst_message_new),
9950 (gst_message_new_state_changed):
9951 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
9952 (gst_pad_set_checkgetrange_function),
9953 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
9954 (gst_pad_set_caps), (gst_pad_check_pull_range),
9955 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
9957 * gst/gsttypefind.c: (gst_type_find_register):
9958 Make gst_caps_replace() work like other _replace() functions.
9959 Use _caps_replace() where possible.
9960 Make sure _message_new() initialises its field.
9961 Add gst_static_pad_template_get_caps()
9964 2005-04-18 Andy Wingo <wingo@pobox.com>
9966 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
9967 on the peer, not the pad. I think that was a typo. Pass an extra
9968 arg to see if random access is possible. Activate the pads as
9969 PULL_RANGE if possible.
9971 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
9973 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
9974 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
9977 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9979 * docs/faq/using.xml:
9980 Add note on gstreamer-properties (#154996).
9982 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9984 * docs/random/bbb/optional-properties:
9985 Some analysis on optional properties.
9987 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9989 * docs/gst/tmpl/gstelementfactory.sgml:
9991 * gst/gstelementfactory.c: (gst_element_factory_init),
9992 (gst_element_factory_cleanup), (gst_element_register),
9993 (__gst_element_factory_add_static_pad_template),
9994 (gst_element_factory_get_static_pad_templates),
9995 (gst_element_factory_can_src_caps),
9996 (gst_element_factory_can_sink_caps):
9997 * gst/registries/Makefile.am:
9998 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
9999 (gst_xml_registry_class_init), (gst_xml_registry_init),
10000 (gst_xml_registry_new), (gst_xml_registry_set_property),
10001 (gst_xml_registry_get_property), (get_time), (make_dir),
10002 (gst_xml_registry_get_perms_func),
10003 (plugin_times_older_than_recurse), (plugin_times_older_than),
10004 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
10005 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
10006 (add_to_char_array), (read_string), (read_uint), (read_enum),
10007 (load_pad_template), (load_feature), (load_plugin), (load_paths),
10008 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
10009 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
10010 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
10011 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
10012 (gst_xml_registry_rebuild):
10013 * gst/registries/gstlibxmlregistry.h:
10014 * tools/gst-compprep.c: (main):
10015 * tools/gst-inspect.c: (print_pad_templates_info):
10016 * tools/gst-xmlinspect.c: (print_element_info):
10017 Use libxml2 for registry parsing, use staticpadtemplates in
10018 elementfactories. Makes gst_init() +/- 10x faster.
10020 2005-04-12 Wim Taymans <wim@fluendo.com>
10022 * gst/base/Makefile.am:
10023 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10024 (gst_basesink_pad_getcaps), (gst_basesink_init),
10025 (gst_basesink_event), (gst_basesink_change_state):
10026 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10027 (gst_basesrc_init), (gst_basesrc_query),
10028 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10029 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10030 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10031 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10032 (gst_basesrc_stop), (gst_basesrc_activate),
10033 (gst_basesrc_change_state):
10034 * gst/base/gsttypefindhelper.c: (helper_find_peek),
10035 (helper_find_suggest), (gst_type_find_helper):
10036 * gst/base/gsttypefindhelper.h:
10037 * gst/elements/Makefile.am:
10038 * gst/elements/gstelements.c:
10039 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
10040 (gst_fakesink_get_times), (gst_fakesink_event),
10041 (gst_fakesink_preroll), (gst_fakesink_render):
10042 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10043 (gst_fakesrc_init), (gst_fakesrc_event_handler),
10044 (gst_fakesrc_get_property), (gst_fakesrc_create),
10045 (gst_fakesrc_start), (gst_fakesrc_stop):
10046 * gst/elements/gstfakesrc.h:
10047 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
10048 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10049 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10050 (gst_filesrc_create_read), (gst_filesrc_create),
10051 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
10052 (gst_filesrc_start):
10053 * gst/elements/gsttypefindelement.c:
10054 (gst_type_find_element_have_type), (gst_type_find_element_init),
10055 (start_typefinding), (stop_typefinding), (push_buffer_store),
10056 (gst_type_find_element_handle_event),
10057 (gst_type_find_element_chain),
10058 (gst_type_find_element_checkgetrange),
10059 (gst_type_find_element_getrange), (do_typefind),
10060 (gst_type_find_element_activate),
10061 (gst_type_find_element_change_state):
10062 * gst/elements/gsttypefindelement.h:
10063 * gst/gstpipeline.c: (pipeline_bus_handler):
10064 Added typefind helper.
10065 Small preroll fix in the base sink.
10066 Disable typefind code in basesrc.
10067 Crude port of typefindelement.
10071 2005-04-11 Wim Taymans <wim@fluendo.com>
10073 * check/gst/gstbus.c: (gstbus_suite):
10074 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
10075 * check/gstcheck.h:
10076 Fix up the timeout so that the test does not fail.
10078 2005-04-06 Wim Taymans <wim@fluendo.com>
10081 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10082 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
10083 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
10084 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
10085 (gst_basesrc_check_get_range), (gst_basesrc_loop),
10086 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
10087 (gst_basesrc_stop), (gst_basesrc_activate),
10088 (gst_basesrc_change_state), (basesrc_find_peek),
10089 (basesrc_find_suggest), (gst_basesrc_type_find):
10090 * gst/base/gstbasesrc.h:
10091 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
10092 (gst_filesrc_class_init), (gst_filesrc_init),
10093 (gst_filesrc_finalize), (gst_filesrc_set_location),
10094 (gst_filesrc_set_property), (gst_filesrc_get_property),
10095 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
10096 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
10097 (gst_filesrc_create_read), (gst_filesrc_create),
10098 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
10099 * gst/elements/gstfilesrc.h:
10100 * gst/gstelement.c: (gst_element_get_state_func),
10101 (gst_element_lost_state), (gst_element_pads_activate):
10102 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10103 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
10104 (gst_pad_pull_range):
10106 More work on the generic source base class, implement seeking,
10108 Make filesrc extend the base source class.
10109 Added gst_pad_set_checkgetrange_function to GstPad.
10111 2005-04-06 Andy Wingo <wingo@pobox.com>
10113 * pkgconfig/gstreamer-base.pc.in:
10114 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
10116 * pkgconfig/Makefile.am:
10117 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
10119 2005-04-04 Wim Taymans <wim@fluendo.com>
10121 * gst/base/Makefile.am:
10123 * gst/base/gstbasesink.c: (gst_basesink_base_init),
10124 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10125 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10126 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
10127 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
10128 (gst_basesrc_base_init), (gst_basesrc_class_init),
10129 (gst_basesrc_init), (gst_basesrc_get_formats),
10130 (gst_basesrc_get_query_types), (gst_basesrc_query),
10131 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
10132 (gst_basesrc_set_property), (gst_basesrc_get_property),
10133 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
10134 (gst_basesrc_loop), (gst_basesrc_activate),
10135 (gst_basesrc_change_state):
10136 * gst/base/gstbasesrc.h:
10137 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
10138 (gst_fakesrc_class_init), (gst_fakesrc_init),
10139 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
10140 (gst_fakesrc_get_property), (gst_fakesrc_create):
10141 * gst/elements/gstfakesrc.h:
10142 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
10143 (gst_filesrc_open_file), (gst_filesrc_loop),
10144 (gst_filesrc_activate), (filesrc_find_peek),
10145 (gst_filesrc_type_find):
10146 Made base source class, make fakesrc extend it.
10147 Add comments to basesink class.
10148 Some filesrc cleanup.
10150 2005-03-31 David Schleef <ds@schleef.org>
10152 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
10153 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
10154 expected to link against libgstreamer.
10155 * gst/base/Makefile.am: link against libgstreamer
10156 * gst/elements/Makefile.am: same
10158 2005-03-31 Andy Wingo <wingo@pobox.com>
10160 * tests/instantiate/Makefile.am:
10161 * tests/instantiate/caps.c: Add test to test speed of caps copy
10164 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
10165 GMemChunk to be fair.
10167 * gst/gsttrashstack.h: Remove warning about using the fallback
10168 trash stack implementation, it's still faster than malloc.
10170 2005-03-30 Andy Wingo <wingo@pobox.com>
10172 * tests/complexity.c: Add a copyright.
10174 2005-03-31 Wim Taymans <wim@fluendo.com>
10176 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
10177 (gst_base_transform_class_init), (gst_base_transform_init),
10178 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
10179 (gst_base_transform_get_property),
10180 (gst_base_transform_sink_activate),
10181 (gst_base_transform_src_activate),
10182 (gst_base_transform_change_state):
10183 * gst/base/gstbasetransform.h:
10184 * gst/elements/gstidentity.c: (gst_identity_class_init),
10185 (gst_identity_event), (gst_identity_check_perfect),
10186 (gst_identity_transform), (gst_identity_start),
10187 (gst_identity_stop):
10188 Added start/stop methods to transform base class so subclasses
10189 don't need to deal with state changes even.
10191 2005-03-31 Wim Taymans <wim@fluendo.com>
10193 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
10194 (gst_event_new_discontinuous), (gst_event_discont_get_value):
10196 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10197 (gst_pad_pull_range):
10198 Added rate to the discont event to prepare for variable speed
10199 and reverse playback.
10201 2005-03-29 David Schleef <ds@schleef.org>
10204 * testsuite/trigger/Makefile.am:
10205 * testsuite/trigger/trigger.c: A little example program to show
10206 how trigger-based elements can work.
10208 2005-03-29 Wim Taymans <wim@fluendo.com>
10210 * gst/base/Makefile.am:
10212 * gst/base/gstbasesink.c: (gst_basesink_get_type),
10213 (gst_basesink_base_init), (gst_basesink_class_init),
10214 (gst_basesink_pad_getcaps), (gst_basesink_init),
10215 (gst_basesink_activate), (gst_basesink_change_state):
10216 * gst/base/gstbasesink.h:
10217 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
10218 (gst_base_transform_base_init), (gst_base_transform_finalize),
10219 (gst_base_transform_class_init), (gst_base_transform_init),
10220 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
10221 (gst_base_transform_event), (gst_base_transform_getrange),
10222 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
10223 (gst_base_transform_set_property),
10224 (gst_base_transform_get_property),
10225 (gst_base_transform_sink_activate),
10226 (gst_base_transform_src_activate),
10227 (gst_base_transform_change_state):
10228 * gst/base/gstbasetransform.h:
10229 * gst/elements/gstidentity.c: (gst_identity_finalize),
10230 (gst_identity_class_init), (gst_identity_init),
10231 (gst_identity_event), (gst_identity_check_perfect),
10232 (gst_identity_transform), (gst_identity_set_property),
10233 (gst_identity_get_property), (gst_identity_change_state):
10234 * gst/elements/gstidentity.h:
10235 * gst/gstelement.c: (gst_element_get_state_func),
10236 (gst_element_lost_state), (gst_element_pads_activate):
10237 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
10238 (gst_pad_check_pull_range), (gst_pad_pull_range):
10240 Simplify pad activation.
10241 Added function to check if pull_range can be performed.
10242 Error out when pulling inactive or flushing pads.
10243 Removed const from refcounted types as it does not make sense.
10244 Simplify pad templates in basesink
10245 Added base class for simple 1-to-1 transforms.
10246 Make identity subclass the base transform.
10248 2005-03-29 Andy Wingo <wingo@pobox.com>
10250 * docs/libs/gstreamer-libs-overrides.txt:
10251 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
10252 really don't understand what's going on, but like whatever. I want
10255 * docs/gst/Makefile.am:
10256 * docs/libs/Makefile.am: Dist the overrides files.
10258 * check/Makefile.am (clean-local): Remove .libs directories.
10260 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
10261 elements to EXTRA_DIST, so po/ files are happy.
10263 * po/POTFILES.in: Er, remove it here.
10265 * po/POTFILES: Remove gstspider.c.
10267 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
10269 * docs/libs/gstreamer-libs-docs.sgml:
10270 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
10273 * tests/complexity.c (main): Set the length of the preroll queue
10274 on the sinks to prevent a lockup.
10276 * libs/gst/dataprotocol/Makefile.am:
10277 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
10278 the same as the one in check/gst-libs/gdp.c.
10280 * po/, docs/gst/: Commit automatic changes to docs and po files.
10282 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
10283 the versioned libgstbase.
10285 * check/Makefile.am: Depend on an unversioned gst-register, seems
10286 to make autoconf happier.
10288 * gst/base/Makefile.am: Make libgstbase a versioned lib.
10290 2005-03-28 Wim Taymans <wim@fluendo.com>
10293 * docs/design/part-gstelement.txt:
10294 * docs/design/part-negotiation.txt:
10295 * docs/design/part-preroll.txt:
10296 * docs/design/part-scheduling.txt:
10297 * docs/design/part-states.txt:
10299 * gst/base/Makefile.am:
10301 * gst/base/gstbasesink.c: (gst_basesink_get_template),
10302 (gst_basesink_base_init), (gst_basesink_class_init),
10303 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
10304 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
10305 (gst_basesink_set_pad_functions),
10306 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
10307 (gst_basesink_set_property), (gst_basesink_get_property),
10308 (gst_base_sink_get_template), (gst_base_sink_get_caps),
10309 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
10310 (gst_basesink_preroll_queue_push),
10311 (gst_basesink_preroll_queue_empty),
10312 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
10313 (gst_basesink_event), (gst_basesink_get_times),
10314 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
10315 (gst_basesink_chain_unlocked), (gst_basesink_chain),
10316 (gst_basesink_loop), (gst_basesink_activate),
10317 (gst_basesink_change_state):
10318 * gst/base/gstbasesink.h:
10319 * gst/elements/Makefile.am:
10320 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
10321 (gst_fakesink_class_init), (gst_fakesink_init),
10322 (gst_fakesink_set_property), (gst_fakesink_get_property),
10323 (gst_fakesink_get_times), (gst_fakesink_event),
10324 (gst_fakesink_preroll), (gst_fakesink_render),
10325 (gst_fakesink_change_state):
10326 * gst/elements/gstfakesink.h:
10327 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10328 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
10329 * gst/gstelement.c: (gst_element_add_pad),
10330 (gst_element_get_state_func), (gst_element_abort_state),
10331 (gst_element_commit_state), (gst_element_lost_state),
10332 (gst_element_set_state), (gst_element_pads_activate):
10333 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
10334 * gst/gstpipeline.c: (gst_pipeline_send_event),
10335 (gst_pipeline_change_state):
10336 Added state change code.
10337 Added/updated docs.
10338 Added sink base class, make fakesink extend the base class.
10339 Small cleanups in GstPipeline.
10341 2005-03-26 David Schleef <ds@schleef.org>
10343 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
10344 is broken and should be implemented in a different library.
10345 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
10346 * gst/gst.h: remove gstcpu.h
10347 * gst/gstcpu.c: remove
10348 * gst/gstcpu.h: remove
10349 * gst/Makefile.am.future: Remove this file. It's ancient.
10351 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10353 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
10354 (gst_bin_send_event):
10355 Add default event/set_manager handlers. The set_manager handler
10356 takes care that the manager is distributed over kids that were
10357 already in the bin before the manager was set. The event handler
10358 is a utility virtual function that sends the event over all sinks,
10359 so that gst_element_send_event (bin, event); has the expected
10361 * gst/gstpad.c: (gst_pad_event_default):
10362 Re-install default event handling for discontinuities, so that
10363 seeking works without requiring hacks in applications or extra
10365 * gst/gstpipeline.c: (gst_pipeline_class_init),
10366 (gst_pipeline_send_event):
10367 Half hack, half utility: set a pipeline to PAUSED for seek events,
10368 since that is the only way we can guarantee a/v sync. Means that
10369 you can do gst_element_seek (pipeline, method, pos); on a pipeline
10370 and it "just works".
10372 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10374 * gst/gstpipeline.c: (gst_pipeline_use_clock):
10375 Lock/unlock mismatch.
10377 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
10379 * docs/faq/gst-uninstalled:
10380 add gst-plugins-base
10381 * docs/gst/Makefile.am:
10382 don't error out until docs are fixed
10383 * docs/gst/gstreamer.types:
10386 2005-03-22 Wim Taymans <wim@fluendo.com>
10388 * check/Makefile.am:
10389 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
10390 * gst/gststructure.c: (gst_structure_set_valist),
10391 (gst_structure_copy_conditional):
10392 Activated more tests.
10393 Added message test.
10394 Added G_TYPE_POINTER to GstStructure.
10397 2005-03-22 Wim Taymans <wim@fluendo.com>
10399 * docs/design/part-TODO.txt:
10400 * docs/design/part-events.txt:
10401 * docs/design/part-gstbin.txt:
10402 * docs/design/part-gstbus.txt:
10403 * docs/design/part-gstpipeline.txt:
10404 * docs/design/part-messages.txt:
10406 * gst/gstmessage.c:
10409 2005-03-21 Wim Taymans <wim@fluendo.com>
10411 * gst/gstbus.c: (gst_bus_post):
10412 Fix copy-and-paste error.
10414 2005-03-21 Wim Taymans <wim@fluendo.com>
10416 * check/Makefile.am:
10418 * gst/elements/Makefile.am:
10419 * gst/elements/gstelements.c:
10420 * gst/elements/gstfakesink.c: (gst_fakesink_init),
10421 (gst_fakesink_event), (gst_fakesink_chain):
10422 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10423 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
10424 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
10425 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
10426 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10427 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
10428 (gst_fakesrc_loop), (gst_fakesrc_activate),
10429 (gst_fakesrc_change_state):
10430 * gst/elements/gstfakesrc.h:
10431 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
10432 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
10433 (gst_filesrc_open_file), (gst_filesrc_loop),
10434 (gst_filesrc_activate), (gst_filesrc_change_state),
10435 (filesrc_find_peek), (filesrc_find_suggest),
10436 (gst_filesrc_type_find):
10437 * gst/elements/gstidentity.c: (gst_identity_finalize),
10438 (gst_identity_class_init), (gst_identity_init),
10439 (gst_identity_proxy_getcaps), (identity_queue_push),
10440 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
10441 (gst_identity_getrange), (gst_identity_chain),
10442 (gst_identity_sink_loop), (gst_identity_src_loop),
10443 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
10444 (gst_identity_set_property), (gst_identity_get_property),
10445 (gst_identity_change_state):
10446 * gst/elements/gstidentity.h:
10447 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
10448 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
10449 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
10450 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
10451 (gst_tee_sink_activate):
10452 * gst/elements/gsttee.h:
10453 * gst/gst.c: (gst_register_core_elements), (init_post):
10455 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
10456 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
10457 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
10458 (gst_bin_change_state):
10460 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
10461 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
10462 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
10463 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
10464 (gst_bus_set_sync_handler), (gst_bus_create_watch),
10465 (bus_watch_callback), (bus_watch_destroy),
10466 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
10467 (poll_timeout), (gst_bus_poll):
10471 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10472 (gst_element_post_message), (gst_element_message_full),
10473 (gst_element_get_state_func), (gst_element_get_state),
10474 (gst_element_abort_state), (gst_element_commit_state),
10475 (gst_element_lost_state), (gst_element_set_state),
10476 (gst_element_pads_activate), (gst_element_change_state),
10477 (gst_element_dispose), (gst_element_set_manager_func),
10478 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
10479 (gst_element_set_manager), (gst_element_get_manager),
10480 (gst_element_set_bus), (gst_element_get_bus),
10481 (gst_element_set_scheduler), (gst_element_get_scheduler):
10482 * gst/gstelement.h:
10483 * gst/gstevent.c: (gst_event_new_segment_seek),
10484 (gst_event_new_flush):
10486 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
10487 (_gst_message_free), (gst_message_get_type), (gst_message_new),
10488 (gst_message_new_eos), (gst_message_new_error),
10489 (gst_message_new_warning), (gst_message_new_tag),
10490 (gst_message_new_state_changed), (gst_message_new_application),
10491 (gst_message_get_structure), (gst_message_parse_tag),
10492 (gst_message_parse_state_changed), (gst_message_parse_error),
10493 (gst_message_parse_warning):
10494 * gst/gstmessage.h:
10495 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
10496 (gst_real_pad_set_property), (gst_pad_set_active),
10497 (gst_pad_is_active), (gst_pad_set_blocked_async),
10498 (gst_pad_set_blocked), (gst_pad_is_blocked),
10499 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
10500 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
10501 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10502 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
10503 (gst_pad_link_filtered), (gst_pad_relink_filtered),
10504 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
10505 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
10506 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
10507 (gst_pad_set_caps), (gst_pad_configure_sink),
10508 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
10509 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
10510 (gst_real_pad_dispose), (gst_real_pad_finalize),
10511 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
10512 (gst_pad_event_default_dispatch), (gst_pad_event_default),
10513 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
10515 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
10516 (pipeline_bus_handler), (gst_pipeline_change_state),
10517 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
10518 * gst/gstpipeline.h:
10520 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
10521 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
10522 (gst_queue_link_src), (gst_queue_bufferalloc),
10523 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10524 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
10525 (gst_queue_loop), (gst_queue_handle_src_event),
10526 (gst_queue_handle_src_query), (gst_queue_src_activate),
10527 (gst_queue_change_state):
10529 * gst/gstscheduler.c: (gst_scheduler_init),
10530 (gst_scheduler_dispose), (gst_scheduler_create_task),
10531 (gst_scheduler_factory_create):
10532 * gst/gstscheduler.h:
10533 * gst/gststructure.c: (gst_structure_get_type),
10534 (gst_structure_copy_conditional):
10535 * gst/gststructure.h:
10536 * gst/gsttaginterface.h:
10537 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
10538 (gst_task_init), (gst_task_dispose), (gst_task_create),
10539 (gst_task_get_state), (gst_task_start), (gst_task_stop),
10545 * gst/schedulers/Makefile.am:
10546 * gst/schedulers/cothreads_compat.h:
10547 * gst/schedulers/entryscheduler.c:
10548 * gst/schedulers/faircothreads.c:
10549 * gst/schedulers/faircothreads.h:
10550 * gst/schedulers/fairscheduler.c:
10551 * gst/schedulers/gstbasicscheduler.c:
10552 * gst/schedulers/gstoptimalscheduler.c:
10553 * gst/schedulers/gthread-cothreads.h:
10554 * gst/schedulers/threadscheduler.c:
10555 (gst_thread_scheduler_task_get_type),
10556 (gst_thread_scheduler_task_class_init),
10557 (gst_thread_scheduler_task_init),
10558 (gst_thread_scheduler_task_start),
10559 (gst_thread_scheduler_task_stop),
10560 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
10561 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10562 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
10563 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
10565 * libs/gst/Makefile.am:
10566 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
10567 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
10568 (gst_file_pad_parent_set):
10569 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10570 (gst_dp_event_from_packet):
10571 * tests/complexity.c: (main):
10572 * tests/mass_elements.c: (main):
10573 * testsuite/states/locked.c: (message_received), (main):
10574 * testsuite/states/parent.c: (main):
10575 * tools/gst-inspect.c: (print_element_flag_info),
10576 (print_implementation_info), (print_pad_info):
10577 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
10579 * tools/gst-md5sum.c: (event_loop), (main):
10580 * tools/gst-typefind.c: (main):
10581 * tools/gst-xmlinspect.c: (print_element_info):
10583 Added GstBus for mainloop integration.
10584 Added GstMessage for sending notifications on the bus.
10585 Added GstTask as an abstraction for pipeline entry points.
10587 Removed Schedulers.
10588 Simplified GstQueue for multithreaded core.
10589 Made _link threadsafe, removed old capsnego.
10590 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
10591 Added pad blocking functions.
10592 Reworked scheduling functions in GstPad to prepare for
10593 scheduling updates soon.
10594 Moved events out of data stream.
10595 Simplified GstEvent types.
10596 Added return values to push/pull.
10597 Removed clocking from GstElement.
10598 Added prototypes for state change function for next merge.
10599 Removed iterate from bins and state change management.
10600 Fixed some elements, disabled others for now.
10601 Fixed -inspect and -launch.
10602 Added check for GstBus.
10604 2005-03-10 Wim Taymans <wim@fluendo.com>
10606 * docs/design/part-MT-refcounting.txt:
10607 * docs/design/part-clocks.txt:
10608 * docs/design/part-gstelement.txt:
10609 * docs/design/part-gstobject.txt:
10610 * docs/design/part-standards.txt:
10611 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10612 (gst_bin_remove_func), (gst_bin_remove):
10616 * testsuite/clock/clock1.c: (main):
10617 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
10619 * testsuite/dlopen/loadgst.c: (do_test):
10620 * testsuite/refcounting/bin.c: (add_remove_test1),
10621 (add_remove_test2), (main):
10622 * testsuite/refcounting/element.c: (main):
10623 * testsuite/refcounting/element_pad.c: (main):
10624 * testsuite/refcounting/pad.c: (main):
10625 * tools/gst-launch.c: (sigint_handler_sighandler):
10626 * tools/gst-typefind.c: (main):
10628 Added doc about clock.
10629 removed gst_bin_iterate_recurse_up(), marked methods
10631 Fix more testsuites.
10633 2005-03-09 Wim Taymans <wim@fluendo.com>
10635 * gst/gstpad.c: (gst_pad_get_direction),
10636 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
10637 (gst_pad_collect_valist):
10638 * testsuite/bins/interface.c: (main):
10639 * testsuite/caps/audioscale.c: (test_caps):
10640 * testsuite/caps/caps.c: (test1), (test2), (test3):
10641 * testsuite/caps/deserialize.c: (main):
10642 * testsuite/caps/enumcaps.c: (main):
10643 * testsuite/caps/filtercaps.c: (main):
10644 * testsuite/caps/intersect2.c: (main):
10645 * testsuite/caps/random.c: (main):
10646 * testsuite/caps/renegotiate.c: (my_fixate), (main):
10647 * testsuite/caps/sets.c: (check_caps):
10648 * testsuite/caps/simplify.c: (check_caps), (main):
10649 * testsuite/caps/subtract.c: (check_caps):
10650 Fix _pad_get_direction wrt ghostpads.
10651 Fix caps testsuite.
10653 2005-03-09 Wim Taymans <wim@fluendo.com>
10655 * check/Makefile.am:
10656 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
10657 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
10658 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
10659 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
10660 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
10661 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
10662 (gst_bin_remove), (gst_bin_iterate_recurse_up),
10663 (bin_element_is_sink), (gst_bin_iterate_sinks),
10664 (gst_bin_iterate_all_by_interface):
10666 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
10667 (gst_element_change_state), (gst_element_dispose),
10668 (gst_element_finalize), (gst_element_set_loop_function):
10669 * gst/gstelement.h:
10670 * gst/gstiterator.c: (find_custom_fold_func):
10671 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10672 (gst_pad_collectv), (gst_pad_collect_valist),
10673 (gst_pad_template_new):
10674 * gst/gstpipeline.c: (gst_pipeline_class_init),
10675 (gst_pipeline_dispose), (gst_pipeline_set_property),
10676 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
10677 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
10678 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
10680 * gst/schedulers/entryscheduler.c:
10681 * gst/schedulers/gstbasicscheduler.c:
10682 (gst_basic_scheduler_cothreaded_chain),
10683 (gst_basic_scheduler_chain_add_element):
10684 * testsuite/bins/interface.c: (main):
10686 Added GstSystemClock test.
10687 Implemented clock distribution code in GstBin.
10688 Implemented iterate sinks method for future use.
10689 Rearranged gstelement.h
10690 Fix GstIterator comparison bug.
10691 Moved some code to GstPipeline, mostly clocking related.
10693 2005-03-09 Wim Taymans <wim@fluendo.com>
10696 * gst/gst_private.h:
10697 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10698 (gst_bin_remove_func), (gst_bin_remove),
10699 (gst_bin_get_by_name_recurse_up):
10700 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
10701 (gst_clock_id_compare_func), (gst_clock_id_wait),
10702 (gst_clock_id_wait_async), (gst_clock_init),
10703 (gst_clock_adjust_unlocked), (gst_clock_get_time):
10704 * gst/gstelement.h:
10705 * gst/gstinfo.c: (_gst_debug_init):
10707 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
10708 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
10710 Bump version number, we're now 0.9.0
10711 Add future debugging category.
10712 Fix NULL _unref() in _get_by_name_recurse_up
10713 Rearrange gstpad.h.
10716 2005-03-08 Wim Taymans <wim@fluendo.com>
10718 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
10719 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
10720 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
10721 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
10722 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
10723 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
10724 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
10725 * gst/elements/gstidentity.c: (gst_identity_class_init):
10726 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
10727 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
10728 * gst/elements/gstshaper.c: (gst_shaper_class_init):
10729 * gst/elements/gststatistics.c: (gst_statistics_class_init):
10730 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
10732 * gst/gstelement.c: (gst_element_class_init),
10733 (gst_element_base_class_init), (gst_element_init),
10734 (gst_element_get_random_pad), (gst_element_wait_state_change),
10735 (gst_element_change_state), (gst_element_dispose),
10736 (gst_element_finalize), (gst_element_set_loop_function):
10737 * gst/gstelement.h:
10738 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
10739 * gst/gstthread.c: (gst_thread_class_init),
10740 (gst_thread_release_children_locks), (gst_thread_change_state):
10741 * gst/schedulers/gstbasicscheduler.c:
10742 (gst_basic_scheduler_loopfunc_wrapper),
10743 (gst_basic_scheduler_chain_wrapper),
10744 (gst_basic_scheduler_src_wrapper),
10745 (gst_basic_scheduler_remove_element):
10746 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
10747 Remove threadsafe properties. Fix elements because GObject
10748 complains when installing a property before declaring a
10749 set/get_property handler.
10750 Rearrange gstelement.h file, use STATE macros for state locks.
10751 Free mutexes in the finalize method instead of dispose.
10753 2005-03-08 Wim Taymans <wim@fluendo.com>
10755 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
10756 * gst/gstthread.c: (gst_thread_release_children_locks):
10757 Added parentage check.
10758 Fix build og GstThread again.
10760 2005-03-08 Wim Taymans <wim@fluendo.com>
10762 * docs/design/part-MT-refcounting.txt:
10763 * docs/design/part-conventions.txt:
10764 * docs/design/part-gstobject.txt:
10765 * docs/design/part-relations.txt:
10766 * docs/design/part-standards.txt:
10767 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
10768 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
10769 (gst_bin_get_by_name), (gst_bin_get_by_interface),
10770 (gst_bin_iterate_all_by_interface):
10773 * gst/gstelement.c: (gst_element_class_init),
10774 (gst_element_change_state), (gst_element_set_loop_function):
10775 * gst/gstelement.h:
10776 * gst/gstiterator.c:
10777 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
10778 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
10779 (gst_object_dispatch_properties_changed), (gst_object_set_name),
10780 (gst_object_set_parent), (gst_object_unparent),
10781 (gst_object_check_uniqueness):
10783 Docs updates, clean up some headers.
10785 2005-03-07 Wim Taymans <wim@fluendo.com>
10787 * check/.cvsignore:
10788 * check/Makefile.am:
10789 * check/gst-libs/.cvsignore:
10790 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
10791 * check/gst/.cvsignore:
10792 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
10793 (START_TEST), (gstbus_suite), (main):
10794 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
10795 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
10796 (gst_data_suite), (main):
10797 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
10798 (add_fold_func), (gstiterator_suite), (main):
10799 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
10800 (thread_name_object), (thread_name_object_default),
10801 (gst_object_name_compare), (gst_object_suite), (main):
10802 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
10803 (gst_pad_suite), (main):
10804 * check/gstcheck.c: (gst_check_log_message_func),
10805 (gst_check_log_critical_func), (gst_check_init):
10806 * check/gstcheck.h:
10807 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
10808 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
10811 2005-03-07 Wim Taymans <wim@fluendo.com>
10813 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
10814 (gst_list_iterator_next), (gst_list_iterator_resync),
10815 (gst_list_iterator_free), (gst_iterator_new_list),
10816 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
10817 (gst_iterator_free), (gst_iterator_push), (filter_next),
10818 (filter_resync), (filter_uninit), (filter_free),
10819 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
10820 (gst_iterator_foreach), (find_custom_fold_func),
10821 (gst_iterator_find_custom):
10822 * gst/gstiterator.h:
10823 Added missing files.
10825 2005-03-07 Wim Taymans <wim@fluendo.com>
10829 * docs/design/part-MT-refcounting.txt:
10830 * docs/design/part-conventions.txt:
10831 * docs/design/part-gstobject.txt:
10832 * docs/design/part-relations.txt:
10833 * examples/mixer/mixer.c: (main):
10834 * examples/thread/thread.c: (eos), (main):
10836 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
10837 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
10838 (gst_spider_plug_from_srcpad):
10839 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
10840 (gst_spider_identity_change_state),
10841 (gst_spider_identity_sink_loop_type_finding):
10842 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
10843 * gst/elements/gstidentity.c: (gst_identity_init):
10844 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
10845 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
10846 * gst/elements/gsttypefindelement.c: (free_entry):
10849 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
10850 (gst_bin_set_clock_func), (gst_bin_auto_clock),
10851 (gst_bin_set_index), (gst_bin_set_element_sched),
10852 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
10853 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
10854 (gst_bin_iterate_elements), (iterate_child_recurse),
10855 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
10856 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
10857 (compare_interface), (gst_bin_get_by_interface),
10858 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
10860 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
10861 (gst_buffer_default_free), (gst_buffer_default_copy),
10862 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
10863 (gst_buffer_create_sub):
10865 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
10866 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
10867 (gst_caps_unref), (gst_static_caps_get),
10868 (gst_caps_remove_and_get_structure), (gst_caps_append),
10869 (gst_caps_append_structure), (gst_caps_remove_structure),
10870 (gst_caps_copy_nth), (gst_caps_set_simple),
10871 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
10872 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
10873 (gst_caps_structure_intersect_field), (gst_caps_intersect),
10874 (gst_caps_structure_subtract_field), (gst_caps_subtract),
10875 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
10876 (gst_caps_structure_figure_out_union),
10877 (gst_caps_switch_structures), (gst_caps_do_simplify),
10878 (gst_caps_replace), (gst_caps_from_string),
10879 (gst_caps_copy_conditional):
10881 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
10882 (_gst_clock_id_free), (gst_clock_id_unref),
10883 (gst_clock_id_compare_func), (gst_clock_id_wait),
10884 (gst_clock_id_wait_async), (gst_clock_class_init),
10885 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
10886 (gst_clock_get_time), (gst_clock_set_time_adjust),
10887 (gst_clock_set_property), (gst_clock_get_property):
10890 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
10891 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
10893 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
10894 (gst_element_requires_clock), (gst_element_provides_clock),
10895 (gst_element_set_clock), (gst_element_clock_wait),
10896 (gst_element_wait), (gst_element_set_time_delay),
10897 (gst_element_is_indexable), (gst_element_add_pad),
10898 (gst_element_add_ghost_pad), (gst_element_remove_pad),
10899 (pad_compare_name), (gst_element_get_static_pad),
10900 (gst_element_request_pad), (gst_element_get_request_pad),
10901 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
10902 (gst_element_class_get_pad_template_list),
10903 (gst_element_class_get_pad_template), (gst_element_error_func),
10904 (gst_element_get_random_pad), (gst_element_get_event_masks),
10905 (gst_element_send_event), (gst_element_seek),
10906 (gst_element_get_query_types), (gst_element_query),
10907 (gst_element_get_formats), (gst_element_convert),
10908 (gst_element_is_locked_state), (gst_element_set_locked_state),
10909 (gst_element_sync_state_with_parent), (gst_element_change_state),
10910 (gst_element_finalize), (gst_element_yield),
10911 (gst_element_interrupt), (gst_element_set_scheduler),
10912 (gst_element_get_scheduler), (gst_element_set_loop_function):
10913 * gst/gstelement.h:
10915 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
10916 (gst_format_get_by_nick), (gst_format_get_details),
10917 (gst_format_iterate_definitions):
10919 * gst/gstindex.c: (gst_index_gtype_resolver):
10922 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
10923 (gst_mem_chunk_free):
10924 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10925 (gst_object_ref), (gst_object_unref), (gst_object_sink),
10926 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
10927 (gst_object_dispatch_properties_changed),
10928 (gst_object_set_name_default), (gst_object_set_name),
10929 (gst_object_get_name), (gst_object_set_name_prefix),
10930 (gst_object_get_name_prefix), (gst_object_set_parent),
10931 (gst_object_get_parent), (gst_object_unparent),
10932 (gst_object_check_uniqueness), (gst_object_save_thyself),
10933 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
10934 (gst_object_set_property), (gst_object_get_property),
10935 (gst_object_get_path_string):
10937 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
10938 (gst_real_pad_init), (gst_real_pad_get_property),
10939 (gst_pad_custom_new), (gst_pad_get_direction),
10940 (gst_pad_set_active), (gst_pad_is_active),
10941 (gst_pad_set_event_function), (gst_pad_is_linked),
10942 (gst_pad_link_free), (gst_pad_link_intersect),
10943 (gst_pad_link_fixate), (gst_pad_set_caps),
10944 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
10945 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
10946 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
10947 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
10948 (gst_pad_get_caps), (gst_pad_peer_get_caps),
10949 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
10950 (gst_pad_realize), (gst_pad_get_allowed_caps),
10951 (gst_real_pad_dispose), (gst_real_pad_finalize),
10952 (gst_pad_collectv), (gst_pad_collect_valist),
10953 (gst_pad_template_dispose), (gst_pad_template_new),
10954 (gst_pad_get_internal_links):
10956 * gst/gstpipeline.c: (gst_pipeline_dispose),
10957 (gst_pipeline_change_state):
10958 * gst/gstpipeline.h:
10960 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
10961 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
10962 * gst/gstpluginfeature.h:
10963 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
10964 * gst/gstquery.c: (_gst_query_type_initialize),
10965 (gst_query_type_register), (gst_query_type_get_by_nick),
10966 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
10968 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
10969 * gst/gstscheduler.c: (gst_scheduler_add_element),
10970 (gst_scheduler_factory_create):
10971 * gst/gststructure.c: (gst_structure_set_parent_refcount),
10972 (gst_structure_free), (gst_structure_set_name),
10973 (gst_structure_id_set_value), (gst_structure_set_value),
10974 (gst_structure_set_valist), (gst_structure_remove_field),
10975 (gst_structure_remove_fields),
10976 (gst_structure_remove_fields_valist),
10977 (gst_structure_remove_all_fields), (gst_structure_foreach),
10978 (gst_structure_map_in_place),
10979 (gst_caps_structure_fixate_field_nearest_int),
10980 (gst_caps_structure_fixate_field_nearest_double):
10981 * gst/gststructure.h:
10982 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10983 (gst_system_clock_init), (gst_system_clock_dispose),
10984 (gst_system_clock_async_thread),
10985 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
10986 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
10987 * gst/gstsystemclock.h:
10988 * gst/gsttag.c: (gst_tag_list_add_value_internal),
10989 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
10990 * gst/gsttaginterface.c:
10991 * gst/gstthread.c: (gst_thread_dispose),
10992 (gst_thread_release_children_locks), (gst_thread_change_state),
10993 (gst_thread_main_loop):
10994 * gst/gsttrashstack.h:
10995 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
10997 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
10998 (gst_element_request_pad), (gst_element_get_pad_from_template),
10999 (gst_element_request_compatible_pad),
11000 (gst_element_get_compatible_pad_filtered),
11001 (gst_element_get_compatible_pad), (gst_element_state_get_name),
11002 (gst_element_link_pads_filtered), (gst_element_link_filtered),
11003 (gst_element_link_many), (gst_element_link),
11004 (gst_element_link_pads), (gst_element_unlink_pads),
11005 (gst_element_unlink_many), (gst_element_unlink),
11006 (gst_pad_can_link_filtered), (gst_pad_can_link),
11007 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
11008 (gst_object_default_error), (gst_bin_add_many),
11009 (gst_bin_remove_many), (gst_element_populate_std_props),
11010 (gst_element_class_install_std_props), (gst_buffer_merge),
11011 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
11012 (link_fold_func), (gst_pad_proxy_setcaps):
11014 * gst/gstvalue.c: (gst_value_deserialize_string):
11015 * gst/parse/grammar.y:
11016 * gst/schedulers/gstbasicscheduler.c:
11017 (gst_basic_scheduler_cothreaded_chain),
11018 (gst_basic_scheduler_chain_recursive_add),
11019 (gst_basic_scheduler_pad_link):
11020 * gst/schedulers/gstoptimalscheduler.c:
11021 (get_group_schedule_function),
11022 (gst_opt_scheduler_state_transition),
11023 (gst_opt_scheduler_add_element), (element_get_reachables_func):
11024 * libs/gst/bytestream/bytestream.c:
11025 * libs/gst/dataprotocol/dataprotocol.c:
11026 (gst_dp_header_from_buffer):
11029 * tests/threadstate/threadstate2.c: (eos):
11030 * tools/gst-compprep.c: (main):
11031 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
11032 (print_pad_info), (print_children_info):
11033 * tools/gst-launch.c: (idle_func), (main):
11034 * tools/gst-md5sum.c: (idle_func), (main):
11035 * tools/gst-xmlinspect.c: (print_element_info):
11036 First THREADED backport attempt, focusing on adding locks and
11037 making sure the API is threadsafe. Needs more work. More docs
11040 2005-02-24 Andy Wingo <wingo@pobox.com>
11042 * tests/bench-complexity.scm:
11043 * tests/complexity.gnuplot: New files, good for running complexity
11046 * tests/Makefile.am:
11047 * tests/complexity.c: New test, sets up N elements, at each level
11048 teeing into M streams per element. Eeeenteresting.
11050 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
11051 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
11052 running bench-mass_elements.scm.
11054 * tests/bench-mass_elements.scm: New script, runs mass_elements
11055 for various numbers of identities, outputting the results to a
11056 file. Requires guile 1.6. Just for testing.
11058 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
11060 * gst/schedulers/fairscheduler.c:
11061 compile with debug disabled
11063 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
11066 hunting season on 0.9 is now OPEN