1 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
3 * gst/gststructure.c: (gst_structure_to_string):
4 guard against NULL printf - happens when for example
5 a message structure with GstClock gets serialized
7 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
9 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10 Fix presumable copy'n'pasto.
12 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
14 * gst/elements/gstfakesrc.h:
15 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
16 * gst/elements/gsttypefindelement.c:
18 * gst/elements/gstfilesink.c: (gst_file_sink_render):
19 I wonder if this could actually write +2GB files before
21 2005-10-13 Andy Wingo <wingo@pobox.com>
23 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
24 Fix Timmeke Waymans bug.
25 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
26 string of the proper length to gst_caps_from_string. There's a
27 potential for, before this fix, that this could cause someone
28 connecting over the network to cause a segfault if the payload is
31 2005-10-13 Stefan Kost <ensonic@users.sf.net>
33 * docs/design/draft-push-pull.txt:
34 * docs/design/part-overview.txt:
35 * docs/random/TODO-pre-0.9:
36 * docs/random/old/ChangeLog.gstreamer:
37 * gst/base/gstpushsrc.c:
41 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
43 * gst/glib-compat.c: (gst_flags_get_first_value):
45 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
46 (gst_value_compare_double), (gst_value_serialize_flags):
47 GLib 2.6 g_flags_get_first_value has a bug that triggers an
50 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
52 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
53 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
55 * tools/gst-launch.c: (event_loop):
56 print out clock nicely
58 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
60 * docs/gst/gstreamer-sections.txt:
62 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
63 (gst_tag_list_get_date_index):
64 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
65 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
67 2005-10-13 Julien MOUTTE <julien@moutte.net>
69 * gst/base/gstcollectpads.c: (gst_collectpads_event),
70 (gst_collectpads_chain):
71 * gst/base/gstcollectpads.h: Handle newsegment and store informations
74 2005-10-13 Stefan Kost <ensonic@users.sf.net>
76 * docs/gst/gstreamer-sections.txt:
79 * tools/gst-inspect.c: (main):
80 * tools/gst-launch.c: (main):
81 * tools/gst-run.c: (main):
82 * tools/gst-xmlinspect.c: (main):
83 fix GOption context leaks
86 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
90 * win32/common/config.h:
92 * win32/vs6/grammar.dsp:
93 * win32/vs6/libgstelements.dsp:
94 * win32/vs6/libgstreamer.dsp:
97 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
99 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
100 * gst/base/gstbasesrc.c: (gst_base_src_query):
101 fix more guint64<->gdouble conversions
103 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
106 add win32-update target
107 * win32/common/gstconfig.h:
108 * win32/common/gstenumtypes.c:
109 * win32/common/gstenumtypes.h:
110 * win32/common/gstversion.h:
111 add files that visual studio can't generate
113 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
116 add a win32-update target
119 2005-10-12 Wim Taymans <wim@fluendo.com>
121 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
122 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
123 * gst/gstelement.c: (gst_element_commit_state),
124 (gst_element_set_state):
125 Protect flags with proper lock.
126 unref provided cached clock in dispose.
128 2005-10-12 Stefan Kost <ensonic@users.sf.net>
131 * gst/gstminiobject.h:
133 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
134 removed unused flags from miniobject
137 2005-10-12 Wim Taymans <wim@fluendo.com>
139 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
140 (gst_file_sink_event), (gst_file_sink_render):
141 Flush before seeking.
143 2005-10-12 Andy Wingo <wingo@pobox.com>
145 * gst/gst.c (gst_init_check): Ignore unknown options, as has
146 always been the case.
148 2005-10-12 Stefan Kost <ensonic@users.sf.net>
150 * check/gst/gstbin.c: (GST_START_TEST):
151 * docs/gst/gstreamer-sections.txt:
152 * gst/base/gstbasesink.c: (gst_base_sink_init):
153 * gst/base/gstbasesrc.c: (gst_base_src_init),
154 (gst_base_src_get_range), (gst_base_src_check_get_range),
155 (gst_base_src_start), (gst_base_src_stop):
156 * gst/base/gstbasesrc.h:
157 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
158 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
159 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
163 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
165 * gst/gstelement.c: (gst_element_is_locked_state),
166 (gst_element_set_locked_state), (gst_element_commit_state),
167 (gst_element_set_state):
169 * gst/gstindex.c: (gst_index_init):
171 * gst/gstminiobject.h:
172 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
173 (gst_object_set_parent):
175 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
176 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
178 * gst/gstpadtemplate.h:
179 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
180 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
182 * gst/indexers/gstfileindex.c: (gst_file_index_load),
183 (gst_file_index_commit):
184 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
185 * testsuite/pad/link.c: (gst_test_src_init),
186 (gst_test_filter_init), (gst_test_sink_init):
187 * testsuite/states/locked.c: (main):
188 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
189 moved bitshift from macro to enum definition
191 2005-10-12 Wim Taymans <wim@fluendo.com>
193 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
194 * gst/elements/gstfilesink.c: (gst_file_sink_event),
195 (gst_file_sink_render):
196 Some more debugging info.
198 2005-10-12 Wim Taymans <wim@fluendo.com>
200 * docs/design/part-states.txt:
201 * tools/gst-launch.c: (main):
203 Revert non-intentional change.
205 2005-10-12 Wim Taymans <wim@fluendo.com>
207 * check/gst/gstbin.c: (GST_START_TEST):
208 * check/gst/gstelement.c: (GST_START_TEST):
209 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
210 * check/gst/gstghostpad.c: (GST_START_TEST):
211 * check/gst/gstpipeline.c: (GST_START_TEST):
212 * check/pipelines/simple_launch_lines.c: (run_pipeline):
213 * check/states/sinks.c: (GST_START_TEST):
214 * gst/elements/gsttypefindelement.c: (stop_typefinding):
215 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
216 (gst_bin_remove_func), (gst_bin_get_state_func),
217 (gst_bin_recalc_state), (gst_bin_change_state_func),
219 * gst/gstelement.c: (gst_element_get_state_func),
220 (gst_element_get_state), (gst_element_abort_state),
221 (gst_element_commit_state), (gst_element_set_state),
222 (gst_element_change_state), (gst_element_change_state_func):
224 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
225 (gst_pipeline_provide_clock_func):
226 * gst/gstutils.c: (gst_element_link_pads_filtered):
227 * tools/gst-launch.c: (main):
228 * tools/gst-typefind.c: (main):
229 Use GstClockTime in _get_state() instead of GTimeVal.
230 Remove old code in gstutils.c
232 2005-10-12 Andy Wingo <wingo@pobox.com>
234 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
237 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
238 there is no task. Shouldn't affect any code, as nothing in our
239 plugins checks this return value.
240 (gst_pad_stop_task): Also take the stream lock if the pad has no
243 2005-10-12 Wim Taymans <wim@fluendo.com>
245 * gst/gstpad.c: (pre_activate), (post_activate),
246 (gst_pad_activate_pull), (gst_pad_activate_push):
247 Cleanup activation code. Reset old state if
250 2005-10-12 Wim Taymans <wim@fluendo.com>
252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
253 (gst_base_sink_change_state):
254 No need to prerol after receiving EOS.
256 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
257 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
258 * gst/elements/gstidentity.c: (gst_identity_event):
259 Print events more verbosely.
261 2005-10-12 Wim Taymans <wim@fluendo.com>
264 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
265 * check/states/sinks2.c:
266 Moved sinks2 testcode in sinks check.
268 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
269 (gst_bin_remove_func), (gst_bin_recalc_state),
270 (gst_bin_change_state_func), (bin_bus_handler):
271 Fix potential race condition when _get_state() iterated over an
272 ASYNC element right before it posted a state completion.
277 * gst/gstevent.c: (gst_event_new_newsegment),
278 (gst_event_parse_newsegment):
279 A playback rate of 0.0 is not allowed.
281 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
283 * win32/common/config.h:
284 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
285 (_trewinddir), (_ttelldir), (_tseekdir):
286 * win32/common/dirent.h:
287 * win32/common/gtchar.h:
288 * win32/common/libgstbase.def:
289 * win32/common/libgstreamer.def:
290 * win32/vs6/grammar.dsp:
291 * win32/vs6/gst_inspect.dsp:
292 * win32/vs6/gst_launch.dsp:
293 * win32/vs6/gstreamer.dsw:
294 * win32/vs6/libgstbase.dsp:
295 * win32/vs6/libgstelements.dsp:
296 * win32/vs6/libgstreamer.dsp:
297 Visual Studio 6 project files, and a new common directory.
300 2005-10-11 Wim Taymans <wim@fluendo.com>
302 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
303 (gst_base_sink_do_sync), (gst_base_sink_query),
304 (gst_base_sink_change_state):
305 * gst/base/gstbasesink.h:
306 Correctly parse newsegment info.
308 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
310 * gst/gst.c: (init_post):
311 split plugin paths correctly
313 2005-10-11 Wim Taymans <wim@fluendo.com>
315 * check/gst/gstevent.c: (GST_START_TEST):
316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
317 (gst_base_sink_change_state):
318 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
319 * gst/base/gstbasetransform.c: (gst_base_transform_event):
320 * gst/elements/gstfilesink.c: (gst_file_sink_event):
321 * gst/gstevent.c: (gst_event_new_newsegment),
322 (gst_event_parse_newsegment):
324 Added extra flag to newsegment for future API freeze.
325 Updated check and base elements.
327 2005-10-11 Julien MOUTTE <julien@moutte.net>
329 * gst/base/gstcollectpads.c: (gst_collectpads_init),
330 (gst_collectpads_add_pad), (gst_collectpads_pop),
331 (gst_collectpads_event), (gst_collectpads_chain):
332 * gst/base/gstcollectpads.h: Handle EOS correctly.
334 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
336 * tools/gst-launch.c: (main):
339 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
341 * gst/gst-i18n-lib.h:
342 check for ENABLE_NLS, not GETTEXT_PACKAGE
343 * gst/gstregistry.c: (gst_registry_add_plugin),
344 (gst_registry_scan_path_level),
345 (_gst_registry_remove_cache_plugins):
346 protect possibly NULL strings
348 config.h already included before
349 * tools/gst-inspect.c: (main):
350 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
351 check for ENABLE_NLS, not GETTEXT_PACKAGE
352 * tools/gst-launch.c: (main):
353 check for ENABLE_NLS, not GETTEXT_PACKAGE
355 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
358 if we don't have glib, fail before testing 2.8
359 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
360 fix a leak, should fix plugins-base testsuite
362 2005-10-11 Andy Wingo <wingo@pobox.com>
364 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
365 take the mode we're going to as an arg. Go head and set the mode
366 and flushing flags now, so that if the activate function starts a
367 thread all the flags will be in the right state.
368 (post_activate): Renamed also. Just handle making sure streaming
369 finishes for the deactivation case, and setting the deactivated
371 (gst_pad_set_active): Complain loudly if deactivation fails.
372 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
373 (gst_pad_activate_push): Adapt to pre/post_activate changes,
374 remove the terrible hack.
376 2005-10-11 Wim Taymans <wim@fluendo.com>
378 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
379 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
380 (gst_bin_recalc_state), (gst_bin_change_state_func),
381 (gst_bin_dispose), (bin_bus_handler):
383 Prepare to make current EOS message queue more generic.
386 * gst/gstevent.c: (gst_event_new_newsegment),
387 (gst_event_parse_newsegment):
389 Rename base to stream_time.
394 2005-10-11 Wim Taymans <wim@fluendo.com>
396 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
397 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
398 (gst_bin_change_state_func), (bin_bus_handler):
400 Work on proper clock selection.
402 2005-10-11 Edward Hervey <edward@fluendo.com>
404 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
405 * libs/gst/controller/gstcontroller.h:
406 Added GList* version of _remove_properties() in order to be able to wrap
409 2005-10-11 Wim Taymans <wim@fluendo.com>
411 * docs/design/part-states.txt:
414 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
415 (gst_bin_change_state_func), (bin_bus_handler):
416 Doc updates. Don't distribute the same clock over and over again.
422 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
423 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
424 (gst_pad_send_event):
426 Make probe emission threadsafe again.
427 Register quarks and move _get_name() from utils.
430 * gst/gstpipeline.c: (gst_pipeline_class_init),
431 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
432 Only redistribute the clock of it changed.
434 * gst/gstsystemclock.h:
439 Moved the _flow_get_name() to GstPad.
441 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
443 * check/gst-libs/gdp.c: (GST_START_TEST):
444 * check/gst/gstcaps.c: (GST_START_TEST):
445 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
446 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
447 (gst_dp_packet_from_caps):
448 fix more valgrind warnings before turning up the heat
450 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
452 * gst/parse/grammar.y:
453 some cleanup before the hacking
455 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
457 * gst/base/gstbasesrc.c: (gst_base_src_query):
459 * gst/gstutils.c: (gst_guint64_to_gdouble),
460 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
462 externalize, basesrc uses it
463 obviously the implementation needs testing
465 2005-10-10 Wim Taymans <wim@fluendo.com>
467 * tests/sched/Makefile.am:
468 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
469 (make_pipeline3), (make_pipeline4), (print_elem), (main):
471 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
473 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
474 apparently converting from guint64 to double is not implemented
477 2005-10-10 Wim Taymans <wim@fluendo.com>
480 * check/generic/states.c: (GST_START_TEST):
481 * check/gst/gstbin.c: (GST_START_TEST):
482 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
483 * check/states/sinks.c: (GST_START_TEST):
484 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
486 Check fixes, use API as stated in design docs, remove hacks.
488 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
489 (gst_base_sink_change_state):
490 Catch stopping our task while we're shutting down.
492 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
493 (gst_bin_remove_func), (gst_bin_get_state_func),
494 (gst_bin_recalc_state), (gst_bin_change_state_func),
497 * gst/gstelement.c: (gst_element_init),
498 (gst_element_get_state_func), (gst_element_abort_state),
499 (gst_element_commit_state), (gst_element_lost_state),
500 (gst_element_set_state), (gst_element_change_state),
501 (gst_element_change_state_func):
503 New state change algorithm (see #318116)
505 * gst/gstpipeline.c: (gst_pipeline_class_init),
506 (gst_pipeline_init), (gst_pipeline_set_property),
507 (gst_pipeline_get_property), (do_pipeline_seek),
508 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
510 Remove crude state change hacks.
515 * tools/gst-launch.c: (main):
516 Fixes for state change. Needs some more work to fully use the
519 2005-10-10 Andy Wingo <wingo@pobox.com>
521 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
523 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
524 this flag, but it's not even in GLib 2.6. Odd. Hack around the
527 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
529 * gst/gstiterator.c: (gst_iterator_new):
530 Fix my previous commit: GTypes passed to gst_iterator_new()
531 can be fundamental types.
533 2005-10-10 Wim Taymans <wim@fluendo.com>
535 * gst/gstelement.c: (gst_element_iterate_pad_list),
536 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
537 (gst_element_iterate_sink_pads):
538 Use src/sink pads lists for the respective iterators instead
541 2005-10-10 Andy Wingo <wingo@pobox.com>
543 Merged in popt removal + GOption addition patch from Ronald, bug
546 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
547 GstElement macros around, remove popt-related symbols, add goption
550 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
552 * docs/gst/Makefile.am:
553 * docs/libs/Makefile.am: No POPT_CFLAGS.
555 * examples/manual/Makefile.am:
556 * docs/manual/basics-init.xml: Doc updates with an example.
558 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
559 (gst_init), (parse_one_option), (parse_goption_arg):
560 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
561 bit of hand merging and debugging to get the GOption stuff working
566 * tools/gst-inspect.c: (main):
567 * tools/gst-launch.c: (main):
568 * tools/gst-run.c: (main):
569 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
571 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
573 * gst/gstiterator.c: (gst_iterator_new):
574 Add assertions to make sure passed GType is likely to really
575 be a GType (as the compiler won't catch it if the size and
576 GType arguments get mixed up, see #318447).
578 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
580 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
582 * gst/gstbin.c: (gst_bin_iterate_sorted):
583 Pass GType and size arguments to gst_iterator_new() in the right
584 order (maybe we should make _new() take the GType as first argument
585 just like _new_list()?) (#318447).
588 2005-10-10 Wim Taymans <wim@fluendo.com>
590 * gst/gstelement.c: (gst_element_finalize):
591 And free the GStaticRecMutex too
593 2005-10-10 Andy Wingo <wingo@pobox.com>
595 * gst/gstelement.c (gst_element_init, gst_element_finalize):
596 Allocate and free the mutex properly.
598 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
600 (GstElement): The state_lock is now recursive. Rebuild your
601 plugins, suckers. Old macros adapted.
603 * docs/gst/gstreamer-sections.txt: Doc updates.
606 * gst/gstutils.c (g_static_rec_cond_timed_wait)
607 (g_static_rec_cond_wait): Ported from state changes patch, while
608 we wait on bug #317802 to be solved in a well-distributed GLib.
610 * gst/gstelement.c (gst_element_change_state_func): Renamed from
611 gst_element_change_state, variable name changes.
612 (gst_element_change_state): Split out of gst_element_set_state in
613 preparation for the state change merge. Doesn't pay attention to
614 the 'transition' argument.
615 (gst_element_set_state): Updates, hopefully purely cosmetic.
616 (gst_element_sync_state_with_parent): MT-safety. Ported from the
618 (gst_element_get_state_func): Renamed from get_state, cosmetic
621 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
623 * gst/elements/gstelements.c:
624 * win32/GStreamer.vcproj:
626 * win32/dirent.c: (_tseekdir):
627 * win32/gst-inspect.vcproj:
628 * win32/gst-launch.vcproj:
630 * win32/gstelements.vcproj:
631 * win32/gstenumtypes.c: (gst_object_flags_get_type):
632 * win32/gstreamer.def:
634 updates for the win32 build (patch from Sebastien Moutte)
636 2005-10-10 Andy Wingo <wingo@pobox.com>
638 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
639 gst_bin_get_state, cleaned up (but no logic changes).
640 (bin_element_is_sink): Comment updates.
641 (sink_iterator_filter): Remove needless cast.
642 (gst_bin_iterate_sinks): Doc update.
643 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
644 cleaned up (but no logic changes).
646 * check/states/sinks.c (test_src_sink): Cleanups from the state
648 (test_livesrc_sink): Sync on the state.
650 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
651 the state change patch.
653 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
656 * check/gst/gstbin.c: Merge in some style fixes and additional
657 checks from Wim's state change patch.
659 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
661 * gst/base/gsttypefindhelper.c: (helper_find_peek),
662 (gst_type_find_helper):
663 Check whether we have the requested data already in our list of
664 cached buffers before pulling a new buffer; also make the buffer
665 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
667 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
672 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
673 don't use long long, it's not portable. Replacing with
674 gint64 seems to work; let's hope no skeletons fall out of the closet.
676 2005-10-10 Andy Wingo <wingo@pobox.com>
678 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
680 2005-10-09 Stefan Kost <ensonic@users.sf.net>
682 * docs/gst/gstreamer-sections.txt:
687 * gst/gstmessage.c: (gst_message_parse_state_changed):
690 more docs, fix compilation
692 2005-10-09 Philippe Khalaf <burger@speedy.org>
694 Fixed a few forgotten variables on previous commit
696 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
698 * gst/base/gsttypefindhelper.c: (helper_find_peek):
699 Fix evil typefind crasher: getrange() might return a short
700 buffer at the end of a file, but gst_type_find_peek() must
701 either return the full data as requested or NULL, but
702 never a short buffer.
704 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
706 * gst/gstmessage.c: (gst_message_new_state_changed),
707 (gst_message_parse_state_changed):
709 don't use "new", it's a C++ keyword
711 2005-10-08 Wim Taymans <wim@fluendo.com>
713 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
714 * gst/gstelement.c: (gst_element_post_message):
715 * gst/gstpipeline.c: (gst_pipeline_change_state):
716 Small docs and debug updates.
718 2005-10-08 Stefan Kost <ensonic@users.sf.net>
720 * docs/gst/gstreamer-sections.txt:
721 * gst/gstelementfactory.c:
726 2005-10-08 Wim Taymans <wim@fluendo.com>
728 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
729 (gst_bin_dispose), (bin_bus_handler):
730 Fix typos, add comments.
731 Clear EOS list when going to PAUSED from any direction and do it
733 Get base time in a threadsafe way too.
734 Fix confusing debug in the change_state function.
735 Various other small cleanups.
737 * gst/gstelement.c: (gst_element_post_message):
738 Fix very verbose bus posting code.
740 * gst/gstpipeline.c: (gst_pipeline_class_init),
741 (gst_pipeline_set_property), (gst_pipeline_get_property),
742 (gst_pipeline_change_state):
743 Small ARG_ -> PROP_ cleanup
745 2005-10-08 Wim Taymans <wim@fluendo.com>
747 * gst/gstbin.c: (is_eos), (bin_bus_handler):
748 Do a less CPU demanding EOS check because we can.
750 2005-10-08 Wim Taymans <wim@fluendo.com>
752 * libs/gst/dataprotocol/dataprotocol.c:
753 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
754 (gst_dp_packet_from_event):
755 * libs/gst/dataprotocol/dataprotocol.h:
756 * libs/gst/dataprotocol/dp-private.h:
757 It's about time we bump the version number.
758 Since event types don't fit in the guint8 anymore describing
759 the payload type, make payload type 16 bits wide.
761 2005-10-08 Wim Taymans <wim@fluendo.com>
763 * docs/design/part-TODO.txt:
764 * docs/design/part-clocks.txt:
765 * docs/design/part-events.txt:
766 * docs/design/part-gstbin.txt:
767 * docs/design/part-gstelement.txt:
768 * docs/design/part-gstpipeline.txt:
769 * docs/design/part-live-source.txt:
770 * docs/design/part-messages.txt:
771 * docs/design/part-overview.txt:
772 * docs/design/part-states.txt:
775 2005-10-08 Wim Taymans <wim@fluendo.com>
779 Fix event quark registration.
780 Add some space between events so we can insert them in the
783 2005-10-08 Wim Taymans <wim@fluendo.com>
785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
786 (gst_base_sink_handle_buffer):
793 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
794 (gst_queue_set_property), (gst_queue_get_property):
796 Remove old unused properties.
798 2005-10-08 Stefan Kost <ensonic@users.sf.net>
799 * docs/gst/gstreamer-sections.txt:
802 * gst/gstminiobject.c:
803 * gst/gstminiobject.h:
807 lots of new docs and doc fixes
809 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
811 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
813 * gst/gstregistry.c: (gst_registry_lookup_locked),
814 (gst_registry_scan_path_level):
815 * gst/gstregistryxml.c: (load_plugin):
816 Only ever load one plugin for a given plugin basename.
817 This ensures correct overriding of GST_PLUGIN_PATH over
818 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
819 system installed plugins.
821 2005-10-08 Wim Taymans <wim@fluendo.com>
823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
824 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
825 Prepare for doing QOS.
827 2005-10-08 Wim Taymans <wim@fluendo.com>
829 * check/gst/gstbin.c: (GST_START_TEST):
830 * check/pipelines/cleanup.c: (GST_START_TEST):
831 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
832 Allow new clock message too.
834 2005-10-08 Wim Taymans <wim@fluendo.com>
836 * gst/gstmessage.c: (gst_message_new_error),
837 (gst_message_new_warning), (gst_message_new_tag),
838 (gst_message_new_state_changed), (gst_message_new_clock_provide),
839 (gst_message_new_clock_lost), (gst_message_new_new_clock),
840 (gst_message_new_segment_start), (gst_message_new_segment_done),
841 (gst_message_parse_state_changed),
842 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
843 (gst_message_parse_new_clock):
845 Also carry the clock in question.
847 2005-10-08 Wim Taymans <wim@fluendo.com>
849 * gst/gstmessage.c: (gst_message_new_custom),
850 (gst_message_new_eos), (gst_message_new_error),
851 (gst_message_new_warning), (gst_message_new_tag),
852 (gst_message_new_state_changed), (gst_message_new_clock_provide),
853 (gst_message_new_new_clock), (gst_message_new_segment_start),
854 (gst_message_new_segment_done), (gst_message_parse_state_changed),
855 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
858 Added clock related messages.
860 * gst/gstpipeline.c: (gst_pipeline_change_state):
861 Post message when the clock changed.
863 * tools/gst-launch.c: (event_loop):
866 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
868 * tools/gst-inspect.c: (print_element_properties_info):
869 Can't pass NULL strings to g_print() on windows.
871 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
874 * docs/gst/Makefile.am:
875 * docs/gst/gstreamer-docs.sgml:
876 * docs/gst/running.xml:
877 * docs/version.entities.in:
878 add a chapter on running GStreamer.
879 document GST_DEBUG and GST_PLUGIN* env vars
881 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
886 remove PLUGINS_BUILDDIR stuff
887 * gst/gst.c: (init_post):
888 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
890 remove, it was condescending and not needed
892 2005-10-08 Wim Taymans <wim@fluendo.com>
894 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
895 (gst_base_sink_handle_object), (gst_base_sink_event),
896 (gst_base_sink_wait), (gst_base_sink_handle_event),
897 (gst_base_sink_change_state):
898 * gst/base/gstbasesink.h:
899 Repost EOS message while going to PLAYING if still EOS.
900 Make sure that when receiving a FLUSH_START we don't attempt
901 to sync on the clock anymore.
903 2005-10-08 Wim Taymans <wim@fluendo.com>
905 * tools/gst-launch.c: (event_loop):
906 Better message printout.
908 2005-10-08 Wim Taymans <wim@fluendo.com>
910 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
911 (gst_bin_child_proxy_get_children_count):
912 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
913 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
914 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
915 (gst_child_proxy_set_valist):
916 * gst/parse/grammar.y:
917 Make ChildProxy threadsafe and fix mem leaks.
919 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
921 * gst/gst.c: (init_post):
922 debug the GST_PLUGIN_ env vars
924 2005-10-08 Wim Taymans <wim@fluendo.com>
926 * check/gst/gstbin.c: (GST_START_TEST):
927 * check/gst/gstmessage.c: (GST_START_TEST):
928 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
929 * gst/gstelement.c: (gst_element_commit_state),
930 (gst_element_lost_state):
931 * gst/gstmessage.c: (gst_message_new_state_changed),
932 (gst_message_parse_state_changed):
934 * tools/gst-launch.c: (event_loop):
935 Added extra field to STATE_CHANGE message with the pending
936 state, which will be different from the new state soon.
938 2005-10-08 Wim Taymans <wim@fluendo.com>
940 * gst/gstbus.c: (gst_bus_pop):
942 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
943 Small cleanups and doc updates.
945 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
947 * gst/gst.c: (init_pre):
948 * gst/gstbin.c: (gst_bin_add_func):
949 log distributing clocks and base time
950 * gst/gstregistry.c: (gst_registry_add_plugin),
951 (gst_registry_scan_path_level), (gst_registry_scan_path):
952 clean up the debugging output a little
953 * gst/gstutils.c: (gst_element_state_get_name):
954 warn about a memleak (I've actually seen this be used, though
955 it was probably a bug)
957 2005-10-07 Wim Taymans <wim@fluendo.com>
959 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
960 (gst_base_src_init), (gst_base_src_default_newsegment),
961 (gst_base_src_newsegment), (gst_base_src_do_seek),
962 (gst_base_src_loop), (gst_base_src_start):
963 * gst/base/gstbasesrc.h:
964 Make the newsegment event customizable by subclasses.
966 2005-10-07 Wim Taymans <wim@fluendo.com>
968 * gst/gstevent.c: (gst_event_new_buffersize),
969 (gst_event_parse_buffersize):
971 New event for future idea.
973 2005-10-07 Andy Wingo <wingo@pobox.com>
975 * gst/gstelement.c (gst_element_post_message): Doc update.
977 * docs/gst/gstreamer-sections.txt: Update.
979 * gst/gstmessage.c (gst_message_new_application): Made into a
980 function like honest API calls.
981 (gst_message_new_element): New message type.
983 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
985 * check/elements/fakesrc.c (test_no_preroll): New check, checks
986 that setting a live fakesrc to PAUSED returns NO_PREROLL both
989 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
990 NO_PREROLL from gst_element_change_state to fall through.
992 2005-10-07 Wim Taymans <wim@fluendo.com>
994 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
995 (gst_ghost_pad_do_activate_push):
996 Activating a ghostpad with no internal pad in push mode
999 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
1002 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
1003 Fixes compilation on Windows.
1005 2005-10-07 Michael Smith <msmith@fluendo.com>
1007 * tools/gst-inspect.c:
1008 Print out feature and plugin count at the end when printing out
1011 2005-10-04 Michael Smith <msmith@fluendo.com>
1013 * gst/gsterror.c: (_gst_stream_errors_init):
1014 Add another error string used in a few existing plugins.
1017 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1018 * tools/gst-inspect.c: (print_element_info):
1019 When a feature disappears from a plugin (and the feature exists in
1020 the cached registry file), things went horribly wrong. This isn't a
1021 complete fix, we should actually be removing the 'missing' features
1022 from the features list when we load the actual plugin. That's not
1025 2005-10-04 Johan Dahlin <johan@gnome.org>
1027 * check/gst/gstiterator.c: (GST_START_TEST):
1028 * gst/gstbin.c: (gst_bin_iterate_elements),
1029 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
1030 * gst/gstelement.c: (gst_element_iterate_pads):
1031 * gst/gstformat.c: (gst_format_iterate_definitions):
1032 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
1033 (gst_iterator_new_list), (gst_iterator_filter):
1034 * gst/gstiterator.h:
1035 * gst/gstquery.c: (gst_query_type_iterate_definitions):
1036 Add a GType to GstIterator, update callsites and tests.
1038 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1040 * gst/gstpad.c: (gst_pad_event_default_dispatch):
1041 give events a chance to be handled by event probes when the pad
1044 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1046 * gst/gstevent.c: (gst_event_type_get_name),
1047 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
1049 add string representations for event types
1051 2005-10-06 Wim Taymans <wim@fluendo.com>
1053 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
1054 Don't use NULL pointers.
1056 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1058 * gst/gst_private.h:
1062 * gst/gstpluginfeature.c:
1063 widen the debug category in output to fit the biggest one we have
1064 add a bus category and use it
1065 play with the colors
1066 fix up some categories
1068 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
1070 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
1071 add push activation of sink ghost pads.
1072 Andye, please verify
1074 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1076 * gst/gstutils.c: (gst_element_link_pads):
1077 fix a bug in the case where neither element has a pad
1078 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1079 add a test for that case
1081 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
1083 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
1084 emit have-data before checking for peers. This allows
1085 for probe handlers to connect elements. This helps autopluggers.
1086 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
1088 add six checks, linked/unlinked with no/true/false probe
1090 2005-10-04 Wim Taymans <wim@fluendo.com>
1092 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
1093 (gst_fake_sink_event), (gst_fake_sink_preroll),
1094 (gst_fake_sink_render), (gst_fake_sink_change_state):
1095 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
1096 (gst_fake_src_get_property), (gst_fake_src_create),
1097 (gst_fake_src_stop):
1098 * gst/elements/gstidentity.c: (gst_identity_stop):
1099 Protect last_message with lock.
1101 2005-10-04 Edward Hervey <edward@fluendo.com>
1104 Added precision in the comments for GST_FORMAT_DEFAULT
1106 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
1108 * tools/gst-launch.c: (main):
1109 Don't try to run erroneous pipelines.
1111 2005-10-04 Julien MOUTTE <julien@moutte.net>
1113 * gst/gstbus.c: We don't need this header.
1115 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1120 === release 0.9.3 ===
1122 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
1126 Releasing 0.9.3, "Unregistered"
1128 2005-10-03 Andy Wingo <wingo@pobox.com>
1130 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
1131 whereby calling a pad's activatepush() function can start a thread
1132 that starts to push or pull before the pad gets the FLUSHING flag
1133 unset. Hack around it by holding the stream lock until the flag is
1134 set. Need to replace this with a proper solution. Together with
1135 the ghost pad fixes, this fixes mp3 playing/tagreading.
1137 * docs/design/part-gstghostpad.txt: Add a note about activation of
1138 proxy pads outside of ghost pads.
1140 * gst/gstghostpad.c: Implement the ghost pad activation design.
1142 2005-10-02 Andy Wingo <wingo@pobox.com>
1144 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
1145 It is volatile, after all.
1147 * docs/design/part-gstghostpad.txt: Flesh out activation with
1150 * gst/base/gstbasesrc.c (gst_base_src_init): Use
1153 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
1156 Fix (unused) AM_CONDITIONAL tests.
1158 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
1160 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1162 * gst/gstutils.c: (gst_pad_query_convert):
1163 Add assertion that makes sure src_val is >=0, just like
1164 gst_query_new_convert() has. (#315895)
1166 2005-09-30 Edward Hervey <edward@fluendo.com>
1168 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
1169 Let's not iterate pads we're not interested in, it avoids getting
1170 sky-high refcounts on sinkpad.
1172 2005-09-30 Wim Taymans <wim@fluendo.com>
1174 * gst/gstelement.c: (gst_element_set_state),
1175 (gst_element_change_state):
1176 Small tweak, element in ASYNC remains ASYNC.
1178 2005-09-30 Wim Taymans <wim@fluendo.com>
1180 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
1181 Only error is an error.
1183 * gst/gstbin.c: (gst_bin_change_state):
1186 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
1187 Also call pad_block in pad alloc.
1189 * gst/gstutils.c: (gst_flow_get_name):
1192 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1194 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
1195 (gst_base_src_get_range):
1196 Fix documentation typos. Add some more debug info.
1198 2005-09-29 David Schleef <ds@schleef.org>
1200 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
1201 more end-user friendly.
1202 * tools/gst-inspect.c: (main): Check if command-line argument is
1203 a file and attempt to load that file as a plugin.
1205 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1207 * check/gst/gstbin.c:
1208 * check/states/sinks.c:
1209 fix tests for the new warning
1210 * check/gst/gstpipeline.c:
1211 add a test for pipeline and bus interaction
1213 elements should be NULL if they get disposed; add a warning if not
1215 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1218 for 2.6 refcounting, make debug log more correct by printing
1219 the actual refcounts at the time of swap (Wim)
1221 2005-09-29 Andy Wingo <wingo@pobox.com>
1223 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
1224 removes signal watches previously added via
1225 gst_bus_add_signal_watch.
1226 (gst_bus_add_signal_watch): Don't return the source id, just store
1227 it on the bus if there wasn't an id already.
1229 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
1230 add_signal_watch and remove_signal_watch.
1232 2005-09-29 Edward Hervey <edward@fluendo.com>
1234 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
1235 Better if we actually iterate the list :)
1237 2005-09-29 Wim Taymans <wim@fluendo.com>
1239 * check/gst/gstbin.c: (GST_START_TEST):
1240 Change for new bus API.
1242 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
1243 (send_messages), (GST_START_TEST), (gstbus_suite):
1244 Change for new bus signal API.
1246 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
1247 (gst_bus_source_prepare), (gst_bus_source_check),
1248 (gst_bus_create_watch), (gst_bus_add_watch_full),
1249 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
1250 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
1252 Remove support for multiple GSources operating on different
1253 message types as it is too complex and unneeded when using
1255 Added support for receiving signals from the bus.
1257 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
1259 * docs/libs/tmpl/gstdataprotocol.sgml:
1260 * docs/manual/advanced-dataaccess.xml:
1261 * gst/elements/gstcapsfilter.c:
1263 rename filter-caps to caps property
1265 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1267 * gst/gstvalue.c: (gst_value_deserialize_fraction):
1268 More robust fraction string parsing.
1270 * docs/pwg/appendix-porting.xml:
1271 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
1273 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
1275 * gst/gstcaps.c: (gst_caps_do_simplify):
1276 Thou shalt not free a structure and then continue using it
1277 in the next loop iteration.
1279 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
1281 Add test case for caps simplification.
1283 2005-09-29 Wim Taymans <wim@fluendo.com>
1285 * check/gst/gstbin.c: (GST_START_TEST):
1288 2005-09-29 Wim Taymans <wim@fluendo.com>
1290 * check/gst/gstbin.c: (GST_START_TEST):
1293 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1294 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1295 (find_element), (gst_bin_sort_iterator_next),
1296 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1297 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1298 (gst_bin_change_state), (gst_bin_dispose):
1299 A bin does not have a bus, it gets the bus from the parent.
1301 * gst/gstelement.c: (gst_element_requires_clock),
1302 (gst_element_provides_clock), (gst_element_is_indexable),
1303 (gst_element_is_locked_state), (gst_element_change_state),
1304 (gst_element_set_bus_func):
1307 * gst/gstpipeline.c: (gst_pipeline_class_init),
1308 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
1309 The pipeline provides a bus.
1311 2005-09-28 Johan Dahlin <johan@gnome.org>
1313 * gst/gstmessage.c (gst_message_parse_state_changed): Use
1314 gst_structure_get_enum instead of gst_structure_get_int
1316 * gst/gststructure.c (gst_structure_get_enum): Impl.
1318 * gst/gststructure.h (gst_structure_get_enum): Add
1320 * docs/gst/gstreamer-sections.txt: Ditto
1322 * gst/gstmessage.c (gst_message_new_state_changed): Use
1323 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
1324 which does introspection.
1325 Reviewed by Christian Schaller
1327 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1329 * gst/gstinfo.c: (gst_debug_log_default):
1330 don't do dummy g_strdup()s
1331 * libs/gst/controller/gstcontroller.c:
1332 (on_object_controlled_property_changed),
1333 (gst_controlled_property_new), (gst_controller_new_valist),
1334 (gst_controller_new_list),
1335 (gst_controller_remove_properties_valist), (gst_controller_set),
1336 (gst_controller_get), (gst_controller_sync_values),
1337 (gst_controller_get_value_array), (_gst_controller_class_init),
1338 (gst_controller_get_type):
1339 * libs/gst/controller/gstcontroller.h:
1340 * libs/gst/controller/gstinterpolation.c:
1341 (gst_controlled_property_find_timed_value_node):
1342 convert // to /**/ comments
1344 2005-09-28 Wim Taymans <wim@fluendo.com>
1346 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
1347 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
1348 (gst_bus_sync_signal_handler):
1350 Added async-message and sync-message signals to the bus.
1351 Added helper BusFunc to emit signals for all posted messages.
1353 * gst/gstmessage.c: (gst_message_type_get_name),
1354 (gst_message_type_to_quark), (gst_message_get_type):
1356 Register quarks for message names.
1358 2005-09-28 Stefan Kost <ensonic@users.sf.net>
1360 * docs/libs/gstreamer-libs-sections.txt:
1361 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
1362 (gst_controller_new_list):
1363 * libs/gst/controller/gstcontroller.h:
1364 added another constructor for language bindings
1366 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
1368 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
1372 * gst/gstinfo.c: (_gst_debug_init):
1373 slightly more readable color for refcount debugging
1375 2005-09-28 Wim Taymans <wim@fluendo.com>
1377 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
1378 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
1379 (find_element), (gst_bin_sort_iterator_next),
1380 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1381 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1382 (gst_bin_change_state), (gst_bin_dispose):
1383 Small doc fixes. get_clock -> provide_clock.
1385 * gst/gstelement.c: (gst_element_class_init),
1386 (gst_element_provides_clock), (gst_element_provide_clock),
1387 (gst_element_get_clock), (gst_element_commit_state),
1388 (gst_element_lost_state):
1390 Make get/set_clock() symetric. Add provide_clock vmethod since
1391 that is actually what this function does.
1393 * gst/gstpipeline.c: (gst_pipeline_class_init),
1394 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
1395 (gst_pipeline_get_clock):
1396 get_clock -> provide_clock.
1398 2005-09-28 Andy Wingo <wingo@pobox.com>
1400 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
1401 lieu of real docs...
1403 * gst/elements/gstfdsrc.c: Cleaned up a bit.
1405 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
1407 * gst/elements/gstcapsfilter.c:
1408 * gst/elements/gstfakesink.c:
1409 * gst/elements/gstfakesrc.c:
1410 * gst/elements/gstfdsink.c:
1411 * gst/elements/gstfdsrc.c:
1412 * gst/elements/gstfilesink.c:
1413 * gst/elements/gstfilesrc.c:
1414 * gst/elements/gstidentity.c:
1415 * gst/elements/gsttee.c:
1416 * gst/elements/gsttypefindelement.c:
1417 Make element details static.
1419 2005-09-28 Wim Taymans <wim@fluendo.com>
1421 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1422 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1423 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1424 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1425 (gst_bin_change_state), (gst_bin_dispose):
1426 Some documentation updates.
1427 Clean up dispose handlers.
1429 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
1430 * gst/gstpad.c: (gst_pad_dispose):
1431 Clean up dispose handler.
1433 * gst/gstpipeline.c: (gst_pipeline_change_state):
1434 Removed spurious UNLOCK.
1436 2005-09-27 Stefan Kost <ensonic@users.sf.net>
1438 * docs/gst/gstreamer-sections.txt:
1439 * gst/base/gstbasesrc.h:
1444 * gst/gstpipeline.c:
1445 * gst/gstpipeline.h:
1448 added two new functions to the docs
1449 documents all undocumented GstXXXFlags
1450 completed some incomplete docs
1452 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
1454 * gst/gstbin.c: (gst_bin_dispose):
1455 * gst/gstelement.c: (gst_element_dispose):
1456 remove now useless and leaky resurrection code in dispose
1457 * gst/base/gstbasesrc.c: (gst_base_src_init):
1458 * gst/gstelementfactory.c: (gst_element_factory_create):
1459 * gst/gstobject.c: (gst_object_set_parent):
1462 2005-09-27 Wim Taymans <wim@fluendo.com>
1464 * docs/design/part-TODO.txt:
1467 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1468 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1469 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1470 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1471 (gst_bin_change_state):
1473 Remove element variable, we keep element info in the iterator now.
1475 2005-09-27 Andy Wingo <wingo@pobox.com>
1477 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
1480 2005-09-27 Wim Taymans <wim@fluendo.com>
1482 * check/gst/gstbin.c: (GST_START_TEST):
1483 Enable check that works now.
1485 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
1486 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
1487 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
1488 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
1489 (gst_bin_change_state):
1491 Redid the state change algorithm using a topological sort algo.
1492 Handles all cases correctly.
1493 Exposed iterator for state change order.
1496 Temp storage for state changes. Need to get rid of this soon.
1498 2005-09-27 Wim Taymans <wim@fluendo.com>
1500 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
1501 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
1502 (link_fold_func), (gst_pad_proxy_setcaps):
1503 Leak fixes, the fold functions need to unref the passed object and
1504 _get_parent_*() returns ref to parent.
1506 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1508 * check/gst/gstbuffer.c: (test_make_writable):
1509 Plug leak in test case and fix 'make check-valgrind'
1511 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1513 * gst/gstbuffer.c: (gst_subbuffer_init):
1514 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
1515 works correctly in all circumstances (we could have just copied
1516 the parent buffer's readonly flag, but conceptually it seems
1517 cleaner to mark all subbuffers as read-only). (based on patch
1518 by Alessandro Decina, #314710).
1520 * check/gst/gstbuffer.c: (create_read_only_buffer),
1521 (test_make_writable), (test_subbuffer_make_writable),
1523 Add some tests for gst_buffer_make_writable().
1525 2005-09-27 Wim Taymans <wim@fluendo.com>
1527 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
1528 use gst_object_has_ancestor().
1530 * gst/gstobject.c: (gst_object_has_ancestor):
1532 gst_object_has_ancestor() copied from gstbin.c as it is a
1535 * tests/instantiate/create.c: (create_all_elements):
1536 * tests/lat.c: (handoff_src), (handoff_sink):
1537 * tests/sched/runxml.c: (main):
1538 * tests/seeking/seeking1.c: (main):
1539 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
1541 Fix compilation of some tests.
1543 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
1546 Remove comment. GST_TYPE_G_ERROR is here to stay,
1547 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
1550 2005-09-26 Wim Taymans <wim@fluendo.com>
1552 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1553 Added check that shows error in state change order.
1555 2005-09-26 Wim Taymans <wim@fluendo.com>
1557 * gst/gstbin.c: (gst_bin_change_state):
1558 Make state change function use 3 queues again, we were
1559 adding elements in the wrong order.
1561 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1564 * gst/gstpad.c: (gst_pad_dispose):
1565 Added some debug info first.
1567 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
1569 * docs/design/draft-push-pull.txt:
1570 * docs/design/part-events.txt:
1571 * docs/design/part-overview.txt:
1572 * docs/design/part-scheduling.txt:
1573 Replace all _pull_region() with _pull_range()
1575 2005-09-26 Andy Wingo <wingo@pobox.com>
1577 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
1579 * check/gst-libs/controller.c: Update for controller api change.
1582 * tests/Makefile.am:
1583 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
1584 over by GLib bug 118439.
1586 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
1587 routines to a function.
1589 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
1591 * libs/gst/controller/gsthelper.c:
1592 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
1593 (gst_object_sync_values): Renamed from sink_values. Ugh.
1595 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
1597 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
1598 Renamed from controller_key, as it is exported.
1600 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
1602 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
1607 * gst/gstpadtemplate.h:
1610 * gst/gstqueryutils.c:
1611 * gst/gstqueryutils.h:
1612 remove queryutils headers after moving the two used functions
1613 to gstquery. also fixes build problem for gstsiddec
1615 2005-09-26 Michael Smith <msmith@fluendo.com>
1617 * tools/gst-launch.1.in:
1618 Correct documentation in manpage of debug syntax
1620 2005-09-26 Wim Taymans <wim@fluendo.com>
1622 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
1623 (gst_base_src_is_seekable), (gst_base_src_change_state):
1624 Some more debugging info.
1626 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1628 * docs/gst/gstreamer-sections.txt:
1629 * gst/base/gstbasetransform.h:
1633 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1635 * docs/gst/.cvsignore:
1636 * docs/gst/tmpl/.cvsignore:
1637 * docs/gst/tmpl/gstpipeline.sgml:
1638 * docs/gst/tmpl/gstplugin.sgml:
1639 * gst/gstpipeline.c:
1642 inlined the last two docs files
1643 removed the tmpl directory from cvs (no more conflicts here!)
1645 2005-09-25 Stefan Kost <ensonic@users.sf.net>
1647 * docs/gst/gstreamer-sections.txt:
1648 * docs/gst/tmpl/.cvsignore:
1649 * docs/gst/tmpl/gstpad.sgml:
1650 * docs/gst/tmpl/gstpadtemplate.sgml:
1652 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1653 (gst_pad_finalize), (gst_pad_set_pad_template):
1655 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1656 (gst_pad_template_class_init), (gst_pad_template_init),
1657 (gst_pad_template_dispose), (name_is_valid),
1658 (gst_static_pad_template_get), (gst_pad_template_new),
1659 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
1660 (gst_pad_template_pad_created):
1661 * gst/gstpadtemplate.h:
1662 inlined two more docs
1663 factored gstpadtemplate out of gstpad
1665 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
1667 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1668 (test_children_state_change_order_semi_sink):
1669 Fix test case: we can't rely on a fixed state change order when
1670 going from READY => PAUSED because the sink might commit its
1671 new state first when the first buffer created by the source
1672 reaches the sink before the source has finished its change state.
1673 (Test case still fails at times, see #316856, comment 5 onwards)
1675 2005-09-24 Wim Taymans <wim@fluendo.com>
1677 * docs/design/part-events.txt:
1678 * docs/design/part-gstbus.txt:
1679 * docs/design/part-gstpipeline.txt:
1680 * docs/design/part-messages.txt:
1681 * docs/design/part-overview.txt:
1682 * docs/design/part-segments.txt:
1689 * gst/gstiterator.c:
1690 Various documentation updates.
1692 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
1695 Well, that's embarassing. Luckily we weren't using
1696 GST_CLOCK_DIFF anywhere.
1698 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1700 * common/gtk-doc.mak:
1701 don't fail on building XML, FC4 slave shows a bunch of doc
1702 missing bits that I don't get
1704 * gst/gstpipeline.c:
1705 * gst/gststructure.c:
1708 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1710 * docs/design/part-gstbin.txt:
1711 * docs/design/part-gstbus.txt:
1713 Add blurb about how the bus goes into flushing mode and
1714 drops all messages when its bin goes from READY into NULL
1717 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1719 * docs/gst/gstreamer-sections.txt:
1720 * gst/gststructure.c: (gst_structure_get_clock_time):
1721 * gst/gststructure.h:
1722 add a method to get a GstClockTime out of a structure
1724 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
1726 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
1727 (test_children_state_change_order_semi_sink), (gst_bin_suite):
1728 Added test to check state change order in bins (can still be made
1729 to fail here under heavy disk load; bails out with 'Push on pad
1730 fakesink:sink0, but it was not activated in push mode').
1732 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
1733 Fix state change order when there is only a semi sink (#316856)
1735 * gst/gstbus.c: (gst_bus_class_init):
1736 Use _class_peek_parent(), not _class_ref(); fix docs to say
1737 'default main context' instead of 'mainloop' where that is
1740 * gst/gstelement.c: (gst_element_commit_state),
1741 (gst_element_set_state):
1742 Fix typos in debug messages
1744 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1747 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
1748 * gst/gstpluginfeature.c:
1751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1752 change an assert into an error until it gets fixed properly
1754 2005-09-23 Stefan Kost <ensonic@users.sf.net>
1756 * docs/gst/gstreamer-sections.txt:
1757 * docs/gst/tmpl/.cvsignore:
1758 * docs/gst/tmpl/gstelement.sgml:
1759 * docs/gst/tmpl/gstinfo.sgml:
1760 * docs/gst/tmpl/gstobject.sgml:
1765 * gst/gstobject.c: (gst_object_class_init):
1767 inlined 3 more biiiig doc files and added some missing docs on the fly
1769 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
1771 * check/gst/.cvsignore:
1772 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
1773 * gst/gstregistryxml.c: (load_plugin),
1774 (gst_registry_xml_save_plugin):
1775 put back source in registry. add checks for find_plugin.
1776 * testsuite/states/bin.c: (assert_state), (empty_bin),
1777 (test_adding_one_element), (main):
1778 * testsuite/states/locked.c: (main):
1779 some compile/run fixes
1781 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1783 * check/gst/gstvalue.c: (GST_START_TEST):
1784 fix leaks in the test itself
1786 2005-09-22 Wim Taymans <wim@fluendo.com>
1788 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1789 (gst_base_sink_send_event), (gst_base_sink_peer_query),
1790 (gst_base_sink_query):
1791 Prepare for more accurate position reporting and query
1794 * gst/gstelement.c: (gst_element_send_event),
1795 (gst_element_set_state):
1798 2005-09-22 Wim Taymans <wim@fluendo.com>
1800 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
1801 (gst_query_parse_segment):
1804 Add segment query for future use.
1806 2005-09-22 Wim Taymans <wim@fluendo.com>
1808 * gst/gstbin.c: (gst_bin_add_func):
1809 Some more debug info.
1811 * gst/gstelement.c: (gst_element_send_event):
1815 Don't know how flags got broken.
1820 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1822 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
1823 Add simplistic test suite for GST_TYPE_DATE serialisation and
1826 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
1828 * docs/gst/gstreamer-sections.txt:
1829 * gst/gststructure.c: (gst_structure_set_valist),
1830 (gst_structure_get_date):
1831 * gst/gststructure.h:
1832 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
1833 (gst_date_copy), (gst_value_compare_date),
1834 (gst_value_serialize_date), (gst_value_deserialize_date),
1835 (gst_value_transform_date_string),
1836 (gst_value_transform_string_date), (_gst_value_initialize):
1838 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
1839 bunch of utility functions along with a hack that checks that
1840 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
1841 is required. Part of the grand scheme in #170777.
1843 2005-09-22 Andy Wingo <wingo@pobox.com>
1845 * gst/gstconfig.h.in: Psych out gtk-doc.
1847 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
1849 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
1851 * tools/gst-inspect.c (print_element_list): Plug some
1852 inconsequential leaks.
1854 * gst/gstregistry.c (gst_registry_get_default): Doc.
1856 * check/gst/gstplugin.c:
1857 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
1858 * gst/gstelementfactory.c (gst_element_factory_create):
1859 * gst/gstindexfactory.c (gst_index_factory_create): Update for
1862 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
1863 (gst_plugin_feature_load): Doc, don't eat refs.
1865 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
1866 (gst_plugin_list_free): Doc.
1867 (gst_plugin_load_file): Doc updates.
1869 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
1870 accessors returning refcounted objects, return a ref.
1872 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
1873 accessor for caps. IDEMPOTENCE. Oh yes.
1875 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
1877 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
1879 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
1880 (_gst_debug_register_funcptr):
1881 Add mutex to serialise access to the hash table with
1882 the function pointer => function name string mapping;
1883 make that hash table static scope (#316809).
1885 * gst/registries/.cvsignore:
1886 Remove left-over file.
1888 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1890 * docs/pwg/appendix-porting.xml:
1891 And something about newsegment events and caps-on-buffers to
1892 the porting guide (feel free to improve).
1894 2005-09-21 Andy Wingo <wingo@pobox.com>
1896 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
1897 data and event probes on the same pad.
1898 (test_buffer_probe_once): Test that removing probes from within
1899 the probe functions works.
1901 2005-09-21 Andy Wingo <wingo@pobox.com>
1903 * check/gst/gstutils.c: New file.
1904 (test_buffer_probe_n_times): A simple buffer probe test. More to
1907 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
1908 have-data::buffer, not have-data.
1909 (gst_pad_add_event_probe): Likewise for have-data::event.
1910 (gst_pad_add_data_probe): More docs. The part about 'resolving the
1911 peer' isn't quite right yet though.
1912 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
1913 (gst_pad_remove_data_probe): Change to take the guint handler_id
1914 as their arg, not the function+data, which is more glib-like.
1916 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
1917 the signal emission to indicate if the data is a buffer or an
1919 (gst_pad_get_type): Initialize buffer and event quarks.
1920 (gst_pad_class_init): have-data is now a detailed signal, yes it
1923 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
1925 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1926 * gst/gstutils.c: (gst_util_set_value_from_string),
1927 (gst_util_set_object_arg):
1928 Don't put functional code in g_return_if_fail() or
1929 g_return_val_if_fail() statements, otherwise things will
1930 break when G_DISABLE_CHECKS is defined during compilation.
1932 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1934 * docs/gst/tmpl/.cvsignore:
1935 * docs/gst/tmpl/gstvalue.sgml:
1938 inlied another one and added some obvious docs
1940 2005-09-21 Wim Taymans <wim@fluendo.com>
1942 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1943 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
1944 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
1945 (gst_fdsrc_get_property), (gst_fdsrc_create):
1946 * gst/elements/gstfdsrc.h:
1947 Properly implement fdsrc. Removed signal and timeout,
1948 better implemented somewhere else.
1950 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1952 * docs/gst/tmpl/.cvsignore:
1953 * docs/gst/tmpl/gstimplementsinterface.sgml:
1954 * gst/gstinterface.c:
1957 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1959 * docs/gst/gstreamer-sections.txt:
1960 * docs/gst/tmpl/.cvsignore:
1961 * docs/gst/tmpl/gstenumtypes.sgml:
1962 remove obsolete doc file
1964 2005-09-21 David Schleef <ds@schleef.org>
1966 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
1967 little beer, fix a little leak.
1969 2005-09-21 Stefan Kost <ensonic@users.sf.net>
1971 * docs/gst/gstreamer-docs.sgml:
1972 * docs/gst/gstreamer-sections.txt:
1973 * docs/gst/tmpl/.cvsignore:
1978 * gst/gstindex.c: (gst_index_class_init):
1980 * gst/gstindexfactory.c: (gst_index_factory_get_type),
1981 (gst_index_factory_class_init), (gst_index_factory_init),
1982 (gst_index_factory_finalize), (gst_index_factory_new),
1983 (gst_index_factory_destroy), (gst_index_factory_find),
1984 (gst_index_factory_create), (gst_index_factory_make):
1985 * gst/gstindexfactory.h:
1986 * gst/gstpluginfeature.c:
1987 * gst/gstpluginfeature.h:
1988 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1989 more docs inlined, splitted gstindex.{c,h}
1991 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
1993 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
1996 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
1998 * gst/elements/gstfilesink.c: (gst_file_sink_init):
1999 Set sync to FALSE by default.
2001 2005-09-20 Wim Taymans <wim@fluendo.com>
2003 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2004 (gst_base_sink_init):
2005 Make sync property settable from subclass.
2007 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2008 (gst_fake_sink_change_state):
2009 Set sync to FALSE by default.
2011 2005-09-20 Wim Taymans <wim@fluendo.com>
2013 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
2014 * tools/gst-launch.c: (main):
2015 The timeout handler should have lower priority than the source
2016 so we don't timeout before popping a message with 0 timeout.
2017 Dump error messages after failed state change.
2019 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
2021 * tools/gst-inspect.c: (print_element_properties_info):
2024 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2026 * check/gst/gstevent.c:
2027 * gst/elements/gstfakesink.c:
2028 * gst/elements/gstfakesink.h:
2029 remove the sync property from fakesink.
2030 has the side effect of setting sync TRUE
2031 for fakesink, which is a change. Anyone who knows how
2032 to fix this nicely in a GObject-y way, feel free.
2034 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2036 * docs/gst/gstreamer-docs.sgml:
2037 remove probe refsection
2039 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2041 * check/Makefile.am:
2042 disable valgrinding the controller test again
2043 * docs/gst/gstreamer-sections.txt:
2044 update for api-changes
2046 2005-09-20 Wim Taymans <wim@fluendo.com>
2048 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2049 (gst_base_sink_set_property), (gst_base_sink_get_property),
2050 (gst_base_sink_do_sync):
2051 * gst/base/gstbasesink.h:
2052 Added sync property to basesink to disable clock sync.
2054 2005-09-20 Andy Wingo <wingo@pobox.com>
2056 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
2057 eating the caller's refcount.
2059 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
2060 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
2063 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
2064 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
2065 of GLib 2.8 public, so we can know which refcount to check in
2068 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
2069 (gst_object_init): Only set the gst refcount if we're going ahead
2070 with the refcount hack.
2072 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2074 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2075 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
2076 more leaks plumbed, added more debug-logging
2080 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2083 remove include of gstmemchunk.h
2085 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2087 * gst/gstclock.c: (_gst_clock_id_free):
2088 Commit from the Political Party For More Atomic CVS Commits,
2089 so that people don't waste too much of their day fishing
2090 out obvious leaks out of massive commits.
2091 Oh, and fix a pretty damn obvious leak in the memchunk
2094 2005-09-20 Stefan Kost <ensonic@users.sf.net>
2096 * check/Makefile.am:
2097 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
2098 plug mem-leak, re-add to valgrindable tests
2100 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
2103 unbreak the build for those who have chronic arthritis
2104 and typing "make check" is just too taxing on the hands
2106 2005-09-20 Andy Wingo <wingo@pobox.com>
2108 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
2109 really want it out, you should fix plugins at the same time.
2111 2005-09-19 Stefan Kost <ensonic@users.sf.net>
2114 * docs/gst/gstreamer-sections.txt:
2116 added missing symbols to api docs
2117 disable ref-count hack if we have glib >= 2.8
2119 2005-09-19 David Schleef <ds@schleef.org>
2121 * docs/gst/Makefile.am: Ignore a few more internal headers
2122 * docs/gst/gstreamer-docs.sgml: Remove old sections
2123 * docs/gst/gstreamer-sections.txt: Remove old sections
2124 * docs/gst/tmpl/gstobject.sgml: update
2125 * docs/gst/tmpl/gstplugin.sgml: update
2126 * docs/gst/tmpl/gstpluginfeature.sgml: update
2127 * docs/random/ds/0.9-suggested-changes: update.
2128 * gst/Makefile.am: remove memchunk and trashstack, since they're
2130 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
2131 * gst/gst.h: don't include some headers
2132 * gst/gstchildproxy.c: add gstmarshal.h
2133 * gst/gstclock.c: Don't use memchunks
2134 * gst/gstminiobject.c: Add some docs
2135 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
2136 * gst/gstobject.h: same
2137 * gst/gstplugin.c: include gstmacros.h
2138 * gst/gstplugin.h: don't include gstmacros.h, since it's private
2139 * gst/gstquery.c: don't use memchunks
2140 * gst/gstregistry.c: rename gst_registry_deinit()
2141 * gst/gstregistry.h: same
2143 2005-09-19 David Schleef <ds@schleef.org>
2145 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
2146 * docs/libs/gstreamer-libs-sections.txt:
2147 * docs/libs/tmpl/gstgetbits.sgml:
2148 * docs/libs/tmpl/gstputbits.sgml:
2150 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
2152 * win32/gstenumtypes.c:
2153 * win32/gstenumtypes.h:
2156 2005-09-19 Wim Taymans <wim@fluendo.com>
2158 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
2159 Automatically PAUSE and RESUME a pipeline when a flushing seek
2162 2005-09-19 Andy Wingo <wingo@pobox.com>
2164 * gst/gstregistry.h: Spacing fixen.
2166 2005-09-19 Wim Taymans <wim@fluendo.com>
2168 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
2169 Handle state change failure more correctly.
2171 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2173 * check/Makefile.am:
2174 * check/pipelines/cleanup.c: (run_pipeline):
2175 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2177 enable cleanup again after fixing the leak
2179 some more info on docs
2181 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2183 * check/Makefile.am:
2184 re-enable tests now that leaks are plugged
2186 * check/gst/gstbin.c:
2187 * check/gst/gstpipeline.c:
2188 add some more tests while fixing leaks
2190 make sure binaries are uptodate when valgrinding/gdbing
2192 * gst/gstelementfactory.c:
2193 remove a ref too many, and add a FIXME for when we get
2194 round to disposing of classes
2196 fix the refcounting when loading a plugin from a file and
2197 the code pretends that the pointer is the same even though
2198 of course it can change
2199 * gst/gstpluginfeature.c:
2200 unref plugins marked cached (a bit confusing as a name)
2201 as the docs state should be done
2202 various doc additions to explain refcounting
2203 * gst/gstregistry.c:
2204 * gst/gstregistryxml.c:
2207 2005-09-19 Wim Taymans <wim@fluendo.com>
2209 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2210 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
2211 (send_messages), (GST_START_TEST), (gstbus_suite):
2212 * check/gst/gstpipeline.c: (GST_START_TEST):
2213 * check/pipelines/cleanup.c: (run_pipeline):
2214 * check/pipelines/simple_launch_lines.c: (run_pipeline),
2216 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
2217 (gst_bus_source_check), (gst_bus_source_dispatch),
2218 (gst_bus_create_watch), (gst_bus_add_watch_full),
2219 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
2221 * tools/gst-launch.c: (event_loop):
2222 * tools/gst-md5sum.c: (event_loop):
2223 GstBusHandler -> GstBusFunc, return value has the same meaning as
2224 any other GSource (FALSE == remove source).
2225 _add_watch() and _add_watch_full() now take a MessageType mask to
2226 only handle specific types of messages.
2227 _poll() returns the GstMessage instead of the message type to avoid
2229 _have_pending() takes a MessageType mask now too.
2230 Added testsuite for multiple bus watches.
2231 Fix testsuites and applications for new bus API.
2233 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
2235 * check/Makefile.am:
2236 mark a bunch of the tests as to fix until we fix them
2238 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2241 use GST_PLUGIN settings for valgrind tests as well, so we're
2242 valgrinding the correct thing
2243 * gst/gst.c: (init_post):
2246 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2248 * gst/gst.c: (init_post), (gst_deinit):
2249 * gst/gstelementfactory.c: (gst_element_factory_class_init),
2250 (gst_element_factory_finalize), (gst_element_factory_cleanup):
2251 * gst/gstindex.c: (gst_index_factory_class_init),
2252 (gst_index_factory_finalize):
2253 * gst/gstobject.c: (gst_object_dispose):
2254 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
2255 (gst_plugin_load_file), (gst_plugin_desc_free):
2256 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
2257 (gst_plugin_feature_finalize):
2258 * gst/gstregistry.c: (gst_registry_class_init),
2259 (gst_registry_init), (gst_registry_finalize),
2260 (gst_registry_get_default), (gst_registry_deinit):
2261 * gst/gstregistry.h:
2262 * gst/gstregistryxml.c: (load_feature), (load_plugin):
2263 various cleanups and memleak plugging. make valgrind is happy now.
2265 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
2268 add a check-valgrind target
2270 2005-09-18 David Schleef <ds@schleef.org>
2272 * tools/gst-inspect.c: Revert the GOption code.
2274 2005-09-17 David Schleef <ds@schleef.org>
2276 * check/Makefile.am: Fix environment variables.
2277 * check/gst/gstplugin.c: Fix for API changes.
2278 * tools/gst-inspect.c: Fix for API changes.
2279 * tools/gst-xmlinspect.c: Fix for API changes.
2280 * gst/gstelementfactory.c:
2283 * gst/gstpluginfeature.c:
2284 * gst/gstpluginfeature.h:
2285 * gst/gstregistry.c:
2286 * gst/gstregistry.h:
2287 * gst/gstregistryxml.c:
2288 * gst/gsttypefind.c:
2289 * gst/gsttypefindfactory.c:
2290 * gst/indexers/gstfileindex.c:
2291 * gst/indexers/gstmemindex.c:
2292 * gst/schedulers/Makefile.am:
2293 Change registry to keep track of both plugins and features,
2294 removing the feature tracking from plugins themselves.
2296 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
2298 * check/Makefile.am:
2299 * tools/gst-register.1.in:
2302 2005-09-15 David Schleef <ds@schleef.org>
2304 * check/gst/gstplugin.c:
2305 * gst/gstelementfactory.c:
2307 * gst/gstpluginfeature.c:
2308 * gst/gstregistry.c:
2309 Getting tired of debugging. Disabled all the unreffing of
2310 plugins and features, which fixes the segfaults, but of
2311 course leaks like crazy. At least playbin works.
2313 2005-09-15 David Schleef <ds@schleef.org>
2315 * check/gst/gstplugin.c: (register_check_elements),
2316 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
2318 * gst/elements/gsttypefindelement.c: Fix refcounting.
2319 * gst/gsttypefind.c:
2320 * gst/gsttypefindfactory.c:
2321 * gst/gsttypefindfactory.h:
2323 2005-09-15 David Schleef <ds@schleef.org>
2325 * gst/gstindex.c: get refcounting correct.
2326 * gst/gstregistry.c: Handle the case where a feature/plugin is
2329 2005-09-15 David Schleef <ds@schleef.org>
2331 * check/Makefile.am:
2332 * check/gst/gstplugin.c: Add test
2333 * gst/gstplugin.c: Fix problems noticed by testsuite
2335 * gst/gstregistry.c:
2336 * gst/gstregistry.h:
2338 2005-09-15 David Schleef <ds@schleef.org>
2340 * gst/gstplugin.c: Implement semi-decent recounting and locking
2341 in plugins and plugin features.
2343 * gst/gstpluginfeature.c:
2344 * gst/gstpluginfeature.h:
2345 * gst/gstregistry.c:
2347 2005-09-15 Michael Smith <msmith@fluendo.com>
2349 * gst/gstregistry.c: (gst_registry_get_feature_list):
2350 Implement this. Makes oggdemux work; decodebin still broken.
2352 2005-09-14 David Schleef <ds@schleef.org>
2354 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
2356 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
2357 * gst/check/Makefile.am:
2358 * libs/gst/controller/Makefile.am:
2359 * libs/gst/dataprotocol/Makefile.am:
2361 2005-09-14 David Schleef <ds@schleef.org>
2363 * configure.ac: Remove getbits library. Nothing uses it, and
2364 it should be in something like liboil if someone did want
2366 * libs/gst/Makefile.am:
2367 * libs/gst/getbits/Makefile.am:
2368 * libs/gst/getbits/gbtest.c:
2369 * libs/gst/getbits/getbits.c:
2370 * libs/gst/getbits/getbits.h:
2371 * libs/gst/getbits/gstgetbits_generic.c:
2372 * libs/gst/getbits/gstgetbits_i386.s:
2373 * libs/gst/getbits/gstgetbits_inl.h:
2375 2005-09-14 David Schleef <ds@schleef.org>
2377 * gst/Makefile.am: Dist glib-compat.h
2379 2005-09-14 David Schleef <ds@schleef.org>
2381 * configure.ac: Remove gst/registries, since it's no longer used.
2382 * gst/registries/Makefile.am:
2383 * gst/registries/gstlibxmlregistry.c:
2384 * gst/registries/gstlibxmlregistry.h:
2385 * gst/registries/gstxmlregistry.c:
2386 * gst/registries/gstxmlregistry.h:
2387 * gst/registries/registrytest.c:
2389 2005-09-14 David Schleef <ds@schleef.org>
2391 * gst/glib-compat.h:
2392 * gst/gstregistryxml.c:
2393 Convergence is near. Seriously.
2395 2005-09-14 David Schleef <ds@schleef.org>
2397 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2398 * gst/glib-compat.h:
2399 Attempt #4 to appease the buildbots.
2401 2005-09-14 David Schleef <ds@schleef.org>
2403 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2406 2005-09-14 David Schleef <ds@schleef.org>
2408 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2411 2005-09-14 David Schleef <ds@schleef.org>
2413 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
2416 2005-09-14 David Schleef <ds@schleef.org>
2418 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
2419 * gst/glib-compat.h: Add some functions that are in newer versions
2420 of glib than we care to require.
2421 * gst/gstregistryxml.c: Use them.
2423 2005-09-14 David Schleef <ds@schleef.org>
2425 * po/POTFILES.in: remove gst-register.c
2427 2005-09-14 David Schleef <ds@schleef.org>
2429 * docs/gst/gstreamer-docs.sgml:
2430 * docs/gst/gstreamer-sections.txt:
2431 * docs/gst/gstreamer.types:
2432 * docs/gst/tmpl/gstelement.sgml:
2433 * docs/gst/tmpl/gstplugin.sgml:
2434 * docs/gst/tmpl/gstpluginfeature.sgml:
2435 Documentation updates for registry changes.
2437 2005-09-14 David Schleef <ds@schleef.org>
2439 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
2440 because we don't require glib-2.8.
2442 2005-09-14 David Schleef <ds@schleef.org>
2444 * gst/gstregistryxml.c: Added. Essentially moved out of the
2445 registries directory.
2447 2005-09-14 David Schleef <ds@schleef.org>
2449 * check/Makefile.am:
2450 * check/generic/states.c:
2454 * gst/gst_private.h:
2455 * gst/gstelementfactory.c:
2460 * gst/gstpluginfeature.c:
2461 * gst/gstpluginfeature.h:
2462 * gst/gstregistry.c:
2463 * gst/gstregistry.h:
2464 * gst/gstregistrypool.c: remove
2465 * gst/gstregistrypool.h: remove
2466 * gst/gsttypefind.c:
2467 * gst/gsttypefindfactory.c:
2469 * tools/Makefile.am:
2470 * tools/gst-compprep.c:
2471 * tools/gst-inspect.c:
2472 * tools/gst-register.c: remove
2473 * tools/gst-xmlinspect.c:
2474 Registry rewrite. Changes registry from being a file created
2475 by a tool into a simple cache file created automatically by
2476 libgstreamer. Removed gst-register (because it's no longer
2477 needed). Remove registry pools, because we only have one
2478 registry implementation (XML). Fix up other subsystems as
2481 2005-09-13 Michael Smith <msmith@fluendo.com>
2483 * gst/gstconfig.h.in:
2484 Don't Use windows linking attributes for MinGW. Fixes #316157
2486 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
2488 * gst/gstutils.c: (set_state_async_thread_func),
2489 (gst_element_set_state_async):
2490 Apparently people think it's better if this function doesn't
2491 try to set the state to whatever state was asked for on the first
2492 call to this function for any object. Seriously.
2494 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2496 * check/gst/gstpipeline.c: (GST_START_TEST):
2497 * docs/gst/gstreamer-sections.txt:
2498 * gst/gstutils.c: (set_state_async_thread_func),
2499 (gst_element_set_state_async):
2501 add a "gst_element_set_state_async" method that
2502 sets the state and starts a thread to make sure the state
2503 change completes as best as it can
2505 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2507 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
2508 codify design+behaviour in testsuite after discussion
2510 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
2512 * docs/gst/tmpl/gstelement.sgml:
2513 * docs/manual/appendix-quotes.xml:
2515 * gst/gstelement.c: (gst_element_set_state):
2518 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
2520 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2521 (gst_base_transform_prepare_output_buf),
2522 (gst_base_transform_handle_buffer):
2523 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
2524 (gst_capsfilter_prepare_buf):
2525 Remove the requirement for sub-classes to call the parent
2526 implementation of prepare_output_buffer with a wrapper function.
2529 * gst/gsttagsetter.h:
2532 2005-09-11 Stefan Kost <ensonic@users.sf.net>
2534 * docs/gst/gstreamer-sections.txt:
2537 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2539 * docs/gst/gstreamer-sections.txt:
2540 * docs/gst/tmpl/gstelement.sgml:
2541 * docs/gst/tmpl/gstplugin.sgml:
2542 * gst/gstminiobject.c:
2544 docs now stop throwing warnings
2546 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2548 * docs/gst/gstreamer-sections.txt:
2549 * docs/gst/gstreamer.types:
2550 * docs/gst/tmpl/gstpad.sgml:
2551 * docs/gst/tmpl/gsttypes.sgml:
2552 * gst/base/gstadapter.h:
2553 * gst/base/gstbasesink.h:
2554 * gst/base/gstbasesrc.h:
2564 * gst/gststructure.c:
2565 * gst/registries/gstlibxmlregistry.h:
2566 various documentation fixes
2568 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
2570 * docs/gst/gstreamer-sections.txt:
2571 * docs/gst/tmpl/gstvalue.sgml:
2572 rearrange gstvalue section
2573 * gst/gstutils.c: (gst_element_state_get_name):
2575 * gst/gstvalue.c: (_gst_value_initialize):
2579 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
2581 * check/gst-libs/controller.c:
2583 * gst/base/gstbasetransform.c:
2584 (gst_base_transform_default_prepare_buf),
2585 (gst_base_transform_handle_buffer):
2586 * gst/base/gstbasetransform.h:
2587 Some more basetransform changes and fixes to enable sub-classes
2588 that modify buffer metadata only.
2589 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2590 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
2591 (gst_capsfilter_prepare_buf):
2592 If the output pad has fixed allowed caps and input buffers
2593 don't have any, set the fixed caps on outgoing buffers.
2595 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
2596 * check/elements/identity.c: (GST_START_TEST):
2597 Make the error a little clearer when the test fails because
2598 identity made a copy of the buffer.
2599 * docs/gst/gstreamer-sections.txt:
2600 New symbols in gstbasetransform.h
2601 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
2602 (gst_base_transform_init), (gst_base_transform_transform_size),
2603 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2604 (gst_base_transform_default_prepare_buf),
2605 (gst_base_transform_get_unit_size),
2606 (gst_base_transform_buffer_alloc),
2607 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2608 (gst_base_transform_change_state),
2609 (gst_base_transform_set_passthrough),
2610 (gst_base_transform_set_in_place),
2611 (gst_base_transform_is_in_place):
2612 * gst/base/gstbasetransform.h:
2613 Change BaseTransform to separate in_place operate from same_caps
2614 output. in_place implies that the element can perform the transform
2615 on incoming buffers in-place, even if the caps on the output are
2617 Sub-class elements can now implement special buffer allocation
2618 methods for outgoing buffers if they wish to.
2619 Big documentation addition.
2620 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
2621 * gst/elements/gstelements.c:
2622 Changes for basetransform modifications.
2623 * gst/elements/Makefile.am:
2624 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
2625 Compile fix. Extra debug output.
2627 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2629 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
2631 add tests for valid pad naming
2632 * gst/check/gstcheck.c: (gst_check_log_message_func),
2633 (gst_check_log_critical_func):
2635 remove printing of code, it is fragile when the code contains
2636 % and the line number is enough info
2637 * gst/check/gstcheck.h:
2638 * gst/gstpad.c: (gst_pad_template_new):
2641 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2644 say what CHECK flags we use
2645 * docs/libs/gstreamer-libs.types:
2646 * libs/gst/controller/Makefile.am:
2647 * libs/gst/controller/gst-controller.c:
2648 * libs/gst/controller/gst-controller.h:
2649 * libs/gst/controller/gst-helper.c:
2650 * libs/gst/controller/gst-interpolation.c:
2651 * libs/gst/controller/gstcontroller.c:
2652 * libs/gst/controller/gsthelper.c:
2653 * libs/gst/controller/gstinterpolation.c:
2654 * tools/gst-inspect.c: (print_plugin_info):
2655 we don't use dashes in header names
2657 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
2659 * check/Makefile.am:
2660 * check/gst/.cvsignore:
2661 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
2662 (gst_pipeline_suite), (main):
2663 adding a test for pipelines and state changes
2664 * gst/gstutils.c: (get_state_func):
2666 * gstreamer.spec.in:
2669 2005-09-08 Michael Smith <msmith@fluendo.com>
2671 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
2672 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
2673 (gst_file_src_is_seekable), (gst_file_src_get_size),
2674 (gst_file_src_start):
2675 * gst/elements/gstfilesrc.h:
2676 Various fixes for unseekable, unmmapable, and non-normal files, so
2677 that fallback to read() rather than mmap() works.
2678 * gst/gstevent.c: (gst_event_new_newsegment):
2679 Allow newsegment events with segment_start == segment_end, as will
2680 correctly happen if you use filesrc on a zero-size file, for
2683 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2685 * gst/gstplugin.c: (gst_plugin_load_file):
2686 Call g_module_close when we don't load the module
2688 * gst/registries/gstlibxmlregistry.c:
2689 (gst_xml_registry_get_property):
2690 Port leak fix from 0.8
2692 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2694 * docs/gst/gstreamer-docs.sgml:
2695 * docs/gst/tmpl/.cvsignore:
2696 * docs/gst/tmpl/gsttrace.sgml:
2697 * docs/gst/tmpl/gsttrashstack.sgml:
2706 * gst/gsttaginterface.c:
2707 * gst/gsttaginterface.h:
2710 * gst/gsttagsetter.c:
2711 * gst/gsttagsetter.h:
2714 * gst/gsttrashstack.c:
2715 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
2716 inlined docs for gsttrace, gsttrashstack
2718 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2721 * gst/elements/gstbufferstore.h:
2722 * gst/elements/gsttypefindelement.c:
2723 * gst/elements/gsttypefindelement.h:
2725 * gst/gsttypefind.c:
2726 * gst/gsttypefind.h:
2727 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
2728 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
2729 (gst_type_find_factory_dispose),
2730 (gst_type_find_factory_unload_thyself),
2731 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
2732 (gst_type_find_factory_get_caps),
2733 (gst_type_find_factory_get_extensions),
2734 (gst_type_find_factory_call_function):
2735 * gst/gsttypefindfactory.h:
2736 * gst/registries/gstlibxmlregistry.c:
2737 * gst/registries/gstxmlregistry.c:
2738 splitted gsttypefind into gsttypefind, gsttypefindfactory
2740 2005-09-07 Andy Wingo <wingo@pobox.com>
2742 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
2743 condition whereby the pad's task function is entered before the
2744 pad_mode variable was set.
2746 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
2748 * gst/gstpad.c: (gst_pad_alloc_buffer):
2749 Catch misbehaving pad_alloc functions that don't
2750 set up caps and do it for them.
2752 2005-09-07 Stefan Kost <ensonic@users.sf.net>
2754 * check/pipelines/simple_launch_lines.c: (run_pipeline):
2756 * docs/gst/tmpl/.cvsignore:
2757 * docs/gst/tmpl/gstmemchunk.sgml:
2758 * docs/gst/tmpl/gstparse.sgml:
2759 * docs/gst/tmpl/gsttaglist.sgml:
2760 * docs/gst/tmpl/gsttagsetter.sgml:
2761 * docs/gst/tmpl/gsttypefind.sgml:
2762 * docs/gst/tmpl/gsttypefindfactory.sgml:
2763 * gst/gstmemchunk.c:
2766 * gst/gsttaginterface.c:
2767 * gst/gsttypefind.c:
2768 * gst/gsttypefind.h:
2771 === release 0.9.2 ===
2773 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
2778 releasing 0.9.2, "South"
2780 2005-09-05 Andy Wingo <wingo@pobox.com>
2782 * gst/registries/gstxmlregistry.h:
2783 * gst/registries/gstxmlregistry.c: Um... resurrect...
2785 * gst/registries/gstxmlregistry.h:
2786 * gst/registries/gstxmlregistry.c: and update to newer API.
2787 Incidentally they should be a bit faster now that they don't have
2790 2005-09-05 Andy Wingo <wingo@pobox.com>
2792 * gst/registries/gstxmlregistry.h:
2793 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
2794 replaced by the libxml registry a while back
2796 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2798 * docs/gst/tmpl/gstplugin.sgml:
2799 * gst/elements/gstelements.c:
2801 * gst/gstplugin.c: (gst_plugin_register_func),
2802 (gst_plugin_desc_copy), (gst_plugin_desc_free),
2803 (gst_plugin_get_source):
2805 * gst/registries/gstlibxmlregistry.c: (load_plugin),
2806 (gst_xml_registry_save_plugin):
2807 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
2808 (gst_xml_registry_save_plugin):
2809 * tools/gst-inspect.c: (print_plugin_info):
2810 add a "source" plugin description field, to represent the source
2811 module this plugin is a part of. By default GST_PLUGIN_DEFINE
2812 will set it to PACKAGE, which is automake's idea of the name of
2815 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
2821 * docs/faq/Makefile.am:
2822 * docs/gst/tmpl/gstelement.sgml:
2823 * docs/gst/tmpl/gsttypes.sgml:
2824 * docs/htmlinstall.mak:
2825 * docs/manual/Makefile.am:
2826 * docs/pwg/Makefile.am:
2827 reorganize doc build a little
2828 split out docbook and gtk-doc stuff
2829 have two separate --enable's and enable them through autogen
2830 but disable by default in configure (to be similar to other
2832 * gstreamer.spec.in:
2833 clean up docs install
2853 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
2855 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
2858 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
2859 (gst_fake_sink_change_state):
2860 Make state change function thread-safe.
2862 * gst/gstpad.c: (gst_pad_alloc_buffer):
2863 Set offset on generic buffer allocated by fallback.
2865 2005-09-03 Stefan Kost <ensonic@users.sf.net>
2867 * docs/gst/gstreamer-sections.txt:
2868 * docs/gst/tmpl/gstelement.sgml:
2870 * libs/gst/controller/gst-controller.c:
2871 (gst_controlled_property_set_interpolation_mode),
2872 (gst_controlled_property_new),
2873 (gst_controller_find_controlled_property):
2874 run the wingo-magic script against the docs
2876 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2878 * docs/gst/gstreamer-docs.sgml:
2879 * docs/gst/gstreamer-sections.txt:
2880 * docs/gst/tmpl/.cvsignore:
2881 * docs/gst/tmpl/gstelementdetails.sgml:
2882 * docs/gst/tmpl/gstelementfactory.sgml:
2885 * gst/gstelementfactory.c:
2886 * gst/gstelementfactory.h:
2887 merged elementdetails docs into elementfactory docs
2890 2005-09-02 Andy Wingo <wingo@pobox.com>
2892 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
2893 consider this enum an enum and not a flags.
2895 2005-09-02 Stefan Kost <ensonic@users.sf.net>
2897 * docs/gst/gstreamer-docs.sgml:
2898 * docs/gst/tmpl/.cvsignore:
2899 * docs/gst/tmpl/gstghostpad.sgml:
2900 * docs/gst/tmpl/gstiterator.sgml:
2901 * docs/gst/tmpl/gstmacros.sgml:
2902 * docs/gst/tmpl/gstrealpad.sgml:
2903 * docs/gst/tmpl/gstregistry.sgml:
2904 * docs/gst/tmpl/gstregistrypool.sgml:
2905 * docs/gst/tmpl/gststructure.sgml:
2906 * docs/gst/tmpl/gstsystemclock.sgml:
2907 * docs/gst/tmpl/gsttrace.sgml:
2908 * gst/gstghostpad.c:
2910 * gst/gstmemchunk.c:
2911 * gst/gstmemchunk.h:
2913 * gst/gstregistry.c:
2914 * gst/gstregistrypool.c:
2915 * gst/gststructure.c:
2916 * gst/gstsystemclock.c:
2919 2005-09-02 Andy Wingo <wingo@pobox.com>
2921 * gst/gstelement.h (GstState): Renamed from GstElementState,
2922 changed to be a normal enum instead of flags.
2923 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
2924 munged to be GST_STATE_CHANGE_*.
2925 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
2926 work with the new state representation.
2927 (GstStateChange): New enumeration of possible state transitions.
2928 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
2929 (GstElementClass::change_state): Pass the GstStateChange along as
2930 an argument. Helps language bindings, so they don't have to use
2931 tricky lock-needing macros like GST_STATE_CHANGE ().
2933 * scripts/update-states (file): New script. Run it on a file to
2934 update it for state naming and API changes. Updates files in
2937 * All files updated for the new API.
2939 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
2941 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
2942 * gst/gstutils.c: (gst_util_set_value_from_string),
2943 (gst_util_set_object_arg):
2944 fix a bunch of unchecked return values
2945 * tools/gst-complete.c: (main):
2946 * gstreamer.spec.in:
2949 2005-09-01 Wim Taymans <wim@fluendo.com>
2951 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2952 (gst_base_sink_event), (gst_base_sink_do_sync),
2953 (gst_base_sink_handle_event):
2954 * gst/base/gstbasesink.h:
2955 Handle newsegments more correctly.
2960 * gst/gstevent.c: (gst_event_new_newsegment):
2961 A newsegment cannot have a start_time of -1
2963 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
2965 * win32/gstenumtypes.c:
2966 * win32/gstenumtypes.h:
2969 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2971 * libs/gst/controller/gst-controller.c:
2972 (gst_controlled_property_set_interpolation_mode),
2973 (gst_controlled_property_new):
2976 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
2978 * docs/faq/gst-uninstalled:
2983 * gst/gstutils.c: (gst_element_link_filtered):
2985 add gst_element_link_filtered
2987 2005-08-31 Stefan Kost <ensonic@users.sf.net>
2989 * docs/gst/gstreamer-docs.sgml:
2990 * docs/gst/gstreamer-sections.txt:
2991 * docs/gst/tmpl/.cvsignore:
2992 * docs/gst/tmpl/gsterror.sgml:
2993 * docs/gst/tmpl/gstfilter.sgml:
2994 * docs/gst/tmpl/gsturihandler.sgml:
2995 * docs/gst/tmpl/gsturitype.sgml:
2996 * docs/gst/tmpl/gstutils.sgml:
2997 * docs/gst/tmpl/gstxml.sgml:
3005 inlined more docs, fixed double id-ref
3007 2005-08-31 Wim Taymans <wim@fluendo.com>
3009 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3010 (gst_base_transform_handle_buffer):
3011 Passthrough elements don't need the caps as they don't care.
3013 2005-08-31 Wim Taymans <wim@fluendo.com>
3015 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
3016 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
3017 Don't leak refcounts on buffers.
3019 2005-08-31 Wim Taymans <wim@fluendo.com>
3021 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
3022 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
3023 (gst_base_transform_chain), (gst_base_transform_change_state):
3024 * gst/base/gstbasetransform.h:
3025 Handle the case where we are not negotiated more gracefully.
3027 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
3029 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
3030 (gst_file_src_map_region):
3031 Set READONLY flag on mmap'ed buffers, otherwise
3032 gst_buffer_make_writable() won't work properly (#314708).
3034 2005-08-31 Wim Taymans <wim@fluendo.com>
3036 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
3037 passthrough elements can even do inplace on non writable
3038 buffers (as they don't touch them).
3040 2005-08-31 Stefan Kost <ensonic@users.sf.net>
3042 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
3043 (gst_test_mono_source_set_property),
3044 (gst_test_mono_source_class_init), (GST_START_TEST),
3045 (gst_controller_suite):
3046 more tests (hehe I have the most)
3048 describe popping messages whenusing mulltiple sources
3049 * libs/gst/controller/gst-controller.c:
3050 (gst_controlled_property_set_interpolation_mode),
3051 (gst_controlled_property_new):
3052 * libs/gst/controller/gst-controller.h:
3053 * libs/gst/controller/gst-interpolation.c:
3054 implement boolean properties
3056 2005-08-31 Wim Taymans <wim@fluendo.com>
3058 * gst/gstminiobject.c: (gst_mini_object_ref):
3059 Cannot assert that the refcount has to be positive
3060 since a disposed object can be resurrected.
3062 2005-08-31 Wim Taymans <wim@fluendo.com>
3064 * gst/gstpad.c: (gst_pad_init):
3065 Revert change, need to first fix badly behaving
3068 2005-08-30 Wim Taymans <wim@fluendo.com>
3070 * check/elements/fakesrc.c: (setup_fakesrc):
3071 * check/elements/identity.c: (setup_identity):
3072 Activate pads before using them.
3074 2005-08-30 Wim Taymans <wim@fluendo.com>
3076 * gst/base/gstadapter.c: (gst_adapter_flush):
3077 Flushing out 0 bytes is ok for this function.
3079 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3080 no newsegment gives a warning and sets the start/stop to
3083 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
3084 (gst_base_transform_set_passthrough):
3087 * gst/gstminiobject.c: (gst_mini_object_ref):
3088 Check refcount here too.
3090 * gst/gstpad.c: (gst_pad_init):
3091 Pads are initially flushing and refusing data.
3093 * gst/gstutils.c: (gst_element_link_pads_filtered):
3094 When adding a capsfilter element make sure it has the
3095 same state as the parent bin.
3097 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3099 * docs/gst/tmpl/.cvsignore:
3100 * docs/gst/tmpl/gstformat.sgml:
3101 * docs/gst/tmpl/gstversion.sgml:
3105 * gst/gstversion.h.in:
3106 more docs and two more inlined
3108 2005-08-30 Wim Taymans <wim@fluendo.com>
3110 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
3111 Don't sync to clock.
3113 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3115 * docs/gst/gstreamer-sections.txt:
3116 ultral33t func10ns deserve to appear in the docs actually
3117 * docs/gst/tmpl/.cvsignore:
3118 * docs/gst/tmpl/gstcompat.sgml:
3119 * docs/gst/tmpl/gstconfig.sgml:
3120 * gst/check/gstcheck.c:
3122 * gst/gstconfig.h.in:
3125 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3127 * docs/gst/tmpl/.cvsignore:
3128 * docs/gst/tmpl/gstquery.sgml:
3129 * docs/gst/tmpl/gstutils.sgml:
3132 inlined and extended docs
3134 2005-08-30 Stefan Kost <ensonic@users.sf.net>
3136 * check/gst-libs/controller.c: (GST_START_TEST),
3137 (gst_controller_suite):
3139 * docs/gst/tmpl/gstutils.sgml:
3140 * docs/libs/gstreamer-libs-sections.txt:
3141 * docs/libs/tmpl/gstdataprotocol.sgml:
3143 * examples/controller/audio-example.c: (main):
3144 controller example works now
3147 * tools/gst-inspect.c: (print_element_properties_info):
3148 show param spec flags
3150 2005-08-29 Andy Wingo <wingo@pobox.com>
3152 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
3154 2005-08-28 Andy Wingo <wingo@pobox.com>
3156 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
3157 as having two arguments instead of just one. Allows superclasses
3158 to access information on subclasses -- see the terrible for() loop
3159 in gtype.c:g_type_create_instance for the reason why. All callers
3162 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3164 * docs/design/part-messages.txt:
3166 * docs/gst/tmpl/.cvsignore:
3167 * docs/gst/tmpl/gstcaps.sgml:
3168 * docs/gst/tmpl/gstclock.sgml:
3175 added descriptions for bus and message
3176 inline caps and clock docs
3178 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3184 2005-08-27 Stefan Kost <ensonic@users.sf.net>
3186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
3189 2005-08-26 Andy Wingo <wingo@pobox.com>
3191 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
3192 element_set_state's return val.
3193 (test_2_elements): Add test that's been disabled for months.
3195 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
3196 can-activate-pull properties.
3198 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
3199 can-activate-pull properties. Implement is_seekable so fakesrc can
3200 operate in pull mode.
3202 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
3204 (gst_base_sink_activate, gst_base_sink_activate_pull)
3205 (gst_base_sink_activate_push): Make activation mode choosing work.
3207 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
3208 is right. Make pull mode work. Post an eos before pausing in pull
3210 (gst_base_sink_change_state): Pay attention to the core's
3211 change_state() return val.
3213 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
3214 has-getrange properties. Cleanups.
3216 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
3217 has_getrange and replace with can_activate_pull and
3220 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
3221 locking comments. Remove has_loop, has_chain and replace with
3222 can_activate_pull and can_activate_push.
3224 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
3227 * examples/Makefile.am:
3228 * examples/metadata/Makefile.am:
3229 * examples/metadata/read-metadata.c: (message_loop),
3230 (have_pad_handler), (make_pipeline), (print_tag), (main):
3231 Add metadata reading example that loops over a list of filenames,
3232 dumping any tags found.
3234 * gst/gstbus.c: (gst_bus_dispose):
3235 * gst/gstelement.c: (gst_element_dispose):
3236 Release a few potentially-held references in dispose.
3238 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3240 * docs/gst/tmpl/gstminiobject.sgml:
3241 do *not* add tmpl/*.sgml files to CVS!
3243 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3245 * libs/gst/bytestream/.cvsignore:
3246 * libs/gst/bytestream/Makefile.am:
3247 * libs/gst/bytestream/adapter.c:
3248 * libs/gst/bytestream/adapter.h:
3249 * libs/gst/bytestream/bytestream.c:
3250 * libs/gst/bytestream/bytestream.h:
3251 * libs/gst/bytestream/filepad.c:
3252 * libs/gst/bytestream/filepad.h:
3253 removing obsolete files
3255 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3257 * docs/gst/gstreamer-docs.sgml:
3258 * docs/libs/gstreamer-libs-docs.sgml:
3259 disabed additional index entries again, as this makes docs-gen just
3260 slow and they aren't useful yet
3261 * docs/libs/gstreamer-libs-sections.txt:
3262 little -section.txt cleanup for libs
3264 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
3266 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3267 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
3268 fix up some debugging
3269 (gst_base_transform_get_unit_size),
3270 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3271 (gst_base_transform_handle_buffer):
3272 * gst/base/gstbasetransform.h:
3273 handle and store timed NEWSEGMENT events so that subclasses that
3274 calculate time by counting samples have a segment_start time they
3275 need to add to their timestamps - see audioresample
3277 2005-08-26 Stefan Kost <ensonic@users.sf.net>
3280 removed ';' from the end of macro defs
3281 * docs/gst/gstreamer-docs.sgml:
3282 * docs/gst/gstreamer-sections.txt:
3283 * docs/gst/tmpl/.cvsignore:
3285 * gst/gstelement.c: (gst_element_class_init),
3286 (gst_element_set_state), (activate_pads),
3287 (gst_element_save_thyself):
3288 * gst/gstevent.c: (gst_event_new_newsegment):
3290 * gst/gstiterator.c:
3291 * gst/gstiterator.h:
3294 * gst/gstutils.c: (gst_pad_query_convert):
3296 fixed parameter name mismatches between source, header and docs
3297 added some more docs, resolved the last batch of unused elements in
3298 docs (now someone needs to doc them)
3300 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3302 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
3303 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
3304 don't walk through the plugins backwards. Where is all this
3305 reversed logic coming from ?
3307 2005-08-25 Wim Taymans <wim@fluendo.com>
3309 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3310 (gst_base_transform_transform_size),
3311 (gst_base_transform_configure_caps),
3312 (gst_base_transform_get_unit_size),
3313 (gst_base_transform_buffer_alloc),
3314 (gst_base_transform_change_state):
3315 * gst/base/gstbasetransform.h:
3316 Cache caps unit_size.
3317 Make sure we cannot negotiate up and downstream at the
3320 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3322 * gst/gst.c: (init_pre), (init_post):
3323 register the installed plugin path after the env var
3324 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
3325 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
3326 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
3327 directories, so the tests can prefer uninstalled over installed
3329 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
3331 * gst/base/gstbasetransform.h:
3336 2005-08-25 Wim Taymans <wim@fluendo.com>
3338 * gst/gstbin.c: (bin_bus_handler):
3339 Be a bit more conservative about the posted message.
3341 * gst/gstbus.c: (gst_bus_post):
3342 Some cleanups, warn wrong return values.
3344 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
3346 * check/gst/gstbin.c: (GST_START_TEST):
3347 * gst/gstbin.c: (bin_bus_handler):
3348 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3349 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3350 (gst_message_new_warning), (gst_message_new_tag),
3351 (gst_message_new_state_changed), (gst_message_new_segment_start),
3352 (gst_message_new_segment_done), (gst_message_new_custom):
3354 * tools/gst-launch.c: (event_loop):
3355 * tools/gst-md5sum.c: (event_loop):
3356 Revert unpopular change for GST_MESSAGE_SRC to GObject.
3358 2005-08-25 Wim Taymans <wim@fluendo.com>
3360 * check/generic/states.c: (GST_START_TEST):
3361 Cleanup can be done at the end.
3363 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
3364 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3365 (gst_task_get_state), (gst_task_start), (gst_task_pause):
3366 Oh boy.. Thanks for finding this, Thomas.
3368 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3370 * docs/gst/gstreamer.types:
3373 2005-08-25 Stefan Kost <ensonic@users.sf.net>
3375 * docs/gst/gstreamer-docs.sgml:
3376 * docs/gst/gstreamer-sections.txt:
3377 * docs/gst/tmpl/.cvsignore:
3379 * gst/gstiterator.c:
3381 * gst/registries/gstxmlregistry.h:
3382 added missing classes and symbols (123 more to go)
3383 removed removed symbols from section file
3384 fixed many doc-comments
3386 2005-08-24 Wim Taymans <wim@fluendo.com>
3388 * check/generic/states.c: (GST_START_TEST):
3389 Make sure all tasks are stopped.
3391 * check/gst/gstbin.c: (GST_START_TEST):
3392 Unref after usage for proper valgrinding.
3394 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
3395 Really wait for the task to stop before destroying the
3398 * gst/gstqueue.c: (gst_queue_sink_activate_push),
3399 (gst_queue_src_activate_push):
3400 Small cleanups. Don't stop the task when we did not start
3403 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
3404 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
3405 (gst_task_get_state), (gst_task_start), (gst_task_pause),
3408 Protect the stream lock with the object lock.
3409 Disallow setting the stream lock when running.
3410 Add cleanup_all to wait for the threadpool to finish.
3411 Remove code to autoallocate a mutex if none was provided.
3412 Add _join() to wait for a task to stop.
3413 Protect the thread pool with a global lock.
3415 2005-08-24 Wim Taymans <wim@fluendo.com>
3417 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3418 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3419 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
3420 * gst/base/gstbasesink.h:
3421 Handle newsegment events correctly.
3422 Drop buffers out of the segment range.
3424 2005-08-22 Andy Wingo <wingo@pobox.com>
3426 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
3427 macro, implements an interface and gstimplementsinterface for a
3430 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3432 * check/Makefile.am:
3433 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
3434 add a test that does a bunch of state changes on elements
3435 needs some fixing for valgrind
3436 * check/states/sinks.c: (gst_object_suite):
3439 add prototype for gst_caps_is_equal_fixed
3441 * gst/gstregistrypool.c:
3444 2005-08-24 Andy Wingo <wingo@pobox.com>
3446 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
3447 convert a negative value. Doesn't make much sense. Mostly this is
3448 here to force callers to ensure -1 maps to -1.
3450 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3452 * docs/pwg/advanced-types.xml:
3453 Well done to Michael for catching my deliberate introduction
3454 of this spelling mistake.
3455 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
3457 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
3458 unlink pads before removing the element from the bin.
3460 2005-08-24 Andy Wingo <wingo@pobox.com>
3462 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
3463 the same thing as GST_DEBUG=*:4.
3464 (parse_debug_level, parse_debug_category): New helper parsers.
3466 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
3468 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3469 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
3470 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
3471 (gst_base_transform_buffer_alloc),
3472 (gst_base_transform_handle_buffer):
3473 use gboolean return values and pointers to size so we can use the
3474 full GST_BUFFER_SIZE range (guint) for buffer sizes
3475 use GstPadDirection for transform_caps
3476 * gst/base/gstbasetransform.h:
3477 rename get_size to get_unit_size since that's what it is
3478 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
3479 use GstPadDirection for transform_caps
3480 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3482 cleanup and debugging
3484 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3486 * gst/gstelement.c: (gst_element_class_init),
3487 (gst_element_set_state), (activate_pads),
3488 (gst_element_save_thyself):
3489 * tools/gst-compprep.c: (main):
3490 * tools/gst-inspect.c: (print_element_properties_info):
3491 * tools/gst-xmlinspect.c: (print_element_properties):
3492 Fixed long standing mem-leak
3494 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
3496 * check/gst/gstbin.c: (GST_START_TEST):
3497 * gst/gstbin.c: (bin_bus_handler):
3498 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
3499 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
3500 (gst_message_new_warning), (gst_message_new_tag),
3501 (gst_message_new_state_changed), (gst_message_new_segment_start),
3502 (gst_message_new_segment_done), (gst_message_new_custom):
3504 * tools/gst-launch.c: (event_loop):
3505 * tools/gst-md5sum.c: (event_loop):
3506 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
3507 that applications can sensibly post custom messages with references
3508 to their own objects.
3510 2005-08-24 Andy Wingo <wingo@pobox.com>
3512 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
3515 2005-08-24 Wim Taymans <wim@fluendo.com>
3517 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3518 (gst_base_transform_transform_caps),
3519 (gst_base_transform_transform_size),
3520 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3521 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3522 (gst_base_transform_handle_buffer):
3523 * gst/base/gstbasetransform.h:
3524 Many fixes and new features added by Thomas. Can now also do
3525 transforms with variable sizes and a custom fixate_caps function.
3527 2005-08-24 Wim Taymans <wim@fluendo.com>
3529 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3533 Cast to ClockTime before formatting to time.
3538 2005-08-24 Stefan Kost <ensonic@users.sf.net>
3540 * check/gst-libs/controller.c: (GST_START_TEST),
3541 (gst_controller_suite):
3542 * docs/gst/tmpl/gstcaps.sgml:
3543 * docs/gst/tmpl/gstghostpad.sgml:
3544 * docs/gst/tmpl/gstquery.sgml:
3545 * docs/gst/tmpl/gstutils.sgml:
3546 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
3547 (gst_object_sink_values), (gst_object_get_value_arrays),
3548 (gst_object_get_value_array):
3549 gracefully handle helper method calls to objects that are not beeing
3550 controlled, added test case for that
3552 2005-08-23 Wim Taymans <wim@fluendo.com>
3554 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
3555 (gst_event_new_newsegment), (gst_event_parse_newsegment),
3556 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
3557 (gst_event_parse_qos), (gst_event_new_seek),
3558 (gst_event_parse_seek):
3560 Some more debugging output and doc cleanups.
3562 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3563 Fix possible deadlock.
3565 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3567 * docs/gst/gstreamer-docs.sgml:
3568 * docs/gst/gstreamer-sections.txt:
3569 * docs/gst/gstreamer.types:
3570 * docs/gst/tmpl/.cvsignore:
3575 added 100 symbols from gstreamer-unused.txt to the right sections
3576 fixed more broken comments
3577 added GstBus to docs
3579 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3581 * docs/gst/gstreamer-sections.txt:
3582 * docs/gst/tmpl/.cvsignore:
3583 * docs/gst/tmpl/gstbin.sgml:
3584 * docs/gst/tmpl/gstbuffer.sgml:
3585 * gst/base/gstbasesrc.c:
3586 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
3589 * tools/gst-launch.1.in:
3590 inlined more doc comments, added missing comments and fixed comments
3593 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
3595 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
3599 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
3601 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
3602 * gst/gststructure.h:
3603 add a fixate function for booleans; add a FIXME that these func
3604 names should probably be gst_structure_fixate_*
3606 2005-08-23 Stefan Kost <ensonic@users.sf.net>
3608 * docs/gst/gstreamer-docs.sgml:
3609 * docs/gst/gstreamer-sections.txt:
3611 * gst/gstbin.c: (gst_bin_get_type),
3612 (gst_bin_child_proxy_get_child_by_index),
3613 (gst_bin_child_proxy_get_children_count),
3614 (gst_bin_child_proxy_init):
3615 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
3616 (gst_child_proxy_get_child_by_index),
3617 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
3618 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
3619 (gst_child_proxy_get), (gst_child_proxy_set_property),
3620 (gst_child_proxy_set_valist), (gst_child_proxy_set),
3621 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
3622 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
3623 * gst/gstchildproxy.h:
3624 * gst/parse/grammar.y:
3625 * tools/gst-inspect.c: (print_interfaces),
3626 (print_element_properties_info), (print_element_info):
3627 ported gstchildproxy over from 0.8
3628 ported gst-inspect fixes and enhancements over from 0.8
3630 2005-08-22 Wim Taymans <wim@fluendo.com>
3632 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3633 (gst_base_transform_handle_buffer):
3634 Also call the transform function if we have ANY caps.
3636 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
3639 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3641 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
3642 Don't pretend to handle seek events if the source is not seekable
3644 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
3646 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3647 Remove extra parameter to debug output
3649 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3650 (gst_base_src_do_seek), (gst_base_src_activate_push):
3651 Fix seek event handling.
3653 * gst/gstpipeline.c: (gst_pipeline_change_state):
3654 * gst/gstqueue.c: (gst_queue_handle_sink_event),
3655 (gst_queue_src_activate_push):
3656 Don't start the src pad task on FLUSH_STOP if the pad
3660 2005-08-22 Wim Taymans <wim@fluendo.com>
3662 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
3663 Added check for gst_static_caps_get() refcounting.
3665 2005-08-22 Wim Taymans <wim@fluendo.com>
3667 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
3668 Make _static_caps_get() refcounting sane.
3670 * gst/gstelement.c: (gst_element_set_state):
3671 Add g_return_val_if_fail() to protect against segfaults.
3673 2005-08-22 Stefan Kost <ensonic@users.sf.net>
3675 * docs/gst/tmpl/gstevent.sgml:
3678 inlined remaining docs, added missing doc comments
3680 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
3682 * check/gst/gstbin.c: (GST_START_TEST):
3683 since we don't know when preroll is done, use refcount range
3685 * gst/check/gstcheck.h:
3686 add macro for checking refcount range
3688 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3690 * check/Makefile.am:
3691 clean up environment for when registry gets built versus
3692 when actual tests are run; valgrind seems to not report
3693 leaks if GST_PLUGIN_PATH is set to some specific values
3694 * check/gst/gstbin.c: (GST_START_TEST):
3695 add more refcounting checks; maybe this exposes a
3698 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3699 * gst/check/gstcheck.h:
3700 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
3701 (gst_bin_change_state):
3702 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
3703 add/fix debugging/whitespace
3705 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3707 * check/gst/gstevent.c: (event_probe), (test_event),
3709 Er, don't call gst_bin_watch_for_state_change you idiot.
3711 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
3713 * check/Makefile.am:
3714 Use CHECK_CFLAGS and CHECK_LIBS
3715 * check/gst/gstevent.c: (event_probe), (test_event),
3718 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3719 (gst_base_src_start), (gst_base_src_stop),
3720 (gst_base_src_activate_push), (gst_base_src_activate_pull),
3721 (gst_base_src_change_state):
3722 Sprinkle gst_base_src_stop liberally around error paths to fix
3723 problems reusing a source after failed state changes.
3724 * gst/base/gsttypefindhelper.c: (helper_find_peek),
3725 (helper_find_suggest), (gst_type_find_helper):
3726 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
3728 * docs/gst/tmpl/gstevent.sgml:
3729 Migrate part of the docs from the SGML file. Wait for ensonic to
3730 tell me how I did it wrong ;)
3731 * tools/gst-typefind.c: (main):
3732 Extra robustness to state changes between files.
3734 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
3736 * check/Makefile.am:
3737 don't valgrind the controller test - it's leaking - Stefan, HELP
3738 * gst/check/gstcheck.c: (gst_check_message_error),
3739 (gst_check_chain_func), (gst_check_setup_element),
3740 (gst_check_teardown_element), (gst_check_setup_src_pad),
3741 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
3742 (gst_check_teardown_sink_pad):
3743 * gst/check/gstcheck.h:
3744 add a bunch of methods to set up elements, and src and sink pads
3745 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
3746 * check/elements/identity.c: (setup_identity), (cleanup_identity),
3751 whitespace/doc fixes
3753 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3756 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
3757 be handled by the application and not always printed as well
3759 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3761 * check/Makefile.am:
3763 * gst/check/gstcheck.c: (gst_check_message_error):
3764 * gst/check/gstcheck.h:
3765 add a fail_unless_equals_int
3766 add fail_unless for error messages
3768 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3770 * check/Makefile.am:
3772 * common/Makefile.am:
3775 factor out some of the common stuff so we can use it
3777 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3779 * check/Makefile.am:
3780 * check/gst/gstiterator.c: (GST_START_TEST):
3781 * check/gst/gstsystemclock.c: (GST_START_TEST),
3782 (gst_systemclock_suite):
3783 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3787 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
3789 * check/elements/.cvsignore:
3790 * check/elements/gstfakesrc.c:
3791 rename to name of element
3792 * check/elements/identity.c: (chain_func), (event_func),
3793 (setup_identity), (cleanup_identity), (GST_START_TEST),
3794 (identity_suite), (main):
3795 add a test for identity
3796 * check/Makefile.am:
3797 * pkgconfig/Makefile.am:
3798 * pkgconfig/gstreamer-check.pc.in:
3799 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3803 move the check stuff to a library that gets installed
3804 * check/gst-libs/controller.c: (GST_START_TEST):
3805 * check/gst-libs/gdp.c:
3806 * check/gst/gst.c: (GST_START_TEST):
3807 * check/gst/gstbin.c:
3808 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3809 * check/gst/gstbus.c:
3810 * check/gst/gstcaps.c: (GST_START_TEST):
3811 * check/gst/gstelement.c:
3812 * check/gst/gstghostpad.c:
3813 * check/gst/gstiterator.c:
3814 * check/gst/gstmessage.c:
3815 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
3816 * check/gst/gstobject.c:
3817 * check/gst/gstpad.c: (GST_START_TEST):
3818 * check/gst/gststructure.c: (GST_START_TEST):
3819 * check/gst/gstsystemclock.c: (GST_START_TEST),
3820 (gst_systemclock_suite):
3821 * check/gst/gsttag.c: (gst_tag_suite):
3822 * check/gst/gstvalue.c:
3823 * check/pipelines/cleanup.c:
3824 * check/pipelines/simple_launch_lines.c:
3825 * check/states/sinks.c:
3826 change include statement
3828 * docs/gst/gstreamer-sections.txt:
3829 * docs/gst/tmpl/gstpad.sgml:
3830 document more pad stuff
3831 * gst/gstminiobject.c: (gst_mini_object_ref),
3832 (gst_mini_object_unref):
3835 2005-08-19 Stefan Kost <ensonic@users.sf.net>
3837 * docs/gst/tmpl/gst.sgml:
3839 eliminate another tmpl file, fix spelling in the long-description
3841 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3843 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3844 (test_event), (timediff), (gstevents_suite):
3845 Should fix build on 64-bit arch's
3847 2005-08-18 Andy Wingo <wingo@pobox.com>
3849 Make sure that when a pipeline goes to PLAYING, that data has
3850 actually hit the sink.
3852 * check/states/sinks.c (test_sink): A sink that doesn't get any
3853 data shouldn't return SUCCESS for going to either PLAYING or
3854 PAUSED. Test also the return values on the way back down.
3856 * gst/gstelement.c (gst_element_set_state): When changing the
3857 state of an element currently changing state asynchronously, go to
3858 lost-state after commiting the pending state. Makes future calls
3859 to get_state continue to return ASYNC.
3861 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
3862 ASYNC when going to PLAYING if we still don't have preroll, as can
3863 happen with live sources.
3865 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3867 * docs/pwg/advanced-types.xml:
3868 Hack long paragraph into 2 chunks as a workaround for buggy
3869 jadetex version in sid and breezy that loops infinitely and
3872 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3874 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3875 (test_event), (timediff), (gstevents_suite):
3876 Provide more error margin in clock measurements to allow for
3877 g_get_current_time inaccuracies.
3879 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3881 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3882 (test_event), (timediff), (gstevents_suite):
3883 Fix error message output so I might be able to tell why the
3884 test works here but fails on the build farm.
3886 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
3888 * check/Makefile.am:
3889 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
3890 (test_event), (timediff), (gstevents_suite), (main):
3893 * docs/design/part-seeking.txt:
3896 * docs/gst/tmpl/gstevent.sgml:
3897 * docs/gst/tmpl/gstfakesrc.sgml:
3900 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3901 Treat a buffer-without-newsegment the same as a receiving
3902 a newsegment not in time format, and disable syncing to the clock
3905 * gst/gstbus.c: (gst_bus_set_sync_handler):
3906 Assert if anyone tries to replace the existing sync_handler for bus,
3907 as only the owner should be setting it.
3910 Have a fixed set of custom event enums with events identified by
3911 their structure name (as in 0.8), rather than a free-for-all
3912 allowing collisions between enum values from different plugins.
3914 * gst/gstpad.c: (gst_pad_class_init):
3917 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3918 Handle out-of-band downstream events from the sending thread.
3920 2005-08-17 Andy Wingo <wingo@pobox.com>
3922 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
3923 play-timeout==0 to mean no timeout at all. In that case, don't
3924 bother with a get_state or a warning, just return directly, even
3927 * gst/base/gstbasetransform.c: Debug changes.
3930 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
3931 ensure bins post state change messages. A bit of a hack but I can't
3932 think of a way to avoid it.
3934 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
3936 2005-08-16 Andy Wingo <wingo@pobox.com>
3938 * gst/base/gstadapter.h:
3939 * gst/base/gstadapter.c (gst_adapter_take): New function, like
3940 peek() but you own the data. Not terribly efficient atm.
3942 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3944 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
3945 (gst_element_found_tags):
3947 Add two utility functions for tag handling.
3949 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3951 * docs/manual/advanced-dataaccess.xml:
3952 * docs/manual/basics-helloworld.xml:
3953 Fix docs to use _bin_add() before _link(), which fixes the examples
3954 with recent core versions (reported by Madhan Raj M
3955 <raj_madan@rediffmail.com>, #313199).
3957 2005-08-16 Wim Taymans <wim@fluendo.com>
3959 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3960 Added subtract checks.
3962 * docs/design/part-events.txt:
3963 Some more docs about newsegment
3965 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3968 * gst/gstcaps.c: (gst_caps_to_string):
3969 Add comments, cleanups.
3971 * gst/gstelement.c: (gst_element_save_thyself):
3974 * gst/gstvalue.c: (gst_value_collect_int_range),
3975 (gst_string_unwrap), (gst_value_union_int_int_range),
3976 (gst_value_union_int_range_int_range),
3977 (gst_value_intersect_int_int_range),
3978 (gst_value_intersect_int_range_int_range),
3979 (gst_value_intersect_double_double_range),
3980 (gst_value_intersect_double_range_double_range),
3981 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
3982 (gst_value_subtract_int_range_int),
3983 (gst_value_subtract_double_range_double),
3984 (gst_value_subtract_double_range_double_range),
3985 (gst_value_subtract_from_list), (gst_value_subtract_list),
3986 (gst_value_can_compare), (gst_value_compare_fraction):
3987 Cleanups, add comments, remove unneeded asserts.
3989 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
3991 * tools/gst-launch.c: (event_loop):
3992 don't convert NULL structures to strings
3994 2005-08-15 Stefan Kost <ensonic@users.sf.net>
3996 * docs/gst/gstreamer-sections.txt:
3997 made some defines private
3998 * docs/gst/tmpl/gstconfig.sgml:
3999 * docs/gst/tmpl/gstqueue.sgml:
4000 * docs/gst/tmpl/gsttaglist.sgml:
4001 * docs/gst/tmpl/gsttypes.sgml:
4002 * docs/gst/tmpl/gstutils.sgml:
4003 * docs/pwg/appendix-porting.xml:
4004 * gst/base/gstbasesink.h:
4005 * gst/base/gstbasesrc.c:
4006 * gst/base/gstbasesrc.h:
4007 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
4008 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
4009 * gst/gstelement.c: (gst_element_class_init):
4010 * gst/gstpad.c: (gst_pad_class_init):
4011 * gst/gstqueue.c: (gst_queue_class_init):
4012 * gst/gstxml.c: (gst_xml_class_init):
4013 documented all undocumented signal inline
4014 * libs/gst/controller/gst-controller.h:
4017 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4019 * docs/pwg/appendix-porting.xml:
4020 Document _set_link_function -> _set_setcaps_function.
4022 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
4024 * check/Makefile.am:
4025 add a .check target for running the check
4026 * check/gst-libs/controller.c: (GST_START_TEST):
4028 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
4029 complete checks for gstbuffer; would be nice if I could get the
4030 gcov stuff to work so I can see if I actually completed gstbuffer.c
4032 add ASSERT_BUFFER_REFCOUNT
4034 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
4036 * docs/gst/gstreamer-sections.txt:
4037 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
4039 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
4040 spew out a warning if a tag that is already registered
4041 is re-registered, unless it is re-registered with a
4042 different type (#308438).
4044 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
4046 * docs/pwg/appendix-porting.xml:
4047 * docs/pwg/building-state.xml:
4048 Add some paragraphs about state changes in 0.9 to the PWG
4049 and the porting guide, in particular about the new meaning
4050 of GST_STATE_PAUSED and how to write state change functions
4051 with concurrent access by multiple threads in mind.
4053 2005-08-11 Stefan Kost <ensonic@users.sf.net>
4055 * docs/gst/gstreamer-docs.sgml:
4056 * docs/libs/gstreamer-libs-docs.sgml:
4057 added deprecation and since indexes
4058 * libs/gst/controller/gst-controller.c:
4059 * libs/gst/controller/gst-helper.c:
4063 2005-08-11 Wim Taymans <wim@fluendo.com>
4065 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
4066 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
4067 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
4068 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
4069 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
4070 (gst_ghost_pad_set_target):
4071 Actually implement (re)setting the target on a ghostpad
4072 as described in the docs.
4074 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4076 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
4077 Check whether GST_DEBUG_NO_COLOR environment variable is
4078 set and disable coloured debug output if that is the case.
4080 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
4082 * gst/base/gsttypefindhelper.c: (helper_find_peek),
4083 (gst_type_find_helper):
4084 The memory returned by gst_type_find_peek() needs to
4085 stay valid until the end of a typefind function, and
4086 typefind functions may keep results from different
4087 offsets around, so we can't just unref the buffer from
4088 the previous _peek(), but have to save all buffers
4089 returned by _peek() until typefinding is done and only
4092 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
4094 * docs/gst/gstreamer-sections.txt:
4096 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
4098 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4100 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
4101 Fix a pretty good memleak.
4103 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4105 * gst/gstiterator.h:
4106 Fix wrong include and 'make distcheck'.
4108 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4110 * gst/gstbin.c: (bin_bus_handler):
4111 Use gst_element_post_message() instead.
4113 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
4115 * gst/base/gstadapter.h:
4116 * gst/base/gstbasesink.h:
4117 * gst/base/gstbasesrc.h:
4118 * gst/base/gstbasetransform.h:
4119 * gst/base/gstcollectpads.h:
4120 * gst/base/gstpushsrc.h:
4121 * gst/gstiterator.h:
4122 Add padding to our base elements' class and instance structs and
4123 to GstIterator (you will need to rebuild all plugins and apps!)
4125 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4127 * gst/gstbin.c: (bin_bus_handler):
4128 Make default message forwarding from child->bus to bin->bus
4129 threadsafe and make it not emit warnings if the parent has no bus.
4131 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4133 * gst/gstelement.c: (activate_pads):
4134 On paused->ready, set pad->caps to NULL, as is the documented
4135 behaviour in this state change. Fixes playback of series of
4136 media files when visualization is enabled in Totem.
4138 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4140 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4141 Allow NULL as filter-caps (which means "any").
4143 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4145 * docs/libs/gstreamer-libs-sections.txt:
4146 * libs/gst/controller/gst-controller.c:
4147 * libs/gst/controller/gst-controller.h:
4148 * libs/gst/controller/gst-helper.c:
4149 adding more entries to the docs and fix small doc-bugs
4151 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4153 * docs/gst/gstreamer-docs.sgml:
4154 * docs/gst/gstreamer-sections.txt:
4155 * docs/gst/gstreamer.types:
4156 * docs/gst/tmpl/gstbasesink.sgml:
4157 * docs/gst/tmpl/gstbasesrc.sgml:
4158 * docs/gst/tmpl/gstbasetransform.sgml:
4159 * docs/gst/tmpl/gstfakesrc.sgml:
4160 * gst/base/gstcollectpads.c:
4161 * gst/base/gstcollectpads.h:
4162 * libs/gst/controller/gst-controller.c:
4163 * libs/gst/controller/gst-controller.h:
4164 * libs/gst/controller/gst-helper.c:
4165 * libs/gst/controller/gst-interpolation.c:
4166 * libs/gst/controller/lib.c:
4167 added long/short desc for controller docs
4168 added collectpads base class docs
4169 added correct includes to base-class docs
4171 2005-08-05 Stefan Kost <ensonic@users.sf.net>
4173 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
4174 (gst_test_mono_source_set_property),
4175 (gst_test_mono_source_class_init), (GST_START_TEST),
4176 (gst_controller_suite):
4177 * docs/gst/gstreamer-docs.sgml:
4178 * docs/gst/gstreamer-sections.txt:
4179 * docs/gst/gstreamer.types:
4180 * docs/libs/gstreamer-libs-docs.sgml:
4181 * docs/libs/gstreamer-libs-sections.txt:
4182 * gst/base/gstadapter.c:
4183 * libs/gst/controller/gst-controller.c:
4184 (gst_controlled_property_new), (gst_controlled_property_free),
4185 (gst_controller_new_valist),
4186 (gst_controller_remove_properties_valist),
4187 (gst_controller_sink_values), (_gst_controller_finalize):
4188 * libs/gst/controller/gst-controller.h:
4189 * libs/gst/controller/gst-helper.c:
4190 (gst_object_control_properties), (gst_object_uncontrol_properties),
4191 (gst_object_get_controller), (gst_object_set_controller),
4192 (gst_object_sink_values), (gst_object_get_value_arrays),
4193 (gst_object_get_value_array):
4194 more tests (and fixes) for the controller
4195 more docs for the controller
4196 integrated companies docs for the adapter
4198 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
4200 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
4201 (GST_START_TEST), (fakesrc_suite):
4202 add tests for sizetype
4204 2005-08-04 Andy Wingo <wingo@pobox.com>
4206 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
4207 fixes buffer_alloc proxying among other things.
4209 * gst/base/gstbasetransform.c:
4210 * gst/base/gstbasetransform.h:
4211 Revert patch to gstbasetransform from 7-28 removing
4214 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
4215 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
4216 Semantics changed, should return not the size of the output buffer
4217 but the byte size of a buffer with a given caps.
4219 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
4221 (gst_base_transform_configure_caps): Don't set out_size here: (in,
4222 out) are not the pad caps until setcaps finishes.
4223 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
4224 not-in-place case as well. Deal with changing from in-place to
4225 not-in-place within calling pad_alloc_buffer. Still a bit
4226 concerned about the overhead here...
4228 2005-08-03 Andy Wingo <wingo@pobox.com>
4230 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
4231 fixating is an error.
4233 2005-08-04 Edward Hervey <edward@fluendo.com>
4235 * gst/base/gstadapter.h:
4236 Added gst_adapter_get_type() to the header
4238 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4240 * check/Makefile.am:
4241 * check/gst-libs/controller.c:
4242 * libs/gst/controller/gst-controller.c:
4243 (gst_controller_new_valist):
4244 added check test suite for the controller
4245 * gst/base/gstpushsrc.c:
4248 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4250 * docs/gst/Makefile.am:
4251 * docs/gst/gstreamer-docs.sgml:
4252 * docs/gst/gstreamer-sections.txt:
4253 * docs/gst/gstreamer.types:
4254 * docs/gst/tmpl/gstfakesrc.sgml:
4256 * gst/base/gstbasesink.c:
4257 * gst/base/gstbasesink.h:
4258 * gst/base/gstbasesrc.c:
4259 * gst/base/gstbasesrc.h:
4260 * gst/base/gstbasetransform.c:
4261 * gst/base/gstpushsrc.c:
4262 * gst/base/gstpushsrc.h:
4263 add short/long description docs to base classes
4264 add pushsrc to the docs
4265 remove consolidated doc fragments
4267 2005-08-03 Stefan Kost <ensonic@users.sf.net>
4270 * docs/libs/Makefile.am:
4271 * docs/libs/gstreamer-libs-docs.sgml:
4272 * docs/libs/gstreamer-libs-sections.txt:
4273 * docs/libs/gstreamer-libs.types:
4274 * examples/Makefile.am:
4275 * examples/controller/.cvsignore:
4276 * examples/controller/Makefile.am:
4277 * examples/controller/audio-example.c: (main):
4278 * libs/gst/Makefile.am:
4279 * libs/gst/controller/.cvsignore:
4280 * libs/gst/controller/Makefile.am:
4281 * libs/gst/controller/gst-controller.c:
4282 (on_object_controlled_property_changed), (gst_timed_value_compare),
4283 (gst_timed_value_find),
4284 (gst_controlled_property_set_interpolation_mode),
4285 (gst_controlled_property_new), (gst_controlled_property_free),
4286 (gst_controller_find_controlled_property),
4287 (gst_controller_new_valist), (gst_controller_new),
4288 (gst_controller_remove_properties_valist),
4289 (gst_controller_remove_properties), (gst_controller_set),
4290 (gst_controller_set_from_list), (gst_controller_unset),
4291 (gst_controller_get), (gst_controller_get_all),
4292 (gst_controller_sink_values), (gst_controller_get_value_arrays),
4293 (gst_controller_get_value_array),
4294 (gst_controller_set_interpolation_mode),
4295 (_gst_controller_finalize), (_gst_controller_init),
4296 (_gst_controller_class_init), (gst_controller_get_type):
4297 * libs/gst/controller/gst-controller.h:
4298 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
4299 (g_object_uncontrol_properties), (g_object_get_controller),
4300 (g_object_set_controller), (g_object_sink_values),
4301 (g_object_get_value_arrays), (g_object_get_value_array):
4302 * libs/gst/controller/gst-interpolation.c:
4303 (gst_controlled_property_find_timed_value_node),
4304 (interpolate_none_get), (interpolate_trigger_get),
4305 (interpolate_trigger_get_value_array):
4306 * libs/gst/controller/lib.c: (gst_controller_init):
4307 * pkgconfig/Makefile.am:
4308 * pkgconfig/gstreamer-control-uninstalled.pc.in:
4309 * pkgconfig/gstreamer-control.pc.in:
4310 * testsuite/Makefile.am:
4311 * testsuite/controller/.cvsignore:
4312 * testsuite/controller/Makefile.am:
4313 * testsuite/controller/interpolator.c: (main):
4314 added controller code
4315 removed dparam pc files
4317 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4318 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
4319 (gst_collectpads_stop):
4320 Broadcast the condition when shutting down, to make sure we wake all
4321 threads up. Shut down pads on finalize, for safety.
4323 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
4324 * gst/base/gstbasetransform.c: (gst_base_transform_init),
4325 (gst_base_transform_handle_buffer),
4326 (gst_base_transform_change_state):
4327 Handle PAUSED->READY->PAUSED transition after negotiation
4329 * gst/gstmessage.c: (gst_message_init):
4330 Extra piece of debug for new messages.
4332 2005-08-01 Stefan Kost <ensonic@users.sf.net>
4335 * docs/gst/tmpl/gstbasesrc.sgml:
4336 * docs/gst/tmpl/gstelement.sgml:
4337 * docs/gst/tmpl/gstevent.sgml:
4338 * docs/gst/tmpl/gstfakesrc.sgml:
4339 * docs/gst/tmpl/gstformat.sgml:
4340 * docs/gst/tmpl/gstghostpad.sgml:
4341 * docs/gst/tmpl/gstpad.sgml:
4342 * docs/gst/tmpl/gstquery.sgml:
4343 * docs/gst/tmpl/gststructure.sgml:
4344 * docs/gst/tmpl/gsttaglist.sgml:
4345 * docs/gst/tmpl/gstvalue.sgml:
4346 * docs/libs/gstreamer-libs-docs.sgml:
4347 * docs/libs/gstreamer-libs-sections.txt:
4348 * docs/libs/gstreamer-libs.types:
4349 * libs/gst/Makefile.am:
4350 * libs/gst/control/.cvsignore:
4351 * libs/gst/control/Makefile.am:
4352 * libs/gst/control/control.c:
4353 * libs/gst/control/control.h:
4354 * libs/gst/control/dparam.c:
4355 * libs/gst/control/dparam.h:
4356 * libs/gst/control/dparam_smooth.c:
4357 * libs/gst/control/dparam_smooth.h:
4358 * libs/gst/control/dparamcommon.h:
4359 * libs/gst/control/dparammanager.c:
4360 * libs/gst/control/dparammanager.h:
4361 * libs/gst/control/dplinearinterp.c:
4362 * libs/gst/control/dplinearinterp.h:
4363 * libs/gst/control/unitconvert.c:
4364 * libs/gst/control/unitconvert.h:
4365 * testsuite/Makefile.am:
4366 * testsuite/dynparams/.cvsignore:
4367 * testsuite/dynparams/Makefile.am:
4368 * testsuite/dynparams/dparamstest.c:
4369 * tools/Makefile.am:
4370 * tools/gst-inspect.c: (print_element_info), (main):
4371 * tools/gst-xmlinspect.c: (print_element_info), (main):
4372 deactivate and remove dparams (libgstcontrol)
4374 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4376 * gst/elements/gsttypefindelement.c:
4377 (gst_type_find_element_have_type), (gst_type_find_element_init),
4378 (stop_typefinding), (gst_type_find_element_handle_event),
4379 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4380 * gst/elements/gsttypefindelement.h:
4381 Set caps on all outgoing buffers, not just the first one.
4383 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4385 * gst/elements/gsttypefindelement.c:
4386 (gst_type_find_element_have_type),
4387 (gst_type_find_element_check_set_buffer_caps),
4388 (gst_type_find_element_init), (stop_typefinding),
4389 (gst_type_find_element_handle_event),
4390 (gst_type_find_element_chain), (gst_type_find_element_getrange):
4391 * gst/elements/gsttypefindelement.h:
4392 Set caps on first outgoing buffer when we've found the type.
4394 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
4396 * docs/gst/gstreamer-docs.sgml:
4397 * docs/gst/gstreamer-sections.txt:
4398 * docs/gst/tmpl/gstscheduler.sgml:
4399 * docs/gst/tmpl/gstschedulerfactory.sgml:
4400 Remove some old cruft from docs.
4402 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
4405 Fix inline docs for GstPadLinkReturn.
4407 * gst/gststructure.c: (gst_structure_has_name):
4408 * gst/gststructure.h:
4409 * docs/gst/gstreamer-sections.txt:
4410 New API: gst_structure_has_name().
4412 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
4415 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
4416 and _LARGEFILE_SOURCE in config.h as required. Do not
4417 export those flags in our .pc files any longer (#142209).
4419 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
4421 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
4422 (gst_file_sink_do_seek), (gst_file_sink_event),
4423 (gst_file_sink_get_current_offset), (gst_file_sink_render):
4424 Redo seek/tell calls with large file support in mind; add some
4425 debugging messages; add log message that tells us when large
4426 file support is unavailable or not enabled for some reason.
4428 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
4429 Add log message that tells us when large file support
4430 is unavailable or not enabled for some reason.
4432 2005-07-29 Wim Taymans <wim@fluendo.com>
4434 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4435 Added test for removing an element with ghostpad from a bin.
4436 Fixed test as current implementation does the right thing.
4438 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
4439 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
4440 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
4441 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
4442 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
4443 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
4444 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
4445 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4446 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
4447 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
4448 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
4449 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
4450 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
4451 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
4452 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
4453 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
4454 * gst/gstghostpad.h:
4455 Clean up ghostpads, remove properties for internal stuff.
4458 Prepare for switching targets, not all use cases work yet.
4460 2005-07-29 Wim Taymans <wim@fluendo.com>
4462 * docs/design/part-gstghostpad.txt:
4465 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4466 (gst_bin_remove_func):
4467 Unlinking pads while holding the bin LOCK is not a good
4470 * gst/gstpad.c: (gst_pad_class_init),
4471 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
4472 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
4473 No prob setting template after creating the pad.
4475 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
4477 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
4478 (gst_bus_peek), (gst_bus_source_dispatch),
4479 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
4480 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
4481 gst_bus_poll may be called from other threads. Handle
4482 this nicely by not making poll_data disappear off the
4483 stack once gst_bus_poll returns.
4484 gst_bus_peek now increments the refcount on the returned
4487 2005-07-29 Wim Taymans <wim@fluendo.com>
4489 * docs/design/part-gstghostpad.txt:
4490 Overview of current GhostPad datastructures and use
4491 cases for changing the target.
4493 2005-07-28 Wim Taymans <wim@fluendo.com>
4495 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4496 Added checks for hierarchy consistency whan adding linked
4499 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
4500 Added check to test element scheduling without bin/pipeline.
4502 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
4503 First add elements to bin, then link.
4505 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
4506 (gst_bin_remove_func):
4507 Unlink pads from elements added/removed from bin to maintain
4508 hierarchy consistency.
4510 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4512 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
4513 (gst_base_transform_handle_buffer):
4514 * gst/base/gstbasetransform.h:
4515 Remove broken delay_configure (fixes renegotiation of software
4516 scaling pipelines); remove some leftover printf()s.
4518 2005-07-28 Wim Taymans <wim@fluendo.com>
4520 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
4521 Added some more tests for wrong hierarchy
4523 * docs/design/part-overview.txt:
4526 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
4529 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
4530 (gst_element_dispose):
4533 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4534 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
4535 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4536 (gst_pad_set_caps), (gst_pad_send_event):
4537 Check for correct hierarchy when linking pads. Moving to
4538 strict requirement for ghostpads when linking elements in
4542 Clean ups. Added WRONG_HIERARCHY return value.
4544 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4546 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
4547 Better debug if no transform is possible.
4549 2005-07-27 Wim Taymans <wim@fluendo.com>
4551 * docs/random/wtay/network-transp:
4554 2005-07-27 Wim Taymans <wim@fluendo.com>
4556 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4557 (gst_dp_event_from_packet):
4558 Fix serialization of seek events.
4560 2005-07-27 Wim Taymans <wim@fluendo.com>
4562 * check/gst-libs/gdp.c: (GST_START_TEST):
4563 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4564 Fix compilation and fix event serialization.
4566 2005-07-27 Wim Taymans <wim@fluendo.com>
4569 * docs/design/part-TODO.txt:
4570 * docs/design/part-events.txt:
4573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4574 (gst_base_sink_event), (gst_base_sink_do_sync),
4575 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4576 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
4577 (gst_base_src_do_seek), (gst_base_src_event_handler),
4578 (gst_base_src_loop):
4579 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4580 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4581 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
4582 (gst_base_transform_event), (gst_base_transform_handle_buffer),
4583 (gst_base_transform_set_passthrough),
4584 (gst_base_transform_is_passthrough):
4585 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4586 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4592 * gst/gstelement.c: (gst_element_seek):
4594 Update gst_element_seek.
4596 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
4597 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
4598 (gst_event_new_flush_start), (gst_event_new_flush_stop),
4599 (gst_event_new_eos), (gst_event_new_newsegment),
4600 (gst_event_parse_newsegment), (gst_event_new_tag),
4601 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
4602 (gst_event_parse_qos), (gst_event_new_seek),
4603 (gst_event_parse_seek), (gst_event_new_navigation):
4605 Make GstEvent use GstStructure. Add parsing code, make sure the
4606 API is sufficiently generic.
4607 Mark possible directions of events and serialization.
4609 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
4610 (_gst_message_copy), (gst_message_new_segment_start),
4611 (gst_message_new_segment_done), (gst_message_new_custom),
4612 (gst_message_parse_segment_start),
4613 (gst_message_parse_segment_done):
4616 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4617 (gst_pad_set_caps), (gst_pad_send_event):
4618 Update for new events.
4619 Catch events sent in wrong directions.
4621 * gst/gstqueue.c: (gst_queue_link_src),
4622 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4623 (gst_queue_handle_src_query):
4628 Remove event code from this file.
4630 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
4631 (gst_dp_event_from_packet):
4634 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4636 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
4637 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
4638 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
4639 Make debugging actually useful.
4641 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4643 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
4644 (gst_pad_fixate_caps):
4645 Implement default fixation once again, so that gst_pad_fixate()
4646 actually does anything at all. This probably needs to be some
4647 sort of a last resort, and use profile-based fixation first, but
4648 since that doesn't exist yet, this is the best we have. Fixes
4649 visualization in Totem.
4651 2005-07-22 Wim Taymans <wim@fluendo.com>
4653 * docs/design/part-events.txt:
4656 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4657 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
4658 (gst_base_sink_activate_pull):
4661 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
4662 (gst_fake_src_create):
4663 Fix handoff marshall.
4665 * gst/elements/gstidentity.c: (gst_identity_class_init),
4666 (gst_identity_transform_ip):
4667 We're a real inplace element.
4669 * gst/gstbus.c: (gst_bus_post):
4670 Added some comments.
4672 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
4673 * tests/muxing/case1.c: (main):
4674 * tests/sched/dynamic-pipeline.c: (main):
4675 * tests/sched/interrupt1.c: (main):
4676 * tests/sched/interrupt2.c: (main):
4677 * tests/sched/interrupt3.c: (main):
4678 * tests/sched/runxml.c: (main):
4679 * tests/sched/sched-stress.c: (main):
4680 * tests/seeking/seeking1.c: (event_received), (main):
4681 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
4683 * tests/threadstate/threadstate3.c: (main):
4684 * tests/threadstate/threadstate4.c: (main):
4685 * tests/threadstate/threadstate5.c: (main):
4688 2005-07-21 Wim Taymans <wim@fluendo.com>
4690 * docs/design/part-seeking.txt:
4691 Some small additions.
4693 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4694 (gst_base_sink_get_times), (gst_base_sink_do_sync),
4695 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
4696 * gst/base/gstbasesink.h:
4697 discont values are gint64, handle the math correctly.
4699 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4700 Make the basesrc report error if the source pad is not linked.
4702 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4703 (gst_queue_loop), (gst_queue_handle_src_query),
4704 (gst_queue_src_activate_push):
4705 Make queue collect data even if the srcpad is not linked.
4706 Start pushing out data as soon as it is linked.
4708 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
4710 Added gst_flow_get_name() to ease error reporting.
4712 2005-07-20 Wim Taymans <wim@fluendo.com>
4714 * gst/gstmessage.c: (gst_message_new_segment_start),
4715 (gst_message_new_segment_done), (gst_message_parse_segment_start),
4716 (gst_message_parse_segment_done):
4718 Added a bunch of messages for advanced seeking.
4720 * gst/parse/grammar.y:
4721 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
4722 (gst_dpman_state_changed):
4723 Fix some new-pad -> pad-added signals
4725 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4727 * docs/manual/appendix-porting.xml:
4728 * docs/pwg/appendix-porting.xml:
4729 Document new-pad/state-change signal renames and the FixedList
4732 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4734 * docs/manual/advanced-autoplugging.xml:
4735 * docs/manual/basics-helloworld.xml:
4736 * docs/manual/basics-pads.xml:
4737 * docs/random/ds/0.9-suggested-changes:
4738 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
4743 * gst/gststructure.c: (gst_structure_value_get_generic_type),
4744 (gst_structure_parse_array), (gst_structure_parse_value):
4745 * gst/gstvalue.c: (gst_type_is_fixed),
4746 (gst_value_list_prepend_value), (gst_value_list_append_value),
4747 (gst_value_list_get_size), (gst_value_list_get_value),
4748 (gst_value_transform_array_string), (gst_value_serialize_array),
4749 (gst_value_deserialize_array), (gst_value_intersect_array),
4750 (gst_value_is_fixed), (_gst_value_initialize):
4752 GstElement::new-pad -> pad-added, GstElement::state-change ->
4753 state-changed, GstValueFixedList -> GstValueArray, add format and
4754 flags as their own arguments in gst_element_seek() (should improve
4755 "bindeability"), remove function generators since they don't work
4756 under a whole bunch of compilers (they were deprecated already
4759 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4761 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
4762 (_gst_debug_register_funcptr):
4764 Fix illegal cast on some platforms (#309253).
4766 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4768 * gst/gstmessage.c: (gst_message_new_custom):
4770 Add _new_custom, make _new_application a macro to _new_custom.
4772 2005-07-20 Wim Taymans <wim@fluendo.com>
4774 * gst/base/gstbasesrc.c: (gst_base_src_init),
4775 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4776 * gst/base/gstbasesrc.h:
4777 Add a gboolean to decide when to push out a discont.
4779 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4780 (gst_queue_loop), (gst_queue_handle_src_query),
4781 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
4782 (gst_queue_set_property), (gst_queue_get_property):
4785 * tests/threadstate/threadstate1.c: (main):
4786 Make a thread test compile and run... very silly..
4789 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4791 * docs/manual/appendix-porting.xml:
4792 Mention removal of libgstgconf-0.9.la and existence of gconf
4795 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4797 * docs/pwg/advanced-clock.xml:
4798 * docs/pwg/appendix-porting.xml:
4799 * docs/pwg/intro-preface.xml:
4800 * docs/pwg/other-base.xml:
4801 * docs/pwg/other-manager.xml:
4802 * docs/pwg/other-nton.xml:
4803 * docs/pwg/other-ntoone.xml:
4804 * docs/pwg/other-oneton.xml:
4806 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
4807 demuxer), remove n-to-n (was never written), fix some code examples
4808 and links and update the porting section to include all this.
4810 2005-07-19 Wim Taymans <wim@fluendo.com>
4812 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
4813 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
4814 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
4815 (gst_queue_src_activate_push), (gst_queue_change_state),
4816 (gst_queue_get_property):
4818 Propagate GstFlowReturn more intelligently upstream and output
4819 an ERROR/EOS when streaming stopped due to fatal error.
4821 2005-07-19 Wim Taymans <wim@fluendo.com>
4823 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4824 Don't block forever for the state change to complete, the
4825 pipeline already did with a sensible timeout.
4827 2005-07-19 Wim Taymans <wim@fluendo.com>
4829 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4830 Make sure we never call the create function is we
4833 2005-07-19 Andy Wingo <wingo@pobox.com>
4835 * gst/parse/parse.l: Attempt to solve bug #172815.
4837 2005-07-19 Wim Taymans <wim@fluendo.com>
4839 * docs/design/part-clocks.txt:
4840 * docs/design/part-events.txt:
4841 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
4843 Only update the seeking values when we are not
4846 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4848 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4849 Oops, ignore the result of gst_pad_push_event here.
4851 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
4853 * gst/base/gstbasesrc.c: (gst_base_src_loop),
4854 (gst_base_src_activate_push):
4855 Send discont event from the loop function, as pads
4856 aren't activated yet in the activate_push handler.
4858 * gst/gstbin.c: (bin_bus_handler):
4859 Don't leak element name.
4861 2005-07-18 Andy Wingo <wingo@pobox.com>
4863 * configure.ac: Use AS_LIBTOOL_TAGS.
4865 2005-07-18 Wim Taymans <wim@fluendo.com>
4867 * docs/gst/gstreamer.types:
4868 Remove deleted types.
4870 2005-07-18 Wim Taymans <wim@fluendo.com>
4872 * check/elements/gstfakesrc.c: (GST_START_TEST):
4875 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
4876 (init_popt_callback):
4878 * gst/gst_private.h:
4879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
4880 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
4883 * gst/gstconfig.h.in:
4884 * gst/gstelement.c: (gst_element_class_init),
4885 (gst_element_set_base_time), (gst_element_get_base_time),
4886 (iterator_fold_with_resync), (gst_element_change_state),
4887 (gst_element_dispose), (gst_element_get_bus):
4889 * gst/gstelementfactory.h:
4890 * gst/gsterror.c: (_gst_core_errors_init):
4893 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
4895 * gst/gstinfo.c: (_gst_debug_init):
4896 * gst/gstmessage.c: (_gst_message_copy):
4898 * gst/gstminiobject.h:
4901 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
4902 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
4905 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4906 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
4907 (gst_pipeline_get_last_stream_time):
4908 * gst/gstpipeline.h:
4909 * gst/gstpluginfeature.h:
4911 * gst/gstscheduler.c:
4912 * gst/gstscheduler.h:
4913 * gst/gststructure.h:
4914 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
4915 (gst_task_finalize), (gst_task_func), (gst_task_create),
4916 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
4917 (gst_task_stop), (gst_task_pause):
4919 * gst/gsttypefind.h:
4921 * gst/registries/gstlibxmlregistry.c: (load_feature),
4922 (gst_xml_registry_load), (gst_xml_registry_save_feature):
4923 * gst/registries/gstxmlregistry.c:
4924 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
4925 * gst/schedulers/threadscheduler.c:
4926 * libs/gst/control/dparammanager.h:
4927 * tools/gst-inspect.c: (print_element_list),
4928 (print_plugin_features), (print_element_features):
4929 * tools/gst-xmlinspect.c: (print_element_list),
4930 (print_plugin_info), (main):
4931 Removed plugable schedulers.
4932 Removed Scheduler/Manager from elements.
4933 Removed gsttypes.h, rearranged includes.
4934 Removed dependency pad<->element, element<>pipeline, and
4935 various others, fix includes.
4936 implement gst_pad_get_parent() with gst_object_get_parent()
4937 Make GstTask sefcontained.
4938 Fix _get_state() on GstBin, it did not return ASYNC with a 0
4940 Fix endless loop in iterator_fold_with_resync.
4943 2005-07-18 Wim Taymans <wim@fluendo.com>
4949 2005-07-18 Wim Taymans <wim@fluendo.com>
4954 2005-07-18 Wim Taymans <wim@fluendo.com>
4960 2005-07-18 Wim Taymans <wim@fluendo.com>
4962 * docs/design/part-dynamic.txt:
4963 * docs/design/part-events.txt:
4964 * docs/design/part-seeking.txt:
4965 Some more docs in the works.
4967 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
4968 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
4969 (gst_base_transform_setcaps), (gst_base_transform_get_size),
4970 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
4971 (gst_base_transform_handle_buffer),
4972 (gst_base_transform_sink_activate_push),
4973 (gst_base_transform_src_activate_pull),
4974 (gst_base_transform_set_passthrough),
4975 (gst_base_transform_is_passthrough):
4978 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
4981 * gst/gstevent.c: (gst_event_finalize):
4984 * gst/gstutils.c: (gst_element_unlink),
4985 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
4986 (gst_pad_proxy_setcaps):
4988 Add _get_parent_element() to get a pads parent as an element.
4990 2005-07-18 Wim Taymans <wim@fluendo.com>
4992 * check/gst/gstbin.c: (GST_START_TEST):
4995 2005-07-18 Wim Taymans <wim@fluendo.com>
4997 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
4998 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
4999 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5000 (gst_base_sink_event), (gst_base_sink_do_sync),
5001 (gst_base_sink_chain), (gst_base_sink_loop),
5002 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
5003 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5005 Fix logic for returning ASYNC when not prerolled.
5007 2005-07-18 Wim Taymans <wim@fluendo.com>
5009 * gst/gstqueue.c: (gst_queue_handle_sink_event):
5010 Fix nasty refcount bug.
5012 2005-07-16 Philippe Khalaf <burger@speedy.org>
5014 * gst/elements/gstfdsrc.c:
5015 * gst/elements/gstfdsrc.h:
5016 * gst/elements/gstelements.c:
5017 * gst/elements/Makefile.am:
5018 Ported fdsrc to 0.9.
5020 2005-07-16 Wim Taymans <wim@fluendo.com>
5022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5023 (gst_base_sink_do_sync):
5026 2005-07-16 Wim Taymans <wim@fluendo.com>
5028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5029 (gst_base_sink_event), (gst_base_sink_get_times),
5030 (gst_base_sink_do_sync), (gst_base_sink_change_state):
5031 * gst/base/gstbasesink.h:
5032 Store and use discont values when syncing buffers as described
5035 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
5036 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
5037 (gst_base_src_activate_push):
5038 Push discont event when starting.
5040 * gst/elements/gstidentity.c: (gst_identity_transform):
5043 * gst/gstbin.c: (gst_bin_change_state):
5044 Small cleanups in base_time distribution.
5046 * gst/gstelement.c: (gst_element_set_base_time),
5047 (gst_element_get_base_time), (gst_element_change_state):
5049 Added methods for the base_time of the element.
5052 * gst/gstpipeline.c: (gst_pipeline_send_event),
5053 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
5054 (gst_pipeline_get_last_stream_time):
5055 * gst/gstpipeline.h:
5057 Handle seeking as described in design doc, remove stream_time
5059 Cleanups clock and stream_time selection code. Added accessors
5060 for the stream_time.
5063 2005-07-16 Andy Wingo <wingo@pobox.com>
5065 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
5068 2005-07-16 Wim Taymans <wim@fluendo.com>
5070 * check/gst/gstbin.c: (GST_START_TEST):
5071 Make elements silent as the deep_notify refs the
5072 parent, which might make the test fail.
5074 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
5075 Don't hold the lock for too long.
5077 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
5079 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
5080 Don't unref the caps we passed to gst_caps_make_writable() after
5081 passing them. gst_caps_make_writable() will do that for us.
5083 2005-07-15 Andy Wingo <wingo@pobox.com>
5085 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
5088 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
5089 own marshalling function for the handoff signal. Properly type the
5090 buffer as a buffer. Fixes some warnings. Should do a more general
5092 (gst_identity_class_init): Plug into the right marshaller.
5094 2005-07-15 Wim Taymans <wim@fluendo.com>
5096 * docs/design/part-TODO.txt:
5097 * docs/design/part-clocks.txt:
5098 * docs/design/part-element-sink.txt:
5099 * docs/design/part-events.txt:
5100 * docs/design/part-gstpipeline.txt:
5101 Updated docs, mostly DISCONT related.
5103 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
5105 * docs/pwg/building-pads.xml:
5106 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
5108 2005-07-15 Andy Wingo <wingo@pobox.com>
5110 * tools/gst-typefind.c: Update, add copyright block.
5112 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
5113 Normalize and truncate caps before fixation.
5116 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
5117 discards all but the first structure from its argument.
5119 2005-07-15 Wim Taymans <wim@fluendo.com>
5121 * gst/base/gstbasetransform.c: (gst_base_transform_init),
5122 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
5123 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
5124 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
5125 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
5126 (gst_base_transform_chain), (gst_base_transform_change_state),
5127 (gst_base_transform_set_passthrough),
5128 (gst_base_transform_is_passthrough):
5129 * gst/base/gstbasetransform.h:
5130 Make passthrough work using the bufferpools.
5131 Changed API a bit, subclasses have to write into a buffer
5132 provided by the base class.
5133 More debug info in nego functions.
5135 * gst/elements/gstidentity.c: (gst_identity_init),
5136 (gst_identity_transform):
5137 Port to new base class.
5139 2005-07-15 Wim Taymans <wim@fluendo.com>
5141 * gst/gstmessage.c: (gst_message_new_state_changed):
5142 * tools/gst-launch.c: (event_loop), (main):
5143 Totally dump messages in -launch with the -m option.
5144 Fix message name for State messages,
5146 2005-07-14 Wim Taymans <wim@fluendo.com>
5148 * gst/base/gstbasesrc.c: (gst_base_src_loop):
5149 Post error messages on errors.
5151 2005-07-14 Wim Taymans <wim@fluendo.com>
5153 * gst/gstcaps.c: (gst_caps_do_simplify):
5157 Define error for stream stopped.
5159 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
5160 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
5161 Do proper return values.
5163 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
5164 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
5165 (gst_pad_get_range):
5166 Better return values.
5169 Reorganise return values, add macro to check for fatal errors.
5171 * gst/gstqueue.c: (gst_queue_chain):
5172 Return proper GstFlowReturn values,
5174 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
5176 * docs/gst/gstreamer-sections.txt:
5177 * docs/gst/gstreamer.types:
5178 * docs/gst/tmpl/gst.sgml:
5179 * docs/gst/tmpl/gstbasesink.sgml:
5180 * docs/gst/tmpl/gstbasesrc.sgml:
5181 * docs/gst/tmpl/gstbasetransform.sgml:
5182 * docs/gst/tmpl/gstbin.sgml:
5183 * docs/gst/tmpl/gstbuffer.sgml:
5184 * docs/gst/tmpl/gstcaps.sgml:
5185 * docs/gst/tmpl/gstclock.sgml:
5186 * docs/gst/tmpl/gstcompat.sgml:
5187 * docs/gst/tmpl/gstconfig.sgml:
5188 * docs/gst/tmpl/gstelement.sgml:
5189 * docs/gst/tmpl/gstelementdetails.sgml:
5190 * docs/gst/tmpl/gstelementfactory.sgml:
5191 * docs/gst/tmpl/gstenumtypes.sgml:
5192 * docs/gst/tmpl/gsterror.sgml:
5193 * docs/gst/tmpl/gstevent.sgml:
5194 * docs/gst/tmpl/gstfakesink.sgml:
5195 * docs/gst/tmpl/gstfakesrc.sgml:
5196 * docs/gst/tmpl/gstfilesink.sgml:
5197 * docs/gst/tmpl/gstfilesrc.sgml:
5198 * docs/gst/tmpl/gstfilter.sgml:
5199 * docs/gst/tmpl/gstformat.sgml:
5200 * docs/gst/tmpl/gstghostpad.sgml:
5201 * docs/gst/tmpl/gstimplementsinterface.sgml:
5202 * docs/gst/tmpl/gstindex.sgml:
5203 * docs/gst/tmpl/gstindexfactory.sgml:
5204 * docs/gst/tmpl/gstinfo.sgml:
5205 * docs/gst/tmpl/gstiterator.sgml:
5206 * docs/gst/tmpl/gstmacros.sgml:
5207 * docs/gst/tmpl/gstmemchunk.sgml:
5208 * docs/gst/tmpl/gstminiobject.sgml:
5209 * docs/gst/tmpl/gstobject.sgml:
5210 * docs/gst/tmpl/gstpad.sgml:
5211 * docs/gst/tmpl/gstpadtemplate.sgml:
5212 * docs/gst/tmpl/gstparse.sgml:
5213 * docs/gst/tmpl/gstpipeline.sgml:
5214 * docs/gst/tmpl/gstplugin.sgml:
5215 * docs/gst/tmpl/gstpluginfeature.sgml:
5216 * docs/gst/tmpl/gstquery.sgml:
5217 * docs/gst/tmpl/gstqueue.sgml:
5218 * docs/gst/tmpl/gstregistry.sgml:
5219 * docs/gst/tmpl/gstregistrypool.sgml:
5220 * docs/gst/tmpl/gstscheduler.sgml:
5221 * docs/gst/tmpl/gstschedulerfactory.sgml:
5222 * docs/gst/tmpl/gststructure.sgml:
5223 * docs/gst/tmpl/gstsystemclock.sgml:
5224 * docs/gst/tmpl/gsttaglist.sgml:
5225 * docs/gst/tmpl/gsttagsetter.sgml:
5226 * docs/gst/tmpl/gsttrace.sgml:
5227 * docs/gst/tmpl/gsttrashstack.sgml:
5228 * docs/gst/tmpl/gsttypefind.sgml:
5229 * docs/gst/tmpl/gsttypefindfactory.sgml:
5230 * docs/gst/tmpl/gsttypes.sgml:
5231 * docs/gst/tmpl/gsturihandler.sgml:
5232 * docs/gst/tmpl/gsturitype.sgml:
5233 * docs/gst/tmpl/gstutils.sgml:
5234 * docs/gst/tmpl/gstvalue.sgml:
5235 * docs/gst/tmpl/gstversion.sgml:
5236 * docs/gst/tmpl/gstxml.sgml:
5237 * docs/libs/tmpl/gstcontrol.sgml:
5238 * docs/libs/tmpl/gstdataprotocol.sgml:
5239 * docs/libs/tmpl/gstdparam.sgml:
5240 * docs/libs/tmpl/gstdplinint.sgml:
5241 * docs/libs/tmpl/gstdpman.sgml:
5242 * docs/libs/tmpl/gstdpsmooth.sgml:
5243 * docs/libs/tmpl/gstgetbits.sgml:
5244 * docs/libs/tmpl/gstunitconvert.sgml:
5245 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
5246 (gst_push_src_base_init), (gst_push_src_class_init),
5247 (gst_push_src_init), (gst_push_src_create):
5248 * gst/base/gstpushsrc.h:
5249 * gst/elements/gstelements.c:
5250 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
5251 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
5252 (gst_fake_sink_init), (gst_fake_sink_set_property),
5253 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
5254 (gst_fake_sink_event), (gst_fake_sink_preroll),
5255 (gst_fake_sink_render), (gst_fake_sink_change_state):
5256 * gst/elements/gstfakesink.h:
5257 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
5258 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
5259 (gst_fake_src_base_init), (gst_fake_src_class_init),
5260 (gst_fake_src_init), (gst_fake_src_event_handler),
5261 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
5262 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
5263 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
5264 (gst_fake_src_create_buffer), (gst_fake_src_create),
5265 (gst_fake_src_start), (gst_fake_src_stop):
5266 * gst/elements/gstfakesrc.h:
5267 * gst/elements/gstfilesink.c: (_do_init),
5268 (gst_file_sink_base_init), (gst_file_sink_class_init),
5269 (gst_file_sink_init), (gst_file_sink_dispose),
5270 (gst_file_sink_set_location), (gst_file_sink_set_property),
5271 (gst_file_sink_get_property), (gst_file_sink_open_file),
5272 (gst_file_sink_close_file), (gst_file_sink_query),
5273 (gst_file_sink_event), (gst_file_sink_render),
5274 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
5275 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
5276 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
5277 * gst/elements/gstfilesink.h:
5278 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
5279 (gst_file_src_class_init), (gst_file_src_init),
5280 (gst_file_src_finalize), (gst_file_src_set_location),
5281 (gst_file_src_set_property), (gst_file_src_get_property),
5282 (gst_file_src_map_region), (gst_file_src_map_small_region),
5283 (gst_file_src_create_mmap), (gst_file_src_create_read),
5284 (gst_file_src_create), (gst_file_src_is_seekable),
5285 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
5286 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
5287 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
5288 (gst_file_src_uri_handler_init):
5289 * gst/elements/gstfilesrc.h:
5290 more autistic cleanliness in functions/names/defines
5292 2005-07-13 Andy Wingo <wingo@pobox.com>
5294 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
5295 source couldn't negotiate.
5297 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
5301 * gst/gstutils.c (gst_element_link_pads_filtered): New old
5302 function. I am channeling Hades. Put your boots on suckers!!!
5304 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
5306 * testsuite/caps/Makefile.am:
5307 * testsuite/caps/value_compare.c:
5308 * testsuite/caps/value_intersect.c:
5309 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
5310 move two testsuite apps over to the check dir
5312 2005-07-12 Wim Taymans <wim@fluendo.com>
5314 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
5315 Added more debug info in the negotiate process.
5318 Prepare for segment playback.
5320 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
5326 * tools/gst-launch.c: (main):
5327 NULL pipeline on errors.
5329 2005-07-12 Andy Wingo <wingo@pobox.com>
5331 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
5332 not it comes from a malloc region. Make sure our copy gets freed.
5334 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5336 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5337 * check/gst/gstmessage.c: (GST_START_TEST):
5338 * check/gst/gststructure.c: (GST_START_TEST),
5339 (gst_structure_suite), (main):
5341 * gst/gstelement.c: (gst_element_message_full):
5342 clean up GError and debug string now that they get copied
5343 * gst/gstmessage.c: (gst_message_new_error),
5344 (gst_message_new_warning), (gst_message_parse_error),
5345 (gst_message_parse_warning):
5346 use GST_TYPE_G_ERROR for structure_new, and take copies of
5347 arguments, so that we don't mess up refcounting
5349 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * check/Makefile.am:
5352 add per-test valgrind targets
5353 * check/gst-libs/gdp.c: (GST_START_TEST),
5354 (gst_data_protocol_suite), (main):
5357 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
5359 * check/Makefile.am:
5360 instate more valgrindable tests
5361 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5362 (GST_START_TEST), (fakesrc_suite):
5363 * check/gst/gstpad.c: (GST_START_TEST):
5364 * check/gst/gststructure.c: (GST_START_TEST):
5366 * docs/gst/tmpl/gstminiobject.sgml:
5367 * gst/gstpad.c: (gst_pad_finalize):
5368 fix the static mutex leak
5370 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5372 * check/Makefile.am:
5373 add two more tests for valgrinding
5374 * check/gst/gstvalue.c: (GST_START_TEST):
5375 test refcount of deserialized buffer, found a leak
5376 * docs/gst/gstreamer-docs.sgml:
5377 * docs/gst/gstreamer-sections.txt:
5378 * docs/gst/gstreamer.types:
5379 * docs/gst/tmpl/gstminiobject.sgml:
5380 add miniobject to docs
5381 * gst/gstminiobject.c:
5383 * gst/gstvalue.c: (gst_value_deserialize_buffer),
5384 (gst_string_unwrap):
5385 fix a hard-to-find invalid write for one of the tests
5386 fix a leak for deserialized buffers
5388 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5390 * docs/pwg/advanced-events.xml:
5391 * docs/pwg/advanced-request.xml:
5392 * docs/pwg/advanced-scheduling.xml:
5393 * docs/pwg/appendix-porting.xml:
5394 * docs/pwg/building-boiler.xml:
5395 * docs/pwg/intro-preface.xml:
5396 * docs/pwg/other-ntoone.xml:
5397 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
5398 of example code and explanation for pad activation, loop() and
5399 getrange() functions and a bit more. Remove old comments pointing
5401 * examples/pwg/Makefile.am:
5402 Add loop/getrange examples.
5404 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5407 check for valgrind binary + some fixes
5409 valgrind suppressions for the tests
5410 * check/Makefile.am:
5411 add a valgrind: target that valgrinds the unit tests
5412 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
5413 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
5414 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5415 * check/gst/gstghostpad.c:
5417 * check/gst/gstdata.c:
5419 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
5420 (thread_unref), (gst_mini_object_suite), (main):
5422 * gst/gst.c: (gst_deinit):
5424 add a method to clean up.
5425 * gst/gstsystemclock.c: (gst_system_clock_dispose),
5426 (gst_system_clock_obtain):
5427 allow for disposing the system clock.
5428 * tools/gst-launch.c: (main):
5431 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
5433 * docs/gst/tmpl/gstbasesrc.sgml:
5434 * docs/gst/tmpl/gstfakesrc.sgml:
5435 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5436 (gst_base_src_init), (gst_base_src_set_property),
5437 (gst_base_src_get_property), (gst_base_src_get_range),
5438 (gst_base_src_start):
5439 * gst/base/gstbasesrc.h:
5440 add num-buffers property
5441 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5442 (gst_fakesrc_init), (gst_fakesrc_set_property),
5443 (gst_fakesrc_get_property), (gst_fakesrc_create),
5444 (gst_fakesrc_start):
5445 remove num-buffers property
5447 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5449 * docs/gst/gstreamer-sections.txt:
5450 * docs/gst/tmpl/gstbasesink.sgml:
5451 * docs/gst/tmpl/gstbasesrc.sgml:
5452 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
5453 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
5454 (gst_base_sink_finalize), (gst_base_sink_set_clock),
5455 (gst_base_sink_set_property), (gst_base_sink_get_property),
5456 (gst_base_sink_handle_object), (gst_base_sink_event),
5457 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5458 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
5459 (gst_base_sink_loop), (gst_base_sink_deactivate),
5460 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
5461 (gst_base_sink_change_state):
5462 * gst/base/gstbasesink.h:
5463 * gst/base/gstbasesrc.h:
5464 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
5465 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5466 (gst_filesink_init):
5467 more macro splitting
5469 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5471 * gst/gstelement.c: (gst_element_get_bus):
5473 * tools/gst-launch.c: (check_intr), (event_loop):
5476 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5478 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5481 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
5483 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5484 (gst_base_src_finalize):
5485 add finalize method and clean up properly
5486 * gst/gstpipeline.c: (gst_pipeline_dispose):
5489 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5491 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
5493 add more things to check
5494 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
5498 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5500 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5501 (GST_START_TEST), (fakesrc_suite):
5502 * check/gst-libs/gdp.c: (GST_START_TEST):
5503 * check/gst/gst.c: (GST_START_TEST):
5504 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5505 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5506 * check/gst/gstbus.c: (GST_START_TEST):
5507 * check/gst/gstcaps.c: (GST_START_TEST):
5508 * check/gst/gstdata.c: (GST_START_TEST):
5509 * check/gst/gstelement.c: (GST_START_TEST):
5510 * check/gst/gstghostpad.c: (GST_START_TEST):
5511 * check/gst/gstiterator.c: (GST_START_TEST):
5512 * check/gst/gstmessage.c: (GST_START_TEST):
5513 * check/gst/gstobject.c: (GST_START_TEST):
5514 * check/gst/gstpad.c: (GST_START_TEST):
5515 * check/gst/gststructure.c: (GST_START_TEST):
5516 * check/gst/gstsystemclock.c: (GST_START_TEST),
5517 (gst_systemclock_suite):
5518 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
5519 * check/gst/gstvalue.c: (GST_START_TEST):
5520 * check/pipelines/cleanup.c: (GST_START_TEST):
5521 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5522 * check/states/sinks.c: (GST_START_TEST):
5523 * check/gstcheck.c: (gst_check_init):
5525 add debugging category
5526 use GST_START_TEST now, so we add a debug line
5528 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
5530 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
5531 add test for state change message on a bin
5532 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
5534 * gst/gstbin.c: (gst_bin_init):
5535 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
5536 * gst/gstelement.c: (gst_element_post_message),
5537 (gst_element_set_state):
5538 * gst/gstelementfactory.c: (gst_element_factory_create):
5539 * gst/gstmessage.c: (gst_message_new):
5540 * gst/gstscheduler.c:
5541 various debugging additions and cleanups
5543 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5545 * check/Makefile.am:
5546 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
5548 adding tests for elements
5549 * gst/gstelement.c: (gst_element_dispose):
5551 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5553 * gst/registries/gstlibxmlregistry.c: (load_feature):
5554 plug more leaks. A simple gst_init() now is leakfree, yay.
5556 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5558 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
5559 (gst_xml_registry_load):
5560 plug another memleak
5562 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5565 use GST_SET_ERROR_CFLAGS
5567 change to ERROR_CFLAGS
5569 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
5572 make GST_ERROR_CFLAGS overridable and re-enable Werror
5574 add a note about error CFLAGS
5575 * docs/gst/tmpl/gstfakesrc.sgml:
5576 * gst/elements/gstfakesrc.c:
5577 comment out some unused code
5578 * gst/gst.c: (split_and_iterate):
5579 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
5583 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5585 * common/Makefile.am:
5586 * common/gtk-doc.mak:
5587 * docs/gst/Makefile.am:
5588 factor out gtk-doc.mak
5590 2005-07-07 Wim Taymans <wim@fluendo.com>
5592 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
5593 (gst_thread_scheduler_dispose):
5594 Unlock the STREAM_LOCK completely.
5596 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
5598 * check/Makefile.am:
5599 * check/elements/.cvsignore:
5600 * check/elements/gstfakesrc.c: (chain_func), (event_func),
5601 (START_TEST), (fakesrc_suite), (main):
5602 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5603 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
5604 (gst_fakesrc_create), (gst_fakesrc_start):
5605 * gst/elements/gstfakesrc.h:
5606 adding a first element test
5608 2005-07-07 Andy Wingo <wingo@pobox.com>
5610 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
5613 2005-07-07 Wim Taymans <wim@fluendo.com>
5619 2005-07-07 Wim Taymans <wim@fluendo.com>
5621 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
5622 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
5623 Allow subclasses to implement their own negotiation.
5625 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5627 * docs/design/part-gstbin.txt:
5628 * docs/design/part-gstpipeline.txt:
5629 Update design notes to reflect the movement of
5630 responsibility for bus handling from GstPipeline to
5633 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5636 Remove unnecessary queue2/3/4 examples.
5638 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
5640 * examples/Makefile.am:
5641 * examples/helloworld/helloworld.c: (event_loop), (main):
5642 * examples/queue/queue.c: (event_loop), (main):
5643 * examples/queue2/queue2.c: (main):
5644 Update a couple of the examples to work again.
5646 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5647 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
5648 Spelling corrections and extra debug.
5650 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
5651 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
5652 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
5654 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
5655 (gst_pipeline_change_state):
5656 * gst/gstpipeline.h:
5657 Move the bus handler for children to the GstBin, and create a
5658 separate bus for receiving messages from children to the one the
5659 bus sends 'upwards' on.
5661 2005-07-06 Wim Taymans <wim@fluendo.com>
5664 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5665 (gst_base_sink_handle_object), (gst_base_sink_loop),
5666 (gst_base_sink_change_state):
5667 * gst/base/gstbasesink.h:
5668 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5669 (gst_base_src_init), (gst_base_src_setcaps),
5670 (gst_base_src_getcaps), (gst_base_src_loop),
5671 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
5672 (gst_base_src_start), (gst_base_src_change_state):
5673 * gst/base/gstbasesrc.h:
5674 Make basesrc negotiate.
5675 Handle the case where preroll fails in basesink.
5678 2005-07-06 Wim Taymans <wim@fluendo.com>
5680 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
5681 Implement the fixate function.
5682 Clean up acceptcaps.
5684 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5686 * docs/pwg/building-filterfactory.xml:
5688 Remove never-written filter-factory chapter; I'll add the various
5689 base classes to part 4 ("other element types") later on.
5691 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5693 * docs/pwg/advanced-negotiation.xml:
5694 * docs/pwg/building-boiler.xml:
5695 * docs/pwg/building-pads.xml:
5697 * examples/pwg/Makefile.am:
5698 Add a chapter on caps negotiation, simplify the original code
5699 samples a bit w.r.t. caps negotiation, add link to the advanced
5700 section. Add a bunch of examples showing different use cases of
5701 different types of caps negotiation. Upstream renegotiation isn't
5702 fully documented yet since nobody knows how that works.
5704 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
5706 * check/gst/gstpad.c:
5708 * gst/gstpad.c: (gst_pad_get_internal_links_default):
5709 if pad has no parent, return NULL as list of internal links
5711 2005-07-05 Andy Wingo <wingo@pobox.com>
5713 * gst/elements/gstfilesrc.c:
5714 * gst/elements/gstfakesrc.c:
5715 * gst/base/gstpushsrc.c:
5716 * gst/base/gstbasesrc.h:
5717 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
5719 2005-07-05 Stefan Kost <ensonic@users.sf.net>
5722 better report generation target (lcov needs a patch)
5724 2005-07-05 Andy Wingo <wingo@pobox.com>
5726 * gst/elements, testsuite: Null if we got it...
5728 2005-07-05 Wim Taymans <wim@fluendo.com>
5731 * libs/gst/dataprotocol/Makefile.am:
5732 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
5733 * libs/gst/dataprotocol/dataprotocol.h:
5734 * pkgconfig/Makefile.am:
5735 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
5736 * pkgconfig/gstreamer-dataprotocol.pc.in:
5737 Ported dataprotol to 0.9.
5738 Added pkgconfig files.
5740 2005-07-05 Andy Wingo <wingo@pobox.com>
5742 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
5743 Default to returning TRUE for the case when tranform_caps returns
5744 a fixed caps, like for identity or volume.
5746 * check/gst/gstbus.c (pound_bus_with_messages):
5747 * check/gst/gstmessage.c (START_TEST):
5748 * check/pipelines/simple_launch_lines.c (got_handoff): Application
5751 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
5752 logic weaks here: always run transform_caps, trying passthrough
5753 operation only if the original caps intersects with the transform.
5755 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
5756 source and sink caps.
5758 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
5759 Intersect the peer caps with the pad template before going into
5761 (gst_base_transform_transform_caps): More debugging.
5763 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
5766 2005-07-04 Edward Hervey <edward@fluendo.com>
5770 (gst_pad_add_*_probe): now returns the signal id for better wrapping
5773 2005-07-04 Andy Wingo <wingo@pobox.com>
5775 * check/gst/gstpad.c: Only set explicit caps on pads.
5777 2005-07-01 Andy Wingo <wingo@pobox.com>
5779 * tests/network-clock.scm: Commentary update.
5781 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
5782 Didn't really make sense, not implementable with basetransform,
5784 (gst_identity_transform): Unref inbuf via make_writable. Feeble
5785 attempt at implementing the sync property, needs an unlock method.
5787 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
5788 New func, by default returns the same caps (the identity
5790 (gst_base_transform_getcaps): Uses transform_caps to return
5792 (gst_base_transform_setcaps): Complicated logic to get caps on
5793 both pads, even if they are different, and to call set_caps once
5794 for every time both pads get their caps set.
5795 (gst_base_transform_handle_buffer): Give the ref to the transform
5796 function. Allows in-place modification of the buffer.
5798 * gst/base/gstbasetransform.h (transform_caps): New class method.
5799 Given caps on one side, what can I do on the other.
5800 (set_caps): Take two caps, one for each side of the element.
5803 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
5804 caps in place. This is safe because we can check the mutability of
5805 the caps, and a good idea because fixate functions are just called
5806 as a matter of last resort. (Not actually implemented.)
5807 (gst_pad_set_caps): If the caps we're setting is actually the same
5808 as the existing pad caps, just update the pointer without calling
5809 setcaps. Assert that caps is either NULL or fixed, as per the
5812 * gst/gstghostpad.c: Update for fixate changes.
5814 2005-07-02 Andy Wingo <wingo@pobox.com>
5817 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
5818 two refcounts makes it immutable, which is enough. Doc more.
5820 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
5822 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
5823 Put the mini_object into GValue as a mini_object,
5824 not a gpointer, since that's how we declared
5827 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5829 * examples/pwg/Makefile.am:
5832 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5834 * docs/pwg/building-testapp.xml:
5836 * examples/pwg/Makefile.am:
5839 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5842 * examples/Makefile.am:
5843 * examples/pwg/Makefile.am:
5844 * examples/pwg/extract.pl:
5845 Enable building the PWG examples.
5846 * docs/pwg/advanced-interfaces.xml:
5847 Add URI interface stub.
5848 * docs/pwg/advanced-types.xml:
5849 * docs/pwg/other-autoplugger.xml:
5850 * docs/pwg/appendix-porting.xml:
5852 Add porting guide (mostly stubs), remove autoplugging (see ADM).
5853 * docs/pwg/building-boiler.xml:
5854 * docs/pwg/building-chainfn.xml:
5855 * docs/pwg/building-pads.xml:
5856 * docs/pwg/building-props.xml:
5857 * docs/pwg/building-state.xml:
5858 * docs/pwg/building-testapp.xml:
5859 Update the building-*.xml parts for 0.9 changes. All examples
5860 code blocks compile in examples/pwg/*.
5862 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5864 * docs/manual/advanced-autoplugging.xml:
5865 * docs/manual/appendix-checklist.xml:
5866 * docs/manual/appendix-integration.xml:
5867 * docs/manual/highlevel-components.xml:
5868 Fix playbin/decodebin examples, update docs a bit, mention bus
5869 instead of signals in various places, mention kmplayer and
5870 kaffeine since they have a working GStreamer backend in the KDE
5873 2005-06-30 Wim Taymans <wim@fluendo.com>
5876 * docs/design/draft-ghostpads.txt:
5877 * docs/design/draft-push-pull.txt:
5878 * docs/design/draft-query.txt:
5879 * docs/design/part-TODO.txt:
5880 * docs/design/part-query.txt:
5881 Added CHANGES-0.9 doc, updated status of other docs.
5886 2005-06-30 Wim Taymans <wim@fluendo.com>
5888 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
5889 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
5890 (gst_base_sink_change_state):
5891 * gst/base/gstbasesink.h:
5892 Some tweaks, only EOS and a buffer complete a preroll.
5894 2005-06-30 Andy Wingo <wingo@pobox.com>
5896 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
5897 activate_push down to the internal pad as well.
5899 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
5901 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5903 * gst/gsttaginterface.c:
5904 Some documentation fixes (#307394 and #307397).
5906 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
5908 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5910 * gst/gstvalue.c: (gst_value_intersect_list):
5911 Fix memleak (#309125).
5913 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5915 * docs/manual/advanced-dataaccess.xml:
5916 Fix fakesrc example to compile; doesn't work, bug somewhere...?
5917 * docs/manual/basics-pads.xml:
5918 Add reference for filtered caps to above chapter.
5920 2005-06-30 Wim Taymans <wim@fluendo.com>
5922 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
5923 (gst_bin_change_state):
5925 Lame attempt at making the state change function a bit
5928 2005-06-30 Wim Taymans <wim@fluendo.com>
5930 * docs/design/part-clocks.txt:
5931 * docs/design/part-element-sink.txt:
5932 * docs/design/part-events.txt:
5933 * docs/design/part-preroll.txt:
5934 * docs/design/part-states.txt:
5935 Some more tweeks and additions to the docs.
5937 2005-06-30 Wim Taymans <wim@fluendo.com>
5939 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5940 (default_have_data), (gst_pad_class_init), (gst_pad_init),
5941 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5942 (gst_pad_check_pull_range), (gst_pad_get_range),
5943 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
5945 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
5946 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5947 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5948 (gst_pad_remove_buffer_probe):
5949 Removed atomic operations, use existing LOCK.
5950 Move exception handling out of main code path.
5952 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5954 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5955 (silly_return_true_function), (gst_pad_class_init),
5956 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
5957 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
5958 (gst_pad_send_event):
5959 Fix accumulator, add default value by using _emitv() instead
5960 of _emit() for signal emission.
5962 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5964 * docs/manual/advanced-dataaccess.xml:
5965 * examples/manual/Makefile.am:
5967 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
5970 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
5972 * gst/elements/gstfilesink.c: (gst_filesink_render):
5973 Simplify code so that we don't have to handle short
5974 writes and return GST_FLOW_ERROR if an error occured.
5976 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5978 * docs/gst/gstreamer-docs.sgml:
5981 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5983 * docs/gst/gstreamer-sections.txt:
5984 * docs/gst/tmpl/gstpad.sgml:
5985 * docs/gst/tmpl/gstprobe.sgml:
5987 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
5988 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
5989 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5990 (gst_pad_push_event), (gst_pad_send_event):
5992 * gst/gstutils.c: (gst_pad_add_data_probe),
5993 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5994 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5995 (gst_pad_remove_buffer_probe):
5997 Remove old probes, add new g-signal-based probes and some utility
6000 2005-06-29 Edward Hervey <edward@fluendo.com>
6002 * gst/gstelementfactory.c:
6005 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
6006 the definition to the header file.
6008 2005-06-29 Andy Wingo <wingo@pobox.com>
6010 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
6011 plugins from the source directory.
6013 2005-06-29 Wim Taymans <wim@fluendo.com>
6015 * docs/gst/tmpl/gstbuffer.sgml:
6016 * docs/gst/tmpl/gstclock.sgml:
6017 Some fixings for blantently wrong text.
6019 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6021 * check/Makefile.am:
6022 * gst/gst.c: (add_path_func), (init_pre):
6023 * gst/gstregistry.c: (gst_registry_add_path):
6024 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
6025 only scan the GST_PLUGIN_PATH locations, and not add
6028 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
6030 * docs/gst/gstreamer-sections.txt:
6031 * docs/gst/tmpl/gstbasesrc.sgml:
6038 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6040 * docs/manual/advanced-autoplugging.xml:
6041 Fix autoplugging example.
6043 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6045 * docs/manual/advanced-autoplugging.xml:
6046 * docs/manual/mime-world.fig:
6047 Try to get autoplugging working, fix type detection. Fix text
6048 in hello-world image.
6050 2005-06-29 Wim Taymans <wim@fluendo.com>
6052 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6053 (gst_base_sink_change_state):
6057 map SIGNAL and BROADCAST to the right function.
6060 Remove redundant braces.
6062 * gst/gstpad.c: (gst_pad_set_caps):
6063 Don't call setcaps function when reseting caps to NULL.
6065 * gst/gstsystemclock.c: (gst_system_clock_dispose),
6066 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
6067 (gst_system_clock_id_unschedule):
6068 Use BROADCAST as this is what we do.
6070 2005-06-29 Wim Taymans <wim@fluendo.com>
6072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6073 We are actually prerolling before commiting the state
6076 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6078 * docs/manual/advanced-clocks.xml:
6079 * docs/manual/advanced-interfaces.xml:
6080 * docs/manual/advanced-metadata.xml:
6081 * docs/manual/advanced-position.xml:
6082 * docs/manual/advanced-schedulers.xml:
6083 * docs/manual/advanced-threads.xml:
6084 * docs/manual/appendix-porting.xml:
6085 * docs/manual/basics-bins.xml:
6086 * docs/manual/basics-bus.xml:
6087 * docs/manual/basics-elements.xml:
6088 * docs/manual/basics-helloworld.xml:
6089 * docs/manual/basics-pads.xml:
6090 * docs/manual/highlevel-components.xml:
6091 * docs/manual/manual.xml:
6092 * docs/manual/thread.fig:
6093 Update (until threads/scheduling) Application Development Manual;
6094 remove GstThread, add GstBus, add simple porting checklist, add
6095 documentation for tag writing, clocks, make all examples until this
6096 part compile and run.
6097 * examples/manual/Makefile.am:
6098 Update from changes to Application Development Manual; add bus
6099 example, remove thread example.
6101 2005-06-28 Wim Taymans <wim@fluendo.com>
6103 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
6104 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
6105 (gst_bus_source_dispatch):
6106 Add debugging messages.
6107 Make internal methods static.
6108 Handle the case where the bus is flushed in the handler.
6110 * gst/gstelement.c: (gst_element_get_bus):
6111 Fix refcount in _get_bus();
6113 * gst/gstpipeline.c: (gst_pipeline_change_state),
6114 (gst_pipeline_get_clock_func):
6115 Clock refcounting fixes.
6116 Handle the case where preroll timed out more gracefully.
6118 * gst/gstsystemclock.c: (gst_system_clock_dispose):
6119 Clean up the internal thread in dispose. This is needed
6120 for subclasses that actually get disposed.
6122 * gst/schedulers/threadscheduler.c:
6123 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6124 (gst_thread_scheduler_dispose):
6125 Free thread pool in dispose.
6127 2005-06-28 Andy Wingo <wingo@pobox.com>
6129 * tests/network-clock-utils.scm (debug, print-event): New utils.
6131 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
6132 (*packet-loss*): Unified loss probability.
6133 (network-time): Report out-of-band events.
6135 * tests/plot-data: Add support for out-of-band events. Hack it
6136 into this script instead of passing it down the pipe; should fix
6139 2005-06-28 Wim Taymans <wim@fluendo.com>
6141 * docs/gst/gstreamer.types:
6142 * docs/gst/tmpl/gstbasesrc.sgml:
6143 * docs/gst/tmpl/gstpad.sgml:
6146 2005-06-28 Wim Taymans <wim@fluendo.com>
6148 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6149 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
6150 (gst_proxy_pad_do_fixatecaps):
6151 Correctly proxy the check_pull_range function.
6153 2005-06-28 Andy Wingo <wingo@pobox.com>
6155 * tests/network-clock.scm: Removed need for slib.
6157 2005-06-28 Wim Taymans <wim@fluendo.com>
6159 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
6160 (gst_basesink_preroll_queue_flush):
6161 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
6162 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
6163 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6164 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
6165 (gst_proxy_pad_set_property):
6168 * gst/gstqueue.c: (gst_queue_init):
6169 The deprecated pad loop function is removed now.
6171 2005-06-28 Andy Wingo <wingo@pobox.com>
6173 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
6174 New parameters, simulate network packet loss.
6176 * tests/network-clock-utils.scm: Initialize the RNG.
6178 2005-06-28 Wim Taymans <wim@fluendo.com>
6180 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
6181 (gst_basesink_event), (gst_basesink_deactivate):
6182 Flushing the preroll queue always needs to unlock the waiters.
6184 2005-06-28 Edward Hervey <edward@fluendo.com>
6186 * gst/gstpipeline.c: (gst_pipeline_send_event):
6187 Wheen a seek was successful on a pipeline, set the stream_time to the
6188 seek offset in order to have a synchronized stream_time.
6190 2005-06-28 Wim Taymans <wim@fluendo.com>
6192 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
6193 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
6194 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
6195 (gst_proxy_pad_do_fixatecaps):
6196 Call wrapper function instead of just calling the function
6197 pointers. This takes care of any locking and whatmore.
6199 2005-06-28 Wim Taymans <wim@fluendo.com>
6201 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
6202 (gst_pad_pull_range):
6204 CONNECTED -> LINKED.
6206 2005-06-28 Andy Wingo <wingo@pobox.com>
6208 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
6209 source-munging commit!!!
6211 * gst/gstobject.c (gst_object_unref, gst_object_ref)
6212 (gst_object_sink): Take gpointer arguments, not GstObject --
6213 avoids casts. Like GLib.
6215 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
6218 2005-06-27 Andy Wingo <wingo@pobox.com>
6220 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
6223 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
6224 returns a sorted copy of the trace list.
6225 (gst_alloc_trace_print_live): New API, only prints traces with
6226 live objects. Sort the list.
6227 (gst_alloc_trace_print_all): Sort the list.
6228 (gst_alloc_trace_print): Align columns.
6230 * gst/elements/gstttypefindelement.c:
6231 * gst/elements/gsttee.c:
6232 * gst/base/gstbasesrc.c:
6233 * gst/base/gstbasesink.c:
6234 * gst/base/gstbasetransform.c:
6235 * gst/gstqueue.c: Adapt for pad activation changes.
6237 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
6239 (gst_pipeline_dispose): Drop ref on sched.
6241 * gst/gstpad.c (gst_pad_init): Set the default activate func.
6242 (gst_pad_activate_default): Push mode by default.
6243 (pre_activate_switch, post_activate_switch): New stubs, things to
6244 do before and after switching activation modes on pads.
6245 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
6246 the pad's activate function to choose which mode to activate.
6247 Shortcut on deactivation and call the right function directly.
6248 (gst_pad_activate_pull): New API, (de)activates a pad in pull
6250 (gst_pad_activate_push): New API, same for push mode.
6251 (gst_pad_set_activate_function)
6252 (gst_pad_set_activatepull_function)
6253 (gst_pad_set_activatepush_function): Setters for new API.
6255 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
6256 Trace all miniobjects.
6257 (gst_mini_object_make_writable): Unref the arg if we copy, like
6258 gst_caps_make_writable.
6260 * gst/gstmessage.c (_gst_message_initialize): No trace init.
6262 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
6263 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
6264 Adapt for new pad API.
6266 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
6269 * gst/gstelement.c (gst_element_iterate_src_pads)
6270 (gst_element_iterate_sink_pads): New API functions.
6272 * gst/gstelement.c (iterator_fold_with_resync): New utility,
6273 should fold into gstiterator.c in some form.
6274 (gst_element_pads_activate): Simplified via use of fold and
6275 delegation of decisions to gstpad->activate.
6277 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
6280 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
6281 class once in init, like gstmessage. Didn't run into this issue
6282 but it seems correct. Don't initialize a trace, gstminiobject does
6285 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
6286 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
6288 (assert_live_count): New util function, uses alloc traces to check
6291 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
6292 To be modified when unlink drops the internal pad.
6294 2005-06-27 Wim Taymans <wim@fluendo.com>
6296 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
6297 (gst_bin_change_state):
6298 Cleanup the get_state() function a little, make sure it
6299 iterates the same set of elements.
6300 Added stub iterate_state_order().
6302 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
6304 * docs/gst/gstreamer-docs.sgml:
6305 * docs/gst/gstreamer-sections.txt:
6306 * docs/gst/gstreamer.types:
6307 * docs/gst/tmpl/gstbasesink.sgml:
6308 * docs/gst/tmpl/gstbasesrc.sgml:
6309 * docs/gst/tmpl/gstbasetransform.sgml:
6310 * docs/gst/tmpl/gstelement.sgml:
6311 * docs/gst/tmpl/gstiterator.sgml:
6312 * gst/base/gstbasesrc.c:
6313 * gst/base/gstbasesrc.h:
6314 * gst/base/gstbasetransform.h:
6316 * gst/gstiterator.h:
6317 adding basetransform and iterator docs
6319 2005-06-27 Andy Wingo <wingo@pobox.com>
6321 * docs/design/part-activation.txt: Notes on how activation should
6322 work -- not quite implemented yet.
6324 2005-06-25 Wim Taymans <wim@fluendo.com>
6326 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
6327 At least get the chain function correct, needs more
6330 2005-06-25 Wim Taymans <wim@fluendo.com>
6332 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6333 (gst_basesink_handle_object), (gst_basesink_event),
6334 (gst_basesink_do_sync), (gst_basesink_handle_event),
6335 (gst_basesink_change_state):
6337 Right, two problems here: ghostpads don't take locks and
6338 glib _rec_mutex_lock_full() with depth==0 still locks.
6339 Catch illegal locking and g_warn them.
6341 2005-06-25 Wim Taymans <wim@fluendo.com>
6343 * check/states/sinks.c: (START_TEST), (gst_object_suite):
6344 Have to check for completion now...
6346 2005-06-25 Wim Taymans <wim@fluendo.com>
6348 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6349 (gst_basesink_handle_object), (gst_basesink_event),
6350 (gst_basesink_do_sync), (gst_basesink_handle_event),
6351 (gst_basesink_change_state):
6353 Unlock STREAM_LOCK whatever the recursion was.
6355 2005-06-25 Wim Taymans <wim@fluendo.com>
6357 * gst/base/gstbasesink.c: (gst_basesink_set_property),
6358 (gst_basesink_preroll_queue_empty),
6359 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
6360 (gst_basesink_event), (gst_basesink_do_sync),
6361 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
6362 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
6363 (gst_basesink_change_state):
6364 Reworked the base sink, handle event and buffer serialisation
6365 correctly and removed possible deadlock.
6366 Handle EOS correctly.
6368 2005-06-25 Wim Taymans <wim@fluendo.com>
6370 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
6371 (gst_pipeline_change_state):
6372 * tools/gst-launch.c: (check_intr), (event_loop), (main):
6373 Allow elements to post EOS in the state change function.
6374 Fix up -launch, make it exit the poll loop when the
6375 pipeline actually changed state.
6376 Fix up warning parsing in -launch.
6378 2005-06-25 Wim Taymans <wim@fluendo.com>
6380 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
6381 (gst_tee_sink_activate):
6382 Core takes STREAM_LOCK for us now.
6384 2005-06-25 Wim Taymans <wim@fluendo.com>
6386 * gst/gstelement.c: (gst_element_get_state_func),
6387 (gst_element_set_state):
6389 * gst/gstmessage.c: (gst_message_parse_error),
6390 (gst_message_parse_warning):
6391 Keep track of current target state while performing a state
6392 change so that subclasses can do something interesting.
6393 Fix parsing of warning/error messages when GError is NULL.
6395 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
6397 * docs/gst/Makefile.am:
6398 * docs/gst/gstreamer-docs.sgml:
6399 * docs/gst/gstreamer-sections.txt:
6400 * docs/gst/gstreamer.types:
6401 * docs/gst/tmpl/gstbasesink.sgml:
6402 * docs/gst/tmpl/gstbasesrc.sgml:
6403 * docs/gst/tmpl/gstbin.sgml:
6404 * docs/gst/tmpl/gstcompat.sgml:
6405 * docs/gst/tmpl/gstfakesink.sgml:
6406 * docs/gst/tmpl/gstfakesrc.sgml:
6407 * docs/gst/tmpl/gstfilesink.sgml:
6408 * docs/gst/tmpl/gstfilesrc.sgml:
6409 * docs/gst/tmpl/gstindex.sgml:
6410 * docs/manual/appendix-quotes.xml:
6411 * gst/base/gstbasesrc.h:
6412 * gst/elements/gstfakesrc.h:
6414 start pulling in base classes and elements in our docs
6416 2005-06-24 Stefan Kost <ensonic@users.sf.net>
6418 * docs/gst/Makefile.am:
6419 * docs/libs/Makefile.am:
6420 fixed make distcheck with gtk-doc 1.3
6422 2005-06-23 Wim Taymans <wim@fluendo.com>
6424 * gst/gstelement.c: (gst_element_get_state_func),
6425 (gst_element_set_state), (gst_element_change_state):
6426 When the state did not change, also report NO_PREROLL
6429 2005-06-23 Wim Taymans <wim@fluendo.com>
6431 * gst/gstpad.c: (gst_pad_event_default):
6432 * gst/gstqueue.c: (gst_queue_loop):
6433 No unsafe task pausing please.
6435 2005-06-23 Wim Taymans <wim@fluendo.com>
6437 * gst/schedulers/threadscheduler.c:
6438 (gst_thread_scheduler_task_start),
6439 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
6440 Ref the task before pushing it on the threadpool. This
6441 makes sure that we have a ref when the threadfunction is
6444 2005-06-23 Andy Wingo <wingo@pobox.com>
6446 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
6447 offset is greater than the file's size.
6449 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
6450 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
6451 * gst/gstobject.c (gst_object_class_init): Make the class lock
6452 recursive. Wim won't let me drop deep_notify. Decodebin works
6455 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
6456 internal pad, and hacks accordingly. Doesn't do it on the target
6457 pad because we change its caps. Probably catches all cases of
6459 (gst_ghost_pad_set_property): Connect to notify::caps as
6462 * tests/network-clock.scm (plot-simulation): Pipe data to the
6463 elite python skript.
6465 * tests/network-clock-utils.scm (define-parameter): New macro,
6466 defines a parameter that can be set via the command line.
6467 (set-parameter!, parse-parameter-arguments): Command line args
6470 * tests/plot-data: Simple matplotlib-based plotter, takes input on
6473 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
6475 * gst/elements/gsttypefindelement.c:
6476 (gst_type_find_element_handle_event):
6477 Don't restart typefinding on a discont.
6478 * gst/gstelement.c: (gst_element_set_state):
6480 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
6481 Allow changing mode of an active pad.
6483 * gst/registries/gstlibxmlregistry.c: (load_feature):
6484 Don't cast a static pad template to a normal pad template.
6486 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
6488 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6489 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6490 remove gst_strtoll completely, since it didn't actually do
6491 anything more than what g_ascii_strtoull already does.
6492 check for range errors when deserializing
6493 do a cast for the unsigned cases; but further fixing needs
6494 a decision on what the interpretation of "(int)" and
6495 deserialization should be for values that fall outside the
6496 type's boundaries (ie, refuse, or interpret as casting)
6498 2005-06-23 Wim Taymans <wim@fluendo.com>
6500 * check/Makefile.am:
6501 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
6502 * docs/design/part-live-source.txt:
6503 * docs/design/part-states.txt:
6504 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6505 (gst_basesrc_set_live), (gst_basesrc_is_live),
6506 (gst_basesrc_get_range), (gst_basesrc_activate),
6507 (gst_basesrc_change_state):
6508 * gst/base/gstbasesrc.h:
6509 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6510 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6511 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
6512 * gst/gstelement.c: (gst_element_get_state_func),
6513 (gst_element_set_state):
6516 * tools/gst-launch.c: (event_loop), (main):
6517 Added support for live sources and other elements that
6519 Updated design docs, added live-source design doc.
6520 Implemented live source functionality in basesrc
6521 Fix error condition in _bin_get_state()
6522 Implement live source handling in -launch.
6523 Added check for live sources.
6524 Fixed case in GstBin where elements were changed state
6528 2005-06-23 Andy Wingo <wingo@pobox.com>
6530 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
6533 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
6534 gst_caps_replace takes care of this for us.
6536 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
6537 gst_pad_set_caps on the target, not just its setcaps() function.
6539 * tests/network-clock.scm:
6540 * tests/network-clock-utils.scm: A network clock simulator.
6541 Something of an algorithmic testbed before doing something in C.
6543 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6545 * check/Makefile.am:
6546 * check/gst/capslist.h:
6547 copy over from 0.8, and add two with bitmasks specified with
6549 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6550 add test to parse everything from capslist.h
6551 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
6553 add test for structure deserialization
6554 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6555 add tests for deserialization of strings to int types
6556 * gst/gststructure.c: (gst_structure_nth_field_name):
6557 * gst/gststructure.h:
6558 add a way to get the name of a field referenced by index
6559 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
6560 instead of checking if the resulting long long lies between
6561 min and max, we check if the long long would fit into
6562 a number of bytes for the final type.
6563 This fixes cases where a string represents 2^32 - 1, which
6564 when cast to int would be the (valid) -1, but is bigger than
6567 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6569 * gst/parse/grammar.y:
6570 add a log line for type deserialization
6572 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
6574 * check/gst/gstvalue.c: (START_TEST):
6575 * gst/gstvalue.c: (gst_value_deserialize):
6576 return long long, not int, so gint64 deserialization actually
6577 works. Is there any flag that makes the compiler check this ?
6580 2005-06-22 Wim Taymans <wim@fluendo.com>
6583 Added convenience macros for setting buffers in GValue.
6585 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6587 * check/gst/.cvsignore:
6588 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
6589 add a test deserializing int64, and comment part out because
6592 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
6594 * check/Makefile.am:
6595 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
6596 * testsuite/Makefile.am:
6597 * testsuite/caps/Makefile.am:
6598 * testsuite/caps/value_serialize.c:
6599 * testsuite/test_gst_init.c:
6600 move a value_serialize test over
6602 2005-06-20 Wim Taymans <wim@fluendo.com>
6607 * gst/gstvalue.c: (gst_value_compare_buffer),
6608 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
6609 (gst_value_compare_flags), (gst_value_serialize_flags),
6610 (gst_value_deserialize_flags), (_gst_value_initialize):
6611 Fix serialisation of buffers, they are not boxed types anymore
6613 2005-06-20 Wim Taymans <wim@fluendo.com>
6615 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
6616 Testcase to show error in buffer-on-caps serialisation.
6618 2005-06-20 Andy Wingo <wingo@pobox.com>
6620 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
6621 will be adding to later.
6623 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
6624 if its socks fill with rocks.
6625 (gst_system_clock_obtain): Set the name on object construction.
6626 Avoid double-checked locking.
6628 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
6630 * gst/gsturi.c: (gst_element_make_from_uri):
6631 Fix potential endless loop.
6633 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6635 * check/Makefile.am:
6637 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
6639 move over from testsuite dir and clean up
6642 * testsuite/Makefile.am:
6643 * testsuite/tags/.cvsignore:
6644 * testsuite/tags/Makefile.am:
6645 * testsuite/tags/merge.c:
6646 remove testsuite/tags
6648 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6650 * docs/gst/gstreamer-sections.txt:
6651 * docs/gst/tmpl/gstenumtypes.sgml:
6652 * win32/gstenumtypes.c:
6653 clean up documentation build a little
6655 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6658 add macros for checking refcounts on objects and caps
6659 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
6660 add some more unit tests
6661 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6662 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
6663 fix leaked refcounts (I hope :)) so unittest works
6667 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
6669 * configure.ac: back to HEAD
6671 === release 0.9.1 ===
6673 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
6679 2005-06-17 Andy Wingo <wingo@pobox.com>
6681 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
6682 assert; it's always possible that the pad gets deactivated in
6683 between the checks in gstpad.c and the implementation. Rely on
6684 finish_preroll() to return a FLUSHING or similar instead of on the
6687 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
6688 clock and post an EOS message if we come out of finish_preroll in
6691 2005-06-16 David Schleef <ds@schleef.org>
6693 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
6694 (gst_capsfilter_set_property): Allow NULL as possible value
6695 for filter_caps property, indicating GST_CAPS_ANY.
6697 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6699 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
6701 * gst/schedulers/Makefile.am:
6703 * gstreamer.spec.in:
6706 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
6708 * gstreamer.spec.in:
6711 2005-06-08 Andy Wingo <wingo@pobox.com>
6713 * gst/gstutils.c: RPAD fixes all around.
6714 (gst_element_link_pads): Refcounting fixes.
6716 * tools/gst-inspect.c:
6717 * tools/gst-xmlinspect.c:
6719 * gst/base/gsttypefindhelper.c:
6720 * gst/base/gstbasesink.c:
6721 * gst/gstqueue.c: RPAD fixes.
6723 * gst/gstghostpad.h:
6724 * gst/gstghostpad.c: New ghost pad implementation as full proxy
6725 pads. The tricky thing is they provide both source and sink
6726 interfaces, since they proxy the internal pad for the external
6727 pad, and vice versa. Implement with lower-level ProxyPad objects,
6728 with the interior proxy pad as a child of the exterior ghost pad.
6729 Should write a doc on this.
6731 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
6732 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
6735 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
6736 pads are real pads. No ghost pads in this file. Not documenting
6737 the myriad s/RPAD/PAD/ and REALIZE fixes.
6738 (gst_pad_class_init): Add properties for "direction" and
6739 "template". Both are construct-only, so they can't change during
6740 the life of the pad. Fixes properly deriving from GstPad.
6741 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
6742 derived objects, just set properties when creating the objects via
6744 (gst_pad_get_parent): Implement as a function, return NULL if the
6745 parent is not an element.
6746 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
6747 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
6749 * gst/gstobject.c (gst_object_class_init): Make name a construct
6750 property. Don't set it in the object init.
6752 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
6753 with UNKNOWN direction.
6754 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
6755 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
6756 (gst_element_remove_pad): Remove ghost-pad special cases.
6757 (gst_element_pads_activate): Remove rpad cruft.
6759 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
6760 catch the pad's-parent-not-an-element case.
6762 * gst/gst.h: Include gstghostpad.h.
6764 * gst/gst.c (init_post): No more real, ghost pads.
6766 * gst/Makefile.am: Add gstghostpad.[ch].
6768 * check/Makefile.am:
6769 * check/gst/gstbin.c:
6770 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
6771 into a bin creates ghost pads, and that the refcounts are right.
6772 Partly moved from gstbin.c.
6774 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6776 * check/gst-libs/.cvsignore:
6777 * check/gst/.cvsignore:
6778 * check/pipelines/.cvsignore:
6780 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
6781 (START_TEST), (cleanup_suite), (main):
6782 add some tests related to cleanup after running pipelines
6784 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6786 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
6787 add a testsuite for GstBuffer
6789 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
6791 * gst/gstminiobject.h:
6792 add defines for accessing the refcount
6794 2005-06-03 Stefan Kost <ensonic@users.sf.net>
6796 * Makefile.am: added support for html unit test coverage reports
6798 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
6800 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
6801 Free existing caps if the capsfilter changes. Add a FIXME about
6802 setting those caps on the pads.
6804 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
6805 Before adding a ghost pad to a parent bin, check that there isn't
6806 already one for the element on the bin. Prevents infinite recursion
6807 when using decodebin in parse pipelines. Andy says he'll rewrite the
6808 way this works anyway, so ignore the hack.
6810 2005-06-02 Andy Wingo <wingo@pobox.com>
6812 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
6813 file size, pass it on to the type find helper.
6815 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
6816 segment_start and segment_end properly according to the seek
6817 method. Segment_end is still a bit flaky because offset can be
6818 negative for CUR and END cases, but it takes -1 as an "unset"
6821 2005-06-02 Wim Taymans <wim@fluendo.com>
6823 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
6824 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
6825 (gst_basesink_activate):
6826 * gst/base/gstbasesink.h:
6827 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6828 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6829 (gst_pad_query), (gst_pad_start_task):
6831 * gst/gstqueue.c: (gst_queue_bufferalloc),
6832 (gst_queue_handle_sink_event), (gst_queue_chain):
6833 Bufferalloc: return GstFlowReturn to more accuratly report
6834 why allocation failed.
6836 2005-06-02 Wim Taymans <wim@fluendo.com>
6838 * gst/gstpipeline.c: (gst_pipeline_send_event):
6839 Take snapshot of state without blocking.
6841 2005-06-02 Wim Taymans <wim@fluendo.com>
6843 * docs/design/part-TODO.txt:
6844 * docs/design/part-caps.txt:
6845 * docs/design/part-clocks.txt:
6846 * docs/design/part-negotiation.txt:
6847 * docs/design/part-preroll.txt:
6850 2005-05-30 Wim Taymans <wim@fluendo.com>
6852 * gst/elements/gstidentity.c: (gst_identity_event),
6853 (gst_identity_transform), (gst_identity_get_property):
6854 Protect last_message property as it is accessed from
6857 2005-05-30 Wim Taymans <wim@fluendo.com>
6859 * gst/gstelement.c: (gst_element_init),
6860 (gst_element_pads_activate), (gst_element_change_state):
6861 Slicker pad activation code.
6863 2005-05-30 Wim Taymans <wim@fluendo.com>
6867 * gst/gstelementfactory.h:
6869 Move elementfactory methods to separate .h file.
6871 2005-05-30 Wim Taymans <wim@fluendo.com>
6873 * docs/design/part-overview.txt:
6874 * gst/gstsystemclock.h:
6875 Small typo fixes, doc updates.
6877 2005-05-30 Wim Taymans <wim@fluendo.com>
6879 * gst/gst.c: (gst_init_get_popt_table), (init_post),
6880 (init_popt_callback):
6881 Remove cpu-opt flag.
6883 2005-05-30 Wim Taymans <wim@fluendo.com>
6885 * gst/gstbuffer.c: (gst_subbuffer_finalize),
6886 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
6888 Avoid typechecking in places where not needed.
6889 Added accessor for malloc_data.
6891 2005-05-30 Wim Taymans <wim@fluendo.com>
6893 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
6894 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
6895 (gst_pad_configure_sink), (gst_pad_configure_src),
6896 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
6897 (gst_pad_start_task):
6898 Propagate errors from _set_caps() in configure_src/sink
6899 functions instead of returning TRUE.
6900 FLUSH events can travel up and downstream
6903 2005-05-30 Wim Taymans <wim@fluendo.com>
6905 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6906 (gst_basesink_activate):
6907 Handle EOS in preroll.
6909 2005-05-30 Wim Taymans <wim@fluendo.com>
6911 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
6912 (gst_queue_loop), (gst_queue_handle_src_event):
6913 Remove old pieces of code
6914 Flushing the queue in an upstream event is a very bad idea.
6916 2005-05-26 Andy Wingo <wingo@pobox.com>
6918 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
6919 gst_value_set_mini_object so as to add a ref on the object (which
6920 will be removed when the value is unset).
6922 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
6923 arg type in ::handoff.
6925 * gst/gstelement.c (gst_element_change_state): Also deactivate
6926 pads in READY->NULL, just in case the element didn't make it to
6927 PAUSED. Wingo tested, Wim approved.
6929 2005-05-26 Wim Taymans <wim@fluendo.com>
6931 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6932 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
6933 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
6934 A flushing pad cannot be used to alloc_buffer from.
6936 2005-05-26 Wim Taymans <wim@fluendo.com>
6938 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
6939 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
6940 (gst_bus_source_dispatch), (gst_bus_source_finalize),
6941 (gst_bus_create_watch), (gst_bus_add_watch_full):
6943 Implement a real GSource and use g_main_context_wakeup() to
6944 signal new messages instead of the socketpair.
6946 2005-05-25 Wim Taymans <wim@fluendo.com>
6948 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
6949 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
6950 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6951 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6952 (gst_pad_send_event), (gst_pad_start_task):
6953 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
6954 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
6955 (gst_queue_sink_activate), (gst_queue_src_activate),
6956 (gst_queue_change_state):
6958 Fix state changes for non sinks. We now change sinks, then elements
6959 with unconnected srcpads, then the rest.
6960 More efficient queue unlocking in flush and state changes.
6961 Set the pad activate mode even if it does not have an activate
6964 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6966 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
6967 Don't go in pull mode for non-seekable sources.
6968 * gst/elements/gsttypefindelement.h:
6969 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
6970 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
6971 (free_entry), (stop_typefinding),
6972 (gst_type_find_element_handle_event), (find_peek),
6973 (gst_type_find_element_chain), (do_pull_typefind),
6974 (gst_type_find_element_change_state):
6975 Allow typefinding (w/o seeking) in push-mode, simplified version
6977 * gst/gstutils.c: (gst_buffer_join):
6979 gst_buffer_join() from 0.8.
6981 2005-05-25 Wim Taymans <wim@fluendo.com>
6983 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
6984 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
6985 (gst_pad_send_event), (gst_pad_start_task):
6986 Disable attempt at mode switching until it is figured out.
6988 2005-05-25 Wim Taymans <wim@fluendo.com>
6990 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
6991 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
6992 (gst_basesink_finish_preroll), (gst_basesink_chain),
6993 (gst_basesink_loop), (gst_basesink_activate),
6994 (gst_basesink_change_state):
6995 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
6996 (gst_basesrc_get_range), (gst_basesrc_loop),
6997 (gst_basesrc_activate):
6998 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6999 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7000 (gst_real_pad_init), (gst_real_pad_set_property),
7001 (gst_real_pad_get_property), (gst_pad_set_active),
7002 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
7003 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
7004 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
7005 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
7006 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7007 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
7008 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
7009 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
7010 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
7011 (gst_pad_stop_task):
7013 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
7014 (gst_queue_loop), (gst_queue_src_activate):
7015 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
7016 (gst_task_get_state):
7018 * gst/schedulers/threadscheduler.c:
7019 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
7020 Implement gst_pad_pause/start/stop_task(), take STREAM lock
7022 Remove ACTIVE pad flag, use FLUSHING everywhere
7023 Added _pad_chain(), _pad_get_range() to call chain/getrange
7025 Add locks around IS_FLUSHING when reading.
7026 Take STREAM lock in chain(), get_range() functions so plugins
7027 don't need to take it anymore.
7031 2005-05-25 Wim Taymans <wim@fluendo.com>
7033 * tools/gst-launch.c: (event_loop):
7034 Unref message after using its contents instead of
7037 2005-05-24 Wim Taymans <wim@fluendo.com>
7039 * docs/design/draft-ghostpads.txt:
7040 * docs/design/draft-push-pull.txt:
7041 * docs/design/draft-query.txt:
7042 * docs/design/part-overview.txt:
7043 Docs updates, added general overview doc.
7045 2005-05-21 David Schleef <ds@schleef.org>
7047 * docs/gst/tmpl/old/GstBin.sgml:
7048 * docs/gst/tmpl/old/GstBuffer.sgml:
7049 * docs/gst/tmpl/old/GstCaps.sgml:
7050 * docs/gst/tmpl/old/GstClock.sgml:
7051 * docs/gst/tmpl/old/GstCompat.sgml:
7052 * docs/gst/tmpl/old/GstData.sgml:
7053 * docs/gst/tmpl/old/GstElement.sgml:
7054 * docs/gst/tmpl/old/GstEvent.sgml:
7055 * docs/gst/tmpl/old/GstIndex.sgml:
7056 * docs/gst/tmpl/old/GstStructure.sgml:
7057 * docs/gst/tmpl/old/GstTag.sgml:
7058 * docs/gst/tmpl/old/cothreads.sgml:
7059 * docs/gst/tmpl/old/cothreads_compat.sgml:
7060 * docs/gst/tmpl/old/gettext.sgml:
7061 * docs/gst/tmpl/old/gobject2gtk.sgml:
7062 * docs/gst/tmpl/old/grammar.tab.sgml:
7063 * docs/gst/tmpl/old/gst-i18n-app.sgml:
7064 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
7065 * docs/gst/tmpl/old/gst_private.sgml:
7066 * docs/gst/tmpl/old/gstaggregator.sgml:
7067 * docs/gst/tmpl/old/gstarch.sgml:
7068 * docs/gst/tmpl/old/gstatomic_impl.sgml:
7069 * docs/gst/tmpl/old/gstbufferstore.sgml:
7070 * docs/gst/tmpl/old/gstdata_private.sgml:
7071 * docs/gst/tmpl/old/gstdisksink.sgml:
7072 * docs/gst/tmpl/old/gstdisksrc.sgml:
7073 * docs/gst/tmpl/old/gstelementfactory.sgml:
7074 * docs/gst/tmpl/old/gstextratypes.sgml:
7075 * docs/gst/tmpl/old/gstfakesink.sgml:
7076 * docs/gst/tmpl/old/gstfakesrc.sgml:
7077 * docs/gst/tmpl/old/gstfdsink.sgml:
7078 * docs/gst/tmpl/old/gstfdsrc.sgml:
7079 * docs/gst/tmpl/old/gstfilesink.sgml:
7080 * docs/gst/tmpl/old/gstfilesrc.sgml:
7081 * docs/gst/tmpl/old/gsthttpsrc.sgml:
7082 * docs/gst/tmpl/old/gstidentity.sgml:
7083 * docs/gst/tmpl/old/gstindexfactory.sgml:
7084 * docs/gst/tmpl/old/gstmarshal.sgml:
7085 * docs/gst/tmpl/old/gstmd5sink.sgml:
7086 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
7087 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
7088 * docs/gst/tmpl/old/gstpadtemplate.sgml:
7089 * docs/gst/tmpl/old/gstpipefilter.sgml:
7090 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
7091 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
7092 * docs/gst/tmpl/old/gstshaper.sgml:
7093 * docs/gst/tmpl/old/gstspider.sgml:
7094 * docs/gst/tmpl/old/gstspideridentity.sgml:
7095 * docs/gst/tmpl/old/gststatistics.sgml:
7096 * docs/gst/tmpl/old/gsttee.sgml:
7097 * docs/gst/tmpl/old/gsttimecache.sgml:
7098 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
7099 * docs/gst/tmpl/old/gstxmlregistry.sgml:
7100 * docs/gst/tmpl/old/gthread-cothreads.sgml:
7101 * docs/gst/tmpl/old/types.sgml:
7102 I didn't intend to add these or check them in.
7104 2005-05-19 David Schleef <ds@schleef.org>
7106 * configure.ac: Use -no-common everywhere. In a sane world, it
7107 would be the default in libtool, because without it, you can't
7108 build DLLs on Windows.
7109 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
7110 * docs/gst/gstreamer-sections.txt:
7111 * docs/gst/tmpl/gstcpu.sgml:
7112 * docs/gst/tmpl/gstdata.sgml:
7113 * docs/gst/tmpl/gstthread.sgml:
7115 2005-05-19 David Schleef <ds@schleef.org>
7117 * gst/gstminiobject.c: (gst_value_set_mini_object),
7118 (gst_value_take_mini_object), (gst_value_get_mini_object):
7119 * gst/gstminiobject.h: Add GValue set/get functions.
7121 2005-05-19 Wim Taymans <wim@fluendo.com>
7123 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
7124 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
7125 (gst_subbuffer_init), (gst_buffer_is_span_fast):
7127 * gst/gstbus.c: (gst_bus_post):
7128 * gst/gstelement.c: (gst_element_get_random_pad):
7129 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
7130 Make subbufer unref the parent in finalize.
7131 some more debugging info.
7134 2005-05-19 Wim Taymans <wim@fluendo.com>
7136 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7137 (gst_basesink_init), (gst_basesink_finalize),
7138 (gst_basesink_activate), (gst_basesink_change_state):
7139 Don't free preroll queue too early.
7141 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7145 Hi, I'm outdated. Please shoot me.
7147 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7149 * gst/gstpipeline.c: (gst_pipeline_send_event):
7150 Do not access variables after they have been deleted.
7152 2005-05-19 Wim Taymans <wim@fluendo.com>
7154 * tools/gst-inspect.c: (print_plugin_features):
7155 A plugin feature does unfortunatly not use the
7158 2005-05-18 Wim Taymans <wim@fluendo.com>
7160 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
7161 Port _span() functions to new subbuffers.
7163 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7165 * gst/gstbin.c: (gst_bin_add_func):
7166 Fix clock settery in bins when adding kids after the clock has
7169 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7171 * gst/elements/gstidentity.c: (gst_identity_class_init):
7172 Workaround until signals support GstMiniObject.
7174 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
7177 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
7179 2005-05-18 Wim Taymans <wim@fluendo.com>
7181 * gst/base/Makefile.am:
7182 * gst/base/gstadapter.c: (gst_adapter_base_init),
7183 (gst_adapter_class_init), (gst_adapter_init),
7184 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
7185 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
7186 (gst_adapter_flush), (gst_adapter_available),
7187 (gst_adapter_available_fast):
7188 * gst/base/gstadapter.h:
7189 Ported and added adapter to the base classes.
7191 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7195 Make sure the class is reffed/unreffed once before threads can be
7196 used. Fixes #304551.
7198 2005-05-17 Wim Taymans <wim@fluendo.com>
7200 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
7201 (gst_basesink_chain_unlocked), (gst_basesink_activate):
7202 * gst/gstminiobject.c: (gst_mini_object_get_type),
7203 (gst_mini_object_free):
7204 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
7205 (gst_pad_push), (gst_pad_push_event):
7206 * gst/gstqueue.c: (gst_queue_change_state):
7207 Don't queue buffers in basesink when we are flushing.
7208 Unref buffer when flushing in basesink.
7209 Flush queue when going to READY
7210 Unref buffer when _push() returns an error.
7211 Don't free MiniObject instance when refcount is incremented
7212 in _finalize() so that we can recover objects.
7214 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
7216 * docs/manual/advanced-schedulers.xml:
7217 * docs/manual/appendix-checklist.xml:
7218 * docs/pwg/advanced-clock.xml:
7219 * docs/pwg/advanced-interfaces.xml:
7220 * docs/pwg/advanced-request.xml:
7221 * docs/pwg/advanced-types.xml:
7222 * docs/pwg/intro-preface.xml:
7223 * examples/plugins/example.c: (gst_example_get_type),
7224 (gst_example_class_init), (gst_example_chain),
7225 (gst_example_set_property), (gst_example_get_property),
7226 (gst_example_change_state), (plugin_init):
7227 * examples/plugins/example.h:
7230 2005-05-17 Wim Taymans <wim@fluendo.com>
7232 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
7233 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
7234 * gst/gstqueue.c: (gst_queue_change_state):
7235 Clear queue when going to READY.
7236 Remove IN_SETCAPS flag too.
7238 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
7240 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
7241 Remove implicit cast from gboolean to GstElementStateReturn;
7242 make sure we still return failure in paused => ready case if
7243 the parent class fails to change state and our own stop
7246 2005-05-17 Wim Taymans <wim@fluendo.com>
7248 * tools/gst-launch.c: (event_loop):
7249 Message was unreffed too soon.
7251 2005-05-16 Andy Wingo <wingo@pobox.com>
7253 * gst/gstbin.c (sink_iterator_filter): Err... um...
7255 * check/gst/gstbin.c (test_ghost_pads): New test for the
7256 ghosting-if-elements-not-in-same-bin behavior.
7258 2005-05-16 David Schleef <ds@schleef.org>
7260 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
7261 accessing refcount directly.
7263 2005-05-15 David Schleef <ds@schleef.org>
7265 * check/Makefile.am: remove GstData checks
7266 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
7267 * gst/Makefile.am: add miniobject, remove data
7268 * gst/gst.h: add miniobject, remove data
7269 * gst/gstdata.c: remove
7270 * gst/gstdata.h: remove
7271 * gst/gstdata_private.h: remove
7272 * gst/gsttypes.h: remove GstEvent and GstMessage
7273 * gst/gstelement.c: (gst_element_post_message): fix for API changes
7274 * gst/gstmarshal.list: change BOXED -> OBJECT
7276 Implement GstMiniObject.
7277 * gst/gstminiobject.c:
7278 * gst/gstminiobject.h:
7280 Modify to be subclasses of GstMiniObject.
7281 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
7282 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
7283 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
7284 (gst_subbuffer_get_type), (gst_subbuffer_init),
7285 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
7288 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
7289 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
7290 (_gst_event_copy), (gst_event_new):
7292 * gst/gstmessage.c: (_gst_message_initialize),
7293 (gst_message_get_type), (gst_message_class_init),
7294 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
7295 (gst_message_new), (gst_message_new_error),
7296 (gst_message_new_warning), (gst_message_new_tag),
7297 (gst_message_new_state_changed), (gst_message_new_application):
7299 * gst/gstprobe.c: (gst_probe_perform),
7300 (gst_probe_dispatcher_dispatch):
7302 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
7303 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
7304 (_gst_query_copy), (gst_query_new):
7306 Update elements for GstData -> GstMiniObject changes
7308 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
7309 (gst_queue_chain), (gst_queue_loop):
7310 * gst/elements/gstbufferstore.c:
7311 (gst_buffer_store_add_buffer_func),
7312 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
7313 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7314 (gst_fakesink_render):
7315 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7316 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
7317 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
7318 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
7319 (gst_filesrc_create_read):
7320 * gst/elements/gstidentity.c: (gst_identity_class_init):
7321 * gst/elements/gsttypefindelement.c:
7322 (gst_type_find_element_src_event), (free_entry_buffers),
7323 (gst_type_find_element_handle_event):
7324 * libs/gst/dataprotocol/dataprotocol.c:
7325 (gst_dp_header_from_buffer):
7326 * libs/gst/dataprotocol/dataprotocol.h:
7327 * libs/gst/dataprotocol/dp-private.h:
7329 2005-05-15 David Schleef <ds@schleef.org>
7331 * gst/elements/gstelements.c: Don't include headers that were
7334 2005-05-15 David Schleef <ds@schleef.org>
7336 * gst/elements/Makefile.am: Remove some elements that don't
7337 need to be in the core (or even exist at all).
7338 * gst/elements/gstaggregator.c:
7339 * gst/elements/gstaggregator.h:
7340 * gst/elements/gstmd5sink.c:
7341 * gst/elements/gstmd5sink.h:
7342 * gst/elements/gstmultifilesrc.c:
7343 * gst/elements/gstmultifilesrc.h:
7344 * gst/elements/gstpipefilter.c:
7345 * gst/elements/gstpipefilter.h:
7346 * gst/elements/gstshaper.c:
7347 * gst/elements/gstshaper.h:
7348 * gst/elements/gststatistics.c:
7349 * gst/elements/gststatistics.h:
7350 * po/POTFILES.in: Remove above files.
7352 2005-05-14 Andy Wingo <wingo@pobox.com>
7354 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
7355 so as to get the refs right.
7356 (sink_iterator_filter): New function, wraps bin_element_is_sink,
7357 unreffing objects that don't pass the filter.
7359 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
7360 gst_element_set_bus.
7361 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
7362 normal cases, this will destroy the bus.
7364 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
7367 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
7370 2005-05-13 Andy Wingo <wingo@pobox.com>
7372 * gst/gstutils.c (gst_element_link_pads): Instead of calling
7373 gst_pad_link, call pad_link_maybe_ghosting,
7374 (pad_link_maybe_ghosting): Links pads, making sure that the
7375 elements being linked are in the same bin.
7376 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
7377 Helpers for pad_link_maybe_ghosting.
7379 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7382 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
7384 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
7386 * docs/design/part-element-source.txt:
7389 2005-05-12 Wim Taymans <wim@fluendo.com>
7391 * gst/base/gstbasesink.c: (gst_basesink_init),
7392 (gst_basesink_activate):
7393 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
7394 (gst_basesrc_is_seekable):
7395 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
7396 (bin_element_is_sink), (gst_bin_change_state):
7397 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7399 Identify sinks by their flag to avoid overly complicated
7401 Do state changes even for elements not reachable from the
7403 BaseSink is a sink now :)
7404 Some more debugging info in the basesrc.
7407 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7409 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
7410 Implement _query on a bin, similar to _send_event.
7412 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
7414 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
7415 Discont event offset format should be GST_FORMAT_BYTES,
7416 not GST_FORMAT_TIME.
7418 2005-05-12 Wim Taymans <wim@fluendo.com>
7420 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
7421 Same fix as Ronald's but without the signal.
7423 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7425 * gst/gstutils.c: (gst_element_query_position):
7426 No, an element is not a pad.
7428 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7430 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
7431 (gst_bin_get_state):
7432 If a child is removed from a bin while we remove the child from
7433 the bin and while we're retrieving its state, signal this to the
7434 get_state function so we abort the wait (instead of waiting for
7435 a timeout) and can immediately re-iterate over all other elements.
7437 2005-05-12 Wim Taymans <wim@fluendo.com>
7439 * gst/base/Makefile.am:
7440 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
7441 (gst_basesrc_start):
7442 * gst/base/gstbasesrc.h:
7443 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
7444 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
7445 (gst_pushsrc_init), (gst_pushsrc_create):
7446 * gst/base/gstpushsrc.h:
7447 Added is_seekable to BaseSrc
7448 Added simple PushSrc.
7450 2005-05-11 Wim Taymans <wim@fluendo.com>
7452 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
7453 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7454 (gst_element_link_pads), (gst_element_query_position),
7455 (gst_element_query_convert), (intersect_caps_func),
7456 (gst_pad_query_position), (gst_pad_query_convert):
7457 Fix refcounting in utils function.
7458 No point in trying to activate a pad when it's added, it could
7459 be added from the state change function and then we deadlock, the
7460 element has to decide what to do.
7462 2005-05-10 Andy Wingo <wingo@pobox.com>
7464 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
7465 *all* the arguments.
7467 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
7468 stream lock if it's a FLUSH_DONE; normal flushes don't get the
7469 lock (according to the docs -- if this is wrong change the docs).
7471 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
7472 flush messages in the NULL state.
7474 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
7475 message immediately and return.
7476 (gst_bus_set_flushing): New function. If a bus is flushing, it
7477 flushes out any queued messages and immediately unrefs new
7478 messages. This is so when an element goes to NULL, all of the
7479 unhandled messages coming from it can be freed, and their
7480 references to the element dropped. In other words: message source
7481 ref considered harmful :P
7483 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
7484 we're finished with it.
7486 * gst/gstmessage.c (gst_message_new_state_changed):
7488 2005-05-10 Wim Taymans <wim@fluendo.com>
7490 * gst/gstvalue.c: (gst_value_compare_flags),
7491 (gst_value_serialize_flags), (gst_value_deserialize_flags),
7492 (_gst_value_initialize):
7493 Added flags serialize/deserialize/compare code.
7495 2005-05-09 Andy Wingo <wingo@pobox.com>
7497 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
7498 Intersect the peer's caps with our caps.
7500 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7502 * gst/base/gsttypefindhelper.c: (helper_find_peek):
7503 * gst/elements/gsttypefindelement.c: (find_peek):
7504 Handle negative offsets better. Fixes decodebin.
7506 2005-05-09 Wim Taymans <wim@fluendo.com>
7508 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
7509 (gst_base_transform_event):
7510 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
7511 Implement accept_caps.
7512 Fix silly lock/unlock mismatch in base class.
7514 2005-05-09 Wim Taymans <wim@fluendo.com>
7516 * docs/design/draft-push-pull.txt:
7517 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
7518 * gst/elements/gstfilesink.c: (gst_filesink_init),
7519 (gst_filesink_query):
7520 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
7521 (gst_type_find_handle_src_query), (find_element_get_length):
7522 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
7526 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
7527 (gst_real_pad_get_caps_unlocked),
7528 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
7529 (gst_pad_event_default_dispatch), (gst_pad_event_default),
7530 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
7531 (gst_real_pad_dispose), (gst_real_pad_finalize),
7532 (gst_pad_load_and_link), (gst_pad_save_thyself),
7533 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
7534 (gst_pad_check_pull_range), (gst_pad_pull_range),
7535 (gst_pad_template_get_type), (gst_pad_template_class_init),
7536 (gst_pad_template_init), (gst_pad_template_dispose),
7537 (name_is_valid), (gst_static_pad_template_get),
7538 (gst_pad_template_new), (gst_static_pad_template_get_caps),
7539 (gst_pad_template_get_caps), (gst_pad_set_element_private),
7540 (gst_pad_get_element_private), (gst_pad_start_task),
7541 (gst_pad_pause_task), (gst_pad_stop_task),
7542 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
7543 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7544 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
7545 (gst_ghost_pad_new):
7547 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
7548 (gst_query_new_position), (gst_query_set_position),
7549 (gst_query_parse_position), (gst_query_new_convert),
7550 (gst_query_set_convert), (gst_query_parse_convert):
7552 * gst/gstqueryutils.c:
7553 * gst/gstqueryutils.h:
7554 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7555 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7556 (gst_queue_handle_src_query):
7557 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7558 (gst_element_query_position), (gst_element_query_convert),
7559 (intersect_caps_func), (gst_pad_query_position),
7560 (gst_pad_query_convert):
7562 * tools/gst-inspect.c: (print_pad_info):
7563 * tools/gst-xmlinspect.c: (print_element_info):
7564 Remove old query functions. Ported old code.
7565 Added position/convert helper functions to gstutils.
7566 Reordered gstpad.c code, grouping relevant things.
7567 Remove gst_message_new(), always need to speficy a specific
7571 2005-05-09 Andy Wingo <wingo@pobox.com>
7573 * gst/gstiterator.h: Add some includes.
7575 * gst/gstqueryutils.h: Include more headers.
7578 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
7579 some uses of gst_pad_query.
7581 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
7582 NULL out parameters.
7583 (gst_query_new_position): New proc, allocates a new position
7586 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
7587 gstqueryutils.c to the build.
7589 * gst/gststructure.c (gst_structure_set_valist): Implement with
7590 the generic G_VALUE_COLLECT.
7592 2005-05-08 Edward Hervey <bilboed@bilboed.com>
7594 * gst/Makefile.am: (gst_headers):
7595 Added gstqueryutils.h to the list of headers to install, that was
7596 a 'nachty' move wingo :)
7598 2005-05-06 Andy Wingo <wingo@pobox.com>
7601 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
7602 GstData, init a memchunk.
7603 (standard_definitions): Add a few query types, deprecate a few.
7604 (gst_query_get_type): New proc.
7605 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
7607 (gst_query_new_application, gst_query_get_structure): New public
7610 * docs/design/draft-query.txt: Removed LINKS from the query types,
7611 because all the rest can be dispatched to other pads -- seemed
7612 ugly to have a query that couldn't be dispatched. internal_links
7613 is fine as a pad method.
7615 * gst/gstpad.h: Add query2 as a pad method, add the new functions
7616 in gstpad.c, but maintain binary compatibility for the moment.
7617 Will fix before 0.9 is out.
7619 * gst/gstqueryutils.c:
7620 * gst/gstqueryutils.h: New files, implement 3 methods for each
7621 query type: parse_query, parse_response, and set. Probably need an
7624 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
7626 * gst/elements/gstfilesink.c (gst_filesink_query2):
7627 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
7628 query_types, and formats methods.
7630 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
7631 (gst_pad_set_query2_function): New functions.
7632 (gst_real_pad_init): Set query2_default as the default query2
7633 function. Basically just dispatches to internally linked pads.
7637 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
7638 without using the atomic operations. Only one thread can possibly
7639 be accessing the data at this point. Changed so as to avoid
7640 gst_atomic operations.
7642 2005-05-06 Wim Taymans <wim@fluendo.com>
7644 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
7645 Also set caps if we use the fallback buffer alloc.
7647 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
7649 * docs/gst/Makefile.am:
7650 * docs/gst/gstreamer-docs.sgml:
7651 * docs/gst/gstreamer-sections.txt:
7652 * docs/gst/tmpl/gstatomic.sgml:
7653 * docs/gst/tmpl/gstmemchunk.sgml:
7654 * testsuite/elements/struct_i386.h:
7655 * win32/GStreamer.vcproj:
7657 Purge GstAtomic stuff from docs and win32 makefiles as well
7659 2005-05-06 Wim Taymans <wim@fluendo.com>
7661 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
7662 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
7663 * gst/gstpad.c: (gst_pad_peer_get_caps):
7664 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
7665 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
7666 (gst_queue_src_activate), (gst_queue_change_state):
7668 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7669 (intersect_caps_func):
7670 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
7671 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
7672 Some fixes for the peer_get_caps() change.
7674 2005-05-06 Wim Taymans <wim@fluendo.com>
7676 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
7677 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
7678 (gst_basesink_activate):
7679 Actually do something with error codes returned from the push
7682 2005-05-06 Wim Taymans <wim@fluendo.com>
7684 * docs/design/part-element-sink.txt:
7685 * docs/design/part-element-source.txt:
7686 * gst/base/gstbasesink.c: (gst_basesink_class_init),
7687 (gst_basesink_event), (gst_basesink_activate):
7688 * gst/base/gstbasesink.h:
7689 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
7690 (gst_basesrc_activate):
7691 * gst/base/gstbasesrc.h:
7692 * gst/gstelement.c: (gst_element_pads_activate):
7693 Some more documentation.
7694 Fixed scheduling decision in _pads_activate().
7696 2005-05-05 Andy Wingo <wingo@pobox.com>
7698 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
7701 2005-05-05 Wim Taymans <wim@fluendo.com>
7703 * gst/base/Makefile.am:
7704 * gst/base/gstbasesink.h:
7705 * gst/base/gstbasesrc.c: (gst_basesrc_init),
7706 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
7707 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
7708 (gst_collectpads_class_init), (gst_collectpads_init),
7709 (gst_collectpads_finalize), (gst_collectpads_new),
7710 (gst_collectpads_set_function), (gst_collectpads_add_pad),
7711 (find_pad), (gst_collectpads_remove_pad),
7712 (gst_collectpads_is_active), (gst_collectpads_collect),
7713 (gst_collectpads_collect_range), (gst_collectpads_start),
7714 (gst_collectpads_stop), (gst_collectpads_peek),
7715 (gst_collectpads_pop), (gst_collectpads_available),
7716 (gst_collectpads_read), (gst_collectpads_flush),
7717 (gst_collectpads_chain):
7718 * gst/base/gstcollectpads.h:
7719 * gst/elements/Makefile.am:
7720 * gst/elements/gstelements.c:
7721 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
7722 (gst_fakesink_get_times), (gst_fakesink_event),
7723 (gst_fakesink_preroll), (gst_fakesink_render):
7724 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
7725 (gst_filesink_init), (gst_filesink_set_location),
7726 (gst_filesink_open_file), (gst_filesink_close_file),
7727 (gst_filesink_pad_query), (gst_filesink_event),
7728 (gst_filesink_render), (gst_filesink_change_state):
7729 * gst/elements/gstfilesink.h:
7730 Added object to help in making collect pad based elements.
7732 Make event function in sink baseclass return gboolean.
7734 2005-05-05 Wim Taymans <wim@fluendo.com>
7736 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
7737 (gst_bin_get_by_name):
7739 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
7740 (gst_clock_finalize):
7741 * gst/gstdata.c: (gst_data_replace):
7743 * gst/gstelement.c: (gst_element_request_pad),
7744 (gst_element_pads_activate):
7745 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
7747 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7748 (gst_pad_set_checkgetrange_function),
7749 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
7750 (gst_pad_check_pull_range), (gst_pad_pull_range),
7751 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7752 (gst_pad_pause_task), (gst_pad_stop_task):
7753 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7754 (gst_element_request_pad), (gst_pad_proxy_getcaps):
7755 Fix name lookup in GstBin.
7756 Added _data_replace() function and _buffer_replace()
7757 Use finalize method to clean up clock.
7758 Fix refcounting on request pads.
7759 Fix pad schedule mode error.
7760 Some more object refcounting debug info,
7763 2005-05-04 Andy Wingo <wingo@pobox.com>
7765 * check/Makefile.am:
7766 * docs/gst/tmpl/gstatomic.sgml:
7767 * docs/gst/tmpl/gstplugin.sgml:
7768 * gst/base/gstbasesink.c: (gst_basesink_activate):
7769 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
7770 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
7771 (gst_basesrc_query), (gst_basesrc_set_property),
7772 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
7773 (gst_basesrc_activate):
7774 * gst/base/gstbasesrc.h:
7775 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
7776 (gst_base_transform_src_activate):
7777 * gst/elements/gstelements.c:
7778 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
7779 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
7780 * gst/elements/gsttee.c: (gst_tee_sink_activate):
7781 * gst/elements/gsttypefindelement.c: (find_element_get_length),
7782 (gst_type_find_element_checkgetrange),
7783 (gst_type_find_element_activate):
7784 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
7785 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
7786 (gst_caps_load_thyself):
7787 * gst/gstelement.c: (gst_element_pads_activate),
7788 (gst_element_save_thyself), (gst_element_restore_thyself):
7789 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
7790 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
7792 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
7793 (gst_xml_parse_file), (gst_xml_parse_memory),
7794 (gst_xml_get_element), (gst_xml_make_element):
7795 * gst/indexers/gstfileindex.c: (gst_file_index_load),
7796 (_file_index_id_save_xml), (gst_file_index_commit):
7797 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
7798 (read_enum), (load_pad_template), (load_feature), (load_plugin),
7800 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
7801 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
7802 * tools/gst-complete.c: (main):
7803 * tools/gst-compprep.c: (main):
7804 * tools/gst-inspect.c: (print_element_properties_info):
7805 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7806 * tools/gst-xmlinspect.c: (print_element_properties):
7809 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
7811 * gst/gstplugin.c: (gst_plugin_check_module),
7812 (gst_plugin_check_file), (gst_plugin_load_file):
7813 apply patch from #172526 to make register work on MacOSX
7815 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7817 * docs/gst/tmpl/gstconfig.sgml:
7818 * gst/gstconfig.h.in:
7819 move documentation for some symbols. Add doc for GST_PTR_FORMAT
7820 * testsuite/debug/printf_extension.c: (main):
7821 Do not use GST_PTR_FORMAT on pointers to types with
7822 sizeof < sizeof(gpointer). Fixes test on 64-bit
7823 * testsuite/elements/property.h:
7824 use correct printf format
7826 2005-05-02 Wim Taymans <wim@fluendo.com>
7828 * docs/design/draft-push-pull.txt:
7829 * docs/design/draft-query.txt:
7830 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
7831 (gst_basesrc_start):
7832 Added draft for new query API.
7833 Added draft for better selecting scheduling methods.
7834 Make basesrc ignore length if the subclass does not support
7837 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7840 possible fixes for automake-1.5 - _LIBADD is reserved
7842 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
7844 * docs/faq/Makefile.am:
7845 * docs/manual/Makefile.am:
7847 * docs/pwg/Makefile.am:
7849 possible fixes for automake-1.5
7851 2005-04-28 Wim Taymans <wim@fluendo.com>
7853 * gst/base/gstbasesink.c: (gst_basesink_base_init),
7854 (gst_basesink_pad_getcaps), (gst_basesink_init),
7855 (gst_basesink_do_sync):
7856 * gst/gstclock.c: (gst_clock_entry_new):
7857 * gst/gstevent.c: (gst_event_discont_get_value):
7858 * gst/gstpipeline.c: (pipeline_bus_handler),
7859 (gst_pipeline_change_state):
7860 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
7861 Better debugging of clocking info.
7862 Allow NULL values when getting discont values.
7864 2005-04-27 Wim Taymans <wim@fluendo.com>
7866 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7867 * check/gst/gstpad.c: (gst_pad_suite):
7868 Increase timeout for checks.
7870 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7872 * check/Makefile.am:
7873 fix the broken rule for cleanup. Apparently this rule is
7874 only needed on FC2, so maybe this warrants further autotool
7877 2005-04-26 Wim Taymans <wim@fluendo.com>
7879 * gst/gsttrashstack.h:
7880 Ooohh. a nasty one! After having a failed pop() from the stack,
7881 it's possible that the stack is empty. In that case, don't
7882 follow the NULL pointer.
7884 2005-04-25 Wim Taymans <wim@fluendo.com>
7886 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7887 (gst_pad_set_checkgetrange_function),
7888 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
7889 (gst_pad_check_pull_range), (gst_pad_pull_range),
7890 (gst_static_pad_template_get_caps), (gst_pad_start_task),
7891 (gst_pad_pause_task), (gst_pad_stop_task):
7892 * gst/gstplugin.c: (gst_plugin_load):
7894 Remove gst_library_load as it does more harm than good with
7895 the new g_module flags.
7896 Revert bogus caps template check in pad linking, pad caps
7897 are important when linking not the template, which is more
7898 general than the current caps.
7900 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
7902 * gst/autoplug/.cvsignore:
7903 * gst/autoplug/Makefile.am:
7904 * gst/autoplug/gstsearchfuncs.c:
7905 * gst/autoplug/gstsearchfuncs.h:
7906 * gst/autoplug/gstspider.c:
7907 * gst/autoplug/gstspider.h:
7908 * gst/autoplug/gstspideridentity.c:
7909 * gst/autoplug/gstspideridentity.h:
7910 * gst/autoplug/spidertest.c:
7913 2005-04-25 Wim Taymans <wim@fluendo.com>
7915 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
7916 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
7917 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
7918 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
7920 Added stubs for unimplemented functions.
7922 2005-04-24 David Schleef <ds@schleef.org>
7924 * gst/gstpad.h: Disable some unimplemented functions. Wim,
7927 2005-04-24 David Schleef <ds@schleef.org>
7929 Convert everything from GstAtomicInt to g_atomic_int_*, and
7934 * gst/gstatomic_impl.h:
7942 * gst/gstdata_private.h:
7949 * gst/gststructure.c:
7950 * gst/gststructure.h:
7951 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
7954 2005-04-24 David Schleef <ds@schleef.org>
7956 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
7957 make the regressions tests work. Remove some code that is no
7959 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
7960 Disable warning for pads without templates.
7962 2005-04-24 David Schleef <ds@schleef.org>
7964 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
7965 functions that handle filtered links.
7966 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
7968 * gst/gstutils.c: Fix/remove utility functions that handle
7971 * gst/gstvalue.c: Add serialization/deserialization of caps
7972 * gst/parse/grammar.y: Ignore filtered caps when linking. This
7973 requires fixing so that the filter caps notation creates
7974 a capsfilter element and sets the filter_caps property. I
7975 think everyone probably wants to keep the shorthand notation.
7976 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
7977 * docs/gst/tmpl/gstpad.sgml:
7979 * gst/elements/gstelements.c: Register capsfilter element.
7980 * gst/Makefile.am: fix spacing
7981 * docs/random/ds/0.9-suggested-changes: random
7983 2005-04-23 David Schleef <ds@schleef.org>
7985 * gst/elements/Makefile.am:
7986 * gst/elements/gstcapsfilter.c: New element that acts like an
7987 identity, but filters caps. Will eventually replace filtered
7988 caps in pad linking.
7989 * gst/gstutils.c: (gst_element_create_all_pads): New function
7990 to create all the ALWAYS pads that are registered with an
7991 element class. This functionality should eventually be
7992 merged in with GstElement initialization.
7994 * testsuite/trigger/README: part of trigger test code that should
7995 have been checked in a long time ago.
7997 2005-04-23 David Schleef <ds@schleef.org>
7999 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
8000 needed with new versions of libtool (nobody will confirm this),
8001 and hard to carry around.
8002 * gst/autoplug/Makefile.am:
8003 * gst/base/Makefile.am:
8004 * gst/elements/Makefile.am:
8005 * gst/indexers/Makefile.am:
8006 * gst/schedulers/Makefile.am:
8007 * libs/gst/bytestream/Makefile.am:
8008 * libs/gst/control/Makefile.am:
8009 * libs/gst/dataprotocol/Makefile.am:
8010 * libs/gst/getbits/Makefile.am:
8012 2005-04-21 Wim Taymans <wim@fluendo.com>
8014 * docs/design/draft-push-pull.txt:
8015 * docs/design/part-MT-refcounting.txt:
8016 * docs/design/part-TODO.txt:
8017 * docs/design/part-caps.txt:
8018 * docs/design/part-events.txt:
8019 * docs/design/part-gstbus.txt:
8020 * docs/design/part-gstpipeline.txt:
8021 * docs/design/part-messages.txt:
8022 * docs/design/part-push-pull.txt:
8023 * docs/design/part-query.txt:
8026 2005-04-21 Wim Taymans <wim@fluendo.com>
8028 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
8029 (gst_message_new), (gst_message_new_error),
8030 (gst_message_new_warning), (gst_message_new_tag),
8031 (gst_message_new_state_changed), (gst_message_new_application),
8032 (gst_message_get_structure):
8034 * gst/gststructure.c: (gst_structure_set_parent_refcount),
8035 (gst_structure_copy_conditional):
8036 Use parent refcount in GstMessage to ensure GstStructure
8038 Cleaned up headers a bit.
8041 2005-04-20 Wim Taymans <wim@fluendo.com>
8043 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8044 (gst_basesink_pad_getcaps), (gst_basesink_init),
8045 (gst_basesink_chain_unlocked):
8046 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
8047 (gst_type_find_helper):
8048 * gst/elements/gsttypefindelement.c:
8049 (gst_type_find_element_have_type), (gst_type_find_element_init),
8050 (stop_typefinding), (gst_type_find_element_handle_event),
8051 (find_suggest), (gst_type_find_element_chain),
8052 (gst_type_find_element_checkgetrange),
8053 (gst_type_find_element_getrange), (do_typefind),
8054 (gst_type_find_element_activate):
8055 * gst/gstbuffer.c: (_gst_buffer_sub_free),
8056 (gst_buffer_default_free), (gst_buffer_default_copy),
8057 (gst_buffer_set_caps):
8058 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
8060 * gst/gstmessage.c: (gst_message_new),
8061 (gst_message_new_state_changed):
8062 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8063 (gst_pad_set_checkgetrange_function),
8064 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
8065 (gst_pad_set_caps), (gst_pad_check_pull_range),
8066 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
8068 * gst/gsttypefind.c: (gst_type_find_register):
8069 Make gst_caps_replace() work like other _replace() functions.
8070 Use _caps_replace() where possible.
8071 Make sure _message_new() initialises its field.
8072 Add gst_static_pad_template_get_caps()
8075 2005-04-18 Andy Wingo <wingo@pobox.com>
8077 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
8078 on the peer, not the pad. I think that was a typo. Pass an extra
8079 arg to see if random access is possible. Activate the pads as
8080 PULL_RANGE if possible.
8082 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
8084 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
8085 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
8088 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8090 * docs/faq/using.xml:
8091 Add note on gstreamer-properties (#154996).
8093 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8095 * docs/random/bbb/optional-properties:
8096 Some analysis on optional properties.
8098 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8100 * docs/gst/tmpl/gstelementfactory.sgml:
8102 * gst/gstelementfactory.c: (gst_element_factory_init),
8103 (gst_element_factory_cleanup), (gst_element_register),
8104 (__gst_element_factory_add_static_pad_template),
8105 (gst_element_factory_get_static_pad_templates),
8106 (gst_element_factory_can_src_caps),
8107 (gst_element_factory_can_sink_caps):
8108 * gst/registries/Makefile.am:
8109 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
8110 (gst_xml_registry_class_init), (gst_xml_registry_init),
8111 (gst_xml_registry_new), (gst_xml_registry_set_property),
8112 (gst_xml_registry_get_property), (get_time), (make_dir),
8113 (gst_xml_registry_get_perms_func),
8114 (plugin_times_older_than_recurse), (plugin_times_older_than),
8115 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
8116 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
8117 (add_to_char_array), (read_string), (read_uint), (read_enum),
8118 (load_pad_template), (load_feature), (load_plugin), (load_paths),
8119 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
8120 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
8121 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
8122 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
8123 (gst_xml_registry_rebuild):
8124 * gst/registries/gstlibxmlregistry.h:
8125 * tools/gst-compprep.c: (main):
8126 * tools/gst-inspect.c: (print_pad_templates_info):
8127 * tools/gst-xmlinspect.c: (print_element_info):
8128 Use libxml2 for registry parsing, use staticpadtemplates in
8129 elementfactories. Makes gst_init() +/- 10x faster.
8131 2005-04-12 Wim Taymans <wim@fluendo.com>
8133 * gst/base/Makefile.am:
8134 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8135 (gst_basesink_pad_getcaps), (gst_basesink_init),
8136 (gst_basesink_event), (gst_basesink_change_state):
8137 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8138 (gst_basesrc_init), (gst_basesrc_query),
8139 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8140 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8141 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8142 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8143 (gst_basesrc_stop), (gst_basesrc_activate),
8144 (gst_basesrc_change_state):
8145 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8146 (helper_find_suggest), (gst_type_find_helper):
8147 * gst/base/gsttypefindhelper.h:
8148 * gst/elements/Makefile.am:
8149 * gst/elements/gstelements.c:
8150 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
8151 (gst_fakesink_get_times), (gst_fakesink_event),
8152 (gst_fakesink_preroll), (gst_fakesink_render):
8153 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8154 (gst_fakesrc_init), (gst_fakesrc_event_handler),
8155 (gst_fakesrc_get_property), (gst_fakesrc_create),
8156 (gst_fakesrc_start), (gst_fakesrc_stop):
8157 * gst/elements/gstfakesrc.h:
8158 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
8159 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8160 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8161 (gst_filesrc_create_read), (gst_filesrc_create),
8162 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
8163 (gst_filesrc_start):
8164 * gst/elements/gsttypefindelement.c:
8165 (gst_type_find_element_have_type), (gst_type_find_element_init),
8166 (start_typefinding), (stop_typefinding), (push_buffer_store),
8167 (gst_type_find_element_handle_event),
8168 (gst_type_find_element_chain),
8169 (gst_type_find_element_checkgetrange),
8170 (gst_type_find_element_getrange), (do_typefind),
8171 (gst_type_find_element_activate),
8172 (gst_type_find_element_change_state):
8173 * gst/elements/gsttypefindelement.h:
8174 * gst/gstpipeline.c: (pipeline_bus_handler):
8175 Added typefind helper.
8176 Small preroll fix in the base sink.
8177 Disable typefind code in basesrc.
8178 Crude port of typefindelement.
8182 2005-04-11 Wim Taymans <wim@fluendo.com>
8184 * check/gst/gstbus.c: (gstbus_suite):
8185 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
8187 Fix up the timeout so that the test does not fail.
8189 2005-04-06 Wim Taymans <wim@fluendo.com>
8192 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8193 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
8194 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
8195 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
8196 (gst_basesrc_check_get_range), (gst_basesrc_loop),
8197 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
8198 (gst_basesrc_stop), (gst_basesrc_activate),
8199 (gst_basesrc_change_state), (basesrc_find_peek),
8200 (basesrc_find_suggest), (gst_basesrc_type_find):
8201 * gst/base/gstbasesrc.h:
8202 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
8203 (gst_filesrc_class_init), (gst_filesrc_init),
8204 (gst_filesrc_finalize), (gst_filesrc_set_location),
8205 (gst_filesrc_set_property), (gst_filesrc_get_property),
8206 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
8207 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
8208 (gst_filesrc_create_read), (gst_filesrc_create),
8209 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
8210 * gst/elements/gstfilesrc.h:
8211 * gst/gstelement.c: (gst_element_get_state_func),
8212 (gst_element_lost_state), (gst_element_pads_activate):
8213 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8214 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
8215 (gst_pad_pull_range):
8217 More work on the generic source base class, implement seeking,
8219 Make filesrc extend the base source class.
8220 Added gst_pad_set_checkgetrange_function to GstPad.
8222 2005-04-06 Andy Wingo <wingo@pobox.com>
8224 * pkgconfig/gstreamer-base.pc.in:
8225 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
8227 * pkgconfig/Makefile.am:
8228 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
8230 2005-04-04 Wim Taymans <wim@fluendo.com>
8232 * gst/base/Makefile.am:
8234 * gst/base/gstbasesink.c: (gst_basesink_base_init),
8235 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8236 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8237 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
8238 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
8239 (gst_basesrc_base_init), (gst_basesrc_class_init),
8240 (gst_basesrc_init), (gst_basesrc_get_formats),
8241 (gst_basesrc_get_query_types), (gst_basesrc_query),
8242 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
8243 (gst_basesrc_set_property), (gst_basesrc_get_property),
8244 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
8245 (gst_basesrc_loop), (gst_basesrc_activate),
8246 (gst_basesrc_change_state):
8247 * gst/base/gstbasesrc.h:
8248 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
8249 (gst_fakesrc_class_init), (gst_fakesrc_init),
8250 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
8251 (gst_fakesrc_get_property), (gst_fakesrc_create):
8252 * gst/elements/gstfakesrc.h:
8253 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
8254 (gst_filesrc_open_file), (gst_filesrc_loop),
8255 (gst_filesrc_activate), (filesrc_find_peek),
8256 (gst_filesrc_type_find):
8257 Made base source class, make fakesrc extend it.
8258 Add comments to basesink class.
8259 Some filesrc cleanup.
8261 2005-03-31 David Schleef <ds@schleef.org>
8263 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
8264 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
8265 expected to link against libgstreamer.
8266 * gst/base/Makefile.am: link against libgstreamer
8267 * gst/elements/Makefile.am: same
8269 2005-03-31 Andy Wingo <wingo@pobox.com>
8271 * tests/instantiate/Makefile.am:
8272 * tests/instantiate/caps.c: Add test to test speed of caps copy
8275 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
8276 GMemChunk to be fair.
8278 * gst/gsttrashstack.h: Remove warning about using the fallback
8279 trash stack implementation, it's still faster than malloc.
8281 2005-03-30 Andy Wingo <wingo@pobox.com>
8283 * tests/complexity.c: Add a copyright.
8285 2005-03-31 Wim Taymans <wim@fluendo.com>
8287 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
8288 (gst_base_transform_class_init), (gst_base_transform_init),
8289 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
8290 (gst_base_transform_get_property),
8291 (gst_base_transform_sink_activate),
8292 (gst_base_transform_src_activate),
8293 (gst_base_transform_change_state):
8294 * gst/base/gstbasetransform.h:
8295 * gst/elements/gstidentity.c: (gst_identity_class_init),
8296 (gst_identity_event), (gst_identity_check_perfect),
8297 (gst_identity_transform), (gst_identity_start),
8298 (gst_identity_stop):
8299 Added start/stop methods to transform base class so subclasses
8300 don't need to deal with state changes even.
8302 2005-03-31 Wim Taymans <wim@fluendo.com>
8304 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
8305 (gst_event_new_discontinuous), (gst_event_discont_get_value):
8307 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8308 (gst_pad_pull_range):
8309 Added rate to the discont event to prepare for variable speed
8310 and reverse playback.
8312 2005-03-29 David Schleef <ds@schleef.org>
8315 * testsuite/trigger/Makefile.am:
8316 * testsuite/trigger/trigger.c: A little example program to show
8317 how trigger-based elements can work.
8319 2005-03-29 Wim Taymans <wim@fluendo.com>
8321 * gst/base/Makefile.am:
8323 * gst/base/gstbasesink.c: (gst_basesink_get_type),
8324 (gst_basesink_base_init), (gst_basesink_class_init),
8325 (gst_basesink_pad_getcaps), (gst_basesink_init),
8326 (gst_basesink_activate), (gst_basesink_change_state):
8327 * gst/base/gstbasesink.h:
8328 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
8329 (gst_base_transform_base_init), (gst_base_transform_finalize),
8330 (gst_base_transform_class_init), (gst_base_transform_init),
8331 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
8332 (gst_base_transform_event), (gst_base_transform_getrange),
8333 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
8334 (gst_base_transform_set_property),
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_finalize),
8341 (gst_identity_class_init), (gst_identity_init),
8342 (gst_identity_event), (gst_identity_check_perfect),
8343 (gst_identity_transform), (gst_identity_set_property),
8344 (gst_identity_get_property), (gst_identity_change_state):
8345 * gst/elements/gstidentity.h:
8346 * gst/gstelement.c: (gst_element_get_state_func),
8347 (gst_element_lost_state), (gst_element_pads_activate):
8348 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
8349 (gst_pad_check_pull_range), (gst_pad_pull_range):
8351 Simplify pad activation.
8352 Added function to check if pull_range can be performed.
8353 Error out when pulling inactive or flushing pads.
8354 Removed const from refcounted types as it does not make sense.
8355 Simplify pad templates in basesink
8356 Added base class for simple 1-to-1 transforms.
8357 Make identity subclass the base transform.
8359 2005-03-29 Andy Wingo <wingo@pobox.com>
8361 * docs/libs/gstreamer-libs-overrides.txt:
8362 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
8363 really don't understand what's going on, but like whatever. I want
8366 * docs/gst/Makefile.am:
8367 * docs/libs/Makefile.am: Dist the overrides files.
8369 * check/Makefile.am (clean-local): Remove .libs directories.
8371 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
8372 elements to EXTRA_DIST, so po/ files are happy.
8374 * po/POTFILES.in: Er, remove it here.
8376 * po/POTFILES: Remove gstspider.c.
8378 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
8380 * docs/libs/gstreamer-libs-docs.sgml:
8381 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
8384 * tests/complexity.c (main): Set the length of the preroll queue
8385 on the sinks to prevent a lockup.
8387 * libs/gst/dataprotocol/Makefile.am:
8388 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
8389 the same as the one in check/gst-libs/gdp.c.
8391 * po/, docs/gst/: Commit automatic changes to docs and po files.
8393 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
8394 the versioned libgstbase.
8396 * check/Makefile.am: Depend on an unversioned gst-register, seems
8397 to make autoconf happier.
8399 * gst/base/Makefile.am: Make libgstbase a versioned lib.
8401 2005-03-28 Wim Taymans <wim@fluendo.com>
8404 * docs/design/part-gstelement.txt:
8405 * docs/design/part-negotiation.txt:
8406 * docs/design/part-preroll.txt:
8407 * docs/design/part-scheduling.txt:
8408 * docs/design/part-states.txt:
8410 * gst/base/Makefile.am:
8412 * gst/base/gstbasesink.c: (gst_basesink_get_template),
8413 (gst_basesink_base_init), (gst_basesink_class_init),
8414 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
8415 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
8416 (gst_basesink_set_pad_functions),
8417 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
8418 (gst_basesink_set_property), (gst_basesink_get_property),
8419 (gst_base_sink_get_template), (gst_base_sink_get_caps),
8420 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
8421 (gst_basesink_preroll_queue_push),
8422 (gst_basesink_preroll_queue_empty),
8423 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
8424 (gst_basesink_event), (gst_basesink_get_times),
8425 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
8426 (gst_basesink_chain_unlocked), (gst_basesink_chain),
8427 (gst_basesink_loop), (gst_basesink_activate),
8428 (gst_basesink_change_state):
8429 * gst/base/gstbasesink.h:
8430 * gst/elements/Makefile.am:
8431 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
8432 (gst_fakesink_class_init), (gst_fakesink_init),
8433 (gst_fakesink_set_property), (gst_fakesink_get_property),
8434 (gst_fakesink_get_times), (gst_fakesink_event),
8435 (gst_fakesink_preroll), (gst_fakesink_render),
8436 (gst_fakesink_change_state):
8437 * gst/elements/gstfakesink.h:
8438 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8439 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
8440 * gst/gstelement.c: (gst_element_add_pad),
8441 (gst_element_get_state_func), (gst_element_abort_state),
8442 (gst_element_commit_state), (gst_element_lost_state),
8443 (gst_element_set_state), (gst_element_pads_activate):
8444 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
8445 * gst/gstpipeline.c: (gst_pipeline_send_event),
8446 (gst_pipeline_change_state):
8447 Added state change code.
8449 Added sink base class, make fakesink extend the base class.
8450 Small cleanups in GstPipeline.
8452 2005-03-26 David Schleef <ds@schleef.org>
8454 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
8455 is broken and should be implemented in a different library.
8456 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
8457 * gst/gst.h: remove gstcpu.h
8458 * gst/gstcpu.c: remove
8459 * gst/gstcpu.h: remove
8460 * gst/Makefile.am.future: Remove this file. It's ancient.
8462 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8464 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
8465 (gst_bin_send_event):
8466 Add default event/set_manager handlers. The set_manager handler
8467 takes care that the manager is distributed over kids that were
8468 already in the bin before the manager was set. The event handler
8469 is a utility virtual function that sends the event over all sinks,
8470 so that gst_element_send_event (bin, event); has the expected
8472 * gst/gstpad.c: (gst_pad_event_default):
8473 Re-install default event handling for discontinuities, so that
8474 seeking works without requiring hacks in applications or extra
8476 * gst/gstpipeline.c: (gst_pipeline_class_init),
8477 (gst_pipeline_send_event):
8478 Half hack, half utility: set a pipeline to PAUSED for seek events,
8479 since that is the only way we can guarantee a/v sync. Means that
8480 you can do gst_element_seek (pipeline, method, pos); on a pipeline
8481 and it "just works".
8483 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8485 * gst/gstpipeline.c: (gst_pipeline_use_clock):
8486 Lock/unlock mismatch.
8488 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
8490 * docs/faq/gst-uninstalled:
8491 add gst-plugins-base
8492 * docs/gst/Makefile.am:
8493 don't error out until docs are fixed
8494 * docs/gst/gstreamer.types:
8497 2005-03-22 Wim Taymans <wim@fluendo.com>
8499 * check/Makefile.am:
8500 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
8501 * gst/gststructure.c: (gst_structure_set_valist),
8502 (gst_structure_copy_conditional):
8503 Activated more tests.
8505 Added G_TYPE_POINTER to GstStructure.
8508 2005-03-22 Wim Taymans <wim@fluendo.com>
8510 * docs/design/part-TODO.txt:
8511 * docs/design/part-events.txt:
8512 * docs/design/part-gstbin.txt:
8513 * docs/design/part-gstbus.txt:
8514 * docs/design/part-gstpipeline.txt:
8515 * docs/design/part-messages.txt:
8520 2005-03-21 Wim Taymans <wim@fluendo.com>
8522 * gst/gstbus.c: (gst_bus_post):
8523 Fix copy-and-paste error.
8525 2005-03-21 Wim Taymans <wim@fluendo.com>
8527 * check/Makefile.am:
8529 * gst/elements/Makefile.am:
8530 * gst/elements/gstelements.c:
8531 * gst/elements/gstfakesink.c: (gst_fakesink_init),
8532 (gst_fakesink_event), (gst_fakesink_chain):
8533 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
8534 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
8535 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
8536 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
8537 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
8538 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
8539 (gst_fakesrc_loop), (gst_fakesrc_activate),
8540 (gst_fakesrc_change_state):
8541 * gst/elements/gstfakesrc.h:
8542 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
8543 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
8544 (gst_filesrc_open_file), (gst_filesrc_loop),
8545 (gst_filesrc_activate), (gst_filesrc_change_state),
8546 (filesrc_find_peek), (filesrc_find_suggest),
8547 (gst_filesrc_type_find):
8548 * gst/elements/gstidentity.c: (gst_identity_finalize),
8549 (gst_identity_class_init), (gst_identity_init),
8550 (gst_identity_proxy_getcaps), (identity_queue_push),
8551 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
8552 (gst_identity_getrange), (gst_identity_chain),
8553 (gst_identity_sink_loop), (gst_identity_src_loop),
8554 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
8555 (gst_identity_set_property), (gst_identity_get_property),
8556 (gst_identity_change_state):
8557 * gst/elements/gstidentity.h:
8558 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
8559 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
8560 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
8561 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
8562 (gst_tee_sink_activate):
8563 * gst/elements/gsttee.h:
8564 * gst/gst.c: (gst_register_core_elements), (init_post):
8566 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
8567 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
8568 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
8569 (gst_bin_change_state):
8571 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
8572 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
8573 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
8574 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
8575 (gst_bus_set_sync_handler), (gst_bus_create_watch),
8576 (bus_watch_callback), (bus_watch_destroy),
8577 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
8578 (poll_timeout), (gst_bus_poll):
8582 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
8583 (gst_element_post_message), (gst_element_message_full),
8584 (gst_element_get_state_func), (gst_element_get_state),
8585 (gst_element_abort_state), (gst_element_commit_state),
8586 (gst_element_lost_state), (gst_element_set_state),
8587 (gst_element_pads_activate), (gst_element_change_state),
8588 (gst_element_dispose), (gst_element_set_manager_func),
8589 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
8590 (gst_element_set_manager), (gst_element_get_manager),
8591 (gst_element_set_bus), (gst_element_get_bus),
8592 (gst_element_set_scheduler), (gst_element_get_scheduler):
8594 * gst/gstevent.c: (gst_event_new_segment_seek),
8595 (gst_event_new_flush):
8597 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
8598 (_gst_message_free), (gst_message_get_type), (gst_message_new),
8599 (gst_message_new_eos), (gst_message_new_error),
8600 (gst_message_new_warning), (gst_message_new_tag),
8601 (gst_message_new_state_changed), (gst_message_new_application),
8602 (gst_message_get_structure), (gst_message_parse_tag),
8603 (gst_message_parse_state_changed), (gst_message_parse_error),
8604 (gst_message_parse_warning):
8606 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
8607 (gst_real_pad_set_property), (gst_pad_set_active),
8608 (gst_pad_is_active), (gst_pad_set_blocked_async),
8609 (gst_pad_set_blocked), (gst_pad_is_blocked),
8610 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
8611 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
8612 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8613 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
8614 (gst_pad_link_filtered), (gst_pad_relink_filtered),
8615 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
8616 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
8617 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
8618 (gst_pad_set_caps), (gst_pad_configure_sink),
8619 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
8620 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
8621 (gst_real_pad_dispose), (gst_real_pad_finalize),
8622 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
8623 (gst_pad_event_default_dispatch), (gst_pad_event_default),
8624 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
8626 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
8627 (pipeline_bus_handler), (gst_pipeline_change_state),
8628 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
8629 * gst/gstpipeline.h:
8631 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
8632 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
8633 (gst_queue_link_src), (gst_queue_bufferalloc),
8634 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
8635 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
8636 (gst_queue_loop), (gst_queue_handle_src_event),
8637 (gst_queue_handle_src_query), (gst_queue_src_activate),
8638 (gst_queue_change_state):
8640 * gst/gstscheduler.c: (gst_scheduler_init),
8641 (gst_scheduler_dispose), (gst_scheduler_create_task),
8642 (gst_scheduler_factory_create):
8643 * gst/gstscheduler.h:
8644 * gst/gststructure.c: (gst_structure_get_type),
8645 (gst_structure_copy_conditional):
8646 * gst/gststructure.h:
8647 * gst/gsttaginterface.h:
8648 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
8649 (gst_task_init), (gst_task_dispose), (gst_task_create),
8650 (gst_task_get_state), (gst_task_start), (gst_task_stop),
8656 * gst/schedulers/Makefile.am:
8657 * gst/schedulers/cothreads_compat.h:
8658 * gst/schedulers/entryscheduler.c:
8659 * gst/schedulers/faircothreads.c:
8660 * gst/schedulers/faircothreads.h:
8661 * gst/schedulers/fairscheduler.c:
8662 * gst/schedulers/gstbasicscheduler.c:
8663 * gst/schedulers/gstoptimalscheduler.c:
8664 * gst/schedulers/gthread-cothreads.h:
8665 * gst/schedulers/threadscheduler.c:
8666 (gst_thread_scheduler_task_get_type),
8667 (gst_thread_scheduler_task_class_init),
8668 (gst_thread_scheduler_task_init),
8669 (gst_thread_scheduler_task_start),
8670 (gst_thread_scheduler_task_stop),
8671 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
8672 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
8673 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
8674 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
8676 * libs/gst/Makefile.am:
8677 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
8678 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
8679 (gst_file_pad_parent_set):
8680 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
8681 (gst_dp_event_from_packet):
8682 * tests/complexity.c: (main):
8683 * tests/mass_elements.c: (main):
8684 * testsuite/states/locked.c: (message_received), (main):
8685 * testsuite/states/parent.c: (main):
8686 * tools/gst-inspect.c: (print_element_flag_info),
8687 (print_implementation_info), (print_pad_info):
8688 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
8690 * tools/gst-md5sum.c: (event_loop), (main):
8691 * tools/gst-typefind.c: (main):
8692 * tools/gst-xmlinspect.c: (print_element_info):
8694 Added GstBus for mainloop integration.
8695 Added GstMessage for sending notifications on the bus.
8696 Added GstTask as an abstraction for pipeline entry points.
8699 Simplified GstQueue for multithreaded core.
8700 Made _link threadsafe, removed old capsnego.
8701 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
8702 Added pad blocking functions.
8703 Reworked scheduling functions in GstPad to prepare for
8704 scheduling updates soon.
8705 Moved events out of data stream.
8706 Simplified GstEvent types.
8707 Added return values to push/pull.
8708 Removed clocking from GstElement.
8709 Added prototypes for state change function for next merge.
8710 Removed iterate from bins and state change management.
8711 Fixed some elements, disabled others for now.
8712 Fixed -inspect and -launch.
8713 Added check for GstBus.
8715 2005-03-10 Wim Taymans <wim@fluendo.com>
8717 * docs/design/part-MT-refcounting.txt:
8718 * docs/design/part-clocks.txt:
8719 * docs/design/part-gstelement.txt:
8720 * docs/design/part-gstobject.txt:
8721 * docs/design/part-standards.txt:
8722 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8723 (gst_bin_remove_func), (gst_bin_remove):
8727 * testsuite/clock/clock1.c: (main):
8728 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
8730 * testsuite/dlopen/loadgst.c: (do_test):
8731 * testsuite/refcounting/bin.c: (add_remove_test1),
8732 (add_remove_test2), (main):
8733 * testsuite/refcounting/element.c: (main):
8734 * testsuite/refcounting/element_pad.c: (main):
8735 * testsuite/refcounting/pad.c: (main):
8736 * tools/gst-launch.c: (sigint_handler_sighandler):
8737 * tools/gst-typefind.c: (main):
8739 Added doc about clock.
8740 removed gst_bin_iterate_recurse_up(), marked methods
8742 Fix more testsuites.
8744 2005-03-09 Wim Taymans <wim@fluendo.com>
8746 * gst/gstpad.c: (gst_pad_get_direction),
8747 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
8748 (gst_pad_collect_valist):
8749 * testsuite/bins/interface.c: (main):
8750 * testsuite/caps/audioscale.c: (test_caps):
8751 * testsuite/caps/caps.c: (test1), (test2), (test3):
8752 * testsuite/caps/deserialize.c: (main):
8753 * testsuite/caps/enumcaps.c: (main):
8754 * testsuite/caps/filtercaps.c: (main):
8755 * testsuite/caps/intersect2.c: (main):
8756 * testsuite/caps/random.c: (main):
8757 * testsuite/caps/renegotiate.c: (my_fixate), (main):
8758 * testsuite/caps/sets.c: (check_caps):
8759 * testsuite/caps/simplify.c: (check_caps), (main):
8760 * testsuite/caps/subtract.c: (check_caps):
8761 Fix _pad_get_direction wrt ghostpads.
8764 2005-03-09 Wim Taymans <wim@fluendo.com>
8766 * check/Makefile.am:
8767 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
8768 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
8769 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
8770 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
8771 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
8772 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
8773 (gst_bin_remove), (gst_bin_iterate_recurse_up),
8774 (bin_element_is_sink), (gst_bin_iterate_sinks),
8775 (gst_bin_iterate_all_by_interface):
8777 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
8778 (gst_element_change_state), (gst_element_dispose),
8779 (gst_element_finalize), (gst_element_set_loop_function):
8781 * gst/gstiterator.c: (find_custom_fold_func):
8782 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8783 (gst_pad_collectv), (gst_pad_collect_valist),
8784 (gst_pad_template_new):
8785 * gst/gstpipeline.c: (gst_pipeline_class_init),
8786 (gst_pipeline_dispose), (gst_pipeline_set_property),
8787 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
8788 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
8789 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
8791 * gst/schedulers/entryscheduler.c:
8792 * gst/schedulers/gstbasicscheduler.c:
8793 (gst_basic_scheduler_cothreaded_chain),
8794 (gst_basic_scheduler_chain_add_element):
8795 * testsuite/bins/interface.c: (main):
8797 Added GstSystemClock test.
8798 Implemented clock distribution code in GstBin.
8799 Implemented iterate sinks method for future use.
8800 Rearranged gstelement.h
8801 Fix GstIterator comparison bug.
8802 Moved some code to GstPipeline, mostly clocking related.
8804 2005-03-09 Wim Taymans <wim@fluendo.com>
8807 * gst/gst_private.h:
8808 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8809 (gst_bin_remove_func), (gst_bin_remove),
8810 (gst_bin_get_by_name_recurse_up):
8811 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
8812 (gst_clock_id_compare_func), (gst_clock_id_wait),
8813 (gst_clock_id_wait_async), (gst_clock_init),
8814 (gst_clock_adjust_unlocked), (gst_clock_get_time):
8816 * gst/gstinfo.c: (_gst_debug_init):
8818 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
8819 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
8821 Bump version number, we're now 0.9.0
8822 Add future debugging category.
8823 Fix NULL _unref() in _get_by_name_recurse_up
8827 2005-03-08 Wim Taymans <wim@fluendo.com>
8829 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
8830 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
8831 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
8832 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
8833 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
8834 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
8835 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
8836 * gst/elements/gstidentity.c: (gst_identity_class_init):
8837 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
8838 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
8839 * gst/elements/gstshaper.c: (gst_shaper_class_init):
8840 * gst/elements/gststatistics.c: (gst_statistics_class_init):
8841 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
8843 * gst/gstelement.c: (gst_element_class_init),
8844 (gst_element_base_class_init), (gst_element_init),
8845 (gst_element_get_random_pad), (gst_element_wait_state_change),
8846 (gst_element_change_state), (gst_element_dispose),
8847 (gst_element_finalize), (gst_element_set_loop_function):
8849 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
8850 * gst/gstthread.c: (gst_thread_class_init),
8851 (gst_thread_release_children_locks), (gst_thread_change_state):
8852 * gst/schedulers/gstbasicscheduler.c:
8853 (gst_basic_scheduler_loopfunc_wrapper),
8854 (gst_basic_scheduler_chain_wrapper),
8855 (gst_basic_scheduler_src_wrapper),
8856 (gst_basic_scheduler_remove_element):
8857 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
8858 Remove threadsafe properties. Fix elements because GObject
8859 complains when installing a property before declaring a
8860 set/get_property handler.
8861 Rearrange gstelement.h file, use STATE macros for state locks.
8862 Free mutexes in the finalize method instead of dispose.
8864 2005-03-08 Wim Taymans <wim@fluendo.com>
8866 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
8867 * gst/gstthread.c: (gst_thread_release_children_locks):
8868 Added parentage check.
8869 Fix build og GstThread again.
8871 2005-03-08 Wim Taymans <wim@fluendo.com>
8873 * docs/design/part-MT-refcounting.txt:
8874 * docs/design/part-conventions.txt:
8875 * docs/design/part-gstobject.txt:
8876 * docs/design/part-relations.txt:
8877 * docs/design/part-standards.txt:
8878 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
8879 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
8880 (gst_bin_get_by_name), (gst_bin_get_by_interface),
8881 (gst_bin_iterate_all_by_interface):
8884 * gst/gstelement.c: (gst_element_class_init),
8885 (gst_element_change_state), (gst_element_set_loop_function):
8887 * gst/gstiterator.c:
8888 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
8889 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
8890 (gst_object_dispatch_properties_changed), (gst_object_set_name),
8891 (gst_object_set_parent), (gst_object_unparent),
8892 (gst_object_check_uniqueness):
8894 Docs updates, clean up some headers.
8896 2005-03-07 Wim Taymans <wim@fluendo.com>
8899 * check/Makefile.am:
8900 * check/gst-libs/.cvsignore:
8901 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
8902 * check/gst/.cvsignore:
8903 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
8904 (START_TEST), (gstbus_suite), (main):
8905 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
8906 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
8907 (gst_data_suite), (main):
8908 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
8909 (add_fold_func), (gstiterator_suite), (main):
8910 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
8911 (thread_name_object), (thread_name_object_default),
8912 (gst_object_name_compare), (gst_object_suite), (main):
8913 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
8914 (gst_pad_suite), (main):
8915 * check/gstcheck.c: (gst_check_log_message_func),
8916 (gst_check_log_critical_func), (gst_check_init):
8918 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8919 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
8922 2005-03-07 Wim Taymans <wim@fluendo.com>
8924 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
8925 (gst_list_iterator_next), (gst_list_iterator_resync),
8926 (gst_list_iterator_free), (gst_iterator_new_list),
8927 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
8928 (gst_iterator_free), (gst_iterator_push), (filter_next),
8929 (filter_resync), (filter_uninit), (filter_free),
8930 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
8931 (gst_iterator_foreach), (find_custom_fold_func),
8932 (gst_iterator_find_custom):
8933 * gst/gstiterator.h:
8934 Added missing files.
8936 2005-03-07 Wim Taymans <wim@fluendo.com>
8940 * docs/design/part-MT-refcounting.txt:
8941 * docs/design/part-conventions.txt:
8942 * docs/design/part-gstobject.txt:
8943 * docs/design/part-relations.txt:
8944 * examples/mixer/mixer.c: (main):
8945 * examples/thread/thread.c: (eos), (main):
8947 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
8948 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
8949 (gst_spider_plug_from_srcpad):
8950 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
8951 (gst_spider_identity_change_state),
8952 (gst_spider_identity_sink_loop_type_finding):
8953 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
8954 * gst/elements/gstidentity.c: (gst_identity_init):
8955 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
8956 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
8957 * gst/elements/gsttypefindelement.c: (free_entry):
8960 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
8961 (gst_bin_set_clock_func), (gst_bin_auto_clock),
8962 (gst_bin_set_index), (gst_bin_set_element_sched),
8963 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
8964 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
8965 (gst_bin_iterate_elements), (iterate_child_recurse),
8966 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
8967 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
8968 (compare_interface), (gst_bin_get_by_interface),
8969 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
8971 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
8972 (gst_buffer_default_free), (gst_buffer_default_copy),
8973 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
8974 (gst_buffer_create_sub):
8976 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
8977 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
8978 (gst_caps_unref), (gst_static_caps_get),
8979 (gst_caps_remove_and_get_structure), (gst_caps_append),
8980 (gst_caps_append_structure), (gst_caps_remove_structure),
8981 (gst_caps_copy_nth), (gst_caps_set_simple),
8982 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
8983 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
8984 (gst_caps_structure_intersect_field), (gst_caps_intersect),
8985 (gst_caps_structure_subtract_field), (gst_caps_subtract),
8986 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
8987 (gst_caps_structure_figure_out_union),
8988 (gst_caps_switch_structures), (gst_caps_do_simplify),
8989 (gst_caps_replace), (gst_caps_from_string),
8990 (gst_caps_copy_conditional):
8992 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
8993 (_gst_clock_id_free), (gst_clock_id_unref),
8994 (gst_clock_id_compare_func), (gst_clock_id_wait),
8995 (gst_clock_id_wait_async), (gst_clock_class_init),
8996 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
8997 (gst_clock_get_time), (gst_clock_set_time_adjust),
8998 (gst_clock_set_property), (gst_clock_get_property):
9001 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
9002 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
9004 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
9005 (gst_element_requires_clock), (gst_element_provides_clock),
9006 (gst_element_set_clock), (gst_element_clock_wait),
9007 (gst_element_wait), (gst_element_set_time_delay),
9008 (gst_element_is_indexable), (gst_element_add_pad),
9009 (gst_element_add_ghost_pad), (gst_element_remove_pad),
9010 (pad_compare_name), (gst_element_get_static_pad),
9011 (gst_element_request_pad), (gst_element_get_request_pad),
9012 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
9013 (gst_element_class_get_pad_template_list),
9014 (gst_element_class_get_pad_template), (gst_element_error_func),
9015 (gst_element_get_random_pad), (gst_element_get_event_masks),
9016 (gst_element_send_event), (gst_element_seek),
9017 (gst_element_get_query_types), (gst_element_query),
9018 (gst_element_get_formats), (gst_element_convert),
9019 (gst_element_is_locked_state), (gst_element_set_locked_state),
9020 (gst_element_sync_state_with_parent), (gst_element_change_state),
9021 (gst_element_finalize), (gst_element_yield),
9022 (gst_element_interrupt), (gst_element_set_scheduler),
9023 (gst_element_get_scheduler), (gst_element_set_loop_function):
9026 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
9027 (gst_format_get_by_nick), (gst_format_get_details),
9028 (gst_format_iterate_definitions):
9030 * gst/gstindex.c: (gst_index_gtype_resolver):
9033 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
9034 (gst_mem_chunk_free):
9035 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9036 (gst_object_ref), (gst_object_unref), (gst_object_sink),
9037 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
9038 (gst_object_dispatch_properties_changed),
9039 (gst_object_set_name_default), (gst_object_set_name),
9040 (gst_object_get_name), (gst_object_set_name_prefix),
9041 (gst_object_get_name_prefix), (gst_object_set_parent),
9042 (gst_object_get_parent), (gst_object_unparent),
9043 (gst_object_check_uniqueness), (gst_object_save_thyself),
9044 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
9045 (gst_object_set_property), (gst_object_get_property),
9046 (gst_object_get_path_string):
9048 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
9049 (gst_real_pad_init), (gst_real_pad_get_property),
9050 (gst_pad_custom_new), (gst_pad_get_direction),
9051 (gst_pad_set_active), (gst_pad_is_active),
9052 (gst_pad_set_event_function), (gst_pad_is_linked),
9053 (gst_pad_link_free), (gst_pad_link_intersect),
9054 (gst_pad_link_fixate), (gst_pad_set_caps),
9055 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
9056 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
9057 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
9058 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
9059 (gst_pad_get_caps), (gst_pad_peer_get_caps),
9060 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
9061 (gst_pad_realize), (gst_pad_get_allowed_caps),
9062 (gst_real_pad_dispose), (gst_real_pad_finalize),
9063 (gst_pad_collectv), (gst_pad_collect_valist),
9064 (gst_pad_template_dispose), (gst_pad_template_new),
9065 (gst_pad_get_internal_links):
9067 * gst/gstpipeline.c: (gst_pipeline_dispose),
9068 (gst_pipeline_change_state):
9069 * gst/gstpipeline.h:
9071 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
9072 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
9073 * gst/gstpluginfeature.h:
9074 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
9075 * gst/gstquery.c: (_gst_query_type_initialize),
9076 (gst_query_type_register), (gst_query_type_get_by_nick),
9077 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
9079 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
9080 * gst/gstscheduler.c: (gst_scheduler_add_element),
9081 (gst_scheduler_factory_create):
9082 * gst/gststructure.c: (gst_structure_set_parent_refcount),
9083 (gst_structure_free), (gst_structure_set_name),
9084 (gst_structure_id_set_value), (gst_structure_set_value),
9085 (gst_structure_set_valist), (gst_structure_remove_field),
9086 (gst_structure_remove_fields),
9087 (gst_structure_remove_fields_valist),
9088 (gst_structure_remove_all_fields), (gst_structure_foreach),
9089 (gst_structure_map_in_place),
9090 (gst_caps_structure_fixate_field_nearest_int),
9091 (gst_caps_structure_fixate_field_nearest_double):
9092 * gst/gststructure.h:
9093 * gst/gstsystemclock.c: (gst_system_clock_class_init),
9094 (gst_system_clock_init), (gst_system_clock_dispose),
9095 (gst_system_clock_async_thread),
9096 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
9097 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
9098 * gst/gstsystemclock.h:
9099 * gst/gsttag.c: (gst_tag_list_add_value_internal),
9100 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
9101 * gst/gsttaginterface.c:
9102 * gst/gstthread.c: (gst_thread_dispose),
9103 (gst_thread_release_children_locks), (gst_thread_change_state),
9104 (gst_thread_main_loop):
9105 * gst/gsttrashstack.h:
9106 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
9108 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
9109 (gst_element_request_pad), (gst_element_get_pad_from_template),
9110 (gst_element_request_compatible_pad),
9111 (gst_element_get_compatible_pad_filtered),
9112 (gst_element_get_compatible_pad), (gst_element_state_get_name),
9113 (gst_element_link_pads_filtered), (gst_element_link_filtered),
9114 (gst_element_link_many), (gst_element_link),
9115 (gst_element_link_pads), (gst_element_unlink_pads),
9116 (gst_element_unlink_many), (gst_element_unlink),
9117 (gst_pad_can_link_filtered), (gst_pad_can_link),
9118 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
9119 (gst_object_default_error), (gst_bin_add_many),
9120 (gst_bin_remove_many), (gst_element_populate_std_props),
9121 (gst_element_class_install_std_props), (gst_buffer_merge),
9122 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
9123 (link_fold_func), (gst_pad_proxy_setcaps):
9125 * gst/gstvalue.c: (gst_value_deserialize_string):
9126 * gst/parse/grammar.y:
9127 * gst/schedulers/gstbasicscheduler.c:
9128 (gst_basic_scheduler_cothreaded_chain),
9129 (gst_basic_scheduler_chain_recursive_add),
9130 (gst_basic_scheduler_pad_link):
9131 * gst/schedulers/gstoptimalscheduler.c:
9132 (get_group_schedule_function),
9133 (gst_opt_scheduler_state_transition),
9134 (gst_opt_scheduler_add_element), (element_get_reachables_func):
9135 * libs/gst/bytestream/bytestream.c:
9136 * libs/gst/dataprotocol/dataprotocol.c:
9137 (gst_dp_header_from_buffer):
9140 * tests/threadstate/threadstate2.c: (eos):
9141 * tools/gst-compprep.c: (main):
9142 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
9143 (print_pad_info), (print_children_info):
9144 * tools/gst-launch.c: (idle_func), (main):
9145 * tools/gst-md5sum.c: (idle_func), (main):
9146 * tools/gst-xmlinspect.c: (print_element_info):
9147 First THREADED backport attempt, focusing on adding locks and
9148 making sure the API is threadsafe. Needs more work. More docs
9151 2005-02-24 Andy Wingo <wingo@pobox.com>
9153 * tests/bench-complexity.scm:
9154 * tests/complexity.gnuplot: New files, good for running complexity
9157 * tests/Makefile.am:
9158 * tests/complexity.c: New test, sets up N elements, at each level
9159 teeing into M streams per element. Eeeenteresting.
9161 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
9162 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
9163 running bench-mass_elements.scm.
9165 * tests/bench-mass_elements.scm: New script, runs mass_elements
9166 for various numbers of identities, outputting the results to a
9167 file. Requires guile 1.6. Just for testing.
9169 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
9171 * gst/schedulers/fairscheduler.c:
9172 compile with debug disabled
9174 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
9177 hunting season on 0.9 is now OPEN