1 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/elements/gstfakesrc.h:
4 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
5 * gst/elements/gsttypefindelement.c:
7 * gst/elements/gstfilesink.c: (gst_file_sink_render):
8 I wonder if this could actually write +2GB files before
10 2005-10-13 Andy Wingo <wingo@pobox.com>
12 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
13 Fix Timmeke Waymans bug.
14 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
15 string of the proper length to gst_caps_from_string. There's a
16 potential for, before this fix, that this could cause someone
17 connecting over the network to cause a segfault if the payload is
20 2005-10-13 Stefan Kost <ensonic@users.sf.net>
22 * docs/design/draft-push-pull.txt:
23 * docs/design/part-overview.txt:
24 * docs/random/TODO-pre-0.9:
25 * docs/random/old/ChangeLog.gstreamer:
26 * gst/base/gstpushsrc.c:
30 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
32 * gst/glib-compat.c: (gst_flags_get_first_value):
34 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
35 (gst_value_compare_double), (gst_value_serialize_flags):
36 GLib 2.6 g_flags_get_first_value has a bug that triggers an
39 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
41 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
42 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
44 * tools/gst-launch.c: (event_loop):
45 print out clock nicely
47 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
49 * docs/gst/gstreamer-sections.txt:
51 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
52 (gst_tag_list_get_date_index):
53 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
54 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
56 2005-10-13 Julien MOUTTE <julien@moutte.net>
58 * gst/base/gstcollectpads.c: (gst_collectpads_event),
59 (gst_collectpads_chain):
60 * gst/base/gstcollectpads.h: Handle newsegment and store informations
63 2005-10-13 Stefan Kost <ensonic@users.sf.net>
65 * docs/gst/gstreamer-sections.txt:
68 * tools/gst-inspect.c: (main):
69 * tools/gst-launch.c: (main):
70 * tools/gst-run.c: (main):
71 * tools/gst-xmlinspect.c: (main):
72 fix GOption context leaks
75 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
79 * win32/common/config.h:
81 * win32/vs6/grammar.dsp:
82 * win32/vs6/libgstelements.dsp:
83 * win32/vs6/libgstreamer.dsp:
86 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
88 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
89 * gst/base/gstbasesrc.c: (gst_base_src_query):
90 fix more guint64<->gdouble conversions
92 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
95 add win32-update target
96 * win32/common/gstconfig.h:
97 * win32/common/gstenumtypes.c:
98 * win32/common/gstenumtypes.h:
99 * win32/common/gstversion.h:
100 add files that visual studio can't generate
102 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
105 add a win32-update target
108 2005-10-12 Wim Taymans <wim@fluendo.com>
110 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
111 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
112 * gst/gstelement.c: (gst_element_commit_state),
113 (gst_element_set_state):
114 Protect flags with proper lock.
115 unref provided cached clock in dispose.
117 2005-10-12 Stefan Kost <ensonic@users.sf.net>
120 * gst/gstminiobject.h:
122 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
123 removed unused flags from miniobject
126 2005-10-12 Wim Taymans <wim@fluendo.com>
128 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
129 (gst_file_sink_event), (gst_file_sink_render):
130 Flush before seeking.
132 2005-10-12 Andy Wingo <wingo@pobox.com>
134 * gst/gst.c (gst_init_check): Ignore unknown options, as has
135 always been the case.
137 2005-10-12 Stefan Kost <ensonic@users.sf.net>
139 * check/gst/gstbin.c: (GST_START_TEST):
140 * docs/gst/gstreamer-sections.txt:
141 * gst/base/gstbasesink.c: (gst_base_sink_init):
142 * gst/base/gstbasesrc.c: (gst_base_src_init),
143 (gst_base_src_get_range), (gst_base_src_check_get_range),
144 (gst_base_src_start), (gst_base_src_stop):
145 * gst/base/gstbasesrc.h:
146 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
147 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
148 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
152 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
154 * gst/gstelement.c: (gst_element_is_locked_state),
155 (gst_element_set_locked_state), (gst_element_commit_state),
156 (gst_element_set_state):
158 * gst/gstindex.c: (gst_index_init):
160 * gst/gstminiobject.h:
161 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
162 (gst_object_set_parent):
164 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
165 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
167 * gst/gstpadtemplate.h:
168 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
169 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
171 * gst/indexers/gstfileindex.c: (gst_file_index_load),
172 (gst_file_index_commit):
173 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
174 * testsuite/pad/link.c: (gst_test_src_init),
175 (gst_test_filter_init), (gst_test_sink_init):
176 * testsuite/states/locked.c: (main):
177 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
178 moved bitshift from macro to enum definition
180 2005-10-12 Wim Taymans <wim@fluendo.com>
182 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
183 * gst/elements/gstfilesink.c: (gst_file_sink_event),
184 (gst_file_sink_render):
185 Some more debugging info.
187 2005-10-12 Wim Taymans <wim@fluendo.com>
189 * docs/design/part-states.txt:
190 * tools/gst-launch.c: (main):
192 Revert non-intentional change.
194 2005-10-12 Wim Taymans <wim@fluendo.com>
196 * check/gst/gstbin.c: (GST_START_TEST):
197 * check/gst/gstelement.c: (GST_START_TEST):
198 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
199 * check/gst/gstghostpad.c: (GST_START_TEST):
200 * check/gst/gstpipeline.c: (GST_START_TEST):
201 * check/pipelines/simple_launch_lines.c: (run_pipeline):
202 * check/states/sinks.c: (GST_START_TEST):
203 * gst/elements/gsttypefindelement.c: (stop_typefinding):
204 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
205 (gst_bin_remove_func), (gst_bin_get_state_func),
206 (gst_bin_recalc_state), (gst_bin_change_state_func),
208 * gst/gstelement.c: (gst_element_get_state_func),
209 (gst_element_get_state), (gst_element_abort_state),
210 (gst_element_commit_state), (gst_element_set_state),
211 (gst_element_change_state), (gst_element_change_state_func):
213 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
214 (gst_pipeline_provide_clock_func):
215 * gst/gstutils.c: (gst_element_link_pads_filtered):
216 * tools/gst-launch.c: (main):
217 * tools/gst-typefind.c: (main):
218 Use GstClockTime in _get_state() instead of GTimeVal.
219 Remove old code in gstutils.c
221 2005-10-12 Andy Wingo <wingo@pobox.com>
223 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
226 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
227 there is no task. Shouldn't affect any code, as nothing in our
228 plugins checks this return value.
229 (gst_pad_stop_task): Also take the stream lock if the pad has no
232 2005-10-12 Wim Taymans <wim@fluendo.com>
234 * gst/gstpad.c: (pre_activate), (post_activate),
235 (gst_pad_activate_pull), (gst_pad_activate_push):
236 Cleanup activation code. Reset old state if
239 2005-10-12 Wim Taymans <wim@fluendo.com>
241 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
242 (gst_base_sink_change_state):
243 No need to prerol after receiving EOS.
245 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
246 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
247 * gst/elements/gstidentity.c: (gst_identity_event):
248 Print events more verbosely.
250 2005-10-12 Wim Taymans <wim@fluendo.com>
253 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
254 * check/states/sinks2.c:
255 Moved sinks2 testcode in sinks check.
257 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
258 (gst_bin_remove_func), (gst_bin_recalc_state),
259 (gst_bin_change_state_func), (bin_bus_handler):
260 Fix potential race condition when _get_state() iterated over an
261 ASYNC element right before it posted a state completion.
266 * gst/gstevent.c: (gst_event_new_newsegment),
267 (gst_event_parse_newsegment):
268 A playback rate of 0.0 is not allowed.
270 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
272 * win32/common/config.h:
273 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
274 (_trewinddir), (_ttelldir), (_tseekdir):
275 * win32/common/dirent.h:
276 * win32/common/gtchar.h:
277 * win32/common/libgstbase.def:
278 * win32/common/libgstreamer.def:
279 * win32/vs6/grammar.dsp:
280 * win32/vs6/gst_inspect.dsp:
281 * win32/vs6/gst_launch.dsp:
282 * win32/vs6/gstreamer.dsw:
283 * win32/vs6/libgstbase.dsp:
284 * win32/vs6/libgstelements.dsp:
285 * win32/vs6/libgstreamer.dsp:
286 Visual Studio 6 project files, and a new common directory.
289 2005-10-11 Wim Taymans <wim@fluendo.com>
291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
292 (gst_base_sink_do_sync), (gst_base_sink_query),
293 (gst_base_sink_change_state):
294 * gst/base/gstbasesink.h:
295 Correctly parse newsegment info.
297 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
299 * gst/gst.c: (init_post):
300 split plugin paths correctly
302 2005-10-11 Wim Taymans <wim@fluendo.com>
304 * check/gst/gstevent.c: (GST_START_TEST):
305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
306 (gst_base_sink_change_state):
307 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
308 * gst/base/gstbasetransform.c: (gst_base_transform_event):
309 * gst/elements/gstfilesink.c: (gst_file_sink_event):
310 * gst/gstevent.c: (gst_event_new_newsegment),
311 (gst_event_parse_newsegment):
313 Added extra flag to newsegment for future API freeze.
314 Updated check and base elements.
316 2005-10-11 Julien MOUTTE <julien@moutte.net>
318 * gst/base/gstcollectpads.c: (gst_collectpads_init),
319 (gst_collectpads_add_pad), (gst_collectpads_pop),
320 (gst_collectpads_event), (gst_collectpads_chain):
321 * gst/base/gstcollectpads.h: Handle EOS correctly.
323 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
325 * tools/gst-launch.c: (main):
328 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
330 * gst/gst-i18n-lib.h:
331 check for ENABLE_NLS, not GETTEXT_PACKAGE
332 * gst/gstregistry.c: (gst_registry_add_plugin),
333 (gst_registry_scan_path_level),
334 (_gst_registry_remove_cache_plugins):
335 protect possibly NULL strings
337 config.h already included before
338 * tools/gst-inspect.c: (main):
339 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
340 check for ENABLE_NLS, not GETTEXT_PACKAGE
341 * tools/gst-launch.c: (main):
342 check for ENABLE_NLS, not GETTEXT_PACKAGE
344 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
347 if we don't have glib, fail before testing 2.8
348 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
349 fix a leak, should fix plugins-base testsuite
351 2005-10-11 Andy Wingo <wingo@pobox.com>
353 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
354 take the mode we're going to as an arg. Go head and set the mode
355 and flushing flags now, so that if the activate function starts a
356 thread all the flags will be in the right state.
357 (post_activate): Renamed also. Just handle making sure streaming
358 finishes for the deactivation case, and setting the deactivated
360 (gst_pad_set_active): Complain loudly if deactivation fails.
361 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
362 (gst_pad_activate_push): Adapt to pre/post_activate changes,
363 remove the terrible hack.
365 2005-10-11 Wim Taymans <wim@fluendo.com>
367 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
368 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
369 (gst_bin_recalc_state), (gst_bin_change_state_func),
370 (gst_bin_dispose), (bin_bus_handler):
372 Prepare to make current EOS message queue more generic.
375 * gst/gstevent.c: (gst_event_new_newsegment),
376 (gst_event_parse_newsegment):
378 Rename base to stream_time.
383 2005-10-11 Wim Taymans <wim@fluendo.com>
385 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
386 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
387 (gst_bin_change_state_func), (bin_bus_handler):
389 Work on proper clock selection.
391 2005-10-11 Edward Hervey <edward@fluendo.com>
393 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
394 * libs/gst/controller/gstcontroller.h:
395 Added GList* version of _remove_properties() in order to be able to wrap
398 2005-10-11 Wim Taymans <wim@fluendo.com>
400 * docs/design/part-states.txt:
403 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
404 (gst_bin_change_state_func), (bin_bus_handler):
405 Doc updates. Don't distribute the same clock over and over again.
411 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
412 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
413 (gst_pad_send_event):
415 Make probe emission threadsafe again.
416 Register quarks and move _get_name() from utils.
419 * gst/gstpipeline.c: (gst_pipeline_class_init),
420 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
421 Only redistribute the clock of it changed.
423 * gst/gstsystemclock.h:
428 Moved the _flow_get_name() to GstPad.
430 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
432 * check/gst-libs/gdp.c: (GST_START_TEST):
433 * check/gst/gstcaps.c: (GST_START_TEST):
434 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
435 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
436 (gst_dp_packet_from_caps):
437 fix more valgrind warnings before turning up the heat
439 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
441 * gst/parse/grammar.y:
442 some cleanup before the hacking
444 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
446 * gst/base/gstbasesrc.c: (gst_base_src_query):
448 * gst/gstutils.c: (gst_guint64_to_gdouble),
449 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
451 externalize, basesrc uses it
452 obviously the implementation needs testing
454 2005-10-10 Wim Taymans <wim@fluendo.com>
456 * tests/sched/Makefile.am:
457 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
458 (make_pipeline3), (make_pipeline4), (print_elem), (main):
460 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
462 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
463 apparently converting from guint64 to double is not implemented
466 2005-10-10 Wim Taymans <wim@fluendo.com>
469 * check/generic/states.c: (GST_START_TEST):
470 * check/gst/gstbin.c: (GST_START_TEST):
471 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
472 * check/states/sinks.c: (GST_START_TEST):
473 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
475 Check fixes, use API as stated in design docs, remove hacks.
477 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
478 (gst_base_sink_change_state):
479 Catch stopping our task while we're shutting down.
481 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
482 (gst_bin_remove_func), (gst_bin_get_state_func),
483 (gst_bin_recalc_state), (gst_bin_change_state_func),
486 * gst/gstelement.c: (gst_element_init),
487 (gst_element_get_state_func), (gst_element_abort_state),
488 (gst_element_commit_state), (gst_element_lost_state),
489 (gst_element_set_state), (gst_element_change_state),
490 (gst_element_change_state_func):
492 New state change algorithm (see #318116)
494 * gst/gstpipeline.c: (gst_pipeline_class_init),
495 (gst_pipeline_init), (gst_pipeline_set_property),
496 (gst_pipeline_get_property), (do_pipeline_seek),
497 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
499 Remove crude state change hacks.
504 * tools/gst-launch.c: (main):
505 Fixes for state change. Needs some more work to fully use the
508 2005-10-10 Andy Wingo <wingo@pobox.com>
510 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
512 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
513 this flag, but it's not even in GLib 2.6. Odd. Hack around the
516 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
518 * gst/gstiterator.c: (gst_iterator_new):
519 Fix my previous commit: GTypes passed to gst_iterator_new()
520 can be fundamental types.
522 2005-10-10 Wim Taymans <wim@fluendo.com>
524 * gst/gstelement.c: (gst_element_iterate_pad_list),
525 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
526 (gst_element_iterate_sink_pads):
527 Use src/sink pads lists for the respective iterators instead
530 2005-10-10 Andy Wingo <wingo@pobox.com>
532 Merged in popt removal + GOption addition patch from Ronald, bug
535 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
536 GstElement macros around, remove popt-related symbols, add goption
539 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
541 * docs/gst/Makefile.am:
542 * docs/libs/Makefile.am: No POPT_CFLAGS.
544 * examples/manual/Makefile.am:
545 * docs/manual/basics-init.xml: Doc updates with an example.
547 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
548 (gst_init), (parse_one_option), (parse_goption_arg):
549 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
550 bit of hand merging and debugging to get the GOption stuff working
555 * tools/gst-inspect.c: (main):
556 * tools/gst-launch.c: (main):
557 * tools/gst-run.c: (main):
558 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
560 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
562 * gst/gstiterator.c: (gst_iterator_new):
563 Add assertions to make sure passed GType is likely to really
564 be a GType (as the compiler won't catch it if the size and
565 GType arguments get mixed up, see #318447).
567 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
569 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
571 * gst/gstbin.c: (gst_bin_iterate_sorted):
572 Pass GType and size arguments to gst_iterator_new() in the right
573 order (maybe we should make _new() take the GType as first argument
574 just like _new_list()?) (#318447).
577 2005-10-10 Wim Taymans <wim@fluendo.com>
579 * gst/gstelement.c: (gst_element_finalize):
580 And free the GStaticRecMutex too
582 2005-10-10 Andy Wingo <wingo@pobox.com>
584 * gst/gstelement.c (gst_element_init, gst_element_finalize):
585 Allocate and free the mutex properly.
587 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
589 (GstElement): The state_lock is now recursive. Rebuild your
590 plugins, suckers. Old macros adapted.
592 * docs/gst/gstreamer-sections.txt: Doc updates.
595 * gst/gstutils.c (g_static_rec_cond_timed_wait)
596 (g_static_rec_cond_wait): Ported from state changes patch, while
597 we wait on bug #317802 to be solved in a well-distributed GLib.
599 * gst/gstelement.c (gst_element_change_state_func): Renamed from
600 gst_element_change_state, variable name changes.
601 (gst_element_change_state): Split out of gst_element_set_state in
602 preparation for the state change merge. Doesn't pay attention to
603 the 'transition' argument.
604 (gst_element_set_state): Updates, hopefully purely cosmetic.
605 (gst_element_sync_state_with_parent): MT-safety. Ported from the
607 (gst_element_get_state_func): Renamed from get_state, cosmetic
610 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
612 * gst/elements/gstelements.c:
613 * win32/GStreamer.vcproj:
615 * win32/dirent.c: (_tseekdir):
616 * win32/gst-inspect.vcproj:
617 * win32/gst-launch.vcproj:
619 * win32/gstelements.vcproj:
620 * win32/gstenumtypes.c: (gst_object_flags_get_type):
621 * win32/gstreamer.def:
623 updates for the win32 build (patch from Sebastien Moutte)
625 2005-10-10 Andy Wingo <wingo@pobox.com>
627 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
628 gst_bin_get_state, cleaned up (but no logic changes).
629 (bin_element_is_sink): Comment updates.
630 (sink_iterator_filter): Remove needless cast.
631 (gst_bin_iterate_sinks): Doc update.
632 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
633 cleaned up (but no logic changes).
635 * check/states/sinks.c (test_src_sink): Cleanups from the state
637 (test_livesrc_sink): Sync on the state.
639 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
640 the state change patch.
642 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
645 * check/gst/gstbin.c: Merge in some style fixes and additional
646 checks from Wim's state change patch.
648 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
650 * gst/base/gsttypefindhelper.c: (helper_find_peek),
651 (gst_type_find_helper):
652 Check whether we have the requested data already in our list of
653 cached buffers before pulling a new buffer; also make the buffer
654 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
656 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
661 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
662 don't use long long, it's not portable. Replacing with
663 gint64 seems to work; let's hope no skeletons fall out of the closet.
665 2005-10-10 Andy Wingo <wingo@pobox.com>
667 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
669 2005-10-09 Stefan Kost <ensonic@users.sf.net>
671 * docs/gst/gstreamer-sections.txt:
676 * gst/gstmessage.c: (gst_message_parse_state_changed):
679 more docs, fix compilation
681 2005-10-09 Philippe Khalaf <burger@speedy.org>
683 Fixed a few forgotten variables on previous commit
685 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
687 * gst/base/gsttypefindhelper.c: (helper_find_peek):
688 Fix evil typefind crasher: getrange() might return a short
689 buffer at the end of a file, but gst_type_find_peek() must
690 either return the full data as requested or NULL, but
691 never a short buffer.
693 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
695 * gst/gstmessage.c: (gst_message_new_state_changed),
696 (gst_message_parse_state_changed):
698 don't use "new", it's a C++ keyword
700 2005-10-08 Wim Taymans <wim@fluendo.com>
702 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
703 * gst/gstelement.c: (gst_element_post_message):
704 * gst/gstpipeline.c: (gst_pipeline_change_state):
705 Small docs and debug updates.
707 2005-10-08 Stefan Kost <ensonic@users.sf.net>
709 * docs/gst/gstreamer-sections.txt:
710 * gst/gstelementfactory.c:
715 2005-10-08 Wim Taymans <wim@fluendo.com>
717 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
718 (gst_bin_dispose), (bin_bus_handler):
719 Fix typos, add comments.
720 Clear EOS list when going to PAUSED from any direction and do it
722 Get base time in a threadsafe way too.
723 Fix confusing debug in the change_state function.
724 Various other small cleanups.
726 * gst/gstelement.c: (gst_element_post_message):
727 Fix very verbose bus posting code.
729 * gst/gstpipeline.c: (gst_pipeline_class_init),
730 (gst_pipeline_set_property), (gst_pipeline_get_property),
731 (gst_pipeline_change_state):
732 Small ARG_ -> PROP_ cleanup
734 2005-10-08 Wim Taymans <wim@fluendo.com>
736 * gst/gstbin.c: (is_eos), (bin_bus_handler):
737 Do a less CPU demanding EOS check because we can.
739 2005-10-08 Wim Taymans <wim@fluendo.com>
741 * libs/gst/dataprotocol/dataprotocol.c:
742 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
743 (gst_dp_packet_from_event):
744 * libs/gst/dataprotocol/dataprotocol.h:
745 * libs/gst/dataprotocol/dp-private.h:
746 It's about time we bump the version number.
747 Since event types don't fit in the guint8 anymore describing
748 the payload type, make payload type 16 bits wide.
750 2005-10-08 Wim Taymans <wim@fluendo.com>
752 * docs/design/part-TODO.txt:
753 * docs/design/part-clocks.txt:
754 * docs/design/part-events.txt:
755 * docs/design/part-gstbin.txt:
756 * docs/design/part-gstelement.txt:
757 * docs/design/part-gstpipeline.txt:
758 * docs/design/part-live-source.txt:
759 * docs/design/part-messages.txt:
760 * docs/design/part-overview.txt:
761 * docs/design/part-states.txt:
764 2005-10-08 Wim Taymans <wim@fluendo.com>
768 Fix event quark registration.
769 Add some space between events so we can insert them in the
772 2005-10-08 Wim Taymans <wim@fluendo.com>
774 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
775 (gst_base_sink_handle_buffer):
782 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
783 (gst_queue_set_property), (gst_queue_get_property):
785 Remove old unused properties.
787 2005-10-08 Stefan Kost <ensonic@users.sf.net>
788 * docs/gst/gstreamer-sections.txt:
791 * gst/gstminiobject.c:
792 * gst/gstminiobject.h:
796 lots of new docs and doc fixes
798 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
800 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
802 * gst/gstregistry.c: (gst_registry_lookup_locked),
803 (gst_registry_scan_path_level):
804 * gst/gstregistryxml.c: (load_plugin):
805 Only ever load one plugin for a given plugin basename.
806 This ensures correct overriding of GST_PLUGIN_PATH over
807 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
808 system installed plugins.
810 2005-10-08 Wim Taymans <wim@fluendo.com>
812 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
813 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
814 Prepare for doing QOS.
816 2005-10-08 Wim Taymans <wim@fluendo.com>
818 * check/gst/gstbin.c: (GST_START_TEST):
819 * check/pipelines/cleanup.c: (GST_START_TEST):
820 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
821 Allow new clock message too.
823 2005-10-08 Wim Taymans <wim@fluendo.com>
825 * gst/gstmessage.c: (gst_message_new_error),
826 (gst_message_new_warning), (gst_message_new_tag),
827 (gst_message_new_state_changed), (gst_message_new_clock_provide),
828 (gst_message_new_clock_lost), (gst_message_new_new_clock),
829 (gst_message_new_segment_start), (gst_message_new_segment_done),
830 (gst_message_parse_state_changed),
831 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
832 (gst_message_parse_new_clock):
834 Also carry the clock in question.
836 2005-10-08 Wim Taymans <wim@fluendo.com>
838 * gst/gstmessage.c: (gst_message_new_custom),
839 (gst_message_new_eos), (gst_message_new_error),
840 (gst_message_new_warning), (gst_message_new_tag),
841 (gst_message_new_state_changed), (gst_message_new_clock_provide),
842 (gst_message_new_new_clock), (gst_message_new_segment_start),
843 (gst_message_new_segment_done), (gst_message_parse_state_changed),
844 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
847 Added clock related messages.
849 * gst/gstpipeline.c: (gst_pipeline_change_state):
850 Post message when the clock changed.
852 * tools/gst-launch.c: (event_loop):
855 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
857 * tools/gst-inspect.c: (print_element_properties_info):
858 Can't pass NULL strings to g_print() on windows.
860 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
863 * docs/gst/Makefile.am:
864 * docs/gst/gstreamer-docs.sgml:
865 * docs/gst/running.xml:
866 * docs/version.entities.in:
867 add a chapter on running GStreamer.
868 document GST_DEBUG and GST_PLUGIN* env vars
870 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
875 remove PLUGINS_BUILDDIR stuff
876 * gst/gst.c: (init_post):
877 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
879 remove, it was condescending and not needed
881 2005-10-08 Wim Taymans <wim@fluendo.com>
883 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
884 (gst_base_sink_handle_object), (gst_base_sink_event),
885 (gst_base_sink_wait), (gst_base_sink_handle_event),
886 (gst_base_sink_change_state):
887 * gst/base/gstbasesink.h:
888 Repost EOS message while going to PLAYING if still EOS.
889 Make sure that when receiving a FLUSH_START we don't attempt
890 to sync on the clock anymore.
892 2005-10-08 Wim Taymans <wim@fluendo.com>
894 * tools/gst-launch.c: (event_loop):
895 Better message printout.
897 2005-10-08 Wim Taymans <wim@fluendo.com>
899 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
900 (gst_bin_child_proxy_get_children_count):
901 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
902 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
903 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
904 (gst_child_proxy_set_valist):
905 * gst/parse/grammar.y:
906 Make ChildProxy threadsafe and fix mem leaks.
908 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
910 * gst/gst.c: (init_post):
911 debug the GST_PLUGIN_ env vars
913 2005-10-08 Wim Taymans <wim@fluendo.com>
915 * check/gst/gstbin.c: (GST_START_TEST):
916 * check/gst/gstmessage.c: (GST_START_TEST):
917 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
918 * gst/gstelement.c: (gst_element_commit_state),
919 (gst_element_lost_state):
920 * gst/gstmessage.c: (gst_message_new_state_changed),
921 (gst_message_parse_state_changed):
923 * tools/gst-launch.c: (event_loop):
924 Added extra field to STATE_CHANGE message with the pending
925 state, which will be different from the new state soon.
927 2005-10-08 Wim Taymans <wim@fluendo.com>
929 * gst/gstbus.c: (gst_bus_pop):
931 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
932 Small cleanups and doc updates.
934 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
936 * gst/gst.c: (init_pre):
937 * gst/gstbin.c: (gst_bin_add_func):
938 log distributing clocks and base time
939 * gst/gstregistry.c: (gst_registry_add_plugin),
940 (gst_registry_scan_path_level), (gst_registry_scan_path):
941 clean up the debugging output a little
942 * gst/gstutils.c: (gst_element_state_get_name):
943 warn about a memleak (I've actually seen this be used, though
944 it was probably a bug)
946 2005-10-07 Wim Taymans <wim@fluendo.com>
948 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
949 (gst_base_src_init), (gst_base_src_default_newsegment),
950 (gst_base_src_newsegment), (gst_base_src_do_seek),
951 (gst_base_src_loop), (gst_base_src_start):
952 * gst/base/gstbasesrc.h:
953 Make the newsegment event customizable by subclasses.
955 2005-10-07 Wim Taymans <wim@fluendo.com>
957 * gst/gstevent.c: (gst_event_new_buffersize),
958 (gst_event_parse_buffersize):
960 New event for future idea.
962 2005-10-07 Andy Wingo <wingo@pobox.com>
964 * gst/gstelement.c (gst_element_post_message): Doc update.
966 * docs/gst/gstreamer-sections.txt: Update.
968 * gst/gstmessage.c (gst_message_new_application): Made into a
969 function like honest API calls.
970 (gst_message_new_element): New message type.
972 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
974 * check/elements/fakesrc.c (test_no_preroll): New check, checks
975 that setting a live fakesrc to PAUSED returns NO_PREROLL both
978 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
979 NO_PREROLL from gst_element_change_state to fall through.
981 2005-10-07 Wim Taymans <wim@fluendo.com>
983 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
984 (gst_ghost_pad_do_activate_push):
985 Activating a ghostpad with no internal pad in push mode
988 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
991 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
992 Fixes compilation on Windows.
994 2005-10-07 Michael Smith <msmith@fluendo.com>
996 * tools/gst-inspect.c:
997 Print out feature and plugin count at the end when printing out
1000 2005-10-04 Michael Smith <msmith@fluendo.com>
1002 * gst/gsterror.c: (_gst_stream_errors_init):
1003 Add another error string used in a few existing plugins.
1006 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1007 * tools/gst-inspect.c: (print_element_info):
1008 When a feature disappears from a plugin (and the feature exists in
1009 the cached registry file), things went horribly wrong. This isn't a
1010 complete fix, we should actually be removing the 'missing' features
1011 from the features list when we load the actual plugin. That's not
1014 2005-10-04 Johan Dahlin <johan@gnome.org>
1016 * check/gst/gstiterator.c: (GST_START_TEST):
1017 * gst/gstbin.c: (gst_bin_iterate_elements),
1018 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1019 * gst/gstelement.c: (gst_element_iterate_pads):
1020 * gst/gstformat.c: (gst_format_iterate_definitions):
1021 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1022 (gst_iterator_new_list), (gst_iterator_filter):
1023 * gst/gstiterator.h:
1024 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1025 Add a GType to GstIterator, update callsites and tests.
1027 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1029 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1030 give events a chance to be handled by event probes when the pad
1033 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1035 * gst/gstevent.c: (gst_event_type_get_name),
1036 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1038 add string representations for event types
1040 2005-10-06 Wim Taymans <wim@fluendo.com>
1042 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1043 Don't use NULL pointers.
1045 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1047 * gst/gst_private.h:
1051 * gst/gstpluginfeature.c:
1052 widen the debug category in output to fit the biggest one we have
1053 add a bus category and use it
1054 play with the colors
1055 fix up some categories
1057 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1059 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1060 add push activation of sink ghost pads.
1061 Andye, please verify
1063 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1065 * gst/gstutils.c: (gst_element_link_pads):
1066 fix a bug in the case where neither element has a pad
1067 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1068 add a test for that case
1070 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1072 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1073 emit have-data before checking for peers. This allows
1074 for probe handlers to connect elements. This helps autopluggers.
1075 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1077 add six checks, linked/unlinked with no/true/false probe
1079 2005-10-04 Wim Taymans <wim@fluendo.com>
1081 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1082 (gst_fake_sink_event), (gst_fake_sink_preroll),
1083 (gst_fake_sink_render), (gst_fake_sink_change_state):
1084 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1085 (gst_fake_src_get_property), (gst_fake_src_create),
1086 (gst_fake_src_stop):
1087 * gst/elements/gstidentity.c: (gst_identity_stop):
1088 Protect last_message with lock.
1090 2005-10-04 Edward Hervey <edward@fluendo.com>
1093 Added precision in the comments for GST_FORMAT_DEFAULT
1095 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1097 * tools/gst-launch.c: (main):
1098 Don't try to run erroneous pipelines.
1100 2005-10-04 Julien MOUTTE <julien@moutte.net>
1102 * gst/gstbus.c: We don't need this header.
1104 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1109 === release 0.9.3 ===
1111 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1115 Releasing 0.9.3, "Unregistered"
1117 2005-10-03 Andy Wingo <wingo@pobox.com>
1119 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1120 whereby calling a pad's activatepush() function can start a thread
1121 that starts to push or pull before the pad gets the FLUSHING flag
1122 unset. Hack around it by holding the stream lock until the flag is
1123 set. Need to replace this with a proper solution. Together with
1124 the ghost pad fixes, this fixes mp3 playing/tagreading.
1126 * docs/design/part-gstghostpad.txt: Add a note about activation of
1127 proxy pads outside of ghost pads.
1129 * gst/gstghostpad.c: Implement the ghost pad activation design.
1131 2005-10-02 Andy Wingo <wingo@pobox.com>
1133 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1134 It is volatile, after all.
1136 * docs/design/part-gstghostpad.txt: Flesh out activation with
1139 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1142 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1145 Fix (unused) AM_CONDITIONAL tests.
1147 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1149 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1151 * gst/gstutils.c: (gst_pad_query_convert):
1152 Add assertion that makes sure src_val is >=0, just like
1153 gst_query_new_convert() has. (#315895)
1155 2005-09-30 Edward Hervey <edward@fluendo.com>
1157 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1158 Let's not iterate pads we're not interested in, it avoids getting
1159 sky-high refcounts on sinkpad.
1161 2005-09-30 Wim Taymans <wim@fluendo.com>
1163 * gst/gstelement.c: (gst_element_set_state),
1164 (gst_element_change_state):
1165 Small tweak, element in ASYNC remains ASYNC.
1167 2005-09-30 Wim Taymans <wim@fluendo.com>
1169 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1170 Only error is an error.
1172 * gst/gstbin.c: (gst_bin_change_state):
1175 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1176 Also call pad_block in pad alloc.
1178 * gst/gstutils.c: (gst_flow_get_name):
1181 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1183 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1184 (gst_base_src_get_range):
1185 Fix documentation typos. Add some more debug info.
1187 2005-09-29 David Schleef <ds@schleef.org>
1189 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1190 more end-user friendly.
1191 * tools/gst-inspect.c: (main): Check if command-line argument is
1192 a file and attempt to load that file as a plugin.
1194 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1196 * check/gst/gstbin.c:
1197 * check/states/sinks.c:
1198 fix tests for the new warning
1199 * check/gst/gstpipeline.c:
1200 add a test for pipeline and bus interaction
1202 elements should be NULL if they get disposed; add a warning if not
1204 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1207 for 2.6 refcounting, make debug log more correct by printing
1208 the actual refcounts at the time of swap (Wim)
1210 2005-09-29 Andy Wingo <wingo@pobox.com>
1212 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1213 removes signal watches previously added via
1214 gst_bus_add_signal_watch.
1215 (gst_bus_add_signal_watch): Don't return the source id, just store
1216 it on the bus if there wasn't an id already.
1218 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1219 add_signal_watch and remove_signal_watch.
1221 2005-09-29 Edward Hervey <edward@fluendo.com>
1223 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1224 Better if we actually iterate the list :)
1226 2005-09-29 Wim Taymans <wim@fluendo.com>
1228 * check/gst/gstbin.c: (GST_START_TEST):
1229 Change for new bus API.
1231 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1232 (send_messages), (GST_START_TEST), (gstbus_suite):
1233 Change for new bus signal API.
1235 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1236 (gst_bus_source_prepare), (gst_bus_source_check),
1237 (gst_bus_create_watch), (gst_bus_add_watch_full),
1238 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1239 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1241 Remove support for multiple GSources operating on different
1242 message types as it is too complex and unneeded when using
1244 Added support for receiving signals from the bus.
1246 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1248 * docs/libs/tmpl/gstdataprotocol.sgml:
1249 * docs/manual/advanced-dataaccess.xml:
1250 * gst/elements/gstcapsfilter.c:
1252 rename filter-caps to caps property
1254 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1256 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1257 More robust fraction string parsing.
1259 * docs/pwg/appendix-porting.xml:
1260 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1262 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1264 * gst/gstcaps.c: (gst_caps_do_simplify):
1265 Thou shalt not free a structure and then continue using it
1266 in the next loop iteration.
1268 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1270 Add test case for caps simplification.
1272 2005-09-29 Wim Taymans <wim@fluendo.com>
1274 * check/gst/gstbin.c: (GST_START_TEST):
1277 2005-09-29 Wim Taymans <wim@fluendo.com>
1279 * check/gst/gstbin.c: (GST_START_TEST):
1282 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1283 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1284 (find_element), (gst_bin_sort_iterator_next),
1285 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1286 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1287 (gst_bin_change_state), (gst_bin_dispose):
1288 A bin does not have a bus, it gets the bus from the parent.
1290 * gst/gstelement.c: (gst_element_requires_clock),
1291 (gst_element_provides_clock), (gst_element_is_indexable),
1292 (gst_element_is_locked_state), (gst_element_change_state),
1293 (gst_element_set_bus_func):
1296 * gst/gstpipeline.c: (gst_pipeline_class_init),
1297 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1298 The pipeline provides a bus.
1300 2005-09-28 Johan Dahlin <johan@gnome.org>
1302 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1303 gst_structure_get_enum instead of gst_structure_get_int
1305 * gst/gststructure.c (gst_structure_get_enum): Impl.
1307 * gst/gststructure.h (gst_structure_get_enum): Add
1309 * docs/gst/gstreamer-sections.txt: Ditto
1311 * gst/gstmessage.c (gst_message_new_state_changed): Use
1312 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1313 which does introspection.
1314 Reviewed by Christian Schaller
1316 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1318 * gst/gstinfo.c: (gst_debug_log_default):
1319 don't do dummy g_strdup()s
1320 * libs/gst/controller/gstcontroller.c:
1321 (on_object_controlled_property_changed),
1322 (gst_controlled_property_new), (gst_controller_new_valist),
1323 (gst_controller_new_list),
1324 (gst_controller_remove_properties_valist), (gst_controller_set),
1325 (gst_controller_get), (gst_controller_sync_values),
1326 (gst_controller_get_value_array), (_gst_controller_class_init),
1327 (gst_controller_get_type):
1328 * libs/gst/controller/gstcontroller.h:
1329 * libs/gst/controller/gstinterpolation.c:
1330 (gst_controlled_property_find_timed_value_node):
1331 convert // to /**/ comments
1333 2005-09-28 Wim Taymans <wim@fluendo.com>
1335 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1336 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1337 (gst_bus_sync_signal_handler):
1339 Added async-message and sync-message signals to the bus.
1340 Added helper BusFunc to emit signals for all posted messages.
1342 * gst/gstmessage.c: (gst_message_type_get_name),
1343 (gst_message_type_to_quark), (gst_message_get_type):
1345 Register quarks for message names.
1347 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1349 * docs/libs/gstreamer-libs-sections.txt:
1350 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1351 (gst_controller_new_list):
1352 * libs/gst/controller/gstcontroller.h:
1353 added another constructor for language bindings
1355 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1357 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1361 * gst/gstinfo.c: (_gst_debug_init):
1362 slightly more readable color for refcount debugging
1364 2005-09-28 Wim Taymans <wim@fluendo.com>
1366 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1367 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1368 (find_element), (gst_bin_sort_iterator_next),
1369 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1370 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1371 (gst_bin_change_state), (gst_bin_dispose):
1372 Small doc fixes. get_clock -> provide_clock.
1374 * gst/gstelement.c: (gst_element_class_init),
1375 (gst_element_provides_clock), (gst_element_provide_clock),
1376 (gst_element_get_clock), (gst_element_commit_state),
1377 (gst_element_lost_state):
1379 Make get/set_clock() symetric. Add provide_clock vmethod since
1380 that is actually what this function does.
1382 * gst/gstpipeline.c: (gst_pipeline_class_init),
1383 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1384 (gst_pipeline_get_clock):
1385 get_clock -> provide_clock.
1387 2005-09-28 Andy Wingo <wingo@pobox.com>
1389 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1390 lieu of real docs...
1392 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1394 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
1396 * gst/elements/gstcapsfilter.c:
1397 * gst/elements/gstfakesink.c:
1398 * gst/elements/gstfakesrc.c:
1399 * gst/elements/gstfdsink.c:
1400 * gst/elements/gstfdsrc.c:
1401 * gst/elements/gstfilesink.c:
1402 * gst/elements/gstfilesrc.c:
1403 * gst/elements/gstidentity.c:
1404 * gst/elements/gsttee.c:
1405 * gst/elements/gsttypefindelement.c:
1406 Make element details static.
1408 2005-09-28 Wim Taymans <wim@fluendo.com>
1410 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1411 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1412 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1413 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1414 (gst_bin_change_state), (gst_bin_dispose):
1415 Some documentation updates.
1416 Clean up dispose handlers.
1418 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1419 * gst/gstpad.c: (gst_pad_dispose):
1420 Clean up dispose handler.
1422 * gst/gstpipeline.c: (gst_pipeline_change_state):
1423 Removed spurious UNLOCK.
1425 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1427 * docs/gst/gstreamer-sections.txt:
1428 * gst/base/gstbasesrc.h:
1433 * gst/gstpipeline.c:
1434 * gst/gstpipeline.h:
1437 added two new functions to the docs
1438 documents all undocumented GstXXXFlags
1439 completed some incomplete docs
1441 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1443 * gst/gstbin.c: (gst_bin_dispose):
1444 * gst/gstelement.c: (gst_element_dispose):
1445 remove now useless and leaky resurrection code in dispose
1446 * gst/base/gstbasesrc.c: (gst_base_src_init):
1447 * gst/gstelementfactory.c: (gst_element_factory_create):
1448 * gst/gstobject.c: (gst_object_set_parent):
1451 2005-09-27 Wim Taymans <wim@fluendo.com>
1453 * docs/design/part-TODO.txt:
1456 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1457 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1458 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1459 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1460 (gst_bin_change_state):
1462 Remove element variable, we keep element info in the iterator now.
1464 2005-09-27 Andy Wingo <wingo@pobox.com>
1466 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1469 2005-09-27 Wim Taymans <wim@fluendo.com>
1471 * check/gst/gstbin.c: (GST_START_TEST):
1472 Enable check that works now.
1474 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1475 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1476 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1477 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1478 (gst_bin_change_state):
1480 Redid the state change algorithm using a topological sort algo.
1481 Handles all cases correctly.
1482 Exposed iterator for state change order.
1485 Temp storage for state changes. Need to get rid of this soon.
1487 2005-09-27 Wim Taymans <wim@fluendo.com>
1489 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1490 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1491 (link_fold_func), (gst_pad_proxy_setcaps):
1492 Leak fixes, the fold functions need to unref the passed object and
1493 _get_parent_*() returns ref to parent.
1495 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1497 * check/gst/gstbuffer.c: (test_make_writable):
1498 Plug leak in test case and fix 'make check-valgrind'
1500 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1502 * gst/gstbuffer.c: (gst_subbuffer_init):
1503 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1504 works correctly in all circumstances (we could have just copied
1505 the parent buffer's readonly flag, but conceptually it seems
1506 cleaner to mark all subbuffers as read-only). (based on patch
1507 by Alessandro Decina, #314710).
1509 * check/gst/gstbuffer.c: (create_read_only_buffer),
1510 (test_make_writable), (test_subbuffer_make_writable),
1512 Add some tests for gst_buffer_make_writable().
1514 2005-09-27 Wim Taymans <wim@fluendo.com>
1516 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1517 use gst_object_has_ancestor().
1519 * gst/gstobject.c: (gst_object_has_ancestor):
1521 gst_object_has_ancestor() copied from gstbin.c as it is a
1524 * tests/instantiate/create.c: (create_all_elements):
1525 * tests/lat.c: (handoff_src), (handoff_sink):
1526 * tests/sched/runxml.c: (main):
1527 * tests/seeking/seeking1.c: (main):
1528 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1530 Fix compilation of some tests.
1532 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1535 Remove comment. GST_TYPE_G_ERROR is here to stay,
1536 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1539 2005-09-26 Wim Taymans <wim@fluendo.com>
1541 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1542 Added check that shows error in state change order.
1544 2005-09-26 Wim Taymans <wim@fluendo.com>
1546 * gst/gstbin.c: (gst_bin_change_state):
1547 Make state change function use 3 queues again, we were
1548 adding elements in the wrong order.
1550 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1553 * gst/gstpad.c: (gst_pad_dispose):
1554 Added some debug info first.
1556 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
1558 * docs/design/draft-push-pull.txt:
1559 * docs/design/part-events.txt:
1560 * docs/design/part-overview.txt:
1561 * docs/design/part-scheduling.txt:
1562 Replace all _pull_region() with _pull_range()
1564 2005-09-26 Andy Wingo <wingo@pobox.com>
1566 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1568 * check/gst-libs/controller.c: Update for controller api change.
1571 * tests/Makefile.am:
1572 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1573 over by GLib bug 118439.
1575 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1576 routines to a function.
1578 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1580 * libs/gst/controller/gsthelper.c:
1581 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1582 (gst_object_sync_values): Renamed from sink_values. Ugh.
1584 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1586 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1587 Renamed from controller_key, as it is exported.
1589 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1591 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
1596 * gst/gstpadtemplate.h:
1599 * gst/gstqueryutils.c:
1600 * gst/gstqueryutils.h:
1601 remove queryutils headers after moving the two used functions
1602 to gstquery. also fixes build problem for gstsiddec
1604 2005-09-26 Michael Smith <msmith@fluendo.com>
1606 * tools/gst-launch.1.in:
1607 Correct documentation in manpage of debug syntax
1609 2005-09-26 Wim Taymans <wim@fluendo.com>
1611 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1612 (gst_base_src_is_seekable), (gst_base_src_change_state):
1613 Some more debugging info.
1615 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1617 * docs/gst/gstreamer-sections.txt:
1618 * gst/base/gstbasetransform.h:
1622 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1624 * docs/gst/.cvsignore:
1625 * docs/gst/tmpl/.cvsignore:
1626 * docs/gst/tmpl/gstpipeline.sgml:
1627 * docs/gst/tmpl/gstplugin.sgml:
1628 * gst/gstpipeline.c:
1631 inlined the last two docs files
1632 removed the tmpl directory from cvs (no more conflicts here!)
1634 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1636 * docs/gst/gstreamer-sections.txt:
1637 * docs/gst/tmpl/.cvsignore:
1638 * docs/gst/tmpl/gstpad.sgml:
1639 * docs/gst/tmpl/gstpadtemplate.sgml:
1641 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1642 (gst_pad_finalize), (gst_pad_set_pad_template):
1644 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1645 (gst_pad_template_class_init), (gst_pad_template_init),
1646 (gst_pad_template_dispose), (name_is_valid),
1647 (gst_static_pad_template_get), (gst_pad_template_new),
1648 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1649 (gst_pad_template_pad_created):
1650 * gst/gstpadtemplate.h:
1651 inlined two more docs
1652 factored gstpadtemplate out of gstpad
1654 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
1656 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1657 (test_children_state_change_order_semi_sink):
1658 Fix test case: we can't rely on a fixed state change order when
1659 going from READY => PAUSED because the sink might commit its
1660 new state first when the first buffer created by the source
1661 reaches the sink before the source has finished its change state.
1662 (Test case still fails at times, see #316856, comment 5 onwards)
1664 2005-09-24 Wim Taymans <wim@fluendo.com>
1666 * docs/design/part-events.txt:
1667 * docs/design/part-gstbus.txt:
1668 * docs/design/part-gstpipeline.txt:
1669 * docs/design/part-messages.txt:
1670 * docs/design/part-overview.txt:
1671 * docs/design/part-segments.txt:
1678 * gst/gstiterator.c:
1679 Various documentation updates.
1681 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
1684 Well, that's embarassing. Luckily we weren't using
1685 GST_CLOCK_DIFF anywhere.
1687 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1689 * common/gtk-doc.mak:
1690 don't fail on building XML, FC4 slave shows a bunch of doc
1691 missing bits that I don't get
1693 * gst/gstpipeline.c:
1694 * gst/gststructure.c:
1697 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1699 * docs/design/part-gstbin.txt:
1700 * docs/design/part-gstbus.txt:
1702 Add blurb about how the bus goes into flushing mode and
1703 drops all messages when its bin goes from READY into NULL
1706 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1708 * docs/gst/gstreamer-sections.txt:
1709 * gst/gststructure.c: (gst_structure_get_clock_time):
1710 * gst/gststructure.h:
1711 add a method to get a GstClockTime out of a structure
1713 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1715 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1716 (test_children_state_change_order_semi_sink), (gst_bin_suite):
1717 Added test to check state change order in bins (can still be made
1718 to fail here under heavy disk load; bails out with 'Push on pad
1719 fakesink:sink0, but it was not activated in push mode').
1721 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1722 Fix state change order when there is only a semi sink (#316856)
1724 * gst/gstbus.c: (gst_bus_class_init):
1725 Use _class_peek_parent(), not _class_ref(); fix docs to say
1726 'default main context' instead of 'mainloop' where that is
1729 * gst/gstelement.c: (gst_element_commit_state),
1730 (gst_element_set_state):
1731 Fix typos in debug messages
1733 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1736 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1737 * gst/gstpluginfeature.c:
1740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1741 change an assert into an error until it gets fixed properly
1743 2005-09-23 Stefan Kost <ensonic@users.sf.net>
1745 * docs/gst/gstreamer-sections.txt:
1746 * docs/gst/tmpl/.cvsignore:
1747 * docs/gst/tmpl/gstelement.sgml:
1748 * docs/gst/tmpl/gstinfo.sgml:
1749 * docs/gst/tmpl/gstobject.sgml:
1754 * gst/gstobject.c: (gst_object_class_init):
1756 inlined 3 more biiiig doc files and added some missing docs on the fly
1758 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1760 * check/gst/.cvsignore:
1761 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1762 * gst/gstregistryxml.c: (load_plugin),
1763 (gst_registry_xml_save_plugin):
1764 put back source in registry. add checks for find_plugin.
1765 * testsuite/states/bin.c: (assert_state), (empty_bin),
1766 (test_adding_one_element), (main):
1767 * testsuite/states/locked.c: (main):
1768 some compile/run fixes
1770 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1772 * check/gst/gstvalue.c: (GST_START_TEST):
1773 fix leaks in the test itself
1775 2005-09-22 Wim Taymans <wim@fluendo.com>
1777 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1778 (gst_base_sink_send_event), (gst_base_sink_peer_query),
1779 (gst_base_sink_query):
1780 Prepare for more accurate position reporting and query
1783 * gst/gstelement.c: (gst_element_send_event),
1784 (gst_element_set_state):
1787 2005-09-22 Wim Taymans <wim@fluendo.com>
1789 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1790 (gst_query_parse_segment):
1793 Add segment query for future use.
1795 2005-09-22 Wim Taymans <wim@fluendo.com>
1797 * gst/gstbin.c: (gst_bin_add_func):
1798 Some more debug info.
1800 * gst/gstelement.c: (gst_element_send_event):
1804 Don't know how flags got broken.
1809 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1811 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1812 Add simplistic test suite for GST_TYPE_DATE serialisation and
1815 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1817 * docs/gst/gstreamer-sections.txt:
1818 * gst/gststructure.c: (gst_structure_set_valist),
1819 (gst_structure_get_date):
1820 * gst/gststructure.h:
1821 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1822 (gst_date_copy), (gst_value_compare_date),
1823 (gst_value_serialize_date), (gst_value_deserialize_date),
1824 (gst_value_transform_date_string),
1825 (gst_value_transform_string_date), (_gst_value_initialize):
1827 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1828 bunch of utility functions along with a hack that checks that
1829 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1830 is required. Part of the grand scheme in #170777.
1832 2005-09-22 Andy Wingo <wingo@pobox.com>
1834 * gst/gstconfig.h.in: Psych out gtk-doc.
1836 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1838 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1840 * tools/gst-inspect.c (print_element_list): Plug some
1841 inconsequential leaks.
1843 * gst/gstregistry.c (gst_registry_get_default): Doc.
1845 * check/gst/gstplugin.c:
1846 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1847 * gst/gstelementfactory.c (gst_element_factory_create):
1848 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1851 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1852 (gst_plugin_feature_load): Doc, don't eat refs.
1854 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1855 (gst_plugin_list_free): Doc.
1856 (gst_plugin_load_file): Doc updates.
1858 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1859 accessors returning refcounted objects, return a ref.
1861 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1862 accessor for caps. IDEMPOTENCE. Oh yes.
1864 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1866 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1868 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1869 (_gst_debug_register_funcptr):
1870 Add mutex to serialise access to the hash table with
1871 the function pointer => function name string mapping;
1872 make that hash table static scope (#316809).
1874 * gst/registries/.cvsignore:
1875 Remove left-over file.
1877 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1879 * docs/pwg/appendix-porting.xml:
1880 And something about newsegment events and caps-on-buffers to
1881 the porting guide (feel free to improve).
1883 2005-09-21 Andy Wingo <wingo@pobox.com>
1885 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1886 data and event probes on the same pad.
1887 (test_buffer_probe_once): Test that removing probes from within
1888 the probe functions works.
1890 2005-09-21 Andy Wingo <wingo@pobox.com>
1892 * check/gst/gstutils.c: New file.
1893 (test_buffer_probe_n_times): A simple buffer probe test. More to
1896 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1897 have-data::buffer, not have-data.
1898 (gst_pad_add_event_probe): Likewise for have-data::event.
1899 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1900 peer' isn't quite right yet though.
1901 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1902 (gst_pad_remove_data_probe): Change to take the guint handler_id
1903 as their arg, not the function+data, which is more glib-like.
1905 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1906 the signal emission to indicate if the data is a buffer or an
1908 (gst_pad_get_type): Initialize buffer and event quarks.
1909 (gst_pad_class_init): have-data is now a detailed signal, yes it
1912 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1914 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1915 * gst/gstutils.c: (gst_util_set_value_from_string),
1916 (gst_util_set_object_arg):
1917 Don't put functional code in g_return_if_fail() or
1918 g_return_val_if_fail() statements, otherwise things will
1919 break when G_DISABLE_CHECKS is defined during compilation.
1921 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1923 * docs/gst/tmpl/.cvsignore:
1924 * docs/gst/tmpl/gstvalue.sgml:
1927 inlied another one and added some obvious docs
1929 2005-09-21 Wim Taymans <wim@fluendo.com>
1931 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1932 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1933 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1934 (gst_fdsrc_get_property), (gst_fdsrc_create):
1935 * gst/elements/gstfdsrc.h:
1936 Properly implement fdsrc. Removed signal and timeout,
1937 better implemented somewhere else.
1939 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1941 * docs/gst/tmpl/.cvsignore:
1942 * docs/gst/tmpl/gstimplementsinterface.sgml:
1943 * gst/gstinterface.c:
1946 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1948 * docs/gst/gstreamer-sections.txt:
1949 * docs/gst/tmpl/.cvsignore:
1950 * docs/gst/tmpl/gstenumtypes.sgml:
1951 remove obsolete doc file
1953 2005-09-21 David Schleef <ds@schleef.org>
1955 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1956 little beer, fix a little leak.
1958 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1960 * docs/gst/gstreamer-docs.sgml:
1961 * docs/gst/gstreamer-sections.txt:
1962 * docs/gst/tmpl/.cvsignore:
1967 * gst/gstindex.c: (gst_index_class_init):
1969 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1970 (gst_index_factory_class_init), (gst_index_factory_init),
1971 (gst_index_factory_finalize), (gst_index_factory_new),
1972 (gst_index_factory_destroy), (gst_index_factory_find),
1973 (gst_index_factory_create), (gst_index_factory_make):
1974 * gst/gstindexfactory.h:
1975 * gst/gstpluginfeature.c:
1976 * gst/gstpluginfeature.h:
1977 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1978 more docs inlined, splitted gstindex.{c,h}
1980 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1982 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1985 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1987 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1988 Set sync to FALSE by default.
1990 2005-09-20 Wim Taymans <wim@fluendo.com>
1992 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1993 (gst_base_sink_init):
1994 Make sync property settable from subclass.
1996 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1997 (gst_fake_sink_change_state):
1998 Set sync to FALSE by default.
2000 2005-09-20 Wim Taymans <wim@fluendo.com>
2002 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2003 * tools/gst-launch.c: (main):
2004 The timeout handler should have lower priority than the source
2005 so we don't timeout before popping a message with 0 timeout.
2006 Dump error messages after failed state change.
2008 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2010 * tools/gst-inspect.c: (print_element_properties_info):
2013 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2015 * check/gst/gstevent.c:
2016 * gst/elements/gstfakesink.c:
2017 * gst/elements/gstfakesink.h:
2018 remove the sync property from fakesink.
2019 has the side effect of setting sync TRUE
2020 for fakesink, which is a change. Anyone who knows how
2021 to fix this nicely in a GObject-y way, feel free.
2023 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2025 * docs/gst/gstreamer-docs.sgml:
2026 remove probe refsection
2028 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2030 * check/Makefile.am:
2031 disable valgrinding the controller test again
2032 * docs/gst/gstreamer-sections.txt:
2033 update for api-changes
2035 2005-09-20 Wim Taymans <wim@fluendo.com>
2037 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2038 (gst_base_sink_set_property), (gst_base_sink_get_property),
2039 (gst_base_sink_do_sync):
2040 * gst/base/gstbasesink.h:
2041 Added sync property to basesink to disable clock sync.
2043 2005-09-20 Andy Wingo <wingo@pobox.com>
2045 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2046 eating the caller's refcount.
2048 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2049 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2052 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2053 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2054 of GLib 2.8 public, so we can know which refcount to check in
2057 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2058 (gst_object_init): Only set the gst refcount if we're going ahead
2059 with the refcount hack.
2061 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2063 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2064 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2065 more leaks plumbed, added more debug-logging
2069 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2072 remove include of gstmemchunk.h
2074 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2076 * gst/gstclock.c: (_gst_clock_id_free):
2077 Commit from the Political Party For More Atomic CVS Commits,
2078 so that people don't waste too much of their day fishing
2079 out obvious leaks out of massive commits.
2080 Oh, and fix a pretty damn obvious leak in the memchunk
2083 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2085 * check/Makefile.am:
2086 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2087 plug mem-leak, re-add to valgrindable tests
2089 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2092 unbreak the build for those who have chronic arthritis
2093 and typing "make check" is just too taxing on the hands
2095 2005-09-20 Andy Wingo <wingo@pobox.com>
2097 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2098 really want it out, you should fix plugins at the same time.
2100 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2103 * docs/gst/gstreamer-sections.txt:
2105 added missing symbols to api docs
2106 disable ref-count hack if we have glib >= 2.8
2108 2005-09-19 David Schleef <ds@schleef.org>
2110 * docs/gst/Makefile.am: Ignore a few more internal headers
2111 * docs/gst/gstreamer-docs.sgml: Remove old sections
2112 * docs/gst/gstreamer-sections.txt: Remove old sections
2113 * docs/gst/tmpl/gstobject.sgml: update
2114 * docs/gst/tmpl/gstplugin.sgml: update
2115 * docs/gst/tmpl/gstpluginfeature.sgml: update
2116 * docs/random/ds/0.9-suggested-changes: update.
2117 * gst/Makefile.am: remove memchunk and trashstack, since they're
2119 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2120 * gst/gst.h: don't include some headers
2121 * gst/gstchildproxy.c: add gstmarshal.h
2122 * gst/gstclock.c: Don't use memchunks
2123 * gst/gstminiobject.c: Add some docs
2124 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2125 * gst/gstobject.h: same
2126 * gst/gstplugin.c: include gstmacros.h
2127 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2128 * gst/gstquery.c: don't use memchunks
2129 * gst/gstregistry.c: rename gst_registry_deinit()
2130 * gst/gstregistry.h: same
2132 2005-09-19 David Schleef <ds@schleef.org>
2134 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2135 * docs/libs/gstreamer-libs-sections.txt:
2136 * docs/libs/tmpl/gstgetbits.sgml:
2137 * docs/libs/tmpl/gstputbits.sgml:
2139 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2141 * win32/gstenumtypes.c:
2142 * win32/gstenumtypes.h:
2145 2005-09-19 Wim Taymans <wim@fluendo.com>
2147 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2148 Automatically PAUSE and RESUME a pipeline when a flushing seek
2151 2005-09-19 Andy Wingo <wingo@pobox.com>
2153 * gst/gstregistry.h: Spacing fixen.
2155 2005-09-19 Wim Taymans <wim@fluendo.com>
2157 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2158 Handle state change failure more correctly.
2160 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2162 * check/Makefile.am:
2163 * check/pipelines/cleanup.c: (run_pipeline):
2164 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2166 enable cleanup again after fixing the leak
2168 some more info on docs
2170 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2172 * check/Makefile.am:
2173 re-enable tests now that leaks are plugged
2175 * check/gst/gstbin.c:
2176 * check/gst/gstpipeline.c:
2177 add some more tests while fixing leaks
2179 make sure binaries are uptodate when valgrinding/gdbing
2181 * gst/gstelementfactory.c:
2182 remove a ref too many, and add a FIXME for when we get
2183 round to disposing of classes
2185 fix the refcounting when loading a plugin from a file and
2186 the code pretends that the pointer is the same even though
2187 of course it can change
2188 * gst/gstpluginfeature.c:
2189 unref plugins marked cached (a bit confusing as a name)
2190 as the docs state should be done
2191 various doc additions to explain refcounting
2192 * gst/gstregistry.c:
2193 * gst/gstregistryxml.c:
2196 2005-09-19 Wim Taymans <wim@fluendo.com>
2198 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2199 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2200 (send_messages), (GST_START_TEST), (gstbus_suite):
2201 * check/gst/gstpipeline.c: (GST_START_TEST):
2202 * check/pipelines/cleanup.c: (run_pipeline):
2203 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2205 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2206 (gst_bus_source_check), (gst_bus_source_dispatch),
2207 (gst_bus_create_watch), (gst_bus_add_watch_full),
2208 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2210 * tools/gst-launch.c: (event_loop):
2211 * tools/gst-md5sum.c: (event_loop):
2212 GstBusHandler -> GstBusFunc, return value has the same meaning as
2213 any other GSource (FALSE == remove source).
2214 _add_watch() and _add_watch_full() now take a MessageType mask to
2215 only handle specific types of messages.
2216 _poll() returns the GstMessage instead of the message type to avoid
2218 _have_pending() takes a MessageType mask now too.
2219 Added testsuite for multiple bus watches.
2220 Fix testsuites and applications for new bus API.
2222 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2224 * check/Makefile.am:
2225 mark a bunch of the tests as to fix until we fix them
2227 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2230 use GST_PLUGIN settings for valgrind tests as well, so we're
2231 valgrinding the correct thing
2232 * gst/gst.c: (init_post):
2235 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2237 * gst/gst.c: (init_post), (gst_deinit):
2238 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2239 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2240 * gst/gstindex.c: (gst_index_factory_class_init),
2241 (gst_index_factory_finalize):
2242 * gst/gstobject.c: (gst_object_dispose):
2243 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2244 (gst_plugin_load_file), (gst_plugin_desc_free):
2245 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2246 (gst_plugin_feature_finalize):
2247 * gst/gstregistry.c: (gst_registry_class_init),
2248 (gst_registry_init), (gst_registry_finalize),
2249 (gst_registry_get_default), (gst_registry_deinit):
2250 * gst/gstregistry.h:
2251 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2252 various cleanups and memleak plugging. make valgrind is happy now.
2254 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2257 add a check-valgrind target
2259 2005-09-18 David Schleef <ds@schleef.org>
2261 * tools/gst-inspect.c: Revert the GOption code.
2263 2005-09-17 David Schleef <ds@schleef.org>
2265 * check/Makefile.am: Fix environment variables.
2266 * check/gst/gstplugin.c: Fix for API changes.
2267 * tools/gst-inspect.c: Fix for API changes.
2268 * tools/gst-xmlinspect.c: Fix for API changes.
2269 * gst/gstelementfactory.c:
2272 * gst/gstpluginfeature.c:
2273 * gst/gstpluginfeature.h:
2274 * gst/gstregistry.c:
2275 * gst/gstregistry.h:
2276 * gst/gstregistryxml.c:
2277 * gst/gsttypefind.c:
2278 * gst/gsttypefindfactory.c:
2279 * gst/indexers/gstfileindex.c:
2280 * gst/indexers/gstmemindex.c:
2281 * gst/schedulers/Makefile.am:
2282 Change registry to keep track of both plugins and features,
2283 removing the feature tracking from plugins themselves.
2285 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2287 * check/Makefile.am:
2288 * tools/gst-register.1.in:
2291 2005-09-15 David Schleef <ds@schleef.org>
2293 * check/gst/gstplugin.c:
2294 * gst/gstelementfactory.c:
2296 * gst/gstpluginfeature.c:
2297 * gst/gstregistry.c:
2298 Getting tired of debugging. Disabled all the unreffing of
2299 plugins and features, which fixes the segfaults, but of
2300 course leaks like crazy. At least playbin works.
2302 2005-09-15 David Schleef <ds@schleef.org>
2304 * check/gst/gstplugin.c: (register_check_elements),
2305 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2307 * gst/elements/gsttypefindelement.c: Fix refcounting.
2308 * gst/gsttypefind.c:
2309 * gst/gsttypefindfactory.c:
2310 * gst/gsttypefindfactory.h:
2312 2005-09-15 David Schleef <ds@schleef.org>
2314 * gst/gstindex.c: get refcounting correct.
2315 * gst/gstregistry.c: Handle the case where a feature/plugin is
2318 2005-09-15 David Schleef <ds@schleef.org>
2320 * check/Makefile.am:
2321 * check/gst/gstplugin.c: Add test
2322 * gst/gstplugin.c: Fix problems noticed by testsuite
2324 * gst/gstregistry.c:
2325 * gst/gstregistry.h:
2327 2005-09-15 David Schleef <ds@schleef.org>
2329 * gst/gstplugin.c: Implement semi-decent recounting and locking
2330 in plugins and plugin features.
2332 * gst/gstpluginfeature.c:
2333 * gst/gstpluginfeature.h:
2334 * gst/gstregistry.c:
2336 2005-09-15 Michael Smith <msmith@fluendo.com>
2338 * gst/gstregistry.c: (gst_registry_get_feature_list):
2339 Implement this. Makes oggdemux work; decodebin still broken.
2341 2005-09-14 David Schleef <ds@schleef.org>
2343 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2345 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2346 * gst/check/Makefile.am:
2347 * libs/gst/controller/Makefile.am:
2348 * libs/gst/dataprotocol/Makefile.am:
2350 2005-09-14 David Schleef <ds@schleef.org>
2352 * configure.ac: Remove getbits library. Nothing uses it, and
2353 it should be in something like liboil if someone did want
2355 * libs/gst/Makefile.am:
2356 * libs/gst/getbits/Makefile.am:
2357 * libs/gst/getbits/gbtest.c:
2358 * libs/gst/getbits/getbits.c:
2359 * libs/gst/getbits/getbits.h:
2360 * libs/gst/getbits/gstgetbits_generic.c:
2361 * libs/gst/getbits/gstgetbits_i386.s:
2362 * libs/gst/getbits/gstgetbits_inl.h:
2364 2005-09-14 David Schleef <ds@schleef.org>
2366 * gst/Makefile.am: Dist glib-compat.h
2368 2005-09-14 David Schleef <ds@schleef.org>
2370 * configure.ac: Remove gst/registries, since it's no longer used.
2371 * gst/registries/Makefile.am:
2372 * gst/registries/gstlibxmlregistry.c:
2373 * gst/registries/gstlibxmlregistry.h:
2374 * gst/registries/gstxmlregistry.c:
2375 * gst/registries/gstxmlregistry.h:
2376 * gst/registries/registrytest.c:
2378 2005-09-14 David Schleef <ds@schleef.org>
2380 * gst/glib-compat.h:
2381 * gst/gstregistryxml.c:
2382 Convergence is near. Seriously.
2384 2005-09-14 David Schleef <ds@schleef.org>
2386 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2387 * gst/glib-compat.h:
2388 Attempt #4 to appease the buildbots.
2390 2005-09-14 David Schleef <ds@schleef.org>
2392 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2395 2005-09-14 David Schleef <ds@schleef.org>
2397 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2400 2005-09-14 David Schleef <ds@schleef.org>
2402 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2405 2005-09-14 David Schleef <ds@schleef.org>
2407 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2408 * gst/glib-compat.h: Add some functions that are in newer versions
2409 of glib than we care to require.
2410 * gst/gstregistryxml.c: Use them.
2412 2005-09-14 David Schleef <ds@schleef.org>
2414 * po/POTFILES.in: remove gst-register.c
2416 2005-09-14 David Schleef <ds@schleef.org>
2418 * docs/gst/gstreamer-docs.sgml:
2419 * docs/gst/gstreamer-sections.txt:
2420 * docs/gst/gstreamer.types:
2421 * docs/gst/tmpl/gstelement.sgml:
2422 * docs/gst/tmpl/gstplugin.sgml:
2423 * docs/gst/tmpl/gstpluginfeature.sgml:
2424 Documentation updates for registry changes.
2426 2005-09-14 David Schleef <ds@schleef.org>
2428 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2429 because we don't require glib-2.8.
2431 2005-09-14 David Schleef <ds@schleef.org>
2433 * gst/gstregistryxml.c: Added. Essentially moved out of the
2434 registries directory.
2436 2005-09-14 David Schleef <ds@schleef.org>
2438 * check/Makefile.am:
2439 * check/generic/states.c:
2443 * gst/gst_private.h:
2444 * gst/gstelementfactory.c:
2449 * gst/gstpluginfeature.c:
2450 * gst/gstpluginfeature.h:
2451 * gst/gstregistry.c:
2452 * gst/gstregistry.h:
2453 * gst/gstregistrypool.c: remove
2454 * gst/gstregistrypool.h: remove
2455 * gst/gsttypefind.c:
2456 * gst/gsttypefindfactory.c:
2458 * tools/Makefile.am:
2459 * tools/gst-compprep.c:
2460 * tools/gst-inspect.c:
2461 * tools/gst-register.c: remove
2462 * tools/gst-xmlinspect.c:
2463 Registry rewrite. Changes registry from being a file created
2464 by a tool into a simple cache file created automatically by
2465 libgstreamer. Removed gst-register (because it's no longer
2466 needed). Remove registry pools, because we only have one
2467 registry implementation (XML). Fix up other subsystems as
2470 2005-09-13 Michael Smith <msmith@fluendo.com>
2472 * gst/gstconfig.h.in:
2473 Don't Use windows linking attributes for MinGW. Fixes #316157
2475 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2477 * gst/gstutils.c: (set_state_async_thread_func),
2478 (gst_element_set_state_async):
2479 Apparently people think it's better if this function doesn't
2480 try to set the state to whatever state was asked for on the first
2481 call to this function for any object. Seriously.
2483 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2485 * check/gst/gstpipeline.c: (GST_START_TEST):
2486 * docs/gst/gstreamer-sections.txt:
2487 * gst/gstutils.c: (set_state_async_thread_func),
2488 (gst_element_set_state_async):
2490 add a "gst_element_set_state_async" method that
2491 sets the state and starts a thread to make sure the state
2492 change completes as best as it can
2494 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2497 codify design+behaviour in testsuite after discussion
2499 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2501 * docs/gst/tmpl/gstelement.sgml:
2502 * docs/manual/appendix-quotes.xml:
2504 * gst/gstelement.c: (gst_element_set_state):
2507 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2509 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2510 (gst_base_transform_prepare_output_buf),
2511 (gst_base_transform_handle_buffer):
2512 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2513 (gst_capsfilter_prepare_buf):
2514 Remove the requirement for sub-classes to call the parent
2515 implementation of prepare_output_buffer with a wrapper function.
2518 * gst/gsttagsetter.h:
2521 2005-09-11 Stefan Kost <ensonic@users.sf.net>
2523 * docs/gst/gstreamer-sections.txt:
2526 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2528 * docs/gst/gstreamer-sections.txt:
2529 * docs/gst/tmpl/gstelement.sgml:
2530 * docs/gst/tmpl/gstplugin.sgml:
2531 * gst/gstminiobject.c:
2533 docs now stop throwing warnings
2535 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2537 * docs/gst/gstreamer-sections.txt:
2538 * docs/gst/gstreamer.types:
2539 * docs/gst/tmpl/gstpad.sgml:
2540 * docs/gst/tmpl/gsttypes.sgml:
2541 * gst/base/gstadapter.h:
2542 * gst/base/gstbasesink.h:
2543 * gst/base/gstbasesrc.h:
2553 * gst/gststructure.c:
2554 * gst/registries/gstlibxmlregistry.h:
2555 various documentation fixes
2557 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2559 * docs/gst/gstreamer-sections.txt:
2560 * docs/gst/tmpl/gstvalue.sgml:
2561 rearrange gstvalue section
2562 * gst/gstutils.c: (gst_element_state_get_name):
2564 * gst/gstvalue.c: (_gst_value_initialize):
2568 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
2570 * check/gst-libs/controller.c:
2572 * gst/base/gstbasetransform.c:
2573 (gst_base_transform_default_prepare_buf),
2574 (gst_base_transform_handle_buffer):
2575 * gst/base/gstbasetransform.h:
2576 Some more basetransform changes and fixes to enable sub-classes
2577 that modify buffer metadata only.
2578 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2579 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2580 (gst_capsfilter_prepare_buf):
2581 If the output pad has fixed allowed caps and input buffers
2582 don't have any, set the fixed caps on outgoing buffers.
2584 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
2585 * check/elements/identity.c: (GST_START_TEST):
2586 Make the error a little clearer when the test fails because
2587 identity made a copy of the buffer.
2588 * docs/gst/gstreamer-sections.txt:
2589 New symbols in gstbasetransform.h
2590 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2591 (gst_base_transform_init), (gst_base_transform_transform_size),
2592 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2593 (gst_base_transform_default_prepare_buf),
2594 (gst_base_transform_get_unit_size),
2595 (gst_base_transform_buffer_alloc),
2596 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2597 (gst_base_transform_change_state),
2598 (gst_base_transform_set_passthrough),
2599 (gst_base_transform_set_in_place),
2600 (gst_base_transform_is_in_place):
2601 * gst/base/gstbasetransform.h:
2602 Change BaseTransform to separate in_place operate from same_caps
2603 output. in_place implies that the element can perform the transform
2604 on incoming buffers in-place, even if the caps on the output are
2606 Sub-class elements can now implement special buffer allocation
2607 methods for outgoing buffers if they wish to.
2608 Big documentation addition.
2609 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2610 * gst/elements/gstelements.c:
2611 Changes for basetransform modifications.
2612 * gst/elements/Makefile.am:
2613 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2614 Compile fix. Extra debug output.
2616 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2618 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2620 add tests for valid pad naming
2621 * gst/check/gstcheck.c: (gst_check_log_message_func),
2622 (gst_check_log_critical_func):
2624 remove printing of code, it is fragile when the code contains
2625 % and the line number is enough info
2626 * gst/check/gstcheck.h:
2627 * gst/gstpad.c: (gst_pad_template_new):
2630 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2633 say what CHECK flags we use
2634 * docs/libs/gstreamer-libs.types:
2635 * libs/gst/controller/Makefile.am:
2636 * libs/gst/controller/gst-controller.c:
2637 * libs/gst/controller/gst-controller.h:
2638 * libs/gst/controller/gst-helper.c:
2639 * libs/gst/controller/gst-interpolation.c:
2640 * libs/gst/controller/gstcontroller.c:
2641 * libs/gst/controller/gsthelper.c:
2642 * libs/gst/controller/gstinterpolation.c:
2643 * tools/gst-inspect.c: (print_plugin_info):
2644 we don't use dashes in header names
2646 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2648 * check/Makefile.am:
2649 * check/gst/.cvsignore:
2650 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2651 (gst_pipeline_suite), (main):
2652 adding a test for pipelines and state changes
2653 * gst/gstutils.c: (get_state_func):
2655 * gstreamer.spec.in:
2658 2005-09-08 Michael Smith <msmith@fluendo.com>
2660 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2661 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2662 (gst_file_src_is_seekable), (gst_file_src_get_size),
2663 (gst_file_src_start):
2664 * gst/elements/gstfilesrc.h:
2665 Various fixes for unseekable, unmmapable, and non-normal files, so
2666 that fallback to read() rather than mmap() works.
2667 * gst/gstevent.c: (gst_event_new_newsegment):
2668 Allow newsegment events with segment_start == segment_end, as will
2669 correctly happen if you use filesrc on a zero-size file, for
2672 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2674 * gst/gstplugin.c: (gst_plugin_load_file):
2675 Call g_module_close when we don't load the module
2677 * gst/registries/gstlibxmlregistry.c:
2678 (gst_xml_registry_get_property):
2679 Port leak fix from 0.8
2681 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2683 * docs/gst/gstreamer-docs.sgml:
2684 * docs/gst/tmpl/.cvsignore:
2685 * docs/gst/tmpl/gsttrace.sgml:
2686 * docs/gst/tmpl/gsttrashstack.sgml:
2695 * gst/gsttaginterface.c:
2696 * gst/gsttaginterface.h:
2699 * gst/gsttagsetter.c:
2700 * gst/gsttagsetter.h:
2703 * gst/gsttrashstack.c:
2704 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2705 inlined docs for gsttrace, gsttrashstack
2707 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2710 * gst/elements/gstbufferstore.h:
2711 * gst/elements/gsttypefindelement.c:
2712 * gst/elements/gsttypefindelement.h:
2714 * gst/gsttypefind.c:
2715 * gst/gsttypefind.h:
2716 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2717 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2718 (gst_type_find_factory_dispose),
2719 (gst_type_find_factory_unload_thyself),
2720 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2721 (gst_type_find_factory_get_caps),
2722 (gst_type_find_factory_get_extensions),
2723 (gst_type_find_factory_call_function):
2724 * gst/gsttypefindfactory.h:
2725 * gst/registries/gstlibxmlregistry.c:
2726 * gst/registries/gstxmlregistry.c:
2727 splitted gsttypefind into gsttypefind, gsttypefindfactory
2729 2005-09-07 Andy Wingo <wingo@pobox.com>
2731 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2732 condition whereby the pad's task function is entered before the
2733 pad_mode variable was set.
2735 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2737 * gst/gstpad.c: (gst_pad_alloc_buffer):
2738 Catch misbehaving pad_alloc functions that don't
2739 set up caps and do it for them.
2741 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2743 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2745 * docs/gst/tmpl/.cvsignore:
2746 * docs/gst/tmpl/gstmemchunk.sgml:
2747 * docs/gst/tmpl/gstparse.sgml:
2748 * docs/gst/tmpl/gsttaglist.sgml:
2749 * docs/gst/tmpl/gsttagsetter.sgml:
2750 * docs/gst/tmpl/gsttypefind.sgml:
2751 * docs/gst/tmpl/gsttypefindfactory.sgml:
2752 * gst/gstmemchunk.c:
2755 * gst/gsttaginterface.c:
2756 * gst/gsttypefind.c:
2757 * gst/gsttypefind.h:
2760 === release 0.9.2 ===
2762 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
2767 releasing 0.9.2, "South"
2769 2005-09-05 Andy Wingo <wingo@pobox.com>
2771 * gst/registries/gstxmlregistry.h:
2772 * gst/registries/gstxmlregistry.c: Um... resurrect...
2774 * gst/registries/gstxmlregistry.h:
2775 * gst/registries/gstxmlregistry.c: and update to newer API.
2776 Incidentally they should be a bit faster now that they don't have
2779 2005-09-05 Andy Wingo <wingo@pobox.com>
2781 * gst/registries/gstxmlregistry.h:
2782 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2783 replaced by the libxml registry a while back
2785 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2787 * docs/gst/tmpl/gstplugin.sgml:
2788 * gst/elements/gstelements.c:
2790 * gst/gstplugin.c: (gst_plugin_register_func),
2791 (gst_plugin_desc_copy), (gst_plugin_desc_free),
2792 (gst_plugin_get_source):
2794 * gst/registries/gstlibxmlregistry.c: (load_plugin),
2795 (gst_xml_registry_save_plugin):
2796 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2797 (gst_xml_registry_save_plugin):
2798 * tools/gst-inspect.c: (print_plugin_info):
2799 add a "source" plugin description field, to represent the source
2800 module this plugin is a part of. By default GST_PLUGIN_DEFINE
2801 will set it to PACKAGE, which is automake's idea of the name of
2804 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2810 * docs/faq/Makefile.am:
2811 * docs/gst/tmpl/gstelement.sgml:
2812 * docs/gst/tmpl/gsttypes.sgml:
2813 * docs/htmlinstall.mak:
2814 * docs/manual/Makefile.am:
2815 * docs/pwg/Makefile.am:
2816 reorganize doc build a little
2817 split out docbook and gtk-doc stuff
2818 have two separate --enable's and enable them through autogen
2819 but disable by default in configure (to be similar to other
2821 * gstreamer.spec.in:
2822 clean up docs install
2842 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
2844 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2847 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2848 (gst_fake_sink_change_state):
2849 Make state change function thread-safe.
2851 * gst/gstpad.c: (gst_pad_alloc_buffer):
2852 Set offset on generic buffer allocated by fallback.
2854 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2856 * docs/gst/gstreamer-sections.txt:
2857 * docs/gst/tmpl/gstelement.sgml:
2859 * libs/gst/controller/gst-controller.c:
2860 (gst_controlled_property_set_interpolation_mode),
2861 (gst_controlled_property_new),
2862 (gst_controller_find_controlled_property):
2863 run the wingo-magic script against the docs
2865 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2867 * docs/gst/gstreamer-docs.sgml:
2868 * docs/gst/gstreamer-sections.txt:
2869 * docs/gst/tmpl/.cvsignore:
2870 * docs/gst/tmpl/gstelementdetails.sgml:
2871 * docs/gst/tmpl/gstelementfactory.sgml:
2874 * gst/gstelementfactory.c:
2875 * gst/gstelementfactory.h:
2876 merged elementdetails docs into elementfactory docs
2879 2005-09-02 Andy Wingo <wingo@pobox.com>
2881 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2882 consider this enum an enum and not a flags.
2884 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2886 * docs/gst/gstreamer-docs.sgml:
2887 * docs/gst/tmpl/.cvsignore:
2888 * docs/gst/tmpl/gstghostpad.sgml:
2889 * docs/gst/tmpl/gstiterator.sgml:
2890 * docs/gst/tmpl/gstmacros.sgml:
2891 * docs/gst/tmpl/gstrealpad.sgml:
2892 * docs/gst/tmpl/gstregistry.sgml:
2893 * docs/gst/tmpl/gstregistrypool.sgml:
2894 * docs/gst/tmpl/gststructure.sgml:
2895 * docs/gst/tmpl/gstsystemclock.sgml:
2896 * docs/gst/tmpl/gsttrace.sgml:
2897 * gst/gstghostpad.c:
2899 * gst/gstmemchunk.c:
2900 * gst/gstmemchunk.h:
2902 * gst/gstregistry.c:
2903 * gst/gstregistrypool.c:
2904 * gst/gststructure.c:
2905 * gst/gstsystemclock.c:
2908 2005-09-02 Andy Wingo <wingo@pobox.com>
2910 * gst/gstelement.h (GstState): Renamed from GstElementState,
2911 changed to be a normal enum instead of flags.
2912 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2913 munged to be GST_STATE_CHANGE_*.
2914 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2915 work with the new state representation.
2916 (GstStateChange): New enumeration of possible state transitions.
2917 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2918 (GstElementClass::change_state): Pass the GstStateChange along as
2919 an argument. Helps language bindings, so they don't have to use
2920 tricky lock-needing macros like GST_STATE_CHANGE ().
2922 * scripts/update-states (file): New script. Run it on a file to
2923 update it for state naming and API changes. Updates files in
2926 * All files updated for the new API.
2928 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2930 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2931 * gst/gstutils.c: (gst_util_set_value_from_string),
2932 (gst_util_set_object_arg):
2933 fix a bunch of unchecked return values
2934 * tools/gst-complete.c: (main):
2935 * gstreamer.spec.in:
2938 2005-09-01 Wim Taymans <wim@fluendo.com>
2940 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2941 (gst_base_sink_event), (gst_base_sink_do_sync),
2942 (gst_base_sink_handle_event):
2943 * gst/base/gstbasesink.h:
2944 Handle newsegments more correctly.
2949 * gst/gstevent.c: (gst_event_new_newsegment):
2950 A newsegment cannot have a start_time of -1
2952 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
2954 * win32/gstenumtypes.c:
2955 * win32/gstenumtypes.h:
2958 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2960 * libs/gst/controller/gst-controller.c:
2961 (gst_controlled_property_set_interpolation_mode),
2962 (gst_controlled_property_new):
2965 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2967 * docs/faq/gst-uninstalled:
2972 * gst/gstutils.c: (gst_element_link_filtered):
2974 add gst_element_link_filtered
2976 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2978 * docs/gst/gstreamer-docs.sgml:
2979 * docs/gst/gstreamer-sections.txt:
2980 * docs/gst/tmpl/.cvsignore:
2981 * docs/gst/tmpl/gsterror.sgml:
2982 * docs/gst/tmpl/gstfilter.sgml:
2983 * docs/gst/tmpl/gsturihandler.sgml:
2984 * docs/gst/tmpl/gsturitype.sgml:
2985 * docs/gst/tmpl/gstutils.sgml:
2986 * docs/gst/tmpl/gstxml.sgml:
2994 inlined more docs, fixed double id-ref
2996 2005-08-31 Wim Taymans <wim@fluendo.com>
2998 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2999 (gst_base_transform_handle_buffer):
3000 Passthrough elements don't need the caps as they don't care.
3002 2005-08-31 Wim Taymans <wim@fluendo.com>
3004 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3005 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3006 Don't leak refcounts on buffers.
3008 2005-08-31 Wim Taymans <wim@fluendo.com>
3010 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3011 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3012 (gst_base_transform_chain), (gst_base_transform_change_state):
3013 * gst/base/gstbasetransform.h:
3014 Handle the case where we are not negotiated more gracefully.
3016 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3018 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3019 (gst_file_src_map_region):
3020 Set READONLY flag on mmap'ed buffers, otherwise
3021 gst_buffer_make_writable() won't work properly (#314708).
3023 2005-08-31 Wim Taymans <wim@fluendo.com>
3025 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3026 passthrough elements can even do inplace on non writable
3027 buffers (as they don't touch them).
3029 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3031 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3032 (gst_test_mono_source_set_property),
3033 (gst_test_mono_source_class_init), (GST_START_TEST),
3034 (gst_controller_suite):
3035 more tests (hehe I have the most)
3037 describe popping messages whenusing mulltiple sources
3038 * libs/gst/controller/gst-controller.c:
3039 (gst_controlled_property_set_interpolation_mode),
3040 (gst_controlled_property_new):
3041 * libs/gst/controller/gst-controller.h:
3042 * libs/gst/controller/gst-interpolation.c:
3043 implement boolean properties
3045 2005-08-31 Wim Taymans <wim@fluendo.com>
3047 * gst/gstminiobject.c: (gst_mini_object_ref):
3048 Cannot assert that the refcount has to be positive
3049 since a disposed object can be resurrected.
3051 2005-08-31 Wim Taymans <wim@fluendo.com>
3053 * gst/gstpad.c: (gst_pad_init):
3054 Revert change, need to first fix badly behaving
3057 2005-08-30 Wim Taymans <wim@fluendo.com>
3059 * check/elements/fakesrc.c: (setup_fakesrc):
3060 * check/elements/identity.c: (setup_identity):
3061 Activate pads before using them.
3063 2005-08-30 Wim Taymans <wim@fluendo.com>
3065 * gst/base/gstadapter.c: (gst_adapter_flush):
3066 Flushing out 0 bytes is ok for this function.
3068 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3069 no newsegment gives a warning and sets the start/stop to
3072 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3073 (gst_base_transform_set_passthrough):
3076 * gst/gstminiobject.c: (gst_mini_object_ref):
3077 Check refcount here too.
3079 * gst/gstpad.c: (gst_pad_init):
3080 Pads are initially flushing and refusing data.
3082 * gst/gstutils.c: (gst_element_link_pads_filtered):
3083 When adding a capsfilter element make sure it has the
3084 same state as the parent bin.
3086 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3088 * docs/gst/tmpl/.cvsignore:
3089 * docs/gst/tmpl/gstformat.sgml:
3090 * docs/gst/tmpl/gstversion.sgml:
3094 * gst/gstversion.h.in:
3095 more docs and two more inlined
3097 2005-08-30 Wim Taymans <wim@fluendo.com>
3099 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3100 Don't sync to clock.
3102 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3104 * docs/gst/gstreamer-sections.txt:
3105 ultral33t func10ns deserve to appear in the docs actually
3106 * docs/gst/tmpl/.cvsignore:
3107 * docs/gst/tmpl/gstcompat.sgml:
3108 * docs/gst/tmpl/gstconfig.sgml:
3109 * gst/check/gstcheck.c:
3111 * gst/gstconfig.h.in:
3114 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3116 * docs/gst/tmpl/.cvsignore:
3117 * docs/gst/tmpl/gstquery.sgml:
3118 * docs/gst/tmpl/gstutils.sgml:
3121 inlined and extended docs
3123 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3125 * check/gst-libs/controller.c: (GST_START_TEST),
3126 (gst_controller_suite):
3128 * docs/gst/tmpl/gstutils.sgml:
3129 * docs/libs/gstreamer-libs-sections.txt:
3130 * docs/libs/tmpl/gstdataprotocol.sgml:
3132 * examples/controller/audio-example.c: (main):
3133 controller example works now
3136 * tools/gst-inspect.c: (print_element_properties_info):
3137 show param spec flags
3139 2005-08-29 Andy Wingo <wingo@pobox.com>
3141 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3143 2005-08-28 Andy Wingo <wingo@pobox.com>
3145 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3146 as having two arguments instead of just one. Allows superclasses
3147 to access information on subclasses -- see the terrible for() loop
3148 in gtype.c:g_type_create_instance for the reason why. All callers
3151 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3153 * docs/design/part-messages.txt:
3155 * docs/gst/tmpl/.cvsignore:
3156 * docs/gst/tmpl/gstcaps.sgml:
3157 * docs/gst/tmpl/gstclock.sgml:
3164 added descriptions for bus and message
3165 inline caps and clock docs
3167 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3173 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3175 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3178 2005-08-26 Andy Wingo <wingo@pobox.com>
3180 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3181 element_set_state's return val.
3182 (test_2_elements): Add test that's been disabled for months.
3184 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3185 can-activate-pull properties.
3187 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3188 can-activate-pull properties. Implement is_seekable so fakesrc can
3189 operate in pull mode.
3191 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3193 (gst_base_sink_activate, gst_base_sink_activate_pull)
3194 (gst_base_sink_activate_push): Make activation mode choosing work.
3196 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3197 is right. Make pull mode work. Post an eos before pausing in pull
3199 (gst_base_sink_change_state): Pay attention to the core's
3200 change_state() return val.
3202 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3203 has-getrange properties. Cleanups.
3205 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3206 has_getrange and replace with can_activate_pull and
3209 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3210 locking comments. Remove has_loop, has_chain and replace with
3211 can_activate_pull and can_activate_push.
3213 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3216 * examples/Makefile.am:
3217 * examples/metadata/Makefile.am:
3218 * examples/metadata/read-metadata.c: (message_loop),
3219 (have_pad_handler), (make_pipeline), (print_tag), (main):
3220 Add metadata reading example that loops over a list of filenames,
3221 dumping any tags found.
3223 * gst/gstbus.c: (gst_bus_dispose):
3224 * gst/gstelement.c: (gst_element_dispose):
3225 Release a few potentially-held references in dispose.
3227 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3229 * docs/gst/tmpl/gstminiobject.sgml:
3230 do *not* add tmpl/*.sgml files to CVS!
3232 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3234 * libs/gst/bytestream/.cvsignore:
3235 * libs/gst/bytestream/Makefile.am:
3236 * libs/gst/bytestream/adapter.c:
3237 * libs/gst/bytestream/adapter.h:
3238 * libs/gst/bytestream/bytestream.c:
3239 * libs/gst/bytestream/bytestream.h:
3240 * libs/gst/bytestream/filepad.c:
3241 * libs/gst/bytestream/filepad.h:
3242 removing obsolete files
3244 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3246 * docs/gst/gstreamer-docs.sgml:
3247 * docs/libs/gstreamer-libs-docs.sgml:
3248 disabed additional index entries again, as this makes docs-gen just
3249 slow and they aren't useful yet
3250 * docs/libs/gstreamer-libs-sections.txt:
3251 little -section.txt cleanup for libs
3253 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3255 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3256 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3257 fix up some debugging
3258 (gst_base_transform_get_unit_size),
3259 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3260 (gst_base_transform_handle_buffer):
3261 * gst/base/gstbasetransform.h:
3262 handle and store timed NEWSEGMENT events so that subclasses that
3263 calculate time by counting samples have a segment_start time they
3264 need to add to their timestamps - see audioresample
3266 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3269 removed ';' from the end of macro defs
3270 * docs/gst/gstreamer-docs.sgml:
3271 * docs/gst/gstreamer-sections.txt:
3272 * docs/gst/tmpl/.cvsignore:
3274 * gst/gstelement.c: (gst_element_class_init),
3275 (gst_element_set_state), (activate_pads),
3276 (gst_element_save_thyself):
3277 * gst/gstevent.c: (gst_event_new_newsegment):
3279 * gst/gstiterator.c:
3280 * gst/gstiterator.h:
3283 * gst/gstutils.c: (gst_pad_query_convert):
3285 fixed parameter name mismatches between source, header and docs
3286 added some more docs, resolved the last batch of unused elements in
3287 docs (now someone needs to doc them)
3289 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3291 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3292 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3293 don't walk through the plugins backwards. Where is all this
3294 reversed logic coming from ?
3296 2005-08-25 Wim Taymans <wim@fluendo.com>
3298 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3299 (gst_base_transform_transform_size),
3300 (gst_base_transform_configure_caps),
3301 (gst_base_transform_get_unit_size),
3302 (gst_base_transform_buffer_alloc),
3303 (gst_base_transform_change_state):
3304 * gst/base/gstbasetransform.h:
3305 Cache caps unit_size.
3306 Make sure we cannot negotiate up and downstream at the
3309 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3311 * gst/gst.c: (init_pre), (init_post):
3312 register the installed plugin path after the env var
3313 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3314 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3315 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3316 directories, so the tests can prefer uninstalled over installed
3318 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3320 * gst/base/gstbasetransform.h:
3325 2005-08-25 Wim Taymans <wim@fluendo.com>
3327 * gst/gstbin.c: (bin_bus_handler):
3328 Be a bit more conservative about the posted message.
3330 * gst/gstbus.c: (gst_bus_post):
3331 Some cleanups, warn wrong return values.
3333 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3335 * check/gst/gstbin.c: (GST_START_TEST):
3336 * gst/gstbin.c: (bin_bus_handler):
3337 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3338 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3339 (gst_message_new_warning), (gst_message_new_tag),
3340 (gst_message_new_state_changed), (gst_message_new_segment_start),
3341 (gst_message_new_segment_done), (gst_message_new_custom):
3343 * tools/gst-launch.c: (event_loop):
3344 * tools/gst-md5sum.c: (event_loop):
3345 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3347 2005-08-25 Wim Taymans <wim@fluendo.com>
3349 * check/generic/states.c: (GST_START_TEST):
3350 Cleanup can be done at the end.
3352 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3353 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3354 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3355 Oh boy.. Thanks for finding this, Thomas.
3357 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3359 * docs/gst/gstreamer.types:
3362 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3364 * docs/gst/gstreamer-docs.sgml:
3365 * docs/gst/gstreamer-sections.txt:
3366 * docs/gst/tmpl/.cvsignore:
3368 * gst/gstiterator.c:
3370 * gst/registries/gstxmlregistry.h:
3371 added missing classes and symbols (123 more to go)
3372 removed removed symbols from section file
3373 fixed many doc-comments
3375 2005-08-24 Wim Taymans <wim@fluendo.com>
3377 * check/generic/states.c: (GST_START_TEST):
3378 Make sure all tasks are stopped.
3380 * check/gst/gstbin.c: (GST_START_TEST):
3381 Unref after usage for proper valgrinding.
3383 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3384 Really wait for the task to stop before destroying the
3387 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3388 (gst_queue_src_activate_push):
3389 Small cleanups. Don't stop the task when we did not start
3392 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3393 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3394 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3397 Protect the stream lock with the object lock.
3398 Disallow setting the stream lock when running.
3399 Add cleanup_all to wait for the threadpool to finish.
3400 Remove code to autoallocate a mutex if none was provided.
3401 Add _join() to wait for a task to stop.
3402 Protect the thread pool with a global lock.
3404 2005-08-24 Wim Taymans <wim@fluendo.com>
3406 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3407 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3408 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3409 * gst/base/gstbasesink.h:
3410 Handle newsegment events correctly.
3411 Drop buffers out of the segment range.
3413 2005-08-22 Andy Wingo <wingo@pobox.com>
3415 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3416 macro, implements an interface and gstimplementsinterface for a
3419 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3421 * check/Makefile.am:
3422 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3423 add a test that does a bunch of state changes on elements
3424 needs some fixing for valgrind
3425 * check/states/sinks.c: (gst_object_suite):
3428 add prototype for gst_caps_is_equal_fixed
3430 * gst/gstregistrypool.c:
3433 2005-08-24 Andy Wingo <wingo@pobox.com>
3435 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3436 convert a negative value. Doesn't make much sense. Mostly this is
3437 here to force callers to ensure -1 maps to -1.
3439 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3441 * docs/pwg/advanced-types.xml:
3442 Well done to Michael for catching my deliberate introduction
3443 of this spelling mistake.
3444 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3446 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3447 unlink pads before removing the element from the bin.
3449 2005-08-24 Andy Wingo <wingo@pobox.com>
3451 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3452 the same thing as GST_DEBUG=*:4.
3453 (parse_debug_level, parse_debug_category): New helper parsers.
3455 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3457 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3458 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3459 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3460 (gst_base_transform_buffer_alloc),
3461 (gst_base_transform_handle_buffer):
3462 use gboolean return values and pointers to size so we can use the
3463 full GST_BUFFER_SIZE range (guint) for buffer sizes
3464 use GstPadDirection for transform_caps
3465 * gst/base/gstbasetransform.h:
3466 rename get_size to get_unit_size since that's what it is
3467 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3468 use GstPadDirection for transform_caps
3469 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3471 cleanup and debugging
3473 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3475 * gst/gstelement.c: (gst_element_class_init),
3476 (gst_element_set_state), (activate_pads),
3477 (gst_element_save_thyself):
3478 * tools/gst-compprep.c: (main):
3479 * tools/gst-inspect.c: (print_element_properties_info):
3480 * tools/gst-xmlinspect.c: (print_element_properties):
3481 Fixed long standing mem-leak
3483 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3485 * check/gst/gstbin.c: (GST_START_TEST):
3486 * gst/gstbin.c: (bin_bus_handler):
3487 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3488 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3489 (gst_message_new_warning), (gst_message_new_tag),
3490 (gst_message_new_state_changed), (gst_message_new_segment_start),
3491 (gst_message_new_segment_done), (gst_message_new_custom):
3493 * tools/gst-launch.c: (event_loop):
3494 * tools/gst-md5sum.c: (event_loop):
3495 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3496 that applications can sensibly post custom messages with references
3497 to their own objects.
3499 2005-08-24 Andy Wingo <wingo@pobox.com>
3501 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3504 2005-08-24 Wim Taymans <wim@fluendo.com>
3506 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3507 (gst_base_transform_transform_caps),
3508 (gst_base_transform_transform_size),
3509 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3510 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3511 (gst_base_transform_handle_buffer):
3512 * gst/base/gstbasetransform.h:
3513 Many fixes and new features added by Thomas. Can now also do
3514 transforms with variable sizes and a custom fixate_caps function.
3516 2005-08-24 Wim Taymans <wim@fluendo.com>
3518 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3522 Cast to ClockTime before formatting to time.
3527 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3529 * check/gst-libs/controller.c: (GST_START_TEST),
3530 (gst_controller_suite):
3531 * docs/gst/tmpl/gstcaps.sgml:
3532 * docs/gst/tmpl/gstghostpad.sgml:
3533 * docs/gst/tmpl/gstquery.sgml:
3534 * docs/gst/tmpl/gstutils.sgml:
3535 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3536 (gst_object_sink_values), (gst_object_get_value_arrays),
3537 (gst_object_get_value_array):
3538 gracefully handle helper method calls to objects that are not beeing
3539 controlled, added test case for that
3541 2005-08-23 Wim Taymans <wim@fluendo.com>
3543 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3544 (gst_event_new_newsegment), (gst_event_parse_newsegment),
3545 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3546 (gst_event_parse_qos), (gst_event_new_seek),
3547 (gst_event_parse_seek):
3549 Some more debugging output and doc cleanups.
3551 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3552 Fix possible deadlock.
3554 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3556 * docs/gst/gstreamer-docs.sgml:
3557 * docs/gst/gstreamer-sections.txt:
3558 * docs/gst/gstreamer.types:
3559 * docs/gst/tmpl/.cvsignore:
3564 added 100 symbols from gstreamer-unused.txt to the right sections
3565 fixed more broken comments
3566 added GstBus to docs
3568 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3570 * docs/gst/gstreamer-sections.txt:
3571 * docs/gst/tmpl/.cvsignore:
3572 * docs/gst/tmpl/gstbin.sgml:
3573 * docs/gst/tmpl/gstbuffer.sgml:
3574 * gst/base/gstbasesrc.c:
3575 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3578 * tools/gst-launch.1.in:
3579 inlined more doc comments, added missing comments and fixed comments
3582 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
3584 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3588 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3590 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3591 * gst/gststructure.h:
3592 add a fixate function for booleans; add a FIXME that these func
3593 names should probably be gst_structure_fixate_*
3595 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3597 * docs/gst/gstreamer-docs.sgml:
3598 * docs/gst/gstreamer-sections.txt:
3600 * gst/gstbin.c: (gst_bin_get_type),
3601 (gst_bin_child_proxy_get_child_by_index),
3602 (gst_bin_child_proxy_get_children_count),
3603 (gst_bin_child_proxy_init):
3604 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3605 (gst_child_proxy_get_child_by_index),
3606 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3607 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3608 (gst_child_proxy_get), (gst_child_proxy_set_property),
3609 (gst_child_proxy_set_valist), (gst_child_proxy_set),
3610 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3611 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3612 * gst/gstchildproxy.h:
3613 * gst/parse/grammar.y:
3614 * tools/gst-inspect.c: (print_interfaces),
3615 (print_element_properties_info), (print_element_info):
3616 ported gstchildproxy over from 0.8
3617 ported gst-inspect fixes and enhancements over from 0.8
3619 2005-08-22 Wim Taymans <wim@fluendo.com>
3621 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3622 (gst_base_transform_handle_buffer):
3623 Also call the transform function if we have ANY caps.
3625 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3628 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3630 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3631 Don't pretend to handle seek events if the source is not seekable
3633 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3636 Remove extra parameter to debug output
3638 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3639 (gst_base_src_do_seek), (gst_base_src_activate_push):
3640 Fix seek event handling.
3642 * gst/gstpipeline.c: (gst_pipeline_change_state):
3643 * gst/gstqueue.c: (gst_queue_handle_sink_event),
3644 (gst_queue_src_activate_push):
3645 Don't start the src pad task on FLUSH_STOP if the pad
3649 2005-08-22 Wim Taymans <wim@fluendo.com>
3651 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3652 Added check for gst_static_caps_get() refcounting.
3654 2005-08-22 Wim Taymans <wim@fluendo.com>
3656 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3657 Make _static_caps_get() refcounting sane.
3659 * gst/gstelement.c: (gst_element_set_state):
3660 Add g_return_val_if_fail() to protect against segfaults.
3662 2005-08-22 Stefan Kost <ensonic@users.sf.net>
3664 * docs/gst/tmpl/gstevent.sgml:
3667 inlined remaining docs, added missing doc comments
3669 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
3671 * check/gst/gstbin.c: (GST_START_TEST):
3672 since we don't know when preroll is done, use refcount range
3674 * gst/check/gstcheck.h:
3675 add macro for checking refcount range
3677 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3679 * check/Makefile.am:
3680 clean up environment for when registry gets built versus
3681 when actual tests are run; valgrind seems to not report
3682 leaks if GST_PLUGIN_PATH is set to some specific values
3683 * check/gst/gstbin.c: (GST_START_TEST):
3684 add more refcounting checks; maybe this exposes a
3687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3688 * gst/check/gstcheck.h:
3689 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3690 (gst_bin_change_state):
3691 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3692 add/fix debugging/whitespace
3694 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3696 * check/gst/gstevent.c: (event_probe), (test_event),
3698 Er, don't call gst_bin_watch_for_state_change you idiot.
3700 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3702 * check/Makefile.am:
3703 Use CHECK_CFLAGS and CHECK_LIBS
3704 * check/gst/gstevent.c: (event_probe), (test_event),
3707 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3708 (gst_base_src_start), (gst_base_src_stop),
3709 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3710 (gst_base_src_change_state):
3711 Sprinkle gst_base_src_stop liberally around error paths to fix
3712 problems reusing a source after failed state changes.
3713 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3714 (helper_find_suggest), (gst_type_find_helper):
3715 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3717 * docs/gst/tmpl/gstevent.sgml:
3718 Migrate part of the docs from the SGML file. Wait for ensonic to
3719 tell me how I did it wrong ;)
3720 * tools/gst-typefind.c: (main):
3721 Extra robustness to state changes between files.
3723 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3725 * check/Makefile.am:
3726 don't valgrind the controller test - it's leaking - Stefan, HELP
3727 * gst/check/gstcheck.c: (gst_check_message_error),
3728 (gst_check_chain_func), (gst_check_setup_element),
3729 (gst_check_teardown_element), (gst_check_setup_src_pad),
3730 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3731 (gst_check_teardown_sink_pad):
3732 * gst/check/gstcheck.h:
3733 add a bunch of methods to set up elements, and src and sink pads
3734 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3735 * check/elements/identity.c: (setup_identity), (cleanup_identity),
3740 whitespace/doc fixes
3742 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3745 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3746 be handled by the application and not always printed as well
3748 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3750 * check/Makefile.am:
3752 * gst/check/gstcheck.c: (gst_check_message_error):
3753 * gst/check/gstcheck.h:
3754 add a fail_unless_equals_int
3755 add fail_unless for error messages
3757 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3759 * check/Makefile.am:
3761 * common/Makefile.am:
3764 factor out some of the common stuff so we can use it
3766 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3768 * check/Makefile.am:
3769 * check/gst/gstiterator.c: (GST_START_TEST):
3770 * check/gst/gstsystemclock.c: (GST_START_TEST),
3771 (gst_systemclock_suite):
3772 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3776 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3778 * check/elements/.cvsignore:
3779 * check/elements/gstfakesrc.c:
3780 rename to name of element
3781 * check/elements/identity.c: (chain_func), (event_func),
3782 (setup_identity), (cleanup_identity), (GST_START_TEST),
3783 (identity_suite), (main):
3784 add a test for identity
3785 * check/Makefile.am:
3786 * pkgconfig/Makefile.am:
3787 * pkgconfig/gstreamer-check.pc.in:
3788 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3792 move the check stuff to a library that gets installed
3793 * check/gst-libs/controller.c: (GST_START_TEST):
3794 * check/gst-libs/gdp.c:
3795 * check/gst/gst.c: (GST_START_TEST):
3796 * check/gst/gstbin.c:
3797 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3798 * check/gst/gstbus.c:
3799 * check/gst/gstcaps.c: (GST_START_TEST):
3800 * check/gst/gstelement.c:
3801 * check/gst/gstghostpad.c:
3802 * check/gst/gstiterator.c:
3803 * check/gst/gstmessage.c:
3804 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3805 * check/gst/gstobject.c:
3806 * check/gst/gstpad.c: (GST_START_TEST):
3807 * check/gst/gststructure.c: (GST_START_TEST):
3808 * check/gst/gstsystemclock.c: (GST_START_TEST),
3809 (gst_systemclock_suite):
3810 * check/gst/gsttag.c: (gst_tag_suite):
3811 * check/gst/gstvalue.c:
3812 * check/pipelines/cleanup.c:
3813 * check/pipelines/simple_launch_lines.c:
3814 * check/states/sinks.c:
3815 change include statement
3817 * docs/gst/gstreamer-sections.txt:
3818 * docs/gst/tmpl/gstpad.sgml:
3819 document more pad stuff
3820 * gst/gstminiobject.c: (gst_mini_object_ref),
3821 (gst_mini_object_unref):
3824 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3826 * docs/gst/tmpl/gst.sgml:
3828 eliminate another tmpl file, fix spelling in the long-description
3830 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3832 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3833 (test_event), (timediff), (gstevents_suite):
3834 Should fix build on 64-bit arch's
3836 2005-08-18 Andy Wingo <wingo@pobox.com>
3838 Make sure that when a pipeline goes to PLAYING, that data has
3839 actually hit the sink.
3841 * check/states/sinks.c (test_sink): A sink that doesn't get any
3842 data shouldn't return SUCCESS for going to either PLAYING or
3843 PAUSED. Test also the return values on the way back down.
3845 * gst/gstelement.c (gst_element_set_state): When changing the
3846 state of an element currently changing state asynchronously, go to
3847 lost-state after commiting the pending state. Makes future calls
3848 to get_state continue to return ASYNC.
3850 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3851 ASYNC when going to PLAYING if we still don't have preroll, as can
3852 happen with live sources.
3854 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3856 * docs/pwg/advanced-types.xml:
3857 Hack long paragraph into 2 chunks as a workaround for buggy
3858 jadetex version in sid and breezy that loops infinitely and
3861 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3863 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3864 (test_event), (timediff), (gstevents_suite):
3865 Provide more error margin in clock measurements to allow for
3866 g_get_current_time inaccuracies.
3868 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3870 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3871 (test_event), (timediff), (gstevents_suite):
3872 Fix error message output so I might be able to tell why the
3873 test works here but fails on the build farm.
3875 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3877 * check/Makefile.am:
3878 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3879 (test_event), (timediff), (gstevents_suite), (main):
3882 * docs/design/part-seeking.txt:
3885 * docs/gst/tmpl/gstevent.sgml:
3886 * docs/gst/tmpl/gstfakesrc.sgml:
3889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3890 Treat a buffer-without-newsegment the same as a receiving
3891 a newsegment not in time format, and disable syncing to the clock
3894 * gst/gstbus.c: (gst_bus_set_sync_handler):
3895 Assert if anyone tries to replace the existing sync_handler for bus,
3896 as only the owner should be setting it.
3899 Have a fixed set of custom event enums with events identified by
3900 their structure name (as in 0.8), rather than a free-for-all
3901 allowing collisions between enum values from different plugins.
3903 * gst/gstpad.c: (gst_pad_class_init):
3906 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3907 Handle out-of-band downstream events from the sending thread.
3909 2005-08-17 Andy Wingo <wingo@pobox.com>
3911 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3912 play-timeout==0 to mean no timeout at all. In that case, don't
3913 bother with a get_state or a warning, just return directly, even
3916 * gst/base/gstbasetransform.c: Debug changes.
3919 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3920 ensure bins post state change messages. A bit of a hack but I can't
3921 think of a way to avoid it.
3923 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3925 2005-08-16 Andy Wingo <wingo@pobox.com>
3927 * gst/base/gstadapter.h:
3928 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3929 peek() but you own the data. Not terribly efficient atm.
3931 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3933 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3934 (gst_element_found_tags):
3936 Add two utility functions for tag handling.
3938 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3940 * docs/manual/advanced-dataaccess.xml:
3941 * docs/manual/basics-helloworld.xml:
3942 Fix docs to use _bin_add() before _link(), which fixes the examples
3943 with recent core versions (reported by Madhan Raj M
3944 <raj_madan@rediffmail.com>, #313199).
3946 2005-08-16 Wim Taymans <wim@fluendo.com>
3948 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3949 Added subtract checks.
3951 * docs/design/part-events.txt:
3952 Some more docs about newsegment
3954 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3957 * gst/gstcaps.c: (gst_caps_to_string):
3958 Add comments, cleanups.
3960 * gst/gstelement.c: (gst_element_save_thyself):
3963 * gst/gstvalue.c: (gst_value_collect_int_range),
3964 (gst_string_unwrap), (gst_value_union_int_int_range),
3965 (gst_value_union_int_range_int_range),
3966 (gst_value_intersect_int_int_range),
3967 (gst_value_intersect_int_range_int_range),
3968 (gst_value_intersect_double_double_range),
3969 (gst_value_intersect_double_range_double_range),
3970 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3971 (gst_value_subtract_int_range_int),
3972 (gst_value_subtract_double_range_double),
3973 (gst_value_subtract_double_range_double_range),
3974 (gst_value_subtract_from_list), (gst_value_subtract_list),
3975 (gst_value_can_compare), (gst_value_compare_fraction):
3976 Cleanups, add comments, remove unneeded asserts.
3978 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3980 * tools/gst-launch.c: (event_loop):
3981 don't convert NULL structures to strings
3983 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3985 * docs/gst/gstreamer-sections.txt:
3986 made some defines private
3987 * docs/gst/tmpl/gstconfig.sgml:
3988 * docs/gst/tmpl/gstqueue.sgml:
3989 * docs/gst/tmpl/gsttaglist.sgml:
3990 * docs/gst/tmpl/gsttypes.sgml:
3991 * docs/gst/tmpl/gstutils.sgml:
3992 * docs/pwg/appendix-porting.xml:
3993 * gst/base/gstbasesink.h:
3994 * gst/base/gstbasesrc.c:
3995 * gst/base/gstbasesrc.h:
3996 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
3997 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
3998 * gst/gstelement.c: (gst_element_class_init):
3999 * gst/gstpad.c: (gst_pad_class_init):
4000 * gst/gstqueue.c: (gst_queue_class_init):
4001 * gst/gstxml.c: (gst_xml_class_init):
4002 documented all undocumented signal inline
4003 * libs/gst/controller/gst-controller.h:
4006 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4008 * docs/pwg/appendix-porting.xml:
4009 Document _set_link_function -> _set_setcaps_function.
4011 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4013 * check/Makefile.am:
4014 add a .check target for running the check
4015 * check/gst-libs/controller.c: (GST_START_TEST):
4017 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4018 complete checks for gstbuffer; would be nice if I could get the
4019 gcov stuff to work so I can see if I actually completed gstbuffer.c
4021 add ASSERT_BUFFER_REFCOUNT
4023 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4025 * docs/gst/gstreamer-sections.txt:
4026 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4028 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4029 spew out a warning if a tag that is already registered
4030 is re-registered, unless it is re-registered with a
4031 different type (#308438).
4033 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4035 * docs/pwg/appendix-porting.xml:
4036 * docs/pwg/building-state.xml:
4037 Add some paragraphs about state changes in 0.9 to the PWG
4038 and the porting guide, in particular about the new meaning
4039 of GST_STATE_PAUSED and how to write state change functions
4040 with concurrent access by multiple threads in mind.
4042 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4044 * docs/gst/gstreamer-docs.sgml:
4045 * docs/libs/gstreamer-libs-docs.sgml:
4046 added deprecation and since indexes
4047 * libs/gst/controller/gst-controller.c:
4048 * libs/gst/controller/gst-helper.c:
4052 2005-08-11 Wim Taymans <wim@fluendo.com>
4054 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4055 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4056 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4057 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4058 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4059 (gst_ghost_pad_set_target):
4060 Actually implement (re)setting the target on a ghostpad
4061 as described in the docs.
4063 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4065 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4066 Check whether GST_DEBUG_NO_COLOR environment variable is
4067 set and disable coloured debug output if that is the case.
4069 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4071 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4072 (gst_type_find_helper):
4073 The memory returned by gst_type_find_peek() needs to
4074 stay valid until the end of a typefind function, and
4075 typefind functions may keep results from different
4076 offsets around, so we can't just unref the buffer from
4077 the previous _peek(), but have to save all buffers
4078 returned by _peek() until typefinding is done and only
4081 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4083 * docs/gst/gstreamer-sections.txt:
4085 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4087 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4089 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4090 Fix a pretty good memleak.
4092 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4094 * gst/gstiterator.h:
4095 Fix wrong include and 'make distcheck'.
4097 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4099 * gst/gstbin.c: (bin_bus_handler):
4100 Use gst_element_post_message() instead.
4102 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4104 * gst/base/gstadapter.h:
4105 * gst/base/gstbasesink.h:
4106 * gst/base/gstbasesrc.h:
4107 * gst/base/gstbasetransform.h:
4108 * gst/base/gstcollectpads.h:
4109 * gst/base/gstpushsrc.h:
4110 * gst/gstiterator.h:
4111 Add padding to our base elements' class and instance structs and
4112 to GstIterator (you will need to rebuild all plugins and apps!)
4114 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4116 * gst/gstbin.c: (bin_bus_handler):
4117 Make default message forwarding from child->bus to bin->bus
4118 threadsafe and make it not emit warnings if the parent has no bus.
4120 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4122 * gst/gstelement.c: (activate_pads):
4123 On paused->ready, set pad->caps to NULL, as is the documented
4124 behaviour in this state change. Fixes playback of series of
4125 media files when visualization is enabled in Totem.
4127 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4129 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4130 Allow NULL as filter-caps (which means "any").
4132 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4134 * docs/libs/gstreamer-libs-sections.txt:
4135 * libs/gst/controller/gst-controller.c:
4136 * libs/gst/controller/gst-controller.h:
4137 * libs/gst/controller/gst-helper.c:
4138 adding more entries to the docs and fix small doc-bugs
4140 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4142 * docs/gst/gstreamer-docs.sgml:
4143 * docs/gst/gstreamer-sections.txt:
4144 * docs/gst/gstreamer.types:
4145 * docs/gst/tmpl/gstbasesink.sgml:
4146 * docs/gst/tmpl/gstbasesrc.sgml:
4147 * docs/gst/tmpl/gstbasetransform.sgml:
4148 * docs/gst/tmpl/gstfakesrc.sgml:
4149 * gst/base/gstcollectpads.c:
4150 * gst/base/gstcollectpads.h:
4151 * libs/gst/controller/gst-controller.c:
4152 * libs/gst/controller/gst-controller.h:
4153 * libs/gst/controller/gst-helper.c:
4154 * libs/gst/controller/gst-interpolation.c:
4155 * libs/gst/controller/lib.c:
4156 added long/short desc for controller docs
4157 added collectpads base class docs
4158 added correct includes to base-class docs
4160 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4162 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4163 (gst_test_mono_source_set_property),
4164 (gst_test_mono_source_class_init), (GST_START_TEST),
4165 (gst_controller_suite):
4166 * docs/gst/gstreamer-docs.sgml:
4167 * docs/gst/gstreamer-sections.txt:
4168 * docs/gst/gstreamer.types:
4169 * docs/libs/gstreamer-libs-docs.sgml:
4170 * docs/libs/gstreamer-libs-sections.txt:
4171 * gst/base/gstadapter.c:
4172 * libs/gst/controller/gst-controller.c:
4173 (gst_controlled_property_new), (gst_controlled_property_free),
4174 (gst_controller_new_valist),
4175 (gst_controller_remove_properties_valist),
4176 (gst_controller_sink_values), (_gst_controller_finalize):
4177 * libs/gst/controller/gst-controller.h:
4178 * libs/gst/controller/gst-helper.c:
4179 (gst_object_control_properties), (gst_object_uncontrol_properties),
4180 (gst_object_get_controller), (gst_object_set_controller),
4181 (gst_object_sink_values), (gst_object_get_value_arrays),
4182 (gst_object_get_value_array):
4183 more tests (and fixes) for the controller
4184 more docs for the controller
4185 integrated companies docs for the adapter
4187 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4189 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4190 (GST_START_TEST), (fakesrc_suite):
4191 add tests for sizetype
4193 2005-08-04 Andy Wingo <wingo@pobox.com>
4195 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4196 fixes buffer_alloc proxying among other things.
4198 * gst/base/gstbasetransform.c:
4199 * gst/base/gstbasetransform.h:
4200 Revert patch to gstbasetransform from 7-28 removing
4203 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4204 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4205 Semantics changed, should return not the size of the output buffer
4206 but the byte size of a buffer with a given caps.
4208 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4210 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4211 out) are not the pad caps until setcaps finishes.
4212 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4213 not-in-place case as well. Deal with changing from in-place to
4214 not-in-place within calling pad_alloc_buffer. Still a bit
4215 concerned about the overhead here...
4217 2005-08-03 Andy Wingo <wingo@pobox.com>
4219 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4220 fixating is an error.
4222 2005-08-04 Edward Hervey <edward@fluendo.com>
4224 * gst/base/gstadapter.h:
4225 Added gst_adapter_get_type() to the header
4227 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4229 * check/Makefile.am:
4230 * check/gst-libs/controller.c:
4231 * libs/gst/controller/gst-controller.c:
4232 (gst_controller_new_valist):
4233 added check test suite for the controller
4234 * gst/base/gstpushsrc.c:
4237 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4239 * docs/gst/Makefile.am:
4240 * docs/gst/gstreamer-docs.sgml:
4241 * docs/gst/gstreamer-sections.txt:
4242 * docs/gst/gstreamer.types:
4243 * docs/gst/tmpl/gstfakesrc.sgml:
4245 * gst/base/gstbasesink.c:
4246 * gst/base/gstbasesink.h:
4247 * gst/base/gstbasesrc.c:
4248 * gst/base/gstbasesrc.h:
4249 * gst/base/gstbasetransform.c:
4250 * gst/base/gstpushsrc.c:
4251 * gst/base/gstpushsrc.h:
4252 add short/long description docs to base classes
4253 add pushsrc to the docs
4254 remove consolidated doc fragments
4256 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4259 * docs/libs/Makefile.am:
4260 * docs/libs/gstreamer-libs-docs.sgml:
4261 * docs/libs/gstreamer-libs-sections.txt:
4262 * docs/libs/gstreamer-libs.types:
4263 * examples/Makefile.am:
4264 * examples/controller/.cvsignore:
4265 * examples/controller/Makefile.am:
4266 * examples/controller/audio-example.c: (main):
4267 * libs/gst/Makefile.am:
4268 * libs/gst/controller/.cvsignore:
4269 * libs/gst/controller/Makefile.am:
4270 * libs/gst/controller/gst-controller.c:
4271 (on_object_controlled_property_changed), (gst_timed_value_compare),
4272 (gst_timed_value_find),
4273 (gst_controlled_property_set_interpolation_mode),
4274 (gst_controlled_property_new), (gst_controlled_property_free),
4275 (gst_controller_find_controlled_property),
4276 (gst_controller_new_valist), (gst_controller_new),
4277 (gst_controller_remove_properties_valist),
4278 (gst_controller_remove_properties), (gst_controller_set),
4279 (gst_controller_set_from_list), (gst_controller_unset),
4280 (gst_controller_get), (gst_controller_get_all),
4281 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4282 (gst_controller_get_value_array),
4283 (gst_controller_set_interpolation_mode),
4284 (_gst_controller_finalize), (_gst_controller_init),
4285 (_gst_controller_class_init), (gst_controller_get_type):
4286 * libs/gst/controller/gst-controller.h:
4287 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4288 (g_object_uncontrol_properties), (g_object_get_controller),
4289 (g_object_set_controller), (g_object_sink_values),
4290 (g_object_get_value_arrays), (g_object_get_value_array):
4291 * libs/gst/controller/gst-interpolation.c:
4292 (gst_controlled_property_find_timed_value_node),
4293 (interpolate_none_get), (interpolate_trigger_get),
4294 (interpolate_trigger_get_value_array):
4295 * libs/gst/controller/lib.c: (gst_controller_init):
4296 * pkgconfig/Makefile.am:
4297 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4298 * pkgconfig/gstreamer-control.pc.in:
4299 * testsuite/Makefile.am:
4300 * testsuite/controller/.cvsignore:
4301 * testsuite/controller/Makefile.am:
4302 * testsuite/controller/interpolator.c: (main):
4303 added controller code
4304 removed dparam pc files
4306 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4307 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4308 (gst_collectpads_stop):
4309 Broadcast the condition when shutting down, to make sure we wake all
4310 threads up. Shut down pads on finalize, for safety.
4312 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4313 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4314 (gst_base_transform_handle_buffer),
4315 (gst_base_transform_change_state):
4316 Handle PAUSED->READY->PAUSED transition after negotiation
4318 * gst/gstmessage.c: (gst_message_init):
4319 Extra piece of debug for new messages.
4321 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4324 * docs/gst/tmpl/gstbasesrc.sgml:
4325 * docs/gst/tmpl/gstelement.sgml:
4326 * docs/gst/tmpl/gstevent.sgml:
4327 * docs/gst/tmpl/gstfakesrc.sgml:
4328 * docs/gst/tmpl/gstformat.sgml:
4329 * docs/gst/tmpl/gstghostpad.sgml:
4330 * docs/gst/tmpl/gstpad.sgml:
4331 * docs/gst/tmpl/gstquery.sgml:
4332 * docs/gst/tmpl/gststructure.sgml:
4333 * docs/gst/tmpl/gsttaglist.sgml:
4334 * docs/gst/tmpl/gstvalue.sgml:
4335 * docs/libs/gstreamer-libs-docs.sgml:
4336 * docs/libs/gstreamer-libs-sections.txt:
4337 * docs/libs/gstreamer-libs.types:
4338 * libs/gst/Makefile.am:
4339 * libs/gst/control/.cvsignore:
4340 * libs/gst/control/Makefile.am:
4341 * libs/gst/control/control.c:
4342 * libs/gst/control/control.h:
4343 * libs/gst/control/dparam.c:
4344 * libs/gst/control/dparam.h:
4345 * libs/gst/control/dparam_smooth.c:
4346 * libs/gst/control/dparam_smooth.h:
4347 * libs/gst/control/dparamcommon.h:
4348 * libs/gst/control/dparammanager.c:
4349 * libs/gst/control/dparammanager.h:
4350 * libs/gst/control/dplinearinterp.c:
4351 * libs/gst/control/dplinearinterp.h:
4352 * libs/gst/control/unitconvert.c:
4353 * libs/gst/control/unitconvert.h:
4354 * testsuite/Makefile.am:
4355 * testsuite/dynparams/.cvsignore:
4356 * testsuite/dynparams/Makefile.am:
4357 * testsuite/dynparams/dparamstest.c:
4358 * tools/Makefile.am:
4359 * tools/gst-inspect.c: (print_element_info), (main):
4360 * tools/gst-xmlinspect.c: (print_element_info), (main):
4361 deactivate and remove dparams (libgstcontrol)
4363 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4365 * gst/elements/gsttypefindelement.c:
4366 (gst_type_find_element_have_type), (gst_type_find_element_init),
4367 (stop_typefinding), (gst_type_find_element_handle_event),
4368 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4369 * gst/elements/gsttypefindelement.h:
4370 Set caps on all outgoing buffers, not just the first one.
4372 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4374 * gst/elements/gsttypefindelement.c:
4375 (gst_type_find_element_have_type),
4376 (gst_type_find_element_check_set_buffer_caps),
4377 (gst_type_find_element_init), (stop_typefinding),
4378 (gst_type_find_element_handle_event),
4379 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4380 * gst/elements/gsttypefindelement.h:
4381 Set caps on first outgoing buffer when we've found the type.
4383 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4385 * docs/gst/gstreamer-docs.sgml:
4386 * docs/gst/gstreamer-sections.txt:
4387 * docs/gst/tmpl/gstscheduler.sgml:
4388 * docs/gst/tmpl/gstschedulerfactory.sgml:
4389 Remove some old cruft from docs.
4391 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
4394 Fix inline docs for GstPadLinkReturn.
4396 * gst/gststructure.c: (gst_structure_has_name):
4397 * gst/gststructure.h:
4398 * docs/gst/gstreamer-sections.txt:
4399 New API: gst_structure_has_name().
4401 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
4404 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4405 and _LARGEFILE_SOURCE in config.h as required. Do not
4406 export those flags in our .pc files any longer (#142209).
4408 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4410 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4411 (gst_file_sink_do_seek), (gst_file_sink_event),
4412 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4413 Redo seek/tell calls with large file support in mind; add some
4414 debugging messages; add log message that tells us when large
4415 file support is unavailable or not enabled for some reason.
4417 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4418 Add log message that tells us when large file support
4419 is unavailable or not enabled for some reason.
4421 2005-07-29 Wim Taymans <wim@fluendo.com>
4423 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4424 Added test for removing an element with ghostpad from a bin.
4425 Fixed test as current implementation does the right thing.
4427 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4428 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4429 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4430 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4431 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4432 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4433 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4434 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4435 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4436 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4437 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4438 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4439 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4440 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4441 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4442 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4443 * gst/gstghostpad.h:
4444 Clean up ghostpads, remove properties for internal stuff.
4447 Prepare for switching targets, not all use cases work yet.
4449 2005-07-29 Wim Taymans <wim@fluendo.com>
4451 * docs/design/part-gstghostpad.txt:
4454 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4455 (gst_bin_remove_func):
4456 Unlinking pads while holding the bin LOCK is not a good
4459 * gst/gstpad.c: (gst_pad_class_init),
4460 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4461 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4462 No prob setting template after creating the pad.
4464 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4466 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4467 (gst_bus_peek), (gst_bus_source_dispatch),
4468 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4469 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4470 gst_bus_poll may be called from other threads. Handle
4471 this nicely by not making poll_data disappear off the
4472 stack once gst_bus_poll returns.
4473 gst_bus_peek now increments the refcount on the returned
4476 2005-07-29 Wim Taymans <wim@fluendo.com>
4478 * docs/design/part-gstghostpad.txt:
4479 Overview of current GhostPad datastructures and use
4480 cases for changing the target.
4482 2005-07-28 Wim Taymans <wim@fluendo.com>
4484 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4485 Added checks for hierarchy consistency whan adding linked
4488 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4489 Added check to test element scheduling without bin/pipeline.
4491 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4492 First add elements to bin, then link.
4494 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4495 (gst_bin_remove_func):
4496 Unlink pads from elements added/removed from bin to maintain
4497 hierarchy consistency.
4499 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4501 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4502 (gst_base_transform_handle_buffer):
4503 * gst/base/gstbasetransform.h:
4504 Remove broken delay_configure (fixes renegotiation of software
4505 scaling pipelines); remove some leftover printf()s.
4507 2005-07-28 Wim Taymans <wim@fluendo.com>
4509 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4510 Added some more tests for wrong hierarchy
4512 * docs/design/part-overview.txt:
4515 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4518 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4519 (gst_element_dispose):
4522 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4523 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4524 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4525 (gst_pad_set_caps), (gst_pad_send_event):
4526 Check for correct hierarchy when linking pads. Moving to
4527 strict requirement for ghostpads when linking elements in
4531 Clean ups. Added WRONG_HIERARCHY return value.
4533 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4535 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4536 Better debug if no transform is possible.
4538 2005-07-27 Wim Taymans <wim@fluendo.com>
4540 * docs/random/wtay/network-transp:
4543 2005-07-27 Wim Taymans <wim@fluendo.com>
4545 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4546 (gst_dp_event_from_packet):
4547 Fix serialization of seek events.
4549 2005-07-27 Wim Taymans <wim@fluendo.com>
4551 * check/gst-libs/gdp.c: (GST_START_TEST):
4552 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4553 Fix compilation and fix event serialization.
4555 2005-07-27 Wim Taymans <wim@fluendo.com>
4558 * docs/design/part-TODO.txt:
4559 * docs/design/part-events.txt:
4562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4563 (gst_base_sink_event), (gst_base_sink_do_sync),
4564 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4565 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4566 (gst_base_src_do_seek), (gst_base_src_event_handler),
4567 (gst_base_src_loop):
4568 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4569 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4570 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4571 (gst_base_transform_event), (gst_base_transform_handle_buffer),
4572 (gst_base_transform_set_passthrough),
4573 (gst_base_transform_is_passthrough):
4574 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4575 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4581 * gst/gstelement.c: (gst_element_seek):
4583 Update gst_element_seek.
4585 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4586 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4587 (gst_event_new_flush_start), (gst_event_new_flush_stop),
4588 (gst_event_new_eos), (gst_event_new_newsegment),
4589 (gst_event_parse_newsegment), (gst_event_new_tag),
4590 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4591 (gst_event_parse_qos), (gst_event_new_seek),
4592 (gst_event_parse_seek), (gst_event_new_navigation):
4594 Make GstEvent use GstStructure. Add parsing code, make sure the
4595 API is sufficiently generic.
4596 Mark possible directions of events and serialization.
4598 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4599 (_gst_message_copy), (gst_message_new_segment_start),
4600 (gst_message_new_segment_done), (gst_message_new_custom),
4601 (gst_message_parse_segment_start),
4602 (gst_message_parse_segment_done):
4605 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4606 (gst_pad_set_caps), (gst_pad_send_event):
4607 Update for new events.
4608 Catch events sent in wrong directions.
4610 * gst/gstqueue.c: (gst_queue_link_src),
4611 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4612 (gst_queue_handle_src_query):
4617 Remove event code from this file.
4619 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4620 (gst_dp_event_from_packet):
4623 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4625 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4626 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4627 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4628 Make debugging actually useful.
4630 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4632 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4633 (gst_pad_fixate_caps):
4634 Implement default fixation once again, so that gst_pad_fixate()
4635 actually does anything at all. This probably needs to be some
4636 sort of a last resort, and use profile-based fixation first, but
4637 since that doesn't exist yet, this is the best we have. Fixes
4638 visualization in Totem.
4640 2005-07-22 Wim Taymans <wim@fluendo.com>
4642 * docs/design/part-events.txt:
4645 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4646 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4647 (gst_base_sink_activate_pull):
4650 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4651 (gst_fake_src_create):
4652 Fix handoff marshall.
4654 * gst/elements/gstidentity.c: (gst_identity_class_init),
4655 (gst_identity_transform_ip):
4656 We're a real inplace element.
4658 * gst/gstbus.c: (gst_bus_post):
4659 Added some comments.
4661 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4662 * tests/muxing/case1.c: (main):
4663 * tests/sched/dynamic-pipeline.c: (main):
4664 * tests/sched/interrupt1.c: (main):
4665 * tests/sched/interrupt2.c: (main):
4666 * tests/sched/interrupt3.c: (main):
4667 * tests/sched/runxml.c: (main):
4668 * tests/sched/sched-stress.c: (main):
4669 * tests/seeking/seeking1.c: (event_received), (main):
4670 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4672 * tests/threadstate/threadstate3.c: (main):
4673 * tests/threadstate/threadstate4.c: (main):
4674 * tests/threadstate/threadstate5.c: (main):
4677 2005-07-21 Wim Taymans <wim@fluendo.com>
4679 * docs/design/part-seeking.txt:
4680 Some small additions.
4682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4683 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4684 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4685 * gst/base/gstbasesink.h:
4686 discont values are gint64, handle the math correctly.
4688 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4689 Make the basesrc report error if the source pad is not linked.
4691 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4692 (gst_queue_loop), (gst_queue_handle_src_query),
4693 (gst_queue_src_activate_push):
4694 Make queue collect data even if the srcpad is not linked.
4695 Start pushing out data as soon as it is linked.
4697 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4699 Added gst_flow_get_name() to ease error reporting.
4701 2005-07-20 Wim Taymans <wim@fluendo.com>
4703 * gst/gstmessage.c: (gst_message_new_segment_start),
4704 (gst_message_new_segment_done), (gst_message_parse_segment_start),
4705 (gst_message_parse_segment_done):
4707 Added a bunch of messages for advanced seeking.
4709 * gst/parse/grammar.y:
4710 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4711 (gst_dpman_state_changed):
4712 Fix some new-pad -> pad-added signals
4714 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4716 * docs/manual/appendix-porting.xml:
4717 * docs/pwg/appendix-porting.xml:
4718 Document new-pad/state-change signal renames and the FixedList
4721 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4723 * docs/manual/advanced-autoplugging.xml:
4724 * docs/manual/basics-helloworld.xml:
4725 * docs/manual/basics-pads.xml:
4726 * docs/random/ds/0.9-suggested-changes:
4727 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4732 * gst/gststructure.c: (gst_structure_value_get_generic_type),
4733 (gst_structure_parse_array), (gst_structure_parse_value):
4734 * gst/gstvalue.c: (gst_type_is_fixed),
4735 (gst_value_list_prepend_value), (gst_value_list_append_value),
4736 (gst_value_list_get_size), (gst_value_list_get_value),
4737 (gst_value_transform_array_string), (gst_value_serialize_array),
4738 (gst_value_deserialize_array), (gst_value_intersect_array),
4739 (gst_value_is_fixed), (_gst_value_initialize):
4741 GstElement::new-pad -> pad-added, GstElement::state-change ->
4742 state-changed, GstValueFixedList -> GstValueArray, add format and
4743 flags as their own arguments in gst_element_seek() (should improve
4744 "bindeability"), remove function generators since they don't work
4745 under a whole bunch of compilers (they were deprecated already
4748 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4750 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4751 (_gst_debug_register_funcptr):
4753 Fix illegal cast on some platforms (#309253).
4755 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4757 * gst/gstmessage.c: (gst_message_new_custom):
4759 Add _new_custom, make _new_application a macro to _new_custom.
4761 2005-07-20 Wim Taymans <wim@fluendo.com>
4763 * gst/base/gstbasesrc.c: (gst_base_src_init),
4764 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4765 * gst/base/gstbasesrc.h:
4766 Add a gboolean to decide when to push out a discont.
4768 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4769 (gst_queue_loop), (gst_queue_handle_src_query),
4770 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4771 (gst_queue_set_property), (gst_queue_get_property):
4774 * tests/threadstate/threadstate1.c: (main):
4775 Make a thread test compile and run... very silly..
4778 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4780 * docs/manual/appendix-porting.xml:
4781 Mention removal of libgstgconf-0.9.la and existence of gconf
4784 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4786 * docs/pwg/advanced-clock.xml:
4787 * docs/pwg/appendix-porting.xml:
4788 * docs/pwg/intro-preface.xml:
4789 * docs/pwg/other-base.xml:
4790 * docs/pwg/other-manager.xml:
4791 * docs/pwg/other-nton.xml:
4792 * docs/pwg/other-ntoone.xml:
4793 * docs/pwg/other-oneton.xml:
4795 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4796 demuxer), remove n-to-n (was never written), fix some code examples
4797 and links and update the porting section to include all this.
4799 2005-07-19 Wim Taymans <wim@fluendo.com>
4801 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4802 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4803 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4804 (gst_queue_src_activate_push), (gst_queue_change_state),
4805 (gst_queue_get_property):
4807 Propagate GstFlowReturn more intelligently upstream and output
4808 an ERROR/EOS when streaming stopped due to fatal error.
4810 2005-07-19 Wim Taymans <wim@fluendo.com>
4812 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4813 Don't block forever for the state change to complete, the
4814 pipeline already did with a sensible timeout.
4816 2005-07-19 Wim Taymans <wim@fluendo.com>
4818 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4819 Make sure we never call the create function is we
4822 2005-07-19 Andy Wingo <wingo@pobox.com>
4824 * gst/parse/parse.l: Attempt to solve bug #172815.
4826 2005-07-19 Wim Taymans <wim@fluendo.com>
4828 * docs/design/part-clocks.txt:
4829 * docs/design/part-events.txt:
4830 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4832 Only update the seeking values when we are not
4835 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4837 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4838 Oops, ignore the result of gst_pad_push_event here.
4840 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4842 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4843 (gst_base_src_activate_push):
4844 Send discont event from the loop function, as pads
4845 aren't activated yet in the activate_push handler.
4847 * gst/gstbin.c: (bin_bus_handler):
4848 Don't leak element name.
4850 2005-07-18 Andy Wingo <wingo@pobox.com>
4852 * configure.ac: Use AS_LIBTOOL_TAGS.
4854 2005-07-18 Wim Taymans <wim@fluendo.com>
4856 * docs/gst/gstreamer.types:
4857 Remove deleted types.
4859 2005-07-18 Wim Taymans <wim@fluendo.com>
4861 * check/elements/gstfakesrc.c: (GST_START_TEST):
4864 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4865 (init_popt_callback):
4867 * gst/gst_private.h:
4868 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4869 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4872 * gst/gstconfig.h.in:
4873 * gst/gstelement.c: (gst_element_class_init),
4874 (gst_element_set_base_time), (gst_element_get_base_time),
4875 (iterator_fold_with_resync), (gst_element_change_state),
4876 (gst_element_dispose), (gst_element_get_bus):
4878 * gst/gstelementfactory.h:
4879 * gst/gsterror.c: (_gst_core_errors_init):
4882 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4884 * gst/gstinfo.c: (_gst_debug_init):
4885 * gst/gstmessage.c: (_gst_message_copy):
4887 * gst/gstminiobject.h:
4890 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4891 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4894 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4895 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4896 (gst_pipeline_get_last_stream_time):
4897 * gst/gstpipeline.h:
4898 * gst/gstpluginfeature.h:
4900 * gst/gstscheduler.c:
4901 * gst/gstscheduler.h:
4902 * gst/gststructure.h:
4903 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4904 (gst_task_finalize), (gst_task_func), (gst_task_create),
4905 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4906 (gst_task_stop), (gst_task_pause):
4908 * gst/gsttypefind.h:
4910 * gst/registries/gstlibxmlregistry.c: (load_feature),
4911 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4912 * gst/registries/gstxmlregistry.c:
4913 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4914 * gst/schedulers/threadscheduler.c:
4915 * libs/gst/control/dparammanager.h:
4916 * tools/gst-inspect.c: (print_element_list),
4917 (print_plugin_features), (print_element_features):
4918 * tools/gst-xmlinspect.c: (print_element_list),
4919 (print_plugin_info), (main):
4920 Removed plugable schedulers.
4921 Removed Scheduler/Manager from elements.
4922 Removed gsttypes.h, rearranged includes.
4923 Removed dependency pad<->element, element<>pipeline, and
4924 various others, fix includes.
4925 implement gst_pad_get_parent() with gst_object_get_parent()
4926 Make GstTask sefcontained.
4927 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4929 Fix endless loop in iterator_fold_with_resync.
4932 2005-07-18 Wim Taymans <wim@fluendo.com>
4938 2005-07-18 Wim Taymans <wim@fluendo.com>
4943 2005-07-18 Wim Taymans <wim@fluendo.com>
4949 2005-07-18 Wim Taymans <wim@fluendo.com>
4951 * docs/design/part-dynamic.txt:
4952 * docs/design/part-events.txt:
4953 * docs/design/part-seeking.txt:
4954 Some more docs in the works.
4956 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4957 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4958 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4959 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4960 (gst_base_transform_handle_buffer),
4961 (gst_base_transform_sink_activate_push),
4962 (gst_base_transform_src_activate_pull),
4963 (gst_base_transform_set_passthrough),
4964 (gst_base_transform_is_passthrough):
4967 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4970 * gst/gstevent.c: (gst_event_finalize):
4973 * gst/gstutils.c: (gst_element_unlink),
4974 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4975 (gst_pad_proxy_setcaps):
4977 Add _get_parent_element() to get a pads parent as an element.
4979 2005-07-18 Wim Taymans <wim@fluendo.com>
4981 * check/gst/gstbin.c: (GST_START_TEST):
4984 2005-07-18 Wim Taymans <wim@fluendo.com>
4986 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4987 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4988 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4989 (gst_base_sink_event), (gst_base_sink_do_sync),
4990 (gst_base_sink_chain), (gst_base_sink_loop),
4991 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
4992 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
4994 Fix logic for returning ASYNC when not prerolled.
4996 2005-07-18 Wim Taymans <wim@fluendo.com>
4998 * gst/gstqueue.c: (gst_queue_handle_sink_event):
4999 Fix nasty refcount bug.
5001 2005-07-16 Philippe Khalaf <burger@speedy.org>
5003 * gst/elements/gstfdsrc.c:
5004 * gst/elements/gstfdsrc.h:
5005 * gst/elements/gstelements.c:
5006 * gst/elements/Makefile.am:
5007 Ported fdsrc to 0.9.
5009 2005-07-16 Wim Taymans <wim@fluendo.com>
5011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5012 (gst_base_sink_do_sync):
5015 2005-07-16 Wim Taymans <wim@fluendo.com>
5017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5018 (gst_base_sink_event), (gst_base_sink_get_times),
5019 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5020 * gst/base/gstbasesink.h:
5021 Store and use discont values when syncing buffers as described
5024 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5025 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5026 (gst_base_src_activate_push):
5027 Push discont event when starting.
5029 * gst/elements/gstidentity.c: (gst_identity_transform):
5032 * gst/gstbin.c: (gst_bin_change_state):
5033 Small cleanups in base_time distribution.
5035 * gst/gstelement.c: (gst_element_set_base_time),
5036 (gst_element_get_base_time), (gst_element_change_state):
5038 Added methods for the base_time of the element.
5041 * gst/gstpipeline.c: (gst_pipeline_send_event),
5042 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5043 (gst_pipeline_get_last_stream_time):
5044 * gst/gstpipeline.h:
5046 Handle seeking as described in design doc, remove stream_time
5048 Cleanups clock and stream_time selection code. Added accessors
5049 for the stream_time.
5052 2005-07-16 Andy Wingo <wingo@pobox.com>
5054 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5057 2005-07-16 Wim Taymans <wim@fluendo.com>
5059 * check/gst/gstbin.c: (GST_START_TEST):
5060 Make elements silent as the deep_notify refs the
5061 parent, which might make the test fail.
5063 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5064 Don't hold the lock for too long.
5066 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5068 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5069 Don't unref the caps we passed to gst_caps_make_writable() after
5070 passing them. gst_caps_make_writable() will do that for us.
5072 2005-07-15 Andy Wingo <wingo@pobox.com>
5074 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5077 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5078 own marshalling function for the handoff signal. Properly type the
5079 buffer as a buffer. Fixes some warnings. Should do a more general
5081 (gst_identity_class_init): Plug into the right marshaller.
5083 2005-07-15 Wim Taymans <wim@fluendo.com>
5085 * docs/design/part-TODO.txt:
5086 * docs/design/part-clocks.txt:
5087 * docs/design/part-element-sink.txt:
5088 * docs/design/part-events.txt:
5089 * docs/design/part-gstpipeline.txt:
5090 Updated docs, mostly DISCONT related.
5092 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5094 * docs/pwg/building-pads.xml:
5095 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5097 2005-07-15 Andy Wingo <wingo@pobox.com>
5099 * tools/gst-typefind.c: Update, add copyright block.
5101 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5102 Normalize and truncate caps before fixation.
5105 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5106 discards all but the first structure from its argument.
5108 2005-07-15 Wim Taymans <wim@fluendo.com>
5110 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5111 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5112 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5113 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5114 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5115 (gst_base_transform_chain), (gst_base_transform_change_state),
5116 (gst_base_transform_set_passthrough),
5117 (gst_base_transform_is_passthrough):
5118 * gst/base/gstbasetransform.h:
5119 Make passthrough work using the bufferpools.
5120 Changed API a bit, subclasses have to write into a buffer
5121 provided by the base class.
5122 More debug info in nego functions.
5124 * gst/elements/gstidentity.c: (gst_identity_init),
5125 (gst_identity_transform):
5126 Port to new base class.
5128 2005-07-15 Wim Taymans <wim@fluendo.com>
5130 * gst/gstmessage.c: (gst_message_new_state_changed):
5131 * tools/gst-launch.c: (event_loop), (main):
5132 Totally dump messages in -launch with the -m option.
5133 Fix message name for State messages,
5135 2005-07-14 Wim Taymans <wim@fluendo.com>
5137 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5138 Post error messages on errors.
5140 2005-07-14 Wim Taymans <wim@fluendo.com>
5142 * gst/gstcaps.c: (gst_caps_do_simplify):
5146 Define error for stream stopped.
5148 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5149 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5150 Do proper return values.
5152 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5153 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5154 (gst_pad_get_range):
5155 Better return values.
5158 Reorganise return values, add macro to check for fatal errors.
5160 * gst/gstqueue.c: (gst_queue_chain):
5161 Return proper GstFlowReturn values,
5163 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5165 * docs/gst/gstreamer-sections.txt:
5166 * docs/gst/gstreamer.types:
5167 * docs/gst/tmpl/gst.sgml:
5168 * docs/gst/tmpl/gstbasesink.sgml:
5169 * docs/gst/tmpl/gstbasesrc.sgml:
5170 * docs/gst/tmpl/gstbasetransform.sgml:
5171 * docs/gst/tmpl/gstbin.sgml:
5172 * docs/gst/tmpl/gstbuffer.sgml:
5173 * docs/gst/tmpl/gstcaps.sgml:
5174 * docs/gst/tmpl/gstclock.sgml:
5175 * docs/gst/tmpl/gstcompat.sgml:
5176 * docs/gst/tmpl/gstconfig.sgml:
5177 * docs/gst/tmpl/gstelement.sgml:
5178 * docs/gst/tmpl/gstelementdetails.sgml:
5179 * docs/gst/tmpl/gstelementfactory.sgml:
5180 * docs/gst/tmpl/gstenumtypes.sgml:
5181 * docs/gst/tmpl/gsterror.sgml:
5182 * docs/gst/tmpl/gstevent.sgml:
5183 * docs/gst/tmpl/gstfakesink.sgml:
5184 * docs/gst/tmpl/gstfakesrc.sgml:
5185 * docs/gst/tmpl/gstfilesink.sgml:
5186 * docs/gst/tmpl/gstfilesrc.sgml:
5187 * docs/gst/tmpl/gstfilter.sgml:
5188 * docs/gst/tmpl/gstformat.sgml:
5189 * docs/gst/tmpl/gstghostpad.sgml:
5190 * docs/gst/tmpl/gstimplementsinterface.sgml:
5191 * docs/gst/tmpl/gstindex.sgml:
5192 * docs/gst/tmpl/gstindexfactory.sgml:
5193 * docs/gst/tmpl/gstinfo.sgml:
5194 * docs/gst/tmpl/gstiterator.sgml:
5195 * docs/gst/tmpl/gstmacros.sgml:
5196 * docs/gst/tmpl/gstmemchunk.sgml:
5197 * docs/gst/tmpl/gstminiobject.sgml:
5198 * docs/gst/tmpl/gstobject.sgml:
5199 * docs/gst/tmpl/gstpad.sgml:
5200 * docs/gst/tmpl/gstpadtemplate.sgml:
5201 * docs/gst/tmpl/gstparse.sgml:
5202 * docs/gst/tmpl/gstpipeline.sgml:
5203 * docs/gst/tmpl/gstplugin.sgml:
5204 * docs/gst/tmpl/gstpluginfeature.sgml:
5205 * docs/gst/tmpl/gstquery.sgml:
5206 * docs/gst/tmpl/gstqueue.sgml:
5207 * docs/gst/tmpl/gstregistry.sgml:
5208 * docs/gst/tmpl/gstregistrypool.sgml:
5209 * docs/gst/tmpl/gstscheduler.sgml:
5210 * docs/gst/tmpl/gstschedulerfactory.sgml:
5211 * docs/gst/tmpl/gststructure.sgml:
5212 * docs/gst/tmpl/gstsystemclock.sgml:
5213 * docs/gst/tmpl/gsttaglist.sgml:
5214 * docs/gst/tmpl/gsttagsetter.sgml:
5215 * docs/gst/tmpl/gsttrace.sgml:
5216 * docs/gst/tmpl/gsttrashstack.sgml:
5217 * docs/gst/tmpl/gsttypefind.sgml:
5218 * docs/gst/tmpl/gsttypefindfactory.sgml:
5219 * docs/gst/tmpl/gsttypes.sgml:
5220 * docs/gst/tmpl/gsturihandler.sgml:
5221 * docs/gst/tmpl/gsturitype.sgml:
5222 * docs/gst/tmpl/gstutils.sgml:
5223 * docs/gst/tmpl/gstvalue.sgml:
5224 * docs/gst/tmpl/gstversion.sgml:
5225 * docs/gst/tmpl/gstxml.sgml:
5226 * docs/libs/tmpl/gstcontrol.sgml:
5227 * docs/libs/tmpl/gstdataprotocol.sgml:
5228 * docs/libs/tmpl/gstdparam.sgml:
5229 * docs/libs/tmpl/gstdplinint.sgml:
5230 * docs/libs/tmpl/gstdpman.sgml:
5231 * docs/libs/tmpl/gstdpsmooth.sgml:
5232 * docs/libs/tmpl/gstgetbits.sgml:
5233 * docs/libs/tmpl/gstunitconvert.sgml:
5234 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5235 (gst_push_src_base_init), (gst_push_src_class_init),
5236 (gst_push_src_init), (gst_push_src_create):
5237 * gst/base/gstpushsrc.h:
5238 * gst/elements/gstelements.c:
5239 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5240 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5241 (gst_fake_sink_init), (gst_fake_sink_set_property),
5242 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5243 (gst_fake_sink_event), (gst_fake_sink_preroll),
5244 (gst_fake_sink_render), (gst_fake_sink_change_state):
5245 * gst/elements/gstfakesink.h:
5246 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5247 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5248 (gst_fake_src_base_init), (gst_fake_src_class_init),
5249 (gst_fake_src_init), (gst_fake_src_event_handler),
5250 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5251 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5252 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5253 (gst_fake_src_create_buffer), (gst_fake_src_create),
5254 (gst_fake_src_start), (gst_fake_src_stop):
5255 * gst/elements/gstfakesrc.h:
5256 * gst/elements/gstfilesink.c: (_do_init),
5257 (gst_file_sink_base_init), (gst_file_sink_class_init),
5258 (gst_file_sink_init), (gst_file_sink_dispose),
5259 (gst_file_sink_set_location), (gst_file_sink_set_property),
5260 (gst_file_sink_get_property), (gst_file_sink_open_file),
5261 (gst_file_sink_close_file), (gst_file_sink_query),
5262 (gst_file_sink_event), (gst_file_sink_render),
5263 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5264 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5265 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5266 * gst/elements/gstfilesink.h:
5267 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5268 (gst_file_src_class_init), (gst_file_src_init),
5269 (gst_file_src_finalize), (gst_file_src_set_location),
5270 (gst_file_src_set_property), (gst_file_src_get_property),
5271 (gst_file_src_map_region), (gst_file_src_map_small_region),
5272 (gst_file_src_create_mmap), (gst_file_src_create_read),
5273 (gst_file_src_create), (gst_file_src_is_seekable),
5274 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5275 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5276 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5277 (gst_file_src_uri_handler_init):
5278 * gst/elements/gstfilesrc.h:
5279 more autistic cleanliness in functions/names/defines
5281 2005-07-13 Andy Wingo <wingo@pobox.com>
5283 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5284 source couldn't negotiate.
5286 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5290 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5291 function. I am channeling Hades. Put your boots on suckers!!!
5293 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5295 * testsuite/caps/Makefile.am:
5296 * testsuite/caps/value_compare.c:
5297 * testsuite/caps/value_intersect.c:
5298 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5299 move two testsuite apps over to the check dir
5301 2005-07-12 Wim Taymans <wim@fluendo.com>
5303 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5304 Added more debug info in the negotiate process.
5307 Prepare for segment playback.
5309 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5315 * tools/gst-launch.c: (main):
5316 NULL pipeline on errors.
5318 2005-07-12 Andy Wingo <wingo@pobox.com>
5320 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5321 not it comes from a malloc region. Make sure our copy gets freed.
5323 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5325 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5326 * check/gst/gstmessage.c: (GST_START_TEST):
5327 * check/gst/gststructure.c: (GST_START_TEST),
5328 (gst_structure_suite), (main):
5330 * gst/gstelement.c: (gst_element_message_full):
5331 clean up GError and debug string now that they get copied
5332 * gst/gstmessage.c: (gst_message_new_error),
5333 (gst_message_new_warning), (gst_message_parse_error),
5334 (gst_message_parse_warning):
5335 use GST_TYPE_G_ERROR for structure_new, and take copies of
5336 arguments, so that we don't mess up refcounting
5338 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5340 * check/Makefile.am:
5341 add per-test valgrind targets
5342 * check/gst-libs/gdp.c: (GST_START_TEST),
5343 (gst_data_protocol_suite), (main):
5346 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5348 * check/Makefile.am:
5349 instate more valgrindable tests
5350 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5351 (GST_START_TEST), (fakesrc_suite):
5352 * check/gst/gstpad.c: (GST_START_TEST):
5353 * check/gst/gststructure.c: (GST_START_TEST):
5355 * docs/gst/tmpl/gstminiobject.sgml:
5356 * gst/gstpad.c: (gst_pad_finalize):
5357 fix the static mutex leak
5359 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5361 * check/Makefile.am:
5362 add two more tests for valgrinding
5363 * check/gst/gstvalue.c: (GST_START_TEST):
5364 test refcount of deserialized buffer, found a leak
5365 * docs/gst/gstreamer-docs.sgml:
5366 * docs/gst/gstreamer-sections.txt:
5367 * docs/gst/gstreamer.types:
5368 * docs/gst/tmpl/gstminiobject.sgml:
5369 add miniobject to docs
5370 * gst/gstminiobject.c:
5372 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5373 (gst_string_unwrap):
5374 fix a hard-to-find invalid write for one of the tests
5375 fix a leak for deserialized buffers
5377 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5379 * docs/pwg/advanced-events.xml:
5380 * docs/pwg/advanced-request.xml:
5381 * docs/pwg/advanced-scheduling.xml:
5382 * docs/pwg/appendix-porting.xml:
5383 * docs/pwg/building-boiler.xml:
5384 * docs/pwg/intro-preface.xml:
5385 * docs/pwg/other-ntoone.xml:
5386 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5387 of example code and explanation for pad activation, loop() and
5388 getrange() functions and a bit more. Remove old comments pointing
5390 * examples/pwg/Makefile.am:
5391 Add loop/getrange examples.
5393 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5396 check for valgrind binary + some fixes
5398 valgrind suppressions for the tests
5399 * check/Makefile.am:
5400 add a valgrind: target that valgrinds the unit tests
5401 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5402 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5403 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5404 * check/gst/gstghostpad.c:
5406 * check/gst/gstdata.c:
5408 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5409 (thread_unref), (gst_mini_object_suite), (main):
5411 * gst/gst.c: (gst_deinit):
5413 add a method to clean up.
5414 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5415 (gst_system_clock_obtain):
5416 allow for disposing the system clock.
5417 * tools/gst-launch.c: (main):
5420 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * docs/gst/tmpl/gstbasesrc.sgml:
5423 * docs/gst/tmpl/gstfakesrc.sgml:
5424 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5425 (gst_base_src_init), (gst_base_src_set_property),
5426 (gst_base_src_get_property), (gst_base_src_get_range),
5427 (gst_base_src_start):
5428 * gst/base/gstbasesrc.h:
5429 add num-buffers property
5430 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5431 (gst_fakesrc_init), (gst_fakesrc_set_property),
5432 (gst_fakesrc_get_property), (gst_fakesrc_create),
5433 (gst_fakesrc_start):
5434 remove num-buffers property
5436 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5438 * docs/gst/gstreamer-sections.txt:
5439 * docs/gst/tmpl/gstbasesink.sgml:
5440 * docs/gst/tmpl/gstbasesrc.sgml:
5441 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5442 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5443 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5444 (gst_base_sink_set_property), (gst_base_sink_get_property),
5445 (gst_base_sink_handle_object), (gst_base_sink_event),
5446 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5447 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5448 (gst_base_sink_loop), (gst_base_sink_deactivate),
5449 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5450 (gst_base_sink_change_state):
5451 * gst/base/gstbasesink.h:
5452 * gst/base/gstbasesrc.h:
5453 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5454 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5455 (gst_filesink_init):
5456 more macro splitting
5458 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5460 * gst/gstelement.c: (gst_element_get_bus):
5462 * tools/gst-launch.c: (check_intr), (event_loop):
5465 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5467 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5470 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5472 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5473 (gst_base_src_finalize):
5474 add finalize method and clean up properly
5475 * gst/gstpipeline.c: (gst_pipeline_dispose):
5478 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5480 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5482 add more things to check
5483 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5487 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5489 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5490 (GST_START_TEST), (fakesrc_suite):
5491 * check/gst-libs/gdp.c: (GST_START_TEST):
5492 * check/gst/gst.c: (GST_START_TEST):
5493 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5494 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5495 * check/gst/gstbus.c: (GST_START_TEST):
5496 * check/gst/gstcaps.c: (GST_START_TEST):
5497 * check/gst/gstdata.c: (GST_START_TEST):
5498 * check/gst/gstelement.c: (GST_START_TEST):
5499 * check/gst/gstghostpad.c: (GST_START_TEST):
5500 * check/gst/gstiterator.c: (GST_START_TEST):
5501 * check/gst/gstmessage.c: (GST_START_TEST):
5502 * check/gst/gstobject.c: (GST_START_TEST):
5503 * check/gst/gstpad.c: (GST_START_TEST):
5504 * check/gst/gststructure.c: (GST_START_TEST):
5505 * check/gst/gstsystemclock.c: (GST_START_TEST),
5506 (gst_systemclock_suite):
5507 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5508 * check/gst/gstvalue.c: (GST_START_TEST):
5509 * check/pipelines/cleanup.c: (GST_START_TEST):
5510 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5511 * check/states/sinks.c: (GST_START_TEST):
5512 * check/gstcheck.c: (gst_check_init):
5514 add debugging category
5515 use GST_START_TEST now, so we add a debug line
5517 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5519 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5520 add test for state change message on a bin
5521 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5523 * gst/gstbin.c: (gst_bin_init):
5524 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5525 * gst/gstelement.c: (gst_element_post_message),
5526 (gst_element_set_state):
5527 * gst/gstelementfactory.c: (gst_element_factory_create):
5528 * gst/gstmessage.c: (gst_message_new):
5529 * gst/gstscheduler.c:
5530 various debugging additions and cleanups
5532 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5534 * check/Makefile.am:
5535 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5537 adding tests for elements
5538 * gst/gstelement.c: (gst_element_dispose):
5540 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5542 * gst/registries/gstlibxmlregistry.c: (load_feature):
5543 plug more leaks. A simple gst_init() now is leakfree, yay.
5545 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5547 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5548 (gst_xml_registry_load):
5549 plug another memleak
5551 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5554 use GST_SET_ERROR_CFLAGS
5556 change to ERROR_CFLAGS
5558 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5561 make GST_ERROR_CFLAGS overridable and re-enable Werror
5563 add a note about error CFLAGS
5564 * docs/gst/tmpl/gstfakesrc.sgml:
5565 * gst/elements/gstfakesrc.c:
5566 comment out some unused code
5567 * gst/gst.c: (split_and_iterate):
5568 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5572 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5574 * common/Makefile.am:
5575 * common/gtk-doc.mak:
5576 * docs/gst/Makefile.am:
5577 factor out gtk-doc.mak
5579 2005-07-07 Wim Taymans <wim@fluendo.com>
5581 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5582 (gst_thread_scheduler_dispose):
5583 Unlock the STREAM_LOCK completely.
5585 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5587 * check/Makefile.am:
5588 * check/elements/.cvsignore:
5589 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5590 (START_TEST), (fakesrc_suite), (main):
5591 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5592 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5593 (gst_fakesrc_create), (gst_fakesrc_start):
5594 * gst/elements/gstfakesrc.h:
5595 adding a first element test
5597 2005-07-07 Andy Wingo <wingo@pobox.com>
5599 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5602 2005-07-07 Wim Taymans <wim@fluendo.com>
5608 2005-07-07 Wim Taymans <wim@fluendo.com>
5610 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5611 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5612 Allow subclasses to implement their own negotiation.
5614 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5616 * docs/design/part-gstbin.txt:
5617 * docs/design/part-gstpipeline.txt:
5618 Update design notes to reflect the movement of
5619 responsibility for bus handling from GstPipeline to
5622 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5625 Remove unnecessary queue2/3/4 examples.
5627 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5629 * examples/Makefile.am:
5630 * examples/helloworld/helloworld.c: (event_loop), (main):
5631 * examples/queue/queue.c: (event_loop), (main):
5632 * examples/queue2/queue2.c: (main):
5633 Update a couple of the examples to work again.
5635 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5636 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5637 Spelling corrections and extra debug.
5639 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5640 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5641 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5643 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5644 (gst_pipeline_change_state):
5645 * gst/gstpipeline.h:
5646 Move the bus handler for children to the GstBin, and create a
5647 separate bus for receiving messages from children to the one the
5648 bus sends 'upwards' on.
5650 2005-07-06 Wim Taymans <wim@fluendo.com>
5653 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5654 (gst_base_sink_handle_object), (gst_base_sink_loop),
5655 (gst_base_sink_change_state):
5656 * gst/base/gstbasesink.h:
5657 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5658 (gst_base_src_init), (gst_base_src_setcaps),
5659 (gst_base_src_getcaps), (gst_base_src_loop),
5660 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5661 (gst_base_src_start), (gst_base_src_change_state):
5662 * gst/base/gstbasesrc.h:
5663 Make basesrc negotiate.
5664 Handle the case where preroll fails in basesink.
5667 2005-07-06 Wim Taymans <wim@fluendo.com>
5669 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5670 Implement the fixate function.
5671 Clean up acceptcaps.
5673 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5675 * docs/pwg/building-filterfactory.xml:
5677 Remove never-written filter-factory chapter; I'll add the various
5678 base classes to part 4 ("other element types") later on.
5680 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5682 * docs/pwg/advanced-negotiation.xml:
5683 * docs/pwg/building-boiler.xml:
5684 * docs/pwg/building-pads.xml:
5686 * examples/pwg/Makefile.am:
5687 Add a chapter on caps negotiation, simplify the original code
5688 samples a bit w.r.t. caps negotiation, add link to the advanced
5689 section. Add a bunch of examples showing different use cases of
5690 different types of caps negotiation. Upstream renegotiation isn't
5691 fully documented yet since nobody knows how that works.
5693 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
5695 * check/gst/gstpad.c:
5697 * gst/gstpad.c: (gst_pad_get_internal_links_default):
5698 if pad has no parent, return NULL as list of internal links
5700 2005-07-05 Andy Wingo <wingo@pobox.com>
5702 * gst/elements/gstfilesrc.c:
5703 * gst/elements/gstfakesrc.c:
5704 * gst/base/gstpushsrc.c:
5705 * gst/base/gstbasesrc.h:
5706 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5708 2005-07-05 Stefan Kost <ensonic@users.sf.net>
5711 better report generation target (lcov needs a patch)
5713 2005-07-05 Andy Wingo <wingo@pobox.com>
5715 * gst/elements, testsuite: Null if we got it...
5717 2005-07-05 Wim Taymans <wim@fluendo.com>
5720 * libs/gst/dataprotocol/Makefile.am:
5721 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5722 * libs/gst/dataprotocol/dataprotocol.h:
5723 * pkgconfig/Makefile.am:
5724 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5725 * pkgconfig/gstreamer-dataprotocol.pc.in:
5726 Ported dataprotol to 0.9.
5727 Added pkgconfig files.
5729 2005-07-05 Andy Wingo <wingo@pobox.com>
5731 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5732 Default to returning TRUE for the case when tranform_caps returns
5733 a fixed caps, like for identity or volume.
5735 * check/gst/gstbus.c (pound_bus_with_messages):
5736 * check/gst/gstmessage.c (START_TEST):
5737 * check/pipelines/simple_launch_lines.c (got_handoff): Application
5740 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5741 logic weaks here: always run transform_caps, trying passthrough
5742 operation only if the original caps intersects with the transform.
5744 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5745 source and sink caps.
5747 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5748 Intersect the peer caps with the pad template before going into
5750 (gst_base_transform_transform_caps): More debugging.
5752 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5755 2005-07-04 Edward Hervey <edward@fluendo.com>
5759 (gst_pad_add_*_probe): now returns the signal id for better wrapping
5762 2005-07-04 Andy Wingo <wingo@pobox.com>
5764 * check/gst/gstpad.c: Only set explicit caps on pads.
5766 2005-07-01 Andy Wingo <wingo@pobox.com>
5768 * tests/network-clock.scm: Commentary update.
5770 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5771 Didn't really make sense, not implementable with basetransform,
5773 (gst_identity_transform): Unref inbuf via make_writable. Feeble
5774 attempt at implementing the sync property, needs an unlock method.
5776 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5777 New func, by default returns the same caps (the identity
5779 (gst_base_transform_getcaps): Uses transform_caps to return
5781 (gst_base_transform_setcaps): Complicated logic to get caps on
5782 both pads, even if they are different, and to call set_caps once
5783 for every time both pads get their caps set.
5784 (gst_base_transform_handle_buffer): Give the ref to the transform
5785 function. Allows in-place modification of the buffer.
5787 * gst/base/gstbasetransform.h (transform_caps): New class method.
5788 Given caps on one side, what can I do on the other.
5789 (set_caps): Take two caps, one for each side of the element.
5792 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5793 caps in place. This is safe because we can check the mutability of
5794 the caps, and a good idea because fixate functions are just called
5795 as a matter of last resort. (Not actually implemented.)
5796 (gst_pad_set_caps): If the caps we're setting is actually the same
5797 as the existing pad caps, just update the pointer without calling
5798 setcaps. Assert that caps is either NULL or fixed, as per the
5801 * gst/gstghostpad.c: Update for fixate changes.
5803 2005-07-02 Andy Wingo <wingo@pobox.com>
5806 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5807 two refcounts makes it immutable, which is enough. Doc more.
5809 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
5811 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5812 Put the mini_object into GValue as a mini_object,
5813 not a gpointer, since that's how we declared
5816 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5818 * examples/pwg/Makefile.am:
5821 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5823 * docs/pwg/building-testapp.xml:
5825 * examples/pwg/Makefile.am:
5828 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5831 * examples/Makefile.am:
5832 * examples/pwg/Makefile.am:
5833 * examples/pwg/extract.pl:
5834 Enable building the PWG examples.
5835 * docs/pwg/advanced-interfaces.xml:
5836 Add URI interface stub.
5837 * docs/pwg/advanced-types.xml:
5838 * docs/pwg/other-autoplugger.xml:
5839 * docs/pwg/appendix-porting.xml:
5841 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5842 * docs/pwg/building-boiler.xml:
5843 * docs/pwg/building-chainfn.xml:
5844 * docs/pwg/building-pads.xml:
5845 * docs/pwg/building-props.xml:
5846 * docs/pwg/building-state.xml:
5847 * docs/pwg/building-testapp.xml:
5848 Update the building-*.xml parts for 0.9 changes. All examples
5849 code blocks compile in examples/pwg/*.
5851 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5853 * docs/manual/advanced-autoplugging.xml:
5854 * docs/manual/appendix-checklist.xml:
5855 * docs/manual/appendix-integration.xml:
5856 * docs/manual/highlevel-components.xml:
5857 Fix playbin/decodebin examples, update docs a bit, mention bus
5858 instead of signals in various places, mention kmplayer and
5859 kaffeine since they have a working GStreamer backend in the KDE
5862 2005-06-30 Wim Taymans <wim@fluendo.com>
5865 * docs/design/draft-ghostpads.txt:
5866 * docs/design/draft-push-pull.txt:
5867 * docs/design/draft-query.txt:
5868 * docs/design/part-TODO.txt:
5869 * docs/design/part-query.txt:
5870 Added CHANGES-0.9 doc, updated status of other docs.
5875 2005-06-30 Wim Taymans <wim@fluendo.com>
5877 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5878 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5879 (gst_base_sink_change_state):
5880 * gst/base/gstbasesink.h:
5881 Some tweaks, only EOS and a buffer complete a preroll.
5883 2005-06-30 Andy Wingo <wingo@pobox.com>
5885 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5886 activate_push down to the internal pad as well.
5888 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5890 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5892 * gst/gsttaginterface.c:
5893 Some documentation fixes (#307394 and #307397).
5895 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5897 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5899 * gst/gstvalue.c: (gst_value_intersect_list):
5900 Fix memleak (#309125).
5902 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5904 * docs/manual/advanced-dataaccess.xml:
5905 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5906 * docs/manual/basics-pads.xml:
5907 Add reference for filtered caps to above chapter.
5909 2005-06-30 Wim Taymans <wim@fluendo.com>
5911 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5912 (gst_bin_change_state):
5914 Lame attempt at making the state change function a bit
5917 2005-06-30 Wim Taymans <wim@fluendo.com>
5919 * docs/design/part-clocks.txt:
5920 * docs/design/part-element-sink.txt:
5921 * docs/design/part-events.txt:
5922 * docs/design/part-preroll.txt:
5923 * docs/design/part-states.txt:
5924 Some more tweeks and additions to the docs.
5926 2005-06-30 Wim Taymans <wim@fluendo.com>
5928 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5929 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5930 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5931 (gst_pad_check_pull_range), (gst_pad_get_range),
5932 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5934 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5935 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5936 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5937 (gst_pad_remove_buffer_probe):
5938 Removed atomic operations, use existing LOCK.
5939 Move exception handling out of main code path.
5941 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5943 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5944 (silly_return_true_function), (gst_pad_class_init),
5945 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5946 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5947 (gst_pad_send_event):
5948 Fix accumulator, add default value by using _emitv() instead
5949 of _emit() for signal emission.
5951 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5953 * docs/manual/advanced-dataaccess.xml:
5954 * examples/manual/Makefile.am:
5956 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5959 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5961 * gst/elements/gstfilesink.c: (gst_filesink_render):
5962 Simplify code so that we don't have to handle short
5963 writes and return GST_FLOW_ERROR if an error occured.
5965 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5967 * docs/gst/gstreamer-docs.sgml:
5970 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5972 * docs/gst/gstreamer-sections.txt:
5973 * docs/gst/tmpl/gstpad.sgml:
5974 * docs/gst/tmpl/gstprobe.sgml:
5976 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5977 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5978 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5979 (gst_pad_push_event), (gst_pad_send_event):
5981 * gst/gstutils.c: (gst_pad_add_data_probe),
5982 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5983 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5984 (gst_pad_remove_buffer_probe):
5986 Remove old probes, add new g-signal-based probes and some utility
5989 2005-06-29 Edward Hervey <edward@fluendo.com>
5991 * gst/gstelementfactory.c:
5994 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
5995 the definition to the header file.
5997 2005-06-29 Andy Wingo <wingo@pobox.com>
5999 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6000 plugins from the source directory.
6002 2005-06-29 Wim Taymans <wim@fluendo.com>
6004 * docs/gst/tmpl/gstbuffer.sgml:
6005 * docs/gst/tmpl/gstclock.sgml:
6006 Some fixings for blantently wrong text.
6008 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6010 * check/Makefile.am:
6011 * gst/gst.c: (add_path_func), (init_pre):
6012 * gst/gstregistry.c: (gst_registry_add_path):
6013 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6014 only scan the GST_PLUGIN_PATH locations, and not add
6017 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6019 * docs/gst/gstreamer-sections.txt:
6020 * docs/gst/tmpl/gstbasesrc.sgml:
6027 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6029 * docs/manual/advanced-autoplugging.xml:
6030 Fix autoplugging example.
6032 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6034 * docs/manual/advanced-autoplugging.xml:
6035 * docs/manual/mime-world.fig:
6036 Try to get autoplugging working, fix type detection. Fix text
6037 in hello-world image.
6039 2005-06-29 Wim Taymans <wim@fluendo.com>
6041 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6042 (gst_base_sink_change_state):
6046 map SIGNAL and BROADCAST to the right function.
6049 Remove redundant braces.
6051 * gst/gstpad.c: (gst_pad_set_caps):
6052 Don't call setcaps function when reseting caps to NULL.
6054 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6055 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6056 (gst_system_clock_id_unschedule):
6057 Use BROADCAST as this is what we do.
6059 2005-06-29 Wim Taymans <wim@fluendo.com>
6061 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6062 We are actually prerolling before commiting the state
6065 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6067 * docs/manual/advanced-clocks.xml:
6068 * docs/manual/advanced-interfaces.xml:
6069 * docs/manual/advanced-metadata.xml:
6070 * docs/manual/advanced-position.xml:
6071 * docs/manual/advanced-schedulers.xml:
6072 * docs/manual/advanced-threads.xml:
6073 * docs/manual/appendix-porting.xml:
6074 * docs/manual/basics-bins.xml:
6075 * docs/manual/basics-bus.xml:
6076 * docs/manual/basics-elements.xml:
6077 * docs/manual/basics-helloworld.xml:
6078 * docs/manual/basics-pads.xml:
6079 * docs/manual/highlevel-components.xml:
6080 * docs/manual/manual.xml:
6081 * docs/manual/thread.fig:
6082 Update (until threads/scheduling) Application Development Manual;
6083 remove GstThread, add GstBus, add simple porting checklist, add
6084 documentation for tag writing, clocks, make all examples until this
6085 part compile and run.
6086 * examples/manual/Makefile.am:
6087 Update from changes to Application Development Manual; add bus
6088 example, remove thread example.
6090 2005-06-28 Wim Taymans <wim@fluendo.com>
6092 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6093 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6094 (gst_bus_source_dispatch):
6095 Add debugging messages.
6096 Make internal methods static.
6097 Handle the case where the bus is flushed in the handler.
6099 * gst/gstelement.c: (gst_element_get_bus):
6100 Fix refcount in _get_bus();
6102 * gst/gstpipeline.c: (gst_pipeline_change_state),
6103 (gst_pipeline_get_clock_func):
6104 Clock refcounting fixes.
6105 Handle the case where preroll timed out more gracefully.
6107 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6108 Clean up the internal thread in dispose. This is needed
6109 for subclasses that actually get disposed.
6111 * gst/schedulers/threadscheduler.c:
6112 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6113 (gst_thread_scheduler_dispose):
6114 Free thread pool in dispose.
6116 2005-06-28 Andy Wingo <wingo@pobox.com>
6118 * tests/network-clock-utils.scm (debug, print-event): New utils.
6120 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6121 (*packet-loss*): Unified loss probability.
6122 (network-time): Report out-of-band events.
6124 * tests/plot-data: Add support for out-of-band events. Hack it
6125 into this script instead of passing it down the pipe; should fix
6128 2005-06-28 Wim Taymans <wim@fluendo.com>
6130 * docs/gst/gstreamer.types:
6131 * docs/gst/tmpl/gstbasesrc.sgml:
6132 * docs/gst/tmpl/gstpad.sgml:
6135 2005-06-28 Wim Taymans <wim@fluendo.com>
6137 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6138 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6139 (gst_proxy_pad_do_fixatecaps):
6140 Correctly proxy the check_pull_range function.
6142 2005-06-28 Andy Wingo <wingo@pobox.com>
6144 * tests/network-clock.scm: Removed need for slib.
6146 2005-06-28 Wim Taymans <wim@fluendo.com>
6148 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6149 (gst_basesink_preroll_queue_flush):
6150 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6151 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6152 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6153 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6154 (gst_proxy_pad_set_property):
6157 * gst/gstqueue.c: (gst_queue_init):
6158 The deprecated pad loop function is removed now.
6160 2005-06-28 Andy Wingo <wingo@pobox.com>
6162 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6163 New parameters, simulate network packet loss.
6165 * tests/network-clock-utils.scm: Initialize the RNG.
6167 2005-06-28 Wim Taymans <wim@fluendo.com>
6169 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6170 (gst_basesink_event), (gst_basesink_deactivate):
6171 Flushing the preroll queue always needs to unlock the waiters.
6173 2005-06-28 Edward Hervey <edward@fluendo.com>
6175 * gst/gstpipeline.c: (gst_pipeline_send_event):
6176 Wheen a seek was successful on a pipeline, set the stream_time to the
6177 seek offset in order to have a synchronized stream_time.
6179 2005-06-28 Wim Taymans <wim@fluendo.com>
6181 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6182 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6183 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6184 (gst_proxy_pad_do_fixatecaps):
6185 Call wrapper function instead of just calling the function
6186 pointers. This takes care of any locking and whatmore.
6188 2005-06-28 Wim Taymans <wim@fluendo.com>
6190 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6191 (gst_pad_pull_range):
6193 CONNECTED -> LINKED.
6195 2005-06-28 Andy Wingo <wingo@pobox.com>
6197 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6198 source-munging commit!!!
6200 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6201 (gst_object_sink): Take gpointer arguments, not GstObject --
6202 avoids casts. Like GLib.
6204 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6207 2005-06-27 Andy Wingo <wingo@pobox.com>
6209 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6212 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6213 returns a sorted copy of the trace list.
6214 (gst_alloc_trace_print_live): New API, only prints traces with
6215 live objects. Sort the list.
6216 (gst_alloc_trace_print_all): Sort the list.
6217 (gst_alloc_trace_print): Align columns.
6219 * gst/elements/gstttypefindelement.c:
6220 * gst/elements/gsttee.c:
6221 * gst/base/gstbasesrc.c:
6222 * gst/base/gstbasesink.c:
6223 * gst/base/gstbasetransform.c:
6224 * gst/gstqueue.c: Adapt for pad activation changes.
6226 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6228 (gst_pipeline_dispose): Drop ref on sched.
6230 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6231 (gst_pad_activate_default): Push mode by default.
6232 (pre_activate_switch, post_activate_switch): New stubs, things to
6233 do before and after switching activation modes on pads.
6234 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6235 the pad's activate function to choose which mode to activate.
6236 Shortcut on deactivation and call the right function directly.
6237 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6239 (gst_pad_activate_push): New API, same for push mode.
6240 (gst_pad_set_activate_function)
6241 (gst_pad_set_activatepull_function)
6242 (gst_pad_set_activatepush_function): Setters for new API.
6244 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6245 Trace all miniobjects.
6246 (gst_mini_object_make_writable): Unref the arg if we copy, like
6247 gst_caps_make_writable.
6249 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6251 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6252 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6253 Adapt for new pad API.
6255 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6258 * gst/gstelement.c (gst_element_iterate_src_pads)
6259 (gst_element_iterate_sink_pads): New API functions.
6261 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6262 should fold into gstiterator.c in some form.
6263 (gst_element_pads_activate): Simplified via use of fold and
6264 delegation of decisions to gstpad->activate.
6266 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6269 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6270 class once in init, like gstmessage. Didn't run into this issue
6271 but it seems correct. Don't initialize a trace, gstminiobject does
6274 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6275 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6277 (assert_live_count): New util function, uses alloc traces to check
6280 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6281 To be modified when unlink drops the internal pad.
6283 2005-06-27 Wim Taymans <wim@fluendo.com>
6285 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6286 (gst_bin_change_state):
6287 Cleanup the get_state() function a little, make sure it
6288 iterates the same set of elements.
6289 Added stub iterate_state_order().
6291 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6293 * docs/gst/gstreamer-docs.sgml:
6294 * docs/gst/gstreamer-sections.txt:
6295 * docs/gst/gstreamer.types:
6296 * docs/gst/tmpl/gstbasesink.sgml:
6297 * docs/gst/tmpl/gstbasesrc.sgml:
6298 * docs/gst/tmpl/gstbasetransform.sgml:
6299 * docs/gst/tmpl/gstelement.sgml:
6300 * docs/gst/tmpl/gstiterator.sgml:
6301 * gst/base/gstbasesrc.c:
6302 * gst/base/gstbasesrc.h:
6303 * gst/base/gstbasetransform.h:
6305 * gst/gstiterator.h:
6306 adding basetransform and iterator docs
6308 2005-06-27 Andy Wingo <wingo@pobox.com>
6310 * docs/design/part-activation.txt: Notes on how activation should
6311 work -- not quite implemented yet.
6313 2005-06-25 Wim Taymans <wim@fluendo.com>
6315 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6316 At least get the chain function correct, needs more
6319 2005-06-25 Wim Taymans <wim@fluendo.com>
6321 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6322 (gst_basesink_handle_object), (gst_basesink_event),
6323 (gst_basesink_do_sync), (gst_basesink_handle_event),
6324 (gst_basesink_change_state):
6326 Right, two problems here: ghostpads don't take locks and
6327 glib _rec_mutex_lock_full() with depth==0 still locks.
6328 Catch illegal locking and g_warn them.
6330 2005-06-25 Wim Taymans <wim@fluendo.com>
6332 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6333 Have to check for completion now...
6335 2005-06-25 Wim Taymans <wim@fluendo.com>
6337 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6338 (gst_basesink_handle_object), (gst_basesink_event),
6339 (gst_basesink_do_sync), (gst_basesink_handle_event),
6340 (gst_basesink_change_state):
6342 Unlock STREAM_LOCK whatever the recursion was.
6344 2005-06-25 Wim Taymans <wim@fluendo.com>
6346 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6347 (gst_basesink_preroll_queue_empty),
6348 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6349 (gst_basesink_event), (gst_basesink_do_sync),
6350 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6351 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6352 (gst_basesink_change_state):
6353 Reworked the base sink, handle event and buffer serialisation
6354 correctly and removed possible deadlock.
6355 Handle EOS correctly.
6357 2005-06-25 Wim Taymans <wim@fluendo.com>
6359 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6360 (gst_pipeline_change_state):
6361 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6362 Allow elements to post EOS in the state change function.
6363 Fix up -launch, make it exit the poll loop when the
6364 pipeline actually changed state.
6365 Fix up warning parsing in -launch.
6367 2005-06-25 Wim Taymans <wim@fluendo.com>
6369 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6370 (gst_tee_sink_activate):
6371 Core takes STREAM_LOCK for us now.
6373 2005-06-25 Wim Taymans <wim@fluendo.com>
6375 * gst/gstelement.c: (gst_element_get_state_func),
6376 (gst_element_set_state):
6378 * gst/gstmessage.c: (gst_message_parse_error),
6379 (gst_message_parse_warning):
6380 Keep track of current target state while performing a state
6381 change so that subclasses can do something interesting.
6382 Fix parsing of warning/error messages when GError is NULL.
6384 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6386 * docs/gst/Makefile.am:
6387 * docs/gst/gstreamer-docs.sgml:
6388 * docs/gst/gstreamer-sections.txt:
6389 * docs/gst/gstreamer.types:
6390 * docs/gst/tmpl/gstbasesink.sgml:
6391 * docs/gst/tmpl/gstbasesrc.sgml:
6392 * docs/gst/tmpl/gstbin.sgml:
6393 * docs/gst/tmpl/gstcompat.sgml:
6394 * docs/gst/tmpl/gstfakesink.sgml:
6395 * docs/gst/tmpl/gstfakesrc.sgml:
6396 * docs/gst/tmpl/gstfilesink.sgml:
6397 * docs/gst/tmpl/gstfilesrc.sgml:
6398 * docs/gst/tmpl/gstindex.sgml:
6399 * docs/manual/appendix-quotes.xml:
6400 * gst/base/gstbasesrc.h:
6401 * gst/elements/gstfakesrc.h:
6403 start pulling in base classes and elements in our docs
6405 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6407 * docs/gst/Makefile.am:
6408 * docs/libs/Makefile.am:
6409 fixed make distcheck with gtk-doc 1.3
6411 2005-06-23 Wim Taymans <wim@fluendo.com>
6413 * gst/gstelement.c: (gst_element_get_state_func),
6414 (gst_element_set_state), (gst_element_change_state):
6415 When the state did not change, also report NO_PREROLL
6418 2005-06-23 Wim Taymans <wim@fluendo.com>
6420 * gst/gstpad.c: (gst_pad_event_default):
6421 * gst/gstqueue.c: (gst_queue_loop):
6422 No unsafe task pausing please.
6424 2005-06-23 Wim Taymans <wim@fluendo.com>
6426 * gst/schedulers/threadscheduler.c:
6427 (gst_thread_scheduler_task_start),
6428 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6429 Ref the task before pushing it on the threadpool. This
6430 makes sure that we have a ref when the threadfunction is
6433 2005-06-23 Andy Wingo <wingo@pobox.com>
6435 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6436 offset is greater than the file's size.
6438 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6439 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6440 * gst/gstobject.c (gst_object_class_init): Make the class lock
6441 recursive. Wim won't let me drop deep_notify. Decodebin works
6444 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6445 internal pad, and hacks accordingly. Doesn't do it on the target
6446 pad because we change its caps. Probably catches all cases of
6448 (gst_ghost_pad_set_property): Connect to notify::caps as
6451 * tests/network-clock.scm (plot-simulation): Pipe data to the
6452 elite python skript.
6454 * tests/network-clock-utils.scm (define-parameter): New macro,
6455 defines a parameter that can be set via the command line.
6456 (set-parameter!, parse-parameter-arguments): Command line args
6459 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6462 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6464 * gst/elements/gsttypefindelement.c:
6465 (gst_type_find_element_handle_event):
6466 Don't restart typefinding on a discont.
6467 * gst/gstelement.c: (gst_element_set_state):
6469 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6470 Allow changing mode of an active pad.
6472 * gst/registries/gstlibxmlregistry.c: (load_feature):
6473 Don't cast a static pad template to a normal pad template.
6475 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6477 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6478 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6479 remove gst_strtoll completely, since it didn't actually do
6480 anything more than what g_ascii_strtoull already does.
6481 check for range errors when deserializing
6482 do a cast for the unsigned cases; but further fixing needs
6483 a decision on what the interpretation of "(int)" and
6484 deserialization should be for values that fall outside the
6485 type's boundaries (ie, refuse, or interpret as casting)
6487 2005-06-23 Wim Taymans <wim@fluendo.com>
6489 * check/Makefile.am:
6490 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6491 * docs/design/part-live-source.txt:
6492 * docs/design/part-states.txt:
6493 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6494 (gst_basesrc_set_live), (gst_basesrc_is_live),
6495 (gst_basesrc_get_range), (gst_basesrc_activate),
6496 (gst_basesrc_change_state):
6497 * gst/base/gstbasesrc.h:
6498 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6499 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6500 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6501 * gst/gstelement.c: (gst_element_get_state_func),
6502 (gst_element_set_state):
6505 * tools/gst-launch.c: (event_loop), (main):
6506 Added support for live sources and other elements that
6508 Updated design docs, added live-source design doc.
6509 Implemented live source functionality in basesrc
6510 Fix error condition in _bin_get_state()
6511 Implement live source handling in -launch.
6512 Added check for live sources.
6513 Fixed case in GstBin where elements were changed state
6517 2005-06-23 Andy Wingo <wingo@pobox.com>
6519 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6522 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6523 gst_caps_replace takes care of this for us.
6525 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6526 gst_pad_set_caps on the target, not just its setcaps() function.
6528 * tests/network-clock.scm:
6529 * tests/network-clock-utils.scm: A network clock simulator.
6530 Something of an algorithmic testbed before doing something in C.
6532 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6534 * check/Makefile.am:
6535 * check/gst/capslist.h:
6536 copy over from 0.8, and add two with bitmasks specified with
6538 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6539 add test to parse everything from capslist.h
6540 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6542 add test for structure deserialization
6543 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6544 add tests for deserialization of strings to int types
6545 * gst/gststructure.c: (gst_structure_nth_field_name):
6546 * gst/gststructure.h:
6547 add a way to get the name of a field referenced by index
6548 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6549 instead of checking if the resulting long long lies between
6550 min and max, we check if the long long would fit into
6551 a number of bytes for the final type.
6552 This fixes cases where a string represents 2^32 - 1, which
6553 when cast to int would be the (valid) -1, but is bigger than
6556 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6558 * gst/parse/grammar.y:
6559 add a log line for type deserialization
6561 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6563 * check/gst/gstvalue.c: (START_TEST):
6564 * gst/gstvalue.c: (gst_value_deserialize):
6565 return long long, not int, so gint64 deserialization actually
6566 works. Is there any flag that makes the compiler check this ?
6569 2005-06-22 Wim Taymans <wim@fluendo.com>
6572 Added convenience macros for setting buffers in GValue.
6574 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6576 * check/gst/.cvsignore:
6577 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6578 add a test deserializing int64, and comment part out because
6581 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * check/Makefile.am:
6584 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6585 * testsuite/Makefile.am:
6586 * testsuite/caps/Makefile.am:
6587 * testsuite/caps/value_serialize.c:
6588 * testsuite/test_gst_init.c:
6589 move a value_serialize test over
6591 2005-06-20 Wim Taymans <wim@fluendo.com>
6596 * gst/gstvalue.c: (gst_value_compare_buffer),
6597 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6598 (gst_value_compare_flags), (gst_value_serialize_flags),
6599 (gst_value_deserialize_flags), (_gst_value_initialize):
6600 Fix serialisation of buffers, they are not boxed types anymore
6602 2005-06-20 Wim Taymans <wim@fluendo.com>
6604 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6605 Testcase to show error in buffer-on-caps serialisation.
6607 2005-06-20 Andy Wingo <wingo@pobox.com>
6609 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6610 will be adding to later.
6612 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6613 if its socks fill with rocks.
6614 (gst_system_clock_obtain): Set the name on object construction.
6615 Avoid double-checked locking.
6617 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
6619 * gst/gsturi.c: (gst_element_make_from_uri):
6620 Fix potential endless loop.
6622 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6624 * check/Makefile.am:
6626 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6628 move over from testsuite dir and clean up
6631 * testsuite/Makefile.am:
6632 * testsuite/tags/.cvsignore:
6633 * testsuite/tags/Makefile.am:
6634 * testsuite/tags/merge.c:
6635 remove testsuite/tags
6637 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6639 * docs/gst/gstreamer-sections.txt:
6640 * docs/gst/tmpl/gstenumtypes.sgml:
6641 * win32/gstenumtypes.c:
6642 clean up documentation build a little
6644 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6647 add macros for checking refcounts on objects and caps
6648 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6649 add some more unit tests
6650 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6651 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6652 fix leaked refcounts (I hope :)) so unittest works
6656 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6658 * configure.ac: back to HEAD
6660 === release 0.9.1 ===
6662 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6668 2005-06-17 Andy Wingo <wingo@pobox.com>
6670 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6671 assert; it's always possible that the pad gets deactivated in
6672 between the checks in gstpad.c and the implementation. Rely on
6673 finish_preroll() to return a FLUSHING or similar instead of on the
6676 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6677 clock and post an EOS message if we come out of finish_preroll in
6680 2005-06-16 David Schleef <ds@schleef.org>
6682 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6683 (gst_capsfilter_set_property): Allow NULL as possible value
6684 for filter_caps property, indicating GST_CAPS_ANY.
6686 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6688 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6690 * gst/schedulers/Makefile.am:
6692 * gstreamer.spec.in:
6695 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6697 * gstreamer.spec.in:
6700 2005-06-08 Andy Wingo <wingo@pobox.com>
6702 * gst/gstutils.c: RPAD fixes all around.
6703 (gst_element_link_pads): Refcounting fixes.
6705 * tools/gst-inspect.c:
6706 * tools/gst-xmlinspect.c:
6708 * gst/base/gsttypefindhelper.c:
6709 * gst/base/gstbasesink.c:
6710 * gst/gstqueue.c: RPAD fixes.
6712 * gst/gstghostpad.h:
6713 * gst/gstghostpad.c: New ghost pad implementation as full proxy
6714 pads. The tricky thing is they provide both source and sink
6715 interfaces, since they proxy the internal pad for the external
6716 pad, and vice versa. Implement with lower-level ProxyPad objects,
6717 with the interior proxy pad as a child of the exterior ghost pad.
6718 Should write a doc on this.
6720 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6721 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6724 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6725 pads are real pads. No ghost pads in this file. Not documenting
6726 the myriad s/RPAD/PAD/ and REALIZE fixes.
6727 (gst_pad_class_init): Add properties for "direction" and
6728 "template". Both are construct-only, so they can't change during
6729 the life of the pad. Fixes properly deriving from GstPad.
6730 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6731 derived objects, just set properties when creating the objects via
6733 (gst_pad_get_parent): Implement as a function, return NULL if the
6734 parent is not an element.
6735 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6736 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6738 * gst/gstobject.c (gst_object_class_init): Make name a construct
6739 property. Don't set it in the object init.
6741 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6742 with UNKNOWN direction.
6743 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6744 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6745 (gst_element_remove_pad): Remove ghost-pad special cases.
6746 (gst_element_pads_activate): Remove rpad cruft.
6748 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6749 catch the pad's-parent-not-an-element case.
6751 * gst/gst.h: Include gstghostpad.h.
6753 * gst/gst.c (init_post): No more real, ghost pads.
6755 * gst/Makefile.am: Add gstghostpad.[ch].
6757 * check/Makefile.am:
6758 * check/gst/gstbin.c:
6759 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6760 into a bin creates ghost pads, and that the refcounts are right.
6761 Partly moved from gstbin.c.
6763 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6765 * check/gst-libs/.cvsignore:
6766 * check/gst/.cvsignore:
6767 * check/pipelines/.cvsignore:
6769 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6770 (START_TEST), (cleanup_suite), (main):
6771 add some tests related to cleanup after running pipelines
6773 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6775 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6776 add a testsuite for GstBuffer
6778 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6780 * gst/gstminiobject.h:
6781 add defines for accessing the refcount
6783 2005-06-03 Stefan Kost <ensonic@users.sf.net>
6785 * Makefile.am: added support for html unit test coverage reports
6787 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
6789 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6790 Free existing caps if the capsfilter changes. Add a FIXME about
6791 setting those caps on the pads.
6793 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6794 Before adding a ghost pad to a parent bin, check that there isn't
6795 already one for the element on the bin. Prevents infinite recursion
6796 when using decodebin in parse pipelines. Andy says he'll rewrite the
6797 way this works anyway, so ignore the hack.
6799 2005-06-02 Andy Wingo <wingo@pobox.com>
6801 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6802 file size, pass it on to the type find helper.
6804 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6805 segment_start and segment_end properly according to the seek
6806 method. Segment_end is still a bit flaky because offset can be
6807 negative for CUR and END cases, but it takes -1 as an "unset"
6810 2005-06-02 Wim Taymans <wim@fluendo.com>
6812 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6813 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6814 (gst_basesink_activate):
6815 * gst/base/gstbasesink.h:
6816 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6817 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6818 (gst_pad_query), (gst_pad_start_task):
6820 * gst/gstqueue.c: (gst_queue_bufferalloc),
6821 (gst_queue_handle_sink_event), (gst_queue_chain):
6822 Bufferalloc: return GstFlowReturn to more accuratly report
6823 why allocation failed.
6825 2005-06-02 Wim Taymans <wim@fluendo.com>
6827 * gst/gstpipeline.c: (gst_pipeline_send_event):
6828 Take snapshot of state without blocking.
6830 2005-06-02 Wim Taymans <wim@fluendo.com>
6832 * docs/design/part-TODO.txt:
6833 * docs/design/part-caps.txt:
6834 * docs/design/part-clocks.txt:
6835 * docs/design/part-negotiation.txt:
6836 * docs/design/part-preroll.txt:
6839 2005-05-30 Wim Taymans <wim@fluendo.com>
6841 * gst/elements/gstidentity.c: (gst_identity_event),
6842 (gst_identity_transform), (gst_identity_get_property):
6843 Protect last_message property as it is accessed from
6846 2005-05-30 Wim Taymans <wim@fluendo.com>
6848 * gst/gstelement.c: (gst_element_init),
6849 (gst_element_pads_activate), (gst_element_change_state):
6850 Slicker pad activation code.
6852 2005-05-30 Wim Taymans <wim@fluendo.com>
6856 * gst/gstelementfactory.h:
6858 Move elementfactory methods to separate .h file.
6860 2005-05-30 Wim Taymans <wim@fluendo.com>
6862 * docs/design/part-overview.txt:
6863 * gst/gstsystemclock.h:
6864 Small typo fixes, doc updates.
6866 2005-05-30 Wim Taymans <wim@fluendo.com>
6868 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6869 (init_popt_callback):
6870 Remove cpu-opt flag.
6872 2005-05-30 Wim Taymans <wim@fluendo.com>
6874 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6875 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6877 Avoid typechecking in places where not needed.
6878 Added accessor for malloc_data.
6880 2005-05-30 Wim Taymans <wim@fluendo.com>
6882 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6883 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6884 (gst_pad_configure_sink), (gst_pad_configure_src),
6885 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6886 (gst_pad_start_task):
6887 Propagate errors from _set_caps() in configure_src/sink
6888 functions instead of returning TRUE.
6889 FLUSH events can travel up and downstream
6892 2005-05-30 Wim Taymans <wim@fluendo.com>
6894 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6895 (gst_basesink_activate):
6896 Handle EOS in preroll.
6898 2005-05-30 Wim Taymans <wim@fluendo.com>
6900 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6901 (gst_queue_loop), (gst_queue_handle_src_event):
6902 Remove old pieces of code
6903 Flushing the queue in an upstream event is a very bad idea.
6905 2005-05-26 Andy Wingo <wingo@pobox.com>
6907 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6908 gst_value_set_mini_object so as to add a ref on the object (which
6909 will be removed when the value is unset).
6911 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6912 arg type in ::handoff.
6914 * gst/gstelement.c (gst_element_change_state): Also deactivate
6915 pads in READY->NULL, just in case the element didn't make it to
6916 PAUSED. Wingo tested, Wim approved.
6918 2005-05-26 Wim Taymans <wim@fluendo.com>
6920 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6921 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6922 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6923 A flushing pad cannot be used to alloc_buffer from.
6925 2005-05-26 Wim Taymans <wim@fluendo.com>
6927 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6928 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6929 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6930 (gst_bus_create_watch), (gst_bus_add_watch_full):
6932 Implement a real GSource and use g_main_context_wakeup() to
6933 signal new messages instead of the socketpair.
6935 2005-05-25 Wim Taymans <wim@fluendo.com>
6937 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6938 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6939 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6940 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6941 (gst_pad_send_event), (gst_pad_start_task):
6942 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6943 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6944 (gst_queue_sink_activate), (gst_queue_src_activate),
6945 (gst_queue_change_state):
6947 Fix state changes for non sinks. We now change sinks, then elements
6948 with unconnected srcpads, then the rest.
6949 More efficient queue unlocking in flush and state changes.
6950 Set the pad activate mode even if it does not have an activate
6953 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6955 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6956 Don't go in pull mode for non-seekable sources.
6957 * gst/elements/gsttypefindelement.h:
6958 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6959 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6960 (free_entry), (stop_typefinding),
6961 (gst_type_find_element_handle_event), (find_peek),
6962 (gst_type_find_element_chain), (do_pull_typefind),
6963 (gst_type_find_element_change_state):
6964 Allow typefinding (w/o seeking) in push-mode, simplified version
6966 * gst/gstutils.c: (gst_buffer_join):
6968 gst_buffer_join() from 0.8.
6970 2005-05-25 Wim Taymans <wim@fluendo.com>
6972 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6973 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6974 (gst_pad_send_event), (gst_pad_start_task):
6975 Disable attempt at mode switching until it is figured out.
6977 2005-05-25 Wim Taymans <wim@fluendo.com>
6979 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6980 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6981 (gst_basesink_finish_preroll), (gst_basesink_chain),
6982 (gst_basesink_loop), (gst_basesink_activate),
6983 (gst_basesink_change_state):
6984 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6985 (gst_basesrc_get_range), (gst_basesrc_loop),
6986 (gst_basesrc_activate):
6987 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6988 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6989 (gst_real_pad_init), (gst_real_pad_set_property),
6990 (gst_real_pad_get_property), (gst_pad_set_active),
6991 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
6992 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
6993 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
6994 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
6995 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6996 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
6997 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
6998 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6999 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7000 (gst_pad_stop_task):
7002 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7003 (gst_queue_loop), (gst_queue_src_activate):
7004 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7005 (gst_task_get_state):
7007 * gst/schedulers/threadscheduler.c:
7008 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7009 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7011 Remove ACTIVE pad flag, use FLUSHING everywhere
7012 Added _pad_chain(), _pad_get_range() to call chain/getrange
7014 Add locks around IS_FLUSHING when reading.
7015 Take STREAM lock in chain(), get_range() functions so plugins
7016 don't need to take it anymore.
7020 2005-05-25 Wim Taymans <wim@fluendo.com>
7022 * tools/gst-launch.c: (event_loop):
7023 Unref message after using its contents instead of
7026 2005-05-24 Wim Taymans <wim@fluendo.com>
7028 * docs/design/draft-ghostpads.txt:
7029 * docs/design/draft-push-pull.txt:
7030 * docs/design/draft-query.txt:
7031 * docs/design/part-overview.txt:
7032 Docs updates, added general overview doc.
7034 2005-05-21 David Schleef <ds@schleef.org>
7036 * docs/gst/tmpl/old/GstBin.sgml:
7037 * docs/gst/tmpl/old/GstBuffer.sgml:
7038 * docs/gst/tmpl/old/GstCaps.sgml:
7039 * docs/gst/tmpl/old/GstClock.sgml:
7040 * docs/gst/tmpl/old/GstCompat.sgml:
7041 * docs/gst/tmpl/old/GstData.sgml:
7042 * docs/gst/tmpl/old/GstElement.sgml:
7043 * docs/gst/tmpl/old/GstEvent.sgml:
7044 * docs/gst/tmpl/old/GstIndex.sgml:
7045 * docs/gst/tmpl/old/GstStructure.sgml:
7046 * docs/gst/tmpl/old/GstTag.sgml:
7047 * docs/gst/tmpl/old/cothreads.sgml:
7048 * docs/gst/tmpl/old/cothreads_compat.sgml:
7049 * docs/gst/tmpl/old/gettext.sgml:
7050 * docs/gst/tmpl/old/gobject2gtk.sgml:
7051 * docs/gst/tmpl/old/grammar.tab.sgml:
7052 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7053 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7054 * docs/gst/tmpl/old/gst_private.sgml:
7055 * docs/gst/tmpl/old/gstaggregator.sgml:
7056 * docs/gst/tmpl/old/gstarch.sgml:
7057 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7058 * docs/gst/tmpl/old/gstbufferstore.sgml:
7059 * docs/gst/tmpl/old/gstdata_private.sgml:
7060 * docs/gst/tmpl/old/gstdisksink.sgml:
7061 * docs/gst/tmpl/old/gstdisksrc.sgml:
7062 * docs/gst/tmpl/old/gstelementfactory.sgml:
7063 * docs/gst/tmpl/old/gstextratypes.sgml:
7064 * docs/gst/tmpl/old/gstfakesink.sgml:
7065 * docs/gst/tmpl/old/gstfakesrc.sgml:
7066 * docs/gst/tmpl/old/gstfdsink.sgml:
7067 * docs/gst/tmpl/old/gstfdsrc.sgml:
7068 * docs/gst/tmpl/old/gstfilesink.sgml:
7069 * docs/gst/tmpl/old/gstfilesrc.sgml:
7070 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7071 * docs/gst/tmpl/old/gstidentity.sgml:
7072 * docs/gst/tmpl/old/gstindexfactory.sgml:
7073 * docs/gst/tmpl/old/gstmarshal.sgml:
7074 * docs/gst/tmpl/old/gstmd5sink.sgml:
7075 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7076 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7077 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7078 * docs/gst/tmpl/old/gstpipefilter.sgml:
7079 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7080 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7081 * docs/gst/tmpl/old/gstshaper.sgml:
7082 * docs/gst/tmpl/old/gstspider.sgml:
7083 * docs/gst/tmpl/old/gstspideridentity.sgml:
7084 * docs/gst/tmpl/old/gststatistics.sgml:
7085 * docs/gst/tmpl/old/gsttee.sgml:
7086 * docs/gst/tmpl/old/gsttimecache.sgml:
7087 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7088 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7089 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7090 * docs/gst/tmpl/old/types.sgml:
7091 I didn't intend to add these or check them in.
7093 2005-05-19 David Schleef <ds@schleef.org>
7095 * configure.ac: Use -no-common everywhere. In a sane world, it
7096 would be the default in libtool, because without it, you can't
7097 build DLLs on Windows.
7098 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7099 * docs/gst/gstreamer-sections.txt:
7100 * docs/gst/tmpl/gstcpu.sgml:
7101 * docs/gst/tmpl/gstdata.sgml:
7102 * docs/gst/tmpl/gstthread.sgml:
7104 2005-05-19 David Schleef <ds@schleef.org>
7106 * gst/gstminiobject.c: (gst_value_set_mini_object),
7107 (gst_value_take_mini_object), (gst_value_get_mini_object):
7108 * gst/gstminiobject.h: Add GValue set/get functions.
7110 2005-05-19 Wim Taymans <wim@fluendo.com>
7112 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7113 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7114 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7116 * gst/gstbus.c: (gst_bus_post):
7117 * gst/gstelement.c: (gst_element_get_random_pad):
7118 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7119 Make subbufer unref the parent in finalize.
7120 some more debugging info.
7123 2005-05-19 Wim Taymans <wim@fluendo.com>
7125 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7126 (gst_basesink_init), (gst_basesink_finalize),
7127 (gst_basesink_activate), (gst_basesink_change_state):
7128 Don't free preroll queue too early.
7130 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7134 Hi, I'm outdated. Please shoot me.
7136 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7138 * gst/gstpipeline.c: (gst_pipeline_send_event):
7139 Do not access variables after they have been deleted.
7141 2005-05-19 Wim Taymans <wim@fluendo.com>
7143 * tools/gst-inspect.c: (print_plugin_features):
7144 A plugin feature does unfortunatly not use the
7147 2005-05-18 Wim Taymans <wim@fluendo.com>
7149 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7150 Port _span() functions to new subbuffers.
7152 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7154 * gst/gstbin.c: (gst_bin_add_func):
7155 Fix clock settery in bins when adding kids after the clock has
7158 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7160 * gst/elements/gstidentity.c: (gst_identity_class_init):
7161 Workaround until signals support GstMiniObject.
7163 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7166 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7168 2005-05-18 Wim Taymans <wim@fluendo.com>
7170 * gst/base/Makefile.am:
7171 * gst/base/gstadapter.c: (gst_adapter_base_init),
7172 (gst_adapter_class_init), (gst_adapter_init),
7173 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7174 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7175 (gst_adapter_flush), (gst_adapter_available),
7176 (gst_adapter_available_fast):
7177 * gst/base/gstadapter.h:
7178 Ported and added adapter to the base classes.
7180 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7184 Make sure the class is reffed/unreffed once before threads can be
7185 used. Fixes #304551.
7187 2005-05-17 Wim Taymans <wim@fluendo.com>
7189 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7190 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7191 * gst/gstminiobject.c: (gst_mini_object_get_type),
7192 (gst_mini_object_free):
7193 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7194 (gst_pad_push), (gst_pad_push_event):
7195 * gst/gstqueue.c: (gst_queue_change_state):
7196 Don't queue buffers in basesink when we are flushing.
7197 Unref buffer when flushing in basesink.
7198 Flush queue when going to READY
7199 Unref buffer when _push() returns an error.
7200 Don't free MiniObject instance when refcount is incremented
7201 in _finalize() so that we can recover objects.
7203 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7205 * docs/manual/advanced-schedulers.xml:
7206 * docs/manual/appendix-checklist.xml:
7207 * docs/pwg/advanced-clock.xml:
7208 * docs/pwg/advanced-interfaces.xml:
7209 * docs/pwg/advanced-request.xml:
7210 * docs/pwg/advanced-types.xml:
7211 * docs/pwg/intro-preface.xml:
7212 * examples/plugins/example.c: (gst_example_get_type),
7213 (gst_example_class_init), (gst_example_chain),
7214 (gst_example_set_property), (gst_example_get_property),
7215 (gst_example_change_state), (plugin_init):
7216 * examples/plugins/example.h:
7219 2005-05-17 Wim Taymans <wim@fluendo.com>
7221 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7222 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7223 * gst/gstqueue.c: (gst_queue_change_state):
7224 Clear queue when going to READY.
7225 Remove IN_SETCAPS flag too.
7227 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7229 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7230 Remove implicit cast from gboolean to GstElementStateReturn;
7231 make sure we still return failure in paused => ready case if
7232 the parent class fails to change state and our own stop
7235 2005-05-17 Wim Taymans <wim@fluendo.com>
7237 * tools/gst-launch.c: (event_loop):
7238 Message was unreffed too soon.
7240 2005-05-16 Andy Wingo <wingo@pobox.com>
7242 * gst/gstbin.c (sink_iterator_filter): Err... um...
7244 * check/gst/gstbin.c (test_ghost_pads): New test for the
7245 ghosting-if-elements-not-in-same-bin behavior.
7247 2005-05-16 David Schleef <ds@schleef.org>
7249 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7250 accessing refcount directly.
7252 2005-05-15 David Schleef <ds@schleef.org>
7254 * check/Makefile.am: remove GstData checks
7255 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7256 * gst/Makefile.am: add miniobject, remove data
7257 * gst/gst.h: add miniobject, remove data
7258 * gst/gstdata.c: remove
7259 * gst/gstdata.h: remove
7260 * gst/gstdata_private.h: remove
7261 * gst/gsttypes.h: remove GstEvent and GstMessage
7262 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7263 * gst/gstmarshal.list: change BOXED -> OBJECT
7265 Implement GstMiniObject.
7266 * gst/gstminiobject.c:
7267 * gst/gstminiobject.h:
7269 Modify to be subclasses of GstMiniObject.
7270 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7271 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7272 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7273 (gst_subbuffer_get_type), (gst_subbuffer_init),
7274 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7277 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7278 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7279 (_gst_event_copy), (gst_event_new):
7281 * gst/gstmessage.c: (_gst_message_initialize),
7282 (gst_message_get_type), (gst_message_class_init),
7283 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7284 (gst_message_new), (gst_message_new_error),
7285 (gst_message_new_warning), (gst_message_new_tag),
7286 (gst_message_new_state_changed), (gst_message_new_application):
7288 * gst/gstprobe.c: (gst_probe_perform),
7289 (gst_probe_dispatcher_dispatch):
7291 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7292 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7293 (_gst_query_copy), (gst_query_new):
7295 Update elements for GstData -> GstMiniObject changes
7297 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7298 (gst_queue_chain), (gst_queue_loop):
7299 * gst/elements/gstbufferstore.c:
7300 (gst_buffer_store_add_buffer_func),
7301 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7302 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7303 (gst_fakesink_render):
7304 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7305 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7306 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7307 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7308 (gst_filesrc_create_read):
7309 * gst/elements/gstidentity.c: (gst_identity_class_init):
7310 * gst/elements/gsttypefindelement.c:
7311 (gst_type_find_element_src_event), (free_entry_buffers),
7312 (gst_type_find_element_handle_event):
7313 * libs/gst/dataprotocol/dataprotocol.c:
7314 (gst_dp_header_from_buffer):
7315 * libs/gst/dataprotocol/dataprotocol.h:
7316 * libs/gst/dataprotocol/dp-private.h:
7318 2005-05-15 David Schleef <ds@schleef.org>
7320 * gst/elements/gstelements.c: Don't include headers that were
7323 2005-05-15 David Schleef <ds@schleef.org>
7325 * gst/elements/Makefile.am: Remove some elements that don't
7326 need to be in the core (or even exist at all).
7327 * gst/elements/gstaggregator.c:
7328 * gst/elements/gstaggregator.h:
7329 * gst/elements/gstmd5sink.c:
7330 * gst/elements/gstmd5sink.h:
7331 * gst/elements/gstmultifilesrc.c:
7332 * gst/elements/gstmultifilesrc.h:
7333 * gst/elements/gstpipefilter.c:
7334 * gst/elements/gstpipefilter.h:
7335 * gst/elements/gstshaper.c:
7336 * gst/elements/gstshaper.h:
7337 * gst/elements/gststatistics.c:
7338 * gst/elements/gststatistics.h:
7339 * po/POTFILES.in: Remove above files.
7341 2005-05-14 Andy Wingo <wingo@pobox.com>
7343 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7344 so as to get the refs right.
7345 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7346 unreffing objects that don't pass the filter.
7348 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7349 gst_element_set_bus.
7350 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7351 normal cases, this will destroy the bus.
7353 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7356 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7359 2005-05-13 Andy Wingo <wingo@pobox.com>
7361 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7362 gst_pad_link, call pad_link_maybe_ghosting,
7363 (pad_link_maybe_ghosting): Links pads, making sure that the
7364 elements being linked are in the same bin.
7365 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7366 Helpers for pad_link_maybe_ghosting.
7368 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7371 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7373 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7375 * docs/design/part-element-source.txt:
7378 2005-05-12 Wim Taymans <wim@fluendo.com>
7380 * gst/base/gstbasesink.c: (gst_basesink_init),
7381 (gst_basesink_activate):
7382 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7383 (gst_basesrc_is_seekable):
7384 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7385 (bin_element_is_sink), (gst_bin_change_state):
7386 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7388 Identify sinks by their flag to avoid overly complicated
7390 Do state changes even for elements not reachable from the
7392 BaseSink is a sink now :)
7393 Some more debugging info in the basesrc.
7396 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7398 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7399 Implement _query on a bin, similar to _send_event.
7401 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
7403 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7404 Discont event offset format should be GST_FORMAT_BYTES,
7405 not GST_FORMAT_TIME.
7407 2005-05-12 Wim Taymans <wim@fluendo.com>
7409 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7410 Same fix as Ronald's but without the signal.
7412 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7414 * gst/gstutils.c: (gst_element_query_position):
7415 No, an element is not a pad.
7417 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7419 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7420 (gst_bin_get_state):
7421 If a child is removed from a bin while we remove the child from
7422 the bin and while we're retrieving its state, signal this to the
7423 get_state function so we abort the wait (instead of waiting for
7424 a timeout) and can immediately re-iterate over all other elements.
7426 2005-05-12 Wim Taymans <wim@fluendo.com>
7428 * gst/base/Makefile.am:
7429 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7430 (gst_basesrc_start):
7431 * gst/base/gstbasesrc.h:
7432 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7433 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7434 (gst_pushsrc_init), (gst_pushsrc_create):
7435 * gst/base/gstpushsrc.h:
7436 Added is_seekable to BaseSrc
7437 Added simple PushSrc.
7439 2005-05-11 Wim Taymans <wim@fluendo.com>
7441 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7442 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7443 (gst_element_link_pads), (gst_element_query_position),
7444 (gst_element_query_convert), (intersect_caps_func),
7445 (gst_pad_query_position), (gst_pad_query_convert):
7446 Fix refcounting in utils function.
7447 No point in trying to activate a pad when it's added, it could
7448 be added from the state change function and then we deadlock, the
7449 element has to decide what to do.
7451 2005-05-10 Andy Wingo <wingo@pobox.com>
7453 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7454 *all* the arguments.
7456 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7457 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7458 lock (according to the docs -- if this is wrong change the docs).
7460 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7461 flush messages in the NULL state.
7463 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7464 message immediately and return.
7465 (gst_bus_set_flushing): New function. If a bus is flushing, it
7466 flushes out any queued messages and immediately unrefs new
7467 messages. This is so when an element goes to NULL, all of the
7468 unhandled messages coming from it can be freed, and their
7469 references to the element dropped. In other words: message source
7470 ref considered harmful :P
7472 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7473 we're finished with it.
7475 * gst/gstmessage.c (gst_message_new_state_changed):
7477 2005-05-10 Wim Taymans <wim@fluendo.com>
7479 * gst/gstvalue.c: (gst_value_compare_flags),
7480 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7481 (_gst_value_initialize):
7482 Added flags serialize/deserialize/compare code.
7484 2005-05-09 Andy Wingo <wingo@pobox.com>
7486 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7487 Intersect the peer's caps with our caps.
7489 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7491 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7492 * gst/elements/gsttypefindelement.c: (find_peek):
7493 Handle negative offsets better. Fixes decodebin.
7495 2005-05-09 Wim Taymans <wim@fluendo.com>
7497 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7498 (gst_base_transform_event):
7499 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7500 Implement accept_caps.
7501 Fix silly lock/unlock mismatch in base class.
7503 2005-05-09 Wim Taymans <wim@fluendo.com>
7505 * docs/design/draft-push-pull.txt:
7506 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7507 * gst/elements/gstfilesink.c: (gst_filesink_init),
7508 (gst_filesink_query):
7509 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7510 (gst_type_find_handle_src_query), (find_element_get_length):
7511 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7515 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7516 (gst_real_pad_get_caps_unlocked),
7517 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7518 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7519 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7520 (gst_real_pad_dispose), (gst_real_pad_finalize),
7521 (gst_pad_load_and_link), (gst_pad_save_thyself),
7522 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7523 (gst_pad_check_pull_range), (gst_pad_pull_range),
7524 (gst_pad_template_get_type), (gst_pad_template_class_init),
7525 (gst_pad_template_init), (gst_pad_template_dispose),
7526 (name_is_valid), (gst_static_pad_template_get),
7527 (gst_pad_template_new), (gst_static_pad_template_get_caps),
7528 (gst_pad_template_get_caps), (gst_pad_set_element_private),
7529 (gst_pad_get_element_private), (gst_pad_start_task),
7530 (gst_pad_pause_task), (gst_pad_stop_task),
7531 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7532 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7533 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7534 (gst_ghost_pad_new):
7536 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7537 (gst_query_new_position), (gst_query_set_position),
7538 (gst_query_parse_position), (gst_query_new_convert),
7539 (gst_query_set_convert), (gst_query_parse_convert):
7541 * gst/gstqueryutils.c:
7542 * gst/gstqueryutils.h:
7543 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7544 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7545 (gst_queue_handle_src_query):
7546 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7547 (gst_element_query_position), (gst_element_query_convert),
7548 (intersect_caps_func), (gst_pad_query_position),
7549 (gst_pad_query_convert):
7551 * tools/gst-inspect.c: (print_pad_info):
7552 * tools/gst-xmlinspect.c: (print_element_info):
7553 Remove old query functions. Ported old code.
7554 Added position/convert helper functions to gstutils.
7555 Reordered gstpad.c code, grouping relevant things.
7556 Remove gst_message_new(), always need to speficy a specific
7560 2005-05-09 Andy Wingo <wingo@pobox.com>
7562 * gst/gstiterator.h: Add some includes.
7564 * gst/gstqueryutils.h: Include more headers.
7567 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7568 some uses of gst_pad_query.
7570 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7571 NULL out parameters.
7572 (gst_query_new_position): New proc, allocates a new position
7575 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7576 gstqueryutils.c to the build.
7578 * gst/gststructure.c (gst_structure_set_valist): Implement with
7579 the generic G_VALUE_COLLECT.
7581 2005-05-08 Edward Hervey <bilboed@bilboed.com>
7583 * gst/Makefile.am: (gst_headers):
7584 Added gstqueryutils.h to the list of headers to install, that was
7585 a 'nachty' move wingo :)
7587 2005-05-06 Andy Wingo <wingo@pobox.com>
7590 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7591 GstData, init a memchunk.
7592 (standard_definitions): Add a few query types, deprecate a few.
7593 (gst_query_get_type): New proc.
7594 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7596 (gst_query_new_application, gst_query_get_structure): New public
7599 * docs/design/draft-query.txt: Removed LINKS from the query types,
7600 because all the rest can be dispatched to other pads -- seemed
7601 ugly to have a query that couldn't be dispatched. internal_links
7602 is fine as a pad method.
7604 * gst/gstpad.h: Add query2 as a pad method, add the new functions
7605 in gstpad.c, but maintain binary compatibility for the moment.
7606 Will fix before 0.9 is out.
7608 * gst/gstqueryutils.c:
7609 * gst/gstqueryutils.h: New files, implement 3 methods for each
7610 query type: parse_query, parse_response, and set. Probably need an
7613 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7615 * gst/elements/gstfilesink.c (gst_filesink_query2):
7616 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7617 query_types, and formats methods.
7619 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7620 (gst_pad_set_query2_function): New functions.
7621 (gst_real_pad_init): Set query2_default as the default query2
7622 function. Basically just dispatches to internally linked pads.
7626 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7627 without using the atomic operations. Only one thread can possibly
7628 be accessing the data at this point. Changed so as to avoid
7629 gst_atomic operations.
7631 2005-05-06 Wim Taymans <wim@fluendo.com>
7633 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7634 Also set caps if we use the fallback buffer alloc.
7636 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
7638 * docs/gst/Makefile.am:
7639 * docs/gst/gstreamer-docs.sgml:
7640 * docs/gst/gstreamer-sections.txt:
7641 * docs/gst/tmpl/gstatomic.sgml:
7642 * docs/gst/tmpl/gstmemchunk.sgml:
7643 * testsuite/elements/struct_i386.h:
7644 * win32/GStreamer.vcproj:
7646 Purge GstAtomic stuff from docs and win32 makefiles as well
7648 2005-05-06 Wim Taymans <wim@fluendo.com>
7650 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7651 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7652 * gst/gstpad.c: (gst_pad_peer_get_caps):
7653 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7654 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7655 (gst_queue_src_activate), (gst_queue_change_state):
7657 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7658 (intersect_caps_func):
7659 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7660 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7661 Some fixes for the peer_get_caps() change.
7663 2005-05-06 Wim Taymans <wim@fluendo.com>
7665 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7666 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7667 (gst_basesink_activate):
7668 Actually do something with error codes returned from the push
7671 2005-05-06 Wim Taymans <wim@fluendo.com>
7673 * docs/design/part-element-sink.txt:
7674 * docs/design/part-element-source.txt:
7675 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7676 (gst_basesink_event), (gst_basesink_activate):
7677 * gst/base/gstbasesink.h:
7678 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7679 (gst_basesrc_activate):
7680 * gst/base/gstbasesrc.h:
7681 * gst/gstelement.c: (gst_element_pads_activate):
7682 Some more documentation.
7683 Fixed scheduling decision in _pads_activate().
7685 2005-05-05 Andy Wingo <wingo@pobox.com>
7687 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7690 2005-05-05 Wim Taymans <wim@fluendo.com>
7692 * gst/base/Makefile.am:
7693 * gst/base/gstbasesink.h:
7694 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7695 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7696 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7697 (gst_collectpads_class_init), (gst_collectpads_init),
7698 (gst_collectpads_finalize), (gst_collectpads_new),
7699 (gst_collectpads_set_function), (gst_collectpads_add_pad),
7700 (find_pad), (gst_collectpads_remove_pad),
7701 (gst_collectpads_is_active), (gst_collectpads_collect),
7702 (gst_collectpads_collect_range), (gst_collectpads_start),
7703 (gst_collectpads_stop), (gst_collectpads_peek),
7704 (gst_collectpads_pop), (gst_collectpads_available),
7705 (gst_collectpads_read), (gst_collectpads_flush),
7706 (gst_collectpads_chain):
7707 * gst/base/gstcollectpads.h:
7708 * gst/elements/Makefile.am:
7709 * gst/elements/gstelements.c:
7710 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7711 (gst_fakesink_get_times), (gst_fakesink_event),
7712 (gst_fakesink_preroll), (gst_fakesink_render):
7713 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7714 (gst_filesink_init), (gst_filesink_set_location),
7715 (gst_filesink_open_file), (gst_filesink_close_file),
7716 (gst_filesink_pad_query), (gst_filesink_event),
7717 (gst_filesink_render), (gst_filesink_change_state):
7718 * gst/elements/gstfilesink.h:
7719 Added object to help in making collect pad based elements.
7721 Make event function in sink baseclass return gboolean.
7723 2005-05-05 Wim Taymans <wim@fluendo.com>
7725 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7726 (gst_bin_get_by_name):
7728 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7729 (gst_clock_finalize):
7730 * gst/gstdata.c: (gst_data_replace):
7732 * gst/gstelement.c: (gst_element_request_pad),
7733 (gst_element_pads_activate):
7734 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7736 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7737 (gst_pad_set_checkgetrange_function),
7738 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7739 (gst_pad_check_pull_range), (gst_pad_pull_range),
7740 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7741 (gst_pad_pause_task), (gst_pad_stop_task):
7742 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7743 (gst_element_request_pad), (gst_pad_proxy_getcaps):
7744 Fix name lookup in GstBin.
7745 Added _data_replace() function and _buffer_replace()
7746 Use finalize method to clean up clock.
7747 Fix refcounting on request pads.
7748 Fix pad schedule mode error.
7749 Some more object refcounting debug info,
7752 2005-05-04 Andy Wingo <wingo@pobox.com>
7754 * check/Makefile.am:
7755 * docs/gst/tmpl/gstatomic.sgml:
7756 * docs/gst/tmpl/gstplugin.sgml:
7757 * gst/base/gstbasesink.c: (gst_basesink_activate):
7758 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7759 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7760 (gst_basesrc_query), (gst_basesrc_set_property),
7761 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7762 (gst_basesrc_activate):
7763 * gst/base/gstbasesrc.h:
7764 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7765 (gst_base_transform_src_activate):
7766 * gst/elements/gstelements.c:
7767 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7768 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7769 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7770 * gst/elements/gsttypefindelement.c: (find_element_get_length),
7771 (gst_type_find_element_checkgetrange),
7772 (gst_type_find_element_activate):
7773 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7774 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7775 (gst_caps_load_thyself):
7776 * gst/gstelement.c: (gst_element_pads_activate),
7777 (gst_element_save_thyself), (gst_element_restore_thyself):
7778 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7779 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7781 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7782 (gst_xml_parse_file), (gst_xml_parse_memory),
7783 (gst_xml_get_element), (gst_xml_make_element):
7784 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7785 (_file_index_id_save_xml), (gst_file_index_commit):
7786 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7787 (read_enum), (load_pad_template), (load_feature), (load_plugin),
7789 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7790 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7791 * tools/gst-complete.c: (main):
7792 * tools/gst-compprep.c: (main):
7793 * tools/gst-inspect.c: (print_element_properties_info):
7794 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7795 * tools/gst-xmlinspect.c: (print_element_properties):
7798 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7800 * gst/gstplugin.c: (gst_plugin_check_module),
7801 (gst_plugin_check_file), (gst_plugin_load_file):
7802 apply patch from #172526 to make register work on MacOSX
7804 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7806 * docs/gst/tmpl/gstconfig.sgml:
7807 * gst/gstconfig.h.in:
7808 move documentation for some symbols. Add doc for GST_PTR_FORMAT
7809 * testsuite/debug/printf_extension.c: (main):
7810 Do not use GST_PTR_FORMAT on pointers to types with
7811 sizeof < sizeof(gpointer). Fixes test on 64-bit
7812 * testsuite/elements/property.h:
7813 use correct printf format
7815 2005-05-02 Wim Taymans <wim@fluendo.com>
7817 * docs/design/draft-push-pull.txt:
7818 * docs/design/draft-query.txt:
7819 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7820 (gst_basesrc_start):
7821 Added draft for new query API.
7822 Added draft for better selecting scheduling methods.
7823 Make basesrc ignore length if the subclass does not support
7826 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7829 possible fixes for automake-1.5 - _LIBADD is reserved
7831 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7833 * docs/faq/Makefile.am:
7834 * docs/manual/Makefile.am:
7836 * docs/pwg/Makefile.am:
7838 possible fixes for automake-1.5
7840 2005-04-28 Wim Taymans <wim@fluendo.com>
7842 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7843 (gst_basesink_pad_getcaps), (gst_basesink_init),
7844 (gst_basesink_do_sync):
7845 * gst/gstclock.c: (gst_clock_entry_new):
7846 * gst/gstevent.c: (gst_event_discont_get_value):
7847 * gst/gstpipeline.c: (pipeline_bus_handler),
7848 (gst_pipeline_change_state):
7849 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7850 Better debugging of clocking info.
7851 Allow NULL values when getting discont values.
7853 2005-04-27 Wim Taymans <wim@fluendo.com>
7855 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7856 * check/gst/gstpad.c: (gst_pad_suite):
7857 Increase timeout for checks.
7859 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7861 * check/Makefile.am:
7862 fix the broken rule for cleanup. Apparently this rule is
7863 only needed on FC2, so maybe this warrants further autotool
7866 2005-04-26 Wim Taymans <wim@fluendo.com>
7868 * gst/gsttrashstack.h:
7869 Ooohh. a nasty one! After having a failed pop() from the stack,
7870 it's possible that the stack is empty. In that case, don't
7871 follow the NULL pointer.
7873 2005-04-25 Wim Taymans <wim@fluendo.com>
7875 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7876 (gst_pad_set_checkgetrange_function),
7877 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7878 (gst_pad_check_pull_range), (gst_pad_pull_range),
7879 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7880 (gst_pad_pause_task), (gst_pad_stop_task):
7881 * gst/gstplugin.c: (gst_plugin_load):
7883 Remove gst_library_load as it does more harm than good with
7884 the new g_module flags.
7885 Revert bogus caps template check in pad linking, pad caps
7886 are important when linking not the template, which is more
7887 general than the current caps.
7889 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7891 * gst/autoplug/.cvsignore:
7892 * gst/autoplug/Makefile.am:
7893 * gst/autoplug/gstsearchfuncs.c:
7894 * gst/autoplug/gstsearchfuncs.h:
7895 * gst/autoplug/gstspider.c:
7896 * gst/autoplug/gstspider.h:
7897 * gst/autoplug/gstspideridentity.c:
7898 * gst/autoplug/gstspideridentity.h:
7899 * gst/autoplug/spidertest.c:
7902 2005-04-25 Wim Taymans <wim@fluendo.com>
7904 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7905 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7906 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7907 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7909 Added stubs for unimplemented functions.
7911 2005-04-24 David Schleef <ds@schleef.org>
7913 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7916 2005-04-24 David Schleef <ds@schleef.org>
7918 Convert everything from GstAtomicInt to g_atomic_int_*, and
7923 * gst/gstatomic_impl.h:
7931 * gst/gstdata_private.h:
7938 * gst/gststructure.c:
7939 * gst/gststructure.h:
7940 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7943 2005-04-24 David Schleef <ds@schleef.org>
7945 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7946 make the regressions tests work. Remove some code that is no
7948 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7949 Disable warning for pads without templates.
7951 2005-04-24 David Schleef <ds@schleef.org>
7953 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7954 functions that handle filtered links.
7955 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7957 * gst/gstutils.c: Fix/remove utility functions that handle
7960 * gst/gstvalue.c: Add serialization/deserialization of caps
7961 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7962 requires fixing so that the filter caps notation creates
7963 a capsfilter element and sets the filter_caps property. I
7964 think everyone probably wants to keep the shorthand notation.
7965 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7966 * docs/gst/tmpl/gstpad.sgml:
7968 * gst/elements/gstelements.c: Register capsfilter element.
7969 * gst/Makefile.am: fix spacing
7970 * docs/random/ds/0.9-suggested-changes: random
7972 2005-04-23 David Schleef <ds@schleef.org>
7974 * gst/elements/Makefile.am:
7975 * gst/elements/gstcapsfilter.c: New element that acts like an
7976 identity, but filters caps. Will eventually replace filtered
7977 caps in pad linking.
7978 * gst/gstutils.c: (gst_element_create_all_pads): New function
7979 to create all the ALWAYS pads that are registered with an
7980 element class. This functionality should eventually be
7981 merged in with GstElement initialization.
7983 * testsuite/trigger/README: part of trigger test code that should
7984 have been checked in a long time ago.
7986 2005-04-23 David Schleef <ds@schleef.org>
7988 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
7989 needed with new versions of libtool (nobody will confirm this),
7990 and hard to carry around.
7991 * gst/autoplug/Makefile.am:
7992 * gst/base/Makefile.am:
7993 * gst/elements/Makefile.am:
7994 * gst/indexers/Makefile.am:
7995 * gst/schedulers/Makefile.am:
7996 * libs/gst/bytestream/Makefile.am:
7997 * libs/gst/control/Makefile.am:
7998 * libs/gst/dataprotocol/Makefile.am:
7999 * libs/gst/getbits/Makefile.am:
8001 2005-04-21 Wim Taymans <wim@fluendo.com>
8003 * docs/design/draft-push-pull.txt:
8004 * docs/design/part-MT-refcounting.txt:
8005 * docs/design/part-TODO.txt:
8006 * docs/design/part-caps.txt:
8007 * docs/design/part-events.txt:
8008 * docs/design/part-gstbus.txt:
8009 * docs/design/part-gstpipeline.txt:
8010 * docs/design/part-messages.txt:
8011 * docs/design/part-push-pull.txt:
8012 * docs/design/part-query.txt:
8015 2005-04-21 Wim Taymans <wim@fluendo.com>
8017 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8018 (gst_message_new), (gst_message_new_error),
8019 (gst_message_new_warning), (gst_message_new_tag),
8020 (gst_message_new_state_changed), (gst_message_new_application),
8021 (gst_message_get_structure):
8023 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8024 (gst_structure_copy_conditional):
8025 Use parent refcount in GstMessage to ensure GstStructure
8027 Cleaned up headers a bit.
8030 2005-04-20 Wim Taymans <wim@fluendo.com>
8032 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8033 (gst_basesink_pad_getcaps), (gst_basesink_init),
8034 (gst_basesink_chain_unlocked):
8035 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8036 (gst_type_find_helper):
8037 * gst/elements/gsttypefindelement.c:
8038 (gst_type_find_element_have_type), (gst_type_find_element_init),
8039 (stop_typefinding), (gst_type_find_element_handle_event),
8040 (find_suggest), (gst_type_find_element_chain),
8041 (gst_type_find_element_checkgetrange),
8042 (gst_type_find_element_getrange), (do_typefind),
8043 (gst_type_find_element_activate):
8044 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8045 (gst_buffer_default_free), (gst_buffer_default_copy),
8046 (gst_buffer_set_caps):
8047 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8049 * gst/gstmessage.c: (gst_message_new),
8050 (gst_message_new_state_changed):
8051 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8052 (gst_pad_set_checkgetrange_function),
8053 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8054 (gst_pad_set_caps), (gst_pad_check_pull_range),
8055 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8057 * gst/gsttypefind.c: (gst_type_find_register):
8058 Make gst_caps_replace() work like other _replace() functions.
8059 Use _caps_replace() where possible.
8060 Make sure _message_new() initialises its field.
8061 Add gst_static_pad_template_get_caps()
8064 2005-04-18 Andy Wingo <wingo@pobox.com>
8066 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8067 on the peer, not the pad. I think that was a typo. Pass an extra
8068 arg to see if random access is possible. Activate the pads as
8069 PULL_RANGE if possible.
8071 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8073 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8074 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8077 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8079 * docs/faq/using.xml:
8080 Add note on gstreamer-properties (#154996).
8082 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8084 * docs/random/bbb/optional-properties:
8085 Some analysis on optional properties.
8087 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8089 * docs/gst/tmpl/gstelementfactory.sgml:
8091 * gst/gstelementfactory.c: (gst_element_factory_init),
8092 (gst_element_factory_cleanup), (gst_element_register),
8093 (__gst_element_factory_add_static_pad_template),
8094 (gst_element_factory_get_static_pad_templates),
8095 (gst_element_factory_can_src_caps),
8096 (gst_element_factory_can_sink_caps):
8097 * gst/registries/Makefile.am:
8098 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8099 (gst_xml_registry_class_init), (gst_xml_registry_init),
8100 (gst_xml_registry_new), (gst_xml_registry_set_property),
8101 (gst_xml_registry_get_property), (get_time), (make_dir),
8102 (gst_xml_registry_get_perms_func),
8103 (plugin_times_older_than_recurse), (plugin_times_older_than),
8104 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8105 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8106 (add_to_char_array), (read_string), (read_uint), (read_enum),
8107 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8108 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8109 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8110 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8111 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8112 (gst_xml_registry_rebuild):
8113 * gst/registries/gstlibxmlregistry.h:
8114 * tools/gst-compprep.c: (main):
8115 * tools/gst-inspect.c: (print_pad_templates_info):
8116 * tools/gst-xmlinspect.c: (print_element_info):
8117 Use libxml2 for registry parsing, use staticpadtemplates in
8118 elementfactories. Makes gst_init() +/- 10x faster.
8120 2005-04-12 Wim Taymans <wim@fluendo.com>
8122 * gst/base/Makefile.am:
8123 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8124 (gst_basesink_pad_getcaps), (gst_basesink_init),
8125 (gst_basesink_event), (gst_basesink_change_state):
8126 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8127 (gst_basesrc_init), (gst_basesrc_query),
8128 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8129 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8130 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8131 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8132 (gst_basesrc_stop), (gst_basesrc_activate),
8133 (gst_basesrc_change_state):
8134 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8135 (helper_find_suggest), (gst_type_find_helper):
8136 * gst/base/gsttypefindhelper.h:
8137 * gst/elements/Makefile.am:
8138 * gst/elements/gstelements.c:
8139 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8140 (gst_fakesink_get_times), (gst_fakesink_event),
8141 (gst_fakesink_preroll), (gst_fakesink_render):
8142 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8143 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8144 (gst_fakesrc_get_property), (gst_fakesrc_create),
8145 (gst_fakesrc_start), (gst_fakesrc_stop):
8146 * gst/elements/gstfakesrc.h:
8147 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8148 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8149 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8150 (gst_filesrc_create_read), (gst_filesrc_create),
8151 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8152 (gst_filesrc_start):
8153 * gst/elements/gsttypefindelement.c:
8154 (gst_type_find_element_have_type), (gst_type_find_element_init),
8155 (start_typefinding), (stop_typefinding), (push_buffer_store),
8156 (gst_type_find_element_handle_event),
8157 (gst_type_find_element_chain),
8158 (gst_type_find_element_checkgetrange),
8159 (gst_type_find_element_getrange), (do_typefind),
8160 (gst_type_find_element_activate),
8161 (gst_type_find_element_change_state):
8162 * gst/elements/gsttypefindelement.h:
8163 * gst/gstpipeline.c: (pipeline_bus_handler):
8164 Added typefind helper.
8165 Small preroll fix in the base sink.
8166 Disable typefind code in basesrc.
8167 Crude port of typefindelement.
8171 2005-04-11 Wim Taymans <wim@fluendo.com>
8173 * check/gst/gstbus.c: (gstbus_suite):
8174 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8176 Fix up the timeout so that the test does not fail.
8178 2005-04-06 Wim Taymans <wim@fluendo.com>
8181 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8182 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8183 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8184 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8185 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8186 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8187 (gst_basesrc_stop), (gst_basesrc_activate),
8188 (gst_basesrc_change_state), (basesrc_find_peek),
8189 (basesrc_find_suggest), (gst_basesrc_type_find):
8190 * gst/base/gstbasesrc.h:
8191 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8192 (gst_filesrc_class_init), (gst_filesrc_init),
8193 (gst_filesrc_finalize), (gst_filesrc_set_location),
8194 (gst_filesrc_set_property), (gst_filesrc_get_property),
8195 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8196 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8197 (gst_filesrc_create_read), (gst_filesrc_create),
8198 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8199 * gst/elements/gstfilesrc.h:
8200 * gst/gstelement.c: (gst_element_get_state_func),
8201 (gst_element_lost_state), (gst_element_pads_activate):
8202 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8203 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8204 (gst_pad_pull_range):
8206 More work on the generic source base class, implement seeking,
8208 Make filesrc extend the base source class.
8209 Added gst_pad_set_checkgetrange_function to GstPad.
8211 2005-04-06 Andy Wingo <wingo@pobox.com>
8213 * pkgconfig/gstreamer-base.pc.in:
8214 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8216 * pkgconfig/Makefile.am:
8217 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8219 2005-04-04 Wim Taymans <wim@fluendo.com>
8221 * gst/base/Makefile.am:
8223 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8224 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8225 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8226 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8227 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8228 (gst_basesrc_base_init), (gst_basesrc_class_init),
8229 (gst_basesrc_init), (gst_basesrc_get_formats),
8230 (gst_basesrc_get_query_types), (gst_basesrc_query),
8231 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8232 (gst_basesrc_set_property), (gst_basesrc_get_property),
8233 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8234 (gst_basesrc_loop), (gst_basesrc_activate),
8235 (gst_basesrc_change_state):
8236 * gst/base/gstbasesrc.h:
8237 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8238 (gst_fakesrc_class_init), (gst_fakesrc_init),
8239 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8240 (gst_fakesrc_get_property), (gst_fakesrc_create):
8241 * gst/elements/gstfakesrc.h:
8242 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8243 (gst_filesrc_open_file), (gst_filesrc_loop),
8244 (gst_filesrc_activate), (filesrc_find_peek),
8245 (gst_filesrc_type_find):
8246 Made base source class, make fakesrc extend it.
8247 Add comments to basesink class.
8248 Some filesrc cleanup.
8250 2005-03-31 David Schleef <ds@schleef.org>
8252 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8253 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8254 expected to link against libgstreamer.
8255 * gst/base/Makefile.am: link against libgstreamer
8256 * gst/elements/Makefile.am: same
8258 2005-03-31 Andy Wingo <wingo@pobox.com>
8260 * tests/instantiate/Makefile.am:
8261 * tests/instantiate/caps.c: Add test to test speed of caps copy
8264 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8265 GMemChunk to be fair.
8267 * gst/gsttrashstack.h: Remove warning about using the fallback
8268 trash stack implementation, it's still faster than malloc.
8270 2005-03-30 Andy Wingo <wingo@pobox.com>
8272 * tests/complexity.c: Add a copyright.
8274 2005-03-31 Wim Taymans <wim@fluendo.com>
8276 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8277 (gst_base_transform_class_init), (gst_base_transform_init),
8278 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8279 (gst_base_transform_get_property),
8280 (gst_base_transform_sink_activate),
8281 (gst_base_transform_src_activate),
8282 (gst_base_transform_change_state):
8283 * gst/base/gstbasetransform.h:
8284 * gst/elements/gstidentity.c: (gst_identity_class_init),
8285 (gst_identity_event), (gst_identity_check_perfect),
8286 (gst_identity_transform), (gst_identity_start),
8287 (gst_identity_stop):
8288 Added start/stop methods to transform base class so subclasses
8289 don't need to deal with state changes even.
8291 2005-03-31 Wim Taymans <wim@fluendo.com>
8293 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8294 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8296 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8297 (gst_pad_pull_range):
8298 Added rate to the discont event to prepare for variable speed
8299 and reverse playback.
8301 2005-03-29 David Schleef <ds@schleef.org>
8304 * testsuite/trigger/Makefile.am:
8305 * testsuite/trigger/trigger.c: A little example program to show
8306 how trigger-based elements can work.
8308 2005-03-29 Wim Taymans <wim@fluendo.com>
8310 * gst/base/Makefile.am:
8312 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8313 (gst_basesink_base_init), (gst_basesink_class_init),
8314 (gst_basesink_pad_getcaps), (gst_basesink_init),
8315 (gst_basesink_activate), (gst_basesink_change_state):
8316 * gst/base/gstbasesink.h:
8317 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8318 (gst_base_transform_base_init), (gst_base_transform_finalize),
8319 (gst_base_transform_class_init), (gst_base_transform_init),
8320 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8321 (gst_base_transform_event), (gst_base_transform_getrange),
8322 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8323 (gst_base_transform_set_property),
8324 (gst_base_transform_get_property),
8325 (gst_base_transform_sink_activate),
8326 (gst_base_transform_src_activate),
8327 (gst_base_transform_change_state):
8328 * gst/base/gstbasetransform.h:
8329 * gst/elements/gstidentity.c: (gst_identity_finalize),
8330 (gst_identity_class_init), (gst_identity_init),
8331 (gst_identity_event), (gst_identity_check_perfect),
8332 (gst_identity_transform), (gst_identity_set_property),
8333 (gst_identity_get_property), (gst_identity_change_state):
8334 * gst/elements/gstidentity.h:
8335 * gst/gstelement.c: (gst_element_get_state_func),
8336 (gst_element_lost_state), (gst_element_pads_activate):
8337 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8338 (gst_pad_check_pull_range), (gst_pad_pull_range):
8340 Simplify pad activation.
8341 Added function to check if pull_range can be performed.
8342 Error out when pulling inactive or flushing pads.
8343 Removed const from refcounted types as it does not make sense.
8344 Simplify pad templates in basesink
8345 Added base class for simple 1-to-1 transforms.
8346 Make identity subclass the base transform.
8348 2005-03-29 Andy Wingo <wingo@pobox.com>
8350 * docs/libs/gstreamer-libs-overrides.txt:
8351 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8352 really don't understand what's going on, but like whatever. I want
8355 * docs/gst/Makefile.am:
8356 * docs/libs/Makefile.am: Dist the overrides files.
8358 * check/Makefile.am (clean-local): Remove .libs directories.
8360 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8361 elements to EXTRA_DIST, so po/ files are happy.
8363 * po/POTFILES.in: Er, remove it here.
8365 * po/POTFILES: Remove gstspider.c.
8367 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8369 * docs/libs/gstreamer-libs-docs.sgml:
8370 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8373 * tests/complexity.c (main): Set the length of the preroll queue
8374 on the sinks to prevent a lockup.
8376 * libs/gst/dataprotocol/Makefile.am:
8377 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8378 the same as the one in check/gst-libs/gdp.c.
8380 * po/, docs/gst/: Commit automatic changes to docs and po files.
8382 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8383 the versioned libgstbase.
8385 * check/Makefile.am: Depend on an unversioned gst-register, seems
8386 to make autoconf happier.
8388 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8390 2005-03-28 Wim Taymans <wim@fluendo.com>
8393 * docs/design/part-gstelement.txt:
8394 * docs/design/part-negotiation.txt:
8395 * docs/design/part-preroll.txt:
8396 * docs/design/part-scheduling.txt:
8397 * docs/design/part-states.txt:
8399 * gst/base/Makefile.am:
8401 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8402 (gst_basesink_base_init), (gst_basesink_class_init),
8403 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8404 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8405 (gst_basesink_set_pad_functions),
8406 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8407 (gst_basesink_set_property), (gst_basesink_get_property),
8408 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8409 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8410 (gst_basesink_preroll_queue_push),
8411 (gst_basesink_preroll_queue_empty),
8412 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8413 (gst_basesink_event), (gst_basesink_get_times),
8414 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8415 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8416 (gst_basesink_loop), (gst_basesink_activate),
8417 (gst_basesink_change_state):
8418 * gst/base/gstbasesink.h:
8419 * gst/elements/Makefile.am:
8420 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8421 (gst_fakesink_class_init), (gst_fakesink_init),
8422 (gst_fakesink_set_property), (gst_fakesink_get_property),
8423 (gst_fakesink_get_times), (gst_fakesink_event),
8424 (gst_fakesink_preroll), (gst_fakesink_render),
8425 (gst_fakesink_change_state):
8426 * gst/elements/gstfakesink.h:
8427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8428 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8429 * gst/gstelement.c: (gst_element_add_pad),
8430 (gst_element_get_state_func), (gst_element_abort_state),
8431 (gst_element_commit_state), (gst_element_lost_state),
8432 (gst_element_set_state), (gst_element_pads_activate):
8433 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8434 * gst/gstpipeline.c: (gst_pipeline_send_event),
8435 (gst_pipeline_change_state):
8436 Added state change code.
8438 Added sink base class, make fakesink extend the base class.
8439 Small cleanups in GstPipeline.
8441 2005-03-26 David Schleef <ds@schleef.org>
8443 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8444 is broken and should be implemented in a different library.
8445 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8446 * gst/gst.h: remove gstcpu.h
8447 * gst/gstcpu.c: remove
8448 * gst/gstcpu.h: remove
8449 * gst/Makefile.am.future: Remove this file. It's ancient.
8451 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8453 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8454 (gst_bin_send_event):
8455 Add default event/set_manager handlers. The set_manager handler
8456 takes care that the manager is distributed over kids that were
8457 already in the bin before the manager was set. The event handler
8458 is a utility virtual function that sends the event over all sinks,
8459 so that gst_element_send_event (bin, event); has the expected
8461 * gst/gstpad.c: (gst_pad_event_default):
8462 Re-install default event handling for discontinuities, so that
8463 seeking works without requiring hacks in applications or extra
8465 * gst/gstpipeline.c: (gst_pipeline_class_init),
8466 (gst_pipeline_send_event):
8467 Half hack, half utility: set a pipeline to PAUSED for seek events,
8468 since that is the only way we can guarantee a/v sync. Means that
8469 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8470 and it "just works".
8472 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8474 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8475 Lock/unlock mismatch.
8477 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8479 * docs/faq/gst-uninstalled:
8480 add gst-plugins-base
8481 * docs/gst/Makefile.am:
8482 don't error out until docs are fixed
8483 * docs/gst/gstreamer.types:
8486 2005-03-22 Wim Taymans <wim@fluendo.com>
8488 * check/Makefile.am:
8489 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8490 * gst/gststructure.c: (gst_structure_set_valist),
8491 (gst_structure_copy_conditional):
8492 Activated more tests.
8494 Added G_TYPE_POINTER to GstStructure.
8497 2005-03-22 Wim Taymans <wim@fluendo.com>
8499 * docs/design/part-TODO.txt:
8500 * docs/design/part-events.txt:
8501 * docs/design/part-gstbin.txt:
8502 * docs/design/part-gstbus.txt:
8503 * docs/design/part-gstpipeline.txt:
8504 * docs/design/part-messages.txt:
8509 2005-03-21 Wim Taymans <wim@fluendo.com>
8511 * gst/gstbus.c: (gst_bus_post):
8512 Fix copy-and-paste error.
8514 2005-03-21 Wim Taymans <wim@fluendo.com>
8516 * check/Makefile.am:
8518 * gst/elements/Makefile.am:
8519 * gst/elements/gstelements.c:
8520 * gst/elements/gstfakesink.c: (gst_fakesink_init),
8521 (gst_fakesink_event), (gst_fakesink_chain):
8522 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8523 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8524 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8525 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8526 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8527 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8528 (gst_fakesrc_loop), (gst_fakesrc_activate),
8529 (gst_fakesrc_change_state):
8530 * gst/elements/gstfakesrc.h:
8531 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8532 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8533 (gst_filesrc_open_file), (gst_filesrc_loop),
8534 (gst_filesrc_activate), (gst_filesrc_change_state),
8535 (filesrc_find_peek), (filesrc_find_suggest),
8536 (gst_filesrc_type_find):
8537 * gst/elements/gstidentity.c: (gst_identity_finalize),
8538 (gst_identity_class_init), (gst_identity_init),
8539 (gst_identity_proxy_getcaps), (identity_queue_push),
8540 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8541 (gst_identity_getrange), (gst_identity_chain),
8542 (gst_identity_sink_loop), (gst_identity_src_loop),
8543 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8544 (gst_identity_set_property), (gst_identity_get_property),
8545 (gst_identity_change_state):
8546 * gst/elements/gstidentity.h:
8547 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8548 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8549 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8550 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8551 (gst_tee_sink_activate):
8552 * gst/elements/gsttee.h:
8553 * gst/gst.c: (gst_register_core_elements), (init_post):
8555 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8556 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8557 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8558 (gst_bin_change_state):
8560 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8561 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8562 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8563 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8564 (gst_bus_set_sync_handler), (gst_bus_create_watch),
8565 (bus_watch_callback), (bus_watch_destroy),
8566 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8567 (poll_timeout), (gst_bus_poll):
8571 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8572 (gst_element_post_message), (gst_element_message_full),
8573 (gst_element_get_state_func), (gst_element_get_state),
8574 (gst_element_abort_state), (gst_element_commit_state),
8575 (gst_element_lost_state), (gst_element_set_state),
8576 (gst_element_pads_activate), (gst_element_change_state),
8577 (gst_element_dispose), (gst_element_set_manager_func),
8578 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8579 (gst_element_set_manager), (gst_element_get_manager),
8580 (gst_element_set_bus), (gst_element_get_bus),
8581 (gst_element_set_scheduler), (gst_element_get_scheduler):
8583 * gst/gstevent.c: (gst_event_new_segment_seek),
8584 (gst_event_new_flush):
8586 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8587 (_gst_message_free), (gst_message_get_type), (gst_message_new),
8588 (gst_message_new_eos), (gst_message_new_error),
8589 (gst_message_new_warning), (gst_message_new_tag),
8590 (gst_message_new_state_changed), (gst_message_new_application),
8591 (gst_message_get_structure), (gst_message_parse_tag),
8592 (gst_message_parse_state_changed), (gst_message_parse_error),
8593 (gst_message_parse_warning):
8595 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8596 (gst_real_pad_set_property), (gst_pad_set_active),
8597 (gst_pad_is_active), (gst_pad_set_blocked_async),
8598 (gst_pad_set_blocked), (gst_pad_is_blocked),
8599 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8600 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8601 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8602 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8603 (gst_pad_link_filtered), (gst_pad_relink_filtered),
8604 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8605 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8606 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8607 (gst_pad_set_caps), (gst_pad_configure_sink),
8608 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8609 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8610 (gst_real_pad_dispose), (gst_real_pad_finalize),
8611 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8612 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8613 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8615 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8616 (pipeline_bus_handler), (gst_pipeline_change_state),
8617 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8618 * gst/gstpipeline.h:
8620 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8621 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8622 (gst_queue_link_src), (gst_queue_bufferalloc),
8623 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8624 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8625 (gst_queue_loop), (gst_queue_handle_src_event),
8626 (gst_queue_handle_src_query), (gst_queue_src_activate),
8627 (gst_queue_change_state):
8629 * gst/gstscheduler.c: (gst_scheduler_init),
8630 (gst_scheduler_dispose), (gst_scheduler_create_task),
8631 (gst_scheduler_factory_create):
8632 * gst/gstscheduler.h:
8633 * gst/gststructure.c: (gst_structure_get_type),
8634 (gst_structure_copy_conditional):
8635 * gst/gststructure.h:
8636 * gst/gsttaginterface.h:
8637 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8638 (gst_task_init), (gst_task_dispose), (gst_task_create),
8639 (gst_task_get_state), (gst_task_start), (gst_task_stop),
8645 * gst/schedulers/Makefile.am:
8646 * gst/schedulers/cothreads_compat.h:
8647 * gst/schedulers/entryscheduler.c:
8648 * gst/schedulers/faircothreads.c:
8649 * gst/schedulers/faircothreads.h:
8650 * gst/schedulers/fairscheduler.c:
8651 * gst/schedulers/gstbasicscheduler.c:
8652 * gst/schedulers/gstoptimalscheduler.c:
8653 * gst/schedulers/gthread-cothreads.h:
8654 * gst/schedulers/threadscheduler.c:
8655 (gst_thread_scheduler_task_get_type),
8656 (gst_thread_scheduler_task_class_init),
8657 (gst_thread_scheduler_task_init),
8658 (gst_thread_scheduler_task_start),
8659 (gst_thread_scheduler_task_stop),
8660 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8661 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8662 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8663 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8665 * libs/gst/Makefile.am:
8666 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8667 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8668 (gst_file_pad_parent_set):
8669 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8670 (gst_dp_event_from_packet):
8671 * tests/complexity.c: (main):
8672 * tests/mass_elements.c: (main):
8673 * testsuite/states/locked.c: (message_received), (main):
8674 * testsuite/states/parent.c: (main):
8675 * tools/gst-inspect.c: (print_element_flag_info),
8676 (print_implementation_info), (print_pad_info):
8677 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8679 * tools/gst-md5sum.c: (event_loop), (main):
8680 * tools/gst-typefind.c: (main):
8681 * tools/gst-xmlinspect.c: (print_element_info):
8683 Added GstBus for mainloop integration.
8684 Added GstMessage for sending notifications on the bus.
8685 Added GstTask as an abstraction for pipeline entry points.
8688 Simplified GstQueue for multithreaded core.
8689 Made _link threadsafe, removed old capsnego.
8690 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8691 Added pad blocking functions.
8692 Reworked scheduling functions in GstPad to prepare for
8693 scheduling updates soon.
8694 Moved events out of data stream.
8695 Simplified GstEvent types.
8696 Added return values to push/pull.
8697 Removed clocking from GstElement.
8698 Added prototypes for state change function for next merge.
8699 Removed iterate from bins and state change management.
8700 Fixed some elements, disabled others for now.
8701 Fixed -inspect and -launch.
8702 Added check for GstBus.
8704 2005-03-10 Wim Taymans <wim@fluendo.com>
8706 * docs/design/part-MT-refcounting.txt:
8707 * docs/design/part-clocks.txt:
8708 * docs/design/part-gstelement.txt:
8709 * docs/design/part-gstobject.txt:
8710 * docs/design/part-standards.txt:
8711 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8712 (gst_bin_remove_func), (gst_bin_remove):
8716 * testsuite/clock/clock1.c: (main):
8717 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8719 * testsuite/dlopen/loadgst.c: (do_test):
8720 * testsuite/refcounting/bin.c: (add_remove_test1),
8721 (add_remove_test2), (main):
8722 * testsuite/refcounting/element.c: (main):
8723 * testsuite/refcounting/element_pad.c: (main):
8724 * testsuite/refcounting/pad.c: (main):
8725 * tools/gst-launch.c: (sigint_handler_sighandler):
8726 * tools/gst-typefind.c: (main):
8728 Added doc about clock.
8729 removed gst_bin_iterate_recurse_up(), marked methods
8731 Fix more testsuites.
8733 2005-03-09 Wim Taymans <wim@fluendo.com>
8735 * gst/gstpad.c: (gst_pad_get_direction),
8736 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8737 (gst_pad_collect_valist):
8738 * testsuite/bins/interface.c: (main):
8739 * testsuite/caps/audioscale.c: (test_caps):
8740 * testsuite/caps/caps.c: (test1), (test2), (test3):
8741 * testsuite/caps/deserialize.c: (main):
8742 * testsuite/caps/enumcaps.c: (main):
8743 * testsuite/caps/filtercaps.c: (main):
8744 * testsuite/caps/intersect2.c: (main):
8745 * testsuite/caps/random.c: (main):
8746 * testsuite/caps/renegotiate.c: (my_fixate), (main):
8747 * testsuite/caps/sets.c: (check_caps):
8748 * testsuite/caps/simplify.c: (check_caps), (main):
8749 * testsuite/caps/subtract.c: (check_caps):
8750 Fix _pad_get_direction wrt ghostpads.
8753 2005-03-09 Wim Taymans <wim@fluendo.com>
8755 * check/Makefile.am:
8756 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8757 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8758 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8759 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8760 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8761 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8762 (gst_bin_remove), (gst_bin_iterate_recurse_up),
8763 (bin_element_is_sink), (gst_bin_iterate_sinks),
8764 (gst_bin_iterate_all_by_interface):
8766 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8767 (gst_element_change_state), (gst_element_dispose),
8768 (gst_element_finalize), (gst_element_set_loop_function):
8770 * gst/gstiterator.c: (find_custom_fold_func):
8771 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8772 (gst_pad_collectv), (gst_pad_collect_valist),
8773 (gst_pad_template_new):
8774 * gst/gstpipeline.c: (gst_pipeline_class_init),
8775 (gst_pipeline_dispose), (gst_pipeline_set_property),
8776 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8777 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8778 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8780 * gst/schedulers/entryscheduler.c:
8781 * gst/schedulers/gstbasicscheduler.c:
8782 (gst_basic_scheduler_cothreaded_chain),
8783 (gst_basic_scheduler_chain_add_element):
8784 * testsuite/bins/interface.c: (main):
8786 Added GstSystemClock test.
8787 Implemented clock distribution code in GstBin.
8788 Implemented iterate sinks method for future use.
8789 Rearranged gstelement.h
8790 Fix GstIterator comparison bug.
8791 Moved some code to GstPipeline, mostly clocking related.
8793 2005-03-09 Wim Taymans <wim@fluendo.com>
8796 * gst/gst_private.h:
8797 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8798 (gst_bin_remove_func), (gst_bin_remove),
8799 (gst_bin_get_by_name_recurse_up):
8800 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8801 (gst_clock_id_compare_func), (gst_clock_id_wait),
8802 (gst_clock_id_wait_async), (gst_clock_init),
8803 (gst_clock_adjust_unlocked), (gst_clock_get_time):
8805 * gst/gstinfo.c: (_gst_debug_init):
8807 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8808 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8810 Bump version number, we're now 0.9.0
8811 Add future debugging category.
8812 Fix NULL _unref() in _get_by_name_recurse_up
8816 2005-03-08 Wim Taymans <wim@fluendo.com>
8818 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8819 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8820 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8821 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8822 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8823 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8824 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8825 * gst/elements/gstidentity.c: (gst_identity_class_init):
8826 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8827 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8828 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8829 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8830 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8832 * gst/gstelement.c: (gst_element_class_init),
8833 (gst_element_base_class_init), (gst_element_init),
8834 (gst_element_get_random_pad), (gst_element_wait_state_change),
8835 (gst_element_change_state), (gst_element_dispose),
8836 (gst_element_finalize), (gst_element_set_loop_function):
8838 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8839 * gst/gstthread.c: (gst_thread_class_init),
8840 (gst_thread_release_children_locks), (gst_thread_change_state):
8841 * gst/schedulers/gstbasicscheduler.c:
8842 (gst_basic_scheduler_loopfunc_wrapper),
8843 (gst_basic_scheduler_chain_wrapper),
8844 (gst_basic_scheduler_src_wrapper),
8845 (gst_basic_scheduler_remove_element):
8846 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8847 Remove threadsafe properties. Fix elements because GObject
8848 complains when installing a property before declaring a
8849 set/get_property handler.
8850 Rearrange gstelement.h file, use STATE macros for state locks.
8851 Free mutexes in the finalize method instead of dispose.
8853 2005-03-08 Wim Taymans <wim@fluendo.com>
8855 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8856 * gst/gstthread.c: (gst_thread_release_children_locks):
8857 Added parentage check.
8858 Fix build og GstThread again.
8860 2005-03-08 Wim Taymans <wim@fluendo.com>
8862 * docs/design/part-MT-refcounting.txt:
8863 * docs/design/part-conventions.txt:
8864 * docs/design/part-gstobject.txt:
8865 * docs/design/part-relations.txt:
8866 * docs/design/part-standards.txt:
8867 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8868 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8869 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8870 (gst_bin_iterate_all_by_interface):
8873 * gst/gstelement.c: (gst_element_class_init),
8874 (gst_element_change_state), (gst_element_set_loop_function):
8876 * gst/gstiterator.c:
8877 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8878 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8879 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8880 (gst_object_set_parent), (gst_object_unparent),
8881 (gst_object_check_uniqueness):
8883 Docs updates, clean up some headers.
8885 2005-03-07 Wim Taymans <wim@fluendo.com>
8888 * check/Makefile.am:
8889 * check/gst-libs/.cvsignore:
8890 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8891 * check/gst/.cvsignore:
8892 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8893 (START_TEST), (gstbus_suite), (main):
8894 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8895 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8896 (gst_data_suite), (main):
8897 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8898 (add_fold_func), (gstiterator_suite), (main):
8899 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8900 (thread_name_object), (thread_name_object_default),
8901 (gst_object_name_compare), (gst_object_suite), (main):
8902 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8903 (gst_pad_suite), (main):
8904 * check/gstcheck.c: (gst_check_log_message_func),
8905 (gst_check_log_critical_func), (gst_check_init):
8907 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8908 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8911 2005-03-07 Wim Taymans <wim@fluendo.com>
8913 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8914 (gst_list_iterator_next), (gst_list_iterator_resync),
8915 (gst_list_iterator_free), (gst_iterator_new_list),
8916 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8917 (gst_iterator_free), (gst_iterator_push), (filter_next),
8918 (filter_resync), (filter_uninit), (filter_free),
8919 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8920 (gst_iterator_foreach), (find_custom_fold_func),
8921 (gst_iterator_find_custom):
8922 * gst/gstiterator.h:
8923 Added missing files.
8925 2005-03-07 Wim Taymans <wim@fluendo.com>
8929 * docs/design/part-MT-refcounting.txt:
8930 * docs/design/part-conventions.txt:
8931 * docs/design/part-gstobject.txt:
8932 * docs/design/part-relations.txt:
8933 * examples/mixer/mixer.c: (main):
8934 * examples/thread/thread.c: (eos), (main):
8936 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8937 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8938 (gst_spider_plug_from_srcpad):
8939 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8940 (gst_spider_identity_change_state),
8941 (gst_spider_identity_sink_loop_type_finding):
8942 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8943 * gst/elements/gstidentity.c: (gst_identity_init):
8944 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8945 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8946 * gst/elements/gsttypefindelement.c: (free_entry):
8949 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8950 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8951 (gst_bin_set_index), (gst_bin_set_element_sched),
8952 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8953 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8954 (gst_bin_iterate_elements), (iterate_child_recurse),
8955 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8956 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8957 (compare_interface), (gst_bin_get_by_interface),
8958 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8960 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8961 (gst_buffer_default_free), (gst_buffer_default_copy),
8962 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8963 (gst_buffer_create_sub):
8965 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8966 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8967 (gst_caps_unref), (gst_static_caps_get),
8968 (gst_caps_remove_and_get_structure), (gst_caps_append),
8969 (gst_caps_append_structure), (gst_caps_remove_structure),
8970 (gst_caps_copy_nth), (gst_caps_set_simple),
8971 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8972 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8973 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8974 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8975 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8976 (gst_caps_structure_figure_out_union),
8977 (gst_caps_switch_structures), (gst_caps_do_simplify),
8978 (gst_caps_replace), (gst_caps_from_string),
8979 (gst_caps_copy_conditional):
8981 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8982 (_gst_clock_id_free), (gst_clock_id_unref),
8983 (gst_clock_id_compare_func), (gst_clock_id_wait),
8984 (gst_clock_id_wait_async), (gst_clock_class_init),
8985 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8986 (gst_clock_get_time), (gst_clock_set_time_adjust),
8987 (gst_clock_set_property), (gst_clock_get_property):
8990 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
8991 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
8993 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8994 (gst_element_requires_clock), (gst_element_provides_clock),
8995 (gst_element_set_clock), (gst_element_clock_wait),
8996 (gst_element_wait), (gst_element_set_time_delay),
8997 (gst_element_is_indexable), (gst_element_add_pad),
8998 (gst_element_add_ghost_pad), (gst_element_remove_pad),
8999 (pad_compare_name), (gst_element_get_static_pad),
9000 (gst_element_request_pad), (gst_element_get_request_pad),
9001 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9002 (gst_element_class_get_pad_template_list),
9003 (gst_element_class_get_pad_template), (gst_element_error_func),
9004 (gst_element_get_random_pad), (gst_element_get_event_masks),
9005 (gst_element_send_event), (gst_element_seek),
9006 (gst_element_get_query_types), (gst_element_query),
9007 (gst_element_get_formats), (gst_element_convert),
9008 (gst_element_is_locked_state), (gst_element_set_locked_state),
9009 (gst_element_sync_state_with_parent), (gst_element_change_state),
9010 (gst_element_finalize), (gst_element_yield),
9011 (gst_element_interrupt), (gst_element_set_scheduler),
9012 (gst_element_get_scheduler), (gst_element_set_loop_function):
9015 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9016 (gst_format_get_by_nick), (gst_format_get_details),
9017 (gst_format_iterate_definitions):
9019 * gst/gstindex.c: (gst_index_gtype_resolver):
9022 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9023 (gst_mem_chunk_free):
9024 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9025 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9026 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9027 (gst_object_dispatch_properties_changed),
9028 (gst_object_set_name_default), (gst_object_set_name),
9029 (gst_object_get_name), (gst_object_set_name_prefix),
9030 (gst_object_get_name_prefix), (gst_object_set_parent),
9031 (gst_object_get_parent), (gst_object_unparent),
9032 (gst_object_check_uniqueness), (gst_object_save_thyself),
9033 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9034 (gst_object_set_property), (gst_object_get_property),
9035 (gst_object_get_path_string):
9037 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9038 (gst_real_pad_init), (gst_real_pad_get_property),
9039 (gst_pad_custom_new), (gst_pad_get_direction),
9040 (gst_pad_set_active), (gst_pad_is_active),
9041 (gst_pad_set_event_function), (gst_pad_is_linked),
9042 (gst_pad_link_free), (gst_pad_link_intersect),
9043 (gst_pad_link_fixate), (gst_pad_set_caps),
9044 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9045 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9046 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9047 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9048 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9049 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9050 (gst_pad_realize), (gst_pad_get_allowed_caps),
9051 (gst_real_pad_dispose), (gst_real_pad_finalize),
9052 (gst_pad_collectv), (gst_pad_collect_valist),
9053 (gst_pad_template_dispose), (gst_pad_template_new),
9054 (gst_pad_get_internal_links):
9056 * gst/gstpipeline.c: (gst_pipeline_dispose),
9057 (gst_pipeline_change_state):
9058 * gst/gstpipeline.h:
9060 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9061 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9062 * gst/gstpluginfeature.h:
9063 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9064 * gst/gstquery.c: (_gst_query_type_initialize),
9065 (gst_query_type_register), (gst_query_type_get_by_nick),
9066 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9068 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9069 * gst/gstscheduler.c: (gst_scheduler_add_element),
9070 (gst_scheduler_factory_create):
9071 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9072 (gst_structure_free), (gst_structure_set_name),
9073 (gst_structure_id_set_value), (gst_structure_set_value),
9074 (gst_structure_set_valist), (gst_structure_remove_field),
9075 (gst_structure_remove_fields),
9076 (gst_structure_remove_fields_valist),
9077 (gst_structure_remove_all_fields), (gst_structure_foreach),
9078 (gst_structure_map_in_place),
9079 (gst_caps_structure_fixate_field_nearest_int),
9080 (gst_caps_structure_fixate_field_nearest_double):
9081 * gst/gststructure.h:
9082 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9083 (gst_system_clock_init), (gst_system_clock_dispose),
9084 (gst_system_clock_async_thread),
9085 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9086 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9087 * gst/gstsystemclock.h:
9088 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9089 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9090 * gst/gsttaginterface.c:
9091 * gst/gstthread.c: (gst_thread_dispose),
9092 (gst_thread_release_children_locks), (gst_thread_change_state),
9093 (gst_thread_main_loop):
9094 * gst/gsttrashstack.h:
9095 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9097 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9098 (gst_element_request_pad), (gst_element_get_pad_from_template),
9099 (gst_element_request_compatible_pad),
9100 (gst_element_get_compatible_pad_filtered),
9101 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9102 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9103 (gst_element_link_many), (gst_element_link),
9104 (gst_element_link_pads), (gst_element_unlink_pads),
9105 (gst_element_unlink_many), (gst_element_unlink),
9106 (gst_pad_can_link_filtered), (gst_pad_can_link),
9107 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9108 (gst_object_default_error), (gst_bin_add_many),
9109 (gst_bin_remove_many), (gst_element_populate_std_props),
9110 (gst_element_class_install_std_props), (gst_buffer_merge),
9111 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9112 (link_fold_func), (gst_pad_proxy_setcaps):
9114 * gst/gstvalue.c: (gst_value_deserialize_string):
9115 * gst/parse/grammar.y:
9116 * gst/schedulers/gstbasicscheduler.c:
9117 (gst_basic_scheduler_cothreaded_chain),
9118 (gst_basic_scheduler_chain_recursive_add),
9119 (gst_basic_scheduler_pad_link):
9120 * gst/schedulers/gstoptimalscheduler.c:
9121 (get_group_schedule_function),
9122 (gst_opt_scheduler_state_transition),
9123 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9124 * libs/gst/bytestream/bytestream.c:
9125 * libs/gst/dataprotocol/dataprotocol.c:
9126 (gst_dp_header_from_buffer):
9129 * tests/threadstate/threadstate2.c: (eos):
9130 * tools/gst-compprep.c: (main):
9131 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9132 (print_pad_info), (print_children_info):
9133 * tools/gst-launch.c: (idle_func), (main):
9134 * tools/gst-md5sum.c: (idle_func), (main):
9135 * tools/gst-xmlinspect.c: (print_element_info):
9136 First THREADED backport attempt, focusing on adding locks and
9137 making sure the API is threadsafe. Needs more work. More docs
9140 2005-02-24 Andy Wingo <wingo@pobox.com>
9142 * tests/bench-complexity.scm:
9143 * tests/complexity.gnuplot: New files, good for running complexity
9146 * tests/Makefile.am:
9147 * tests/complexity.c: New test, sets up N elements, at each level
9148 teeing into M streams per element. Eeeenteresting.
9150 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9151 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9152 running bench-mass_elements.scm.
9154 * tests/bench-mass_elements.scm: New script, runs mass_elements
9155 for various numbers of identities, outputting the results to a
9156 file. Requires guile 1.6. Just for testing.
9158 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9160 * gst/schedulers/fairscheduler.c:
9161 compile with debug disabled
9163 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9166 hunting season on 0.9 is now OPEN