1 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
9 * docs/gst/Makefile.am:
10 * examples/helloworld/Makefile.am:
12 * gst/base/Makefile.am:
13 * gst/check/Makefile.am:
14 * gst/elements/Makefile.am:
15 * gst/indexers/Makefile.am:
16 * gst/parse/Makefile.am:
17 * libs/gst/controller/Makefile.am:
18 * libs/gst/dataprotocol/Makefile.am:
19 * examples/helloworld/helloworld.c: (event_loop):
20 compile fixes, though it's not being compiled currently
22 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
24 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
25 Add some simple tests for the new taglist date API.
27 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
29 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
30 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
31 Beautify 'last-message' output: print 'none' for buffer timestamps
32 and durations if none is set; improve alignment with next messages.
34 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
36 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
37 * gst/gstpluginfeature.h:
38 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
40 * docs/gst/gstreamer-sections.txt:
41 Add new API to check plugin feature version requirements.
43 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
44 Some basic tests for the above.
46 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
48 * gst/gststructure.c: (gst_structure_to_string):
49 guard against NULL printf - happens when for example
50 a message structure with GstClock gets serialized
52 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
54 * gst/base/gstcollectpads.c: (gst_collectpads_event):
55 Fix presumable copy'n'pasto.
57 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
59 * gst/elements/gstfakesrc.h:
60 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
61 * gst/elements/gsttypefindelement.c:
63 * gst/elements/gstfilesink.c: (gst_file_sink_render):
64 I wonder if this could actually write +2GB files before
66 2005-10-13 Andy Wingo <wingo@pobox.com>
68 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
69 Fix Timmeke Waymans bug.
70 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
71 string of the proper length to gst_caps_from_string. There's a
72 potential for, before this fix, that this could cause someone
73 connecting over the network to cause a segfault if the payload is
76 2005-10-13 Stefan Kost <ensonic@users.sf.net>
78 * docs/design/draft-push-pull.txt:
79 * docs/design/part-overview.txt:
80 * docs/random/TODO-pre-0.9:
81 * docs/random/old/ChangeLog.gstreamer:
82 * gst/base/gstpushsrc.c:
86 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
88 * gst/glib-compat.c: (gst_flags_get_first_value):
90 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
91 (gst_value_compare_double), (gst_value_serialize_flags):
92 GLib 2.6 g_flags_get_first_value has a bug that triggers an
95 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
97 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
98 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
100 * tools/gst-launch.c: (event_loop):
101 print out clock nicely
103 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
105 * docs/gst/gstreamer-sections.txt:
107 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
108 (gst_tag_list_get_date_index):
109 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
110 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
112 2005-10-13 Julien MOUTTE <julien@moutte.net>
114 * gst/base/gstcollectpads.c: (gst_collectpads_event),
115 (gst_collectpads_chain):
116 * gst/base/gstcollectpads.h: Handle newsegment and store informations
119 2005-10-13 Stefan Kost <ensonic@users.sf.net>
121 * docs/gst/gstreamer-sections.txt:
124 * tools/gst-inspect.c: (main):
125 * tools/gst-launch.c: (main):
126 * tools/gst-run.c: (main):
127 * tools/gst-xmlinspect.c: (main):
128 fix GOption context leaks
131 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
135 * win32/common/config.h:
137 * win32/vs6/grammar.dsp:
138 * win32/vs6/libgstelements.dsp:
139 * win32/vs6/libgstreamer.dsp:
142 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
145 * gst/base/gstbasesrc.c: (gst_base_src_query):
146 fix more guint64<->gdouble conversions
148 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
151 add win32-update target
152 * win32/common/gstconfig.h:
153 * win32/common/gstenumtypes.c:
154 * win32/common/gstenumtypes.h:
155 * win32/common/gstversion.h:
156 add files that visual studio can't generate
158 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
161 add a win32-update target
164 2005-10-12 Wim Taymans <wim@fluendo.com>
166 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
167 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
168 * gst/gstelement.c: (gst_element_commit_state),
169 (gst_element_set_state):
170 Protect flags with proper lock.
171 unref provided cached clock in dispose.
173 2005-10-12 Stefan Kost <ensonic@users.sf.net>
176 * gst/gstminiobject.h:
178 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
179 removed unused flags from miniobject
182 2005-10-12 Wim Taymans <wim@fluendo.com>
184 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
185 (gst_file_sink_event), (gst_file_sink_render):
186 Flush before seeking.
188 2005-10-12 Andy Wingo <wingo@pobox.com>
190 * gst/gst.c (gst_init_check): Ignore unknown options, as has
191 always been the case.
193 2005-10-12 Stefan Kost <ensonic@users.sf.net>
195 * check/gst/gstbin.c: (GST_START_TEST):
196 * docs/gst/gstreamer-sections.txt:
197 * gst/base/gstbasesink.c: (gst_base_sink_init):
198 * gst/base/gstbasesrc.c: (gst_base_src_init),
199 (gst_base_src_get_range), (gst_base_src_check_get_range),
200 (gst_base_src_start), (gst_base_src_stop):
201 * gst/base/gstbasesrc.h:
202 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
203 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
204 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
208 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
210 * gst/gstelement.c: (gst_element_is_locked_state),
211 (gst_element_set_locked_state), (gst_element_commit_state),
212 (gst_element_set_state):
214 * gst/gstindex.c: (gst_index_init):
216 * gst/gstminiobject.h:
217 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
218 (gst_object_set_parent):
220 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
221 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
223 * gst/gstpadtemplate.h:
224 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
225 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
227 * gst/indexers/gstfileindex.c: (gst_file_index_load),
228 (gst_file_index_commit):
229 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
230 * testsuite/pad/link.c: (gst_test_src_init),
231 (gst_test_filter_init), (gst_test_sink_init):
232 * testsuite/states/locked.c: (main):
233 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
234 moved bitshift from macro to enum definition
236 2005-10-12 Wim Taymans <wim@fluendo.com>
238 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
239 * gst/elements/gstfilesink.c: (gst_file_sink_event),
240 (gst_file_sink_render):
241 Some more debugging info.
243 2005-10-12 Wim Taymans <wim@fluendo.com>
245 * docs/design/part-states.txt:
246 * tools/gst-launch.c: (main):
248 Revert non-intentional change.
250 2005-10-12 Wim Taymans <wim@fluendo.com>
252 * check/gst/gstbin.c: (GST_START_TEST):
253 * check/gst/gstelement.c: (GST_START_TEST):
254 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
255 * check/gst/gstghostpad.c: (GST_START_TEST):
256 * check/gst/gstpipeline.c: (GST_START_TEST):
257 * check/pipelines/simple_launch_lines.c: (run_pipeline):
258 * check/states/sinks.c: (GST_START_TEST):
259 * gst/elements/gsttypefindelement.c: (stop_typefinding):
260 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
261 (gst_bin_remove_func), (gst_bin_get_state_func),
262 (gst_bin_recalc_state), (gst_bin_change_state_func),
264 * gst/gstelement.c: (gst_element_get_state_func),
265 (gst_element_get_state), (gst_element_abort_state),
266 (gst_element_commit_state), (gst_element_set_state),
267 (gst_element_change_state), (gst_element_change_state_func):
269 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
270 (gst_pipeline_provide_clock_func):
271 * gst/gstutils.c: (gst_element_link_pads_filtered):
272 * tools/gst-launch.c: (main):
273 * tools/gst-typefind.c: (main):
274 Use GstClockTime in _get_state() instead of GTimeVal.
275 Remove old code in gstutils.c
277 2005-10-12 Andy Wingo <wingo@pobox.com>
279 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
282 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
283 there is no task. Shouldn't affect any code, as nothing in our
284 plugins checks this return value.
285 (gst_pad_stop_task): Also take the stream lock if the pad has no
288 2005-10-12 Wim Taymans <wim@fluendo.com>
290 * gst/gstpad.c: (pre_activate), (post_activate),
291 (gst_pad_activate_pull), (gst_pad_activate_push):
292 Cleanup activation code. Reset old state if
295 2005-10-12 Wim Taymans <wim@fluendo.com>
297 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
298 (gst_base_sink_change_state):
299 No need to prerol after receiving EOS.
301 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
302 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
303 * gst/elements/gstidentity.c: (gst_identity_event):
304 Print events more verbosely.
306 2005-10-12 Wim Taymans <wim@fluendo.com>
309 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
310 * check/states/sinks2.c:
311 Moved sinks2 testcode in sinks check.
313 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
314 (gst_bin_remove_func), (gst_bin_recalc_state),
315 (gst_bin_change_state_func), (bin_bus_handler):
316 Fix potential race condition when _get_state() iterated over an
317 ASYNC element right before it posted a state completion.
322 * gst/gstevent.c: (gst_event_new_newsegment),
323 (gst_event_parse_newsegment):
324 A playback rate of 0.0 is not allowed.
326 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
328 * win32/common/config.h:
329 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
330 (_trewinddir), (_ttelldir), (_tseekdir):
331 * win32/common/dirent.h:
332 * win32/common/gtchar.h:
333 * win32/common/libgstbase.def:
334 * win32/common/libgstreamer.def:
335 * win32/vs6/grammar.dsp:
336 * win32/vs6/gst_inspect.dsp:
337 * win32/vs6/gst_launch.dsp:
338 * win32/vs6/gstreamer.dsw:
339 * win32/vs6/libgstbase.dsp:
340 * win32/vs6/libgstelements.dsp:
341 * win32/vs6/libgstreamer.dsp:
342 Visual Studio 6 project files, and a new common directory.
345 2005-10-11 Wim Taymans <wim@fluendo.com>
347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
348 (gst_base_sink_do_sync), (gst_base_sink_query),
349 (gst_base_sink_change_state):
350 * gst/base/gstbasesink.h:
351 Correctly parse newsegment info.
353 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
355 * gst/gst.c: (init_post):
356 split plugin paths correctly
358 2005-10-11 Wim Taymans <wim@fluendo.com>
360 * check/gst/gstevent.c: (GST_START_TEST):
361 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
362 (gst_base_sink_change_state):
363 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
364 * gst/base/gstbasetransform.c: (gst_base_transform_event):
365 * gst/elements/gstfilesink.c: (gst_file_sink_event):
366 * gst/gstevent.c: (gst_event_new_newsegment),
367 (gst_event_parse_newsegment):
369 Added extra flag to newsegment for future API freeze.
370 Updated check and base elements.
372 2005-10-11 Julien MOUTTE <julien@moutte.net>
374 * gst/base/gstcollectpads.c: (gst_collectpads_init),
375 (gst_collectpads_add_pad), (gst_collectpads_pop),
376 (gst_collectpads_event), (gst_collectpads_chain):
377 * gst/base/gstcollectpads.h: Handle EOS correctly.
379 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
381 * tools/gst-launch.c: (main):
384 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
386 * gst/gst-i18n-lib.h:
387 check for ENABLE_NLS, not GETTEXT_PACKAGE
388 * gst/gstregistry.c: (gst_registry_add_plugin),
389 (gst_registry_scan_path_level),
390 (_gst_registry_remove_cache_plugins):
391 protect possibly NULL strings
393 config.h already included before
394 * tools/gst-inspect.c: (main):
395 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
396 check for ENABLE_NLS, not GETTEXT_PACKAGE
397 * tools/gst-launch.c: (main):
398 check for ENABLE_NLS, not GETTEXT_PACKAGE
400 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
403 if we don't have glib, fail before testing 2.8
404 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
405 fix a leak, should fix plugins-base testsuite
407 2005-10-11 Andy Wingo <wingo@pobox.com>
409 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
410 take the mode we're going to as an arg. Go head and set the mode
411 and flushing flags now, so that if the activate function starts a
412 thread all the flags will be in the right state.
413 (post_activate): Renamed also. Just handle making sure streaming
414 finishes for the deactivation case, and setting the deactivated
416 (gst_pad_set_active): Complain loudly if deactivation fails.
417 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
418 (gst_pad_activate_push): Adapt to pre/post_activate changes,
419 remove the terrible hack.
421 2005-10-11 Wim Taymans <wim@fluendo.com>
423 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
424 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
425 (gst_bin_recalc_state), (gst_bin_change_state_func),
426 (gst_bin_dispose), (bin_bus_handler):
428 Prepare to make current EOS message queue more generic.
431 * gst/gstevent.c: (gst_event_new_newsegment),
432 (gst_event_parse_newsegment):
434 Rename base to stream_time.
439 2005-10-11 Wim Taymans <wim@fluendo.com>
441 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
442 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
443 (gst_bin_change_state_func), (bin_bus_handler):
445 Work on proper clock selection.
447 2005-10-11 Edward Hervey <edward@fluendo.com>
449 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
450 * libs/gst/controller/gstcontroller.h:
451 Added GList* version of _remove_properties() in order to be able to wrap
454 2005-10-11 Wim Taymans <wim@fluendo.com>
456 * docs/design/part-states.txt:
459 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
460 (gst_bin_change_state_func), (bin_bus_handler):
461 Doc updates. Don't distribute the same clock over and over again.
467 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
468 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
469 (gst_pad_send_event):
471 Make probe emission threadsafe again.
472 Register quarks and move _get_name() from utils.
475 * gst/gstpipeline.c: (gst_pipeline_class_init),
476 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
477 Only redistribute the clock of it changed.
479 * gst/gstsystemclock.h:
484 Moved the _flow_get_name() to GstPad.
486 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
488 * check/gst-libs/gdp.c: (GST_START_TEST):
489 * check/gst/gstcaps.c: (GST_START_TEST):
490 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
491 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
492 (gst_dp_packet_from_caps):
493 fix more valgrind warnings before turning up the heat
495 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
497 * gst/parse/grammar.y:
498 some cleanup before the hacking
500 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
502 * gst/base/gstbasesrc.c: (gst_base_src_query):
504 * gst/gstutils.c: (gst_guint64_to_gdouble),
505 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
507 externalize, basesrc uses it
508 obviously the implementation needs testing
510 2005-10-10 Wim Taymans <wim@fluendo.com>
512 * tests/sched/Makefile.am:
513 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
514 (make_pipeline3), (make_pipeline4), (print_elem), (main):
516 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
518 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
519 apparently converting from guint64 to double is not implemented
522 2005-10-10 Wim Taymans <wim@fluendo.com>
525 * check/generic/states.c: (GST_START_TEST):
526 * check/gst/gstbin.c: (GST_START_TEST):
527 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
528 * check/states/sinks.c: (GST_START_TEST):
529 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
531 Check fixes, use API as stated in design docs, remove hacks.
533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
534 (gst_base_sink_change_state):
535 Catch stopping our task while we're shutting down.
537 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
538 (gst_bin_remove_func), (gst_bin_get_state_func),
539 (gst_bin_recalc_state), (gst_bin_change_state_func),
542 * gst/gstelement.c: (gst_element_init),
543 (gst_element_get_state_func), (gst_element_abort_state),
544 (gst_element_commit_state), (gst_element_lost_state),
545 (gst_element_set_state), (gst_element_change_state),
546 (gst_element_change_state_func):
548 New state change algorithm (see #318116)
550 * gst/gstpipeline.c: (gst_pipeline_class_init),
551 (gst_pipeline_init), (gst_pipeline_set_property),
552 (gst_pipeline_get_property), (do_pipeline_seek),
553 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
555 Remove crude state change hacks.
560 * tools/gst-launch.c: (main):
561 Fixes for state change. Needs some more work to fully use the
564 2005-10-10 Andy Wingo <wingo@pobox.com>
566 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
568 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
569 this flag, but it's not even in GLib 2.6. Odd. Hack around the
572 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
574 * gst/gstiterator.c: (gst_iterator_new):
575 Fix my previous commit: GTypes passed to gst_iterator_new()
576 can be fundamental types.
578 2005-10-10 Wim Taymans <wim@fluendo.com>
580 * gst/gstelement.c: (gst_element_iterate_pad_list),
581 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
582 (gst_element_iterate_sink_pads):
583 Use src/sink pads lists for the respective iterators instead
586 2005-10-10 Andy Wingo <wingo@pobox.com>
588 Merged in popt removal + GOption addition patch from Ronald, bug
591 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
592 GstElement macros around, remove popt-related symbols, add goption
595 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
597 * docs/gst/Makefile.am:
598 * docs/libs/Makefile.am: No POPT_CFLAGS.
600 * examples/manual/Makefile.am:
601 * docs/manual/basics-init.xml: Doc updates with an example.
603 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
604 (gst_init), (parse_one_option), (parse_goption_arg):
605 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
606 bit of hand merging and debugging to get the GOption stuff working
611 * tools/gst-inspect.c: (main):
612 * tools/gst-launch.c: (main):
613 * tools/gst-run.c: (main):
614 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
616 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
618 * gst/gstiterator.c: (gst_iterator_new):
619 Add assertions to make sure passed GType is likely to really
620 be a GType (as the compiler won't catch it if the size and
621 GType arguments get mixed up, see #318447).
623 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
625 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
627 * gst/gstbin.c: (gst_bin_iterate_sorted):
628 Pass GType and size arguments to gst_iterator_new() in the right
629 order (maybe we should make _new() take the GType as first argument
630 just like _new_list()?) (#318447).
633 2005-10-10 Wim Taymans <wim@fluendo.com>
635 * gst/gstelement.c: (gst_element_finalize):
636 And free the GStaticRecMutex too
638 2005-10-10 Andy Wingo <wingo@pobox.com>
640 * gst/gstelement.c (gst_element_init, gst_element_finalize):
641 Allocate and free the mutex properly.
643 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
645 (GstElement): The state_lock is now recursive. Rebuild your
646 plugins, suckers. Old macros adapted.
648 * docs/gst/gstreamer-sections.txt: Doc updates.
651 * gst/gstutils.c (g_static_rec_cond_timed_wait)
652 (g_static_rec_cond_wait): Ported from state changes patch, while
653 we wait on bug #317802 to be solved in a well-distributed GLib.
655 * gst/gstelement.c (gst_element_change_state_func): Renamed from
656 gst_element_change_state, variable name changes.
657 (gst_element_change_state): Split out of gst_element_set_state in
658 preparation for the state change merge. Doesn't pay attention to
659 the 'transition' argument.
660 (gst_element_set_state): Updates, hopefully purely cosmetic.
661 (gst_element_sync_state_with_parent): MT-safety. Ported from the
663 (gst_element_get_state_func): Renamed from get_state, cosmetic
666 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
668 * gst/elements/gstelements.c:
669 * win32/GStreamer.vcproj:
671 * win32/dirent.c: (_tseekdir):
672 * win32/gst-inspect.vcproj:
673 * win32/gst-launch.vcproj:
675 * win32/gstelements.vcproj:
676 * win32/gstenumtypes.c: (gst_object_flags_get_type):
677 * win32/gstreamer.def:
679 updates for the win32 build (patch from Sebastien Moutte)
681 2005-10-10 Andy Wingo <wingo@pobox.com>
683 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
684 gst_bin_get_state, cleaned up (but no logic changes).
685 (bin_element_is_sink): Comment updates.
686 (sink_iterator_filter): Remove needless cast.
687 (gst_bin_iterate_sinks): Doc update.
688 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
689 cleaned up (but no logic changes).
691 * check/states/sinks.c (test_src_sink): Cleanups from the state
693 (test_livesrc_sink): Sync on the state.
695 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
696 the state change patch.
698 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
701 * check/gst/gstbin.c: Merge in some style fixes and additional
702 checks from Wim's state change patch.
704 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
706 * gst/base/gsttypefindhelper.c: (helper_find_peek),
707 (gst_type_find_helper):
708 Check whether we have the requested data already in our list of
709 cached buffers before pulling a new buffer; also make the buffer
710 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
712 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
717 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
718 don't use long long, it's not portable. Replacing with
719 gint64 seems to work; let's hope no skeletons fall out of the closet.
721 2005-10-10 Andy Wingo <wingo@pobox.com>
723 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
725 2005-10-09 Stefan Kost <ensonic@users.sf.net>
727 * docs/gst/gstreamer-sections.txt:
732 * gst/gstmessage.c: (gst_message_parse_state_changed):
735 more docs, fix compilation
737 2005-10-09 Philippe Khalaf <burger@speedy.org>
739 Fixed a few forgotten variables on previous commit
741 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
743 * gst/base/gsttypefindhelper.c: (helper_find_peek):
744 Fix evil typefind crasher: getrange() might return a short
745 buffer at the end of a file, but gst_type_find_peek() must
746 either return the full data as requested or NULL, but
747 never a short buffer.
749 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
751 * gst/gstmessage.c: (gst_message_new_state_changed),
752 (gst_message_parse_state_changed):
754 don't use "new", it's a C++ keyword
756 2005-10-08 Wim Taymans <wim@fluendo.com>
758 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
759 * gst/gstelement.c: (gst_element_post_message):
760 * gst/gstpipeline.c: (gst_pipeline_change_state):
761 Small docs and debug updates.
763 2005-10-08 Stefan Kost <ensonic@users.sf.net>
765 * docs/gst/gstreamer-sections.txt:
766 * gst/gstelementfactory.c:
771 2005-10-08 Wim Taymans <wim@fluendo.com>
773 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
774 (gst_bin_dispose), (bin_bus_handler):
775 Fix typos, add comments.
776 Clear EOS list when going to PAUSED from any direction and do it
778 Get base time in a threadsafe way too.
779 Fix confusing debug in the change_state function.
780 Various other small cleanups.
782 * gst/gstelement.c: (gst_element_post_message):
783 Fix very verbose bus posting code.
785 * gst/gstpipeline.c: (gst_pipeline_class_init),
786 (gst_pipeline_set_property), (gst_pipeline_get_property),
787 (gst_pipeline_change_state):
788 Small ARG_ -> PROP_ cleanup
790 2005-10-08 Wim Taymans <wim@fluendo.com>
792 * gst/gstbin.c: (is_eos), (bin_bus_handler):
793 Do a less CPU demanding EOS check because we can.
795 2005-10-08 Wim Taymans <wim@fluendo.com>
797 * libs/gst/dataprotocol/dataprotocol.c:
798 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
799 (gst_dp_packet_from_event):
800 * libs/gst/dataprotocol/dataprotocol.h:
801 * libs/gst/dataprotocol/dp-private.h:
802 It's about time we bump the version number.
803 Since event types don't fit in the guint8 anymore describing
804 the payload type, make payload type 16 bits wide.
806 2005-10-08 Wim Taymans <wim@fluendo.com>
808 * docs/design/part-TODO.txt:
809 * docs/design/part-clocks.txt:
810 * docs/design/part-events.txt:
811 * docs/design/part-gstbin.txt:
812 * docs/design/part-gstelement.txt:
813 * docs/design/part-gstpipeline.txt:
814 * docs/design/part-live-source.txt:
815 * docs/design/part-messages.txt:
816 * docs/design/part-overview.txt:
817 * docs/design/part-states.txt:
820 2005-10-08 Wim Taymans <wim@fluendo.com>
824 Fix event quark registration.
825 Add some space between events so we can insert them in the
828 2005-10-08 Wim Taymans <wim@fluendo.com>
830 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
831 (gst_base_sink_handle_buffer):
838 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
839 (gst_queue_set_property), (gst_queue_get_property):
841 Remove old unused properties.
843 2005-10-08 Stefan Kost <ensonic@users.sf.net>
844 * docs/gst/gstreamer-sections.txt:
847 * gst/gstminiobject.c:
848 * gst/gstminiobject.h:
852 lots of new docs and doc fixes
854 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
856 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
858 * gst/gstregistry.c: (gst_registry_lookup_locked),
859 (gst_registry_scan_path_level):
860 * gst/gstregistryxml.c: (load_plugin):
861 Only ever load one plugin for a given plugin basename.
862 This ensures correct overriding of GST_PLUGIN_PATH over
863 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
864 system installed plugins.
866 2005-10-08 Wim Taymans <wim@fluendo.com>
868 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
869 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
870 Prepare for doing QOS.
872 2005-10-08 Wim Taymans <wim@fluendo.com>
874 * check/gst/gstbin.c: (GST_START_TEST):
875 * check/pipelines/cleanup.c: (GST_START_TEST):
876 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
877 Allow new clock message too.
879 2005-10-08 Wim Taymans <wim@fluendo.com>
881 * gst/gstmessage.c: (gst_message_new_error),
882 (gst_message_new_warning), (gst_message_new_tag),
883 (gst_message_new_state_changed), (gst_message_new_clock_provide),
884 (gst_message_new_clock_lost), (gst_message_new_new_clock),
885 (gst_message_new_segment_start), (gst_message_new_segment_done),
886 (gst_message_parse_state_changed),
887 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
888 (gst_message_parse_new_clock):
890 Also carry the clock in question.
892 2005-10-08 Wim Taymans <wim@fluendo.com>
894 * gst/gstmessage.c: (gst_message_new_custom),
895 (gst_message_new_eos), (gst_message_new_error),
896 (gst_message_new_warning), (gst_message_new_tag),
897 (gst_message_new_state_changed), (gst_message_new_clock_provide),
898 (gst_message_new_new_clock), (gst_message_new_segment_start),
899 (gst_message_new_segment_done), (gst_message_parse_state_changed),
900 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
903 Added clock related messages.
905 * gst/gstpipeline.c: (gst_pipeline_change_state):
906 Post message when the clock changed.
908 * tools/gst-launch.c: (event_loop):
911 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
913 * tools/gst-inspect.c: (print_element_properties_info):
914 Can't pass NULL strings to g_print() on windows.
916 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
919 * docs/gst/Makefile.am:
920 * docs/gst/gstreamer-docs.sgml:
921 * docs/gst/running.xml:
922 * docs/version.entities.in:
923 add a chapter on running GStreamer.
924 document GST_DEBUG and GST_PLUGIN* env vars
926 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
931 remove PLUGINS_BUILDDIR stuff
932 * gst/gst.c: (init_post):
933 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
935 remove, it was condescending and not needed
937 2005-10-08 Wim Taymans <wim@fluendo.com>
939 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
940 (gst_base_sink_handle_object), (gst_base_sink_event),
941 (gst_base_sink_wait), (gst_base_sink_handle_event),
942 (gst_base_sink_change_state):
943 * gst/base/gstbasesink.h:
944 Repost EOS message while going to PLAYING if still EOS.
945 Make sure that when receiving a FLUSH_START we don't attempt
946 to sync on the clock anymore.
948 2005-10-08 Wim Taymans <wim@fluendo.com>
950 * tools/gst-launch.c: (event_loop):
951 Better message printout.
953 2005-10-08 Wim Taymans <wim@fluendo.com>
955 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
956 (gst_bin_child_proxy_get_children_count):
957 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
958 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
959 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
960 (gst_child_proxy_set_valist):
961 * gst/parse/grammar.y:
962 Make ChildProxy threadsafe and fix mem leaks.
964 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
966 * gst/gst.c: (init_post):
967 debug the GST_PLUGIN_ env vars
969 2005-10-08 Wim Taymans <wim@fluendo.com>
971 * check/gst/gstbin.c: (GST_START_TEST):
972 * check/gst/gstmessage.c: (GST_START_TEST):
973 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
974 * gst/gstelement.c: (gst_element_commit_state),
975 (gst_element_lost_state):
976 * gst/gstmessage.c: (gst_message_new_state_changed),
977 (gst_message_parse_state_changed):
979 * tools/gst-launch.c: (event_loop):
980 Added extra field to STATE_CHANGE message with the pending
981 state, which will be different from the new state soon.
983 2005-10-08 Wim Taymans <wim@fluendo.com>
985 * gst/gstbus.c: (gst_bus_pop):
987 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
988 Small cleanups and doc updates.
990 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
992 * gst/gst.c: (init_pre):
993 * gst/gstbin.c: (gst_bin_add_func):
994 log distributing clocks and base time
995 * gst/gstregistry.c: (gst_registry_add_plugin),
996 (gst_registry_scan_path_level), (gst_registry_scan_path):
997 clean up the debugging output a little
998 * gst/gstutils.c: (gst_element_state_get_name):
999 warn about a memleak (I've actually seen this be used, though
1000 it was probably a bug)
1002 2005-10-07 Wim Taymans <wim@fluendo.com>
1004 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1005 (gst_base_src_init), (gst_base_src_default_newsegment),
1006 (gst_base_src_newsegment), (gst_base_src_do_seek),
1007 (gst_base_src_loop), (gst_base_src_start):
1008 * gst/base/gstbasesrc.h:
1009 Make the newsegment event customizable by subclasses.
1011 2005-10-07 Wim Taymans <wim@fluendo.com>
1013 * gst/gstevent.c: (gst_event_new_buffersize),
1014 (gst_event_parse_buffersize):
1016 New event for future idea.
1018 2005-10-07 Andy Wingo <wingo@pobox.com>
1020 * gst/gstelement.c (gst_element_post_message): Doc update.
1022 * docs/gst/gstreamer-sections.txt: Update.
1024 * gst/gstmessage.c (gst_message_new_application): Made into a
1025 function like honest API calls.
1026 (gst_message_new_element): New message type.
1028 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
1030 * check/elements/fakesrc.c (test_no_preroll): New check, checks
1031 that setting a live fakesrc to PAUSED returns NO_PREROLL both
1034 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
1035 NO_PREROLL from gst_element_change_state to fall through.
1037 2005-10-07 Wim Taymans <wim@fluendo.com>
1039 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
1040 (gst_ghost_pad_do_activate_push):
1041 Activating a ghostpad with no internal pad in push mode
1044 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1047 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1048 Fixes compilation on Windows.
1050 2005-10-07 Michael Smith <msmith@fluendo.com>
1052 * tools/gst-inspect.c:
1053 Print out feature and plugin count at the end when printing out
1056 2005-10-04 Michael Smith <msmith@fluendo.com>
1058 * gst/gsterror.c: (_gst_stream_errors_init):
1059 Add another error string used in a few existing plugins.
1062 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1063 * tools/gst-inspect.c: (print_element_info):
1064 When a feature disappears from a plugin (and the feature exists in
1065 the cached registry file), things went horribly wrong. This isn't a
1066 complete fix, we should actually be removing the 'missing' features
1067 from the features list when we load the actual plugin. That's not
1070 2005-10-04 Johan Dahlin <johan@gnome.org>
1072 * check/gst/gstiterator.c: (GST_START_TEST):
1073 * gst/gstbin.c: (gst_bin_iterate_elements),
1074 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1075 * gst/gstelement.c: (gst_element_iterate_pads):
1076 * gst/gstformat.c: (gst_format_iterate_definitions):
1077 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1078 (gst_iterator_new_list), (gst_iterator_filter):
1079 * gst/gstiterator.h:
1080 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1081 Add a GType to GstIterator, update callsites and tests.
1083 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1085 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1086 give events a chance to be handled by event probes when the pad
1089 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1091 * gst/gstevent.c: (gst_event_type_get_name),
1092 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1094 add string representations for event types
1096 2005-10-06 Wim Taymans <wim@fluendo.com>
1098 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1099 Don't use NULL pointers.
1101 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1103 * gst/gst_private.h:
1107 * gst/gstpluginfeature.c:
1108 widen the debug category in output to fit the biggest one we have
1109 add a bus category and use it
1110 play with the colors
1111 fix up some categories
1113 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1115 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1116 add push activation of sink ghost pads.
1117 Andye, please verify
1119 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1121 * gst/gstutils.c: (gst_element_link_pads):
1122 fix a bug in the case where neither element has a pad
1123 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1124 add a test for that case
1126 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1128 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1129 emit have-data before checking for peers. This allows
1130 for probe handlers to connect elements. This helps autopluggers.
1131 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1133 add six checks, linked/unlinked with no/true/false probe
1135 2005-10-04 Wim Taymans <wim@fluendo.com>
1137 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1138 (gst_fake_sink_event), (gst_fake_sink_preroll),
1139 (gst_fake_sink_render), (gst_fake_sink_change_state):
1140 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1141 (gst_fake_src_get_property), (gst_fake_src_create),
1142 (gst_fake_src_stop):
1143 * gst/elements/gstidentity.c: (gst_identity_stop):
1144 Protect last_message with lock.
1146 2005-10-04 Edward Hervey <edward@fluendo.com>
1149 Added precision in the comments for GST_FORMAT_DEFAULT
1151 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1153 * tools/gst-launch.c: (main):
1154 Don't try to run erroneous pipelines.
1156 2005-10-04 Julien MOUTTE <julien@moutte.net>
1158 * gst/gstbus.c: We don't need this header.
1160 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1165 === release 0.9.3 ===
1167 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1171 Releasing 0.9.3, "Unregistered"
1173 2005-10-03 Andy Wingo <wingo@pobox.com>
1175 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1176 whereby calling a pad's activatepush() function can start a thread
1177 that starts to push or pull before the pad gets the FLUSHING flag
1178 unset. Hack around it by holding the stream lock until the flag is
1179 set. Need to replace this with a proper solution. Together with
1180 the ghost pad fixes, this fixes mp3 playing/tagreading.
1182 * docs/design/part-gstghostpad.txt: Add a note about activation of
1183 proxy pads outside of ghost pads.
1185 * gst/gstghostpad.c: Implement the ghost pad activation design.
1187 2005-10-02 Andy Wingo <wingo@pobox.com>
1189 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1190 It is volatile, after all.
1192 * docs/design/part-gstghostpad.txt: Flesh out activation with
1195 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1198 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1201 Fix (unused) AM_CONDITIONAL tests.
1203 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1205 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1207 * gst/gstutils.c: (gst_pad_query_convert):
1208 Add assertion that makes sure src_val is >=0, just like
1209 gst_query_new_convert() has. (#315895)
1211 2005-09-30 Edward Hervey <edward@fluendo.com>
1213 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1214 Let's not iterate pads we're not interested in, it avoids getting
1215 sky-high refcounts on sinkpad.
1217 2005-09-30 Wim Taymans <wim@fluendo.com>
1219 * gst/gstelement.c: (gst_element_set_state),
1220 (gst_element_change_state):
1221 Small tweak, element in ASYNC remains ASYNC.
1223 2005-09-30 Wim Taymans <wim@fluendo.com>
1225 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1226 Only error is an error.
1228 * gst/gstbin.c: (gst_bin_change_state):
1231 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1232 Also call pad_block in pad alloc.
1234 * gst/gstutils.c: (gst_flow_get_name):
1237 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1239 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1240 (gst_base_src_get_range):
1241 Fix documentation typos. Add some more debug info.
1243 2005-09-29 David Schleef <ds@schleef.org>
1245 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1246 more end-user friendly.
1247 * tools/gst-inspect.c: (main): Check if command-line argument is
1248 a file and attempt to load that file as a plugin.
1250 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1252 * check/gst/gstbin.c:
1253 * check/states/sinks.c:
1254 fix tests for the new warning
1255 * check/gst/gstpipeline.c:
1256 add a test for pipeline and bus interaction
1258 elements should be NULL if they get disposed; add a warning if not
1260 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1263 for 2.6 refcounting, make debug log more correct by printing
1264 the actual refcounts at the time of swap (Wim)
1266 2005-09-29 Andy Wingo <wingo@pobox.com>
1268 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1269 removes signal watches previously added via
1270 gst_bus_add_signal_watch.
1271 (gst_bus_add_signal_watch): Don't return the source id, just store
1272 it on the bus if there wasn't an id already.
1274 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1275 add_signal_watch and remove_signal_watch.
1277 2005-09-29 Edward Hervey <edward@fluendo.com>
1279 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1280 Better if we actually iterate the list :)
1282 2005-09-29 Wim Taymans <wim@fluendo.com>
1284 * check/gst/gstbin.c: (GST_START_TEST):
1285 Change for new bus API.
1287 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1288 (send_messages), (GST_START_TEST), (gstbus_suite):
1289 Change for new bus signal API.
1291 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1292 (gst_bus_source_prepare), (gst_bus_source_check),
1293 (gst_bus_create_watch), (gst_bus_add_watch_full),
1294 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1295 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1297 Remove support for multiple GSources operating on different
1298 message types as it is too complex and unneeded when using
1300 Added support for receiving signals from the bus.
1302 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1304 * docs/libs/tmpl/gstdataprotocol.sgml:
1305 * docs/manual/advanced-dataaccess.xml:
1306 * gst/elements/gstcapsfilter.c:
1308 rename filter-caps to caps property
1310 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1312 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1313 More robust fraction string parsing.
1315 * docs/pwg/appendix-porting.xml:
1316 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1318 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1320 * gst/gstcaps.c: (gst_caps_do_simplify):
1321 Thou shalt not free a structure and then continue using it
1322 in the next loop iteration.
1324 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1326 Add test case for caps simplification.
1328 2005-09-29 Wim Taymans <wim@fluendo.com>
1330 * check/gst/gstbin.c: (GST_START_TEST):
1333 2005-09-29 Wim Taymans <wim@fluendo.com>
1335 * check/gst/gstbin.c: (GST_START_TEST):
1338 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1339 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1340 (find_element), (gst_bin_sort_iterator_next),
1341 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1342 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1343 (gst_bin_change_state), (gst_bin_dispose):
1344 A bin does not have a bus, it gets the bus from the parent.
1346 * gst/gstelement.c: (gst_element_requires_clock),
1347 (gst_element_provides_clock), (gst_element_is_indexable),
1348 (gst_element_is_locked_state), (gst_element_change_state),
1349 (gst_element_set_bus_func):
1352 * gst/gstpipeline.c: (gst_pipeline_class_init),
1353 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1354 The pipeline provides a bus.
1356 2005-09-28 Johan Dahlin <johan@gnome.org>
1358 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1359 gst_structure_get_enum instead of gst_structure_get_int
1361 * gst/gststructure.c (gst_structure_get_enum): Impl.
1363 * gst/gststructure.h (gst_structure_get_enum): Add
1365 * docs/gst/gstreamer-sections.txt: Ditto
1367 * gst/gstmessage.c (gst_message_new_state_changed): Use
1368 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1369 which does introspection.
1370 Reviewed by Christian Schaller
1372 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1374 * gst/gstinfo.c: (gst_debug_log_default):
1375 don't do dummy g_strdup()s
1376 * libs/gst/controller/gstcontroller.c:
1377 (on_object_controlled_property_changed),
1378 (gst_controlled_property_new), (gst_controller_new_valist),
1379 (gst_controller_new_list),
1380 (gst_controller_remove_properties_valist), (gst_controller_set),
1381 (gst_controller_get), (gst_controller_sync_values),
1382 (gst_controller_get_value_array), (_gst_controller_class_init),
1383 (gst_controller_get_type):
1384 * libs/gst/controller/gstcontroller.h:
1385 * libs/gst/controller/gstinterpolation.c:
1386 (gst_controlled_property_find_timed_value_node):
1387 convert // to /**/ comments
1389 2005-09-28 Wim Taymans <wim@fluendo.com>
1391 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1392 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1393 (gst_bus_sync_signal_handler):
1395 Added async-message and sync-message signals to the bus.
1396 Added helper BusFunc to emit signals for all posted messages.
1398 * gst/gstmessage.c: (gst_message_type_get_name),
1399 (gst_message_type_to_quark), (gst_message_get_type):
1401 Register quarks for message names.
1403 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1405 * docs/libs/gstreamer-libs-sections.txt:
1406 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1407 (gst_controller_new_list):
1408 * libs/gst/controller/gstcontroller.h:
1409 added another constructor for language bindings
1411 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1413 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1417 * gst/gstinfo.c: (_gst_debug_init):
1418 slightly more readable color for refcount debugging
1420 2005-09-28 Wim Taymans <wim@fluendo.com>
1422 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1423 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1424 (find_element), (gst_bin_sort_iterator_next),
1425 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1426 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1427 (gst_bin_change_state), (gst_bin_dispose):
1428 Small doc fixes. get_clock -> provide_clock.
1430 * gst/gstelement.c: (gst_element_class_init),
1431 (gst_element_provides_clock), (gst_element_provide_clock),
1432 (gst_element_get_clock), (gst_element_commit_state),
1433 (gst_element_lost_state):
1435 Make get/set_clock() symetric. Add provide_clock vmethod since
1436 that is actually what this function does.
1438 * gst/gstpipeline.c: (gst_pipeline_class_init),
1439 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1440 (gst_pipeline_get_clock):
1441 get_clock -> provide_clock.
1443 2005-09-28 Andy Wingo <wingo@pobox.com>
1445 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1446 lieu of real docs...
1448 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1450 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
1452 * gst/elements/gstcapsfilter.c:
1453 * gst/elements/gstfakesink.c:
1454 * gst/elements/gstfakesrc.c:
1455 * gst/elements/gstfdsink.c:
1456 * gst/elements/gstfdsrc.c:
1457 * gst/elements/gstfilesink.c:
1458 * gst/elements/gstfilesrc.c:
1459 * gst/elements/gstidentity.c:
1460 * gst/elements/gsttee.c:
1461 * gst/elements/gsttypefindelement.c:
1462 Make element details static.
1464 2005-09-28 Wim Taymans <wim@fluendo.com>
1466 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1467 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1468 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1469 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1470 (gst_bin_change_state), (gst_bin_dispose):
1471 Some documentation updates.
1472 Clean up dispose handlers.
1474 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1475 * gst/gstpad.c: (gst_pad_dispose):
1476 Clean up dispose handler.
1478 * gst/gstpipeline.c: (gst_pipeline_change_state):
1479 Removed spurious UNLOCK.
1481 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1483 * docs/gst/gstreamer-sections.txt:
1484 * gst/base/gstbasesrc.h:
1489 * gst/gstpipeline.c:
1490 * gst/gstpipeline.h:
1493 added two new functions to the docs
1494 documents all undocumented GstXXXFlags
1495 completed some incomplete docs
1497 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1499 * gst/gstbin.c: (gst_bin_dispose):
1500 * gst/gstelement.c: (gst_element_dispose):
1501 remove now useless and leaky resurrection code in dispose
1502 * gst/base/gstbasesrc.c: (gst_base_src_init):
1503 * gst/gstelementfactory.c: (gst_element_factory_create):
1504 * gst/gstobject.c: (gst_object_set_parent):
1507 2005-09-27 Wim Taymans <wim@fluendo.com>
1509 * docs/design/part-TODO.txt:
1512 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1513 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1514 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1515 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1516 (gst_bin_change_state):
1518 Remove element variable, we keep element info in the iterator now.
1520 2005-09-27 Andy Wingo <wingo@pobox.com>
1522 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1525 2005-09-27 Wim Taymans <wim@fluendo.com>
1527 * check/gst/gstbin.c: (GST_START_TEST):
1528 Enable check that works now.
1530 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1531 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1532 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1533 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1534 (gst_bin_change_state):
1536 Redid the state change algorithm using a topological sort algo.
1537 Handles all cases correctly.
1538 Exposed iterator for state change order.
1541 Temp storage for state changes. Need to get rid of this soon.
1543 2005-09-27 Wim Taymans <wim@fluendo.com>
1545 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1546 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1547 (link_fold_func), (gst_pad_proxy_setcaps):
1548 Leak fixes, the fold functions need to unref the passed object and
1549 _get_parent_*() returns ref to parent.
1551 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1553 * check/gst/gstbuffer.c: (test_make_writable):
1554 Plug leak in test case and fix 'make check-valgrind'
1556 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1558 * gst/gstbuffer.c: (gst_subbuffer_init):
1559 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1560 works correctly in all circumstances (we could have just copied
1561 the parent buffer's readonly flag, but conceptually it seems
1562 cleaner to mark all subbuffers as read-only). (based on patch
1563 by Alessandro Decina, #314710).
1565 * check/gst/gstbuffer.c: (create_read_only_buffer),
1566 (test_make_writable), (test_subbuffer_make_writable),
1568 Add some tests for gst_buffer_make_writable().
1570 2005-09-27 Wim Taymans <wim@fluendo.com>
1572 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1573 use gst_object_has_ancestor().
1575 * gst/gstobject.c: (gst_object_has_ancestor):
1577 gst_object_has_ancestor() copied from gstbin.c as it is a
1580 * tests/instantiate/create.c: (create_all_elements):
1581 * tests/lat.c: (handoff_src), (handoff_sink):
1582 * tests/sched/runxml.c: (main):
1583 * tests/seeking/seeking1.c: (main):
1584 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1586 Fix compilation of some tests.
1588 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1591 Remove comment. GST_TYPE_G_ERROR is here to stay,
1592 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1595 2005-09-26 Wim Taymans <wim@fluendo.com>
1597 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1598 Added check that shows error in state change order.
1600 2005-09-26 Wim Taymans <wim@fluendo.com>
1602 * gst/gstbin.c: (gst_bin_change_state):
1603 Make state change function use 3 queues again, we were
1604 adding elements in the wrong order.
1606 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1609 * gst/gstpad.c: (gst_pad_dispose):
1610 Added some debug info first.
1612 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
1614 * docs/design/draft-push-pull.txt:
1615 * docs/design/part-events.txt:
1616 * docs/design/part-overview.txt:
1617 * docs/design/part-scheduling.txt:
1618 Replace all _pull_region() with _pull_range()
1620 2005-09-26 Andy Wingo <wingo@pobox.com>
1622 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1624 * check/gst-libs/controller.c: Update for controller api change.
1627 * tests/Makefile.am:
1628 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1629 over by GLib bug 118439.
1631 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1632 routines to a function.
1634 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1636 * libs/gst/controller/gsthelper.c:
1637 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1638 (gst_object_sync_values): Renamed from sink_values. Ugh.
1640 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1642 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1643 Renamed from controller_key, as it is exported.
1645 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1647 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
1652 * gst/gstpadtemplate.h:
1655 * gst/gstqueryutils.c:
1656 * gst/gstqueryutils.h:
1657 remove queryutils headers after moving the two used functions
1658 to gstquery. also fixes build problem for gstsiddec
1660 2005-09-26 Michael Smith <msmith@fluendo.com>
1662 * tools/gst-launch.1.in:
1663 Correct documentation in manpage of debug syntax
1665 2005-09-26 Wim Taymans <wim@fluendo.com>
1667 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1668 (gst_base_src_is_seekable), (gst_base_src_change_state):
1669 Some more debugging info.
1671 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1673 * docs/gst/gstreamer-sections.txt:
1674 * gst/base/gstbasetransform.h:
1678 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1680 * docs/gst/.cvsignore:
1681 * docs/gst/tmpl/.cvsignore:
1682 * docs/gst/tmpl/gstpipeline.sgml:
1683 * docs/gst/tmpl/gstplugin.sgml:
1684 * gst/gstpipeline.c:
1687 inlined the last two docs files
1688 removed the tmpl directory from cvs (no more conflicts here!)
1690 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1692 * docs/gst/gstreamer-sections.txt:
1693 * docs/gst/tmpl/.cvsignore:
1694 * docs/gst/tmpl/gstpad.sgml:
1695 * docs/gst/tmpl/gstpadtemplate.sgml:
1697 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1698 (gst_pad_finalize), (gst_pad_set_pad_template):
1700 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1701 (gst_pad_template_class_init), (gst_pad_template_init),
1702 (gst_pad_template_dispose), (name_is_valid),
1703 (gst_static_pad_template_get), (gst_pad_template_new),
1704 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1705 (gst_pad_template_pad_created):
1706 * gst/gstpadtemplate.h:
1707 inlined two more docs
1708 factored gstpadtemplate out of gstpad
1710 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
1712 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1713 (test_children_state_change_order_semi_sink):
1714 Fix test case: we can't rely on a fixed state change order when
1715 going from READY => PAUSED because the sink might commit its
1716 new state first when the first buffer created by the source
1717 reaches the sink before the source has finished its change state.
1718 (Test case still fails at times, see #316856, comment 5 onwards)
1720 2005-09-24 Wim Taymans <wim@fluendo.com>
1722 * docs/design/part-events.txt:
1723 * docs/design/part-gstbus.txt:
1724 * docs/design/part-gstpipeline.txt:
1725 * docs/design/part-messages.txt:
1726 * docs/design/part-overview.txt:
1727 * docs/design/part-segments.txt:
1734 * gst/gstiterator.c:
1735 Various documentation updates.
1737 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
1740 Well, that's embarassing. Luckily we weren't using
1741 GST_CLOCK_DIFF anywhere.
1743 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1745 * common/gtk-doc.mak:
1746 don't fail on building XML, FC4 slave shows a bunch of doc
1747 missing bits that I don't get
1749 * gst/gstpipeline.c:
1750 * gst/gststructure.c:
1753 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1755 * docs/design/part-gstbin.txt:
1756 * docs/design/part-gstbus.txt:
1758 Add blurb about how the bus goes into flushing mode and
1759 drops all messages when its bin goes from READY into NULL
1762 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1764 * docs/gst/gstreamer-sections.txt:
1765 * gst/gststructure.c: (gst_structure_get_clock_time):
1766 * gst/gststructure.h:
1767 add a method to get a GstClockTime out of a structure
1769 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1771 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1772 (test_children_state_change_order_semi_sink), (gst_bin_suite):
1773 Added test to check state change order in bins (can still be made
1774 to fail here under heavy disk load; bails out with 'Push on pad
1775 fakesink:sink0, but it was not activated in push mode').
1777 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1778 Fix state change order when there is only a semi sink (#316856)
1780 * gst/gstbus.c: (gst_bus_class_init):
1781 Use _class_peek_parent(), not _class_ref(); fix docs to say
1782 'default main context' instead of 'mainloop' where that is
1785 * gst/gstelement.c: (gst_element_commit_state),
1786 (gst_element_set_state):
1787 Fix typos in debug messages
1789 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1792 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1793 * gst/gstpluginfeature.c:
1796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1797 change an assert into an error until it gets fixed properly
1799 2005-09-23 Stefan Kost <ensonic@users.sf.net>
1801 * docs/gst/gstreamer-sections.txt:
1802 * docs/gst/tmpl/.cvsignore:
1803 * docs/gst/tmpl/gstelement.sgml:
1804 * docs/gst/tmpl/gstinfo.sgml:
1805 * docs/gst/tmpl/gstobject.sgml:
1810 * gst/gstobject.c: (gst_object_class_init):
1812 inlined 3 more biiiig doc files and added some missing docs on the fly
1814 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1816 * check/gst/.cvsignore:
1817 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1818 * gst/gstregistryxml.c: (load_plugin),
1819 (gst_registry_xml_save_plugin):
1820 put back source in registry. add checks for find_plugin.
1821 * testsuite/states/bin.c: (assert_state), (empty_bin),
1822 (test_adding_one_element), (main):
1823 * testsuite/states/locked.c: (main):
1824 some compile/run fixes
1826 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1828 * check/gst/gstvalue.c: (GST_START_TEST):
1829 fix leaks in the test itself
1831 2005-09-22 Wim Taymans <wim@fluendo.com>
1833 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1834 (gst_base_sink_send_event), (gst_base_sink_peer_query),
1835 (gst_base_sink_query):
1836 Prepare for more accurate position reporting and query
1839 * gst/gstelement.c: (gst_element_send_event),
1840 (gst_element_set_state):
1843 2005-09-22 Wim Taymans <wim@fluendo.com>
1845 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1846 (gst_query_parse_segment):
1849 Add segment query for future use.
1851 2005-09-22 Wim Taymans <wim@fluendo.com>
1853 * gst/gstbin.c: (gst_bin_add_func):
1854 Some more debug info.
1856 * gst/gstelement.c: (gst_element_send_event):
1860 Don't know how flags got broken.
1865 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1867 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1868 Add simplistic test suite for GST_TYPE_DATE serialisation and
1871 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1873 * docs/gst/gstreamer-sections.txt:
1874 * gst/gststructure.c: (gst_structure_set_valist),
1875 (gst_structure_get_date):
1876 * gst/gststructure.h:
1877 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1878 (gst_date_copy), (gst_value_compare_date),
1879 (gst_value_serialize_date), (gst_value_deserialize_date),
1880 (gst_value_transform_date_string),
1881 (gst_value_transform_string_date), (_gst_value_initialize):
1883 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1884 bunch of utility functions along with a hack that checks that
1885 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1886 is required. Part of the grand scheme in #170777.
1888 2005-09-22 Andy Wingo <wingo@pobox.com>
1890 * gst/gstconfig.h.in: Psych out gtk-doc.
1892 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1894 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1896 * tools/gst-inspect.c (print_element_list): Plug some
1897 inconsequential leaks.
1899 * gst/gstregistry.c (gst_registry_get_default): Doc.
1901 * check/gst/gstplugin.c:
1902 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1903 * gst/gstelementfactory.c (gst_element_factory_create):
1904 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1907 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1908 (gst_plugin_feature_load): Doc, don't eat refs.
1910 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1911 (gst_plugin_list_free): Doc.
1912 (gst_plugin_load_file): Doc updates.
1914 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1915 accessors returning refcounted objects, return a ref.
1917 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1918 accessor for caps. IDEMPOTENCE. Oh yes.
1920 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1922 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1924 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1925 (_gst_debug_register_funcptr):
1926 Add mutex to serialise access to the hash table with
1927 the function pointer => function name string mapping;
1928 make that hash table static scope (#316809).
1930 * gst/registries/.cvsignore:
1931 Remove left-over file.
1933 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1935 * docs/pwg/appendix-porting.xml:
1936 And something about newsegment events and caps-on-buffers to
1937 the porting guide (feel free to improve).
1939 2005-09-21 Andy Wingo <wingo@pobox.com>
1941 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1942 data and event probes on the same pad.
1943 (test_buffer_probe_once): Test that removing probes from within
1944 the probe functions works.
1946 2005-09-21 Andy Wingo <wingo@pobox.com>
1948 * check/gst/gstutils.c: New file.
1949 (test_buffer_probe_n_times): A simple buffer probe test. More to
1952 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1953 have-data::buffer, not have-data.
1954 (gst_pad_add_event_probe): Likewise for have-data::event.
1955 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1956 peer' isn't quite right yet though.
1957 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1958 (gst_pad_remove_data_probe): Change to take the guint handler_id
1959 as their arg, not the function+data, which is more glib-like.
1961 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1962 the signal emission to indicate if the data is a buffer or an
1964 (gst_pad_get_type): Initialize buffer and event quarks.
1965 (gst_pad_class_init): have-data is now a detailed signal, yes it
1968 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1970 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1971 * gst/gstutils.c: (gst_util_set_value_from_string),
1972 (gst_util_set_object_arg):
1973 Don't put functional code in g_return_if_fail() or
1974 g_return_val_if_fail() statements, otherwise things will
1975 break when G_DISABLE_CHECKS is defined during compilation.
1977 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1979 * docs/gst/tmpl/.cvsignore:
1980 * docs/gst/tmpl/gstvalue.sgml:
1983 inlied another one and added some obvious docs
1985 2005-09-21 Wim Taymans <wim@fluendo.com>
1987 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1988 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1989 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1990 (gst_fdsrc_get_property), (gst_fdsrc_create):
1991 * gst/elements/gstfdsrc.h:
1992 Properly implement fdsrc. Removed signal and timeout,
1993 better implemented somewhere else.
1995 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1997 * docs/gst/tmpl/.cvsignore:
1998 * docs/gst/tmpl/gstimplementsinterface.sgml:
1999 * gst/gstinterface.c:
2002 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2004 * docs/gst/gstreamer-sections.txt:
2005 * docs/gst/tmpl/.cvsignore:
2006 * docs/gst/tmpl/gstenumtypes.sgml:
2007 remove obsolete doc file
2009 2005-09-21 David Schleef <ds@schleef.org>
2011 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
2012 little beer, fix a little leak.
2014 2005-09-21 Stefan Kost <ensonic@users.sf.net>
2016 * docs/gst/gstreamer-docs.sgml:
2017 * docs/gst/gstreamer-sections.txt:
2018 * docs/gst/tmpl/.cvsignore:
2023 * gst/gstindex.c: (gst_index_class_init):
2025 * gst/gstindexfactory.c: (gst_index_factory_get_type),
2026 (gst_index_factory_class_init), (gst_index_factory_init),
2027 (gst_index_factory_finalize), (gst_index_factory_new),
2028 (gst_index_factory_destroy), (gst_index_factory_find),
2029 (gst_index_factory_create), (gst_index_factory_make):
2030 * gst/gstindexfactory.h:
2031 * gst/gstpluginfeature.c:
2032 * gst/gstpluginfeature.h:
2033 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2034 more docs inlined, splitted gstindex.{c,h}
2036 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2038 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2041 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2043 * gst/elements/gstfilesink.c: (gst_file_sink_init):
2044 Set sync to FALSE by default.
2046 2005-09-20 Wim Taymans <wim@fluendo.com>
2048 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2049 (gst_base_sink_init):
2050 Make sync property settable from subclass.
2052 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2053 (gst_fake_sink_change_state):
2054 Set sync to FALSE by default.
2056 2005-09-20 Wim Taymans <wim@fluendo.com>
2058 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2059 * tools/gst-launch.c: (main):
2060 The timeout handler should have lower priority than the source
2061 so we don't timeout before popping a message with 0 timeout.
2062 Dump error messages after failed state change.
2064 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2066 * tools/gst-inspect.c: (print_element_properties_info):
2069 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2071 * check/gst/gstevent.c:
2072 * gst/elements/gstfakesink.c:
2073 * gst/elements/gstfakesink.h:
2074 remove the sync property from fakesink.
2075 has the side effect of setting sync TRUE
2076 for fakesink, which is a change. Anyone who knows how
2077 to fix this nicely in a GObject-y way, feel free.
2079 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2081 * docs/gst/gstreamer-docs.sgml:
2082 remove probe refsection
2084 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2086 * check/Makefile.am:
2087 disable valgrinding the controller test again
2088 * docs/gst/gstreamer-sections.txt:
2089 update for api-changes
2091 2005-09-20 Wim Taymans <wim@fluendo.com>
2093 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2094 (gst_base_sink_set_property), (gst_base_sink_get_property),
2095 (gst_base_sink_do_sync):
2096 * gst/base/gstbasesink.h:
2097 Added sync property to basesink to disable clock sync.
2099 2005-09-20 Andy Wingo <wingo@pobox.com>
2101 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2102 eating the caller's refcount.
2104 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2105 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2108 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2109 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2110 of GLib 2.8 public, so we can know which refcount to check in
2113 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2114 (gst_object_init): Only set the gst refcount if we're going ahead
2115 with the refcount hack.
2117 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2119 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2120 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2121 more leaks plumbed, added more debug-logging
2125 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2128 remove include of gstmemchunk.h
2130 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2132 * gst/gstclock.c: (_gst_clock_id_free):
2133 Commit from the Political Party For More Atomic CVS Commits,
2134 so that people don't waste too much of their day fishing
2135 out obvious leaks out of massive commits.
2136 Oh, and fix a pretty damn obvious leak in the memchunk
2139 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2141 * check/Makefile.am:
2142 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2143 plug mem-leak, re-add to valgrindable tests
2145 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2148 unbreak the build for those who have chronic arthritis
2149 and typing "make check" is just too taxing on the hands
2151 2005-09-20 Andy Wingo <wingo@pobox.com>
2153 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2154 really want it out, you should fix plugins at the same time.
2156 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2159 * docs/gst/gstreamer-sections.txt:
2161 added missing symbols to api docs
2162 disable ref-count hack if we have glib >= 2.8
2164 2005-09-19 David Schleef <ds@schleef.org>
2166 * docs/gst/Makefile.am: Ignore a few more internal headers
2167 * docs/gst/gstreamer-docs.sgml: Remove old sections
2168 * docs/gst/gstreamer-sections.txt: Remove old sections
2169 * docs/gst/tmpl/gstobject.sgml: update
2170 * docs/gst/tmpl/gstplugin.sgml: update
2171 * docs/gst/tmpl/gstpluginfeature.sgml: update
2172 * docs/random/ds/0.9-suggested-changes: update.
2173 * gst/Makefile.am: remove memchunk and trashstack, since they're
2175 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2176 * gst/gst.h: don't include some headers
2177 * gst/gstchildproxy.c: add gstmarshal.h
2178 * gst/gstclock.c: Don't use memchunks
2179 * gst/gstminiobject.c: Add some docs
2180 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2181 * gst/gstobject.h: same
2182 * gst/gstplugin.c: include gstmacros.h
2183 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2184 * gst/gstquery.c: don't use memchunks
2185 * gst/gstregistry.c: rename gst_registry_deinit()
2186 * gst/gstregistry.h: same
2188 2005-09-19 David Schleef <ds@schleef.org>
2190 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2191 * docs/libs/gstreamer-libs-sections.txt:
2192 * docs/libs/tmpl/gstgetbits.sgml:
2193 * docs/libs/tmpl/gstputbits.sgml:
2195 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2197 * win32/gstenumtypes.c:
2198 * win32/gstenumtypes.h:
2201 2005-09-19 Wim Taymans <wim@fluendo.com>
2203 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2204 Automatically PAUSE and RESUME a pipeline when a flushing seek
2207 2005-09-19 Andy Wingo <wingo@pobox.com>
2209 * gst/gstregistry.h: Spacing fixen.
2211 2005-09-19 Wim Taymans <wim@fluendo.com>
2213 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2214 Handle state change failure more correctly.
2216 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2218 * check/Makefile.am:
2219 * check/pipelines/cleanup.c: (run_pipeline):
2220 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2222 enable cleanup again after fixing the leak
2224 some more info on docs
2226 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2228 * check/Makefile.am:
2229 re-enable tests now that leaks are plugged
2231 * check/gst/gstbin.c:
2232 * check/gst/gstpipeline.c:
2233 add some more tests while fixing leaks
2235 make sure binaries are uptodate when valgrinding/gdbing
2237 * gst/gstelementfactory.c:
2238 remove a ref too many, and add a FIXME for when we get
2239 round to disposing of classes
2241 fix the refcounting when loading a plugin from a file and
2242 the code pretends that the pointer is the same even though
2243 of course it can change
2244 * gst/gstpluginfeature.c:
2245 unref plugins marked cached (a bit confusing as a name)
2246 as the docs state should be done
2247 various doc additions to explain refcounting
2248 * gst/gstregistry.c:
2249 * gst/gstregistryxml.c:
2252 2005-09-19 Wim Taymans <wim@fluendo.com>
2254 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2255 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2256 (send_messages), (GST_START_TEST), (gstbus_suite):
2257 * check/gst/gstpipeline.c: (GST_START_TEST):
2258 * check/pipelines/cleanup.c: (run_pipeline):
2259 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2261 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2262 (gst_bus_source_check), (gst_bus_source_dispatch),
2263 (gst_bus_create_watch), (gst_bus_add_watch_full),
2264 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2266 * tools/gst-launch.c: (event_loop):
2267 * tools/gst-md5sum.c: (event_loop):
2268 GstBusHandler -> GstBusFunc, return value has the same meaning as
2269 any other GSource (FALSE == remove source).
2270 _add_watch() and _add_watch_full() now take a MessageType mask to
2271 only handle specific types of messages.
2272 _poll() returns the GstMessage instead of the message type to avoid
2274 _have_pending() takes a MessageType mask now too.
2275 Added testsuite for multiple bus watches.
2276 Fix testsuites and applications for new bus API.
2278 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2280 * check/Makefile.am:
2281 mark a bunch of the tests as to fix until we fix them
2283 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2286 use GST_PLUGIN settings for valgrind tests as well, so we're
2287 valgrinding the correct thing
2288 * gst/gst.c: (init_post):
2291 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2293 * gst/gst.c: (init_post), (gst_deinit):
2294 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2295 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2296 * gst/gstindex.c: (gst_index_factory_class_init),
2297 (gst_index_factory_finalize):
2298 * gst/gstobject.c: (gst_object_dispose):
2299 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2300 (gst_plugin_load_file), (gst_plugin_desc_free):
2301 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2302 (gst_plugin_feature_finalize):
2303 * gst/gstregistry.c: (gst_registry_class_init),
2304 (gst_registry_init), (gst_registry_finalize),
2305 (gst_registry_get_default), (gst_registry_deinit):
2306 * gst/gstregistry.h:
2307 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2308 various cleanups and memleak plugging. make valgrind is happy now.
2310 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2313 add a check-valgrind target
2315 2005-09-18 David Schleef <ds@schleef.org>
2317 * tools/gst-inspect.c: Revert the GOption code.
2319 2005-09-17 David Schleef <ds@schleef.org>
2321 * check/Makefile.am: Fix environment variables.
2322 * check/gst/gstplugin.c: Fix for API changes.
2323 * tools/gst-inspect.c: Fix for API changes.
2324 * tools/gst-xmlinspect.c: Fix for API changes.
2325 * gst/gstelementfactory.c:
2328 * gst/gstpluginfeature.c:
2329 * gst/gstpluginfeature.h:
2330 * gst/gstregistry.c:
2331 * gst/gstregistry.h:
2332 * gst/gstregistryxml.c:
2333 * gst/gsttypefind.c:
2334 * gst/gsttypefindfactory.c:
2335 * gst/indexers/gstfileindex.c:
2336 * gst/indexers/gstmemindex.c:
2337 * gst/schedulers/Makefile.am:
2338 Change registry to keep track of both plugins and features,
2339 removing the feature tracking from plugins themselves.
2341 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2343 * check/Makefile.am:
2344 * tools/gst-register.1.in:
2347 2005-09-15 David Schleef <ds@schleef.org>
2349 * check/gst/gstplugin.c:
2350 * gst/gstelementfactory.c:
2352 * gst/gstpluginfeature.c:
2353 * gst/gstregistry.c:
2354 Getting tired of debugging. Disabled all the unreffing of
2355 plugins and features, which fixes the segfaults, but of
2356 course leaks like crazy. At least playbin works.
2358 2005-09-15 David Schleef <ds@schleef.org>
2360 * check/gst/gstplugin.c: (register_check_elements),
2361 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2363 * gst/elements/gsttypefindelement.c: Fix refcounting.
2364 * gst/gsttypefind.c:
2365 * gst/gsttypefindfactory.c:
2366 * gst/gsttypefindfactory.h:
2368 2005-09-15 David Schleef <ds@schleef.org>
2370 * gst/gstindex.c: get refcounting correct.
2371 * gst/gstregistry.c: Handle the case where a feature/plugin is
2374 2005-09-15 David Schleef <ds@schleef.org>
2376 * check/Makefile.am:
2377 * check/gst/gstplugin.c: Add test
2378 * gst/gstplugin.c: Fix problems noticed by testsuite
2380 * gst/gstregistry.c:
2381 * gst/gstregistry.h:
2383 2005-09-15 David Schleef <ds@schleef.org>
2385 * gst/gstplugin.c: Implement semi-decent recounting and locking
2386 in plugins and plugin features.
2388 * gst/gstpluginfeature.c:
2389 * gst/gstpluginfeature.h:
2390 * gst/gstregistry.c:
2392 2005-09-15 Michael Smith <msmith@fluendo.com>
2394 * gst/gstregistry.c: (gst_registry_get_feature_list):
2395 Implement this. Makes oggdemux work; decodebin still broken.
2397 2005-09-14 David Schleef <ds@schleef.org>
2399 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2401 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2402 * gst/check/Makefile.am:
2403 * libs/gst/controller/Makefile.am:
2404 * libs/gst/dataprotocol/Makefile.am:
2406 2005-09-14 David Schleef <ds@schleef.org>
2408 * configure.ac: Remove getbits library. Nothing uses it, and
2409 it should be in something like liboil if someone did want
2411 * libs/gst/Makefile.am:
2412 * libs/gst/getbits/Makefile.am:
2413 * libs/gst/getbits/gbtest.c:
2414 * libs/gst/getbits/getbits.c:
2415 * libs/gst/getbits/getbits.h:
2416 * libs/gst/getbits/gstgetbits_generic.c:
2417 * libs/gst/getbits/gstgetbits_i386.s:
2418 * libs/gst/getbits/gstgetbits_inl.h:
2420 2005-09-14 David Schleef <ds@schleef.org>
2422 * gst/Makefile.am: Dist glib-compat.h
2424 2005-09-14 David Schleef <ds@schleef.org>
2426 * configure.ac: Remove gst/registries, since it's no longer used.
2427 * gst/registries/Makefile.am:
2428 * gst/registries/gstlibxmlregistry.c:
2429 * gst/registries/gstlibxmlregistry.h:
2430 * gst/registries/gstxmlregistry.c:
2431 * gst/registries/gstxmlregistry.h:
2432 * gst/registries/registrytest.c:
2434 2005-09-14 David Schleef <ds@schleef.org>
2436 * gst/glib-compat.h:
2437 * gst/gstregistryxml.c:
2438 Convergence is near. Seriously.
2440 2005-09-14 David Schleef <ds@schleef.org>
2442 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2443 * gst/glib-compat.h:
2444 Attempt #4 to appease the buildbots.
2446 2005-09-14 David Schleef <ds@schleef.org>
2448 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2451 2005-09-14 David Schleef <ds@schleef.org>
2453 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2456 2005-09-14 David Schleef <ds@schleef.org>
2458 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2461 2005-09-14 David Schleef <ds@schleef.org>
2463 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2464 * gst/glib-compat.h: Add some functions that are in newer versions
2465 of glib than we care to require.
2466 * gst/gstregistryxml.c: Use them.
2468 2005-09-14 David Schleef <ds@schleef.org>
2470 * po/POTFILES.in: remove gst-register.c
2472 2005-09-14 David Schleef <ds@schleef.org>
2474 * docs/gst/gstreamer-docs.sgml:
2475 * docs/gst/gstreamer-sections.txt:
2476 * docs/gst/gstreamer.types:
2477 * docs/gst/tmpl/gstelement.sgml:
2478 * docs/gst/tmpl/gstplugin.sgml:
2479 * docs/gst/tmpl/gstpluginfeature.sgml:
2480 Documentation updates for registry changes.
2482 2005-09-14 David Schleef <ds@schleef.org>
2484 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2485 because we don't require glib-2.8.
2487 2005-09-14 David Schleef <ds@schleef.org>
2489 * gst/gstregistryxml.c: Added. Essentially moved out of the
2490 registries directory.
2492 2005-09-14 David Schleef <ds@schleef.org>
2494 * check/Makefile.am:
2495 * check/generic/states.c:
2499 * gst/gst_private.h:
2500 * gst/gstelementfactory.c:
2505 * gst/gstpluginfeature.c:
2506 * gst/gstpluginfeature.h:
2507 * gst/gstregistry.c:
2508 * gst/gstregistry.h:
2509 * gst/gstregistrypool.c: remove
2510 * gst/gstregistrypool.h: remove
2511 * gst/gsttypefind.c:
2512 * gst/gsttypefindfactory.c:
2514 * tools/Makefile.am:
2515 * tools/gst-compprep.c:
2516 * tools/gst-inspect.c:
2517 * tools/gst-register.c: remove
2518 * tools/gst-xmlinspect.c:
2519 Registry rewrite. Changes registry from being a file created
2520 by a tool into a simple cache file created automatically by
2521 libgstreamer. Removed gst-register (because it's no longer
2522 needed). Remove registry pools, because we only have one
2523 registry implementation (XML). Fix up other subsystems as
2526 2005-09-13 Michael Smith <msmith@fluendo.com>
2528 * gst/gstconfig.h.in:
2529 Don't Use windows linking attributes for MinGW. Fixes #316157
2531 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2533 * gst/gstutils.c: (set_state_async_thread_func),
2534 (gst_element_set_state_async):
2535 Apparently people think it's better if this function doesn't
2536 try to set the state to whatever state was asked for on the first
2537 call to this function for any object. Seriously.
2539 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2541 * check/gst/gstpipeline.c: (GST_START_TEST):
2542 * docs/gst/gstreamer-sections.txt:
2543 * gst/gstutils.c: (set_state_async_thread_func),
2544 (gst_element_set_state_async):
2546 add a "gst_element_set_state_async" method that
2547 sets the state and starts a thread to make sure the state
2548 change completes as best as it can
2550 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2552 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2553 codify design+behaviour in testsuite after discussion
2555 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * docs/gst/tmpl/gstelement.sgml:
2558 * docs/manual/appendix-quotes.xml:
2560 * gst/gstelement.c: (gst_element_set_state):
2563 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2565 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2566 (gst_base_transform_prepare_output_buf),
2567 (gst_base_transform_handle_buffer):
2568 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2569 (gst_capsfilter_prepare_buf):
2570 Remove the requirement for sub-classes to call the parent
2571 implementation of prepare_output_buffer with a wrapper function.
2574 * gst/gsttagsetter.h:
2577 2005-09-11 Stefan Kost <ensonic@users.sf.net>
2579 * docs/gst/gstreamer-sections.txt:
2582 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2584 * docs/gst/gstreamer-sections.txt:
2585 * docs/gst/tmpl/gstelement.sgml:
2586 * docs/gst/tmpl/gstplugin.sgml:
2587 * gst/gstminiobject.c:
2589 docs now stop throwing warnings
2591 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2593 * docs/gst/gstreamer-sections.txt:
2594 * docs/gst/gstreamer.types:
2595 * docs/gst/tmpl/gstpad.sgml:
2596 * docs/gst/tmpl/gsttypes.sgml:
2597 * gst/base/gstadapter.h:
2598 * gst/base/gstbasesink.h:
2599 * gst/base/gstbasesrc.h:
2609 * gst/gststructure.c:
2610 * gst/registries/gstlibxmlregistry.h:
2611 various documentation fixes
2613 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2615 * docs/gst/gstreamer-sections.txt:
2616 * docs/gst/tmpl/gstvalue.sgml:
2617 rearrange gstvalue section
2618 * gst/gstutils.c: (gst_element_state_get_name):
2620 * gst/gstvalue.c: (_gst_value_initialize):
2624 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
2626 * check/gst-libs/controller.c:
2628 * gst/base/gstbasetransform.c:
2629 (gst_base_transform_default_prepare_buf),
2630 (gst_base_transform_handle_buffer):
2631 * gst/base/gstbasetransform.h:
2632 Some more basetransform changes and fixes to enable sub-classes
2633 that modify buffer metadata only.
2634 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2635 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2636 (gst_capsfilter_prepare_buf):
2637 If the output pad has fixed allowed caps and input buffers
2638 don't have any, set the fixed caps on outgoing buffers.
2640 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
2641 * check/elements/identity.c: (GST_START_TEST):
2642 Make the error a little clearer when the test fails because
2643 identity made a copy of the buffer.
2644 * docs/gst/gstreamer-sections.txt:
2645 New symbols in gstbasetransform.h
2646 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2647 (gst_base_transform_init), (gst_base_transform_transform_size),
2648 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2649 (gst_base_transform_default_prepare_buf),
2650 (gst_base_transform_get_unit_size),
2651 (gst_base_transform_buffer_alloc),
2652 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2653 (gst_base_transform_change_state),
2654 (gst_base_transform_set_passthrough),
2655 (gst_base_transform_set_in_place),
2656 (gst_base_transform_is_in_place):
2657 * gst/base/gstbasetransform.h:
2658 Change BaseTransform to separate in_place operate from same_caps
2659 output. in_place implies that the element can perform the transform
2660 on incoming buffers in-place, even if the caps on the output are
2662 Sub-class elements can now implement special buffer allocation
2663 methods for outgoing buffers if they wish to.
2664 Big documentation addition.
2665 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2666 * gst/elements/gstelements.c:
2667 Changes for basetransform modifications.
2668 * gst/elements/Makefile.am:
2669 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2670 Compile fix. Extra debug output.
2672 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2674 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2676 add tests for valid pad naming
2677 * gst/check/gstcheck.c: (gst_check_log_message_func),
2678 (gst_check_log_critical_func):
2680 remove printing of code, it is fragile when the code contains
2681 % and the line number is enough info
2682 * gst/check/gstcheck.h:
2683 * gst/gstpad.c: (gst_pad_template_new):
2686 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2689 say what CHECK flags we use
2690 * docs/libs/gstreamer-libs.types:
2691 * libs/gst/controller/Makefile.am:
2692 * libs/gst/controller/gst-controller.c:
2693 * libs/gst/controller/gst-controller.h:
2694 * libs/gst/controller/gst-helper.c:
2695 * libs/gst/controller/gst-interpolation.c:
2696 * libs/gst/controller/gstcontroller.c:
2697 * libs/gst/controller/gsthelper.c:
2698 * libs/gst/controller/gstinterpolation.c:
2699 * tools/gst-inspect.c: (print_plugin_info):
2700 we don't use dashes in header names
2702 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2704 * check/Makefile.am:
2705 * check/gst/.cvsignore:
2706 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2707 (gst_pipeline_suite), (main):
2708 adding a test for pipelines and state changes
2709 * gst/gstutils.c: (get_state_func):
2711 * gstreamer.spec.in:
2714 2005-09-08 Michael Smith <msmith@fluendo.com>
2716 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2717 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2718 (gst_file_src_is_seekable), (gst_file_src_get_size),
2719 (gst_file_src_start):
2720 * gst/elements/gstfilesrc.h:
2721 Various fixes for unseekable, unmmapable, and non-normal files, so
2722 that fallback to read() rather than mmap() works.
2723 * gst/gstevent.c: (gst_event_new_newsegment):
2724 Allow newsegment events with segment_start == segment_end, as will
2725 correctly happen if you use filesrc on a zero-size file, for
2728 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2730 * gst/gstplugin.c: (gst_plugin_load_file):
2731 Call g_module_close when we don't load the module
2733 * gst/registries/gstlibxmlregistry.c:
2734 (gst_xml_registry_get_property):
2735 Port leak fix from 0.8
2737 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2739 * docs/gst/gstreamer-docs.sgml:
2740 * docs/gst/tmpl/.cvsignore:
2741 * docs/gst/tmpl/gsttrace.sgml:
2742 * docs/gst/tmpl/gsttrashstack.sgml:
2751 * gst/gsttaginterface.c:
2752 * gst/gsttaginterface.h:
2755 * gst/gsttagsetter.c:
2756 * gst/gsttagsetter.h:
2759 * gst/gsttrashstack.c:
2760 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2761 inlined docs for gsttrace, gsttrashstack
2763 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2766 * gst/elements/gstbufferstore.h:
2767 * gst/elements/gsttypefindelement.c:
2768 * gst/elements/gsttypefindelement.h:
2770 * gst/gsttypefind.c:
2771 * gst/gsttypefind.h:
2772 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2773 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2774 (gst_type_find_factory_dispose),
2775 (gst_type_find_factory_unload_thyself),
2776 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2777 (gst_type_find_factory_get_caps),
2778 (gst_type_find_factory_get_extensions),
2779 (gst_type_find_factory_call_function):
2780 * gst/gsttypefindfactory.h:
2781 * gst/registries/gstlibxmlregistry.c:
2782 * gst/registries/gstxmlregistry.c:
2783 splitted gsttypefind into gsttypefind, gsttypefindfactory
2785 2005-09-07 Andy Wingo <wingo@pobox.com>
2787 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2788 condition whereby the pad's task function is entered before the
2789 pad_mode variable was set.
2791 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2793 * gst/gstpad.c: (gst_pad_alloc_buffer):
2794 Catch misbehaving pad_alloc functions that don't
2795 set up caps and do it for them.
2797 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2799 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2801 * docs/gst/tmpl/.cvsignore:
2802 * docs/gst/tmpl/gstmemchunk.sgml:
2803 * docs/gst/tmpl/gstparse.sgml:
2804 * docs/gst/tmpl/gsttaglist.sgml:
2805 * docs/gst/tmpl/gsttagsetter.sgml:
2806 * docs/gst/tmpl/gsttypefind.sgml:
2807 * docs/gst/tmpl/gsttypefindfactory.sgml:
2808 * gst/gstmemchunk.c:
2811 * gst/gsttaginterface.c:
2812 * gst/gsttypefind.c:
2813 * gst/gsttypefind.h:
2816 === release 0.9.2 ===
2818 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
2823 releasing 0.9.2, "South"
2825 2005-09-05 Andy Wingo <wingo@pobox.com>
2827 * gst/registries/gstxmlregistry.h:
2828 * gst/registries/gstxmlregistry.c: Um... resurrect...
2830 * gst/registries/gstxmlregistry.h:
2831 * gst/registries/gstxmlregistry.c: and update to newer API.
2832 Incidentally they should be a bit faster now that they don't have
2835 2005-09-05 Andy Wingo <wingo@pobox.com>
2837 * gst/registries/gstxmlregistry.h:
2838 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2839 replaced by the libxml registry a while back
2841 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2843 * docs/gst/tmpl/gstplugin.sgml:
2844 * gst/elements/gstelements.c:
2846 * gst/gstplugin.c: (gst_plugin_register_func),
2847 (gst_plugin_desc_copy), (gst_plugin_desc_free),
2848 (gst_plugin_get_source):
2850 * gst/registries/gstlibxmlregistry.c: (load_plugin),
2851 (gst_xml_registry_save_plugin):
2852 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2853 (gst_xml_registry_save_plugin):
2854 * tools/gst-inspect.c: (print_plugin_info):
2855 add a "source" plugin description field, to represent the source
2856 module this plugin is a part of. By default GST_PLUGIN_DEFINE
2857 will set it to PACKAGE, which is automake's idea of the name of
2860 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2866 * docs/faq/Makefile.am:
2867 * docs/gst/tmpl/gstelement.sgml:
2868 * docs/gst/tmpl/gsttypes.sgml:
2869 * docs/htmlinstall.mak:
2870 * docs/manual/Makefile.am:
2871 * docs/pwg/Makefile.am:
2872 reorganize doc build a little
2873 split out docbook and gtk-doc stuff
2874 have two separate --enable's and enable them through autogen
2875 but disable by default in configure (to be similar to other
2877 * gstreamer.spec.in:
2878 clean up docs install
2898 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
2900 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2903 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2904 (gst_fake_sink_change_state):
2905 Make state change function thread-safe.
2907 * gst/gstpad.c: (gst_pad_alloc_buffer):
2908 Set offset on generic buffer allocated by fallback.
2910 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2912 * docs/gst/gstreamer-sections.txt:
2913 * docs/gst/tmpl/gstelement.sgml:
2915 * libs/gst/controller/gst-controller.c:
2916 (gst_controlled_property_set_interpolation_mode),
2917 (gst_controlled_property_new),
2918 (gst_controller_find_controlled_property):
2919 run the wingo-magic script against the docs
2921 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2923 * docs/gst/gstreamer-docs.sgml:
2924 * docs/gst/gstreamer-sections.txt:
2925 * docs/gst/tmpl/.cvsignore:
2926 * docs/gst/tmpl/gstelementdetails.sgml:
2927 * docs/gst/tmpl/gstelementfactory.sgml:
2930 * gst/gstelementfactory.c:
2931 * gst/gstelementfactory.h:
2932 merged elementdetails docs into elementfactory docs
2935 2005-09-02 Andy Wingo <wingo@pobox.com>
2937 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2938 consider this enum an enum and not a flags.
2940 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2942 * docs/gst/gstreamer-docs.sgml:
2943 * docs/gst/tmpl/.cvsignore:
2944 * docs/gst/tmpl/gstghostpad.sgml:
2945 * docs/gst/tmpl/gstiterator.sgml:
2946 * docs/gst/tmpl/gstmacros.sgml:
2947 * docs/gst/tmpl/gstrealpad.sgml:
2948 * docs/gst/tmpl/gstregistry.sgml:
2949 * docs/gst/tmpl/gstregistrypool.sgml:
2950 * docs/gst/tmpl/gststructure.sgml:
2951 * docs/gst/tmpl/gstsystemclock.sgml:
2952 * docs/gst/tmpl/gsttrace.sgml:
2953 * gst/gstghostpad.c:
2955 * gst/gstmemchunk.c:
2956 * gst/gstmemchunk.h:
2958 * gst/gstregistry.c:
2959 * gst/gstregistrypool.c:
2960 * gst/gststructure.c:
2961 * gst/gstsystemclock.c:
2964 2005-09-02 Andy Wingo <wingo@pobox.com>
2966 * gst/gstelement.h (GstState): Renamed from GstElementState,
2967 changed to be a normal enum instead of flags.
2968 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2969 munged to be GST_STATE_CHANGE_*.
2970 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2971 work with the new state representation.
2972 (GstStateChange): New enumeration of possible state transitions.
2973 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2974 (GstElementClass::change_state): Pass the GstStateChange along as
2975 an argument. Helps language bindings, so they don't have to use
2976 tricky lock-needing macros like GST_STATE_CHANGE ().
2978 * scripts/update-states (file): New script. Run it on a file to
2979 update it for state naming and API changes. Updates files in
2982 * All files updated for the new API.
2984 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2986 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2987 * gst/gstutils.c: (gst_util_set_value_from_string),
2988 (gst_util_set_object_arg):
2989 fix a bunch of unchecked return values
2990 * tools/gst-complete.c: (main):
2991 * gstreamer.spec.in:
2994 2005-09-01 Wim Taymans <wim@fluendo.com>
2996 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2997 (gst_base_sink_event), (gst_base_sink_do_sync),
2998 (gst_base_sink_handle_event):
2999 * gst/base/gstbasesink.h:
3000 Handle newsegments more correctly.
3005 * gst/gstevent.c: (gst_event_new_newsegment):
3006 A newsegment cannot have a start_time of -1
3008 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
3010 * win32/gstenumtypes.c:
3011 * win32/gstenumtypes.h:
3014 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3016 * libs/gst/controller/gst-controller.c:
3017 (gst_controlled_property_set_interpolation_mode),
3018 (gst_controlled_property_new):
3021 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
3023 * docs/faq/gst-uninstalled:
3028 * gst/gstutils.c: (gst_element_link_filtered):
3030 add gst_element_link_filtered
3032 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3034 * docs/gst/gstreamer-docs.sgml:
3035 * docs/gst/gstreamer-sections.txt:
3036 * docs/gst/tmpl/.cvsignore:
3037 * docs/gst/tmpl/gsterror.sgml:
3038 * docs/gst/tmpl/gstfilter.sgml:
3039 * docs/gst/tmpl/gsturihandler.sgml:
3040 * docs/gst/tmpl/gsturitype.sgml:
3041 * docs/gst/tmpl/gstutils.sgml:
3042 * docs/gst/tmpl/gstxml.sgml:
3050 inlined more docs, fixed double id-ref
3052 2005-08-31 Wim Taymans <wim@fluendo.com>
3054 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3055 (gst_base_transform_handle_buffer):
3056 Passthrough elements don't need the caps as they don't care.
3058 2005-08-31 Wim Taymans <wim@fluendo.com>
3060 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3061 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3062 Don't leak refcounts on buffers.
3064 2005-08-31 Wim Taymans <wim@fluendo.com>
3066 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3067 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3068 (gst_base_transform_chain), (gst_base_transform_change_state):
3069 * gst/base/gstbasetransform.h:
3070 Handle the case where we are not negotiated more gracefully.
3072 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3074 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3075 (gst_file_src_map_region):
3076 Set READONLY flag on mmap'ed buffers, otherwise
3077 gst_buffer_make_writable() won't work properly (#314708).
3079 2005-08-31 Wim Taymans <wim@fluendo.com>
3081 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3082 passthrough elements can even do inplace on non writable
3083 buffers (as they don't touch them).
3085 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3087 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3088 (gst_test_mono_source_set_property),
3089 (gst_test_mono_source_class_init), (GST_START_TEST),
3090 (gst_controller_suite):
3091 more tests (hehe I have the most)
3093 describe popping messages whenusing mulltiple sources
3094 * libs/gst/controller/gst-controller.c:
3095 (gst_controlled_property_set_interpolation_mode),
3096 (gst_controlled_property_new):
3097 * libs/gst/controller/gst-controller.h:
3098 * libs/gst/controller/gst-interpolation.c:
3099 implement boolean properties
3101 2005-08-31 Wim Taymans <wim@fluendo.com>
3103 * gst/gstminiobject.c: (gst_mini_object_ref):
3104 Cannot assert that the refcount has to be positive
3105 since a disposed object can be resurrected.
3107 2005-08-31 Wim Taymans <wim@fluendo.com>
3109 * gst/gstpad.c: (gst_pad_init):
3110 Revert change, need to first fix badly behaving
3113 2005-08-30 Wim Taymans <wim@fluendo.com>
3115 * check/elements/fakesrc.c: (setup_fakesrc):
3116 * check/elements/identity.c: (setup_identity):
3117 Activate pads before using them.
3119 2005-08-30 Wim Taymans <wim@fluendo.com>
3121 * gst/base/gstadapter.c: (gst_adapter_flush):
3122 Flushing out 0 bytes is ok for this function.
3124 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3125 no newsegment gives a warning and sets the start/stop to
3128 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3129 (gst_base_transform_set_passthrough):
3132 * gst/gstminiobject.c: (gst_mini_object_ref):
3133 Check refcount here too.
3135 * gst/gstpad.c: (gst_pad_init):
3136 Pads are initially flushing and refusing data.
3138 * gst/gstutils.c: (gst_element_link_pads_filtered):
3139 When adding a capsfilter element make sure it has the
3140 same state as the parent bin.
3142 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3144 * docs/gst/tmpl/.cvsignore:
3145 * docs/gst/tmpl/gstformat.sgml:
3146 * docs/gst/tmpl/gstversion.sgml:
3150 * gst/gstversion.h.in:
3151 more docs and two more inlined
3153 2005-08-30 Wim Taymans <wim@fluendo.com>
3155 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3156 Don't sync to clock.
3158 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3160 * docs/gst/gstreamer-sections.txt:
3161 ultral33t func10ns deserve to appear in the docs actually
3162 * docs/gst/tmpl/.cvsignore:
3163 * docs/gst/tmpl/gstcompat.sgml:
3164 * docs/gst/tmpl/gstconfig.sgml:
3165 * gst/check/gstcheck.c:
3167 * gst/gstconfig.h.in:
3170 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3172 * docs/gst/tmpl/.cvsignore:
3173 * docs/gst/tmpl/gstquery.sgml:
3174 * docs/gst/tmpl/gstutils.sgml:
3177 inlined and extended docs
3179 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3181 * check/gst-libs/controller.c: (GST_START_TEST),
3182 (gst_controller_suite):
3184 * docs/gst/tmpl/gstutils.sgml:
3185 * docs/libs/gstreamer-libs-sections.txt:
3186 * docs/libs/tmpl/gstdataprotocol.sgml:
3188 * examples/controller/audio-example.c: (main):
3189 controller example works now
3192 * tools/gst-inspect.c: (print_element_properties_info):
3193 show param spec flags
3195 2005-08-29 Andy Wingo <wingo@pobox.com>
3197 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3199 2005-08-28 Andy Wingo <wingo@pobox.com>
3201 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3202 as having two arguments instead of just one. Allows superclasses
3203 to access information on subclasses -- see the terrible for() loop
3204 in gtype.c:g_type_create_instance for the reason why. All callers
3207 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3209 * docs/design/part-messages.txt:
3211 * docs/gst/tmpl/.cvsignore:
3212 * docs/gst/tmpl/gstcaps.sgml:
3213 * docs/gst/tmpl/gstclock.sgml:
3220 added descriptions for bus and message
3221 inline caps and clock docs
3223 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3229 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3231 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3234 2005-08-26 Andy Wingo <wingo@pobox.com>
3236 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3237 element_set_state's return val.
3238 (test_2_elements): Add test that's been disabled for months.
3240 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3241 can-activate-pull properties.
3243 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3244 can-activate-pull properties. Implement is_seekable so fakesrc can
3245 operate in pull mode.
3247 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3249 (gst_base_sink_activate, gst_base_sink_activate_pull)
3250 (gst_base_sink_activate_push): Make activation mode choosing work.
3252 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3253 is right. Make pull mode work. Post an eos before pausing in pull
3255 (gst_base_sink_change_state): Pay attention to the core's
3256 change_state() return val.
3258 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3259 has-getrange properties. Cleanups.
3261 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3262 has_getrange and replace with can_activate_pull and
3265 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3266 locking comments. Remove has_loop, has_chain and replace with
3267 can_activate_pull and can_activate_push.
3269 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3272 * examples/Makefile.am:
3273 * examples/metadata/Makefile.am:
3274 * examples/metadata/read-metadata.c: (message_loop),
3275 (have_pad_handler), (make_pipeline), (print_tag), (main):
3276 Add metadata reading example that loops over a list of filenames,
3277 dumping any tags found.
3279 * gst/gstbus.c: (gst_bus_dispose):
3280 * gst/gstelement.c: (gst_element_dispose):
3281 Release a few potentially-held references in dispose.
3283 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3285 * docs/gst/tmpl/gstminiobject.sgml:
3286 do *not* add tmpl/*.sgml files to CVS!
3288 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3290 * libs/gst/bytestream/.cvsignore:
3291 * libs/gst/bytestream/Makefile.am:
3292 * libs/gst/bytestream/adapter.c:
3293 * libs/gst/bytestream/adapter.h:
3294 * libs/gst/bytestream/bytestream.c:
3295 * libs/gst/bytestream/bytestream.h:
3296 * libs/gst/bytestream/filepad.c:
3297 * libs/gst/bytestream/filepad.h:
3298 removing obsolete files
3300 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3302 * docs/gst/gstreamer-docs.sgml:
3303 * docs/libs/gstreamer-libs-docs.sgml:
3304 disabed additional index entries again, as this makes docs-gen just
3305 slow and they aren't useful yet
3306 * docs/libs/gstreamer-libs-sections.txt:
3307 little -section.txt cleanup for libs
3309 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3311 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3312 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3313 fix up some debugging
3314 (gst_base_transform_get_unit_size),
3315 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3316 (gst_base_transform_handle_buffer):
3317 * gst/base/gstbasetransform.h:
3318 handle and store timed NEWSEGMENT events so that subclasses that
3319 calculate time by counting samples have a segment_start time they
3320 need to add to their timestamps - see audioresample
3322 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3325 removed ';' from the end of macro defs
3326 * docs/gst/gstreamer-docs.sgml:
3327 * docs/gst/gstreamer-sections.txt:
3328 * docs/gst/tmpl/.cvsignore:
3330 * gst/gstelement.c: (gst_element_class_init),
3331 (gst_element_set_state), (activate_pads),
3332 (gst_element_save_thyself):
3333 * gst/gstevent.c: (gst_event_new_newsegment):
3335 * gst/gstiterator.c:
3336 * gst/gstiterator.h:
3339 * gst/gstutils.c: (gst_pad_query_convert):
3341 fixed parameter name mismatches between source, header and docs
3342 added some more docs, resolved the last batch of unused elements in
3343 docs (now someone needs to doc them)
3345 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3347 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3348 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3349 don't walk through the plugins backwards. Where is all this
3350 reversed logic coming from ?
3352 2005-08-25 Wim Taymans <wim@fluendo.com>
3354 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3355 (gst_base_transform_transform_size),
3356 (gst_base_transform_configure_caps),
3357 (gst_base_transform_get_unit_size),
3358 (gst_base_transform_buffer_alloc),
3359 (gst_base_transform_change_state):
3360 * gst/base/gstbasetransform.h:
3361 Cache caps unit_size.
3362 Make sure we cannot negotiate up and downstream at the
3365 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3367 * gst/gst.c: (init_pre), (init_post):
3368 register the installed plugin path after the env var
3369 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3370 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3371 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3372 directories, so the tests can prefer uninstalled over installed
3374 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3376 * gst/base/gstbasetransform.h:
3381 2005-08-25 Wim Taymans <wim@fluendo.com>
3383 * gst/gstbin.c: (bin_bus_handler):
3384 Be a bit more conservative about the posted message.
3386 * gst/gstbus.c: (gst_bus_post):
3387 Some cleanups, warn wrong return values.
3389 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3391 * check/gst/gstbin.c: (GST_START_TEST):
3392 * gst/gstbin.c: (bin_bus_handler):
3393 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3394 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3395 (gst_message_new_warning), (gst_message_new_tag),
3396 (gst_message_new_state_changed), (gst_message_new_segment_start),
3397 (gst_message_new_segment_done), (gst_message_new_custom):
3399 * tools/gst-launch.c: (event_loop):
3400 * tools/gst-md5sum.c: (event_loop):
3401 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3403 2005-08-25 Wim Taymans <wim@fluendo.com>
3405 * check/generic/states.c: (GST_START_TEST):
3406 Cleanup can be done at the end.
3408 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3409 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3410 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3411 Oh boy.. Thanks for finding this, Thomas.
3413 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3415 * docs/gst/gstreamer.types:
3418 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3420 * docs/gst/gstreamer-docs.sgml:
3421 * docs/gst/gstreamer-sections.txt:
3422 * docs/gst/tmpl/.cvsignore:
3424 * gst/gstiterator.c:
3426 * gst/registries/gstxmlregistry.h:
3427 added missing classes and symbols (123 more to go)
3428 removed removed symbols from section file
3429 fixed many doc-comments
3431 2005-08-24 Wim Taymans <wim@fluendo.com>
3433 * check/generic/states.c: (GST_START_TEST):
3434 Make sure all tasks are stopped.
3436 * check/gst/gstbin.c: (GST_START_TEST):
3437 Unref after usage for proper valgrinding.
3439 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3440 Really wait for the task to stop before destroying the
3443 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3444 (gst_queue_src_activate_push):
3445 Small cleanups. Don't stop the task when we did not start
3448 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3449 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3450 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3453 Protect the stream lock with the object lock.
3454 Disallow setting the stream lock when running.
3455 Add cleanup_all to wait for the threadpool to finish.
3456 Remove code to autoallocate a mutex if none was provided.
3457 Add _join() to wait for a task to stop.
3458 Protect the thread pool with a global lock.
3460 2005-08-24 Wim Taymans <wim@fluendo.com>
3462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3463 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3464 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3465 * gst/base/gstbasesink.h:
3466 Handle newsegment events correctly.
3467 Drop buffers out of the segment range.
3469 2005-08-22 Andy Wingo <wingo@pobox.com>
3471 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3472 macro, implements an interface and gstimplementsinterface for a
3475 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3477 * check/Makefile.am:
3478 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3479 add a test that does a bunch of state changes on elements
3480 needs some fixing for valgrind
3481 * check/states/sinks.c: (gst_object_suite):
3484 add prototype for gst_caps_is_equal_fixed
3486 * gst/gstregistrypool.c:
3489 2005-08-24 Andy Wingo <wingo@pobox.com>
3491 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3492 convert a negative value. Doesn't make much sense. Mostly this is
3493 here to force callers to ensure -1 maps to -1.
3495 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3497 * docs/pwg/advanced-types.xml:
3498 Well done to Michael for catching my deliberate introduction
3499 of this spelling mistake.
3500 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3502 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3503 unlink pads before removing the element from the bin.
3505 2005-08-24 Andy Wingo <wingo@pobox.com>
3507 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3508 the same thing as GST_DEBUG=*:4.
3509 (parse_debug_level, parse_debug_category): New helper parsers.
3511 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3513 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3514 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3515 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3516 (gst_base_transform_buffer_alloc),
3517 (gst_base_transform_handle_buffer):
3518 use gboolean return values and pointers to size so we can use the
3519 full GST_BUFFER_SIZE range (guint) for buffer sizes
3520 use GstPadDirection for transform_caps
3521 * gst/base/gstbasetransform.h:
3522 rename get_size to get_unit_size since that's what it is
3523 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3524 use GstPadDirection for transform_caps
3525 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3527 cleanup and debugging
3529 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3531 * gst/gstelement.c: (gst_element_class_init),
3532 (gst_element_set_state), (activate_pads),
3533 (gst_element_save_thyself):
3534 * tools/gst-compprep.c: (main):
3535 * tools/gst-inspect.c: (print_element_properties_info):
3536 * tools/gst-xmlinspect.c: (print_element_properties):
3537 Fixed long standing mem-leak
3539 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3541 * check/gst/gstbin.c: (GST_START_TEST):
3542 * gst/gstbin.c: (bin_bus_handler):
3543 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3544 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3545 (gst_message_new_warning), (gst_message_new_tag),
3546 (gst_message_new_state_changed), (gst_message_new_segment_start),
3547 (gst_message_new_segment_done), (gst_message_new_custom):
3549 * tools/gst-launch.c: (event_loop):
3550 * tools/gst-md5sum.c: (event_loop):
3551 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3552 that applications can sensibly post custom messages with references
3553 to their own objects.
3555 2005-08-24 Andy Wingo <wingo@pobox.com>
3557 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3560 2005-08-24 Wim Taymans <wim@fluendo.com>
3562 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3563 (gst_base_transform_transform_caps),
3564 (gst_base_transform_transform_size),
3565 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3566 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3567 (gst_base_transform_handle_buffer):
3568 * gst/base/gstbasetransform.h:
3569 Many fixes and new features added by Thomas. Can now also do
3570 transforms with variable sizes and a custom fixate_caps function.
3572 2005-08-24 Wim Taymans <wim@fluendo.com>
3574 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3578 Cast to ClockTime before formatting to time.
3583 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3585 * check/gst-libs/controller.c: (GST_START_TEST),
3586 (gst_controller_suite):
3587 * docs/gst/tmpl/gstcaps.sgml:
3588 * docs/gst/tmpl/gstghostpad.sgml:
3589 * docs/gst/tmpl/gstquery.sgml:
3590 * docs/gst/tmpl/gstutils.sgml:
3591 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3592 (gst_object_sink_values), (gst_object_get_value_arrays),
3593 (gst_object_get_value_array):
3594 gracefully handle helper method calls to objects that are not beeing
3595 controlled, added test case for that
3597 2005-08-23 Wim Taymans <wim@fluendo.com>
3599 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3600 (gst_event_new_newsegment), (gst_event_parse_newsegment),
3601 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3602 (gst_event_parse_qos), (gst_event_new_seek),
3603 (gst_event_parse_seek):
3605 Some more debugging output and doc cleanups.
3607 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3608 Fix possible deadlock.
3610 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3612 * docs/gst/gstreamer-docs.sgml:
3613 * docs/gst/gstreamer-sections.txt:
3614 * docs/gst/gstreamer.types:
3615 * docs/gst/tmpl/.cvsignore:
3620 added 100 symbols from gstreamer-unused.txt to the right sections
3621 fixed more broken comments
3622 added GstBus to docs
3624 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3626 * docs/gst/gstreamer-sections.txt:
3627 * docs/gst/tmpl/.cvsignore:
3628 * docs/gst/tmpl/gstbin.sgml:
3629 * docs/gst/tmpl/gstbuffer.sgml:
3630 * gst/base/gstbasesrc.c:
3631 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3634 * tools/gst-launch.1.in:
3635 inlined more doc comments, added missing comments and fixed comments
3638 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
3640 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3644 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3646 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3647 * gst/gststructure.h:
3648 add a fixate function for booleans; add a FIXME that these func
3649 names should probably be gst_structure_fixate_*
3651 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3653 * docs/gst/gstreamer-docs.sgml:
3654 * docs/gst/gstreamer-sections.txt:
3656 * gst/gstbin.c: (gst_bin_get_type),
3657 (gst_bin_child_proxy_get_child_by_index),
3658 (gst_bin_child_proxy_get_children_count),
3659 (gst_bin_child_proxy_init):
3660 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3661 (gst_child_proxy_get_child_by_index),
3662 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3663 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3664 (gst_child_proxy_get), (gst_child_proxy_set_property),
3665 (gst_child_proxy_set_valist), (gst_child_proxy_set),
3666 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3667 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3668 * gst/gstchildproxy.h:
3669 * gst/parse/grammar.y:
3670 * tools/gst-inspect.c: (print_interfaces),
3671 (print_element_properties_info), (print_element_info):
3672 ported gstchildproxy over from 0.8
3673 ported gst-inspect fixes and enhancements over from 0.8
3675 2005-08-22 Wim Taymans <wim@fluendo.com>
3677 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3678 (gst_base_transform_handle_buffer):
3679 Also call the transform function if we have ANY caps.
3681 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3684 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3686 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3687 Don't pretend to handle seek events if the source is not seekable
3689 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3691 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3692 Remove extra parameter to debug output
3694 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3695 (gst_base_src_do_seek), (gst_base_src_activate_push):
3696 Fix seek event handling.
3698 * gst/gstpipeline.c: (gst_pipeline_change_state):
3699 * gst/gstqueue.c: (gst_queue_handle_sink_event),
3700 (gst_queue_src_activate_push):
3701 Don't start the src pad task on FLUSH_STOP if the pad
3705 2005-08-22 Wim Taymans <wim@fluendo.com>
3707 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3708 Added check for gst_static_caps_get() refcounting.
3710 2005-08-22 Wim Taymans <wim@fluendo.com>
3712 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3713 Make _static_caps_get() refcounting sane.
3715 * gst/gstelement.c: (gst_element_set_state):
3716 Add g_return_val_if_fail() to protect against segfaults.
3718 2005-08-22 Stefan Kost <ensonic@users.sf.net>
3720 * docs/gst/tmpl/gstevent.sgml:
3723 inlined remaining docs, added missing doc comments
3725 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
3727 * check/gst/gstbin.c: (GST_START_TEST):
3728 since we don't know when preroll is done, use refcount range
3730 * gst/check/gstcheck.h:
3731 add macro for checking refcount range
3733 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3735 * check/Makefile.am:
3736 clean up environment for when registry gets built versus
3737 when actual tests are run; valgrind seems to not report
3738 leaks if GST_PLUGIN_PATH is set to some specific values
3739 * check/gst/gstbin.c: (GST_START_TEST):
3740 add more refcounting checks; maybe this exposes a
3743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3744 * gst/check/gstcheck.h:
3745 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3746 (gst_bin_change_state):
3747 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3748 add/fix debugging/whitespace
3750 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3752 * check/gst/gstevent.c: (event_probe), (test_event),
3754 Er, don't call gst_bin_watch_for_state_change you idiot.
3756 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3758 * check/Makefile.am:
3759 Use CHECK_CFLAGS and CHECK_LIBS
3760 * check/gst/gstevent.c: (event_probe), (test_event),
3763 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3764 (gst_base_src_start), (gst_base_src_stop),
3765 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3766 (gst_base_src_change_state):
3767 Sprinkle gst_base_src_stop liberally around error paths to fix
3768 problems reusing a source after failed state changes.
3769 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3770 (helper_find_suggest), (gst_type_find_helper):
3771 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3773 * docs/gst/tmpl/gstevent.sgml:
3774 Migrate part of the docs from the SGML file. Wait for ensonic to
3775 tell me how I did it wrong ;)
3776 * tools/gst-typefind.c: (main):
3777 Extra robustness to state changes between files.
3779 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3781 * check/Makefile.am:
3782 don't valgrind the controller test - it's leaking - Stefan, HELP
3783 * gst/check/gstcheck.c: (gst_check_message_error),
3784 (gst_check_chain_func), (gst_check_setup_element),
3785 (gst_check_teardown_element), (gst_check_setup_src_pad),
3786 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3787 (gst_check_teardown_sink_pad):
3788 * gst/check/gstcheck.h:
3789 add a bunch of methods to set up elements, and src and sink pads
3790 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3791 * check/elements/identity.c: (setup_identity), (cleanup_identity),
3796 whitespace/doc fixes
3798 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3801 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3802 be handled by the application and not always printed as well
3804 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3806 * check/Makefile.am:
3808 * gst/check/gstcheck.c: (gst_check_message_error):
3809 * gst/check/gstcheck.h:
3810 add a fail_unless_equals_int
3811 add fail_unless for error messages
3813 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3815 * check/Makefile.am:
3817 * common/Makefile.am:
3820 factor out some of the common stuff so we can use it
3822 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3824 * check/Makefile.am:
3825 * check/gst/gstiterator.c: (GST_START_TEST):
3826 * check/gst/gstsystemclock.c: (GST_START_TEST),
3827 (gst_systemclock_suite):
3828 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3832 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3834 * check/elements/.cvsignore:
3835 * check/elements/gstfakesrc.c:
3836 rename to name of element
3837 * check/elements/identity.c: (chain_func), (event_func),
3838 (setup_identity), (cleanup_identity), (GST_START_TEST),
3839 (identity_suite), (main):
3840 add a test for identity
3841 * check/Makefile.am:
3842 * pkgconfig/Makefile.am:
3843 * pkgconfig/gstreamer-check.pc.in:
3844 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3848 move the check stuff to a library that gets installed
3849 * check/gst-libs/controller.c: (GST_START_TEST):
3850 * check/gst-libs/gdp.c:
3851 * check/gst/gst.c: (GST_START_TEST):
3852 * check/gst/gstbin.c:
3853 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3854 * check/gst/gstbus.c:
3855 * check/gst/gstcaps.c: (GST_START_TEST):
3856 * check/gst/gstelement.c:
3857 * check/gst/gstghostpad.c:
3858 * check/gst/gstiterator.c:
3859 * check/gst/gstmessage.c:
3860 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3861 * check/gst/gstobject.c:
3862 * check/gst/gstpad.c: (GST_START_TEST):
3863 * check/gst/gststructure.c: (GST_START_TEST):
3864 * check/gst/gstsystemclock.c: (GST_START_TEST),
3865 (gst_systemclock_suite):
3866 * check/gst/gsttag.c: (gst_tag_suite):
3867 * check/gst/gstvalue.c:
3868 * check/pipelines/cleanup.c:
3869 * check/pipelines/simple_launch_lines.c:
3870 * check/states/sinks.c:
3871 change include statement
3873 * docs/gst/gstreamer-sections.txt:
3874 * docs/gst/tmpl/gstpad.sgml:
3875 document more pad stuff
3876 * gst/gstminiobject.c: (gst_mini_object_ref),
3877 (gst_mini_object_unref):
3880 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3882 * docs/gst/tmpl/gst.sgml:
3884 eliminate another tmpl file, fix spelling in the long-description
3886 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3888 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3889 (test_event), (timediff), (gstevents_suite):
3890 Should fix build on 64-bit arch's
3892 2005-08-18 Andy Wingo <wingo@pobox.com>
3894 Make sure that when a pipeline goes to PLAYING, that data has
3895 actually hit the sink.
3897 * check/states/sinks.c (test_sink): A sink that doesn't get any
3898 data shouldn't return SUCCESS for going to either PLAYING or
3899 PAUSED. Test also the return values on the way back down.
3901 * gst/gstelement.c (gst_element_set_state): When changing the
3902 state of an element currently changing state asynchronously, go to
3903 lost-state after commiting the pending state. Makes future calls
3904 to get_state continue to return ASYNC.
3906 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3907 ASYNC when going to PLAYING if we still don't have preroll, as can
3908 happen with live sources.
3910 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3912 * docs/pwg/advanced-types.xml:
3913 Hack long paragraph into 2 chunks as a workaround for buggy
3914 jadetex version in sid and breezy that loops infinitely and
3917 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3919 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3920 (test_event), (timediff), (gstevents_suite):
3921 Provide more error margin in clock measurements to allow for
3922 g_get_current_time inaccuracies.
3924 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3926 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3927 (test_event), (timediff), (gstevents_suite):
3928 Fix error message output so I might be able to tell why the
3929 test works here but fails on the build farm.
3931 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3933 * check/Makefile.am:
3934 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3935 (test_event), (timediff), (gstevents_suite), (main):
3938 * docs/design/part-seeking.txt:
3941 * docs/gst/tmpl/gstevent.sgml:
3942 * docs/gst/tmpl/gstfakesrc.sgml:
3945 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3946 Treat a buffer-without-newsegment the same as a receiving
3947 a newsegment not in time format, and disable syncing to the clock
3950 * gst/gstbus.c: (gst_bus_set_sync_handler):
3951 Assert if anyone tries to replace the existing sync_handler for bus,
3952 as only the owner should be setting it.
3955 Have a fixed set of custom event enums with events identified by
3956 their structure name (as in 0.8), rather than a free-for-all
3957 allowing collisions between enum values from different plugins.
3959 * gst/gstpad.c: (gst_pad_class_init):
3962 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3963 Handle out-of-band downstream events from the sending thread.
3965 2005-08-17 Andy Wingo <wingo@pobox.com>
3967 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3968 play-timeout==0 to mean no timeout at all. In that case, don't
3969 bother with a get_state or a warning, just return directly, even
3972 * gst/base/gstbasetransform.c: Debug changes.
3975 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3976 ensure bins post state change messages. A bit of a hack but I can't
3977 think of a way to avoid it.
3979 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3981 2005-08-16 Andy Wingo <wingo@pobox.com>
3983 * gst/base/gstadapter.h:
3984 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3985 peek() but you own the data. Not terribly efficient atm.
3987 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3989 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3990 (gst_element_found_tags):
3992 Add two utility functions for tag handling.
3994 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3996 * docs/manual/advanced-dataaccess.xml:
3997 * docs/manual/basics-helloworld.xml:
3998 Fix docs to use _bin_add() before _link(), which fixes the examples
3999 with recent core versions (reported by Madhan Raj M
4000 <raj_madan@rediffmail.com>, #313199).
4002 2005-08-16 Wim Taymans <wim@fluendo.com>
4004 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4005 Added subtract checks.
4007 * docs/design/part-events.txt:
4008 Some more docs about newsegment
4010 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
4013 * gst/gstcaps.c: (gst_caps_to_string):
4014 Add comments, cleanups.
4016 * gst/gstelement.c: (gst_element_save_thyself):
4019 * gst/gstvalue.c: (gst_value_collect_int_range),
4020 (gst_string_unwrap), (gst_value_union_int_int_range),
4021 (gst_value_union_int_range_int_range),
4022 (gst_value_intersect_int_int_range),
4023 (gst_value_intersect_int_range_int_range),
4024 (gst_value_intersect_double_double_range),
4025 (gst_value_intersect_double_range_double_range),
4026 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
4027 (gst_value_subtract_int_range_int),
4028 (gst_value_subtract_double_range_double),
4029 (gst_value_subtract_double_range_double_range),
4030 (gst_value_subtract_from_list), (gst_value_subtract_list),
4031 (gst_value_can_compare), (gst_value_compare_fraction):
4032 Cleanups, add comments, remove unneeded asserts.
4034 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4036 * tools/gst-launch.c: (event_loop):
4037 don't convert NULL structures to strings
4039 2005-08-15 Stefan Kost <ensonic@users.sf.net>
4041 * docs/gst/gstreamer-sections.txt:
4042 made some defines private
4043 * docs/gst/tmpl/gstconfig.sgml:
4044 * docs/gst/tmpl/gstqueue.sgml:
4045 * docs/gst/tmpl/gsttaglist.sgml:
4046 * docs/gst/tmpl/gsttypes.sgml:
4047 * docs/gst/tmpl/gstutils.sgml:
4048 * docs/pwg/appendix-porting.xml:
4049 * gst/base/gstbasesink.h:
4050 * gst/base/gstbasesrc.c:
4051 * gst/base/gstbasesrc.h:
4052 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4053 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4054 * gst/gstelement.c: (gst_element_class_init):
4055 * gst/gstpad.c: (gst_pad_class_init):
4056 * gst/gstqueue.c: (gst_queue_class_init):
4057 * gst/gstxml.c: (gst_xml_class_init):
4058 documented all undocumented signal inline
4059 * libs/gst/controller/gst-controller.h:
4062 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4064 * docs/pwg/appendix-porting.xml:
4065 Document _set_link_function -> _set_setcaps_function.
4067 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4069 * check/Makefile.am:
4070 add a .check target for running the check
4071 * check/gst-libs/controller.c: (GST_START_TEST):
4073 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4074 complete checks for gstbuffer; would be nice if I could get the
4075 gcov stuff to work so I can see if I actually completed gstbuffer.c
4077 add ASSERT_BUFFER_REFCOUNT
4079 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4081 * docs/gst/gstreamer-sections.txt:
4082 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4084 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4085 spew out a warning if a tag that is already registered
4086 is re-registered, unless it is re-registered with a
4087 different type (#308438).
4089 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4091 * docs/pwg/appendix-porting.xml:
4092 * docs/pwg/building-state.xml:
4093 Add some paragraphs about state changes in 0.9 to the PWG
4094 and the porting guide, in particular about the new meaning
4095 of GST_STATE_PAUSED and how to write state change functions
4096 with concurrent access by multiple threads in mind.
4098 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4100 * docs/gst/gstreamer-docs.sgml:
4101 * docs/libs/gstreamer-libs-docs.sgml:
4102 added deprecation and since indexes
4103 * libs/gst/controller/gst-controller.c:
4104 * libs/gst/controller/gst-helper.c:
4108 2005-08-11 Wim Taymans <wim@fluendo.com>
4110 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4111 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4112 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4113 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4114 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4115 (gst_ghost_pad_set_target):
4116 Actually implement (re)setting the target on a ghostpad
4117 as described in the docs.
4119 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4121 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4122 Check whether GST_DEBUG_NO_COLOR environment variable is
4123 set and disable coloured debug output if that is the case.
4125 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4127 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4128 (gst_type_find_helper):
4129 The memory returned by gst_type_find_peek() needs to
4130 stay valid until the end of a typefind function, and
4131 typefind functions may keep results from different
4132 offsets around, so we can't just unref the buffer from
4133 the previous _peek(), but have to save all buffers
4134 returned by _peek() until typefinding is done and only
4137 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4139 * docs/gst/gstreamer-sections.txt:
4141 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4143 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4145 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4146 Fix a pretty good memleak.
4148 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4150 * gst/gstiterator.h:
4151 Fix wrong include and 'make distcheck'.
4153 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4155 * gst/gstbin.c: (bin_bus_handler):
4156 Use gst_element_post_message() instead.
4158 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4160 * gst/base/gstadapter.h:
4161 * gst/base/gstbasesink.h:
4162 * gst/base/gstbasesrc.h:
4163 * gst/base/gstbasetransform.h:
4164 * gst/base/gstcollectpads.h:
4165 * gst/base/gstpushsrc.h:
4166 * gst/gstiterator.h:
4167 Add padding to our base elements' class and instance structs and
4168 to GstIterator (you will need to rebuild all plugins and apps!)
4170 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4172 * gst/gstbin.c: (bin_bus_handler):
4173 Make default message forwarding from child->bus to bin->bus
4174 threadsafe and make it not emit warnings if the parent has no bus.
4176 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4178 * gst/gstelement.c: (activate_pads):
4179 On paused->ready, set pad->caps to NULL, as is the documented
4180 behaviour in this state change. Fixes playback of series of
4181 media files when visualization is enabled in Totem.
4183 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4185 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4186 Allow NULL as filter-caps (which means "any").
4188 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4190 * docs/libs/gstreamer-libs-sections.txt:
4191 * libs/gst/controller/gst-controller.c:
4192 * libs/gst/controller/gst-controller.h:
4193 * libs/gst/controller/gst-helper.c:
4194 adding more entries to the docs and fix small doc-bugs
4196 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4198 * docs/gst/gstreamer-docs.sgml:
4199 * docs/gst/gstreamer-sections.txt:
4200 * docs/gst/gstreamer.types:
4201 * docs/gst/tmpl/gstbasesink.sgml:
4202 * docs/gst/tmpl/gstbasesrc.sgml:
4203 * docs/gst/tmpl/gstbasetransform.sgml:
4204 * docs/gst/tmpl/gstfakesrc.sgml:
4205 * gst/base/gstcollectpads.c:
4206 * gst/base/gstcollectpads.h:
4207 * libs/gst/controller/gst-controller.c:
4208 * libs/gst/controller/gst-controller.h:
4209 * libs/gst/controller/gst-helper.c:
4210 * libs/gst/controller/gst-interpolation.c:
4211 * libs/gst/controller/lib.c:
4212 added long/short desc for controller docs
4213 added collectpads base class docs
4214 added correct includes to base-class docs
4216 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4218 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4219 (gst_test_mono_source_set_property),
4220 (gst_test_mono_source_class_init), (GST_START_TEST),
4221 (gst_controller_suite):
4222 * docs/gst/gstreamer-docs.sgml:
4223 * docs/gst/gstreamer-sections.txt:
4224 * docs/gst/gstreamer.types:
4225 * docs/libs/gstreamer-libs-docs.sgml:
4226 * docs/libs/gstreamer-libs-sections.txt:
4227 * gst/base/gstadapter.c:
4228 * libs/gst/controller/gst-controller.c:
4229 (gst_controlled_property_new), (gst_controlled_property_free),
4230 (gst_controller_new_valist),
4231 (gst_controller_remove_properties_valist),
4232 (gst_controller_sink_values), (_gst_controller_finalize):
4233 * libs/gst/controller/gst-controller.h:
4234 * libs/gst/controller/gst-helper.c:
4235 (gst_object_control_properties), (gst_object_uncontrol_properties),
4236 (gst_object_get_controller), (gst_object_set_controller),
4237 (gst_object_sink_values), (gst_object_get_value_arrays),
4238 (gst_object_get_value_array):
4239 more tests (and fixes) for the controller
4240 more docs for the controller
4241 integrated companies docs for the adapter
4243 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4245 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4246 (GST_START_TEST), (fakesrc_suite):
4247 add tests for sizetype
4249 2005-08-04 Andy Wingo <wingo@pobox.com>
4251 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4252 fixes buffer_alloc proxying among other things.
4254 * gst/base/gstbasetransform.c:
4255 * gst/base/gstbasetransform.h:
4256 Revert patch to gstbasetransform from 7-28 removing
4259 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4260 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4261 Semantics changed, should return not the size of the output buffer
4262 but the byte size of a buffer with a given caps.
4264 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4266 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4267 out) are not the pad caps until setcaps finishes.
4268 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4269 not-in-place case as well. Deal with changing from in-place to
4270 not-in-place within calling pad_alloc_buffer. Still a bit
4271 concerned about the overhead here...
4273 2005-08-03 Andy Wingo <wingo@pobox.com>
4275 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4276 fixating is an error.
4278 2005-08-04 Edward Hervey <edward@fluendo.com>
4280 * gst/base/gstadapter.h:
4281 Added gst_adapter_get_type() to the header
4283 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4285 * check/Makefile.am:
4286 * check/gst-libs/controller.c:
4287 * libs/gst/controller/gst-controller.c:
4288 (gst_controller_new_valist):
4289 added check test suite for the controller
4290 * gst/base/gstpushsrc.c:
4293 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4295 * docs/gst/Makefile.am:
4296 * docs/gst/gstreamer-docs.sgml:
4297 * docs/gst/gstreamer-sections.txt:
4298 * docs/gst/gstreamer.types:
4299 * docs/gst/tmpl/gstfakesrc.sgml:
4301 * gst/base/gstbasesink.c:
4302 * gst/base/gstbasesink.h:
4303 * gst/base/gstbasesrc.c:
4304 * gst/base/gstbasesrc.h:
4305 * gst/base/gstbasetransform.c:
4306 * gst/base/gstpushsrc.c:
4307 * gst/base/gstpushsrc.h:
4308 add short/long description docs to base classes
4309 add pushsrc to the docs
4310 remove consolidated doc fragments
4312 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4315 * docs/libs/Makefile.am:
4316 * docs/libs/gstreamer-libs-docs.sgml:
4317 * docs/libs/gstreamer-libs-sections.txt:
4318 * docs/libs/gstreamer-libs.types:
4319 * examples/Makefile.am:
4320 * examples/controller/.cvsignore:
4321 * examples/controller/Makefile.am:
4322 * examples/controller/audio-example.c: (main):
4323 * libs/gst/Makefile.am:
4324 * libs/gst/controller/.cvsignore:
4325 * libs/gst/controller/Makefile.am:
4326 * libs/gst/controller/gst-controller.c:
4327 (on_object_controlled_property_changed), (gst_timed_value_compare),
4328 (gst_timed_value_find),
4329 (gst_controlled_property_set_interpolation_mode),
4330 (gst_controlled_property_new), (gst_controlled_property_free),
4331 (gst_controller_find_controlled_property),
4332 (gst_controller_new_valist), (gst_controller_new),
4333 (gst_controller_remove_properties_valist),
4334 (gst_controller_remove_properties), (gst_controller_set),
4335 (gst_controller_set_from_list), (gst_controller_unset),
4336 (gst_controller_get), (gst_controller_get_all),
4337 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4338 (gst_controller_get_value_array),
4339 (gst_controller_set_interpolation_mode),
4340 (_gst_controller_finalize), (_gst_controller_init),
4341 (_gst_controller_class_init), (gst_controller_get_type):
4342 * libs/gst/controller/gst-controller.h:
4343 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4344 (g_object_uncontrol_properties), (g_object_get_controller),
4345 (g_object_set_controller), (g_object_sink_values),
4346 (g_object_get_value_arrays), (g_object_get_value_array):
4347 * libs/gst/controller/gst-interpolation.c:
4348 (gst_controlled_property_find_timed_value_node),
4349 (interpolate_none_get), (interpolate_trigger_get),
4350 (interpolate_trigger_get_value_array):
4351 * libs/gst/controller/lib.c: (gst_controller_init):
4352 * pkgconfig/Makefile.am:
4353 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4354 * pkgconfig/gstreamer-control.pc.in:
4355 * testsuite/Makefile.am:
4356 * testsuite/controller/.cvsignore:
4357 * testsuite/controller/Makefile.am:
4358 * testsuite/controller/interpolator.c: (main):
4359 added controller code
4360 removed dparam pc files
4362 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4363 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4364 (gst_collectpads_stop):
4365 Broadcast the condition when shutting down, to make sure we wake all
4366 threads up. Shut down pads on finalize, for safety.
4368 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4369 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4370 (gst_base_transform_handle_buffer),
4371 (gst_base_transform_change_state):
4372 Handle PAUSED->READY->PAUSED transition after negotiation
4374 * gst/gstmessage.c: (gst_message_init):
4375 Extra piece of debug for new messages.
4377 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4380 * docs/gst/tmpl/gstbasesrc.sgml:
4381 * docs/gst/tmpl/gstelement.sgml:
4382 * docs/gst/tmpl/gstevent.sgml:
4383 * docs/gst/tmpl/gstfakesrc.sgml:
4384 * docs/gst/tmpl/gstformat.sgml:
4385 * docs/gst/tmpl/gstghostpad.sgml:
4386 * docs/gst/tmpl/gstpad.sgml:
4387 * docs/gst/tmpl/gstquery.sgml:
4388 * docs/gst/tmpl/gststructure.sgml:
4389 * docs/gst/tmpl/gsttaglist.sgml:
4390 * docs/gst/tmpl/gstvalue.sgml:
4391 * docs/libs/gstreamer-libs-docs.sgml:
4392 * docs/libs/gstreamer-libs-sections.txt:
4393 * docs/libs/gstreamer-libs.types:
4394 * libs/gst/Makefile.am:
4395 * libs/gst/control/.cvsignore:
4396 * libs/gst/control/Makefile.am:
4397 * libs/gst/control/control.c:
4398 * libs/gst/control/control.h:
4399 * libs/gst/control/dparam.c:
4400 * libs/gst/control/dparam.h:
4401 * libs/gst/control/dparam_smooth.c:
4402 * libs/gst/control/dparam_smooth.h:
4403 * libs/gst/control/dparamcommon.h:
4404 * libs/gst/control/dparammanager.c:
4405 * libs/gst/control/dparammanager.h:
4406 * libs/gst/control/dplinearinterp.c:
4407 * libs/gst/control/dplinearinterp.h:
4408 * libs/gst/control/unitconvert.c:
4409 * libs/gst/control/unitconvert.h:
4410 * testsuite/Makefile.am:
4411 * testsuite/dynparams/.cvsignore:
4412 * testsuite/dynparams/Makefile.am:
4413 * testsuite/dynparams/dparamstest.c:
4414 * tools/Makefile.am:
4415 * tools/gst-inspect.c: (print_element_info), (main):
4416 * tools/gst-xmlinspect.c: (print_element_info), (main):
4417 deactivate and remove dparams (libgstcontrol)
4419 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4421 * gst/elements/gsttypefindelement.c:
4422 (gst_type_find_element_have_type), (gst_type_find_element_init),
4423 (stop_typefinding), (gst_type_find_element_handle_event),
4424 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4425 * gst/elements/gsttypefindelement.h:
4426 Set caps on all outgoing buffers, not just the first one.
4428 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4430 * gst/elements/gsttypefindelement.c:
4431 (gst_type_find_element_have_type),
4432 (gst_type_find_element_check_set_buffer_caps),
4433 (gst_type_find_element_init), (stop_typefinding),
4434 (gst_type_find_element_handle_event),
4435 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4436 * gst/elements/gsttypefindelement.h:
4437 Set caps on first outgoing buffer when we've found the type.
4439 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4441 * docs/gst/gstreamer-docs.sgml:
4442 * docs/gst/gstreamer-sections.txt:
4443 * docs/gst/tmpl/gstscheduler.sgml:
4444 * docs/gst/tmpl/gstschedulerfactory.sgml:
4445 Remove some old cruft from docs.
4447 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
4450 Fix inline docs for GstPadLinkReturn.
4452 * gst/gststructure.c: (gst_structure_has_name):
4453 * gst/gststructure.h:
4454 * docs/gst/gstreamer-sections.txt:
4455 New API: gst_structure_has_name().
4457 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
4460 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4461 and _LARGEFILE_SOURCE in config.h as required. Do not
4462 export those flags in our .pc files any longer (#142209).
4464 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4466 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4467 (gst_file_sink_do_seek), (gst_file_sink_event),
4468 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4469 Redo seek/tell calls with large file support in mind; add some
4470 debugging messages; add log message that tells us when large
4471 file support is unavailable or not enabled for some reason.
4473 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4474 Add log message that tells us when large file support
4475 is unavailable or not enabled for some reason.
4477 2005-07-29 Wim Taymans <wim@fluendo.com>
4479 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4480 Added test for removing an element with ghostpad from a bin.
4481 Fixed test as current implementation does the right thing.
4483 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4484 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4485 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4486 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4487 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4488 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4489 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4490 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4491 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4492 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4493 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4494 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4495 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4496 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4497 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4498 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4499 * gst/gstghostpad.h:
4500 Clean up ghostpads, remove properties for internal stuff.
4503 Prepare for switching targets, not all use cases work yet.
4505 2005-07-29 Wim Taymans <wim@fluendo.com>
4507 * docs/design/part-gstghostpad.txt:
4510 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4511 (gst_bin_remove_func):
4512 Unlinking pads while holding the bin LOCK is not a good
4515 * gst/gstpad.c: (gst_pad_class_init),
4516 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4517 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4518 No prob setting template after creating the pad.
4520 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4522 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4523 (gst_bus_peek), (gst_bus_source_dispatch),
4524 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4525 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4526 gst_bus_poll may be called from other threads. Handle
4527 this nicely by not making poll_data disappear off the
4528 stack once gst_bus_poll returns.
4529 gst_bus_peek now increments the refcount on the returned
4532 2005-07-29 Wim Taymans <wim@fluendo.com>
4534 * docs/design/part-gstghostpad.txt:
4535 Overview of current GhostPad datastructures and use
4536 cases for changing the target.
4538 2005-07-28 Wim Taymans <wim@fluendo.com>
4540 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4541 Added checks for hierarchy consistency whan adding linked
4544 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4545 Added check to test element scheduling without bin/pipeline.
4547 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4548 First add elements to bin, then link.
4550 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4551 (gst_bin_remove_func):
4552 Unlink pads from elements added/removed from bin to maintain
4553 hierarchy consistency.
4555 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4557 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4558 (gst_base_transform_handle_buffer):
4559 * gst/base/gstbasetransform.h:
4560 Remove broken delay_configure (fixes renegotiation of software
4561 scaling pipelines); remove some leftover printf()s.
4563 2005-07-28 Wim Taymans <wim@fluendo.com>
4565 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4566 Added some more tests for wrong hierarchy
4568 * docs/design/part-overview.txt:
4571 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4574 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4575 (gst_element_dispose):
4578 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4579 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4580 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4581 (gst_pad_set_caps), (gst_pad_send_event):
4582 Check for correct hierarchy when linking pads. Moving to
4583 strict requirement for ghostpads when linking elements in
4587 Clean ups. Added WRONG_HIERARCHY return value.
4589 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4591 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4592 Better debug if no transform is possible.
4594 2005-07-27 Wim Taymans <wim@fluendo.com>
4596 * docs/random/wtay/network-transp:
4599 2005-07-27 Wim Taymans <wim@fluendo.com>
4601 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4602 (gst_dp_event_from_packet):
4603 Fix serialization of seek events.
4605 2005-07-27 Wim Taymans <wim@fluendo.com>
4607 * check/gst-libs/gdp.c: (GST_START_TEST):
4608 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4609 Fix compilation and fix event serialization.
4611 2005-07-27 Wim Taymans <wim@fluendo.com>
4614 * docs/design/part-TODO.txt:
4615 * docs/design/part-events.txt:
4618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4619 (gst_base_sink_event), (gst_base_sink_do_sync),
4620 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4621 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4622 (gst_base_src_do_seek), (gst_base_src_event_handler),
4623 (gst_base_src_loop):
4624 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4625 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4626 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4627 (gst_base_transform_event), (gst_base_transform_handle_buffer),
4628 (gst_base_transform_set_passthrough),
4629 (gst_base_transform_is_passthrough):
4630 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4631 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4637 * gst/gstelement.c: (gst_element_seek):
4639 Update gst_element_seek.
4641 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4642 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4643 (gst_event_new_flush_start), (gst_event_new_flush_stop),
4644 (gst_event_new_eos), (gst_event_new_newsegment),
4645 (gst_event_parse_newsegment), (gst_event_new_tag),
4646 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4647 (gst_event_parse_qos), (gst_event_new_seek),
4648 (gst_event_parse_seek), (gst_event_new_navigation):
4650 Make GstEvent use GstStructure. Add parsing code, make sure the
4651 API is sufficiently generic.
4652 Mark possible directions of events and serialization.
4654 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4655 (_gst_message_copy), (gst_message_new_segment_start),
4656 (gst_message_new_segment_done), (gst_message_new_custom),
4657 (gst_message_parse_segment_start),
4658 (gst_message_parse_segment_done):
4661 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4662 (gst_pad_set_caps), (gst_pad_send_event):
4663 Update for new events.
4664 Catch events sent in wrong directions.
4666 * gst/gstqueue.c: (gst_queue_link_src),
4667 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4668 (gst_queue_handle_src_query):
4673 Remove event code from this file.
4675 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4676 (gst_dp_event_from_packet):
4679 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4681 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4682 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4683 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4684 Make debugging actually useful.
4686 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4688 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4689 (gst_pad_fixate_caps):
4690 Implement default fixation once again, so that gst_pad_fixate()
4691 actually does anything at all. This probably needs to be some
4692 sort of a last resort, and use profile-based fixation first, but
4693 since that doesn't exist yet, this is the best we have. Fixes
4694 visualization in Totem.
4696 2005-07-22 Wim Taymans <wim@fluendo.com>
4698 * docs/design/part-events.txt:
4701 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4702 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4703 (gst_base_sink_activate_pull):
4706 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4707 (gst_fake_src_create):
4708 Fix handoff marshall.
4710 * gst/elements/gstidentity.c: (gst_identity_class_init),
4711 (gst_identity_transform_ip):
4712 We're a real inplace element.
4714 * gst/gstbus.c: (gst_bus_post):
4715 Added some comments.
4717 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4718 * tests/muxing/case1.c: (main):
4719 * tests/sched/dynamic-pipeline.c: (main):
4720 * tests/sched/interrupt1.c: (main):
4721 * tests/sched/interrupt2.c: (main):
4722 * tests/sched/interrupt3.c: (main):
4723 * tests/sched/runxml.c: (main):
4724 * tests/sched/sched-stress.c: (main):
4725 * tests/seeking/seeking1.c: (event_received), (main):
4726 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4728 * tests/threadstate/threadstate3.c: (main):
4729 * tests/threadstate/threadstate4.c: (main):
4730 * tests/threadstate/threadstate5.c: (main):
4733 2005-07-21 Wim Taymans <wim@fluendo.com>
4735 * docs/design/part-seeking.txt:
4736 Some small additions.
4738 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4739 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4740 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4741 * gst/base/gstbasesink.h:
4742 discont values are gint64, handle the math correctly.
4744 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4745 Make the basesrc report error if the source pad is not linked.
4747 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4748 (gst_queue_loop), (gst_queue_handle_src_query),
4749 (gst_queue_src_activate_push):
4750 Make queue collect data even if the srcpad is not linked.
4751 Start pushing out data as soon as it is linked.
4753 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4755 Added gst_flow_get_name() to ease error reporting.
4757 2005-07-20 Wim Taymans <wim@fluendo.com>
4759 * gst/gstmessage.c: (gst_message_new_segment_start),
4760 (gst_message_new_segment_done), (gst_message_parse_segment_start),
4761 (gst_message_parse_segment_done):
4763 Added a bunch of messages for advanced seeking.
4765 * gst/parse/grammar.y:
4766 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4767 (gst_dpman_state_changed):
4768 Fix some new-pad -> pad-added signals
4770 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4772 * docs/manual/appendix-porting.xml:
4773 * docs/pwg/appendix-porting.xml:
4774 Document new-pad/state-change signal renames and the FixedList
4777 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4779 * docs/manual/advanced-autoplugging.xml:
4780 * docs/manual/basics-helloworld.xml:
4781 * docs/manual/basics-pads.xml:
4782 * docs/random/ds/0.9-suggested-changes:
4783 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4788 * gst/gststructure.c: (gst_structure_value_get_generic_type),
4789 (gst_structure_parse_array), (gst_structure_parse_value):
4790 * gst/gstvalue.c: (gst_type_is_fixed),
4791 (gst_value_list_prepend_value), (gst_value_list_append_value),
4792 (gst_value_list_get_size), (gst_value_list_get_value),
4793 (gst_value_transform_array_string), (gst_value_serialize_array),
4794 (gst_value_deserialize_array), (gst_value_intersect_array),
4795 (gst_value_is_fixed), (_gst_value_initialize):
4797 GstElement::new-pad -> pad-added, GstElement::state-change ->
4798 state-changed, GstValueFixedList -> GstValueArray, add format and
4799 flags as their own arguments in gst_element_seek() (should improve
4800 "bindeability"), remove function generators since they don't work
4801 under a whole bunch of compilers (they were deprecated already
4804 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4806 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4807 (_gst_debug_register_funcptr):
4809 Fix illegal cast on some platforms (#309253).
4811 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4813 * gst/gstmessage.c: (gst_message_new_custom):
4815 Add _new_custom, make _new_application a macro to _new_custom.
4817 2005-07-20 Wim Taymans <wim@fluendo.com>
4819 * gst/base/gstbasesrc.c: (gst_base_src_init),
4820 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4821 * gst/base/gstbasesrc.h:
4822 Add a gboolean to decide when to push out a discont.
4824 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4825 (gst_queue_loop), (gst_queue_handle_src_query),
4826 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4827 (gst_queue_set_property), (gst_queue_get_property):
4830 * tests/threadstate/threadstate1.c: (main):
4831 Make a thread test compile and run... very silly..
4834 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4836 * docs/manual/appendix-porting.xml:
4837 Mention removal of libgstgconf-0.9.la and existence of gconf
4840 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4842 * docs/pwg/advanced-clock.xml:
4843 * docs/pwg/appendix-porting.xml:
4844 * docs/pwg/intro-preface.xml:
4845 * docs/pwg/other-base.xml:
4846 * docs/pwg/other-manager.xml:
4847 * docs/pwg/other-nton.xml:
4848 * docs/pwg/other-ntoone.xml:
4849 * docs/pwg/other-oneton.xml:
4851 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4852 demuxer), remove n-to-n (was never written), fix some code examples
4853 and links and update the porting section to include all this.
4855 2005-07-19 Wim Taymans <wim@fluendo.com>
4857 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4858 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4859 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4860 (gst_queue_src_activate_push), (gst_queue_change_state),
4861 (gst_queue_get_property):
4863 Propagate GstFlowReturn more intelligently upstream and output
4864 an ERROR/EOS when streaming stopped due to fatal error.
4866 2005-07-19 Wim Taymans <wim@fluendo.com>
4868 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4869 Don't block forever for the state change to complete, the
4870 pipeline already did with a sensible timeout.
4872 2005-07-19 Wim Taymans <wim@fluendo.com>
4874 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4875 Make sure we never call the create function is we
4878 2005-07-19 Andy Wingo <wingo@pobox.com>
4880 * gst/parse/parse.l: Attempt to solve bug #172815.
4882 2005-07-19 Wim Taymans <wim@fluendo.com>
4884 * docs/design/part-clocks.txt:
4885 * docs/design/part-events.txt:
4886 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4888 Only update the seeking values when we are not
4891 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4893 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4894 Oops, ignore the result of gst_pad_push_event here.
4896 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4898 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4899 (gst_base_src_activate_push):
4900 Send discont event from the loop function, as pads
4901 aren't activated yet in the activate_push handler.
4903 * gst/gstbin.c: (bin_bus_handler):
4904 Don't leak element name.
4906 2005-07-18 Andy Wingo <wingo@pobox.com>
4908 * configure.ac: Use AS_LIBTOOL_TAGS.
4910 2005-07-18 Wim Taymans <wim@fluendo.com>
4912 * docs/gst/gstreamer.types:
4913 Remove deleted types.
4915 2005-07-18 Wim Taymans <wim@fluendo.com>
4917 * check/elements/gstfakesrc.c: (GST_START_TEST):
4920 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4921 (init_popt_callback):
4923 * gst/gst_private.h:
4924 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4925 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4928 * gst/gstconfig.h.in:
4929 * gst/gstelement.c: (gst_element_class_init),
4930 (gst_element_set_base_time), (gst_element_get_base_time),
4931 (iterator_fold_with_resync), (gst_element_change_state),
4932 (gst_element_dispose), (gst_element_get_bus):
4934 * gst/gstelementfactory.h:
4935 * gst/gsterror.c: (_gst_core_errors_init):
4938 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4940 * gst/gstinfo.c: (_gst_debug_init):
4941 * gst/gstmessage.c: (_gst_message_copy):
4943 * gst/gstminiobject.h:
4946 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4947 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4950 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4951 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4952 (gst_pipeline_get_last_stream_time):
4953 * gst/gstpipeline.h:
4954 * gst/gstpluginfeature.h:
4956 * gst/gstscheduler.c:
4957 * gst/gstscheduler.h:
4958 * gst/gststructure.h:
4959 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4960 (gst_task_finalize), (gst_task_func), (gst_task_create),
4961 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4962 (gst_task_stop), (gst_task_pause):
4964 * gst/gsttypefind.h:
4966 * gst/registries/gstlibxmlregistry.c: (load_feature),
4967 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4968 * gst/registries/gstxmlregistry.c:
4969 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4970 * gst/schedulers/threadscheduler.c:
4971 * libs/gst/control/dparammanager.h:
4972 * tools/gst-inspect.c: (print_element_list),
4973 (print_plugin_features), (print_element_features):
4974 * tools/gst-xmlinspect.c: (print_element_list),
4975 (print_plugin_info), (main):
4976 Removed plugable schedulers.
4977 Removed Scheduler/Manager from elements.
4978 Removed gsttypes.h, rearranged includes.
4979 Removed dependency pad<->element, element<>pipeline, and
4980 various others, fix includes.
4981 implement gst_pad_get_parent() with gst_object_get_parent()
4982 Make GstTask sefcontained.
4983 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4985 Fix endless loop in iterator_fold_with_resync.
4988 2005-07-18 Wim Taymans <wim@fluendo.com>
4994 2005-07-18 Wim Taymans <wim@fluendo.com>
4999 2005-07-18 Wim Taymans <wim@fluendo.com>
5005 2005-07-18 Wim Taymans <wim@fluendo.com>
5007 * docs/design/part-dynamic.txt:
5008 * docs/design/part-events.txt:
5009 * docs/design/part-seeking.txt:
5010 Some more docs in the works.
5012 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
5013 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
5014 (gst_base_transform_setcaps), (gst_base_transform_get_size),
5015 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
5016 (gst_base_transform_handle_buffer),
5017 (gst_base_transform_sink_activate_push),
5018 (gst_base_transform_src_activate_pull),
5019 (gst_base_transform_set_passthrough),
5020 (gst_base_transform_is_passthrough):
5023 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
5026 * gst/gstevent.c: (gst_event_finalize):
5029 * gst/gstutils.c: (gst_element_unlink),
5030 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
5031 (gst_pad_proxy_setcaps):
5033 Add _get_parent_element() to get a pads parent as an element.
5035 2005-07-18 Wim Taymans <wim@fluendo.com>
5037 * check/gst/gstbin.c: (GST_START_TEST):
5040 2005-07-18 Wim Taymans <wim@fluendo.com>
5042 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5043 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5044 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5045 (gst_base_sink_event), (gst_base_sink_do_sync),
5046 (gst_base_sink_chain), (gst_base_sink_loop),
5047 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5048 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5050 Fix logic for returning ASYNC when not prerolled.
5052 2005-07-18 Wim Taymans <wim@fluendo.com>
5054 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5055 Fix nasty refcount bug.
5057 2005-07-16 Philippe Khalaf <burger@speedy.org>
5059 * gst/elements/gstfdsrc.c:
5060 * gst/elements/gstfdsrc.h:
5061 * gst/elements/gstelements.c:
5062 * gst/elements/Makefile.am:
5063 Ported fdsrc to 0.9.
5065 2005-07-16 Wim Taymans <wim@fluendo.com>
5067 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5068 (gst_base_sink_do_sync):
5071 2005-07-16 Wim Taymans <wim@fluendo.com>
5073 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5074 (gst_base_sink_event), (gst_base_sink_get_times),
5075 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5076 * gst/base/gstbasesink.h:
5077 Store and use discont values when syncing buffers as described
5080 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5081 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5082 (gst_base_src_activate_push):
5083 Push discont event when starting.
5085 * gst/elements/gstidentity.c: (gst_identity_transform):
5088 * gst/gstbin.c: (gst_bin_change_state):
5089 Small cleanups in base_time distribution.
5091 * gst/gstelement.c: (gst_element_set_base_time),
5092 (gst_element_get_base_time), (gst_element_change_state):
5094 Added methods for the base_time of the element.
5097 * gst/gstpipeline.c: (gst_pipeline_send_event),
5098 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5099 (gst_pipeline_get_last_stream_time):
5100 * gst/gstpipeline.h:
5102 Handle seeking as described in design doc, remove stream_time
5104 Cleanups clock and stream_time selection code. Added accessors
5105 for the stream_time.
5108 2005-07-16 Andy Wingo <wingo@pobox.com>
5110 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5113 2005-07-16 Wim Taymans <wim@fluendo.com>
5115 * check/gst/gstbin.c: (GST_START_TEST):
5116 Make elements silent as the deep_notify refs the
5117 parent, which might make the test fail.
5119 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5120 Don't hold the lock for too long.
5122 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5124 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5125 Don't unref the caps we passed to gst_caps_make_writable() after
5126 passing them. gst_caps_make_writable() will do that for us.
5128 2005-07-15 Andy Wingo <wingo@pobox.com>
5130 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5133 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5134 own marshalling function for the handoff signal. Properly type the
5135 buffer as a buffer. Fixes some warnings. Should do a more general
5137 (gst_identity_class_init): Plug into the right marshaller.
5139 2005-07-15 Wim Taymans <wim@fluendo.com>
5141 * docs/design/part-TODO.txt:
5142 * docs/design/part-clocks.txt:
5143 * docs/design/part-element-sink.txt:
5144 * docs/design/part-events.txt:
5145 * docs/design/part-gstpipeline.txt:
5146 Updated docs, mostly DISCONT related.
5148 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5150 * docs/pwg/building-pads.xml:
5151 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5153 2005-07-15 Andy Wingo <wingo@pobox.com>
5155 * tools/gst-typefind.c: Update, add copyright block.
5157 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5158 Normalize and truncate caps before fixation.
5161 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5162 discards all but the first structure from its argument.
5164 2005-07-15 Wim Taymans <wim@fluendo.com>
5166 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5167 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5168 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5169 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5170 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5171 (gst_base_transform_chain), (gst_base_transform_change_state),
5172 (gst_base_transform_set_passthrough),
5173 (gst_base_transform_is_passthrough):
5174 * gst/base/gstbasetransform.h:
5175 Make passthrough work using the bufferpools.
5176 Changed API a bit, subclasses have to write into a buffer
5177 provided by the base class.
5178 More debug info in nego functions.
5180 * gst/elements/gstidentity.c: (gst_identity_init),
5181 (gst_identity_transform):
5182 Port to new base class.
5184 2005-07-15 Wim Taymans <wim@fluendo.com>
5186 * gst/gstmessage.c: (gst_message_new_state_changed):
5187 * tools/gst-launch.c: (event_loop), (main):
5188 Totally dump messages in -launch with the -m option.
5189 Fix message name for State messages,
5191 2005-07-14 Wim Taymans <wim@fluendo.com>
5193 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5194 Post error messages on errors.
5196 2005-07-14 Wim Taymans <wim@fluendo.com>
5198 * gst/gstcaps.c: (gst_caps_do_simplify):
5202 Define error for stream stopped.
5204 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5205 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5206 Do proper return values.
5208 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5209 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5210 (gst_pad_get_range):
5211 Better return values.
5214 Reorganise return values, add macro to check for fatal errors.
5216 * gst/gstqueue.c: (gst_queue_chain):
5217 Return proper GstFlowReturn values,
5219 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5221 * docs/gst/gstreamer-sections.txt:
5222 * docs/gst/gstreamer.types:
5223 * docs/gst/tmpl/gst.sgml:
5224 * docs/gst/tmpl/gstbasesink.sgml:
5225 * docs/gst/tmpl/gstbasesrc.sgml:
5226 * docs/gst/tmpl/gstbasetransform.sgml:
5227 * docs/gst/tmpl/gstbin.sgml:
5228 * docs/gst/tmpl/gstbuffer.sgml:
5229 * docs/gst/tmpl/gstcaps.sgml:
5230 * docs/gst/tmpl/gstclock.sgml:
5231 * docs/gst/tmpl/gstcompat.sgml:
5232 * docs/gst/tmpl/gstconfig.sgml:
5233 * docs/gst/tmpl/gstelement.sgml:
5234 * docs/gst/tmpl/gstelementdetails.sgml:
5235 * docs/gst/tmpl/gstelementfactory.sgml:
5236 * docs/gst/tmpl/gstenumtypes.sgml:
5237 * docs/gst/tmpl/gsterror.sgml:
5238 * docs/gst/tmpl/gstevent.sgml:
5239 * docs/gst/tmpl/gstfakesink.sgml:
5240 * docs/gst/tmpl/gstfakesrc.sgml:
5241 * docs/gst/tmpl/gstfilesink.sgml:
5242 * docs/gst/tmpl/gstfilesrc.sgml:
5243 * docs/gst/tmpl/gstfilter.sgml:
5244 * docs/gst/tmpl/gstformat.sgml:
5245 * docs/gst/tmpl/gstghostpad.sgml:
5246 * docs/gst/tmpl/gstimplementsinterface.sgml:
5247 * docs/gst/tmpl/gstindex.sgml:
5248 * docs/gst/tmpl/gstindexfactory.sgml:
5249 * docs/gst/tmpl/gstinfo.sgml:
5250 * docs/gst/tmpl/gstiterator.sgml:
5251 * docs/gst/tmpl/gstmacros.sgml:
5252 * docs/gst/tmpl/gstmemchunk.sgml:
5253 * docs/gst/tmpl/gstminiobject.sgml:
5254 * docs/gst/tmpl/gstobject.sgml:
5255 * docs/gst/tmpl/gstpad.sgml:
5256 * docs/gst/tmpl/gstpadtemplate.sgml:
5257 * docs/gst/tmpl/gstparse.sgml:
5258 * docs/gst/tmpl/gstpipeline.sgml:
5259 * docs/gst/tmpl/gstplugin.sgml:
5260 * docs/gst/tmpl/gstpluginfeature.sgml:
5261 * docs/gst/tmpl/gstquery.sgml:
5262 * docs/gst/tmpl/gstqueue.sgml:
5263 * docs/gst/tmpl/gstregistry.sgml:
5264 * docs/gst/tmpl/gstregistrypool.sgml:
5265 * docs/gst/tmpl/gstscheduler.sgml:
5266 * docs/gst/tmpl/gstschedulerfactory.sgml:
5267 * docs/gst/tmpl/gststructure.sgml:
5268 * docs/gst/tmpl/gstsystemclock.sgml:
5269 * docs/gst/tmpl/gsttaglist.sgml:
5270 * docs/gst/tmpl/gsttagsetter.sgml:
5271 * docs/gst/tmpl/gsttrace.sgml:
5272 * docs/gst/tmpl/gsttrashstack.sgml:
5273 * docs/gst/tmpl/gsttypefind.sgml:
5274 * docs/gst/tmpl/gsttypefindfactory.sgml:
5275 * docs/gst/tmpl/gsttypes.sgml:
5276 * docs/gst/tmpl/gsturihandler.sgml:
5277 * docs/gst/tmpl/gsturitype.sgml:
5278 * docs/gst/tmpl/gstutils.sgml:
5279 * docs/gst/tmpl/gstvalue.sgml:
5280 * docs/gst/tmpl/gstversion.sgml:
5281 * docs/gst/tmpl/gstxml.sgml:
5282 * docs/libs/tmpl/gstcontrol.sgml:
5283 * docs/libs/tmpl/gstdataprotocol.sgml:
5284 * docs/libs/tmpl/gstdparam.sgml:
5285 * docs/libs/tmpl/gstdplinint.sgml:
5286 * docs/libs/tmpl/gstdpman.sgml:
5287 * docs/libs/tmpl/gstdpsmooth.sgml:
5288 * docs/libs/tmpl/gstgetbits.sgml:
5289 * docs/libs/tmpl/gstunitconvert.sgml:
5290 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5291 (gst_push_src_base_init), (gst_push_src_class_init),
5292 (gst_push_src_init), (gst_push_src_create):
5293 * gst/base/gstpushsrc.h:
5294 * gst/elements/gstelements.c:
5295 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5296 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5297 (gst_fake_sink_init), (gst_fake_sink_set_property),
5298 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5299 (gst_fake_sink_event), (gst_fake_sink_preroll),
5300 (gst_fake_sink_render), (gst_fake_sink_change_state):
5301 * gst/elements/gstfakesink.h:
5302 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5303 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5304 (gst_fake_src_base_init), (gst_fake_src_class_init),
5305 (gst_fake_src_init), (gst_fake_src_event_handler),
5306 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5307 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5308 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5309 (gst_fake_src_create_buffer), (gst_fake_src_create),
5310 (gst_fake_src_start), (gst_fake_src_stop):
5311 * gst/elements/gstfakesrc.h:
5312 * gst/elements/gstfilesink.c: (_do_init),
5313 (gst_file_sink_base_init), (gst_file_sink_class_init),
5314 (gst_file_sink_init), (gst_file_sink_dispose),
5315 (gst_file_sink_set_location), (gst_file_sink_set_property),
5316 (gst_file_sink_get_property), (gst_file_sink_open_file),
5317 (gst_file_sink_close_file), (gst_file_sink_query),
5318 (gst_file_sink_event), (gst_file_sink_render),
5319 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5320 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5321 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5322 * gst/elements/gstfilesink.h:
5323 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5324 (gst_file_src_class_init), (gst_file_src_init),
5325 (gst_file_src_finalize), (gst_file_src_set_location),
5326 (gst_file_src_set_property), (gst_file_src_get_property),
5327 (gst_file_src_map_region), (gst_file_src_map_small_region),
5328 (gst_file_src_create_mmap), (gst_file_src_create_read),
5329 (gst_file_src_create), (gst_file_src_is_seekable),
5330 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5331 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5332 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5333 (gst_file_src_uri_handler_init):
5334 * gst/elements/gstfilesrc.h:
5335 more autistic cleanliness in functions/names/defines
5337 2005-07-13 Andy Wingo <wingo@pobox.com>
5339 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5340 source couldn't negotiate.
5342 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5346 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5347 function. I am channeling Hades. Put your boots on suckers!!!
5349 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * testsuite/caps/Makefile.am:
5352 * testsuite/caps/value_compare.c:
5353 * testsuite/caps/value_intersect.c:
5354 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5355 move two testsuite apps over to the check dir
5357 2005-07-12 Wim Taymans <wim@fluendo.com>
5359 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5360 Added more debug info in the negotiate process.
5363 Prepare for segment playback.
5365 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5371 * tools/gst-launch.c: (main):
5372 NULL pipeline on errors.
5374 2005-07-12 Andy Wingo <wingo@pobox.com>
5376 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5377 not it comes from a malloc region. Make sure our copy gets freed.
5379 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5381 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5382 * check/gst/gstmessage.c: (GST_START_TEST):
5383 * check/gst/gststructure.c: (GST_START_TEST),
5384 (gst_structure_suite), (main):
5386 * gst/gstelement.c: (gst_element_message_full):
5387 clean up GError and debug string now that they get copied
5388 * gst/gstmessage.c: (gst_message_new_error),
5389 (gst_message_new_warning), (gst_message_parse_error),
5390 (gst_message_parse_warning):
5391 use GST_TYPE_G_ERROR for structure_new, and take copies of
5392 arguments, so that we don't mess up refcounting
5394 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5396 * check/Makefile.am:
5397 add per-test valgrind targets
5398 * check/gst-libs/gdp.c: (GST_START_TEST),
5399 (gst_data_protocol_suite), (main):
5402 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5404 * check/Makefile.am:
5405 instate more valgrindable tests
5406 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5407 (GST_START_TEST), (fakesrc_suite):
5408 * check/gst/gstpad.c: (GST_START_TEST):
5409 * check/gst/gststructure.c: (GST_START_TEST):
5411 * docs/gst/tmpl/gstminiobject.sgml:
5412 * gst/gstpad.c: (gst_pad_finalize):
5413 fix the static mutex leak
5415 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * check/Makefile.am:
5418 add two more tests for valgrinding
5419 * check/gst/gstvalue.c: (GST_START_TEST):
5420 test refcount of deserialized buffer, found a leak
5421 * docs/gst/gstreamer-docs.sgml:
5422 * docs/gst/gstreamer-sections.txt:
5423 * docs/gst/gstreamer.types:
5424 * docs/gst/tmpl/gstminiobject.sgml:
5425 add miniobject to docs
5426 * gst/gstminiobject.c:
5428 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5429 (gst_string_unwrap):
5430 fix a hard-to-find invalid write for one of the tests
5431 fix a leak for deserialized buffers
5433 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5435 * docs/pwg/advanced-events.xml:
5436 * docs/pwg/advanced-request.xml:
5437 * docs/pwg/advanced-scheduling.xml:
5438 * docs/pwg/appendix-porting.xml:
5439 * docs/pwg/building-boiler.xml:
5440 * docs/pwg/intro-preface.xml:
5441 * docs/pwg/other-ntoone.xml:
5442 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5443 of example code and explanation for pad activation, loop() and
5444 getrange() functions and a bit more. Remove old comments pointing
5446 * examples/pwg/Makefile.am:
5447 Add loop/getrange examples.
5449 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5452 check for valgrind binary + some fixes
5454 valgrind suppressions for the tests
5455 * check/Makefile.am:
5456 add a valgrind: target that valgrinds the unit tests
5457 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5458 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5459 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5460 * check/gst/gstghostpad.c:
5462 * check/gst/gstdata.c:
5464 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5465 (thread_unref), (gst_mini_object_suite), (main):
5467 * gst/gst.c: (gst_deinit):
5469 add a method to clean up.
5470 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5471 (gst_system_clock_obtain):
5472 allow for disposing the system clock.
5473 * tools/gst-launch.c: (main):
5476 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5478 * docs/gst/tmpl/gstbasesrc.sgml:
5479 * docs/gst/tmpl/gstfakesrc.sgml:
5480 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5481 (gst_base_src_init), (gst_base_src_set_property),
5482 (gst_base_src_get_property), (gst_base_src_get_range),
5483 (gst_base_src_start):
5484 * gst/base/gstbasesrc.h:
5485 add num-buffers property
5486 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5487 (gst_fakesrc_init), (gst_fakesrc_set_property),
5488 (gst_fakesrc_get_property), (gst_fakesrc_create),
5489 (gst_fakesrc_start):
5490 remove num-buffers property
5492 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5494 * docs/gst/gstreamer-sections.txt:
5495 * docs/gst/tmpl/gstbasesink.sgml:
5496 * docs/gst/tmpl/gstbasesrc.sgml:
5497 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5498 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5499 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5500 (gst_base_sink_set_property), (gst_base_sink_get_property),
5501 (gst_base_sink_handle_object), (gst_base_sink_event),
5502 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5503 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5504 (gst_base_sink_loop), (gst_base_sink_deactivate),
5505 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5506 (gst_base_sink_change_state):
5507 * gst/base/gstbasesink.h:
5508 * gst/base/gstbasesrc.h:
5509 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5510 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5511 (gst_filesink_init):
5512 more macro splitting
5514 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5516 * gst/gstelement.c: (gst_element_get_bus):
5518 * tools/gst-launch.c: (check_intr), (event_loop):
5521 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5523 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5526 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5528 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5529 (gst_base_src_finalize):
5530 add finalize method and clean up properly
5531 * gst/gstpipeline.c: (gst_pipeline_dispose):
5534 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5536 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5538 add more things to check
5539 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5543 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5545 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5546 (GST_START_TEST), (fakesrc_suite):
5547 * check/gst-libs/gdp.c: (GST_START_TEST):
5548 * check/gst/gst.c: (GST_START_TEST):
5549 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5550 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5551 * check/gst/gstbus.c: (GST_START_TEST):
5552 * check/gst/gstcaps.c: (GST_START_TEST):
5553 * check/gst/gstdata.c: (GST_START_TEST):
5554 * check/gst/gstelement.c: (GST_START_TEST):
5555 * check/gst/gstghostpad.c: (GST_START_TEST):
5556 * check/gst/gstiterator.c: (GST_START_TEST):
5557 * check/gst/gstmessage.c: (GST_START_TEST):
5558 * check/gst/gstobject.c: (GST_START_TEST):
5559 * check/gst/gstpad.c: (GST_START_TEST):
5560 * check/gst/gststructure.c: (GST_START_TEST):
5561 * check/gst/gstsystemclock.c: (GST_START_TEST),
5562 (gst_systemclock_suite):
5563 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5564 * check/gst/gstvalue.c: (GST_START_TEST):
5565 * check/pipelines/cleanup.c: (GST_START_TEST):
5566 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5567 * check/states/sinks.c: (GST_START_TEST):
5568 * check/gstcheck.c: (gst_check_init):
5570 add debugging category
5571 use GST_START_TEST now, so we add a debug line
5573 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5575 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5576 add test for state change message on a bin
5577 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5579 * gst/gstbin.c: (gst_bin_init):
5580 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5581 * gst/gstelement.c: (gst_element_post_message),
5582 (gst_element_set_state):
5583 * gst/gstelementfactory.c: (gst_element_factory_create):
5584 * gst/gstmessage.c: (gst_message_new):
5585 * gst/gstscheduler.c:
5586 various debugging additions and cleanups
5588 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5590 * check/Makefile.am:
5591 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5593 adding tests for elements
5594 * gst/gstelement.c: (gst_element_dispose):
5596 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5598 * gst/registries/gstlibxmlregistry.c: (load_feature):
5599 plug more leaks. A simple gst_init() now is leakfree, yay.
5601 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5603 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5604 (gst_xml_registry_load):
5605 plug another memleak
5607 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5610 use GST_SET_ERROR_CFLAGS
5612 change to ERROR_CFLAGS
5614 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5617 make GST_ERROR_CFLAGS overridable and re-enable Werror
5619 add a note about error CFLAGS
5620 * docs/gst/tmpl/gstfakesrc.sgml:
5621 * gst/elements/gstfakesrc.c:
5622 comment out some unused code
5623 * gst/gst.c: (split_and_iterate):
5624 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5628 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5630 * common/Makefile.am:
5631 * common/gtk-doc.mak:
5632 * docs/gst/Makefile.am:
5633 factor out gtk-doc.mak
5635 2005-07-07 Wim Taymans <wim@fluendo.com>
5637 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5638 (gst_thread_scheduler_dispose):
5639 Unlock the STREAM_LOCK completely.
5641 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5643 * check/Makefile.am:
5644 * check/elements/.cvsignore:
5645 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5646 (START_TEST), (fakesrc_suite), (main):
5647 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5648 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5649 (gst_fakesrc_create), (gst_fakesrc_start):
5650 * gst/elements/gstfakesrc.h:
5651 adding a first element test
5653 2005-07-07 Andy Wingo <wingo@pobox.com>
5655 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5658 2005-07-07 Wim Taymans <wim@fluendo.com>
5664 2005-07-07 Wim Taymans <wim@fluendo.com>
5666 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5667 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5668 Allow subclasses to implement their own negotiation.
5670 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5672 * docs/design/part-gstbin.txt:
5673 * docs/design/part-gstpipeline.txt:
5674 Update design notes to reflect the movement of
5675 responsibility for bus handling from GstPipeline to
5678 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5681 Remove unnecessary queue2/3/4 examples.
5683 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5685 * examples/Makefile.am:
5686 * examples/helloworld/helloworld.c: (event_loop), (main):
5687 * examples/queue/queue.c: (event_loop), (main):
5688 * examples/queue2/queue2.c: (main):
5689 Update a couple of the examples to work again.
5691 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5692 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5693 Spelling corrections and extra debug.
5695 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5696 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5697 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5699 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5700 (gst_pipeline_change_state):
5701 * gst/gstpipeline.h:
5702 Move the bus handler for children to the GstBin, and create a
5703 separate bus for receiving messages from children to the one the
5704 bus sends 'upwards' on.
5706 2005-07-06 Wim Taymans <wim@fluendo.com>
5709 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5710 (gst_base_sink_handle_object), (gst_base_sink_loop),
5711 (gst_base_sink_change_state):
5712 * gst/base/gstbasesink.h:
5713 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5714 (gst_base_src_init), (gst_base_src_setcaps),
5715 (gst_base_src_getcaps), (gst_base_src_loop),
5716 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5717 (gst_base_src_start), (gst_base_src_change_state):
5718 * gst/base/gstbasesrc.h:
5719 Make basesrc negotiate.
5720 Handle the case where preroll fails in basesink.
5723 2005-07-06 Wim Taymans <wim@fluendo.com>
5725 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5726 Implement the fixate function.
5727 Clean up acceptcaps.
5729 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5731 * docs/pwg/building-filterfactory.xml:
5733 Remove never-written filter-factory chapter; I'll add the various
5734 base classes to part 4 ("other element types") later on.
5736 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5738 * docs/pwg/advanced-negotiation.xml:
5739 * docs/pwg/building-boiler.xml:
5740 * docs/pwg/building-pads.xml:
5742 * examples/pwg/Makefile.am:
5743 Add a chapter on caps negotiation, simplify the original code
5744 samples a bit w.r.t. caps negotiation, add link to the advanced
5745 section. Add a bunch of examples showing different use cases of
5746 different types of caps negotiation. Upstream renegotiation isn't
5747 fully documented yet since nobody knows how that works.
5749 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
5751 * check/gst/gstpad.c:
5753 * gst/gstpad.c: (gst_pad_get_internal_links_default):
5754 if pad has no parent, return NULL as list of internal links
5756 2005-07-05 Andy Wingo <wingo@pobox.com>
5758 * gst/elements/gstfilesrc.c:
5759 * gst/elements/gstfakesrc.c:
5760 * gst/base/gstpushsrc.c:
5761 * gst/base/gstbasesrc.h:
5762 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5764 2005-07-05 Stefan Kost <ensonic@users.sf.net>
5767 better report generation target (lcov needs a patch)
5769 2005-07-05 Andy Wingo <wingo@pobox.com>
5771 * gst/elements, testsuite: Null if we got it...
5773 2005-07-05 Wim Taymans <wim@fluendo.com>
5776 * libs/gst/dataprotocol/Makefile.am:
5777 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5778 * libs/gst/dataprotocol/dataprotocol.h:
5779 * pkgconfig/Makefile.am:
5780 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5781 * pkgconfig/gstreamer-dataprotocol.pc.in:
5782 Ported dataprotol to 0.9.
5783 Added pkgconfig files.
5785 2005-07-05 Andy Wingo <wingo@pobox.com>
5787 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5788 Default to returning TRUE for the case when tranform_caps returns
5789 a fixed caps, like for identity or volume.
5791 * check/gst/gstbus.c (pound_bus_with_messages):
5792 * check/gst/gstmessage.c (START_TEST):
5793 * check/pipelines/simple_launch_lines.c (got_handoff): Application
5796 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5797 logic weaks here: always run transform_caps, trying passthrough
5798 operation only if the original caps intersects with the transform.
5800 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5801 source and sink caps.
5803 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5804 Intersect the peer caps with the pad template before going into
5806 (gst_base_transform_transform_caps): More debugging.
5808 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5811 2005-07-04 Edward Hervey <edward@fluendo.com>
5815 (gst_pad_add_*_probe): now returns the signal id for better wrapping
5818 2005-07-04 Andy Wingo <wingo@pobox.com>
5820 * check/gst/gstpad.c: Only set explicit caps on pads.
5822 2005-07-01 Andy Wingo <wingo@pobox.com>
5824 * tests/network-clock.scm: Commentary update.
5826 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5827 Didn't really make sense, not implementable with basetransform,
5829 (gst_identity_transform): Unref inbuf via make_writable. Feeble
5830 attempt at implementing the sync property, needs an unlock method.
5832 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5833 New func, by default returns the same caps (the identity
5835 (gst_base_transform_getcaps): Uses transform_caps to return
5837 (gst_base_transform_setcaps): Complicated logic to get caps on
5838 both pads, even if they are different, and to call set_caps once
5839 for every time both pads get their caps set.
5840 (gst_base_transform_handle_buffer): Give the ref to the transform
5841 function. Allows in-place modification of the buffer.
5843 * gst/base/gstbasetransform.h (transform_caps): New class method.
5844 Given caps on one side, what can I do on the other.
5845 (set_caps): Take two caps, one for each side of the element.
5848 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5849 caps in place. This is safe because we can check the mutability of
5850 the caps, and a good idea because fixate functions are just called
5851 as a matter of last resort. (Not actually implemented.)
5852 (gst_pad_set_caps): If the caps we're setting is actually the same
5853 as the existing pad caps, just update the pointer without calling
5854 setcaps. Assert that caps is either NULL or fixed, as per the
5857 * gst/gstghostpad.c: Update for fixate changes.
5859 2005-07-02 Andy Wingo <wingo@pobox.com>
5862 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5863 two refcounts makes it immutable, which is enough. Doc more.
5865 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
5867 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5868 Put the mini_object into GValue as a mini_object,
5869 not a gpointer, since that's how we declared
5872 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5874 * examples/pwg/Makefile.am:
5877 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5879 * docs/pwg/building-testapp.xml:
5881 * examples/pwg/Makefile.am:
5884 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5887 * examples/Makefile.am:
5888 * examples/pwg/Makefile.am:
5889 * examples/pwg/extract.pl:
5890 Enable building the PWG examples.
5891 * docs/pwg/advanced-interfaces.xml:
5892 Add URI interface stub.
5893 * docs/pwg/advanced-types.xml:
5894 * docs/pwg/other-autoplugger.xml:
5895 * docs/pwg/appendix-porting.xml:
5897 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5898 * docs/pwg/building-boiler.xml:
5899 * docs/pwg/building-chainfn.xml:
5900 * docs/pwg/building-pads.xml:
5901 * docs/pwg/building-props.xml:
5902 * docs/pwg/building-state.xml:
5903 * docs/pwg/building-testapp.xml:
5904 Update the building-*.xml parts for 0.9 changes. All examples
5905 code blocks compile in examples/pwg/*.
5907 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5909 * docs/manual/advanced-autoplugging.xml:
5910 * docs/manual/appendix-checklist.xml:
5911 * docs/manual/appendix-integration.xml:
5912 * docs/manual/highlevel-components.xml:
5913 Fix playbin/decodebin examples, update docs a bit, mention bus
5914 instead of signals in various places, mention kmplayer and
5915 kaffeine since they have a working GStreamer backend in the KDE
5918 2005-06-30 Wim Taymans <wim@fluendo.com>
5921 * docs/design/draft-ghostpads.txt:
5922 * docs/design/draft-push-pull.txt:
5923 * docs/design/draft-query.txt:
5924 * docs/design/part-TODO.txt:
5925 * docs/design/part-query.txt:
5926 Added CHANGES-0.9 doc, updated status of other docs.
5931 2005-06-30 Wim Taymans <wim@fluendo.com>
5933 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5934 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5935 (gst_base_sink_change_state):
5936 * gst/base/gstbasesink.h:
5937 Some tweaks, only EOS and a buffer complete a preroll.
5939 2005-06-30 Andy Wingo <wingo@pobox.com>
5941 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5942 activate_push down to the internal pad as well.
5944 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5946 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5948 * gst/gsttaginterface.c:
5949 Some documentation fixes (#307394 and #307397).
5951 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5953 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5955 * gst/gstvalue.c: (gst_value_intersect_list):
5956 Fix memleak (#309125).
5958 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5960 * docs/manual/advanced-dataaccess.xml:
5961 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5962 * docs/manual/basics-pads.xml:
5963 Add reference for filtered caps to above chapter.
5965 2005-06-30 Wim Taymans <wim@fluendo.com>
5967 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5968 (gst_bin_change_state):
5970 Lame attempt at making the state change function a bit
5973 2005-06-30 Wim Taymans <wim@fluendo.com>
5975 * docs/design/part-clocks.txt:
5976 * docs/design/part-element-sink.txt:
5977 * docs/design/part-events.txt:
5978 * docs/design/part-preroll.txt:
5979 * docs/design/part-states.txt:
5980 Some more tweeks and additions to the docs.
5982 2005-06-30 Wim Taymans <wim@fluendo.com>
5984 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5985 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5986 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5987 (gst_pad_check_pull_range), (gst_pad_get_range),
5988 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5990 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5991 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5992 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5993 (gst_pad_remove_buffer_probe):
5994 Removed atomic operations, use existing LOCK.
5995 Move exception handling out of main code path.
5997 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5999 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6000 (silly_return_true_function), (gst_pad_class_init),
6001 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
6002 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
6003 (gst_pad_send_event):
6004 Fix accumulator, add default value by using _emitv() instead
6005 of _emit() for signal emission.
6007 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6009 * docs/manual/advanced-dataaccess.xml:
6010 * examples/manual/Makefile.am:
6012 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
6015 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
6017 * gst/elements/gstfilesink.c: (gst_filesink_render):
6018 Simplify code so that we don't have to handle short
6019 writes and return GST_FLOW_ERROR if an error occured.
6021 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6023 * docs/gst/gstreamer-docs.sgml:
6026 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6028 * docs/gst/gstreamer-sections.txt:
6029 * docs/gst/tmpl/gstpad.sgml:
6030 * docs/gst/tmpl/gstprobe.sgml:
6032 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
6033 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
6034 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
6035 (gst_pad_push_event), (gst_pad_send_event):
6037 * gst/gstutils.c: (gst_pad_add_data_probe),
6038 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
6039 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
6040 (gst_pad_remove_buffer_probe):
6042 Remove old probes, add new g-signal-based probes and some utility
6045 2005-06-29 Edward Hervey <edward@fluendo.com>
6047 * gst/gstelementfactory.c:
6050 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6051 the definition to the header file.
6053 2005-06-29 Andy Wingo <wingo@pobox.com>
6055 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6056 plugins from the source directory.
6058 2005-06-29 Wim Taymans <wim@fluendo.com>
6060 * docs/gst/tmpl/gstbuffer.sgml:
6061 * docs/gst/tmpl/gstclock.sgml:
6062 Some fixings for blantently wrong text.
6064 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6066 * check/Makefile.am:
6067 * gst/gst.c: (add_path_func), (init_pre):
6068 * gst/gstregistry.c: (gst_registry_add_path):
6069 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6070 only scan the GST_PLUGIN_PATH locations, and not add
6073 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6075 * docs/gst/gstreamer-sections.txt:
6076 * docs/gst/tmpl/gstbasesrc.sgml:
6083 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6085 * docs/manual/advanced-autoplugging.xml:
6086 Fix autoplugging example.
6088 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6090 * docs/manual/advanced-autoplugging.xml:
6091 * docs/manual/mime-world.fig:
6092 Try to get autoplugging working, fix type detection. Fix text
6093 in hello-world image.
6095 2005-06-29 Wim Taymans <wim@fluendo.com>
6097 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6098 (gst_base_sink_change_state):
6102 map SIGNAL and BROADCAST to the right function.
6105 Remove redundant braces.
6107 * gst/gstpad.c: (gst_pad_set_caps):
6108 Don't call setcaps function when reseting caps to NULL.
6110 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6111 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6112 (gst_system_clock_id_unschedule):
6113 Use BROADCAST as this is what we do.
6115 2005-06-29 Wim Taymans <wim@fluendo.com>
6117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6118 We are actually prerolling before commiting the state
6121 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6123 * docs/manual/advanced-clocks.xml:
6124 * docs/manual/advanced-interfaces.xml:
6125 * docs/manual/advanced-metadata.xml:
6126 * docs/manual/advanced-position.xml:
6127 * docs/manual/advanced-schedulers.xml:
6128 * docs/manual/advanced-threads.xml:
6129 * docs/manual/appendix-porting.xml:
6130 * docs/manual/basics-bins.xml:
6131 * docs/manual/basics-bus.xml:
6132 * docs/manual/basics-elements.xml:
6133 * docs/manual/basics-helloworld.xml:
6134 * docs/manual/basics-pads.xml:
6135 * docs/manual/highlevel-components.xml:
6136 * docs/manual/manual.xml:
6137 * docs/manual/thread.fig:
6138 Update (until threads/scheduling) Application Development Manual;
6139 remove GstThread, add GstBus, add simple porting checklist, add
6140 documentation for tag writing, clocks, make all examples until this
6141 part compile and run.
6142 * examples/manual/Makefile.am:
6143 Update from changes to Application Development Manual; add bus
6144 example, remove thread example.
6146 2005-06-28 Wim Taymans <wim@fluendo.com>
6148 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6149 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6150 (gst_bus_source_dispatch):
6151 Add debugging messages.
6152 Make internal methods static.
6153 Handle the case where the bus is flushed in the handler.
6155 * gst/gstelement.c: (gst_element_get_bus):
6156 Fix refcount in _get_bus();
6158 * gst/gstpipeline.c: (gst_pipeline_change_state),
6159 (gst_pipeline_get_clock_func):
6160 Clock refcounting fixes.
6161 Handle the case where preroll timed out more gracefully.
6163 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6164 Clean up the internal thread in dispose. This is needed
6165 for subclasses that actually get disposed.
6167 * gst/schedulers/threadscheduler.c:
6168 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6169 (gst_thread_scheduler_dispose):
6170 Free thread pool in dispose.
6172 2005-06-28 Andy Wingo <wingo@pobox.com>
6174 * tests/network-clock-utils.scm (debug, print-event): New utils.
6176 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6177 (*packet-loss*): Unified loss probability.
6178 (network-time): Report out-of-band events.
6180 * tests/plot-data: Add support for out-of-band events. Hack it
6181 into this script instead of passing it down the pipe; should fix
6184 2005-06-28 Wim Taymans <wim@fluendo.com>
6186 * docs/gst/gstreamer.types:
6187 * docs/gst/tmpl/gstbasesrc.sgml:
6188 * docs/gst/tmpl/gstpad.sgml:
6191 2005-06-28 Wim Taymans <wim@fluendo.com>
6193 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6194 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6195 (gst_proxy_pad_do_fixatecaps):
6196 Correctly proxy the check_pull_range function.
6198 2005-06-28 Andy Wingo <wingo@pobox.com>
6200 * tests/network-clock.scm: Removed need for slib.
6202 2005-06-28 Wim Taymans <wim@fluendo.com>
6204 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6205 (gst_basesink_preroll_queue_flush):
6206 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6207 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6208 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6209 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6210 (gst_proxy_pad_set_property):
6213 * gst/gstqueue.c: (gst_queue_init):
6214 The deprecated pad loop function is removed now.
6216 2005-06-28 Andy Wingo <wingo@pobox.com>
6218 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6219 New parameters, simulate network packet loss.
6221 * tests/network-clock-utils.scm: Initialize the RNG.
6223 2005-06-28 Wim Taymans <wim@fluendo.com>
6225 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6226 (gst_basesink_event), (gst_basesink_deactivate):
6227 Flushing the preroll queue always needs to unlock the waiters.
6229 2005-06-28 Edward Hervey <edward@fluendo.com>
6231 * gst/gstpipeline.c: (gst_pipeline_send_event):
6232 Wheen a seek was successful on a pipeline, set the stream_time to the
6233 seek offset in order to have a synchronized stream_time.
6235 2005-06-28 Wim Taymans <wim@fluendo.com>
6237 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6238 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6239 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6240 (gst_proxy_pad_do_fixatecaps):
6241 Call wrapper function instead of just calling the function
6242 pointers. This takes care of any locking and whatmore.
6244 2005-06-28 Wim Taymans <wim@fluendo.com>
6246 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6247 (gst_pad_pull_range):
6249 CONNECTED -> LINKED.
6251 2005-06-28 Andy Wingo <wingo@pobox.com>
6253 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6254 source-munging commit!!!
6256 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6257 (gst_object_sink): Take gpointer arguments, not GstObject --
6258 avoids casts. Like GLib.
6260 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6263 2005-06-27 Andy Wingo <wingo@pobox.com>
6265 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6268 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6269 returns a sorted copy of the trace list.
6270 (gst_alloc_trace_print_live): New API, only prints traces with
6271 live objects. Sort the list.
6272 (gst_alloc_trace_print_all): Sort the list.
6273 (gst_alloc_trace_print): Align columns.
6275 * gst/elements/gstttypefindelement.c:
6276 * gst/elements/gsttee.c:
6277 * gst/base/gstbasesrc.c:
6278 * gst/base/gstbasesink.c:
6279 * gst/base/gstbasetransform.c:
6280 * gst/gstqueue.c: Adapt for pad activation changes.
6282 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6284 (gst_pipeline_dispose): Drop ref on sched.
6286 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6287 (gst_pad_activate_default): Push mode by default.
6288 (pre_activate_switch, post_activate_switch): New stubs, things to
6289 do before and after switching activation modes on pads.
6290 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6291 the pad's activate function to choose which mode to activate.
6292 Shortcut on deactivation and call the right function directly.
6293 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6295 (gst_pad_activate_push): New API, same for push mode.
6296 (gst_pad_set_activate_function)
6297 (gst_pad_set_activatepull_function)
6298 (gst_pad_set_activatepush_function): Setters for new API.
6300 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6301 Trace all miniobjects.
6302 (gst_mini_object_make_writable): Unref the arg if we copy, like
6303 gst_caps_make_writable.
6305 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6307 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6308 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6309 Adapt for new pad API.
6311 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6314 * gst/gstelement.c (gst_element_iterate_src_pads)
6315 (gst_element_iterate_sink_pads): New API functions.
6317 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6318 should fold into gstiterator.c in some form.
6319 (gst_element_pads_activate): Simplified via use of fold and
6320 delegation of decisions to gstpad->activate.
6322 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6325 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6326 class once in init, like gstmessage. Didn't run into this issue
6327 but it seems correct. Don't initialize a trace, gstminiobject does
6330 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6331 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6333 (assert_live_count): New util function, uses alloc traces to check
6336 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6337 To be modified when unlink drops the internal pad.
6339 2005-06-27 Wim Taymans <wim@fluendo.com>
6341 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6342 (gst_bin_change_state):
6343 Cleanup the get_state() function a little, make sure it
6344 iterates the same set of elements.
6345 Added stub iterate_state_order().
6347 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6349 * docs/gst/gstreamer-docs.sgml:
6350 * docs/gst/gstreamer-sections.txt:
6351 * docs/gst/gstreamer.types:
6352 * docs/gst/tmpl/gstbasesink.sgml:
6353 * docs/gst/tmpl/gstbasesrc.sgml:
6354 * docs/gst/tmpl/gstbasetransform.sgml:
6355 * docs/gst/tmpl/gstelement.sgml:
6356 * docs/gst/tmpl/gstiterator.sgml:
6357 * gst/base/gstbasesrc.c:
6358 * gst/base/gstbasesrc.h:
6359 * gst/base/gstbasetransform.h:
6361 * gst/gstiterator.h:
6362 adding basetransform and iterator docs
6364 2005-06-27 Andy Wingo <wingo@pobox.com>
6366 * docs/design/part-activation.txt: Notes on how activation should
6367 work -- not quite implemented yet.
6369 2005-06-25 Wim Taymans <wim@fluendo.com>
6371 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6372 At least get the chain function correct, needs more
6375 2005-06-25 Wim Taymans <wim@fluendo.com>
6377 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6378 (gst_basesink_handle_object), (gst_basesink_event),
6379 (gst_basesink_do_sync), (gst_basesink_handle_event),
6380 (gst_basesink_change_state):
6382 Right, two problems here: ghostpads don't take locks and
6383 glib _rec_mutex_lock_full() with depth==0 still locks.
6384 Catch illegal locking and g_warn them.
6386 2005-06-25 Wim Taymans <wim@fluendo.com>
6388 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6389 Have to check for completion now...
6391 2005-06-25 Wim Taymans <wim@fluendo.com>
6393 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6394 (gst_basesink_handle_object), (gst_basesink_event),
6395 (gst_basesink_do_sync), (gst_basesink_handle_event),
6396 (gst_basesink_change_state):
6398 Unlock STREAM_LOCK whatever the recursion was.
6400 2005-06-25 Wim Taymans <wim@fluendo.com>
6402 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6403 (gst_basesink_preroll_queue_empty),
6404 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6405 (gst_basesink_event), (gst_basesink_do_sync),
6406 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6407 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6408 (gst_basesink_change_state):
6409 Reworked the base sink, handle event and buffer serialisation
6410 correctly and removed possible deadlock.
6411 Handle EOS correctly.
6413 2005-06-25 Wim Taymans <wim@fluendo.com>
6415 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6416 (gst_pipeline_change_state):
6417 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6418 Allow elements to post EOS in the state change function.
6419 Fix up -launch, make it exit the poll loop when the
6420 pipeline actually changed state.
6421 Fix up warning parsing in -launch.
6423 2005-06-25 Wim Taymans <wim@fluendo.com>
6425 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6426 (gst_tee_sink_activate):
6427 Core takes STREAM_LOCK for us now.
6429 2005-06-25 Wim Taymans <wim@fluendo.com>
6431 * gst/gstelement.c: (gst_element_get_state_func),
6432 (gst_element_set_state):
6434 * gst/gstmessage.c: (gst_message_parse_error),
6435 (gst_message_parse_warning):
6436 Keep track of current target state while performing a state
6437 change so that subclasses can do something interesting.
6438 Fix parsing of warning/error messages when GError is NULL.
6440 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6442 * docs/gst/Makefile.am:
6443 * docs/gst/gstreamer-docs.sgml:
6444 * docs/gst/gstreamer-sections.txt:
6445 * docs/gst/gstreamer.types:
6446 * docs/gst/tmpl/gstbasesink.sgml:
6447 * docs/gst/tmpl/gstbasesrc.sgml:
6448 * docs/gst/tmpl/gstbin.sgml:
6449 * docs/gst/tmpl/gstcompat.sgml:
6450 * docs/gst/tmpl/gstfakesink.sgml:
6451 * docs/gst/tmpl/gstfakesrc.sgml:
6452 * docs/gst/tmpl/gstfilesink.sgml:
6453 * docs/gst/tmpl/gstfilesrc.sgml:
6454 * docs/gst/tmpl/gstindex.sgml:
6455 * docs/manual/appendix-quotes.xml:
6456 * gst/base/gstbasesrc.h:
6457 * gst/elements/gstfakesrc.h:
6459 start pulling in base classes and elements in our docs
6461 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6463 * docs/gst/Makefile.am:
6464 * docs/libs/Makefile.am:
6465 fixed make distcheck with gtk-doc 1.3
6467 2005-06-23 Wim Taymans <wim@fluendo.com>
6469 * gst/gstelement.c: (gst_element_get_state_func),
6470 (gst_element_set_state), (gst_element_change_state):
6471 When the state did not change, also report NO_PREROLL
6474 2005-06-23 Wim Taymans <wim@fluendo.com>
6476 * gst/gstpad.c: (gst_pad_event_default):
6477 * gst/gstqueue.c: (gst_queue_loop):
6478 No unsafe task pausing please.
6480 2005-06-23 Wim Taymans <wim@fluendo.com>
6482 * gst/schedulers/threadscheduler.c:
6483 (gst_thread_scheduler_task_start),
6484 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6485 Ref the task before pushing it on the threadpool. This
6486 makes sure that we have a ref when the threadfunction is
6489 2005-06-23 Andy Wingo <wingo@pobox.com>
6491 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6492 offset is greater than the file's size.
6494 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6495 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6496 * gst/gstobject.c (gst_object_class_init): Make the class lock
6497 recursive. Wim won't let me drop deep_notify. Decodebin works
6500 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6501 internal pad, and hacks accordingly. Doesn't do it on the target
6502 pad because we change its caps. Probably catches all cases of
6504 (gst_ghost_pad_set_property): Connect to notify::caps as
6507 * tests/network-clock.scm (plot-simulation): Pipe data to the
6508 elite python skript.
6510 * tests/network-clock-utils.scm (define-parameter): New macro,
6511 defines a parameter that can be set via the command line.
6512 (set-parameter!, parse-parameter-arguments): Command line args
6515 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6518 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6520 * gst/elements/gsttypefindelement.c:
6521 (gst_type_find_element_handle_event):
6522 Don't restart typefinding on a discont.
6523 * gst/gstelement.c: (gst_element_set_state):
6525 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6526 Allow changing mode of an active pad.
6528 * gst/registries/gstlibxmlregistry.c: (load_feature):
6529 Don't cast a static pad template to a normal pad template.
6531 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6533 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6534 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6535 remove gst_strtoll completely, since it didn't actually do
6536 anything more than what g_ascii_strtoull already does.
6537 check for range errors when deserializing
6538 do a cast for the unsigned cases; but further fixing needs
6539 a decision on what the interpretation of "(int)" and
6540 deserialization should be for values that fall outside the
6541 type's boundaries (ie, refuse, or interpret as casting)
6543 2005-06-23 Wim Taymans <wim@fluendo.com>
6545 * check/Makefile.am:
6546 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6547 * docs/design/part-live-source.txt:
6548 * docs/design/part-states.txt:
6549 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6550 (gst_basesrc_set_live), (gst_basesrc_is_live),
6551 (gst_basesrc_get_range), (gst_basesrc_activate),
6552 (gst_basesrc_change_state):
6553 * gst/base/gstbasesrc.h:
6554 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6555 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6556 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6557 * gst/gstelement.c: (gst_element_get_state_func),
6558 (gst_element_set_state):
6561 * tools/gst-launch.c: (event_loop), (main):
6562 Added support for live sources and other elements that
6564 Updated design docs, added live-source design doc.
6565 Implemented live source functionality in basesrc
6566 Fix error condition in _bin_get_state()
6567 Implement live source handling in -launch.
6568 Added check for live sources.
6569 Fixed case in GstBin where elements were changed state
6573 2005-06-23 Andy Wingo <wingo@pobox.com>
6575 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6578 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6579 gst_caps_replace takes care of this for us.
6581 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6582 gst_pad_set_caps on the target, not just its setcaps() function.
6584 * tests/network-clock.scm:
6585 * tests/network-clock-utils.scm: A network clock simulator.
6586 Something of an algorithmic testbed before doing something in C.
6588 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6590 * check/Makefile.am:
6591 * check/gst/capslist.h:
6592 copy over from 0.8, and add two with bitmasks specified with
6594 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6595 add test to parse everything from capslist.h
6596 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6598 add test for structure deserialization
6599 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6600 add tests for deserialization of strings to int types
6601 * gst/gststructure.c: (gst_structure_nth_field_name):
6602 * gst/gststructure.h:
6603 add a way to get the name of a field referenced by index
6604 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6605 instead of checking if the resulting long long lies between
6606 min and max, we check if the long long would fit into
6607 a number of bytes for the final type.
6608 This fixes cases where a string represents 2^32 - 1, which
6609 when cast to int would be the (valid) -1, but is bigger than
6612 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6614 * gst/parse/grammar.y:
6615 add a log line for type deserialization
6617 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6619 * check/gst/gstvalue.c: (START_TEST):
6620 * gst/gstvalue.c: (gst_value_deserialize):
6621 return long long, not int, so gint64 deserialization actually
6622 works. Is there any flag that makes the compiler check this ?
6625 2005-06-22 Wim Taymans <wim@fluendo.com>
6628 Added convenience macros for setting buffers in GValue.
6630 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6632 * check/gst/.cvsignore:
6633 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6634 add a test deserializing int64, and comment part out because
6637 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6639 * check/Makefile.am:
6640 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6641 * testsuite/Makefile.am:
6642 * testsuite/caps/Makefile.am:
6643 * testsuite/caps/value_serialize.c:
6644 * testsuite/test_gst_init.c:
6645 move a value_serialize test over
6647 2005-06-20 Wim Taymans <wim@fluendo.com>
6652 * gst/gstvalue.c: (gst_value_compare_buffer),
6653 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6654 (gst_value_compare_flags), (gst_value_serialize_flags),
6655 (gst_value_deserialize_flags), (_gst_value_initialize):
6656 Fix serialisation of buffers, they are not boxed types anymore
6658 2005-06-20 Wim Taymans <wim@fluendo.com>
6660 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6661 Testcase to show error in buffer-on-caps serialisation.
6663 2005-06-20 Andy Wingo <wingo@pobox.com>
6665 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6666 will be adding to later.
6668 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6669 if its socks fill with rocks.
6670 (gst_system_clock_obtain): Set the name on object construction.
6671 Avoid double-checked locking.
6673 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
6675 * gst/gsturi.c: (gst_element_make_from_uri):
6676 Fix potential endless loop.
6678 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6680 * check/Makefile.am:
6682 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6684 move over from testsuite dir and clean up
6687 * testsuite/Makefile.am:
6688 * testsuite/tags/.cvsignore:
6689 * testsuite/tags/Makefile.am:
6690 * testsuite/tags/merge.c:
6691 remove testsuite/tags
6693 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6695 * docs/gst/gstreamer-sections.txt:
6696 * docs/gst/tmpl/gstenumtypes.sgml:
6697 * win32/gstenumtypes.c:
6698 clean up documentation build a little
6700 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6703 add macros for checking refcounts on objects and caps
6704 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6705 add some more unit tests
6706 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6707 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6708 fix leaked refcounts (I hope :)) so unittest works
6712 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6714 * configure.ac: back to HEAD
6716 === release 0.9.1 ===
6718 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6724 2005-06-17 Andy Wingo <wingo@pobox.com>
6726 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6727 assert; it's always possible that the pad gets deactivated in
6728 between the checks in gstpad.c and the implementation. Rely on
6729 finish_preroll() to return a FLUSHING or similar instead of on the
6732 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6733 clock and post an EOS message if we come out of finish_preroll in
6736 2005-06-16 David Schleef <ds@schleef.org>
6738 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6739 (gst_capsfilter_set_property): Allow NULL as possible value
6740 for filter_caps property, indicating GST_CAPS_ANY.
6742 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6744 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6746 * gst/schedulers/Makefile.am:
6748 * gstreamer.spec.in:
6751 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6753 * gstreamer.spec.in:
6756 2005-06-08 Andy Wingo <wingo@pobox.com>
6758 * gst/gstutils.c: RPAD fixes all around.
6759 (gst_element_link_pads): Refcounting fixes.
6761 * tools/gst-inspect.c:
6762 * tools/gst-xmlinspect.c:
6764 * gst/base/gsttypefindhelper.c:
6765 * gst/base/gstbasesink.c:
6766 * gst/gstqueue.c: RPAD fixes.
6768 * gst/gstghostpad.h:
6769 * gst/gstghostpad.c: New ghost pad implementation as full proxy
6770 pads. The tricky thing is they provide both source and sink
6771 interfaces, since they proxy the internal pad for the external
6772 pad, and vice versa. Implement with lower-level ProxyPad objects,
6773 with the interior proxy pad as a child of the exterior ghost pad.
6774 Should write a doc on this.
6776 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6777 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6780 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6781 pads are real pads. No ghost pads in this file. Not documenting
6782 the myriad s/RPAD/PAD/ and REALIZE fixes.
6783 (gst_pad_class_init): Add properties for "direction" and
6784 "template". Both are construct-only, so they can't change during
6785 the life of the pad. Fixes properly deriving from GstPad.
6786 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6787 derived objects, just set properties when creating the objects via
6789 (gst_pad_get_parent): Implement as a function, return NULL if the
6790 parent is not an element.
6791 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6792 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6794 * gst/gstobject.c (gst_object_class_init): Make name a construct
6795 property. Don't set it in the object init.
6797 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6798 with UNKNOWN direction.
6799 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6800 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6801 (gst_element_remove_pad): Remove ghost-pad special cases.
6802 (gst_element_pads_activate): Remove rpad cruft.
6804 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6805 catch the pad's-parent-not-an-element case.
6807 * gst/gst.h: Include gstghostpad.h.
6809 * gst/gst.c (init_post): No more real, ghost pads.
6811 * gst/Makefile.am: Add gstghostpad.[ch].
6813 * check/Makefile.am:
6814 * check/gst/gstbin.c:
6815 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6816 into a bin creates ghost pads, and that the refcounts are right.
6817 Partly moved from gstbin.c.
6819 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6821 * check/gst-libs/.cvsignore:
6822 * check/gst/.cvsignore:
6823 * check/pipelines/.cvsignore:
6825 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6826 (START_TEST), (cleanup_suite), (main):
6827 add some tests related to cleanup after running pipelines
6829 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6831 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6832 add a testsuite for GstBuffer
6834 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6836 * gst/gstminiobject.h:
6837 add defines for accessing the refcount
6839 2005-06-03 Stefan Kost <ensonic@users.sf.net>
6841 * Makefile.am: added support for html unit test coverage reports
6843 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
6845 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6846 Free existing caps if the capsfilter changes. Add a FIXME about
6847 setting those caps on the pads.
6849 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6850 Before adding a ghost pad to a parent bin, check that there isn't
6851 already one for the element on the bin. Prevents infinite recursion
6852 when using decodebin in parse pipelines. Andy says he'll rewrite the
6853 way this works anyway, so ignore the hack.
6855 2005-06-02 Andy Wingo <wingo@pobox.com>
6857 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6858 file size, pass it on to the type find helper.
6860 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6861 segment_start and segment_end properly according to the seek
6862 method. Segment_end is still a bit flaky because offset can be
6863 negative for CUR and END cases, but it takes -1 as an "unset"
6866 2005-06-02 Wim Taymans <wim@fluendo.com>
6868 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6869 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6870 (gst_basesink_activate):
6871 * gst/base/gstbasesink.h:
6872 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6873 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6874 (gst_pad_query), (gst_pad_start_task):
6876 * gst/gstqueue.c: (gst_queue_bufferalloc),
6877 (gst_queue_handle_sink_event), (gst_queue_chain):
6878 Bufferalloc: return GstFlowReturn to more accuratly report
6879 why allocation failed.
6881 2005-06-02 Wim Taymans <wim@fluendo.com>
6883 * gst/gstpipeline.c: (gst_pipeline_send_event):
6884 Take snapshot of state without blocking.
6886 2005-06-02 Wim Taymans <wim@fluendo.com>
6888 * docs/design/part-TODO.txt:
6889 * docs/design/part-caps.txt:
6890 * docs/design/part-clocks.txt:
6891 * docs/design/part-negotiation.txt:
6892 * docs/design/part-preroll.txt:
6895 2005-05-30 Wim Taymans <wim@fluendo.com>
6897 * gst/elements/gstidentity.c: (gst_identity_event),
6898 (gst_identity_transform), (gst_identity_get_property):
6899 Protect last_message property as it is accessed from
6902 2005-05-30 Wim Taymans <wim@fluendo.com>
6904 * gst/gstelement.c: (gst_element_init),
6905 (gst_element_pads_activate), (gst_element_change_state):
6906 Slicker pad activation code.
6908 2005-05-30 Wim Taymans <wim@fluendo.com>
6912 * gst/gstelementfactory.h:
6914 Move elementfactory methods to separate .h file.
6916 2005-05-30 Wim Taymans <wim@fluendo.com>
6918 * docs/design/part-overview.txt:
6919 * gst/gstsystemclock.h:
6920 Small typo fixes, doc updates.
6922 2005-05-30 Wim Taymans <wim@fluendo.com>
6924 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6925 (init_popt_callback):
6926 Remove cpu-opt flag.
6928 2005-05-30 Wim Taymans <wim@fluendo.com>
6930 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6931 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6933 Avoid typechecking in places where not needed.
6934 Added accessor for malloc_data.
6936 2005-05-30 Wim Taymans <wim@fluendo.com>
6938 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6939 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6940 (gst_pad_configure_sink), (gst_pad_configure_src),
6941 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6942 (gst_pad_start_task):
6943 Propagate errors from _set_caps() in configure_src/sink
6944 functions instead of returning TRUE.
6945 FLUSH events can travel up and downstream
6948 2005-05-30 Wim Taymans <wim@fluendo.com>
6950 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6951 (gst_basesink_activate):
6952 Handle EOS in preroll.
6954 2005-05-30 Wim Taymans <wim@fluendo.com>
6956 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6957 (gst_queue_loop), (gst_queue_handle_src_event):
6958 Remove old pieces of code
6959 Flushing the queue in an upstream event is a very bad idea.
6961 2005-05-26 Andy Wingo <wingo@pobox.com>
6963 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6964 gst_value_set_mini_object so as to add a ref on the object (which
6965 will be removed when the value is unset).
6967 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6968 arg type in ::handoff.
6970 * gst/gstelement.c (gst_element_change_state): Also deactivate
6971 pads in READY->NULL, just in case the element didn't make it to
6972 PAUSED. Wingo tested, Wim approved.
6974 2005-05-26 Wim Taymans <wim@fluendo.com>
6976 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6977 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6978 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6979 A flushing pad cannot be used to alloc_buffer from.
6981 2005-05-26 Wim Taymans <wim@fluendo.com>
6983 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6984 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6985 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6986 (gst_bus_create_watch), (gst_bus_add_watch_full):
6988 Implement a real GSource and use g_main_context_wakeup() to
6989 signal new messages instead of the socketpair.
6991 2005-05-25 Wim Taymans <wim@fluendo.com>
6993 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6994 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6995 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6996 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6997 (gst_pad_send_event), (gst_pad_start_task):
6998 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6999 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
7000 (gst_queue_sink_activate), (gst_queue_src_activate),
7001 (gst_queue_change_state):
7003 Fix state changes for non sinks. We now change sinks, then elements
7004 with unconnected srcpads, then the rest.
7005 More efficient queue unlocking in flush and state changes.
7006 Set the pad activate mode even if it does not have an activate
7009 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7011 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
7012 Don't go in pull mode for non-seekable sources.
7013 * gst/elements/gsttypefindelement.h:
7014 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7015 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
7016 (free_entry), (stop_typefinding),
7017 (gst_type_find_element_handle_event), (find_peek),
7018 (gst_type_find_element_chain), (do_pull_typefind),
7019 (gst_type_find_element_change_state):
7020 Allow typefinding (w/o seeking) in push-mode, simplified version
7022 * gst/gstutils.c: (gst_buffer_join):
7024 gst_buffer_join() from 0.8.
7026 2005-05-25 Wim Taymans <wim@fluendo.com>
7028 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
7029 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
7030 (gst_pad_send_event), (gst_pad_start_task):
7031 Disable attempt at mode switching until it is figured out.
7033 2005-05-25 Wim Taymans <wim@fluendo.com>
7035 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
7036 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
7037 (gst_basesink_finish_preroll), (gst_basesink_chain),
7038 (gst_basesink_loop), (gst_basesink_activate),
7039 (gst_basesink_change_state):
7040 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
7041 (gst_basesrc_get_range), (gst_basesrc_loop),
7042 (gst_basesrc_activate):
7043 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7044 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7045 (gst_real_pad_init), (gst_real_pad_set_property),
7046 (gst_real_pad_get_property), (gst_pad_set_active),
7047 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7048 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7049 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7050 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7051 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7052 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7053 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7054 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7055 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7056 (gst_pad_stop_task):
7058 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7059 (gst_queue_loop), (gst_queue_src_activate):
7060 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7061 (gst_task_get_state):
7063 * gst/schedulers/threadscheduler.c:
7064 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7065 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7067 Remove ACTIVE pad flag, use FLUSHING everywhere
7068 Added _pad_chain(), _pad_get_range() to call chain/getrange
7070 Add locks around IS_FLUSHING when reading.
7071 Take STREAM lock in chain(), get_range() functions so plugins
7072 don't need to take it anymore.
7076 2005-05-25 Wim Taymans <wim@fluendo.com>
7078 * tools/gst-launch.c: (event_loop):
7079 Unref message after using its contents instead of
7082 2005-05-24 Wim Taymans <wim@fluendo.com>
7084 * docs/design/draft-ghostpads.txt:
7085 * docs/design/draft-push-pull.txt:
7086 * docs/design/draft-query.txt:
7087 * docs/design/part-overview.txt:
7088 Docs updates, added general overview doc.
7090 2005-05-21 David Schleef <ds@schleef.org>
7092 * docs/gst/tmpl/old/GstBin.sgml:
7093 * docs/gst/tmpl/old/GstBuffer.sgml:
7094 * docs/gst/tmpl/old/GstCaps.sgml:
7095 * docs/gst/tmpl/old/GstClock.sgml:
7096 * docs/gst/tmpl/old/GstCompat.sgml:
7097 * docs/gst/tmpl/old/GstData.sgml:
7098 * docs/gst/tmpl/old/GstElement.sgml:
7099 * docs/gst/tmpl/old/GstEvent.sgml:
7100 * docs/gst/tmpl/old/GstIndex.sgml:
7101 * docs/gst/tmpl/old/GstStructure.sgml:
7102 * docs/gst/tmpl/old/GstTag.sgml:
7103 * docs/gst/tmpl/old/cothreads.sgml:
7104 * docs/gst/tmpl/old/cothreads_compat.sgml:
7105 * docs/gst/tmpl/old/gettext.sgml:
7106 * docs/gst/tmpl/old/gobject2gtk.sgml:
7107 * docs/gst/tmpl/old/grammar.tab.sgml:
7108 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7109 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7110 * docs/gst/tmpl/old/gst_private.sgml:
7111 * docs/gst/tmpl/old/gstaggregator.sgml:
7112 * docs/gst/tmpl/old/gstarch.sgml:
7113 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7114 * docs/gst/tmpl/old/gstbufferstore.sgml:
7115 * docs/gst/tmpl/old/gstdata_private.sgml:
7116 * docs/gst/tmpl/old/gstdisksink.sgml:
7117 * docs/gst/tmpl/old/gstdisksrc.sgml:
7118 * docs/gst/tmpl/old/gstelementfactory.sgml:
7119 * docs/gst/tmpl/old/gstextratypes.sgml:
7120 * docs/gst/tmpl/old/gstfakesink.sgml:
7121 * docs/gst/tmpl/old/gstfakesrc.sgml:
7122 * docs/gst/tmpl/old/gstfdsink.sgml:
7123 * docs/gst/tmpl/old/gstfdsrc.sgml:
7124 * docs/gst/tmpl/old/gstfilesink.sgml:
7125 * docs/gst/tmpl/old/gstfilesrc.sgml:
7126 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7127 * docs/gst/tmpl/old/gstidentity.sgml:
7128 * docs/gst/tmpl/old/gstindexfactory.sgml:
7129 * docs/gst/tmpl/old/gstmarshal.sgml:
7130 * docs/gst/tmpl/old/gstmd5sink.sgml:
7131 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7132 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7133 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7134 * docs/gst/tmpl/old/gstpipefilter.sgml:
7135 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7136 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7137 * docs/gst/tmpl/old/gstshaper.sgml:
7138 * docs/gst/tmpl/old/gstspider.sgml:
7139 * docs/gst/tmpl/old/gstspideridentity.sgml:
7140 * docs/gst/tmpl/old/gststatistics.sgml:
7141 * docs/gst/tmpl/old/gsttee.sgml:
7142 * docs/gst/tmpl/old/gsttimecache.sgml:
7143 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7144 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7145 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7146 * docs/gst/tmpl/old/types.sgml:
7147 I didn't intend to add these or check them in.
7149 2005-05-19 David Schleef <ds@schleef.org>
7151 * configure.ac: Use -no-common everywhere. In a sane world, it
7152 would be the default in libtool, because without it, you can't
7153 build DLLs on Windows.
7154 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7155 * docs/gst/gstreamer-sections.txt:
7156 * docs/gst/tmpl/gstcpu.sgml:
7157 * docs/gst/tmpl/gstdata.sgml:
7158 * docs/gst/tmpl/gstthread.sgml:
7160 2005-05-19 David Schleef <ds@schleef.org>
7162 * gst/gstminiobject.c: (gst_value_set_mini_object),
7163 (gst_value_take_mini_object), (gst_value_get_mini_object):
7164 * gst/gstminiobject.h: Add GValue set/get functions.
7166 2005-05-19 Wim Taymans <wim@fluendo.com>
7168 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7169 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7170 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7172 * gst/gstbus.c: (gst_bus_post):
7173 * gst/gstelement.c: (gst_element_get_random_pad):
7174 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7175 Make subbufer unref the parent in finalize.
7176 some more debugging info.
7179 2005-05-19 Wim Taymans <wim@fluendo.com>
7181 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7182 (gst_basesink_init), (gst_basesink_finalize),
7183 (gst_basesink_activate), (gst_basesink_change_state):
7184 Don't free preroll queue too early.
7186 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7190 Hi, I'm outdated. Please shoot me.
7192 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7194 * gst/gstpipeline.c: (gst_pipeline_send_event):
7195 Do not access variables after they have been deleted.
7197 2005-05-19 Wim Taymans <wim@fluendo.com>
7199 * tools/gst-inspect.c: (print_plugin_features):
7200 A plugin feature does unfortunatly not use the
7203 2005-05-18 Wim Taymans <wim@fluendo.com>
7205 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7206 Port _span() functions to new subbuffers.
7208 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7210 * gst/gstbin.c: (gst_bin_add_func):
7211 Fix clock settery in bins when adding kids after the clock has
7214 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7216 * gst/elements/gstidentity.c: (gst_identity_class_init):
7217 Workaround until signals support GstMiniObject.
7219 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7222 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7224 2005-05-18 Wim Taymans <wim@fluendo.com>
7226 * gst/base/Makefile.am:
7227 * gst/base/gstadapter.c: (gst_adapter_base_init),
7228 (gst_adapter_class_init), (gst_adapter_init),
7229 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7230 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7231 (gst_adapter_flush), (gst_adapter_available),
7232 (gst_adapter_available_fast):
7233 * gst/base/gstadapter.h:
7234 Ported and added adapter to the base classes.
7236 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7240 Make sure the class is reffed/unreffed once before threads can be
7241 used. Fixes #304551.
7243 2005-05-17 Wim Taymans <wim@fluendo.com>
7245 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7246 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7247 * gst/gstminiobject.c: (gst_mini_object_get_type),
7248 (gst_mini_object_free):
7249 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7250 (gst_pad_push), (gst_pad_push_event):
7251 * gst/gstqueue.c: (gst_queue_change_state):
7252 Don't queue buffers in basesink when we are flushing.
7253 Unref buffer when flushing in basesink.
7254 Flush queue when going to READY
7255 Unref buffer when _push() returns an error.
7256 Don't free MiniObject instance when refcount is incremented
7257 in _finalize() so that we can recover objects.
7259 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7261 * docs/manual/advanced-schedulers.xml:
7262 * docs/manual/appendix-checklist.xml:
7263 * docs/pwg/advanced-clock.xml:
7264 * docs/pwg/advanced-interfaces.xml:
7265 * docs/pwg/advanced-request.xml:
7266 * docs/pwg/advanced-types.xml:
7267 * docs/pwg/intro-preface.xml:
7268 * examples/plugins/example.c: (gst_example_get_type),
7269 (gst_example_class_init), (gst_example_chain),
7270 (gst_example_set_property), (gst_example_get_property),
7271 (gst_example_change_state), (plugin_init):
7272 * examples/plugins/example.h:
7275 2005-05-17 Wim Taymans <wim@fluendo.com>
7277 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7278 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7279 * gst/gstqueue.c: (gst_queue_change_state):
7280 Clear queue when going to READY.
7281 Remove IN_SETCAPS flag too.
7283 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7285 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7286 Remove implicit cast from gboolean to GstElementStateReturn;
7287 make sure we still return failure in paused => ready case if
7288 the parent class fails to change state and our own stop
7291 2005-05-17 Wim Taymans <wim@fluendo.com>
7293 * tools/gst-launch.c: (event_loop):
7294 Message was unreffed too soon.
7296 2005-05-16 Andy Wingo <wingo@pobox.com>
7298 * gst/gstbin.c (sink_iterator_filter): Err... um...
7300 * check/gst/gstbin.c (test_ghost_pads): New test for the
7301 ghosting-if-elements-not-in-same-bin behavior.
7303 2005-05-16 David Schleef <ds@schleef.org>
7305 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7306 accessing refcount directly.
7308 2005-05-15 David Schleef <ds@schleef.org>
7310 * check/Makefile.am: remove GstData checks
7311 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7312 * gst/Makefile.am: add miniobject, remove data
7313 * gst/gst.h: add miniobject, remove data
7314 * gst/gstdata.c: remove
7315 * gst/gstdata.h: remove
7316 * gst/gstdata_private.h: remove
7317 * gst/gsttypes.h: remove GstEvent and GstMessage
7318 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7319 * gst/gstmarshal.list: change BOXED -> OBJECT
7321 Implement GstMiniObject.
7322 * gst/gstminiobject.c:
7323 * gst/gstminiobject.h:
7325 Modify to be subclasses of GstMiniObject.
7326 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7327 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7328 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7329 (gst_subbuffer_get_type), (gst_subbuffer_init),
7330 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7333 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7334 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7335 (_gst_event_copy), (gst_event_new):
7337 * gst/gstmessage.c: (_gst_message_initialize),
7338 (gst_message_get_type), (gst_message_class_init),
7339 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7340 (gst_message_new), (gst_message_new_error),
7341 (gst_message_new_warning), (gst_message_new_tag),
7342 (gst_message_new_state_changed), (gst_message_new_application):
7344 * gst/gstprobe.c: (gst_probe_perform),
7345 (gst_probe_dispatcher_dispatch):
7347 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7348 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7349 (_gst_query_copy), (gst_query_new):
7351 Update elements for GstData -> GstMiniObject changes
7353 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7354 (gst_queue_chain), (gst_queue_loop):
7355 * gst/elements/gstbufferstore.c:
7356 (gst_buffer_store_add_buffer_func),
7357 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7358 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7359 (gst_fakesink_render):
7360 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7361 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7362 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7363 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7364 (gst_filesrc_create_read):
7365 * gst/elements/gstidentity.c: (gst_identity_class_init):
7366 * gst/elements/gsttypefindelement.c:
7367 (gst_type_find_element_src_event), (free_entry_buffers),
7368 (gst_type_find_element_handle_event):
7369 * libs/gst/dataprotocol/dataprotocol.c:
7370 (gst_dp_header_from_buffer):
7371 * libs/gst/dataprotocol/dataprotocol.h:
7372 * libs/gst/dataprotocol/dp-private.h:
7374 2005-05-15 David Schleef <ds@schleef.org>
7376 * gst/elements/gstelements.c: Don't include headers that were
7379 2005-05-15 David Schleef <ds@schleef.org>
7381 * gst/elements/Makefile.am: Remove some elements that don't
7382 need to be in the core (or even exist at all).
7383 * gst/elements/gstaggregator.c:
7384 * gst/elements/gstaggregator.h:
7385 * gst/elements/gstmd5sink.c:
7386 * gst/elements/gstmd5sink.h:
7387 * gst/elements/gstmultifilesrc.c:
7388 * gst/elements/gstmultifilesrc.h:
7389 * gst/elements/gstpipefilter.c:
7390 * gst/elements/gstpipefilter.h:
7391 * gst/elements/gstshaper.c:
7392 * gst/elements/gstshaper.h:
7393 * gst/elements/gststatistics.c:
7394 * gst/elements/gststatistics.h:
7395 * po/POTFILES.in: Remove above files.
7397 2005-05-14 Andy Wingo <wingo@pobox.com>
7399 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7400 so as to get the refs right.
7401 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7402 unreffing objects that don't pass the filter.
7404 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7405 gst_element_set_bus.
7406 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7407 normal cases, this will destroy the bus.
7409 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7412 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7415 2005-05-13 Andy Wingo <wingo@pobox.com>
7417 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7418 gst_pad_link, call pad_link_maybe_ghosting,
7419 (pad_link_maybe_ghosting): Links pads, making sure that the
7420 elements being linked are in the same bin.
7421 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7422 Helpers for pad_link_maybe_ghosting.
7424 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7427 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7429 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7431 * docs/design/part-element-source.txt:
7434 2005-05-12 Wim Taymans <wim@fluendo.com>
7436 * gst/base/gstbasesink.c: (gst_basesink_init),
7437 (gst_basesink_activate):
7438 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7439 (gst_basesrc_is_seekable):
7440 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7441 (bin_element_is_sink), (gst_bin_change_state):
7442 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7444 Identify sinks by their flag to avoid overly complicated
7446 Do state changes even for elements not reachable from the
7448 BaseSink is a sink now :)
7449 Some more debugging info in the basesrc.
7452 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7454 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7455 Implement _query on a bin, similar to _send_event.
7457 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
7459 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7460 Discont event offset format should be GST_FORMAT_BYTES,
7461 not GST_FORMAT_TIME.
7463 2005-05-12 Wim Taymans <wim@fluendo.com>
7465 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7466 Same fix as Ronald's but without the signal.
7468 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7470 * gst/gstutils.c: (gst_element_query_position):
7471 No, an element is not a pad.
7473 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7475 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7476 (gst_bin_get_state):
7477 If a child is removed from a bin while we remove the child from
7478 the bin and while we're retrieving its state, signal this to the
7479 get_state function so we abort the wait (instead of waiting for
7480 a timeout) and can immediately re-iterate over all other elements.
7482 2005-05-12 Wim Taymans <wim@fluendo.com>
7484 * gst/base/Makefile.am:
7485 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7486 (gst_basesrc_start):
7487 * gst/base/gstbasesrc.h:
7488 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7489 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7490 (gst_pushsrc_init), (gst_pushsrc_create):
7491 * gst/base/gstpushsrc.h:
7492 Added is_seekable to BaseSrc
7493 Added simple PushSrc.
7495 2005-05-11 Wim Taymans <wim@fluendo.com>
7497 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7498 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7499 (gst_element_link_pads), (gst_element_query_position),
7500 (gst_element_query_convert), (intersect_caps_func),
7501 (gst_pad_query_position), (gst_pad_query_convert):
7502 Fix refcounting in utils function.
7503 No point in trying to activate a pad when it's added, it could
7504 be added from the state change function and then we deadlock, the
7505 element has to decide what to do.
7507 2005-05-10 Andy Wingo <wingo@pobox.com>
7509 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7510 *all* the arguments.
7512 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7513 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7514 lock (according to the docs -- if this is wrong change the docs).
7516 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7517 flush messages in the NULL state.
7519 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7520 message immediately and return.
7521 (gst_bus_set_flushing): New function. If a bus is flushing, it
7522 flushes out any queued messages and immediately unrefs new
7523 messages. This is so when an element goes to NULL, all of the
7524 unhandled messages coming from it can be freed, and their
7525 references to the element dropped. In other words: message source
7526 ref considered harmful :P
7528 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7529 we're finished with it.
7531 * gst/gstmessage.c (gst_message_new_state_changed):
7533 2005-05-10 Wim Taymans <wim@fluendo.com>
7535 * gst/gstvalue.c: (gst_value_compare_flags),
7536 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7537 (_gst_value_initialize):
7538 Added flags serialize/deserialize/compare code.
7540 2005-05-09 Andy Wingo <wingo@pobox.com>
7542 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7543 Intersect the peer's caps with our caps.
7545 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7547 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7548 * gst/elements/gsttypefindelement.c: (find_peek):
7549 Handle negative offsets better. Fixes decodebin.
7551 2005-05-09 Wim Taymans <wim@fluendo.com>
7553 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7554 (gst_base_transform_event):
7555 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7556 Implement accept_caps.
7557 Fix silly lock/unlock mismatch in base class.
7559 2005-05-09 Wim Taymans <wim@fluendo.com>
7561 * docs/design/draft-push-pull.txt:
7562 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7563 * gst/elements/gstfilesink.c: (gst_filesink_init),
7564 (gst_filesink_query):
7565 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7566 (gst_type_find_handle_src_query), (find_element_get_length):
7567 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7571 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7572 (gst_real_pad_get_caps_unlocked),
7573 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7574 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7575 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7576 (gst_real_pad_dispose), (gst_real_pad_finalize),
7577 (gst_pad_load_and_link), (gst_pad_save_thyself),
7578 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7579 (gst_pad_check_pull_range), (gst_pad_pull_range),
7580 (gst_pad_template_get_type), (gst_pad_template_class_init),
7581 (gst_pad_template_init), (gst_pad_template_dispose),
7582 (name_is_valid), (gst_static_pad_template_get),
7583 (gst_pad_template_new), (gst_static_pad_template_get_caps),
7584 (gst_pad_template_get_caps), (gst_pad_set_element_private),
7585 (gst_pad_get_element_private), (gst_pad_start_task),
7586 (gst_pad_pause_task), (gst_pad_stop_task),
7587 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7588 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7589 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7590 (gst_ghost_pad_new):
7592 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7593 (gst_query_new_position), (gst_query_set_position),
7594 (gst_query_parse_position), (gst_query_new_convert),
7595 (gst_query_set_convert), (gst_query_parse_convert):
7597 * gst/gstqueryutils.c:
7598 * gst/gstqueryutils.h:
7599 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7600 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7601 (gst_queue_handle_src_query):
7602 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7603 (gst_element_query_position), (gst_element_query_convert),
7604 (intersect_caps_func), (gst_pad_query_position),
7605 (gst_pad_query_convert):
7607 * tools/gst-inspect.c: (print_pad_info):
7608 * tools/gst-xmlinspect.c: (print_element_info):
7609 Remove old query functions. Ported old code.
7610 Added position/convert helper functions to gstutils.
7611 Reordered gstpad.c code, grouping relevant things.
7612 Remove gst_message_new(), always need to speficy a specific
7616 2005-05-09 Andy Wingo <wingo@pobox.com>
7618 * gst/gstiterator.h: Add some includes.
7620 * gst/gstqueryutils.h: Include more headers.
7623 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7624 some uses of gst_pad_query.
7626 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7627 NULL out parameters.
7628 (gst_query_new_position): New proc, allocates a new position
7631 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7632 gstqueryutils.c to the build.
7634 * gst/gststructure.c (gst_structure_set_valist): Implement with
7635 the generic G_VALUE_COLLECT.
7637 2005-05-08 Edward Hervey <bilboed@bilboed.com>
7639 * gst/Makefile.am: (gst_headers):
7640 Added gstqueryutils.h to the list of headers to install, that was
7641 a 'nachty' move wingo :)
7643 2005-05-06 Andy Wingo <wingo@pobox.com>
7646 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7647 GstData, init a memchunk.
7648 (standard_definitions): Add a few query types, deprecate a few.
7649 (gst_query_get_type): New proc.
7650 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7652 (gst_query_new_application, gst_query_get_structure): New public
7655 * docs/design/draft-query.txt: Removed LINKS from the query types,
7656 because all the rest can be dispatched to other pads -- seemed
7657 ugly to have a query that couldn't be dispatched. internal_links
7658 is fine as a pad method.
7660 * gst/gstpad.h: Add query2 as a pad method, add the new functions
7661 in gstpad.c, but maintain binary compatibility for the moment.
7662 Will fix before 0.9 is out.
7664 * gst/gstqueryutils.c:
7665 * gst/gstqueryutils.h: New files, implement 3 methods for each
7666 query type: parse_query, parse_response, and set. Probably need an
7669 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7671 * gst/elements/gstfilesink.c (gst_filesink_query2):
7672 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7673 query_types, and formats methods.
7675 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7676 (gst_pad_set_query2_function): New functions.
7677 (gst_real_pad_init): Set query2_default as the default query2
7678 function. Basically just dispatches to internally linked pads.
7682 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7683 without using the atomic operations. Only one thread can possibly
7684 be accessing the data at this point. Changed so as to avoid
7685 gst_atomic operations.
7687 2005-05-06 Wim Taymans <wim@fluendo.com>
7689 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7690 Also set caps if we use the fallback buffer alloc.
7692 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
7694 * docs/gst/Makefile.am:
7695 * docs/gst/gstreamer-docs.sgml:
7696 * docs/gst/gstreamer-sections.txt:
7697 * docs/gst/tmpl/gstatomic.sgml:
7698 * docs/gst/tmpl/gstmemchunk.sgml:
7699 * testsuite/elements/struct_i386.h:
7700 * win32/GStreamer.vcproj:
7702 Purge GstAtomic stuff from docs and win32 makefiles as well
7704 2005-05-06 Wim Taymans <wim@fluendo.com>
7706 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7707 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7708 * gst/gstpad.c: (gst_pad_peer_get_caps):
7709 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7710 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7711 (gst_queue_src_activate), (gst_queue_change_state):
7713 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7714 (intersect_caps_func):
7715 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7716 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7717 Some fixes for the peer_get_caps() change.
7719 2005-05-06 Wim Taymans <wim@fluendo.com>
7721 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7722 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7723 (gst_basesink_activate):
7724 Actually do something with error codes returned from the push
7727 2005-05-06 Wim Taymans <wim@fluendo.com>
7729 * docs/design/part-element-sink.txt:
7730 * docs/design/part-element-source.txt:
7731 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7732 (gst_basesink_event), (gst_basesink_activate):
7733 * gst/base/gstbasesink.h:
7734 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7735 (gst_basesrc_activate):
7736 * gst/base/gstbasesrc.h:
7737 * gst/gstelement.c: (gst_element_pads_activate):
7738 Some more documentation.
7739 Fixed scheduling decision in _pads_activate().
7741 2005-05-05 Andy Wingo <wingo@pobox.com>
7743 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7746 2005-05-05 Wim Taymans <wim@fluendo.com>
7748 * gst/base/Makefile.am:
7749 * gst/base/gstbasesink.h:
7750 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7751 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7752 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7753 (gst_collectpads_class_init), (gst_collectpads_init),
7754 (gst_collectpads_finalize), (gst_collectpads_new),
7755 (gst_collectpads_set_function), (gst_collectpads_add_pad),
7756 (find_pad), (gst_collectpads_remove_pad),
7757 (gst_collectpads_is_active), (gst_collectpads_collect),
7758 (gst_collectpads_collect_range), (gst_collectpads_start),
7759 (gst_collectpads_stop), (gst_collectpads_peek),
7760 (gst_collectpads_pop), (gst_collectpads_available),
7761 (gst_collectpads_read), (gst_collectpads_flush),
7762 (gst_collectpads_chain):
7763 * gst/base/gstcollectpads.h:
7764 * gst/elements/Makefile.am:
7765 * gst/elements/gstelements.c:
7766 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7767 (gst_fakesink_get_times), (gst_fakesink_event),
7768 (gst_fakesink_preroll), (gst_fakesink_render):
7769 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7770 (gst_filesink_init), (gst_filesink_set_location),
7771 (gst_filesink_open_file), (gst_filesink_close_file),
7772 (gst_filesink_pad_query), (gst_filesink_event),
7773 (gst_filesink_render), (gst_filesink_change_state):
7774 * gst/elements/gstfilesink.h:
7775 Added object to help in making collect pad based elements.
7777 Make event function in sink baseclass return gboolean.
7779 2005-05-05 Wim Taymans <wim@fluendo.com>
7781 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7782 (gst_bin_get_by_name):
7784 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7785 (gst_clock_finalize):
7786 * gst/gstdata.c: (gst_data_replace):
7788 * gst/gstelement.c: (gst_element_request_pad),
7789 (gst_element_pads_activate):
7790 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7792 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7793 (gst_pad_set_checkgetrange_function),
7794 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7795 (gst_pad_check_pull_range), (gst_pad_pull_range),
7796 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7797 (gst_pad_pause_task), (gst_pad_stop_task):
7798 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7799 (gst_element_request_pad), (gst_pad_proxy_getcaps):
7800 Fix name lookup in GstBin.
7801 Added _data_replace() function and _buffer_replace()
7802 Use finalize method to clean up clock.
7803 Fix refcounting on request pads.
7804 Fix pad schedule mode error.
7805 Some more object refcounting debug info,
7808 2005-05-04 Andy Wingo <wingo@pobox.com>
7810 * check/Makefile.am:
7811 * docs/gst/tmpl/gstatomic.sgml:
7812 * docs/gst/tmpl/gstplugin.sgml:
7813 * gst/base/gstbasesink.c: (gst_basesink_activate):
7814 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7815 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7816 (gst_basesrc_query), (gst_basesrc_set_property),
7817 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7818 (gst_basesrc_activate):
7819 * gst/base/gstbasesrc.h:
7820 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7821 (gst_base_transform_src_activate):
7822 * gst/elements/gstelements.c:
7823 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7824 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7825 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7826 * gst/elements/gsttypefindelement.c: (find_element_get_length),
7827 (gst_type_find_element_checkgetrange),
7828 (gst_type_find_element_activate):
7829 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7830 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7831 (gst_caps_load_thyself):
7832 * gst/gstelement.c: (gst_element_pads_activate),
7833 (gst_element_save_thyself), (gst_element_restore_thyself):
7834 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7835 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7837 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7838 (gst_xml_parse_file), (gst_xml_parse_memory),
7839 (gst_xml_get_element), (gst_xml_make_element):
7840 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7841 (_file_index_id_save_xml), (gst_file_index_commit):
7842 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7843 (read_enum), (load_pad_template), (load_feature), (load_plugin),
7845 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7846 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7847 * tools/gst-complete.c: (main):
7848 * tools/gst-compprep.c: (main):
7849 * tools/gst-inspect.c: (print_element_properties_info):
7850 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7851 * tools/gst-xmlinspect.c: (print_element_properties):
7854 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7856 * gst/gstplugin.c: (gst_plugin_check_module),
7857 (gst_plugin_check_file), (gst_plugin_load_file):
7858 apply patch from #172526 to make register work on MacOSX
7860 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7862 * docs/gst/tmpl/gstconfig.sgml:
7863 * gst/gstconfig.h.in:
7864 move documentation for some symbols. Add doc for GST_PTR_FORMAT
7865 * testsuite/debug/printf_extension.c: (main):
7866 Do not use GST_PTR_FORMAT on pointers to types with
7867 sizeof < sizeof(gpointer). Fixes test on 64-bit
7868 * testsuite/elements/property.h:
7869 use correct printf format
7871 2005-05-02 Wim Taymans <wim@fluendo.com>
7873 * docs/design/draft-push-pull.txt:
7874 * docs/design/draft-query.txt:
7875 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7876 (gst_basesrc_start):
7877 Added draft for new query API.
7878 Added draft for better selecting scheduling methods.
7879 Make basesrc ignore length if the subclass does not support
7882 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7885 possible fixes for automake-1.5 - _LIBADD is reserved
7887 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7889 * docs/faq/Makefile.am:
7890 * docs/manual/Makefile.am:
7892 * docs/pwg/Makefile.am:
7894 possible fixes for automake-1.5
7896 2005-04-28 Wim Taymans <wim@fluendo.com>
7898 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7899 (gst_basesink_pad_getcaps), (gst_basesink_init),
7900 (gst_basesink_do_sync):
7901 * gst/gstclock.c: (gst_clock_entry_new):
7902 * gst/gstevent.c: (gst_event_discont_get_value):
7903 * gst/gstpipeline.c: (pipeline_bus_handler),
7904 (gst_pipeline_change_state):
7905 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7906 Better debugging of clocking info.
7907 Allow NULL values when getting discont values.
7909 2005-04-27 Wim Taymans <wim@fluendo.com>
7911 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7912 * check/gst/gstpad.c: (gst_pad_suite):
7913 Increase timeout for checks.
7915 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7917 * check/Makefile.am:
7918 fix the broken rule for cleanup. Apparently this rule is
7919 only needed on FC2, so maybe this warrants further autotool
7922 2005-04-26 Wim Taymans <wim@fluendo.com>
7924 * gst/gsttrashstack.h:
7925 Ooohh. a nasty one! After having a failed pop() from the stack,
7926 it's possible that the stack is empty. In that case, don't
7927 follow the NULL pointer.
7929 2005-04-25 Wim Taymans <wim@fluendo.com>
7931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7932 (gst_pad_set_checkgetrange_function),
7933 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7934 (gst_pad_check_pull_range), (gst_pad_pull_range),
7935 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7936 (gst_pad_pause_task), (gst_pad_stop_task):
7937 * gst/gstplugin.c: (gst_plugin_load):
7939 Remove gst_library_load as it does more harm than good with
7940 the new g_module flags.
7941 Revert bogus caps template check in pad linking, pad caps
7942 are important when linking not the template, which is more
7943 general than the current caps.
7945 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7947 * gst/autoplug/.cvsignore:
7948 * gst/autoplug/Makefile.am:
7949 * gst/autoplug/gstsearchfuncs.c:
7950 * gst/autoplug/gstsearchfuncs.h:
7951 * gst/autoplug/gstspider.c:
7952 * gst/autoplug/gstspider.h:
7953 * gst/autoplug/gstspideridentity.c:
7954 * gst/autoplug/gstspideridentity.h:
7955 * gst/autoplug/spidertest.c:
7958 2005-04-25 Wim Taymans <wim@fluendo.com>
7960 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7961 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7962 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7963 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7965 Added stubs for unimplemented functions.
7967 2005-04-24 David Schleef <ds@schleef.org>
7969 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7972 2005-04-24 David Schleef <ds@schleef.org>
7974 Convert everything from GstAtomicInt to g_atomic_int_*, and
7979 * gst/gstatomic_impl.h:
7987 * gst/gstdata_private.h:
7994 * gst/gststructure.c:
7995 * gst/gststructure.h:
7996 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7999 2005-04-24 David Schleef <ds@schleef.org>
8001 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
8002 make the regressions tests work. Remove some code that is no
8004 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
8005 Disable warning for pads without templates.
8007 2005-04-24 David Schleef <ds@schleef.org>
8009 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
8010 functions that handle filtered links.
8011 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
8013 * gst/gstutils.c: Fix/remove utility functions that handle
8016 * gst/gstvalue.c: Add serialization/deserialization of caps
8017 * gst/parse/grammar.y: Ignore filtered caps when linking. This
8018 requires fixing so that the filter caps notation creates
8019 a capsfilter element and sets the filter_caps property. I
8020 think everyone probably wants to keep the shorthand notation.
8021 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
8022 * docs/gst/tmpl/gstpad.sgml:
8024 * gst/elements/gstelements.c: Register capsfilter element.
8025 * gst/Makefile.am: fix spacing
8026 * docs/random/ds/0.9-suggested-changes: random
8028 2005-04-23 David Schleef <ds@schleef.org>
8030 * gst/elements/Makefile.am:
8031 * gst/elements/gstcapsfilter.c: New element that acts like an
8032 identity, but filters caps. Will eventually replace filtered
8033 caps in pad linking.
8034 * gst/gstutils.c: (gst_element_create_all_pads): New function
8035 to create all the ALWAYS pads that are registered with an
8036 element class. This functionality should eventually be
8037 merged in with GstElement initialization.
8039 * testsuite/trigger/README: part of trigger test code that should
8040 have been checked in a long time ago.
8042 2005-04-23 David Schleef <ds@schleef.org>
8044 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8045 needed with new versions of libtool (nobody will confirm this),
8046 and hard to carry around.
8047 * gst/autoplug/Makefile.am:
8048 * gst/base/Makefile.am:
8049 * gst/elements/Makefile.am:
8050 * gst/indexers/Makefile.am:
8051 * gst/schedulers/Makefile.am:
8052 * libs/gst/bytestream/Makefile.am:
8053 * libs/gst/control/Makefile.am:
8054 * libs/gst/dataprotocol/Makefile.am:
8055 * libs/gst/getbits/Makefile.am:
8057 2005-04-21 Wim Taymans <wim@fluendo.com>
8059 * docs/design/draft-push-pull.txt:
8060 * docs/design/part-MT-refcounting.txt:
8061 * docs/design/part-TODO.txt:
8062 * docs/design/part-caps.txt:
8063 * docs/design/part-events.txt:
8064 * docs/design/part-gstbus.txt:
8065 * docs/design/part-gstpipeline.txt:
8066 * docs/design/part-messages.txt:
8067 * docs/design/part-push-pull.txt:
8068 * docs/design/part-query.txt:
8071 2005-04-21 Wim Taymans <wim@fluendo.com>
8073 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8074 (gst_message_new), (gst_message_new_error),
8075 (gst_message_new_warning), (gst_message_new_tag),
8076 (gst_message_new_state_changed), (gst_message_new_application),
8077 (gst_message_get_structure):
8079 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8080 (gst_structure_copy_conditional):
8081 Use parent refcount in GstMessage to ensure GstStructure
8083 Cleaned up headers a bit.
8086 2005-04-20 Wim Taymans <wim@fluendo.com>
8088 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8089 (gst_basesink_pad_getcaps), (gst_basesink_init),
8090 (gst_basesink_chain_unlocked):
8091 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8092 (gst_type_find_helper):
8093 * gst/elements/gsttypefindelement.c:
8094 (gst_type_find_element_have_type), (gst_type_find_element_init),
8095 (stop_typefinding), (gst_type_find_element_handle_event),
8096 (find_suggest), (gst_type_find_element_chain),
8097 (gst_type_find_element_checkgetrange),
8098 (gst_type_find_element_getrange), (do_typefind),
8099 (gst_type_find_element_activate):
8100 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8101 (gst_buffer_default_free), (gst_buffer_default_copy),
8102 (gst_buffer_set_caps):
8103 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8105 * gst/gstmessage.c: (gst_message_new),
8106 (gst_message_new_state_changed):
8107 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8108 (gst_pad_set_checkgetrange_function),
8109 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8110 (gst_pad_set_caps), (gst_pad_check_pull_range),
8111 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8113 * gst/gsttypefind.c: (gst_type_find_register):
8114 Make gst_caps_replace() work like other _replace() functions.
8115 Use _caps_replace() where possible.
8116 Make sure _message_new() initialises its field.
8117 Add gst_static_pad_template_get_caps()
8120 2005-04-18 Andy Wingo <wingo@pobox.com>
8122 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8123 on the peer, not the pad. I think that was a typo. Pass an extra
8124 arg to see if random access is possible. Activate the pads as
8125 PULL_RANGE if possible.
8127 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8129 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8130 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8133 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8135 * docs/faq/using.xml:
8136 Add note on gstreamer-properties (#154996).
8138 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8140 * docs/random/bbb/optional-properties:
8141 Some analysis on optional properties.
8143 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8145 * docs/gst/tmpl/gstelementfactory.sgml:
8147 * gst/gstelementfactory.c: (gst_element_factory_init),
8148 (gst_element_factory_cleanup), (gst_element_register),
8149 (__gst_element_factory_add_static_pad_template),
8150 (gst_element_factory_get_static_pad_templates),
8151 (gst_element_factory_can_src_caps),
8152 (gst_element_factory_can_sink_caps):
8153 * gst/registries/Makefile.am:
8154 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8155 (gst_xml_registry_class_init), (gst_xml_registry_init),
8156 (gst_xml_registry_new), (gst_xml_registry_set_property),
8157 (gst_xml_registry_get_property), (get_time), (make_dir),
8158 (gst_xml_registry_get_perms_func),
8159 (plugin_times_older_than_recurse), (plugin_times_older_than),
8160 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8161 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8162 (add_to_char_array), (read_string), (read_uint), (read_enum),
8163 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8164 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8165 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8166 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8167 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8168 (gst_xml_registry_rebuild):
8169 * gst/registries/gstlibxmlregistry.h:
8170 * tools/gst-compprep.c: (main):
8171 * tools/gst-inspect.c: (print_pad_templates_info):
8172 * tools/gst-xmlinspect.c: (print_element_info):
8173 Use libxml2 for registry parsing, use staticpadtemplates in
8174 elementfactories. Makes gst_init() +/- 10x faster.
8176 2005-04-12 Wim Taymans <wim@fluendo.com>
8178 * gst/base/Makefile.am:
8179 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8180 (gst_basesink_pad_getcaps), (gst_basesink_init),
8181 (gst_basesink_event), (gst_basesink_change_state):
8182 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8183 (gst_basesrc_init), (gst_basesrc_query),
8184 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8185 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8186 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8187 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8188 (gst_basesrc_stop), (gst_basesrc_activate),
8189 (gst_basesrc_change_state):
8190 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8191 (helper_find_suggest), (gst_type_find_helper):
8192 * gst/base/gsttypefindhelper.h:
8193 * gst/elements/Makefile.am:
8194 * gst/elements/gstelements.c:
8195 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8196 (gst_fakesink_get_times), (gst_fakesink_event),
8197 (gst_fakesink_preroll), (gst_fakesink_render):
8198 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8199 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8200 (gst_fakesrc_get_property), (gst_fakesrc_create),
8201 (gst_fakesrc_start), (gst_fakesrc_stop):
8202 * gst/elements/gstfakesrc.h:
8203 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8204 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8205 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8206 (gst_filesrc_create_read), (gst_filesrc_create),
8207 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8208 (gst_filesrc_start):
8209 * gst/elements/gsttypefindelement.c:
8210 (gst_type_find_element_have_type), (gst_type_find_element_init),
8211 (start_typefinding), (stop_typefinding), (push_buffer_store),
8212 (gst_type_find_element_handle_event),
8213 (gst_type_find_element_chain),
8214 (gst_type_find_element_checkgetrange),
8215 (gst_type_find_element_getrange), (do_typefind),
8216 (gst_type_find_element_activate),
8217 (gst_type_find_element_change_state):
8218 * gst/elements/gsttypefindelement.h:
8219 * gst/gstpipeline.c: (pipeline_bus_handler):
8220 Added typefind helper.
8221 Small preroll fix in the base sink.
8222 Disable typefind code in basesrc.
8223 Crude port of typefindelement.
8227 2005-04-11 Wim Taymans <wim@fluendo.com>
8229 * check/gst/gstbus.c: (gstbus_suite):
8230 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8232 Fix up the timeout so that the test does not fail.
8234 2005-04-06 Wim Taymans <wim@fluendo.com>
8237 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8238 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8239 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8240 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8241 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8242 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8243 (gst_basesrc_stop), (gst_basesrc_activate),
8244 (gst_basesrc_change_state), (basesrc_find_peek),
8245 (basesrc_find_suggest), (gst_basesrc_type_find):
8246 * gst/base/gstbasesrc.h:
8247 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8248 (gst_filesrc_class_init), (gst_filesrc_init),
8249 (gst_filesrc_finalize), (gst_filesrc_set_location),
8250 (gst_filesrc_set_property), (gst_filesrc_get_property),
8251 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8252 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8253 (gst_filesrc_create_read), (gst_filesrc_create),
8254 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8255 * gst/elements/gstfilesrc.h:
8256 * gst/gstelement.c: (gst_element_get_state_func),
8257 (gst_element_lost_state), (gst_element_pads_activate):
8258 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8259 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8260 (gst_pad_pull_range):
8262 More work on the generic source base class, implement seeking,
8264 Make filesrc extend the base source class.
8265 Added gst_pad_set_checkgetrange_function to GstPad.
8267 2005-04-06 Andy Wingo <wingo@pobox.com>
8269 * pkgconfig/gstreamer-base.pc.in:
8270 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8272 * pkgconfig/Makefile.am:
8273 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8275 2005-04-04 Wim Taymans <wim@fluendo.com>
8277 * gst/base/Makefile.am:
8279 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8280 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8281 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8282 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8283 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8284 (gst_basesrc_base_init), (gst_basesrc_class_init),
8285 (gst_basesrc_init), (gst_basesrc_get_formats),
8286 (gst_basesrc_get_query_types), (gst_basesrc_query),
8287 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8288 (gst_basesrc_set_property), (gst_basesrc_get_property),
8289 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8290 (gst_basesrc_loop), (gst_basesrc_activate),
8291 (gst_basesrc_change_state):
8292 * gst/base/gstbasesrc.h:
8293 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8294 (gst_fakesrc_class_init), (gst_fakesrc_init),
8295 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8296 (gst_fakesrc_get_property), (gst_fakesrc_create):
8297 * gst/elements/gstfakesrc.h:
8298 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8299 (gst_filesrc_open_file), (gst_filesrc_loop),
8300 (gst_filesrc_activate), (filesrc_find_peek),
8301 (gst_filesrc_type_find):
8302 Made base source class, make fakesrc extend it.
8303 Add comments to basesink class.
8304 Some filesrc cleanup.
8306 2005-03-31 David Schleef <ds@schleef.org>
8308 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8309 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8310 expected to link against libgstreamer.
8311 * gst/base/Makefile.am: link against libgstreamer
8312 * gst/elements/Makefile.am: same
8314 2005-03-31 Andy Wingo <wingo@pobox.com>
8316 * tests/instantiate/Makefile.am:
8317 * tests/instantiate/caps.c: Add test to test speed of caps copy
8320 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8321 GMemChunk to be fair.
8323 * gst/gsttrashstack.h: Remove warning about using the fallback
8324 trash stack implementation, it's still faster than malloc.
8326 2005-03-30 Andy Wingo <wingo@pobox.com>
8328 * tests/complexity.c: Add a copyright.
8330 2005-03-31 Wim Taymans <wim@fluendo.com>
8332 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8333 (gst_base_transform_class_init), (gst_base_transform_init),
8334 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8335 (gst_base_transform_get_property),
8336 (gst_base_transform_sink_activate),
8337 (gst_base_transform_src_activate),
8338 (gst_base_transform_change_state):
8339 * gst/base/gstbasetransform.h:
8340 * gst/elements/gstidentity.c: (gst_identity_class_init),
8341 (gst_identity_event), (gst_identity_check_perfect),
8342 (gst_identity_transform), (gst_identity_start),
8343 (gst_identity_stop):
8344 Added start/stop methods to transform base class so subclasses
8345 don't need to deal with state changes even.
8347 2005-03-31 Wim Taymans <wim@fluendo.com>
8349 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8350 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8352 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8353 (gst_pad_pull_range):
8354 Added rate to the discont event to prepare for variable speed
8355 and reverse playback.
8357 2005-03-29 David Schleef <ds@schleef.org>
8360 * testsuite/trigger/Makefile.am:
8361 * testsuite/trigger/trigger.c: A little example program to show
8362 how trigger-based elements can work.
8364 2005-03-29 Wim Taymans <wim@fluendo.com>
8366 * gst/base/Makefile.am:
8368 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8369 (gst_basesink_base_init), (gst_basesink_class_init),
8370 (gst_basesink_pad_getcaps), (gst_basesink_init),
8371 (gst_basesink_activate), (gst_basesink_change_state):
8372 * gst/base/gstbasesink.h:
8373 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8374 (gst_base_transform_base_init), (gst_base_transform_finalize),
8375 (gst_base_transform_class_init), (gst_base_transform_init),
8376 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8377 (gst_base_transform_event), (gst_base_transform_getrange),
8378 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8379 (gst_base_transform_set_property),
8380 (gst_base_transform_get_property),
8381 (gst_base_transform_sink_activate),
8382 (gst_base_transform_src_activate),
8383 (gst_base_transform_change_state):
8384 * gst/base/gstbasetransform.h:
8385 * gst/elements/gstidentity.c: (gst_identity_finalize),
8386 (gst_identity_class_init), (gst_identity_init),
8387 (gst_identity_event), (gst_identity_check_perfect),
8388 (gst_identity_transform), (gst_identity_set_property),
8389 (gst_identity_get_property), (gst_identity_change_state):
8390 * gst/elements/gstidentity.h:
8391 * gst/gstelement.c: (gst_element_get_state_func),
8392 (gst_element_lost_state), (gst_element_pads_activate):
8393 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8394 (gst_pad_check_pull_range), (gst_pad_pull_range):
8396 Simplify pad activation.
8397 Added function to check if pull_range can be performed.
8398 Error out when pulling inactive or flushing pads.
8399 Removed const from refcounted types as it does not make sense.
8400 Simplify pad templates in basesink
8401 Added base class for simple 1-to-1 transforms.
8402 Make identity subclass the base transform.
8404 2005-03-29 Andy Wingo <wingo@pobox.com>
8406 * docs/libs/gstreamer-libs-overrides.txt:
8407 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8408 really don't understand what's going on, but like whatever. I want
8411 * docs/gst/Makefile.am:
8412 * docs/libs/Makefile.am: Dist the overrides files.
8414 * check/Makefile.am (clean-local): Remove .libs directories.
8416 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8417 elements to EXTRA_DIST, so po/ files are happy.
8419 * po/POTFILES.in: Er, remove it here.
8421 * po/POTFILES: Remove gstspider.c.
8423 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8425 * docs/libs/gstreamer-libs-docs.sgml:
8426 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8429 * tests/complexity.c (main): Set the length of the preroll queue
8430 on the sinks to prevent a lockup.
8432 * libs/gst/dataprotocol/Makefile.am:
8433 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8434 the same as the one in check/gst-libs/gdp.c.
8436 * po/, docs/gst/: Commit automatic changes to docs and po files.
8438 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8439 the versioned libgstbase.
8441 * check/Makefile.am: Depend on an unversioned gst-register, seems
8442 to make autoconf happier.
8444 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8446 2005-03-28 Wim Taymans <wim@fluendo.com>
8449 * docs/design/part-gstelement.txt:
8450 * docs/design/part-negotiation.txt:
8451 * docs/design/part-preroll.txt:
8452 * docs/design/part-scheduling.txt:
8453 * docs/design/part-states.txt:
8455 * gst/base/Makefile.am:
8457 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8458 (gst_basesink_base_init), (gst_basesink_class_init),
8459 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8460 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8461 (gst_basesink_set_pad_functions),
8462 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8463 (gst_basesink_set_property), (gst_basesink_get_property),
8464 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8465 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8466 (gst_basesink_preroll_queue_push),
8467 (gst_basesink_preroll_queue_empty),
8468 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8469 (gst_basesink_event), (gst_basesink_get_times),
8470 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8471 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8472 (gst_basesink_loop), (gst_basesink_activate),
8473 (gst_basesink_change_state):
8474 * gst/base/gstbasesink.h:
8475 * gst/elements/Makefile.am:
8476 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8477 (gst_fakesink_class_init), (gst_fakesink_init),
8478 (gst_fakesink_set_property), (gst_fakesink_get_property),
8479 (gst_fakesink_get_times), (gst_fakesink_event),
8480 (gst_fakesink_preroll), (gst_fakesink_render),
8481 (gst_fakesink_change_state):
8482 * gst/elements/gstfakesink.h:
8483 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8484 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8485 * gst/gstelement.c: (gst_element_add_pad),
8486 (gst_element_get_state_func), (gst_element_abort_state),
8487 (gst_element_commit_state), (gst_element_lost_state),
8488 (gst_element_set_state), (gst_element_pads_activate):
8489 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8490 * gst/gstpipeline.c: (gst_pipeline_send_event),
8491 (gst_pipeline_change_state):
8492 Added state change code.
8494 Added sink base class, make fakesink extend the base class.
8495 Small cleanups in GstPipeline.
8497 2005-03-26 David Schleef <ds@schleef.org>
8499 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8500 is broken and should be implemented in a different library.
8501 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8502 * gst/gst.h: remove gstcpu.h
8503 * gst/gstcpu.c: remove
8504 * gst/gstcpu.h: remove
8505 * gst/Makefile.am.future: Remove this file. It's ancient.
8507 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8510 (gst_bin_send_event):
8511 Add default event/set_manager handlers. The set_manager handler
8512 takes care that the manager is distributed over kids that were
8513 already in the bin before the manager was set. The event handler
8514 is a utility virtual function that sends the event over all sinks,
8515 so that gst_element_send_event (bin, event); has the expected
8517 * gst/gstpad.c: (gst_pad_event_default):
8518 Re-install default event handling for discontinuities, so that
8519 seeking works without requiring hacks in applications or extra
8521 * gst/gstpipeline.c: (gst_pipeline_class_init),
8522 (gst_pipeline_send_event):
8523 Half hack, half utility: set a pipeline to PAUSED for seek events,
8524 since that is the only way we can guarantee a/v sync. Means that
8525 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8526 and it "just works".
8528 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8530 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8531 Lock/unlock mismatch.
8533 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8535 * docs/faq/gst-uninstalled:
8536 add gst-plugins-base
8537 * docs/gst/Makefile.am:
8538 don't error out until docs are fixed
8539 * docs/gst/gstreamer.types:
8542 2005-03-22 Wim Taymans <wim@fluendo.com>
8544 * check/Makefile.am:
8545 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8546 * gst/gststructure.c: (gst_structure_set_valist),
8547 (gst_structure_copy_conditional):
8548 Activated more tests.
8550 Added G_TYPE_POINTER to GstStructure.
8553 2005-03-22 Wim Taymans <wim@fluendo.com>
8555 * docs/design/part-TODO.txt:
8556 * docs/design/part-events.txt:
8557 * docs/design/part-gstbin.txt:
8558 * docs/design/part-gstbus.txt:
8559 * docs/design/part-gstpipeline.txt:
8560 * docs/design/part-messages.txt:
8565 2005-03-21 Wim Taymans <wim@fluendo.com>
8567 * gst/gstbus.c: (gst_bus_post):
8568 Fix copy-and-paste error.
8570 2005-03-21 Wim Taymans <wim@fluendo.com>
8572 * check/Makefile.am:
8574 * gst/elements/Makefile.am:
8575 * gst/elements/gstelements.c:
8576 * gst/elements/gstfakesink.c: (gst_fakesink_init),
8577 (gst_fakesink_event), (gst_fakesink_chain):
8578 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8579 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8580 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8581 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8582 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8583 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8584 (gst_fakesrc_loop), (gst_fakesrc_activate),
8585 (gst_fakesrc_change_state):
8586 * gst/elements/gstfakesrc.h:
8587 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8588 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8589 (gst_filesrc_open_file), (gst_filesrc_loop),
8590 (gst_filesrc_activate), (gst_filesrc_change_state),
8591 (filesrc_find_peek), (filesrc_find_suggest),
8592 (gst_filesrc_type_find):
8593 * gst/elements/gstidentity.c: (gst_identity_finalize),
8594 (gst_identity_class_init), (gst_identity_init),
8595 (gst_identity_proxy_getcaps), (identity_queue_push),
8596 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8597 (gst_identity_getrange), (gst_identity_chain),
8598 (gst_identity_sink_loop), (gst_identity_src_loop),
8599 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8600 (gst_identity_set_property), (gst_identity_get_property),
8601 (gst_identity_change_state):
8602 * gst/elements/gstidentity.h:
8603 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8604 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8605 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8606 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8607 (gst_tee_sink_activate):
8608 * gst/elements/gsttee.h:
8609 * gst/gst.c: (gst_register_core_elements), (init_post):
8611 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8612 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8613 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8614 (gst_bin_change_state):
8616 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8617 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8618 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8619 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8620 (gst_bus_set_sync_handler), (gst_bus_create_watch),
8621 (bus_watch_callback), (bus_watch_destroy),
8622 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8623 (poll_timeout), (gst_bus_poll):
8627 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8628 (gst_element_post_message), (gst_element_message_full),
8629 (gst_element_get_state_func), (gst_element_get_state),
8630 (gst_element_abort_state), (gst_element_commit_state),
8631 (gst_element_lost_state), (gst_element_set_state),
8632 (gst_element_pads_activate), (gst_element_change_state),
8633 (gst_element_dispose), (gst_element_set_manager_func),
8634 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8635 (gst_element_set_manager), (gst_element_get_manager),
8636 (gst_element_set_bus), (gst_element_get_bus),
8637 (gst_element_set_scheduler), (gst_element_get_scheduler):
8639 * gst/gstevent.c: (gst_event_new_segment_seek),
8640 (gst_event_new_flush):
8642 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8643 (_gst_message_free), (gst_message_get_type), (gst_message_new),
8644 (gst_message_new_eos), (gst_message_new_error),
8645 (gst_message_new_warning), (gst_message_new_tag),
8646 (gst_message_new_state_changed), (gst_message_new_application),
8647 (gst_message_get_structure), (gst_message_parse_tag),
8648 (gst_message_parse_state_changed), (gst_message_parse_error),
8649 (gst_message_parse_warning):
8651 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8652 (gst_real_pad_set_property), (gst_pad_set_active),
8653 (gst_pad_is_active), (gst_pad_set_blocked_async),
8654 (gst_pad_set_blocked), (gst_pad_is_blocked),
8655 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8656 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8657 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8658 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8659 (gst_pad_link_filtered), (gst_pad_relink_filtered),
8660 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8661 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8662 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8663 (gst_pad_set_caps), (gst_pad_configure_sink),
8664 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8665 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8666 (gst_real_pad_dispose), (gst_real_pad_finalize),
8667 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8668 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8669 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8671 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8672 (pipeline_bus_handler), (gst_pipeline_change_state),
8673 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8674 * gst/gstpipeline.h:
8676 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8677 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8678 (gst_queue_link_src), (gst_queue_bufferalloc),
8679 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8680 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8681 (gst_queue_loop), (gst_queue_handle_src_event),
8682 (gst_queue_handle_src_query), (gst_queue_src_activate),
8683 (gst_queue_change_state):
8685 * gst/gstscheduler.c: (gst_scheduler_init),
8686 (gst_scheduler_dispose), (gst_scheduler_create_task),
8687 (gst_scheduler_factory_create):
8688 * gst/gstscheduler.h:
8689 * gst/gststructure.c: (gst_structure_get_type),
8690 (gst_structure_copy_conditional):
8691 * gst/gststructure.h:
8692 * gst/gsttaginterface.h:
8693 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8694 (gst_task_init), (gst_task_dispose), (gst_task_create),
8695 (gst_task_get_state), (gst_task_start), (gst_task_stop),
8701 * gst/schedulers/Makefile.am:
8702 * gst/schedulers/cothreads_compat.h:
8703 * gst/schedulers/entryscheduler.c:
8704 * gst/schedulers/faircothreads.c:
8705 * gst/schedulers/faircothreads.h:
8706 * gst/schedulers/fairscheduler.c:
8707 * gst/schedulers/gstbasicscheduler.c:
8708 * gst/schedulers/gstoptimalscheduler.c:
8709 * gst/schedulers/gthread-cothreads.h:
8710 * gst/schedulers/threadscheduler.c:
8711 (gst_thread_scheduler_task_get_type),
8712 (gst_thread_scheduler_task_class_init),
8713 (gst_thread_scheduler_task_init),
8714 (gst_thread_scheduler_task_start),
8715 (gst_thread_scheduler_task_stop),
8716 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8717 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8718 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8719 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8721 * libs/gst/Makefile.am:
8722 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8723 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8724 (gst_file_pad_parent_set):
8725 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8726 (gst_dp_event_from_packet):
8727 * tests/complexity.c: (main):
8728 * tests/mass_elements.c: (main):
8729 * testsuite/states/locked.c: (message_received), (main):
8730 * testsuite/states/parent.c: (main):
8731 * tools/gst-inspect.c: (print_element_flag_info),
8732 (print_implementation_info), (print_pad_info):
8733 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8735 * tools/gst-md5sum.c: (event_loop), (main):
8736 * tools/gst-typefind.c: (main):
8737 * tools/gst-xmlinspect.c: (print_element_info):
8739 Added GstBus for mainloop integration.
8740 Added GstMessage for sending notifications on the bus.
8741 Added GstTask as an abstraction for pipeline entry points.
8744 Simplified GstQueue for multithreaded core.
8745 Made _link threadsafe, removed old capsnego.
8746 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8747 Added pad blocking functions.
8748 Reworked scheduling functions in GstPad to prepare for
8749 scheduling updates soon.
8750 Moved events out of data stream.
8751 Simplified GstEvent types.
8752 Added return values to push/pull.
8753 Removed clocking from GstElement.
8754 Added prototypes for state change function for next merge.
8755 Removed iterate from bins and state change management.
8756 Fixed some elements, disabled others for now.
8757 Fixed -inspect and -launch.
8758 Added check for GstBus.
8760 2005-03-10 Wim Taymans <wim@fluendo.com>
8762 * docs/design/part-MT-refcounting.txt:
8763 * docs/design/part-clocks.txt:
8764 * docs/design/part-gstelement.txt:
8765 * docs/design/part-gstobject.txt:
8766 * docs/design/part-standards.txt:
8767 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8768 (gst_bin_remove_func), (gst_bin_remove):
8772 * testsuite/clock/clock1.c: (main):
8773 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8775 * testsuite/dlopen/loadgst.c: (do_test):
8776 * testsuite/refcounting/bin.c: (add_remove_test1),
8777 (add_remove_test2), (main):
8778 * testsuite/refcounting/element.c: (main):
8779 * testsuite/refcounting/element_pad.c: (main):
8780 * testsuite/refcounting/pad.c: (main):
8781 * tools/gst-launch.c: (sigint_handler_sighandler):
8782 * tools/gst-typefind.c: (main):
8784 Added doc about clock.
8785 removed gst_bin_iterate_recurse_up(), marked methods
8787 Fix more testsuites.
8789 2005-03-09 Wim Taymans <wim@fluendo.com>
8791 * gst/gstpad.c: (gst_pad_get_direction),
8792 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8793 (gst_pad_collect_valist):
8794 * testsuite/bins/interface.c: (main):
8795 * testsuite/caps/audioscale.c: (test_caps):
8796 * testsuite/caps/caps.c: (test1), (test2), (test3):
8797 * testsuite/caps/deserialize.c: (main):
8798 * testsuite/caps/enumcaps.c: (main):
8799 * testsuite/caps/filtercaps.c: (main):
8800 * testsuite/caps/intersect2.c: (main):
8801 * testsuite/caps/random.c: (main):
8802 * testsuite/caps/renegotiate.c: (my_fixate), (main):
8803 * testsuite/caps/sets.c: (check_caps):
8804 * testsuite/caps/simplify.c: (check_caps), (main):
8805 * testsuite/caps/subtract.c: (check_caps):
8806 Fix _pad_get_direction wrt ghostpads.
8809 2005-03-09 Wim Taymans <wim@fluendo.com>
8811 * check/Makefile.am:
8812 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8813 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8814 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8815 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8816 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8817 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8818 (gst_bin_remove), (gst_bin_iterate_recurse_up),
8819 (bin_element_is_sink), (gst_bin_iterate_sinks),
8820 (gst_bin_iterate_all_by_interface):
8822 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8823 (gst_element_change_state), (gst_element_dispose),
8824 (gst_element_finalize), (gst_element_set_loop_function):
8826 * gst/gstiterator.c: (find_custom_fold_func):
8827 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8828 (gst_pad_collectv), (gst_pad_collect_valist),
8829 (gst_pad_template_new):
8830 * gst/gstpipeline.c: (gst_pipeline_class_init),
8831 (gst_pipeline_dispose), (gst_pipeline_set_property),
8832 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8833 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8834 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8836 * gst/schedulers/entryscheduler.c:
8837 * gst/schedulers/gstbasicscheduler.c:
8838 (gst_basic_scheduler_cothreaded_chain),
8839 (gst_basic_scheduler_chain_add_element):
8840 * testsuite/bins/interface.c: (main):
8842 Added GstSystemClock test.
8843 Implemented clock distribution code in GstBin.
8844 Implemented iterate sinks method for future use.
8845 Rearranged gstelement.h
8846 Fix GstIterator comparison bug.
8847 Moved some code to GstPipeline, mostly clocking related.
8849 2005-03-09 Wim Taymans <wim@fluendo.com>
8852 * gst/gst_private.h:
8853 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8854 (gst_bin_remove_func), (gst_bin_remove),
8855 (gst_bin_get_by_name_recurse_up):
8856 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8857 (gst_clock_id_compare_func), (gst_clock_id_wait),
8858 (gst_clock_id_wait_async), (gst_clock_init),
8859 (gst_clock_adjust_unlocked), (gst_clock_get_time):
8861 * gst/gstinfo.c: (_gst_debug_init):
8863 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8864 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8866 Bump version number, we're now 0.9.0
8867 Add future debugging category.
8868 Fix NULL _unref() in _get_by_name_recurse_up
8872 2005-03-08 Wim Taymans <wim@fluendo.com>
8874 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8875 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8876 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8877 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8878 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8879 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8880 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8881 * gst/elements/gstidentity.c: (gst_identity_class_init):
8882 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8883 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8884 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8885 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8886 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8888 * gst/gstelement.c: (gst_element_class_init),
8889 (gst_element_base_class_init), (gst_element_init),
8890 (gst_element_get_random_pad), (gst_element_wait_state_change),
8891 (gst_element_change_state), (gst_element_dispose),
8892 (gst_element_finalize), (gst_element_set_loop_function):
8894 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8895 * gst/gstthread.c: (gst_thread_class_init),
8896 (gst_thread_release_children_locks), (gst_thread_change_state):
8897 * gst/schedulers/gstbasicscheduler.c:
8898 (gst_basic_scheduler_loopfunc_wrapper),
8899 (gst_basic_scheduler_chain_wrapper),
8900 (gst_basic_scheduler_src_wrapper),
8901 (gst_basic_scheduler_remove_element):
8902 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8903 Remove threadsafe properties. Fix elements because GObject
8904 complains when installing a property before declaring a
8905 set/get_property handler.
8906 Rearrange gstelement.h file, use STATE macros for state locks.
8907 Free mutexes in the finalize method instead of dispose.
8909 2005-03-08 Wim Taymans <wim@fluendo.com>
8911 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8912 * gst/gstthread.c: (gst_thread_release_children_locks):
8913 Added parentage check.
8914 Fix build og GstThread again.
8916 2005-03-08 Wim Taymans <wim@fluendo.com>
8918 * docs/design/part-MT-refcounting.txt:
8919 * docs/design/part-conventions.txt:
8920 * docs/design/part-gstobject.txt:
8921 * docs/design/part-relations.txt:
8922 * docs/design/part-standards.txt:
8923 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8924 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8925 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8926 (gst_bin_iterate_all_by_interface):
8929 * gst/gstelement.c: (gst_element_class_init),
8930 (gst_element_change_state), (gst_element_set_loop_function):
8932 * gst/gstiterator.c:
8933 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8934 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8935 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8936 (gst_object_set_parent), (gst_object_unparent),
8937 (gst_object_check_uniqueness):
8939 Docs updates, clean up some headers.
8941 2005-03-07 Wim Taymans <wim@fluendo.com>
8944 * check/Makefile.am:
8945 * check/gst-libs/.cvsignore:
8946 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8947 * check/gst/.cvsignore:
8948 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8949 (START_TEST), (gstbus_suite), (main):
8950 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8951 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8952 (gst_data_suite), (main):
8953 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8954 (add_fold_func), (gstiterator_suite), (main):
8955 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8956 (thread_name_object), (thread_name_object_default),
8957 (gst_object_name_compare), (gst_object_suite), (main):
8958 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8959 (gst_pad_suite), (main):
8960 * check/gstcheck.c: (gst_check_log_message_func),
8961 (gst_check_log_critical_func), (gst_check_init):
8963 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8964 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8967 2005-03-07 Wim Taymans <wim@fluendo.com>
8969 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8970 (gst_list_iterator_next), (gst_list_iterator_resync),
8971 (gst_list_iterator_free), (gst_iterator_new_list),
8972 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8973 (gst_iterator_free), (gst_iterator_push), (filter_next),
8974 (filter_resync), (filter_uninit), (filter_free),
8975 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8976 (gst_iterator_foreach), (find_custom_fold_func),
8977 (gst_iterator_find_custom):
8978 * gst/gstiterator.h:
8979 Added missing files.
8981 2005-03-07 Wim Taymans <wim@fluendo.com>
8985 * docs/design/part-MT-refcounting.txt:
8986 * docs/design/part-conventions.txt:
8987 * docs/design/part-gstobject.txt:
8988 * docs/design/part-relations.txt:
8989 * examples/mixer/mixer.c: (main):
8990 * examples/thread/thread.c: (eos), (main):
8992 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8993 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8994 (gst_spider_plug_from_srcpad):
8995 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8996 (gst_spider_identity_change_state),
8997 (gst_spider_identity_sink_loop_type_finding):
8998 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8999 * gst/elements/gstidentity.c: (gst_identity_init):
9000 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
9001 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
9002 * gst/elements/gsttypefindelement.c: (free_entry):
9005 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
9006 (gst_bin_set_clock_func), (gst_bin_auto_clock),
9007 (gst_bin_set_index), (gst_bin_set_element_sched),
9008 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
9009 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
9010 (gst_bin_iterate_elements), (iterate_child_recurse),
9011 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
9012 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
9013 (compare_interface), (gst_bin_get_by_interface),
9014 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
9016 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
9017 (gst_buffer_default_free), (gst_buffer_default_copy),
9018 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
9019 (gst_buffer_create_sub):
9021 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
9022 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
9023 (gst_caps_unref), (gst_static_caps_get),
9024 (gst_caps_remove_and_get_structure), (gst_caps_append),
9025 (gst_caps_append_structure), (gst_caps_remove_structure),
9026 (gst_caps_copy_nth), (gst_caps_set_simple),
9027 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
9028 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
9029 (gst_caps_structure_intersect_field), (gst_caps_intersect),
9030 (gst_caps_structure_subtract_field), (gst_caps_subtract),
9031 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
9032 (gst_caps_structure_figure_out_union),
9033 (gst_caps_switch_structures), (gst_caps_do_simplify),
9034 (gst_caps_replace), (gst_caps_from_string),
9035 (gst_caps_copy_conditional):
9037 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
9038 (_gst_clock_id_free), (gst_clock_id_unref),
9039 (gst_clock_id_compare_func), (gst_clock_id_wait),
9040 (gst_clock_id_wait_async), (gst_clock_class_init),
9041 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
9042 (gst_clock_get_time), (gst_clock_set_time_adjust),
9043 (gst_clock_set_property), (gst_clock_get_property):
9046 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9047 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9049 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9050 (gst_element_requires_clock), (gst_element_provides_clock),
9051 (gst_element_set_clock), (gst_element_clock_wait),
9052 (gst_element_wait), (gst_element_set_time_delay),
9053 (gst_element_is_indexable), (gst_element_add_pad),
9054 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9055 (pad_compare_name), (gst_element_get_static_pad),
9056 (gst_element_request_pad), (gst_element_get_request_pad),
9057 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9058 (gst_element_class_get_pad_template_list),
9059 (gst_element_class_get_pad_template), (gst_element_error_func),
9060 (gst_element_get_random_pad), (gst_element_get_event_masks),
9061 (gst_element_send_event), (gst_element_seek),
9062 (gst_element_get_query_types), (gst_element_query),
9063 (gst_element_get_formats), (gst_element_convert),
9064 (gst_element_is_locked_state), (gst_element_set_locked_state),
9065 (gst_element_sync_state_with_parent), (gst_element_change_state),
9066 (gst_element_finalize), (gst_element_yield),
9067 (gst_element_interrupt), (gst_element_set_scheduler),
9068 (gst_element_get_scheduler), (gst_element_set_loop_function):
9071 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9072 (gst_format_get_by_nick), (gst_format_get_details),
9073 (gst_format_iterate_definitions):
9075 * gst/gstindex.c: (gst_index_gtype_resolver):
9078 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9079 (gst_mem_chunk_free):
9080 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9081 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9082 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9083 (gst_object_dispatch_properties_changed),
9084 (gst_object_set_name_default), (gst_object_set_name),
9085 (gst_object_get_name), (gst_object_set_name_prefix),
9086 (gst_object_get_name_prefix), (gst_object_set_parent),
9087 (gst_object_get_parent), (gst_object_unparent),
9088 (gst_object_check_uniqueness), (gst_object_save_thyself),
9089 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9090 (gst_object_set_property), (gst_object_get_property),
9091 (gst_object_get_path_string):
9093 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9094 (gst_real_pad_init), (gst_real_pad_get_property),
9095 (gst_pad_custom_new), (gst_pad_get_direction),
9096 (gst_pad_set_active), (gst_pad_is_active),
9097 (gst_pad_set_event_function), (gst_pad_is_linked),
9098 (gst_pad_link_free), (gst_pad_link_intersect),
9099 (gst_pad_link_fixate), (gst_pad_set_caps),
9100 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9101 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9102 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9103 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9104 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9105 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9106 (gst_pad_realize), (gst_pad_get_allowed_caps),
9107 (gst_real_pad_dispose), (gst_real_pad_finalize),
9108 (gst_pad_collectv), (gst_pad_collect_valist),
9109 (gst_pad_template_dispose), (gst_pad_template_new),
9110 (gst_pad_get_internal_links):
9112 * gst/gstpipeline.c: (gst_pipeline_dispose),
9113 (gst_pipeline_change_state):
9114 * gst/gstpipeline.h:
9116 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9117 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9118 * gst/gstpluginfeature.h:
9119 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9120 * gst/gstquery.c: (_gst_query_type_initialize),
9121 (gst_query_type_register), (gst_query_type_get_by_nick),
9122 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9124 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9125 * gst/gstscheduler.c: (gst_scheduler_add_element),
9126 (gst_scheduler_factory_create):
9127 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9128 (gst_structure_free), (gst_structure_set_name),
9129 (gst_structure_id_set_value), (gst_structure_set_value),
9130 (gst_structure_set_valist), (gst_structure_remove_field),
9131 (gst_structure_remove_fields),
9132 (gst_structure_remove_fields_valist),
9133 (gst_structure_remove_all_fields), (gst_structure_foreach),
9134 (gst_structure_map_in_place),
9135 (gst_caps_structure_fixate_field_nearest_int),
9136 (gst_caps_structure_fixate_field_nearest_double):
9137 * gst/gststructure.h:
9138 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9139 (gst_system_clock_init), (gst_system_clock_dispose),
9140 (gst_system_clock_async_thread),
9141 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9142 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9143 * gst/gstsystemclock.h:
9144 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9145 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9146 * gst/gsttaginterface.c:
9147 * gst/gstthread.c: (gst_thread_dispose),
9148 (gst_thread_release_children_locks), (gst_thread_change_state),
9149 (gst_thread_main_loop):
9150 * gst/gsttrashstack.h:
9151 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9153 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9154 (gst_element_request_pad), (gst_element_get_pad_from_template),
9155 (gst_element_request_compatible_pad),
9156 (gst_element_get_compatible_pad_filtered),
9157 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9158 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9159 (gst_element_link_many), (gst_element_link),
9160 (gst_element_link_pads), (gst_element_unlink_pads),
9161 (gst_element_unlink_many), (gst_element_unlink),
9162 (gst_pad_can_link_filtered), (gst_pad_can_link),
9163 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9164 (gst_object_default_error), (gst_bin_add_many),
9165 (gst_bin_remove_many), (gst_element_populate_std_props),
9166 (gst_element_class_install_std_props), (gst_buffer_merge),
9167 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9168 (link_fold_func), (gst_pad_proxy_setcaps):
9170 * gst/gstvalue.c: (gst_value_deserialize_string):
9171 * gst/parse/grammar.y:
9172 * gst/schedulers/gstbasicscheduler.c:
9173 (gst_basic_scheduler_cothreaded_chain),
9174 (gst_basic_scheduler_chain_recursive_add),
9175 (gst_basic_scheduler_pad_link):
9176 * gst/schedulers/gstoptimalscheduler.c:
9177 (get_group_schedule_function),
9178 (gst_opt_scheduler_state_transition),
9179 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9180 * libs/gst/bytestream/bytestream.c:
9181 * libs/gst/dataprotocol/dataprotocol.c:
9182 (gst_dp_header_from_buffer):
9185 * tests/threadstate/threadstate2.c: (eos):
9186 * tools/gst-compprep.c: (main):
9187 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9188 (print_pad_info), (print_children_info):
9189 * tools/gst-launch.c: (idle_func), (main):
9190 * tools/gst-md5sum.c: (idle_func), (main):
9191 * tools/gst-xmlinspect.c: (print_element_info):
9192 First THREADED backport attempt, focusing on adding locks and
9193 making sure the API is threadsafe. Needs more work. More docs
9196 2005-02-24 Andy Wingo <wingo@pobox.com>
9198 * tests/bench-complexity.scm:
9199 * tests/complexity.gnuplot: New files, good for running complexity
9202 * tests/Makefile.am:
9203 * tests/complexity.c: New test, sets up N elements, at each level
9204 teeing into M streams per element. Eeeenteresting.
9206 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9207 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9208 running bench-mass_elements.scm.
9210 * tests/bench-mass_elements.scm: New script, runs mass_elements
9211 for various numbers of identities, outputting the results to a
9212 file. Requires guile 1.6. Just for testing.
9214 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9216 * gst/schedulers/fairscheduler.c:
9217 compile with debug disabled
9219 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9222 hunting season on 0.9 is now OPEN