1 2006-09-15 Wim Taymans <wim@fluendo.com>
3 * docs/libs/gstreamer-libs-sections.txt:
4 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
5 (gst_base_sink_do_sync):
6 * libs/gst/base/gstbasesink.h:
7 Expose logic to wait for preroll so that subclasses such as audiosink
8 can also use this method.
9 API: gst_base_sink_wait_preroll()
11 2006-09-15 Wim Taymans <wim@fluendo.com>
13 * gst/gstobject.c: (gst_object_set_parent):
14 * gst/gstpipeline.c: (do_pipeline_seek):
15 Small cleanups in docs and code.
17 * gst/gstsegment.c: (gst_segment_clip):
18 * tests/check/gst/gstsegment.c: (GST_START_TEST):
19 if stop == start and start is in the segment, no clipping should be
20 done. Also add a test for this.
22 2006-09-15 Wim Taymans <wim@fluendo.com>
24 * docs/design/part-buffering.txt:
25 * docs/gst/gstreamer-sections.txt:
26 * gst/gstmessage.c: (gst_message_new_buffering),
27 (gst_message_parse_buffering):
29 Added methods to create and parse BUFFERING messages.
30 Added preliminary docs about buffering.
31 API: gst_message_new_buffering
32 API: gst_message_parse_buffering
34 2006-09-06 Wim Taymans <wim@fluendo.com>
39 * gst/gstelement.c: (gst_element_class_init),
40 (gst_element_release_request_pad), (gst_element_set_clock),
41 (gst_element_get_index), (gst_element_add_pad),
42 (gst_element_remove_pad), (gst_element_get_random_pad),
43 (gst_element_send_event), (gst_element_get_query_types),
44 (gst_element_query), (gst_element_post_message),
45 (gst_element_message_full), (gst_element_continue_state),
46 (gst_element_lost_state), (gst_element_save_thyself),
47 (gst_element_restore_thyself):
48 Documentation updates.
49 Rename last bit of the new-pad -> pad-added signal rename.
50 Fix the case where an element query would only work if the source
52 Avoid some useless type checking in message handling.
57 Documentation updates.
59 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
61 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
62 add an INFO line for when we actually update the fd
64 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
69 === release 0.10.10 ===
71 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
74 releasing 0.10.10, "Pais"
76 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
78 * docs/manual/advanced-position.xml:
79 Fix typo in sample code.
81 2006-09-05 Wim Taymans <wim@fluendo.com>
83 * libs/gst/net/gstnetclientclock.c: (inet_aton),
84 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
85 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
86 * libs/gst/net/gstnetclientclock.h:
87 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
88 * libs/gst/net/gstnettimepacket.h:
89 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
90 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
91 (gst_net_time_provider_thread), (gst_net_time_provider_new):
92 * libs/gst/net/gstnettimeprovider.h:
93 Make stuff compile on windows. Fixes #345295.
95 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
97 * gst/gst.c: (ensure_current_registry_forking):
98 Print better details when child was terminated by signal.
100 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
102 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
103 Print a warning rather than g_assert() if a plugin feature
104 is a URI handler but returns no protocols (#353976).
106 2006-09-02 Stefan Kost <ensonic@users.sf.net>
108 * docs/random/moving-plugins:
111 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
113 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
114 Fix locking order, handle NULL function values properly.
119 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
120 Initialise variable before using it and fix debug statement to
121 print the address of the function rather than the address of the
122 variable on the stack holding the address of the function.
124 2006-09-01 Wim Taymans <wim@fluendo.com>
126 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
127 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
128 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
129 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
130 (gst_ghost_pad_parent_unset),
131 (gst_ghost_pad_internal_do_activate_push),
132 (gst_ghost_pad_internal_do_activate_pull),
133 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
134 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
135 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
136 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
137 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
138 (gst_ghost_pad_new_no_target_from_template),
139 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
141 Avoid needless typechecking in macros.
142 Since the internal pad is always present and never changes, there is
143 no need to locking or ref when retrieving it.
144 Improve debugging a bit.
145 Handle link errors when setting the target. Fixes #341029.
147 2006-09-01 Wim Taymans <wim@fluendo.com>
149 * docs/libs/gstreamer-libs-sections.txt:
150 * docs/plugins/gstreamer-plugins-sections.txt:
153 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
154 (gst_collect_pads_event):
155 * libs/gst/base/gstcollectpads.h:
156 Documentation updates.
157 Free queued buffer when removing a pad.
159 2006-08-31 Michael Smith <msmith@fluendo.com>
161 * gst/gstutils.c: (gst_element_link_pads),
162 (gst_element_link_pads_filtered):
163 Ensure that we set a capsfilter to NULL if we failed to link it
164 when doing filtered linking, to avoid criticals.
166 No need to check for unreffing srcpad, which is explicly NULLed
167 above (a trivial code cleanup).
169 2006-08-31 Wim Taymans <wim@fluendo.com>
171 * docs/design/part-gstghostpad.txt:
172 Update ascii art in documentation.
174 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
175 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
176 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
177 (gst_ghost_pad_internal_do_activate_push),
178 (gst_ghost_pad_internal_do_activate_pull),
179 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
180 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
181 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
182 (gst_ghost_pad_set_target):
183 Small cleanups and leak fixes.
184 Remove some checks now that the internal pad is never NULL.
185 Fix the case where linking pads without a target would create nasty
186 criticals. Fixes #341029.
187 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
188 value of _set_target().
190 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
191 (gst_ghost_pad_suite):
192 Some more tests for creating and linking untargeted ghostpads.
194 2006-08-31 Edward Hervey <edward@fluendo.com>
196 * docs/gst/gstreamer-sections.txt:
197 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
198 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
199 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
200 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
201 (gst_ghost_pad_new_from_template),
202 (gst_ghost_pad_new_no_target_from_template):
204 Refactored *_new() functions.
205 Templates are now used as a g_object_new() parameter.
206 Use template in _do_getcaps() if we don't have a target.
207 Small documentation cleanups.
208 Added two new constructors:
209 gst_ghost_pad_new_from_template()
210 gst_ghost_pad_new_no_target_from_template()
211 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
212 (gst_ghost_pad_suite):
213 Added tests for new ghostpad instanciation functions.
215 API additions: gst_ghost_pad_new_from_template,
216 gst_ghost_pad_new_no_target_from_template
218 2006-08-30 Stefan Kost <ensonic@users.sf.net>
220 * docs/random/ensonic/profiling.txt:
221 Ideas about qos profiling.
223 2006-08-29 Wim Taymans <wim@fluendo.com>
225 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
229 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
232 Improve and detypofy docs.
234 * tests/check/Makefile.am:
235 * tests/check/gst/.cvsignore:
236 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
237 Add a basic test suite for GstXML.
239 2006-08-29 Wim Taymans <wim@fluendo.com>
241 * gst/gstelement.c: (activate_pads), (clear_caps),
242 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
243 Clear the pad caps when the element shut down all of the pads and
244 is not streaming data that could modify the caps.
247 2006-08-28 Michael Smith <msmith@fluendo.com>
249 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
250 Revert previous change; I misunderstood single-segment mode.
252 2006-08-28 Michael Smith <msmith@fluendo.com>
254 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
255 Unset DISCONT on buffers when using single-segment mode.
257 2006-08-28 Wim Taymans <wim@fluendo.com>
259 * gst/gstcaps.c: (gst_caps_merge_structure):
261 Fix docs and indentation again.
263 * tests/check/gst/gstquery.c: (GST_START_TEST):
264 Fix leak in tests and add some more tests.
266 2006-08-28 Edward Hervey <edward@fluendo.com>
268 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
269 Inform GstSegment of the last stop position in order for the current
270 segment to have a proper duration if it doesn't have a specific stop
271 position from which a duration could be calculated.
272 This bug was noticeable when a non-flushing, non-update new segment was
273 followed by another segment (all buffers from the new segment were being
276 2006-08-28 Wim Taymans <wim@fluendo.com>
278 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
279 Small comment update.
281 * plugins/elements/gstidentity.c: (gst_identity_class_init),
282 (gst_identity_transform_ip):
283 Drop-probability is broken, mention this in the code with a
284 FIXME and also in the property description.
285 Make silent also be silent about the drop messages.
287 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
289 * docs/manual/appendix-win32.xml:
290 Remove mention of popt, we don't depend on that any
291 longer (#353136). Add some comments pointing out that
292 this section is slightly outdated.
294 2006-08-28 Wim Taymans <wim@fluendo.com>
296 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
298 * gst/gstquery.c: (gst_query_new_segment):
299 * tests/check/gst/gstquery.c: (GST_START_TEST):
300 Initialize variables when creating a new segment query.
303 2006-08-28 Wim Taymans <wim@fluendo.com>
305 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
307 * gst/gstelement.c: (gst_element_get_bus):
308 * tests/check/gst/gstelement.c: (GST_START_TEST):
309 Check for NULL before _reffing the bus. Fixes #353122.
311 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
313 * docs/manual/basics-bus.xml:
314 Docs update: fix wrong callback return value explanation; add
315 some lines about the implicit relationship between main loop
316 and main context; remove duplicate main loop variable declaration.
318 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
320 * tests/check/gst/gstcaps.c: (GST_START_TEST):
321 Don't leak caps in unit test; add a few more simple
324 2006-08-24 Stefan Kost <ensonic@users.sf.net>
326 * docs/gst/gstreamer-sections.txt:
327 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
328 (gst_caps_structure_is_subset), (gst_caps_merge),
329 (gst_caps_merge_structure):
331 * libs/gst/base/gstbasetransform.c:
332 (gst_base_transform_transform_caps):
333 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
334 implement caps merging (fixes #352580)
336 2006-08-23 Stefan Kost <ensonic@users.sf.net>
339 * tools/gst-plot-timeline.py:
340 add debug-log plotting developer tool (#340674)
342 2006-08-23 Wim Taymans <wim@fluendo.com>
344 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
346 Improve debugging for task functions.
348 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
349 (gst_task_start), (gst_task_pause), (gst_task_join):
350 Make sure that the task function started and finished after a
352 Don't try to push the task function on the threadpool multiple
354 Improve the g_warning message with some useful suggestions
355 about how to fix the problem.
357 2006-08-23 Wim Taymans <wim@fluendo.com>
359 * gst/gstutils.c: (gst_pad_proxy_getcaps):
360 Handle RESYNC correctly in _proxy_getcaps.
362 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
364 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
365 (gst_xml_parse_memory), (gst_xml_get_element):
366 Chain up to parent class in dispose function and also
367 unref the elements in the toplevel_elements GList.
368 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
369 Always return a reference in gst_xml_get_element() rather
372 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
373 Don't leak GstXml object.
375 2006-08-21 Stefan Kost <ensonic@users.sf.net>
377 * docs/gst/gstreamer-sections.txt:
378 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
381 * libs/gst/base/gstbasetransform.c:
382 (gst_base_transform_transform_caps):
383 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
386 2006-08-21 Edward Hervey <edward@fluendo.com>
388 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
389 Implement GObject::dispose virtual method in GstXML so we can free the
392 2006-08-21 Wim Taymans <wim@fluendo.com>
394 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
395 (gst_buffer_create_sub):
396 Copy duration/offset_end/caps when creating a subbuffer of the
398 Make the subbuffer read-only when we make the metadata writable for
401 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
402 Added check for metadata copy when creating subbuffers.
404 2006-08-21 Edward Hervey <edward@fluendo.com>
406 * libs/gst/base/gstbasetransform.c:
407 (gst_base_transform_buffer_alloc):
408 Only call downstream buffer_alloc if transform element is passthrough
409 or always_in_place. Closes #350449.
411 2006-08-20 Stefan Kost <ensonic@users.sf.net>
414 ChangeLog surgery to add comments to previous changes
416 2006-08-20 Stefan Kost <ensonic@users.sf.net>
421 * gst/gstpad.c: (gst_pad_set_active):
422 Be more verbose in the log
424 * libs/gst/base/gstbasetransform.c:
425 (gst_base_transform_transform_caps):
426 Simplify caps to get rid of duplicates, fixes #345444
428 2006-08-20 Stefan Kost <ensonic@users.sf.net>
432 Use these optimizations only internally.
434 2006-08-20 Stefan Kost <ensonic@users.sf.net>
436 * gst/gstvalue.c: (gst_value_compare_list),
437 (gst_value_compare_fraction_range),
438 (gst_value_intersect_fraction_fraction_range),
439 (gst_value_intersect_fraction_range_fraction_range),
440 (gst_value_subtract_fraction_fraction_range),
441 (gst_value_subtract_fraction_range_fraction_range),
442 (gst_value_get_compare_func), (gst_value_compare),
443 (gst_value_compare_with_func):
445 Saves the expensive lookup of the compare function in many cases
448 2006-08-18 Edward Hervey <edward@fluendo.com>
450 * tests/check/gst/gstinfo.c: (gst_info_suite):
451 Disable test that require gstdebug if it wasn't built in core.
453 2006-08-18 Stefan Kost <ensonic@users.sf.net>
455 * docs/random/ensonic/logging.txt:
458 * gst/gstinfo.c: (gst_debug_log_default):
459 reorder fields, save some columns, add optional color codes for log
462 2006-08-18 Stefan Kost <ensonic@users.sf.net>
464 * docs/random/ensonic/logging.txt:
465 add ideas about making the logs a bit more useful
467 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
469 * docs/pwg/advanced-events.xml:
470 * docs/pwg/titlepage.xml:
471 Update for 0.10 API (#340627). Add myself
474 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
476 * docs/libs/gstreamer-libs-docs.sgml:
477 * docs/libs/gstreamer-libs-sections.txt:
478 * libs/gst/check/gstbufferstraw.c:
479 Make gstcheck stuff show up in docs (still needs to
480 be documented properly though).
482 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
484 * docs/gst/gstreamer-sections.txt:
486 * gst/gst.c: (init_post):
488 * gst/gstquark.c: (_priv_gst_quarks_initialize):
490 * gst/gstquery.c: (gst_query_new_position),
491 (gst_query_set_position), (gst_query_parse_position),
492 (gst_query_new_duration), (gst_query_set_duration),
493 (gst_query_parse_duration), (gst_query_new_convert),
494 (gst_query_set_convert), (gst_query_parse_convert),
495 (gst_query_new_segment), (gst_query_set_segment),
496 (gst_query_parse_segment), (gst_query_new_seeking),
497 (gst_query_set_seeking), (gst_query_parse_seeking):
498 Add internal helpers for pre-registering quarks from static strings
499 and using the quark values directly instead of looking them up when
500 creating and parsing queries. Can be used for event construction too.
503 2006-08-16 Wim Taymans <wim@fluendo.com>
508 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
510 * gst/gstutils.c: (gst_util_set_value_from_string):
511 Fix memleak (#351502).
513 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
514 Add unit test for most of gst_util_set_value_from_string()
515 (not that one would want to encourage use of this function).
517 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
519 * libs/gst/check/gstcheck.h:
520 Use const gchar * variables in fail_unless_equals_string
521 macro to avoid compiler warnings (and don't use tabs for
524 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
526 * tools/gst-launch.c: (print_tag):
527 More space on the left for the tag names, to cater
528 for the 'extended comment' tag (not touching the
529 string for the first line since it's translated).
531 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
533 * libs/gst/check/gstcheck.h:
534 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
535 print something when they fail.
537 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
539 * docs/gst/gstreamer-sections.txt:
540 * gst/gsttaglist.c: (_gst_tag_initialize):
542 API: add GST_TAG_EXTENDED_COMMENT (#350935).
543 Also change merge function for GST_TAG_COMMENT to
546 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
548 * gst/gstinfo.c: (gst_debug_print_object):
549 Make GST_PTR_FORMAT print messages as well.
551 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
552 (GST_START_TEST), (gst_info_suite):
555 2006-08-14 Edward Hervey <edward@fluendo.com>
557 * gst/gstelementfactory.c: (gst_element_register):
558 If the GstElementClass doesn't have a GstElementDetails with all fields
559 filled up correctly (longname, description AND author), then error out
560 nicely instead of crashing.
562 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
564 * gst/gststructure.c:
565 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
568 Expand on the difference between arrays and lists as we use them.
570 2006-08-14 Wim Taymans <wim@fluendo.com>
572 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
573 If the parent state change function failed, don't assume we can safely
574 stop the source, this will be done when the pads are deactivated.
576 2006-08-14 Wim Taymans <wim@fluendo.com>
579 * gst/gsttask.c: (gst_task_join):
582 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
584 When pad (de)activation failed for some reason, restore the old
585 activation mode and set the pad to flushing instead of assuming the
587 If the _task_join() failed, reinstall the task on the pad so that it can
588 be stopped later and return an error.
590 2006-08-11 Andy Wingo <wingo@pobox.com>
593 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
594 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
595 is only for users of API that don't want to see deprecated
596 functions in the headers; people that want to compile out
597 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
598 CFLAGS. Fixes the build of multifdsink, or will soon..
600 2006-08-11 Wim Taymans <wim@fluendo.com>
602 * docs/gst/gstreamer-sections.txt:
603 Add GstClockClass vmethod docs.
606 Mark #endif with comment for associated #if
608 * gst/gstclock.c: (gst_clock_id_wait):
610 Add vmethod wait_jitter to avoid an unneeded _get_time() for
611 most clock implementations.
613 Flesh out docs about resolution methods.
614 API: GstClockClass::wait_jitter
616 * gst/gstsystemclock.c: (gst_system_clock_class_init),
617 (gst_system_clock_async_thread),
618 (gst_system_clock_id_wait_jitter_unlocked),
619 (gst_system_clock_id_wait_jitter):
620 Use base class wait_jitter variant for improved performance
621 due to less clock polling.
623 2006-08-11 Edward Hervey <edward@fluendo.com>
625 * gst/gst.c: (gst_init_check), (init_post):
626 Set gst as being initialized before scanning/updating the registry,
627 since there might be my python plugin loader that calls gst_init() and
628 we don't want to loop back in.
631 2006-08-11 Wim Taymans <wim@fluendo.com>
633 * docs/design/part-qos.txt:
634 Bring docs in line with the code. Mostly the sign of the jitter was
635 wrong in the docs. Fixes #349943.
638 Fix the docs for the jitter.
640 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
641 (gst_event_parse_tag), (gst_event_new_buffer_size),
642 (gst_event_parse_buffer_size), (gst_event_parse_qos),
643 (gst_event_new_seek), (gst_event_parse_seek),
644 (gst_event_new_navigation):
645 Make sure the GstStructure has no parent when creating custom
647 Add some more argument checking so that we avoid 0.0 rates.
648 Flesh out the docs for the QoS event some more.
650 2006-08-11 Wim Taymans <wim@fluendo.com>
652 * docs/gst/gstreamer-sections.txt:
653 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
654 (ensure_current_registry_forking), (ensure_current_registry),
655 (parse_one_option), (parse_goption_arg), (gst_deinit),
656 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
659 Added API and command line option to disable registry forking in
660 addition to the environment variable.
661 Constify some static arrays.
662 Added some more debug.
664 API: gst_registry_fork_is_enabled()
665 API: gst_registry_fork_set_enabled()
666 API: --gst-disable-registry-fork command line option
669 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
671 * gst/gst.c: (gst_init):
672 Fix typo in error message.
674 2006-08-10 Stefan Kost <ensonic@users.sf.net>
676 * libs/gst/controller/gstcontroller.h:
677 fix ABI size-correction
679 * tests/check/libs/gdp.c: (gst_dp_suite):
680 make tests that use deprecated API conditional
682 2006-08-10 Stefan Kost <ensonic@users.sf.net>
684 * docs/libs/gstreamer-libs-sections.txt:
685 * libs/gst/controller/gstcontroller.c:
686 (_gst_controller_get_property), (_gst_controller_set_property),
687 (_gst_controller_init), (_gst_controller_class_init):
688 * libs/gst/controller/gstcontroller.h:
689 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
690 (gst_object_set_control_rate):
691 API: add gst_object_{s,g}et_control_rate(), add private data section,
694 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
695 * libs/gst/dataprotocol/dataprotocol.h:
696 add deprecation guards to make gtk-doc happy and allow disabling cruft
698 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
700 * tests/check/Makefile.am:
701 * tests/check/gst/.cvsignore:
702 Let's enable the new unit test as well.
704 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
707 * docs/gst/gstreamer-sections.txt:
708 * gst/gstconfig.h.in:
709 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
710 (_gst_info_printf_extension_ptr),
711 (_gst_info_printf_extension_segment):
712 API: add GST_SEGMENT_FORMAT, which is a printf extension we
713 register that lets us easily dump GstSegments into debug
716 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
717 (info_segment_format_printf_extension), (gst_info_suite):
718 Add simple unit test that logs a bunch of different segments (not
719 valgrinded at the moment because of leaks in
720 gst_debug_add_log_function).
722 2006-08-09 Edward Hervey <edward@fluendo.com>
724 * libs/gst/base/gstbasetransform.c:
725 (gst_base_transform_buffer_alloc):
726 Even if we can't figure out the proper format to request downstream,
727 call buffer_alloc() downstream with the input parameters without setting
728 the caps on the srcpad. This will force negotiation in the chain
732 2006-08-08 Edward Hervey <edward@fluendo.com>
734 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
735 Unlinking from a pad without a target is now a perfectly valid case
736 which should NOT raise an assertion.
737 This case would happen if a linked ghostpad its target set to NULL after
738 it was previously linked.
740 2006-08-08 Edward Hervey <edward@fluendo.com>
742 * tests/check/libs/gdp.c:
743 Also comment out the test (see below).
745 2006-08-08 Edward Hervey <edward@fluendo.com>
747 * tests/check/libs/gdp.c: (gst_dp_suite):
748 Use the architecture information from config.h and not gcc macros
749 in order to properly disable a test that fails on PPC64.
751 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
753 * gst/gstelement.c: (gst_element_remove_pad):
754 Don't crash printing the warning if the pad has no parent.
756 2006-08-02 Wim Taymans <wim@fluendo.com>
758 * libs/gst/dataprotocol/dataprotocol.c:
759 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
760 (gst_dp_crc), (gst_dp_header_payload_length),
761 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
762 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
763 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
764 (gst_dp_event_from_packet), (gst_dp_validate_header),
765 (gst_dp_validate_payload):
766 Make debug category static
767 Constify the crc table.
768 Do some more arg checking in public functions.
769 Fix some docs and do some small cleanups.
771 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
772 Add some more checks to see if GDP deals with bogus input.
774 2006-07-31 Wim Taymans <wim@fluendo.com>
776 * gst/gstvalue.c: (gst_value_compare_list):
777 Fix GstValueList comparison code. Fixes #347293.
779 * tests/check/gst/gstvalue.c: (GST_START_TEST):
780 Check to test GstValueList comparison.
782 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
784 * gst/gstelementfactory.c: (gst_element_factory_create):
785 Remove unnecessary ref/unref pair
787 * gst/parse/grammar.y:
788 Make sure to free the parse buffer on all code paths.
789 Move a g_free up to the error handler where it's easier to see.
791 * tests/check/gst/gstevent.c: (test_event):
792 Extending timeout for downstream travelling events to 10 seconds to
793 hopefully avoid intermittent failure on the buildbots.
795 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
796 Don't manually set the state of the src element - it will happen as a
797 natural consequence of the pipeline changing state, and that way it
798 will do it in the right order too.
800 2006-07-31 Wim Taymans <wim@fluendo.com>
802 * libs/gst/base/gstbasetransform.c:
803 (gst_base_transform_buffer_alloc):
804 Use OBJECT_LOCK and refcounting to get the pad caps in the
805 buffer_alloc function because the caps could change while we are
806 busy with them. Fixes #349105
808 2006-07-31 Wim Taymans <wim@fluendo.com>
810 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
811 Protect _PAD_CAPS with OBJECT_LOCK.
813 2006-07-31 Wim Taymans <wim@fluendo.com>
815 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
816 (gst_pad_get_property), (gst_pad_activate_pull),
817 (gst_pad_activate_push), (gst_pad_set_blocked_async),
818 (gst_pad_set_activate_function),
819 (gst_pad_set_activatepull_function),
820 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
821 (gst_pad_set_getrange_function),
822 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
823 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
824 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
825 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
826 (gst_pad_set_acceptcaps_function),
827 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
828 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
829 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
830 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
831 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
832 (gst_pad_configure_sink), (gst_pad_configure_src),
833 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
834 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
835 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
836 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
837 (gst_pad_send_event):
838 Use _DEBUG_OBJECT when it makes sense.
839 Protect GST_PAD_CAPS with the OBJECT_LOCK.
840 Small cleanups and code reflows.
841 Avoid caps refcounting in _accept_caps.
842 Refactor alloc_buffer so that the code performed on the peer is in a
843 separate function. Also if the pad does not implement a buffer alloc
844 function, we should still check if the pad is flushing before falling
845 back to the default allocator.
847 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
849 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
850 Make all uses of identity and fakesink have silent=true to avoid
851 serialising every passing data structure, which is breaking tests
852 on FC4 for some unknown reason.
854 2006-07-30 Stefan Kost <ensonic@users.sf.net>
856 * gst/parse/Makefile.am:
857 * gst/parse/grammar.y:
859 Reverted previous patch as it required to bump the flex dependency to
860 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
862 2006-07-30 Stefan Kost <ensonic@users.sf.net>
864 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
866 * gst/parse/Makefile.am:
867 * gst/parse/grammar.y:
869 push & pop the state of the lexer for reentrant use case
872 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
874 * libs/gst/base/gstbasesrc.h:
875 Note in the docs that the ::newsegment vfunc is not actually used by
878 2006-07-28 Wim Taymans <wim@fluendo.com>
880 * libs/gst/base/gstcollectpads.c:
881 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
882 (gst_collect_pads_clear), (gst_collect_pads_flush),
883 (gst_collect_pads_event), (gst_collect_pads_chain):
884 When flushing a pad, also clear the queued buffer so that we don't
885 accidentally use it when we shouldn't.
886 Fix leaks by inreffing incomming buffer.
887 Flush out queued buffers in case of errors.
890 2006-07-28 Wim Taymans <wim@fluendo.com>
892 * docs/random/phonon-gst:
893 Random notes about a Phonon backend.
895 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
897 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
899 * tests/check/libs/gdp.c: (gst_dp_suite):
900 Take a whack at fixing the ppc compile using a different define to
901 disable the broken test.
903 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
904 Remove excess g_print()
906 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
908 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
909 Oops, meant to uncomment this line too to dampen the noise a bit.
911 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
913 * gst/parse/grammar.y:
915 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
916 (GST_START_TEST), (parse_suite):
917 Fix some of the leaks exposed by extending the parse-launch testsuite,
918 and move the 3 I can't figure out into a separate test that won't run
919 the pipelines unless the appropriate line is uncommented.
921 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
923 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
924 Requesting 0 bytes before the end of the file should result in
925 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
928 2006-07-27 Wim Taymans <wim@fluendo.com>
930 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
931 Fix useless assert, a uint is always positive.
933 * gst/gststructure.c: (gst_structure_nth_field_name),
934 (gst_structure_foreach), (gst_structure_map_in_place):
935 Check input arguments for public functions to avoid obvious crashes.
937 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
938 * plugins/elements/gstfakesink.h:
939 Do less useless typechecking.
941 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
943 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
944 Do not use mmap() by default since there are a number of error
945 conditions that we would like to handle in a non-fatal way that
946 will result in a SIGBUS if we use mmap(). Examples: external
947 devices (USB harddrive, portable music player) being unplugged
948 while in use; file on mounted CD/DVD that can't be read because
949 the medium is partly damaged. Fixes #348455 and #348475.
951 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
954 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
957 2006-07-26 Stefan Kost <ensonic@users.sf.net>
960 Move big documentation comment into class section header, so that it
961 appears in the API docs.
963 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
965 * docs/gst/gstreamer-sections.txt:
966 Oops. Commit the docs additions too for new API.
967 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
969 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
971 * gst/gststructure.c: (gst_structure_id_set),
972 (gst_structure_id_set_valist):
973 * gst/gststructure.h:
974 Add API for setting values into structures without performing
975 a quark lookup, if the appropriate quark is already known.
977 API: gst_structure_id_set
978 API: gst_structure_id_set_valist
980 * gst/parse/grammar.y:
982 Remove some dead code shown by the coverage information.
983 Don't throw a critical g_warning when encountering a syntax error,
984 just warn and let the normal error path handle it.
986 * plugins/elements/gstelements.c:
987 Bump the rank of filesink up to PRIMARY so that it is preferred over
988 gnomevfssink for file:// sink uri's
990 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
991 (GST_START_TEST), (run_delayed_test),
992 (gst_parse_test_element_base_init),
993 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
994 (gst_parse_test_element_change_state),
995 (gst_register_parse_element), (parse_suite):
996 Beef up the tests for parse syntax to check that more error cases
997 fail as they are supposed to. Increases the test coverage a bit.
999 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1001 * docs/manual/basics-elements.xml:
1002 Fix gst_element_link() example.
1005 Mention in API docs that one should usually gst_bin_add()
1006 elements to a bin or pipeline before doing the linking.
1008 2006-07-26 Wim Taymans <wim@fluendo.com>
1010 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1011 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1012 Avoid function call for known types by keeping the buffer and
1013 subbuffer GType global.
1015 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1016 Random silly optimisations in read() path.
1018 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1020 * tools/gst-launch.c: (main):
1021 If the top-level of the parse is a normal bin, it doesn't do the
1022 right logic to run as a top-level element, so place it inside a
1025 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1027 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1028 Remove superfluous g_object_notify() calls, GObject does
1029 that for us automatically.
1031 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1034 on Win32, use dllspec to export the debug category symbols
1036 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1038 * gst/gsttaglist.c: (_gst_tag_initialize):
1039 Allow more than one GST_TAG_IMAGE per taglist.
1041 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1043 * gst/gstminiobject.c:
1045 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1046 (gst_fd_src_create):
1047 log recurring events at LOG level
1048 add more debug for when the fd gets set
1050 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1052 * gst/gstparse.c: (gst_parse_launch):
1053 Also remove reentrance checks if flex is MT safe (#348179)
1054 Fix my empty ChangeLog entry below
1056 2006-07-21 Andy Wingo <wingo@pobox.com>
1058 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1060 * libs/gst/check/Makefile.am
1061 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1062 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1063 * libs/gst/check/gstbufferstraw.h:
1064 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1065 functions, thus proving I am still a GStreamer haxor. OK I wrote
1066 them a long time ago, but anyways.
1068 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1071 * gst/gstparse.c: (gst_parse_launch):
1072 Check for flex version and omit mutex if we have a MT save flex
1075 2006-07-21 Wim Taymans <wim@fluendo.com>
1077 * gst/gstparse.c: (gst_parse_launch):
1078 Protect recursive calls to _parse with a recursive mutex
1081 2006-07-21 Wim Taymans <wim@fluendo.com>
1083 * tests/check/gst/gstpad.c: (GST_START_TEST):
1086 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1088 * gst/gstparse.c: (gst_parse_launch):
1089 Do not hang on recursive usage of gst_parse_launch()
1091 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1094 Add some more docs, comments and FIXME 0.11s here and there
1095 and also fix some typos.
1097 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1100 Convert tabs to spaces for better readability.
1102 2006-07-20 Edward Hervey <edward@fluendo.com>
1104 * tests/check/libs/gdp.c: (gst_dp_suite):
1105 the test_buffer test fails at line 140 on ppc64 at the following
1107 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1108 GST_BUFFER_FLAG_IN_CAPS),
1109 "GST_BUFFER_IN_CAPS flag should have been copied !");
1110 See bug #348114 for more details.
1112 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1114 * docs/pwg/advanced-scheduling.xml:
1116 Fix typos (#348000).
1118 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1120 * docs/pwg/intro-basics.xml:
1121 Fix wrong links (#347927).
1123 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1125 * gst/gstregistry.h:
1126 * gst/gstregistryxml.c: (load_feature),
1127 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1128 * win32/common/config.h:
1129 make --disable-index work (#342564)
1131 2006-07-18 Wim Taymans <wim@fluendo.com>
1133 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1137 The attached patch adds two missing defines to gsttrace.h when tracing
1138 is disabled. It also corrects one existing define.
1141 2006-07-17 Wim Taymans <wim@fluendo.com>
1143 * docs/gst/gstreamer-sections.txt:
1144 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1146 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1147 Add two functions to check and change the SIGSEGV behaviour
1148 when loading plugins.
1149 Don't mess with the SIGSEGV handler when we were told not to.
1151 API: gst_segtrap_is_enabled
1152 API: gst_segtrap_set_enabled
1154 2006-07-14 Wim Taymans <wim@fluendo.com>
1156 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1157 * tests/check/elements/filesrc.c: (GST_START_TEST):
1158 Revert fix for regression in #347408 after release.
1160 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1162 Patch by: Antoine Tremblay <hexa00 at gmail com>
1164 * gst/gstutils.c: (gst_element_unlink):
1165 Free iterator when done (#347311).
1167 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1168 And add a test case for this.
1170 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1173 Bump nano back to CVS
1175 === release 0.10.9 ===
1177 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1180 releasing 0.10.9, "On the road again"
1182 2006-07-13 Wim Taymans <wim@fluendo.com>
1184 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1185 * tests/check/elements/filesrc.c: (GST_START_TEST):
1186 Revert pull-0 fix for release. Disable check. Fixes #347408.
1188 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1190 * libs/gst/dataprotocol/dataprotocol.c:
1191 (gst_dp_event_from_packet_1_0):
1192 Fixes #347337: failure to deserialize event packets with
1193 empty payload (only event type)
1195 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1198 do not install a .c file in the header directory
1200 2006-07-13 Edward Hervey <edward@fluendo.com>
1202 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1203 GhostPad no longer implicitely use the padtemplates of the targets.
1206 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1208 * gst/gstvalue.c: (gst_value_compare_list),
1209 (gst_value_compare_array), (_gst_value_initialize):
1210 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1211 Make GstValueArray comparison be order dependent as designed.
1212 Add checks for value lists and value array comparisons.
1215 2006-07-11 Edward Hervey <edward@fluendo.com>
1217 * gst/gstbin.c: (activate_pads),
1218 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1219 (gst_bin_change_state_func):
1220 (de)activate src pads before calling state_change on the childs.
1221 This is to avoid the case where a src ghostpad is blocked (holding the
1222 stream lock), which would block the deactivation of the ghostpad's
1224 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1225 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1226 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1227 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1228 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1229 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1230 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1231 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1232 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1233 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1234 (gst_ghost_pad_class_init),
1235 (gst_ghost_pad_internal_do_activate_push),
1236 (gst_ghost_pad_internal_do_activate_pull),
1237 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1238 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1239 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1240 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1241 GhostPads now create their internal GstProxyPad at creation (and not
1242 when they're linked, as it was being done previously).
1243 The internal and target pads are linked straight away.
1244 The data will also travel through the other pad in order to make
1245 pad blocking and probes non-hackish (the probe/block now really happens
1246 on the GhostPad and not on the target).
1247 * gst/gstpad.c: (gst_pad_set_blocked_async),
1248 (gst_pad_link_prepare), (gst_pad_push_event):
1249 Remove previous ghostpad cruft.
1250 * gst/gstutils.c: (gst_pad_add_data_probe),
1251 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1252 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1253 (gst_pad_remove_buffer_probe):
1254 Remove previous ghost pad cruft.
1255 Added more detailed debug statements.
1256 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1257 Fix the testsuite for refcounting changes.
1258 The comments about who has references were correct, but the refcount
1259 being checked wasn't the same (!?!).
1263 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1265 * docs/gst/gstreamer-sections.txt:
1266 * gst/gstconfig.h.in:
1267 More docs for configuration options, add docs to gtk-doc.
1269 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1272 * gst/gstconfig.h.in:
1273 * win32/common/config.h:
1274 Fix build when disabling tracing (fixes #344016). Also start to document
1275 the defines that disable the sub-systems.
1277 2006-07-10 Edward Hervey <edward@fluendo.com>
1279 * gst/gst.c: (ensure_current_registry_forking):
1280 let's make valgrind happy...
1282 2006-07-09 Wim Taymans <wim@fluendo.com>
1284 * gst/gstelement.c: (activate_pads),
1285 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1286 Better pad activation code: Reset the collect value too on resync.
1289 2006-07-09 Wim Taymans <wim@fluendo.com>
1291 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1292 (gst_pad_activate_push):
1293 Use some more macros where it makes sense.
1294 Allow pad mode switching instead of asserting. When a pad
1295 is activated in one mode and we activate it in another,
1296 deactivate it first before activating it in a different mode.
1299 2006-07-08 Andy Wingo <wingo@pobox.com>
1301 * tools/gst-launch.c (main): Handle err == NULL.
1303 * gst/gst.c (init_post, ensure_current_registry)
1304 (ensure_current_registry_forking)
1305 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1306 factoring out the registry scanning into separate functions. Don't
1307 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1308 Better environment var name/interface suggestions accepted.
1310 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1312 * gst/gstobject.c: (gst_object_set_name_default),
1313 (gst_object_set_name):
1314 Random micro-optimisation: don't use a hash table
1315 with strings as keys and the usual strdup/strcmp
1316 involved, but rather just use the GQuark of the
1317 type name as key, since it needs to be looked up
1318 anyway to get the type name string.
1320 * tests/check/gst/gstobject.c: (GST_START_TEST):
1323 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1325 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1326 (gst_bin_iterate_all_by_interface):
1327 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1328 GTypes are gulongs and thus the top 4 bytes might be cut
1329 off on some platforms when doing GPOINTER_TO_INT, leading
1330 to invalid GTypes and bad things happening (see RH bug #179654).
1331 Also add a check to make sure the type passed in is really
1334 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1339 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1343 * gst-element-check.m4:
1344 * gst-element-check.m4.in:
1345 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1346 instead of the unversioned gst-inspect (#324176, #168659).
1348 2006-07-06 Wim Taymans <wim@fluendo.com>
1351 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1354 2006-07-06 Wim Taymans <wim@fluendo.com>
1356 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1357 (gst_base_src_wait), (gst_base_src_update_length),
1358 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1359 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1360 (gst_base_src_loop), (gst_base_src_start),
1361 (gst_base_src_activate_pull):
1363 blocksize == 0 now means the default blocksize when working in push
1365 Remove some pointless asserts in _wait function.
1366 Fix offset/length calculations and EOS handling. We can now pull 0
1367 bytes as well, which is allowed.
1368 use _check_get_range() to decide if we can operate in _pull based
1370 Fix refcounting leak when check_get_range function was not
1372 API GstBaseSrc::blocksize range can be 0 too now (default)
1374 * tests/check/elements/filesrc.c: (GST_START_TEST),
1376 Added check to test _get_range() behaviour.
1378 2006-07-06 Wim Taymans <wim@fluendo.com>
1380 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1381 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1382 (gst_pad_pull_range):
1384 Lots of comments and docs added to the pad functions.
1385 Flesh out the expected behaviour of the get_range() functions.
1387 2006-07-06 Wim Taymans <wim@fluendo.com>
1392 * gst/gstiterator.h:
1396 Remove comma at end of enumerator list.
1398 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1400 * win32/common/libgstbase.def:
1401 * win32/common/libgstdataprotocol.def:
1402 * win32/common/libsgtreamer.def:
1403 Add new exported functions.
1405 2006-07-05 Wim Taymans <wim@fluendo.com>
1407 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1408 Add some more docs here and there.
1410 2006-07-05 Wim Taymans <wim@fluendo.com>
1412 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1413 (gst_base_sink_loop), (gst_base_sink_get_position):
1414 When operating in pull mode update the offset so that we
1417 2006-07-05 Wim Taymans <wim@fluendo.com>
1419 * gst/gstregistryxml.c: (read_string):
1420 Avoid strdup. (will happen in libxml, but hey!)
1425 2006-07-05 Wim Taymans <wim@fluendo.com>
1427 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1428 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1430 No point in checking if the size of the subbuffer > 0, the
1431 code handles it correclty as demonstrated by unit test.
1432 Also add a unit test for the zero sized _new_and_alloc and
1433 _copy. Fixes #346663.
1435 2006-07-05 Wim Taymans <wim@fluendo.com>
1437 * libs/gst/base/gstbasetransform.c:
1438 (gst_base_transform_prepare_output_buffer),
1439 (gst_base_transform_buffer_alloc),
1440 (gst_base_transform_handle_buffer):
1441 Make sure the buffer we pass to transform_ip has a refcount of
1442 1 and thus is writable. Fixes #343196
1444 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1446 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1447 (gst_file_src_init), (gst_file_src_set_property),
1448 (gst_file_src_get_property), (gst_file_src_map_region):
1449 * plugins/elements/gstfilesrc.h:
1450 Add "sequential" property, off by default, to use madvise and hint
1451 to the kernel that sequential access is desired.
1452 Touch all retrieved pages by default to ensure they are pulled
1453 into memory. (Closes #345720)
1455 2006-07-03 Wim Taymans <wim@fluendo.com>
1457 * docs/design/part-block.txt:
1458 * docs/design/part-dynamic.txt:
1461 2006-07-03 Wim Taymans <wim@fluendo.com>
1463 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1464 (gst_caps_unref), (gst_static_caps_get),
1465 (gst_caps_append_structure):
1466 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1467 Use GSlice when the glib we build against is >= 2.10
1469 2006-07-03 Wim Taymans <wim@fluendo.com>
1471 * gst/gstelement.c: (gst_element_pads_activate):
1472 Small cleanup in pad activation code.
1474 2006-07-03 Wim Taymans <wim@fluendo.com>
1476 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1478 * gst/gst-i18n-app.h:
1479 * gst/gst-i18n-lib.h:
1480 * tools/gst-inspect.c: (print_signal_info):
1481 The attached patch will make the inclusion of gettext.h unconditional in
1482 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1483 libintl.h in tools/gst-inspect.c.
1484 This allows use of --disable-nls again and fixes #344642.
1486 2006-07-03 Edward Hervey <edward@fluendo.com>
1488 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1489 Implement pad blocking on events according to part-block.txt.
1490 More comments on behaviour.
1491 * tests/check/gst/gstevent.c: (test_event):
1492 Send event to peer pad of blocked pad (else it will block).
1494 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1496 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1497 (gst_check_run_suite):
1498 if we get the wrong message, give us the types as string
1499 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1501 * tests/check/elements/filesrc.c: (GST_START_TEST):
1502 add a test for trying to open a non-existing file
1504 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1506 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1507 add a test for adding self
1509 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1511 * libs/gst/check/gstcheck.h:
1512 add some assert_ as alias for fail_unless_*
1513 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1514 increase test coverage
1516 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1519 include lcov.mak for lcov coverage generation
1520 * tools/Makefile.am:
1523 2006-07-02 Edward Hervey <edward@fluendo.com>
1525 * tests/check/elements/.cvsignore:
1528 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1531 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1532 * tests/check/Makefile.am:
1535 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1537 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1538 remove gst_caps_simplify; it was not declared and not used
1539 and deprecated in 0.8
1541 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1543 * docs/faq/gst-uninstalled:
1544 don't put empty paths on PYTHONPATH
1545 * docs/gst/gstreamer-sections.txt:
1546 remove some symbols that are not there
1548 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1550 * gst/gstcaps.c: (gst_caps_compare_structures):
1552 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1553 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1556 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1558 * libs/gst/dataprotocol/Makefile.am:
1559 build dataprotocol test by linking to the lib, instead of
1560 compiling the source, so we get coverage
1561 * tests/check/Makefile.am:
1562 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1563 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1564 add a test for filesrc
1566 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1568 * tests/check/gst/gststructure.c: (GST_START_TEST),
1569 (gst_structure_suite):
1570 Push coverage from 59.04% to 70.00%
1572 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1574 * tests/check/Makefile.am:
1575 gst-inspect every element; this makes sure that we also get
1576 coverage on element's get/set functions
1578 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1581 set CFLAGS and friends to -O0 if gcov is being used
1584 * libs/gst/base/Makefile.am:
1585 * libs/gst/check/Makefile.am:
1586 * libs/gst/controller/Makefile.am:
1587 * libs/gst/dataprotocol/Makefile.am:
1588 * libs/gst/net/Makefile.am:
1589 * plugins/elements/Makefile.am:
1590 * plugins/indexers/Makefile.am:
1591 add makefile rules to generate gcov data and clean up
1592 * tests/check/Makefile.am:
1593 add a coverage target that generates an html overview
1596 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1598 * tests/check/elements/fakesink.c:
1599 * tests/check/elements/fakesrc.c:
1600 * tests/check/elements/fdsrc.c:
1601 * tests/check/elements/identity.c:
1602 * tests/check/generic/sinks.c: (gst_sinks_suite):
1603 * tests/check/generic/states.c:
1604 * tests/check/gst/gst.c:
1605 * tests/check/gst/gstabi.c:
1606 * tests/check/gst/gstbin.c:
1607 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1608 * tests/check/gst/gstbus.c: (gst_bus_suite):
1609 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1610 * tests/check/gst/gstelement.c:
1611 * tests/check/gst/gstevent.c: (gst_event_suite):
1612 * tests/check/gst/gstghostpad.c:
1613 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1614 * tests/check/gst/gstmessage.c: (gst_message_suite):
1615 * tests/check/gst/gstminiobject.c:
1616 * tests/check/gst/gstobject.c:
1617 * tests/check/gst/gstpad.c:
1618 * tests/check/gst/gstpipeline.c:
1619 * tests/check/gst/gstplugin.c:
1620 * tests/check/gst/gstquery.c: (gst_query_suite):
1621 * tests/check/gst/gstsegment.c: (gst_segment_suite):
1622 * tests/check/gst/gststructure.c:
1623 * tests/check/gst/gstsystemclock.c:
1624 * tests/check/gst/gsttag.c:
1625 * tests/check/gst/gsttask.c: (gst_task_suite):
1626 * tests/check/gst/gstutils.c:
1627 * tests/check/gst/gstvalue.c:
1628 * tests/check/libs/adapter.c:
1629 * tests/check/libs/basesrc.c:
1630 * tests/check/libs/collectpads.c:
1631 * tests/check/libs/controller.c:
1632 * tests/check/libs/gdp.c: (gst_dp_suite):
1633 * tests/check/libs/gstnetclientclock.c:
1634 * tests/check/libs/gstnettimeprovider.c:
1635 * tests/check/libs/libsabi.c: (libsabi_suite):
1636 * tests/check/libs/typefindhelper.c:
1637 * tests/check/pipelines/cleanup.c:
1638 * tests/check/pipelines/parse-launch.c:
1639 * tests/check/pipelines/simple-launch-lines.c:
1640 * tests/check/pipelines/stress.c: (stress_suite):
1643 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1645 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1646 * libs/gst/check/gstcheck.h:
1647 create a macro and function so that the simple unit test
1648 case can be just one macro to create main()
1650 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
1652 * gst/gstbin.c: (gst_bin_restore_thyself):
1653 * gst/gstxml.c: (gst_xml_make_element):
1654 Fix deserialisation from XML. Set parent manually
1655 instead of using gst_bin_add(), since gst_bin_add()
1656 will unlink all pads of the element being added.
1659 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
1661 Patch by: Peter Kjellerstedt <pkj at axis com>
1663 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1664 Fix missing g_strdup() and double free when using the
1665 --gst-plugin-load command line option (#346097).
1667 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1670 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1672 * libs/gst/net/gstnetclientclock.c:
1673 * libs/gst/net/gstnettimeprovider.c:
1674 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1676 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1678 * docs/manual/advanced-dataaccess.xml:
1679 Fix buffer probe example compilation in
1682 2006-06-22 Edward Hervey <edward@fluendo.com>
1684 * gst/gstelement.c: (gst_element_pads_activate):
1685 We need to deactivate src pads first and then sink pads.
1686 The reason is the src pads might be blocking while holding the streaming
1687 lock, so we need to deactivate them first so that deactivating the sink
1688 pads doesn't block (since it will require the streaming lock).
1690 2006-06-22 Wim Taymans <wim@fluendo.com>
1692 * libs/gst/base/gstbasetransform.c:
1693 (gst_base_transform_buffer_alloc):
1694 Forgot to remove two unneeded unrefs.
1695 Simplify a check _is_equal allready checks the obvious case.
1697 2006-06-22 Wim Taymans <wim@fluendo.com>
1699 * docs/design/part-block.txt:
1700 Some docs about what pad_block should do.
1702 2006-06-22 Wim Taymans <wim@fluendo.com>
1704 * gst/gstcaps.c: (gst_caps_replace):
1705 Fix crasher when passed NULL. Doc clarification.
1706 Optimize for the trivial case.
1708 * gst/gstpipeline.c: (gst_pipeline_change_state):
1711 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1712 Small documentation cleanup.
1714 * libs/gst/base/gstbasetransform.c:
1715 (gst_base_transform_buffer_alloc):
1716 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1717 is what we need and it avoids a whole lot of redundant
1718 refcount operations.
1720 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
1722 Patch by: Philip Jägenstedt <philip at lysator liu se>
1724 * docs/manual/advanced-dataaccess.xml:
1725 Fix 'Embedding static elements' section to use
1726 GST_PLUGIN_DEFINE_STATIC (#345607).
1728 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1730 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1731 Attempt to 'fix' spuriously failing test case: it seems like the
1732 timeout of half a second is simply too small when the system is under
1733 load otherwise, and the timeout doesn't really seem to serve any
1734 particular purpose here. Give the pipeline a few seconds to preroll
1735 first, and then give it another half a second to go from PAUSED to
1736 PLAYING and marshal the message into the main thread.
1738 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1740 * tools/gst-feedback-m.m:
1741 Don't only use unversioned tools, try versioned tools as well
1744 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1746 * gst/gstbus.c: (gst_bus_class_init):
1747 Fix some typos, make docs more explicit.
1749 2006-06-20 Wim Taymans <wim@fluendo.com>
1751 * tests/check/gst/gstghostpad.c: (block_callback),
1752 (GST_START_TEST), (gst_ghost_pad_suite):
1753 Added some more ghostpad tests, mainly blocking
1756 2006-06-16 Wim Taymans <wim@fluendo.com>
1758 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1759 (gst_file_sink_close_file), (gst_file_sink_do_seek),
1760 (gst_file_sink_event), (gst_file_sink_render):
1761 * plugins/elements/gstfilesink.h:
1762 Check if we can seek in the file instead of assuming
1763 we always can. Post an error when we are asked to seek in a
1764 non-seekable file (like a fifo). Fixes #343312.
1767 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1769 * tools/gst-launch.1.in:
1770 Un-garble (fourcc) bit in filtered caps section.
1772 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1774 * docs/manual/advanced-autoplugging.xml:
1775 * docs/manual/basics-helloworld.xml:
1776 * docs/manual/highlevel-components.xml:
1777 Don't leak bus reference in sample code.
1779 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
1782 Add default for new --enable-plugin-docs switch.
1785 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1789 Use new ENABLE_PLUGIN_DOCS conditional.
1791 2006-06-14 Wim Taymans <wim@fluendo.com>
1793 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1794 Make it clear with a FIXME and a real define what the #if 0
1795 previously disabled.
1797 2006-06-14 Wim Taymans <wim@fluendo.com>
1799 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1800 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1801 * libs/gst/base/gstbasetransform.c:
1802 (gst_base_transform_sink_eventfunc):
1803 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1804 Don't randomly and silently reset a segment when the format
1805 changes as this is a bug somewhere upstream. Fixes #330379.
1807 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
1809 Patch by: Wouter Paesen <wouter at kangaroot net>
1811 * libs/gst/controller/gstcontroller.c:
1812 (gst_controlled_property_new):
1813 Fix controlling of float properties (#344849).
1815 * tests/check/libs/controller.c:
1816 (gst_test_mono_source_get_property),
1817 (gst_test_mono_source_set_property),
1818 (gst_test_mono_source_class_init), (GST_START_TEST):
1819 While we're at it, add some float stuff to unit test.
1821 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1824 * docs/images/gdp-header.svg:
1826 * docs/libs/Makefile.am:
1827 * docs/libs/gdp-header.png:
1828 * libs/gst/dataprotocol/dataprotocol.c:
1829 add it to the API docs
1830 * docs/manual/intro-motivation.xml:
1833 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1835 * gst/gst.c: (scan_and_update_registry), (init_post):
1836 If the fork()'ed child process can't write the updated registry cache
1837 file to disk for some reason, make it exit with a failure exit code,
1838 so that the parent can then re-scan the plugins itself and update the
1839 registry structures in memory and work with that (rather than failing
1840 when creating elements because seemingly no plugins are available).
1841 Refactor registry scanning code into separate function for this and
1842 also separate fork() and non-fork() code paths. Fixes #344748.
1844 2006-06-13 Wim Taymans <wim@fluendo.com>
1846 * docs/manual/advanced-dataaccess.xml:
1847 Fix wrong PluginDesc. Fixes #344755.
1849 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1851 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1852 Fix silly bug that prevented us from creating
1853 ~/.gstreamer-0.10 and writing the registry in one
1854 go (the first call to g_mkstemp() would overwrite the
1855 placeholder in the template string, so the second call
1856 to g_mkstemp() after creating the missing directory
1857 would then error out with 'invalid argument').
1859 2006-06-13 Edward Hervey <edward@fluendo.com>
1861 * gst/gst.c: (init_post):
1864 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1866 * gst/glib-compat-private.h:
1867 * gst/glib-compat.c:
1868 * gst/glib-compat.h:
1869 * gst/gstvalue.c: (gst_value_serialize_flags):
1870 remove GLib 2.6 compatibility code
1872 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
1874 * gst/parse/Makefile.am:
1875 Fix build with 'make -j N' even more (#340016).
1877 2006-06-12 Wim Taymans <wim@fluendo.com>
1879 * docs/gst/gstreamer-sections.txt:
1882 2006-06-12 Wim Taymans <wim@fluendo.com>
1884 * gst/gstsegment.c: (gst_segment_set_duration),
1885 (gst_segment_set_last_stop), (gst_segment_set_seek),
1886 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1887 (gst_segment_to_running_time), (gst_segment_clip):
1888 Use G_UNLIKELY to help the compiler a bit.
1890 2006-06-12 Wim Taymans <wim@fluendo.com>
1892 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1894 * gst/gstevent.c: (gst_event_get_type):
1896 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1898 constify quark registration strings. Fixes #344115
1899 Avoid unneeded type checking is _pad_push() by internally
1900 calling gst_pad_chain_unchecked().
1902 2006-06-12 Wim Taymans <wim@fluendo.com>
1904 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1905 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1906 (gst_subbuffer_finalize), (gst_buffer_create_sub),
1907 (gst_buffer_is_span_fast), (gst_buffer_span):
1908 Init _type for consistency.
1909 Use _FLAGS macro to avoid type check.
1910 Avoid unneeded type checks in subbufer code.
1912 2006-06-12 Wim Taymans <wim@fluendo.com>
1914 * gst/gst.c: (gst_debug_help):
1915 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1916 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1917 (gst_plugin_feature_list_free):
1918 * gst/gstregistry.c: (gst_registry_add_plugin),
1919 (gst_registry_add_feature), (gst_registry_plugin_filter),
1920 (gst_registry_feature_filter), (gst_registry_find_plugin),
1921 (gst_registry_find_feature), (gst_registry_get_plugin_list),
1922 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1923 * gst/gstregistryxml.c: (load_feature),
1924 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
1925 * gst/gstminiobject.c: (gst_mini_object_unref),
1926 (gst_mini_object_replace), (gst_value_mini_object_free),
1927 (gst_value_mini_object_copy):
1928 Use _CAST macros to avoid unneeded type checking.
1929 Added some more G_UNLIKELY.
1931 2006-06-12 Wim Taymans <wim@fluendo.com>
1934 Avoid unneeded type checking.
1935 API: GST_BUFFER_IS_DISCONT
1937 * gst/gstminiobject.h:
1938 Avoid type check in flag accessor.
1940 * gst/gstelementfactory.h:
1942 * gst/gstpluginfeature.h:
1944 API: GST_ELEMENT_FACTORY_CAST
1945 API: GST_PLUGIN_CAST
1946 API: GST_PLUGIN_FEATURE_CAST
1948 2006-06-12 Wim Taymans <wim@fluendo.com>
1950 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
1952 Add G_UNLIKELY in type registration.
1953 Avoid type check in _ref/_unref since that is also
1956 2006-06-12 Wim Taymans <wim@fluendo.com>
1958 * gst/gsterror.c: (gst_g_error_get_type):
1959 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
1960 (gst_static_pad_template_get_type):
1961 * gst/gsttaglist.c: (gst_tag_list_get_type):
1962 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
1963 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
1964 * gst/gsturi.c: (gst_uri_handler_get_type):
1965 * gst/gstvalue.c: (gst_date_get_type):
1966 * gst/gstxml.c: (gst_xml_get_type):
1967 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
1968 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1969 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
1970 Add G_UNLIKELY in type registration.
1972 2006-06-12 Wim Taymans <wim@fluendo.com>
1974 * tools/gst-inspect.c: (print_signal_info):
1975 Properly print enum values.
1977 2006-06-12 Wim Taymans <wim@fluendo.com>
1979 * gst/gstinfo.c: (gst_debug_set_active),
1980 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
1982 Add some G_[UN]LIKELY.
1983 Maintain __gst_debug_min to avoid formatting the arguments of
1984 debug messages that will be dropped anyway to avoid a lot of
1985 overhead from the debugging system.
1987 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1991 add missing files containing translatable strings, tell intltool about
1994 2006-06-11 Stefan Kost <ensonic@users.sf.net>
1996 * tests/check/libs/.cvsignore:
1997 add test-binary to ignore list
1999 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2001 * docs/libs/gstreamer-libs-docs.sgml:
2002 reorder (put dp into a chapter) and indent
2004 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2009 === release 0.10.8 ===
2011 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2014 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2016 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2018 * gst/gst.c: (init_post):
2019 move pid declaration to declaration block
2021 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2023 * gst/gst.c: (init_post):
2024 use _exit() instead of exit() in our forked child; this ensures
2025 that none of the registered exit handlers from whatever is using
2026 GStreamer get executed. This fixes gnome-mixer-applet failing
2027 to load, because ORBit would shut down.
2028 Spotted by: Edward Hervey <edward@fluendo.com>
2029 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2032 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2037 === release 0.10.7 ===
2039 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2042 releasing 0.10.7, "Soepeke, ik zie ou"
2044 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2067 * win32/common/config.h:
2070 2006-06-07 Wim Taymans <wim@fluendo.com>
2072 * gst/gstindex.c: (gst_index_gtype_resolver):
2073 * tools/gst-xmlinspect.c: (print_plugin_info):
2074 Fix leak spotted by coverity checker. Fixes #343827
2075 Fix another other leak found by paolo borelli.
2077 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2079 * libs/gst/dataprotocol/dataprotocol.c:
2080 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2081 (gst_dp_version_get_type), (gst_dp_init),
2082 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2083 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2084 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2085 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2086 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2087 (gst_dp_packetizer_free):
2088 * libs/gst/dataprotocol/dataprotocol.h:
2089 API: add a GstDPPacketizer object, and create/free functions
2090 API: add GstDPVersion enum
2091 Add 1.0 event function that uses the string serialization
2092 Serialize more useful buffer flags
2095 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2097 * tests/check/Makefile.am:
2098 * tests/check/gst/gstabi.c:
2099 * tests/check/gst/struct_ppc64.h:
2100 * tests/check/libs/libsabi.c:
2101 * tests/check/libs/struct_ppc64.h:
2102 add ppc64 structure sizes
2104 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2106 * tests/check/Makefile.am:
2107 * tests/check/gst/gstabi.c:
2108 * tests/check/gst/struct_x86_64.h:
2109 * tests/check/libs/libsabi.c:
2110 * tests/check/libs/struct_x86_64.h:
2111 generate and add structure size lists for x86_64
2113 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2115 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2116 * libs/gst/check/gstcheck.h:
2117 factor out the method from tests that checks size of structures,
2118 and add code to generate the header containing these sizes
2119 * tests/check/gst/gstabi.c: (GST_START_TEST):
2120 * tests/check/gst/struct_i386.h:
2121 * tests/check/libs/libsabi.c: (GST_START_TEST):
2122 * tests/check/libs/struct_i386.h:
2125 2006-06-06 Michael Smith <msmith@fluendo.com>
2128 Don't use c++-style comments, fixes #343929
2130 2006-06-05 Edward Hervey <edward@fluendo.com>
2133 plugin_paths is not used if we build without registry support.
2135 * gst/gstsegment.c: (gst_segment_copy):
2136 _copy() was always returning NULL...
2138 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2140 * libs/gst/dataprotocol/dataprotocol.c:
2141 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2142 (gst_dp_packet_from_event):
2145 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2147 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2148 make sure we unset caps
2150 2006-06-02 Michael Smith <msmith@fluendo.com>
2152 * libs/gst/check/gstcheck.c: (gst_check_init),
2153 (gst_check_chain_func):
2154 * libs/gst/check/gstcheck.h:
2155 Add a cond/mutex to the check support lib, signal this whenever we
2156 add to the buffers list. This will allow tests to not busy-wait on
2159 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2161 * libs/gst/dataprotocol/dataprotocol.c:
2162 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2163 (gst_dp_packet_from_event):
2164 factor out some common header init code
2166 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2168 * docs/libs/gstreamer-libs-sections.txt:
2169 * docs/libs/tmpl/gstdataprotocol.sgml:
2170 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2171 * libs/gst/dataprotocol/dataprotocol.h:
2172 API: make gst_dp_crc() public
2174 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2176 * plugins/indexers/gstindexers.c: (plugin_init):
2177 conditionally register fileindexer (fixes #343598)
2179 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2181 * gst/gsttagsetter.h:
2182 Can't cast ifaces to a class
2184 * libs/gst/net/gstnetclientclock.h:
2185 * libs/gst/net/gstnettimeprovider.h:
2186 * plugins/elements/gstfakesink.h:
2187 * plugins/elements/gstfakesrc.h:
2188 * plugins/elements/gstfdsink.h:
2189 * plugins/elements/gstfdsrc.h:
2190 * plugins/elements/gstfilesink.h:
2191 * plugins/elements/gstfilesrc.h:
2192 * plugins/elements/gstidentity.h:
2193 * plugins/elements/gstqueue.h:
2194 * plugins/elements/gsttee.h:
2195 * plugins/indexers/gstfileindex.c:
2196 * plugins/indexers/gstmemindex.c:
2197 * tests/old/examples/plugins/example.h:
2198 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2200 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2202 * libs/gst/dataprotocol/dataprotocol.c:
2203 (gst_dp_header_from_buffer):
2204 make sure we zero the whole ABI-compatible area
2206 2006-06-01 Wim Taymans <wim@fluendo.com>
2208 Patch by: Alessandro Decina <alessandro at nnva dot org>
2210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2211 Make sure the EOS flag is cleared from pads after a flush
2212 or stop. Fixes #343538.
2214 * tests/check/libs/collectpads.c: (GST_START_TEST),
2215 (gst_collect_pads_suite):
2216 Added test for collectpads reusage after EOS.
2218 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2221 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2222 * win32/common/libgstbase.def:
2223 export gst_collect_pads_set_flushing
2224 * win32/common/libgstreamer.def:
2225 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2226 gst_value_fraction_multiply
2227 * win32/vs6/gst_inspect.dsp:
2228 add a link to intl.lib
2230 2006-05-30 Wim Taymans <wim@fluendo.com>
2232 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2233 (gst_collect_pads_chain):
2234 Handle the case where a pad is removed from the collection
2235 that could cause the other pads to become collectable.
2237 2006-05-30 Wim Taymans <wim@fluendo.com>
2240 Clarify the use of _release_request_pad() and
2241 _get_request_pad() a bit better.
2243 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2244 (gst_adapter_take_buffer):
2245 Fix some doc and comment typos.
2247 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2249 * docs/gst/gstreamer-sections.txt:
2250 * docs/libs/gstreamer-libs-sections.txt:
2251 add declared symbols
2253 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2255 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2256 Add debug that can be enabled using a #define at the top of the file,
2257 for dumping stats about how late/early we were when waking up from
2258 waiting on the clock.
2260 2006-05-30 Wim Taymans <wim@fluendo.com>
2262 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2263 When rebuilding the pad list, don't leak the previous list.
2265 2006-05-30 Wim Taymans <wim@fluendo.com>
2267 Patch by: Lutz Mueller <lutz at topfrose dot de>
2269 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2270 (gst_base_src_get_query_types), (gst_base_src_update_length):
2271 Publish supported query types.
2272 Update last_stop field in get_range mode so the position
2273 query works. Fixes #342321.
2275 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2277 * docs/gst/gstreamer-sections.txt:
2278 * gst/gsttaglist.c: (_gst_tag_initialize):
2280 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2282 2006-05-30 Wim Taymans <wim@fluendo.com>
2284 Patch by: Alessandro Decina <alessandro at nnva dot org>
2286 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2287 Unlock mutex when removing an unknown pad.
2290 * tests/check/Makefile.am:
2291 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2292 (push_event), (setup), (teardown), (GST_START_TEST),
2293 (gst_collect_pads_suite), (main):
2294 Added collecpads check, disabled for now as check crashes for
2297 2006-05-29 Wim Taymans <wim@fluendo.com>
2299 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2300 Don't leak pads lists.
2302 2006-05-29 Wim Taymans <wim@fluendo.com>
2304 * docs/libs/gstreamer-libs-sections.txt:
2305 * libs/gst/base/gstcollectpads.c:
2306 (gst_collect_pads_set_flushing_unlocked),
2307 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2308 (gst_collect_pads_stop):
2309 * libs/gst/base/gstcollectpads.h:
2310 API: gst_collect_pads_set_flushing()
2311 Added api to set the pads to flushing, useful for seeking
2312 code in elements using collectpads.
2313 Clear segment when receiving a flush.
2315 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2317 * gst/gst.c: (add_path_func), (init_post):
2318 Don't scan registry paths passed via --gst-plugin-path immediately
2319 (will crash, because absolutely nothing is set up and no types are
2320 registered etc.); do this later in init_post(). Fixes #343057.
2322 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2324 * gst/gst.c: (init_post):
2325 if we have fork, fork while reading/rebuilding the registry
2326 so the parent doesn't take the hit of having all plugins loaded
2327 in memory. Fixes #342777.
2329 Check if we have fork()
2330 * win32/common/config.h.in:
2333 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2335 * plugins/elements/gstelements.c:
2336 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2337 (gst_file_src_init), (gst_file_src_set_property),
2338 (gst_file_src_get_property), (gst_file_src_start):
2339 * plugins/elements/gstfilesrc.h:
2340 API: GstFileSrc::use-mmap
2342 Add a use-mmap property to enable easier testing of all code paths.
2343 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2344 in the absence of gnomevfssrc. (Closes #340501)
2346 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2348 * tools/gst-inspect.c:
2349 Add missing include, removes warning of ngettext not being defined on
2352 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2354 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2355 Handle NULL input and output pointers silently as a failed conversion,
2356 rather than g_warnings.
2358 2006-05-25 Wim Taymans <wim@fluendo.com>
2360 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2361 Initialize variable before using. Fixes #342820.
2363 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2365 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2366 Fix off-by-one bug that would only allow peeks of N-1 bytes
2367 from the start even if the buffer to typefind on contains
2368 in fact N bytes of data (makes vorbis typefinding from a
2369 vorbis identification header buffer work).
2371 * tests/check/Makefile.am:
2372 * tests/check/libs/.cvsignore:
2373 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2374 (gst_typefindhelper_suite), (main), (foobar_typefind),
2376 Add very basic unit test for gst_type_find_helper_for_buffer()
2377 that checks for the problem fixed above.
2379 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2381 * tools/gst-inspect.c: (print_interfaces),
2382 (print_element_properties_info), (print_element_list), (main):
2383 add more translatable strings
2385 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2387 Patch by: Julien Moutte <julien at moutte net>
2389 * docs/gst/gstreamer-sections.txt:
2390 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2392 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2393 (gst_fake_sink_preroll):
2394 * plugins/elements/gstfakesink.h:
2395 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2397 2006-05-23 Wim Taymans <wim@fluendo.com>
2399 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2401 Added _CUSTOM error and success GstFlowReturn that can be
2402 used be elements internally.
2403 Added macro to check for SUCCESS flowreturns.
2404 API: GST_FLOW_CUSTOM_SUCCESS
2405 API: GST_FLOW_CUSTOM_ERROR
2406 API: GST_FLOW_IS_SUCCESS
2408 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2409 Added check for GstFlowReturn sanity.
2411 2006-05-23 Wim Taymans <wim@fluendo.com>
2413 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2415 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2416 (gst_collect_pads_event):
2417 clear/reset segment info in FLUSH_STOP.
2420 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2422 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2423 (gst_collect_pads_check_collected):
2424 Flush queued buffer on _stop(), fixes playing again (#342454)
2426 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2428 * tests/check/gst/gststructure.c: (GST_START_TEST),
2429 (gst_structure_suite):
2430 add a test for a complete structure
2432 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2434 * docs/faq/developing.xml:
2436 * docs/faq/troubleshooting.xml:
2437 * docs/faq/using.xml:
2438 Some minor FAQ updates that won't change the fact that
2439 our FAQ is badly structured, full of information hardly
2440 anyone new to GStreamer needs to know and lacking lots
2441 of information people constantly ask for.
2443 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2445 * gst/gstpad.c: (gst_pad_set_caps):
2446 Short-circuit gst_pad_set_caps if setting the existing
2447 caps pointer again, and avoid printing debug and
2448 reffing/unreffing the caps.
2450 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2451 There's actually no need to set the caps before pushing -
2452 the acceptcaps method will handle it anyway.
2454 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2456 * docs/gst/gstreamer-sections.txt:
2457 * win32/common/libgstreamer.def:
2458 * gst/gstutils.c: (gst_element_seek_simple):
2460 API: add gst_element_seek_simple() (#342238).
2462 2006-05-18 Edward Hervey <edward@fluendo.com>
2464 * gst/gsttypefind.c: (gst_type_find_get_type):
2465 * gst/gsttypefind.h:
2466 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2467 registered for GstTypeFind pointers. This allows wrapping the structure
2468 in bindings (i.e. gst-python).
2470 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2472 * gst/gsttagsetter.c:
2473 Docs additions and fixes (see #339918).
2475 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2477 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2478 The caps intersection algorithm can produce multiple copies of the
2479 caps. Until that is fixed, we need to simplify the result to be
2480 sure whether the allowed caps are fixed or not.
2482 * plugins/elements/gstqueue.c: (gst_queue_init),
2483 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2484 (gst_queue_push_one):
2485 Proxied buffer alloc should not set the caps on the source pad.
2486 When pushing buffers, we always accept the caps change that triggers.
2487 This prevents negotiation errors caused by caps changing mid-stream
2488 and then being refused on our source pad (because upstream is now
2489 refusing those caps).
2491 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2493 * tests/examples/helloworld/helloworld.c: (main):
2494 Must plug audioconvert and audioresample between decoder
2497 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2499 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2500 (load_feature), (load_plugin):
2501 Allow empty strings for some of the plugin fields so we don't
2502 drop valid plugin entries that were written out correctly
2505 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2507 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2508 Use g_remove and g_rename instead of remove and rename that don't
2509 handle utf8 characters. rename was failing for users who had specific
2510 characters in their name then the registry was built at each
2512 * win32/vs6/gst_inspect.dsp:
2513 * win32/vs6/gst_launch.dsp:
2514 * win32/vs6/libgstbase.dsp:
2515 * win32/vs6/libgstcoreelements.dsp:
2516 * win32/vs6/libgstreamer.dsp:
2517 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2518 build of libgstreamer and clean unused libraries in projects link
2521 2006-05-17 Edward Hervey <edward@fluendo.com>
2523 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2524 The queue is not responsible for pushing an EOS when receiving a fatal
2525 flow error. It's up to the real element driving the pipeline to do that.
2527 2006-05-16 Edward Hervey <edward@fluendo.com>
2529 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2530 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2531 buffer returned a fatal error. It should just send an EOS and stop
2533 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2534 when pushing buffers on the queue and will be able to handle the event.
2536 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2538 * docs/manual/basics-bins.xml:
2539 * docs/manual/basics-init.xml:
2540 Fix typos and minor errors in sample code (#341856).
2542 2006-05-16 Wim Taymans <wim@fluendo.com>
2544 * docs/design/part-qos.txt:
2545 Fix indexes in formulas to make more sense.
2547 2006-05-15 Wim Taymans <wim@fluendo.com>
2549 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2550 Don't report POSITION based on clock time if sync is
2553 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2556 Add cast to make compiler happy - refcount variable was a gint
2557 in GstObject but is a guint in GObject and g_atomic_int_get()
2560 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2562 * gst/parse/Makefile.am:
2563 chain commands using &&, which also makes parallel make work
2565 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2567 * docs/gst/gstreamer-sections.txt:
2573 === release 0.10.6 ===
2575 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2578 releasing 0.10.6, "Take the cannoli"
2580 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2582 * tools/gst-launch.c: (print_tag):
2583 Fix use of uninitialized variable in the hypothetical
2584 case that some broken plugin creates a GST_TAG_IMAGE
2585 tag containing a NULL buffer (#341667).
2587 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2589 * tools/gst-launch.c: (print_tag):
2590 Print something more intelligible for image tags when
2591 using the -t switch (#341556).
2593 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2598 define GST_MAJORMINOR so we have it available in win32/common/config.h
2599 Possibly remove it from our Makefile.am files later
2600 * win32/common/config.h:
2601 * win32/common/config.h.in:
2602 added GST_MAJORMINOR
2603 * win32/common/gstenumtypes.c: (register_gst_resource_error):
2604 * win32/common/gstversion.h:
2607 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
2610 Update win32 files listing.
2611 * win32/common/gstversion.h:
2612 Add GST_MAJORMINOR definition.
2613 * win32/common/libgstreamer.def:
2614 Add new exported functions.
2616 2006-05-12 Michael Smith <msmith@fluendo.com>
2618 * gst/gstplugin.c: (gst_plugin_load_file):
2619 If an so file has no plugin entry point, unload the module.
2621 2006-05-11 Wim Taymans <wim@fluendo.com>
2623 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2624 (gst_queue_set_property):
2625 Don't forget to signal the _chain or _loop function
2626 when the queue size or thresholds change since that might
2627 cause them to make progres again.
2629 2006-05-11 Stefan Kost <ensonic@users.sf.net>
2631 * gst/gstclock.c: (gst_clock_class_init):
2632 * gst/gstindex.c: (gst_index_class_init):
2633 * gst/gstobject.c: (gst_object_class_init):
2634 * gst/gstpad.c: (gst_pad_class_init):
2635 * gst/gstpipeline.c: (gst_pipeline_class_init):
2636 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2637 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2638 * libs/gst/base/gstbasetransform.c:
2639 (gst_base_transform_class_init):
2640 * libs/gst/net/gstnetclientclock.c:
2641 (gst_net_client_clock_class_init):
2642 * libs/gst/net/gstnettimeprovider.c:
2643 (gst_net_time_provider_class_init):
2644 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2645 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2646 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2647 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2648 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2649 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2650 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2651 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2652 * plugins/elements/gsttee.c: (gst_tee_class_init):
2653 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2654 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2655 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2657 2006-05-11 Wim Taymans <wim@fluendo.com>
2659 * gst/gstbuffer.c: (_gst_buffer_initialize):
2660 Register subbufer along with the buffer type so that
2661 it does not accidentally gets registered from N
2662 different streaming threads in a non threadsafe way.
2664 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2669 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2670 gst_event_ref() and gst_message_ref() functions again
2671 (ugly hack, please do fix if there's a better way besides
2672 overrides.txt, which doesn't seem to work).
2674 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2676 * libs/gst/check/gstcheck.h:
2677 add an assert for setting state to avoid lots of repetitive code
2680 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2682 * gst/gstvalue.c: (gst_value_serialize_flags):
2683 fix a leak if no flags are set
2684 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2687 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2689 * docs/manual/basics-pads.xml:
2690 Expand a bit on caps and filtered links and update
2691 examples that were still using the no longer existing
2692 gst_pad_link_filtered() (#338206).
2694 2006-05-10 Wim Taymans <wim@fluendo.com>
2696 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2697 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2698 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2699 (gst_collect_pads_stop):
2700 * libs/gst/base/gstcollectpads.h:
2701 No need to call _stop in _finalize.
2702 Iterate the main pad list in _finalize.
2703 Added some more debug.
2704 Free lists and data in the right order.
2705 Also free data whem doing _remove_pad when stopped for
2706 backward compatibility protect ::started with PAD_LOCK as
2709 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2711 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2712 (gst_structure_parse_value):
2714 rename a method so that it actually says what it does better
2716 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2718 * gst/gstevent.c: (_gst_event_initialize):
2719 * gst/gstformat.c: (_gst_format_initialize):
2720 make sure some essential types used by events are registered
2721 as part of gst_init()
2722 * gst/gstvalue.c: (gst_value_serialize_flags):
2723 if no flags are set, serialize them to a value that represents NONE
2724 so that deserializing them works
2725 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2726 add tests for serialization and deserialization of flags
2728 2006-05-10 Wim Taymans <wim@fluendo.com>
2730 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2731 (gst_collect_pads_collect_range), (gst_collect_pads_available),
2732 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2733 (gst_collect_pads_event), (gst_collect_pads_chain):
2736 Catch and return errors from the collect function
2737 Refuse data on eos pads.
2739 2006-05-10 Edward Hervey <edward@fluendo.com>
2741 * gst/gstinterface.h:
2742 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2743 GInterface type checking.
2744 They were previously using non-defined macros.
2746 2006-05-09 Wim Taymans <wim@fluendo.com>
2748 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2749 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2750 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2751 (gst_collect_pads_start), (gst_collect_pads_stop),
2752 (gst_collect_pads_peek), (gst_collect_pads_pop),
2753 (gst_collect_pads_available), (gst_collect_pads_read),
2754 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2755 (gst_collect_pads_is_collected), (gst_collect_pads_event),
2756 (gst_collect_pads_chain):
2757 * libs/gst/base/gstcollectpads.h:
2758 Clean up the mess that is collectpads, add comments and
2759 FIXMEs where needed.
2760 Maintain a separate pad list so we can add pads while
2761 collecting the other ones. For this we need a new separate
2763 Fix memory leak in finalize.
2764 Refactor some weird code to set/unset pad flushing flags, mark
2766 Don't crash in _available, _read, _flush when we're EOS.
2768 * tests/check/libs/.cvsignore:
2769 Ignore adapter check binary.
2771 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2773 * gst/gstindex.c: (gst_index_resolver_get_type):
2774 * plugins/elements/gstfakesink.c:
2775 (gst_fake_sink_state_error_get_type):
2776 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2777 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2778 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2779 Const-ify GEnumValue arrays.
2781 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2783 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2784 Add test case for flags + gst_buffer_make_metadata_writable().
2786 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2788 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2789 gst_buffer_make_metadata_writable() should maintain the
2790 buffer flags (those that make sense at least) (see #340859).
2792 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2794 * tools/gst-inspect.c:
2795 * tools/gst-launch.c:
2796 * tools/gst-typefind.c:
2797 * tools/gst-xmlinspect.c:
2799 Fix up includes: need to include stdlib.h in tools.h for exit().
2801 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2803 * gst/gsttaglist.c: (_gst_tag_initialize):
2805 API: add GST_TAG_IMAGE tag (#340721).
2807 2006-05-08 Wim Taymans <wim@fluendo.com>
2810 Added some docs for the segment query.
2812 2006-05-08 Wim Taymans <wim@fluendo.com>
2814 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2815 (gst_base_src_loop), (gst_base_src_change_state):
2816 Always push non-flushing serialized events in the streaming
2819 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
2821 * gst/gsterror.c: (_gst_stream_errors_init):
2822 Add a missing error string.
2824 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
2826 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2827 Add applied_rate to the debug
2829 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2830 Copy applied_rate into the outgoing NEWSEGMENT event
2832 2006-05-08 Wim Taymans <wim@fluendo.com>
2834 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2836 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2837 (gst_base_sink_change_state):
2838 call ::unlock before taking the PREROLL_LOCK so we can safely
2839 handle elements that lock in ::render.
2842 2006-05-08 Edward Hervey <edward@fluendo.com>
2844 * autogen.sh: (CONFIGURE_DEF_OPT):
2845 Darwin's libtoolize is in fact called glibtoolize.
2846 Adding glibtoolize to the list of accepted names for libtoolize.
2848 2006-05-08 Wim Taymans <wim@fluendo.com>
2850 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2851 Unify error handling, don't post an error message
2852 when a push() returns EOS but perform our normal EOS
2853 handling code. Fixes #340772.
2855 2006-05-08 Wim Taymans <wim@fluendo.com>
2857 * docs/design/part-overview.txt:
2858 Make upsteam/downstream concepts more clear.
2859 Give an example of serialized/non-serialized events.
2861 * docs/design/part-events.txt:
2862 * docs/design/part-streams.txt:
2863 Mention applied_rate.
2865 * docs/design/part-trickmodes.txt:
2866 Mention applied rate, flesh out some more use cases.
2868 * gst/gstevent.c: (gst_event_new_new_segment),
2869 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2870 (gst_event_parse_new_segment_full), (gst_event_new_tag),
2871 (gst_event_parse_tag), (gst_event_new_buffer_size),
2872 (gst_event_parse_buffer_size), (gst_event_new_qos),
2873 (gst_event_parse_qos), (gst_event_parse_seek),
2874 (gst_event_new_navigation):
2876 Add applied_rate field to NEWSEGMENT event.
2877 API: gst_event_new_new_segment_full()
2878 API: gst_event_parse_new_segment_full()
2880 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2881 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2882 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2884 Add applied_rate to GstSegment structure.
2885 Make calculation of stream_time and running_time more correct
2886 wrt rate/applied_rate.
2888 API: GstSegment::applied_rate field
2889 API: gst_segment_set_newsegment_full();
2891 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2892 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2893 * libs/gst/base/gstbasetransform.c:
2894 (gst_base_transform_sink_eventfunc),
2895 (gst_base_transform_handle_buffer):
2896 Parse and use applied_rate in the GstSegment field.
2898 * tests/check/gst/gstevent.c: (GST_START_TEST):
2899 Add check for applied_rate field.
2901 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2902 (gstsegments_suite):
2903 Add more checks for various GstSegment operations.
2905 2006-05-08 Wim Taymans <wim@fluendo.com>
2907 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2908 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2909 (gst_base_sink_get_position), (gst_base_sink_change_state):
2910 Store the sync time of the buffer end position separatly in a
2911 new variable eos_rtime so we can properly sync the EOS event.
2913 Fix the docs for gst_base_sink_set_qos_enabled().
2914 Don't set segment start to invalid value when we receive a
2915 non TIME newsegment.
2916 get closer to handling position reporting for negative rates
2919 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2922 Docs about how to print caps for debug purposes.
2924 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
2925 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
2927 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2930 use full enum names and preprend a '%' in docs strings to make recent
2931 gtk-doc turn that into a link
2933 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2935 * docs/manual/basics-bins.xml:
2936 * docs/manual/basics-bus.xml:
2937 * docs/manual/basics-pads.xml:
2938 Some typo fixes, some additions, some clarifications.
2940 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2942 * tools/gst-inspect.c: (main):
2943 * tools/gst-launch.c: (main):
2944 * tools/gst-run.c: (main):
2945 * tools/gst-typefind.c: (main):
2946 * tools/gst-xmlinspect.c: (main):
2947 Use the string passed to g_option_context_new() for
2948 what it's intended for - the program name is already
2951 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
2953 * tools/Makefile.am:
2954 * tools/gst-inspect.c: (main):
2955 * tools/gst-launch.c: (main):
2956 * tools/gst-xmlinspect.c: (main):
2958 Add back --version command line option (#340460).
2960 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
2961 Add --version option and use GOption for argument parsing; refactor a
2962 bit; accept directories as arguments and recurse into them; lastly,
2963 print a decent error message when things go wrong.
2965 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2967 * docs/manual/basics-bins.xml:
2968 Don't mention GstThread (#340611)
2969 * docs/manual/basics-elements.xml:
2970 Update link to GObject tutorial (#340607)
2972 2006-05-05 Wim Taymans <wim@fluendo.com>
2975 * gst/gstminiobject.c:
2976 Add note about refcounting and miniobject/buffer writeability
2977 to docs. Fixes #340604
2979 * gst/gstelementfactory.h:
2980 Added some explanation about @klass.
2982 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2984 * docs/manual/intro-motivation.xml:
2985 * docs/manual/manual.xml:
2986 Avoid CORBA & Bonobo references (#340598)
2988 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2990 * docs/manual/basics-bus.xml:
2991 * docs/manual/basics-pads.xml:
2992 Fix up some inaccuracies and omissions (#340609)
2994 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
2996 * gst/gstghostpad.c:
2997 Small typo in docs (#340625)
2999 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3001 * gst/parse/Makefile.am:
3002 Make 'make -j' proof (see #340698).
3004 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3007 Require GLib-2.8 here as well.
3009 2006-05-05 Wim Taymans <wim@fluendo.com>
3011 * gst/glib-compat.c:
3012 * gst/gst.c: (init_pre):
3013 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3014 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3015 (gst_object_dispatch_properties_changed):
3017 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3018 * gst/gststructure.c: (gst_structure_set_valist):
3019 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3020 Remove pre glib2.8 compatibility, fixes #340508
3022 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3025 Mention type of tags in doc blurbs.
3027 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3029 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3030 (gst_pad_configure_src), (gst_pad_push):
3031 Restore acceptcaps checking behaviour now that good plugins have
3034 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3036 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3047 * gst/parse/Makefile.am:
3048 * libs/gst/base/gstadapter.c:
3049 * libs/gst/base/gstbasesrc.c:
3050 * libs/gst/base/gstpushsrc.c:
3051 * libs/gst/base/gsttypefindhelper.c:
3052 * plugins/elements/gstfakesrc.c:
3053 * plugins/elements/gstidentity.c:
3054 Make sure gstprivate.h and/or config.h are
3055 always included first, otherwise some of our
3056 defines (like _FILE_OFFSET_BITS) might be
3057 redefined in the system headers. Fixes build
3058 on opensolaris (#340016).
3060 2006-05-04 Wim Taymans <wim@fluendo.com>
3062 * docs/libs/gstreamer-libs-sections.txt:
3063 API: addition: gst_adapter_take_buffer()
3065 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3066 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3067 (gst_adapter_available_fast):
3068 * libs/gst/base/gstadapter.h:
3069 Prepare for optimizing the hell out of this hugely inefficient
3071 Added gst_adapter_take_buffer() so we can at least start thinking
3072 about subbuffering and merging.
3073 Added some comments.
3075 * tests/check/Makefile.am:
3076 * tests/check/libs/adapter.c: (GST_START_TEST),
3077 (gst_adapter_suite), (main):
3078 Added GstAdapter check.
3080 2006-05-04 Wim Taymans <wim@fluendo.com>
3082 * docs/design/part-overview.txt:
3083 Fix some typos, add blurb about buffer flags.
3085 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3087 * docs/libs/gstreamer-libs-sections.txt:
3088 make sure GstBaseTransformClass shows up in the docs
3089 * libs/gst/base/gstbasetransform.c:
3090 * libs/gst/base/gstbasetransform.h:
3091 move docs so gtk-doc picks it up now
3093 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3095 * docs/libs/gstreamer-libs-sections.txt:
3096 add missing symbols to docs
3098 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3100 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3101 back out the newsegment handling change, see #340060 for ongoing
3104 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3106 * tools/gst-run.c: (get_candidates), (main):
3107 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3108 work); fix typo in error message. Fixes #340079.
3110 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3112 * common/Makefile.am:
3114 * docs/faq/Makefile.am:
3115 * docs/gst/Makefile.am:
3116 * docs/libs/Makefile.am:
3117 * docs/manual/Makefile.am:
3118 * docs/plugins/Makefile.am:
3119 * docs/pwg/Makefile.am:
3120 * docs/slides/Makefile.am:
3122 * common/upload.mak:
3123 move upload.mak to common
3125 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3127 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3128 add more asserts on refcounts
3129 do more cleanup at end of tests
3130 fix test leaks showing in FC5
3132 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3134 * plugins/elements/gsttypefindelement.c:
3135 (gst_type_find_element_handle_event):
3136 reverted wrong change and reflowed code to avoid others falling into
3139 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3141 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3142 fix changelog entry about last collectpads change,
3143 add notes about proper fix
3145 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3148 * gst/gstregistry.c: (gst_registry_scan_path_level),
3149 (gst_registry_scan_path):
3150 * gst/gstregistry.h:
3151 only write out registry if it has changed, fixes #338339
3153 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3156 * gst/gstpipeline.c:
3157 * plugins/elements/gstcapsfilter.c:
3158 * plugins/elements/gstfakesink.c:
3159 * plugins/elements/gstfakesrc.c:
3160 * plugins/elements/gstfdsink.c:
3161 * plugins/elements/gstfdsrc.c:
3162 * plugins/elements/gstfilesink.c:
3163 * plugins/elements/gstfilesrc.c:
3164 * plugins/elements/gstidentity.c:
3165 * plugins/elements/gstqueue.c:
3166 * plugins/elements/gsttee.c:
3167 * plugins/elements/gsttypefindelement.c:
3168 (gst_type_find_element_handle_event):
3169 make GstElementDetails const
3171 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3173 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3174 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3175 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3176 more detailed debug and formatting cleanup,
3177 forward newsegments to src-pad (so that e.g. adder not eats them)
3179 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3181 * gst/gstutils.c: (gst_element_link_pads):
3184 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3186 * libs/gst/controller/gstcontroller.c:
3187 (gst_controller_sync_values):
3189 * tests/check/libs/controller.c: (GST_START_TEST),
3190 (gst_controller_suite):
3191 a new test for live value handling
3193 2006-04-28 Wim Taymans <wim@fluendo.com>
3195 * gst/gstutils.c: (push_and_ref):
3196 Added some more docs.
3197 Fix refcount issue whith gst_element_found_tags() helper
3198 function. Fixes #338335
3200 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3201 Added testsuite for gst_element_found_tags().
3203 2006-04-28 Michael Smith <msmith@fluendo.com>
3205 * gst/gstvalue.c: (gst_value_serialize_flags):
3206 Avoid NULL dereference when trying to serialize flags containing
3209 2006-04-28 Michael Smith <msmith@fluendo.com>
3211 * plugins/elements/gsttypefindelement.c:
3212 (gst_type_find_element_handle_event):
3213 If we get EOS before any data is accumulated, don't use
3214 uninitialised local variables.
3216 2006-04-28 Michael Smith <msmith@fluendo.com>
3218 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3219 (gst_dp_event_from_packet):
3220 Fixes in reading/writing events over GDP (not currently used?) -
3221 dereferencing NULL events for unknown/invalid event types, memory
3222 leak, and change g_warning to GST_WARNING.
3224 2006-04-28 Wim Taymans <wim@fluendo.com>
3226 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3227 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3228 (gst_base_sink_get_position), (gst_base_sink_change_state):
3229 When frame dropping is enabled, we should not ignore frames
3231 Update some documentation.
3233 2006-04-28 Wim Taymans <wim@fluendo.com>
3235 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3236 (gst_base_src_send_event), (gst_base_src_change_state):
3237 Documentation updates.
3239 2006-04-28 Wim Taymans <wim@fluendo.com>
3241 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3242 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3243 handle EAGAIN, EINTR and short writes correctly. Also clean
3244 up some error cases, avoid a deadlock on bad file descriptors and
3245 use GST_DEBUG_OBJECT.
3248 2006-04-28 Wim Taymans <wim@fluendo.com>
3250 * gst/gstvalue.c: (gst_value_serialize_buffer),
3251 (gst_value_deserialize_buffer):
3252 Don't try to serialize a GValue with a NULL buffer.
3255 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3256 Added check for serialisation of NULL buffers.
3258 2006-04-28 Wim Taymans <wim@fluendo.com>
3260 * gst/gstminiobject.c: (gst_value_take_mini_object):
3261 Taking a NULL miniobject is valid, fix the case where
3262 we try to unref the NULL miniobject.
3264 2006-04-28 Wim Taymans <wim@fluendo.com>
3266 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3268 * gst/gstbin.c: (gst_bin_handle_message_func):
3270 Don't leak bin refcount when a state recalc is
3271 in progress and we delay another one #339808.
3273 2006-04-28 Wim Taymans <wim@fluendo.com>
3275 * docs/design/part-TODO.txt:
3276 Mention QoS as an ongoing work item.
3278 * docs/design/part-buffering.txt:
3279 New doc about buffering that needs to be fleshed out
3282 * docs/design/part-qos.txt:
3283 More QoS policy for decoders/demuxers/transforms
3285 * docs/design/part-trickmodes.txt:
3288 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3293 === release 0.10.5 ===
3295 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3298 releasing 0.10.5, "Fogo"
3300 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3302 patch by: Wim Taymans
3304 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3305 (gst_pad_configure_src), (gst_pad_push):
3306 * gst/gstpipeline.c: (gst_pipeline_init):
3307 Fix internal data flow errors. Fixes #338711.
3309 2006-04-12 Wim Taymans <wim@fluendo.com>
3311 * tests/check/gst/gstelement.c: (GST_START_TEST):
3312 Don't leak the factory.
3314 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3317 * win32/common/config.h:
3320 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3322 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3323 (gst_controller_unset_all):
3324 Free allocated GstTimedValues when freeing list nodes.
3325 Should fix leaks 'make check-valgrind' complains about.
3327 * win32/common/libgstcontroller.def:
3328 Add gst_controller_unset_all.
3330 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3332 * docs/libs/gstreamer-libs-sections.txt:
3333 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3334 (gst_controller_unset_all):
3335 * libs/gst/controller/gstcontroller.h:
3336 API: Added new method gst_controller_unset_all()
3337 fixed gst_controller_unset()
3338 * tests/check/libs/controller.c: (GST_START_TEST),
3339 (gst_controller_suite):
3340 Added two testcases for new and fixed method
3342 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3344 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3345 MSG_DONTWAIT is not defined on Cygwin, so work
3346 around that (fixes #317048).
3348 2006-04-11 Wim Taymans <wim@fluendo.com>
3350 * gst/gstelementfactory.c: (gst_element_register),
3351 (gst_element_factory_create), (gst_element_factory_make):
3354 Updated docs (Fixes #131079)
3356 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3359 * tests/check/gst/gstelement.c: (GST_START_TEST),
3360 (gst_element_suite):
3361 Added testcase for elementfactory class field.
3363 2006-04-10 Wim Taymans <wim@fluendo.com>
3366 Added some more docs.
3368 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3369 (gst_base_sink_reset_qos):
3370 Calculate more accurate rate values.
3372 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3374 * gst/gst_private.h:
3375 add a new #ifdef to use __declspec(dllimport) only for
3376 other modules and not for gstreamer core
3377 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3378 use gst_guint64_to_gdouble for conversion
3379 * win32/common/libgstreamer.def:
3380 add new exported functions
3381 * win32/vs6/gst_inspect.dsp:
3382 * win32/vs6/gst_launch.dsp:
3383 * win32/vs6/libgstbase.dsp:
3384 * win32/vs6/libgstcontroller.dsp:
3385 * win32/vs6/libgstcoreelements.dsp:
3386 * win32/vs6/libgstdataprotocol.dsp:
3387 * win32/vs6/libgstnet.dsp:
3388 update project files
3390 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3392 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3393 * gst/gstclock.c: (gst_clock_class_init):
3394 * gst/gstelement.c: (gst_element_class_init):
3395 * gst/gstindex.c: (gst_index_class_init):
3396 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3397 * gst/gstobject.c: (gst_object_class_init),
3398 (gst_signal_object_class_init):
3399 * gst/gstpad.c: (gst_pad_class_init):
3400 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3401 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3402 * gst/gstregistry.c: (gst_registry_class_init):
3403 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3404 * gst/gsttask.c: (gst_task_class_init):
3405 * gst/gstxml.c: (gst_xml_class_init):
3406 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3407 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3408 (gst_base_src_loop):
3409 * libs/gst/controller/gstcontroller.c:/
3410 (_gst_controller_class_init):
3411 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3412 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3413 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3414 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3415 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3416 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3418 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3420 * gst/gstpad.c: (gst_pad_link):
3421 Must set peer pads before calling the link function, otherwise
3422 a task started from a link function might get a flow-not-linked
3423 result when trying to push because the other thread where the
3424 linking happens hasn't had a chance to set the peers yet. This
3425 might happen for example when a queue gets linked to a downstream
3426 element, as queue starts a streaming task when its source pad
3427 gets linked. Happens in real life when playing back flac/musepack
3428 files in playbin (#332390).
3430 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3434 * libs/gst/base/gstadapter.h:
3435 * libs/gst/base/gstbasesink.h:
3436 * libs/gst/base/gstbasesrc.h:
3437 * libs/gst/base/gstbasetransform.h:
3438 * libs/gst/base/gstcollectpads.h:
3439 * libs/gst/base/gstpushsrc.h:
3440 Fix broken GObject macros
3442 2006-04-07 Wim Taymans <wim@fluendo.com>
3444 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3445 Initialize start and stop times, thanks valgrind.
3447 2006-04-07 Wim Taymans <wim@fluendo.com>
3449 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3450 Be a bit nicer to badly behaving upstream elements that expect
3451 us to deal with non TIME segments and timestamps (such as fakesrc
3454 2006-04-07 Wim Taymans <wim@fluendo.com>
3457 Small documentation clarification about the signal watch.
3459 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3460 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3461 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3462 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3463 (gst_base_sink_get_position_last),
3464 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3465 Convert and store timestamps in stream time and running time, the
3466 raw timestamps are not usefull, also document this better.
3467 Use different window sizes for good and bad QoS observations so
3468 we react to badness a little quicker.
3469 Keep track of the amount of rendered and dropped buffers.
3470 Send QoS timestamps in running time.
3472 * libs/gst/base/gstbasetransform.c:
3473 (gst_base_transform_sink_eventfunc),
3474 (gst_base_transform_handle_buffer):
3475 Compare QoS timestamps against running time.
3477 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3482 2006-04-06 Michael Smith <msmith@fluendo.com>
3484 * gst/gstpad.c: (gst_pad_set_property):
3485 Use g_value_get_object() instead of g_value_dup_gst_object(),
3486 to avoid double-reffing the pad template (which we then sink,
3487 so this worked previously if (and only if) the pad template
3490 * gst/gstpadtemplate.c: (gst_pad_template_init),
3491 (gst_pad_template_pad_created):
3492 Never return floating references to pad templates, create
3493 them as initially-sunken.
3495 Document an extra function (and make this stop sinking our
3496 pad template, since that is now guaranteed to do nothing,
3497 since we created it sunken).
3499 * gst/gstghostpad.c:
3502 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3504 * gst/gstinfo.c: (__gst_in_valgrind):
3507 * plugins/elements/gsttypefindelement.c:
3508 (gst_type_find_element_chain):
3509 Don't leak buffer caps.
3511 2006-04-06 Michael Smith <msmith@fluendo.com>
3513 * gst/parse/grammar.y:
3514 Fix a leak in parse-launch for any source-or-sink named element
3517 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3518 Unref the pipeline if it exists after we've failed parsing.
3520 2006-04-05 Michael Smith <msmith@fluendo.com>
3522 * gst/gstpipeline.c: (gst_pipeline_init):
3523 When we create a pipeline bus, initially create it in flushing mode.
3524 Fixes leaks in at least one test, and makes a new pipeline work the
3525 same as one that has gone to READY and then back to NULL.
3530 2006-04-05 Michael Smith <msmith@fluendo.com>
3532 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3533 Unref a pad we reffed.
3534 * tests/check/gst/gstutils.c: (GST_START_TEST):
3537 2006-04-05 Michael Smith <msmith@fluendo.com>
3539 * gst/gstquery.c: (gst_query_set_formats),
3540 (gst_query_set_formatsv):
3541 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3543 2006-04-05 Michael Smith <msmith@fluendo.com>
3545 * tests/check/generic/sinks.c: (GST_START_TEST):
3546 Fix a variety of memleaks in sinks check, which are only sometimes
3547 shown by running the tests under valgrind (weird?).
3549 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3551 * docs/version.entities.in:
3552 Fix the substituted entity name after thomas' changes on the
3555 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3557 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3560 2006-04-05 Andy Wingo <wingo@pobox.com>
3562 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3564 * libs/gst/base/gstbasetransform.c
3565 (gst_base_transform_sink_eventfunc): When resetting our segment on
3566 FLUSH_STOP, also update the flag saying we haven't seen a
3569 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3571 Patch by: Paolo Borelli <pborelli at katamail dot com>
3573 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3574 (gst_plugin_check_license):
3575 minor clean-ups: G_DEFINE_TYPE already takes care of the
3576 parent_class stuff, no need to do it twice. Mark array of
3577 license strings as constant. (#337103)
3579 2006-04-04 Michael Smith <msmith@fluendo.com>
3581 * tools/gst-inspect.c: (print_element_list):
3582 Free the right plugin list; fixes a memory leak.
3584 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3586 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3588 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3589 Don't error out on empty buffers (#336945).
3591 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3593 * docs/libs/gstreamer-libs-sections.txt:
3595 * libs/gst/base/gstbasesink.c:
3596 * libs/gst/base/gstbasesink.h:
3597 * libs/gst/base/gstbasesrc.c:
3598 * libs/gst/base/gstbasesrc.h:
3599 Documentation updates. Make BaseSink and BaseSrc docs contain the
3600 class structure so that people can actually see the prototypes for
3601 virtual functions they're supposed to be overriding.
3603 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3605 * plugins/elements/gsttypefindelement.c:
3606 (gst_type_find_element_chain):
3607 More debug info; when skipping typefinding, send cached
3608 events in all cases.
3610 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
3613 use new AS_VERSION and AS_NANO macros
3614 * gst/gst-i18n-lib.h:
3617 * gst/gstversion.h.in:
3618 * win32/common/config.h:
3619 * win32/common/config.h.in:
3622 2006-03-31 Michael Smith <msmith@fluendo.com>
3624 * plugins/elements/gsttypefindelement.c:
3625 (gst_type_find_element_chain):
3626 Do not typefind content if the buffers already have caps.
3627 Neccesary for icydemux (#333657), and the right thing to do anyway.
3629 2006-03-30 Wim Taymans <wim@fluendo.com>
3631 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3632 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3633 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3634 (gst_base_sink_record_qos_observation),
3635 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3636 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3637 (gst_base_sink_change_state):
3638 More QoS measurements as described in the design doc.
3639 Get rid of ringbuffer with observations, running average is
3640 more simple and equally good.
3641 Calculates valid proportion now.
3642 Added beginning of flood measurement.
3644 2006-03-29 Wim Taymans <wim@fluendo.com>
3646 * docs/design/part-qos.txt:
3648 Small documentation updates and additions.
3650 2006-03-29 Wim Taymans <wim@fluendo.com>
3652 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3653 (gst_base_src_send_event), (gst_base_src_loop),
3654 (gst_base_src_change_state):
3655 Perform the EOS logic when we reach the segment stop position.
3656 Fix compilation on gcc4.1
3658 2006-03-29 Wim Taymans <wim@fluendo.com>
3660 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3662 * plugins/elements/gstqueue.c: (gst_queue_init),
3663 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3664 (gst_queue_set_property):
3665 * plugins/elements/gstqueue.h:
3666 In queue, when EOS is received, if minimum threshold > max_size -
3667 current_level, there is chance that queue blocks forever in conditional
3668 item del wait. This is because the queue is not emptied completely due
3669 to minimum threshold. Here is another approach. Instead of setting
3670 cur_levels to max in EOS, just zero all minimum threshold levels. This
3671 should make sure that queue gives out all data. When going to READY
3672 (stop) state, just reset the original minimum threshold levels.
3675 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
3677 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3678 (gst_type_find_element_handle_event),
3679 (gst_type_find_element_send_cached_events),
3680 (gst_type_find_element_change_state):
3681 * plugins/elements/gsttypefindelement.h:
3682 When typefinding is done in push mode, we should cache
3683 events we receive during typefinding instead of just
3684 dropping them (e.g. newsegment, custom events from
3685 dvdreadsrc etc.) and then send them out once we've
3686 determined the type of the stream (and decodebin
3687 has had a chance to plug in a decoder/demuxer).
3689 2006-03-27 Wim Taymans <wim@fluendo.com>
3691 * docs/design/part-qos.txt:
3694 2006-03-27 Wim Taymans <wim@fluendo.com>
3696 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3698 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3699 (gst_base_src_send_event), (gst_base_src_change_state):
3700 Handle element seek correctly when we are streaming.
3703 2006-03-24 Michael Smith <msmith@fluendo.com>
3705 * docs/faq/gst-uninstalled:
3706 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3707 allow you to correctly run intalled applications built against old
3708 core, using plugins that require updated core (e.g. running
3709 installed totem against a full uninstalled gstreamer stack)
3711 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3713 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3716 2006-03-24 Wim Taymans <wim@fluendo.com>
3718 * docs/gst/gstreamer-sections.txt:
3719 Rearrange the order of the methods so that related methods
3720 are grouped together in sections.
3722 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3725 Little clarification in the docs
3727 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3731 * plugins/elements/gstidentity.c:
3732 * plugins/elements/gstqueue.c:
3733 * plugins/elements/gsttee.c:
3734 * plugins/elements/gsttypefindelement.c:
3735 GST_ELEMENT_DETAILS formatting
3737 2006-03-24 Wim Taymans <wim@fluendo.com>
3739 * libs/gst/base/gstbasesink.h:
3740 Only add fields, not insert or we break ABI.
3742 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3744 * win32/common/libgstbase.def:
3745 * win32/common/libgstreamer.def:
3746 Update, add recently added functions.
3748 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3750 * docs/gst/gstreamer-sections.txt:
3751 * gst/gstutils.c: (gst_pad_query_peer_position),
3752 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3754 API: add some new utility functions:
3755 - gst_pad_query_peer_position()
3756 - gst_pad_query_peer_duration()
3757 - gst_pad_query_peer_convert()
3759 2006-03-23 Wim Taymans <wim@fluendo.com>
3761 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3762 (gst_base_sink_init), (gst_base_sink_finalize),
3763 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3764 (gst_base_sink_set_property), (gst_base_sink_get_property),
3765 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3766 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3767 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3768 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3769 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3770 (gst_base_sink_preroll_object), (gst_base_sink_event),
3771 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3772 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3773 (gst_base_sink_query), (gst_base_sink_change_state):
3774 Decouple max-lateness and the fact that QoS messages are generated
3775 with a new property (qos).
3776 added API: GstBaseSink::async_play()
3777 Add vmethod so subclasses can be notified of ASYNC playing
3779 Collect timestamp start and stop to report better current
3780 position in EOS/PLAYING/PAUSED/READY/NULL.
3781 Refactor QoS/frame dropping and other measurements.
3782 API: GstBaseSrc::qos
3785 * libs/gst/base/gstbasesink.h:
3786 Added Private struct.
3787 API: gst_base_sink_set_qos_enabled()
3788 API: gst_base_sink_is_qos_enabled()
3790 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3792 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3793 If compiling against GLib-2.8 or newer, try to read the
3794 registry file using GMappedFile first before falling back
3795 to fopen() + fread() (#332151).
3797 2006-03-22 Wim Taymans <wim@fluendo.com>
3799 * gst/gstinfo.c: (gst_debug_set_active),
3800 (gst_debug_category_set_threshold):
3801 Disable debugging unless explicitly activated.
3804 2006-03-22 Wim Taymans <wim@fluendo.com>
3806 * gst/gstelement.c: (gst_element_set_locked_state),
3807 (gst_element_dispose):
3808 Cleanup the error case.
3810 * gst/gstobject.c: (gst_object_dispose):
3811 print a critical when some object was disposed with
3812 a parent, also revive the object since it might
3815 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
3817 * tools/gst-launch.1.in:
3820 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3823 * tests/check/Makefile.am:
3824 disable some tests when we don't have a registry
3825 * tests/check/gst/gstutils.c: (gst_utils_suite):
3826 don't build the part that needs parsing
3828 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3831 * tests/examples/Makefile.am:
3832 fix --disable-parse build
3834 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3836 * tools/gst-feedback.1.in:
3837 Fix typo: s/feeback/feedback/ (#133494).
3839 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3841 * tools/Makefile.am:
3842 * tools/gst-launch.1.in:
3843 Add FILES section and correct entry about GST_REGISTRY_PATH
3844 environment variable (#133495; #133494).
3846 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3848 * tools/Makefile.am:
3849 * tools/gst-md5sum.1.in:
3850 * tools/gst-md5sum.c:
3851 Remove gst-md5sum and man page (the md5sink element
3852 required was removed ages ago)
3854 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3856 * gst/gststructure.c: (gst_structure_id_set_value):
3857 Make sure that string fields in structures/taglists
3858 contain valid UTF-8 - we don't want to pass rubbish to
3859 applications because of a buggy plugin (cp. #334167).
3861 2006-03-21 Edward Hervey <edward@fluendo.com>
3863 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3864 (gst_bin_handle_message_func):
3865 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3866 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3867 (gst_element_set_bus_func):
3868 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3869 * gst/gstminiobject.c: (gst_value_set_mini_object),
3870 (gst_value_take_mini_object):
3871 * gst/gstpad.c: (gst_pad_set_pad_template):
3872 * gst/gstpipeline.c: (gst_pipeline_dispose),
3873 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3874 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3875 (gst_collect_pads_chain):
3876 * libs/gst/net/gstnettimeprovider.c:
3877 (gst_net_time_provider_set_property):
3878 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3879 It's in fact all issues with gst_*object_replace().
3881 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3883 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
3885 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3886 * pkgconfig/gstreamer-check.pc.in:
3887 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3889 2006-03-21 Edward Hervey <edward@fluendo.com>
3894 gst_[buffer|event|message]_ref() macros are replaced by a static
3895 inline functions because gcc-4.1 will about if the return value
3897 * tests/check/gst/gstevent.c: (event_probe):
3898 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3900 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
3903 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3904 the type' case. (Closes: #335195 for now). In the future, when we
3905 depend on GLib 2.10, we could also intern the type name using
3906 g_intern_static_string()
3908 2006-03-20 Wim Taymans <wim@fluendo.com>
3910 * gst/gstbin.c: (gst_bin_handle_message_func),
3911 (bin_query_max_init), (bin_query_position_fold),
3912 (bin_query_position_done), (gst_bin_query):
3913 Position query should also take max of all streams.
3915 2006-03-20 Wim Taymans <wim@fluendo.com>
3917 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3918 (gst_fake_src_finalize):
3919 Fix leaks in fakesrc.
3921 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3922 Fix leaks in the testcase.
3924 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
3926 * gst/gst_private.h:
3927 add win32 specific import decoration(__declspec(dllimport))
3928 for all extern GstDebugCategory * variables
3929 * win32/common/libgstbase.def:
3930 * win32/common/libgstcontroller.def:
3931 * win32/common/libgstreamer.def:
3932 Add some exports, remove empty lines
3933 * win32/common/libgstdataprotocol.def:
3934 * win32/common/libgstdataprotocol.dsp:
3935 * win32/common/libgstnet.def:
3936 * win32/common/libgstnet.dsp:
3937 new project files and exportation files added
3939 2006-03-19 Wim Taymans <wim@fluendo.com>
3941 * tests/check/libs/basesrc.c: (eos_event_counter):
3942 Use proper return value for probe.
3944 2006-03-17 Wim Taymans <wim@fluendo.com>
3946 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3948 Don't leak buffers, caps and pads on negotiation errors.
3950 2006-03-16 Stefan Kost <ensonic@users.sf.net>
3953 * docs/faq/dependencies.xml:
3954 * docs/faq/developing.xml:
3956 * docs/faq/general.xml:
3957 * docs/faq/getting.xml:
3958 * docs/faq/legal.xml:
3959 * docs/faq/troubleshooting.xml:
3960 * docs/faq/using.xml:
3961 Faq review and update.
3963 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
3965 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
3967 Don't pound the cpu to pieces by checking get_caps when accept_caps
3968 is called with the same caps as the pad already has.
3969 Use GST_DEBUG_OBJECT when outputting caps change information.
3971 2006-03-15 Wim Taymans <wim@fluendo.com>
3973 * gst/gstclock.c: (gst_clock_class_init):
3976 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
3981 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
3982 (gst_pad_accept_caps), (gst_pad_configure_sink),
3983 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
3984 Make the default acceptcaps behaviour be to check the requested
3985 caps against the gst_pad_get_caps output.
3987 Ensure that gst_pad_accept_caps is used to check caps when a pad
3988 doesn't have a setcaps function, so that pads automatically refuse
3989 caps that they don't allow in their pad template. (Fixes #332986)
3991 When a buffer with attached caps is pushed, ensure that the source
3992 pad receives those caps even if the element didn't call
3993 gst_pad_set_caps first.
3995 2006-03-15 Wim Taymans <wim@fluendo.com>
3997 * libs/gst/base/gstadapter.c:
4000 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4002 * win32/common/libgstbase.def:
4003 * win32/common/libgstcontroller.def:
4004 * win32/common/libgstreamer.def:
4005 Add a whole bunch of missing functions (#334434).
4007 2006-03-14 Wim Taymans <wim@fluendo.com>
4009 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4010 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4011 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4012 Better debug info when we receive a segment event.
4013 Reorganize a bit so we can pass the get_times() results around.
4014 Use the segment format when calculating the running time.
4015 Don't do QoS is sync is disabled or we have no clock or the
4016 element does not want us to sync to the clock.
4017 Don't drop buffers if QoS is disabled for now.
4019 2006-03-14 Wim Taymans <wim@fluendo.com>
4021 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4022 Marked the stats property as unimplemented so people don't get
4024 Add debug message when regression goes wrong.
4025 Added some more docs.
4027 2006-03-14 Wim Taymans <wim@fluendo.com>
4029 * gst/gstsegment.c: (gst_segment_to_stream_time):
4030 Return correct return type in case of errors.
4032 2006-03-14 Wim Taymans <wim@fluendo.com>
4034 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4035 Don't segfault on invalid formats.
4037 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4039 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4040 Can't use gst_segment_to_running_time() when the segment
4041 is not in GST_TIME_FORMAT (like with filesink, for example).
4042 Stops flac encoding pipelines from spewing critical warnings
4045 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4047 * gst/gstpipeline.c: (gst_pipeline_class_init):
4048 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4050 * plugins/elements/gsttypefindelement.c:
4051 (gst_type_find_element_handle_event):
4052 Don't try to typefind empty streams.
4054 2006-03-14 Wim Taymans <wim@fluendo.com>
4056 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4057 (gst_base_sink_do_qos):
4058 Separate QoS calculation.
4059 Only drop buffers when lateness is bigger than the
4060 duration of the buffer.
4062 2006-03-13 Wim Taymans <wim@fluendo.com>
4064 * gst/gstpipeline.c: (gst_pipeline_set_property),
4065 (gst_pipeline_get_property), (do_pipeline_seek),
4066 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4067 (gst_pipeline_get_delay):
4068 Don't deadlock when reading properties.
4070 2006-03-13 Wim Taymans <wim@fluendo.com>
4072 * libs/gst/base/gstbasetransform.c:
4073 (gst_base_transform_class_init), (gst_base_transform_init),
4074 (gst_base_transform_sink_event),
4075 (gst_base_transform_sink_eventfunc),
4076 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4077 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4078 (gst_base_transform_set_property),
4079 (gst_base_transform_get_property),
4080 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4081 (gst_base_transform_set_qos_enabled),
4082 (gst_base_transform_is_qos_enabled):
4083 * libs/gst/base/gstbasetransform.h:
4084 Make basetransform virtual method for src events too.
4085 Handle QOS in basetransform.
4086 API: gst_base_transform_update_qos()
4087 API: gst_base_transform_set_qos_enabled()
4088 API: gst_base_transform_is_qos_enabled()
4090 2006-03-13 Wim Taymans <wim@fluendo.com>
4092 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4093 (gst_base_sink_do_sync):
4095 Use QOS debug category.
4097 2006-03-13 Wim Taymans <wim@fluendo.com>
4099 * plugins/elements/gstqueue.c:
4100 Very small doc update.
4102 2006-03-13 Wim Taymans <wim@fluendo.com>
4104 * gst/gst_private.h:
4105 * gst/gstinfo.c: (_gst_debug_init):
4106 Added QOS debug category
4108 2006-03-13 Wim Taymans <wim@fluendo.com>
4110 * docs/gst/gstreamer-sections.txt:
4111 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4113 * gst/gstbus.c: (gst_bus_class_init):
4116 * gst/gstelement.c: (gst_element_set_locked_state):
4118 Documentation updates.
4120 * gst/gstpipeline.c: (gst_pipeline_get_type),
4121 (gst_pipeline_class_init), (gst_pipeline_init),
4122 (gst_pipeline_dispose), (gst_pipeline_set_property),
4123 (gst_pipeline_get_property), (do_pipeline_seek),
4124 (gst_pipeline_send_event), (gst_pipeline_change_state),
4125 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4126 (gst_pipeline_get_delay):
4127 * gst/gstpipeline.h:
4128 Added methods for setting the delay.
4129 API: gst_pipeline_set_delay()
4130 API: gst_pipeline_get_delay()
4131 Add pipeline debug category
4134 Don't reset stream time when seek failed.
4136 2006-03-13 Wim Taymans <wim@fluendo.com>
4138 * docs/design/draft-klass.txt:
4139 * docs/design/part-clocks.txt:
4140 * docs/design/part-events.txt:
4141 * docs/design/part-gstbin.txt:
4142 * docs/design/part-gstpipeline.txt:
4143 * docs/design/part-messages.txt:
4144 * docs/design/part-negotiation.txt:
4145 * docs/design/part-overview.txt:
4146 * docs/design/part-preroll.txt:
4147 * docs/design/part-seeking.txt:
4148 * docs/design/part-states.txt:
4149 * docs/design/part-streams.txt:
4150 Documentation updates.
4152 2006-03-12 Julien MOUTTE <julien@moutte.net>
4154 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4155 us to leak strings...
4157 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4159 * libs/gst/net/gstnettimeprovider.c:
4161 * win32/common/config.h:
4164 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4166 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4169 Don't check for libgnomeui (leftover from old examples
4170 that aren't built or disted any longer) (#334303).
4172 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4174 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4175 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4176 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4177 there's no space left on the device.
4179 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4182 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4183 to cast the input to GstClockTime before comparing with
4184 another GstClockTime value.
4186 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4191 === release 0.10.4 ===
4193 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4196 releasing 0.10.4, "Light"
4198 2006-03-10 Michael Smith <msmith@fluendo.com>
4200 * libs/gst/dataprotocol/dataprotocol.c:
4201 Fix docs for dataprocotol to not get the return types completely
4202 wrong for a few functions.
4204 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4206 * docs/gst/gstreamer-sections.txt:
4207 * gst/gstpipeline.c: (gst_pipeline_class_init),
4208 (gst_pipeline_init), (gst_pipeline_set_property),
4209 (gst_pipeline_get_property), (gst_pipeline_change_state),
4210 (gst_pipeline_set_auto_flush_bus),
4211 (gst_pipeline_get_auto_flush_bus):
4212 * gst/gstpipeline.h:
4213 Add new API: gst_pipeline_set_auto_flush_bus() and
4214 gst_pipeline_get_auto_flush_bus() to disable automatic
4215 flushing of the pipeline's GstBus when going from READY
4216 to NULL state (#332045).
4218 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4220 * docs/gst/gstreamer-sections.txt:
4221 * gst/gsturi.c: (gst_uri_has_protocol):
4223 Add new API: gst_uri_has_protocol() (#333779).
4225 2006-03-09 Wim Taymans <wim@fluendo.com>
4227 * gst/gstclock.c: (gst_clock_entry_new),
4228 (gst_clock_id_compare_func), (gst_clock_id_wait),
4229 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4230 (gst_clock_init), (gst_clock_get_internal_time),
4231 (gst_clock_set_master), (do_linear_regression),
4232 (gst_clock_add_observation), (gst_clock_set_property):
4236 Fix a possible segfault when the window-size is made smaller.
4237 Calculate jitter before performing the clock wait. Ideally
4238 the clock implementation should calculate jitter but we need
4239 API breakage for that.
4241 * gst/gstsystemclock.c: (gst_system_clock_init):
4244 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4245 Remove leftover else
4247 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4248 (gst_systemclock_suite):
4249 Added check to test GST_CLOCK_DIFF.
4251 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4253 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4254 (gst_type_find_helper_get_range):
4255 If we are provided with the size, we should implement
4256 GstTypeFind::get_length, so that typefind functions who
4257 want to can actually peek at the middle of a file.
4259 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4261 * docs/manual/advanced-dataaccess.xml:
4262 Add some very very basic error checking.
4264 * docs/pwg/appendix-checklist.xml:
4265 Some updates to the list of things to check when writing an element.
4267 2006-03-08 Wim Taymans <wim@fluendo.com>
4269 * docs/design/part-element-transform.txt:
4270 Added some docs about the design of tranform elements.
4272 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4273 (gst_base_src_loop), (gst_base_src_change_state):
4274 Mark buffers with the DISCONT flag.
4276 2006-03-08 Michael Smith <msmith@fluendo.com>
4278 * gst/gstregistry.h:
4279 * gst/gstregistryxml.c: (gst_registry_save),
4280 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4281 (gst_registry_xml_save_pad_template),
4282 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4283 (gst_registry_xml_write_cache):
4284 Rewrite registry-saving to avoid race conditions and check for
4287 2006-03-08 Wim Taymans <wim@fluendo.com>
4289 * libs/gst/base/gstbasetransform.c:
4290 (gst_base_transform_transform_caps),
4291 (gst_base_transform_transform_size),
4292 (gst_base_transform_prepare_output_buffer),
4293 (gst_base_transform_get_unit_size),
4294 (gst_base_transform_buffer_alloc),
4295 (gst_base_transform_handle_buffer),
4296 (gst_base_transform_change_state):
4297 Cleanups, separate normal flow from errors, add sensible
4299 Don't try to renegotiate when allocating an output buffer.
4300 Also copy DISCONT buffer flag when copying a buffer.
4301 Reset the transform after we finish streaming, not during.
4303 2006-03-08 Wim Taymans <wim@fluendo.com>
4305 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4306 Use last buffer timestamp in qos message.
4308 2006-03-07 Wim Taymans <wim@fluendo.com>
4310 Patch by: Christophe Fergeau
4312 * docs/pwg/advanced-tagging.xml:
4313 * docs/pwg/building-pads.xml:
4316 2006-03-07 Wim Taymans <wim@fluendo.com>
4318 * docs/libs/gstreamer-libs-sections.txt:
4319 Added basesink new methods.
4323 Docs updates. Flesh out the QoS docs.
4325 * libs/gst/base/gstadapter.c:
4326 Small doc clarification about ownership and flushing.
4328 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4329 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4330 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4331 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4332 * libs/gst/base/gstbasesink.h:
4334 Added new methods to allow subclass to control max-lateness
4336 Generate very basic QoS events based on last sync observation.
4337 Updated docs, fix typo, added some QoS blurb.
4339 * libs/gst/base/gstbasesrc.c:
4340 Remove obsolete _get_state() calls from docs.
4342 2006-03-07 Wim Taymans <wim@fluendo.com>
4344 * docs/libs/gstreamer-libs-sections.txt:
4345 * libs/gst/base/gstbasetransform.h:
4346 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4347 Fix docs for GstBaseSrc.
4349 2006-03-07 Wim Taymans <wim@fluendo.com>
4351 * docs/gst/gstreamer-sections.txt:
4354 * libs/gst/base/gstbasetransform.h:
4355 Small documentation fixes.
4357 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4360 Document thread-unsafety of gst_value_register_foo_func()
4361 when used at the same time as gst_value_foo() (#322628).
4363 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4365 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4366 (gst_push_src_check_get_range):
4367 Push sources don't support pull mode by default.
4369 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4371 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4372 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4373 (gst_base_src_default_check_get_range):
4374 * libs/gst/base/gstbasesrc.h:
4375 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4376 provide default implementation, and rename
4377 gst_base_src_check_get_range() to
4378 gst_base_src_pad_check_get_range() for clarity.
4380 2006-03-06 Wim Taymans <wim@fluendo.com>
4382 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4383 Make property overridable.
4385 2006-03-06 Wim Taymans <wim@fluendo.com>
4387 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4388 (gst_base_sink_init), (gst_base_sink_set_property),
4389 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4390 * libs/gst/base/gstbasesink.h:
4391 API addition: Make max-lateness a property.
4393 2006-03-06 Wim Taymans <wim@fluendo.com>
4395 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4396 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4397 Don't ever draw a frame that is >10ms late.
4399 2006-03-06 Michael Smith <msmith@fluendo.com>
4401 * gst/gstmessage.c: (_gst_message_copy):
4402 When copying a message, set the parent_refcount of the enclosed
4403 structure to point at the copy, not the original message.
4405 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4407 Patch by: Christophe Fergeau
4410 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4411 usable in c++ code (#333417)
4413 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4416 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4418 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4420 * libs/gst/base/gstbasetransform.c:
4421 (gst_base_transform_transform_caps):
4422 Make sure caps are writable before passing them to
4425 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4428 Fix some minor docs errors.
4430 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4432 Patch by: Ross Burton <ross at burtonini dot com>
4434 * gst/gsterror.c: (_gst_resource_errors_init):
4436 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4438 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4441 Add a check and output a g_warning when GStreamer is built
4442 against GLib 2.6 but running against 2.8 or higher, and vice
4443 versa. (Closes: #323542)
4445 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4447 * gst/parse/parse.l:
4448 Commit patch for parse_launch syntax from #331255. Removes
4449 support for quoted strings and mimetypes when writing filtered
4450 caps. See the bug report for more details - I'm pretty sure this
4451 obscure feature is not in use by _anyone_ anywhere.
4453 With this simple change, the size of the gstreamer.so here
4454 drops from 2193KB to 1565KB.
4456 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4458 * plugins/elements/gsttypefindelement.h:
4459 * plugins/elements/gsttypefindelement.c:
4460 (gst_type_find_element_src_event), (start_typefinding),
4461 (stop_typefinding), (gst_type_find_element_handle_event),
4462 (gst_type_find_element_chain),
4463 (gst_type_find_element_chain_do_typefinding):
4464 Use gst_type_find_helper_for_buffer() for chain-based
4467 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4469 * plugins/elements/gsttypefindelement.c:
4470 (gst_type_find_element_class_init),
4471 (gst_type_find_element_set_property),
4472 (gst_type_find_element_get_property):
4473 Deprecate "maximum" property (not only was it only taken into
4474 account for typefinding in push-mode anyway, it also was never
4475 actually possible to set it in the first place because the
4476 property was registered with the numeric property ID for the
4477 "minimum" property). Register "maximum" property correctly,
4478 for the sake of future copy'n'pasters. Remove some cruft
4479 from property get/set functions.
4481 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4483 * plugins/elements/gsttypefindelement.c:
4484 (gst_type_find_element_activate):
4485 Use gst_type_find_helper_get_range() here, so we
4486 can honour the "minimum" property and also emit
4487 the signal with the correct probability of the found caps.
4489 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4491 * docs/libs/gstreamer-libs-sections.txt:
4492 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4493 (helper_find_suggest), (gst_type_find_helper_get_range),
4494 (gst_type_find_helper):
4495 * libs/gst/base/gsttypefindhelper.h:
4496 New API: gst_type_find_helper_get_range() (#333042).
4498 2006-03-02 Michael Smith <msmith@fluendo.com>
4500 * gst/gstregistryxml.c: (load_feature):
4501 Asserting on a failure to read part of the registry is Not Cool.
4502 Just log a warning and return NULL (which is already handled)
4504 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4506 * win32/common/libgstbase.def:
4507 added export of gst_type_find_helper_for_buffer
4508 * win32/common/libgstbase.def:
4509 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4510 gst_ghost_pad_get_target
4512 2006-02-28 Wim Taymans <wim@fluendo.com>
4514 * docs/design/draft-klass.txt:
4516 Added Connector to mark elements that are only used to
4517 allow pipeline connections.
4518 Moved Debug to extra feature since most of them are
4519 functionally something else.
4521 2006-02-28 Wim Taymans <wim@fluendo.com>
4523 * docs/design/draft-klass.txt:
4524 Some updates and clarifications.
4526 2006-02-28 Wim Taymans <wim@fluendo.com>
4528 * docs/design/draft-klass.txt:
4529 Proposal for klass field values.
4531 * docs/design/part-streams.txt:
4532 Start of a doc describing stream anatomy.
4534 2006-02-28 Wim Taymans <wim@fluendo.com>
4536 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4537 Help the compiler a bit with type registration.
4538 Use existing forward cod path instead of duplicating it when
4541 * gst/gstbus.c: (gst_bus_get_type):
4542 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4543 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4544 * gst/gstclock.c: (gst_clock_get_type):
4545 * gst/gstelement.c: (gst_element_get_type),
4546 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4547 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4548 * gst/gstminiobject.c: (gst_mini_object_get_type):
4549 * gst/gstpad.c: (gst_pad_get_type):
4550 * gst/gstsegment.c: (gst_segment_get_type):
4551 * gst/gststructure.c: (gst_structure_get_type):
4552 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4553 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4555 Help compiler with type registration.
4557 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4560 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4562 * plugins/elements/gsttypefindelement.c:
4563 (gst_type_find_element_handle_event):
4564 When we get an EOS event and have not found a type yet
4565 (most likely because we had not yet accumulated
4566 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4567 type given the data we have so far. Fixes typefinding
4568 for very short streams again, most notably quicktime
4569 redirections as used on Apple's trailer site (#331701).
4571 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4573 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4574 (gst_type_find_helper):
4575 Try typefinding factories with the highest rank first.
4577 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4579 * docs/libs/gstreamer-libs-docs.sgml:
4580 * docs/libs/gstreamer-libs-sections.txt:
4581 * libs/gst/base/gsttypefindhelper.c:
4582 Add section for typefind helper and add documentation
4583 for the old and the new function.
4585 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4587 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4588 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4589 (gst_type_find_helper_for_buffer):
4590 * libs/gst/base/gsttypefindhelper.h:
4591 New API: gst_type_find_helper_for_buffer() (#332723).
4593 2006-02-27 Michael Smith <msmith@fluendo.com>
4595 Patch by: Loïc Minier
4599 * docs/slides/Makefile.am:
4600 prevent CVS directories getting disted.
4602 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4604 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4605 Use the REFCOUNTING category for caps refcounting.
4607 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4609 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4610 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4612 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4614 * plugins/elements/gsttypefindelement.c:
4615 (gst_type_find_element_activate):
4616 Use gst_pad_check_pull_range() before _activate_pull()
4617 to avoid unnecessary open/close (see #331690).
4619 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4622 Docs enhancement: make it crystal clear what the
4623 gst_pad_add_*_probe() callbacks should look like.
4625 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4627 * libs/gst/base/gstbasesrc.c:
4628 Document how applications can stop recording from
4629 live sources (see #330996).
4631 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4633 * tests/check/Makefile.am:
4634 * tests/check/libs/basesrc.c: (eos_event_counter),
4635 (basesrc_eos_events_pull), (basesrc_eos_events_push),
4636 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4637 (gst_basesrc_suite), (main):
4638 ... and add some tests for the base source EOS stuff.
4640 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4642 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4643 Test case originally showed the problem fixed below,
4644 but was then amended. Add checks back at the place
4645 where they used to be.
4647 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4649 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4650 (gst_base_src_init), (gst_base_src_loop),
4651 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4652 (gst_base_src_change_state):
4653 * libs/gst/base/gstbasesrc.h:
4654 Don't unconditionally send EOS when going from PAUSED to
4655 READY state, esp. make sure we don't send two EOS events
4656 in some cases (e.g. one when reaching EOS and one when
4657 going from PAUSED to READY). Also, we don't want to send
4658 EOS events when operating in pull mode. However, we do
4659 want to send an EOS event when shutting down a live
4660 source explicitly, for example (fixes #330996).
4662 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4664 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4665 Update src->read_position after a seek when not using mmap.
4666 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4668 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
4674 Make things work with --disable-parse as they do with
4675 --disable-load-save - the symbols involved disappear, but the
4676 header is still installed and GST_DISABLE_PARSE is included via
4679 2006-02-20 Julien MOUTTE <julien@moutte.net>
4681 * libs/gst/base/gstbasetransform.c:
4682 (gst_base_transform_change_state): Fix a stupid bug. I was
4683 sure I compiled that.
4685 2006-02-20 Julien MOUTTE <julien@moutte.net>
4687 * gst/gstpad.c: (gst_pad_set_blocked_async):
4688 * gst/gstutils.c: (gst_pad_add_data_probe),
4689 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4690 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4691 (gst_pad_remove_buffer_probe): Make those function act on the
4692 ghostpad target when it's a ghostpad. (Closes #331727)
4694 2006-02-20 Julien MOUTTE <julien@moutte.net>
4696 * libs/gst/base/gstbasetransform.c:
4697 (gst_base_transform_change_state): Make basetransform reusable.
4700 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
4702 * docs/random/release:
4703 Move the current documentation of how to do a release to the top
4706 * gst/gstbin.c: (gst_bin_class_init),
4707 (gst_bin_handle_message_func):
4708 Allow multiple state-recalculation threads. (Closes #328873)
4710 2006-02-19 Julien MOUTTE <julien@moutte.net>
4712 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4713 * gst/gstpad.c: (gst_pad_set_event_function),
4714 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4715 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4716 2 strings. You can't use the STR_NULL macro on that.
4718 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
4720 * gst/gstpad.c: (gst_pad_set_event_function),
4721 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4722 (gst_pad_set_getcaps_function)
4723 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4724 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4725 So now, we can use --gst-debug-level=5 on Windows
4726 * win32/common/libgstcontroller.def:
4727 Added export of gst_controller_init
4728 * win32/vs6/libgstcontroller.dsp:
4729 Fixed Release post build configuration
4731 2006-02-17 Wim Taymans <wim@fluendo.com>
4733 * tests/check/gst/gstquery.c: (GST_START_TEST):
4734 Added another check.
4736 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
4738 * plugins/elements/gsttypefindelement.c: (find_peek):
4739 We can do peeks at non-zero offsets, as long as they
4740 fall within the buffer we have.
4742 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
4744 * tests/check/Makefile.am:
4745 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4746 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4747 (parse_suite), (main):
4748 Add testsuite for parse launch syntax
4750 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
4752 * plugins/elements/gsttypefindelement.c:
4753 (gst_type_find_element_chain):
4754 When typefinding is unsuccessful in the chain function, don't
4755 error out immediately. Only error out with NO_CAPS_FOUND if
4756 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4757 otherwise simply wait for more data so we can try typefinding
4758 again with more data later. Also, don't attempt to typefind
4759 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4760 this should improve typefinding from network sources where the
4761 size of the first buffer can be somewhat random.
4763 2006-02-14 Wim Taymans <wim@fluendo.com>
4765 * docs/gst/gstreamer-sections.txt:
4766 * gst/gstpadtemplate.c:
4767 * gst/gstpadtemplate.h:
4768 Fix padtemplate docs, fixes #328805.
4770 2006-02-14 Wim Taymans <wim@fluendo.com>
4772 * tools/gst-launch.c: (main):
4773 NO_PREROLL is not an ERROR so don't send confusing messages
4776 2006-02-14 Wim Taymans <wim@fluendo.com>
4778 Patch by: Torsten Schoenfeld
4780 * gst/gstregistry.c: (gst_registry_get_default),
4781 (_gst_registry_cleanup):
4782 Protect default registry with lock and ref/sink it.
4785 2006-02-14 Wim Taymans <wim@fluendo.com>
4788 * gst/gstquery.c: (gst_query_list_add_format),
4789 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4790 (gst_query_parse_formats_nth):
4791 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4794 2006-02-14 Wim Taymans <wim@fluendo.com>
4796 * docs/gst/gstreamer-sections.txt:
4797 Reworked query docs.
4799 * gst/gstquery.c: (gst_query_new_formats),
4800 (gst_query_list_add_format), (gst_query_set_formats),
4801 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4802 (gst_query_parse_formats_nth):
4804 Flesh out formats query, added some new methods.
4805 Fix part of #324398.
4807 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4808 Added query creation tests.
4810 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
4812 * gst/gstpad.c: (fixate_value):
4813 Add a default fixation for fraction lists.
4815 2006-02-13 Wim Taymans <wim@fluendo.com>
4817 * gst/gsttask.c: (gst_task_init), (gst_task_func),
4818 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4821 Detect and warn for obvious deadlocks. fixes #320340
4822 Fix error case where lock was not released.
4824 * tests/check/Makefile.am:
4825 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4826 (task_func), (gst_element_suite), (main):
4829 2006-02-13 Wim Taymans <wim@fluendo.com>
4831 * docs/gst/gstreamer-sections.txt:
4833 Add new functions to docs.
4835 2006-02-13 Wim Taymans <wim@fluendo.com>
4837 * docs/design/part-TODO.txt:
4838 Updated TODO list, basesrc supports seeking to non-bytes
4841 * docs/design/part-element-sink.txt:
4844 * gst/gstbin.c: (bin_replace_message),
4845 (gst_bin_handle_message_func):
4846 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4847 * gst/gstevent.c: (gst_event_finalize):
4848 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4849 (gst_pad_send_event):
4850 Use shiny new _TYPE_NAME macros.
4852 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4853 Move debug statement up.
4855 * gst/gstelement.c: (gst_element_set_locked_state):
4858 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
4860 * docs/gst/gstreamer-sections.txt:
4863 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4864 macros (#330906). Also, document the already existing
4865 GST_QUERY_TYPE macro.
4867 2006-02-13 Wim Taymans <wim@fluendo.com>
4869 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4870 (event_probe), (GST_START_TEST):
4871 Only events up to the pipeline EOS are counted, there are
4872 some more when going to NULL currently which we don't care
4875 2006-02-13 Wim Taymans <wim@fluendo.com>
4877 * gst/gstpad.c: (gst_pad_send_event):
4878 Correctly check flushing and emit probes. fixes #330125
4880 2006-02-10 Andy Wingo <wingo@pobox.com>
4882 * gst/gstbus.c (gst_bus_class_init): Declare our private data
4884 (gst_bus_init): Cache the location of the private data in the
4886 (gst_bus_enable_sync_message_emission)
4887 (gst_bus_disable_sync_message_emission): Implement new public
4889 (gst_bus_post): Emit the sync-message signal if the user asked for
4892 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4893 location of the bus-private structure.
4894 (gst_bus_enable_sync_message_emission)
4895 (gst_bus_disable_sync_message_emission): API addition
4897 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
4899 Patch by: Vincent Torri
4901 * docs/pwg/building-boiler.xml:
4902 PWG patch from #326800
4904 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
4908 * docs/design/Makefile.am:
4911 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4916 === release 0.10.3 ===
4918 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4921 releasing 0.10.3, "Like a virgin"
4923 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4926 2nd prerelease of 0.10.3
4927 Bump libtool versioning.
4929 2006-02-07 Andy Wingo <wingo@pobox.com>
4931 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
4932 update last_stop if we're in TIME format and the timestamp is
4935 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
4936 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
4937 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
4938 If we get a new newsegment with a different format, adapt
4941 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
4942 of 0. Not a problem, really.
4944 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
4947 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
4952 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
4955 project files updated to the default vs7 configuration
4956 * win32/common/libgstbase.def:
4957 * win32/common/libgstreamer.def:
4959 removed empty lines,
4960 sorted all exported symbols alphabetically
4961 * win32/common/dirent.c:
4962 * win32/common/dirent.h:
4963 * win32/common/gchar.h:
4964 use windows line end.
4966 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4968 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4969 Send EOS event when stopping.
4971 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
4974 Tell folks what to do if the plugin-foobar.xml file
4975 hasn't been generated for a newly-added plugin.
4977 2006-02-05 Julien MOUTTE <julien@moutte.net>
4979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4980 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
4981 (gst_collect_pads_start), (gst_collect_pads_stop),
4982 (gst_collect_pads_event): Collectpads now holds a reference
4983 to the GstPad that was added. Indeed we don't want to look
4984 at pads that might just go away with no warning...
4986 2006-02-05 Julien MOUTTE <julien@moutte.net>
4988 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
4989 (gst_collect_pads_start), (gst_collect_pads_stop),
4990 (gst_collect_pads_event), (gst_collect_pads_chain):
4991 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
4992 Mark Nauwelaerts's patch on bug #328491.
4994 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
4996 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
4998 Add some simple tests for gst_parse_bin_from_description() and
4999 gst_bin_find_unconnected_pad() (#329069).
5001 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5003 * tools/gst-launch.c: (event_loop), (main):
5004 Catch errors during preroll (#320084).
5006 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5008 * plugins/elements/gsttypefindelement.c:
5009 (gst_type_find_element_activate):
5010 Post TYPE_NOT_FOUND error message when typefinding
5011 is unsuccessful in the activate function as well.
5013 2006-02-02 Wim Taymans <wim@fluendo.com>
5015 * docs/design/part-element-sink.txt:
5018 2006-02-02 Wim Taymans <wim@fluendo.com>
5020 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5021 (gst_base_sink_render_object),
5022 (gst_base_sink_queue_object_unlocked):
5023 Only keep track of prerollable items when we are
5025 Before rendering after preroll, always check if we
5027 Added some more debugging.
5029 2006-02-02 Wim Taymans <wim@fluendo.com>
5031 * gst/gstelement.c: (gst_element_continue_state),
5032 (gst_element_set_state_func), (gst_element_change_state):
5033 Fixed #326576, been running this for quite some time with
5034 no regressions at all.
5036 2006-02-02 Wim Taymans <wim@fluendo.com>
5039 Added more suppressions
5041 2006-02-02 Wim Taymans <wim@fluendo.com>
5043 * docs/design/part-element-sink.txt:
5046 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5047 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5048 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5049 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5050 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5051 (gst_base_sink_preroll_object),
5052 (gst_base_sink_queue_object_unlocked),
5053 (gst_base_sink_queue_object), (gst_base_sink_event),
5054 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5055 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5056 (gst_base_sink_get_position), (gst_base_sink_change_state):
5057 * libs/gst/base/gstbasesink.h:
5058 Totally refactored matching the design doc.
5059 Use two segments, one to clip incomming buffers and another to
5061 Handle queueing correctly, bypass the queue when playing.
5062 Make EOS cancelable.
5063 Handle errors correctly when operating in pull based mode.
5065 * tests/check/elements/fakesink.c: (GST_START_TEST),
5067 Added new check for sinks.
5069 2006-02-02 Wim Taymans <wim@fluendo.com>
5071 * gst/gstsegment.c: (gst_segment_clip):
5072 No reason to refuse to clip when start == -1
5074 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5077 * docs/manual/intro-basics.xml:
5078 * docs/manual/intro-preface.xml:
5079 * docs/manual/manual.xml:
5080 * docs/pwg/advanced-dparams.xml:
5081 * docs/pwg/intro-basics.xml:
5082 * docs/pwg/intro-preface.xml:
5084 describe dparams (controller) for plugins
5085 unify docs a little more
5087 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5089 * docs/gst/gstreamer-sections.txt:
5090 * gst/gstutils.c: (element_find_unconnected_pad),
5091 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5093 Add new API: gst_parse_bin_from_description() and
5094 gst_bin_find_unconnected_pad() (#329069).
5096 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5098 * docs/manual/README:
5099 uncover a nasty detail of the docs build
5101 2006-01-31 Wim Taymans <wim@fluendo.com>
5103 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5104 Don't cache duration messages if we're not going to use or
5107 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5109 * docs/manual/advanced-dparams.xml:
5110 * docs/pwg/advanced-dparams.xml:
5114 * libs/gst/controller/lib.c: (gst_controller_init):
5117 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5119 * gst/gstelement.c: (gst_element_message_full):
5120 also show file/line/func if no additional debug was given
5122 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5124 * win32/vs7/grammar.vcproj:
5125 activate copy of autogenerated files for Release mode
5127 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5129 * win32/common/libgstreamer.def:
5130 export gst_value_compare
5132 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5134 * plugins/elements/Makefile.am:
5135 * plugins/elements/gstelements.c:
5136 * plugins/elements/gstfdsink.c: (_do_init),
5137 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5138 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5139 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5140 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5141 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5142 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5143 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5144 * plugins/elements/gstfdsink.h:
5145 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5147 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5149 * docs/manual/advanced-dparams.xml:
5151 * docs/manual/advanced-position.xml:
5152 * docs/manual/basics-init.xml:
5153 * docs/manual/manual.xml:
5154 * docs/manual/titlepage.xml:
5156 * docs/pwg/titlepage.xml:
5157 cleanup xml (more to come)
5158 * libs/gst/controller/gstcontroller.c:
5161 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5163 * win32/vs6/grammar.dsp:
5164 add autogen of gstmarshal.c,h for Release mode
5166 2006-01-30 Wim Taymans <wim@fluendo.com>
5168 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5169 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5170 (gst_base_sink_handle_object), (gst_base_sink_event),
5171 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5172 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5173 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5174 (gst_base_sink_deactivate), (gst_base_sink_activate),
5175 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5176 (gst_base_sink_query), (gst_base_sink_change_state):
5177 Basesink cleanups, remove some old code.
5178 Handle the case where a subclass can preroll in the render
5179 method (mostly audiosinks).
5181 Remove some locks around variables that are now protected
5182 with the PREROLL_LOCK (clock_id, flushing, ..).
5183 Optimize position query some more, do correct locking.
5184 Remove old code to push queue in state change, this is not
5185 needed anymore since preroll blocks on all prerollable items
5187 Almost implemented as described in design doc.
5189 2006-01-30 Wim Taymans <wim@fluendo.com>
5191 * tests/check/gst/gstbin.c: (GST_START_TEST):
5192 Wait for refcount to settle down before checking.
5194 2006-01-30 Wim Taymans <wim@fluendo.com>
5196 * docs/design/part-element-sink.txt:
5197 Pseudo code overview of desired sink behaviour regarding
5200 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5201 * win32/vs6/grammar.dsp:
5202 fix some bugs in Release mode for autogenerated files
5204 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5205 * win32/common/libgstbase.def:
5206 * win32/common/libgstreamer.def:
5207 export some new symbols: gst_base_src_set_format,
5208 gst_iterator_next, gst_structure_set_valist
5210 2006-01-29 Julien MOUTTE <julien@moutte.net>
5212 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5213 Set pad functions unconditionally. Fixes #329105.
5215 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5217 add vs8 project files created by Sergey Scobich
5219 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5221 * gst/gstutils.c: (gst_element_unlink_pads):
5222 Don't leak pad references.
5224 * tests/check/elements/fakesink.c: (GST_START_TEST):
5225 * tests/check/generic/sinks.c: (GST_START_TEST):
5226 * tests/check/generic/states.c: (GST_START_TEST):
5227 * tests/check/gst/gstbin.c: (GST_START_TEST):
5228 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5229 * tests/check/gst/gstelement.c: (GST_START_TEST):
5230 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5231 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5232 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5233 Fix a bunch of leaks. Make generic/sinks.c
5234 use a bit less cpu by slowing the buffer rate
5235 between fakesrc and fakesink.
5237 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5239 * gst/gstelement.c: (gst_element_send_event):
5242 * gst/gstiterator.c:
5243 * gst/gstiterator.h:
5244 * gst/gstpad.c: (gst_pad_send_event):
5245 * gst/gststructure.c:
5249 * libs/gst/base/gstadapter.c:
5250 doc fixes, to link to function, just write gst_cool_function(), don't
5253 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5255 * plugins/elements/gsttee.c: (gst_tee_do_push),
5256 (gst_tee_handle_buffer):
5257 Always prefer an actual return value from a src
5258 pad in place of NOT_LINKED. This means we return
5259 WRONG_STATE when all src pads are WRONG_STATE
5260 instead of NOT_LINKED.
5262 Lock when replacing the last message to prevent
5263 racing with the get_property method.
5267 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5269 * tests/check/Makefile.am:
5270 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5272 Add a very simple check that should have caught the memleak I fixed
5273 last night (if not for the slice allocator hiding it)
5275 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5277 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5278 (gst_bin_remove_func), (gst_bin_handle_message_func),
5279 (bin_query_duration_fold), (bin_query_generic_fold):
5280 Clean up references to the clock provider when disposed or when
5281 handling a clock-lost message from it.
5283 Unref sinks when performing a query via gst_iterator_fold, as the
5284 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5286 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5287 (gst_clock_set_master):
5288 Drop our reference to the master clock, if any, when we are disposed.
5290 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5291 Chain up in dispose.
5293 2006-01-26 Wim Taymans <wim@fluendo.com>
5295 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5298 2006-01-26 Julien MOUTTE <julien@moutte.net>
5300 * plugins/elements/gsttee.c: (gst_tee_do_push),
5301 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5302 handles pad being NOT_LINKED or in WRONG_STATE.
5304 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5309 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5312 remove obsolete entry
5314 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5316 * docs/gst/gstreamer-sections.txt:
5317 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5318 (gst_bin_iterate_sources), (gst_bin_send_event):
5320 * gst/gstelement.c: (gst_element_send_event):
5322 * gst/gstpad.c: (gst_pad_send_event):
5323 added code for downstream events, reviewed docs in gstevent.c
5325 2006-01-25 Julien MOUTTE <julien@moutte.net>
5327 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5328 We only query position using the clock in the playing state.
5329 Query peer in the other cases.
5330 * win32/common/config.h: Updates.
5332 2006-01-24 Wim Taymans <wim@fluendo.com>
5334 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5335 A clock entry that is scheduled for the exact time of the
5336 clock is still in time.
5338 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5339 (gst_base_sink_do_sync):
5340 Add some more debug info.
5342 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5345 Add new vs7 project files and solution.
5347 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5350 all files removed as they were out-dated.
5352 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5354 * docs/random/release:
5356 * gst/gstbin.c: (gst_bin_init):
5357 * gst/gstbus.c: (gst_bus_new):
5359 * gst/gstpipeline.c: (gst_pipeline_init):
5360 use gst_bus_new(), improve logging, fix docs
5361 * win32/common/config.h:
5362 update for cvs build
5364 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5367 up required version of automake to 1.7
5369 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5371 * win32/common/libgstreamer.def:
5372 export gst_buffer_is_metadata_writable
5374 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5376 * docs/gst/gstreamer-sections.txt:
5378 Add gst_event_replace() (#327001)
5380 2006-01-20 Wim Taymans <wim@fluendo.com>
5382 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5383 Make it actually compile too..
5385 2006-01-20 Wim Taymans <wim@fluendo.com>
5388 Clarify behaviour of _is_equal() when passing NULL parameters.
5390 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5392 Cleanups. Don't unref NULL caps.
5393 When setting the same caps, protect caps of the pad with
5395 Use full functionality of _is_equal() when comparing caps.
5397 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5399 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5400 Don't loop infinitely if there are no buffers to present. Partially
5401 fixes #327197, but collectpads is just broken for reusing elements
5402 to do multiple encodes atm.
5404 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5406 * tools/gst-inspect.c: (print_element_features):
5407 * tools/gst-xmlinspect.c: (main):
5408 URL_HANDLER is not a plugin feature we can search for in
5411 2006-01-19 Edward Hervey <edward@fluendo.com>
5413 * gst/gstelement.c: (gst_element_pads_activate):
5414 When activating, do src pads first, then sink pads.
5415 When de-activating, do sink pads first, then src pads.
5417 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5419 * docs/gst/gstreamer-sections.txt:
5420 Add gst_index_add_associationv to the docs
5422 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5427 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5428 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5429 Do some refactoring. Doesn't actually change functionality,
5430 but makes landing the DRAIN event easier later.
5432 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5434 * docs/pwg/advanced-scheduling.xml:
5435 Update from 0.9.x to 0.10 API and make example a bit
5438 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5440 * docs/gst/gstreamer-sections.txt:
5441 Add gst_buffer_(is|make)_metadata_writable methods.
5443 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5445 * docs/design/part-sparsestreams.txt:
5446 Update sparse streams doc, hopefully for greater clarity
5448 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5450 * docs/design/part-events.txt:
5451 Remove mention of FILLER events.
5454 * docs/design/part-sparsestreams.txt:
5455 Write some things about using NEWSEGMENT to keep sparse streams
5458 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5460 * gst/gstbin.c: (gst_bin_dispose):
5461 Guard gst_object_unref call against a NULL object (dispose
5462 can theoretically be called multiple times).
5464 2006-01-18 Wim Taymans <wim@fluendo.com>
5466 * gst/gstbin.c: (gst_bin_element_set_state):
5467 * gst/gstclock.c: (gst_clock_id_wait):
5468 Added some more debug info.
5470 * libs/gst/base/gstadapter.c:
5473 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5474 (gst_base_sink_do_sync), (gst_base_sink_chain):
5475 Added some comments.
5477 2006-01-18 Wim Taymans <wim@fluendo.com>
5479 * tests/check/Makefile.am:
5480 * tests/check/elements/fakesink.c: (chain_async_buffer),
5481 (chain_async), (chain_async_return), (GST_START_TEST),
5482 (fakesink_suite), (main):
5483 Added fakesink test that checks prerolling and clipping
5486 * tests/check/gst/gstutils.c: (GST_START_TEST):
5487 Make check run faster so that buildbots don't timeout.
5489 2006-01-18 Wim Taymans <wim@fluendo.com>
5491 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5492 (gst_base_sink_do_sync):
5494 When the sink finishes blocking on the preroll buffer, it can
5495 immediatly render it instead of rendering when the next buffer
5498 2006-01-18 Wim Taymans <wim@fluendo.com>
5500 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5501 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5502 (gst_base_sink_chain):
5504 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5505 Don't store _last_stop if the buffer is dropped.
5507 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5509 * plugins/elements/gsttypefindelement.c:
5510 (gst_type_find_element_class_init):
5511 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5512 object method handler that sets the caps on the pad and we want
5513 that to happen before we emit the signal (fixes e.g. feeding a
5514 plain text file to decodebin).
5516 2006-01-18 Christian Schaller <Christian@fluendo.com>
5518 * gst/gstplugin.c: Add MPL and Proprietary as license options
5520 2006-01-18 Andy Wingo <wingo@pobox.com>
5522 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5523 symbol was exported before, it appears this was just an oversight.
5525 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5527 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5528 prototype to gint. OK since this prototype was not in the header.
5530 2006-01-17 Andy Wingo <wingo@pobox.com>
5532 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5533 registry while we remove plugins.
5535 * tools/gst-inspect.c (print_element_info): Don't unref the
5536 factory arg, that should be the responsibility of whatever code
5537 received the ref. Fixes a double-free when called from
5538 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5539 (main): Unref the factory if we have one.
5540 (print_element_list): No change -- relies on the
5541 plugin_feature_list_free to free the list of features.
5543 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5545 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5546 (gst_buffer_make_metadata_writable):
5548 * libs/gst/base/gstbasetransform.c:
5549 (gst_base_transform_prepare_output_buf):
5550 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5551 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5552 Replace gst_buffer_(make|is)_metadata_writable patch now
5553 that the release is out.
5555 2006-01-17 Andy Wingo <wingo@pobox.com>
5557 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5558 in the present tense without reference to versions.
5560 * gst/gstregistry.c (gst_registry_add_plugin)
5561 (gst_registry_remove_plugin, gst_registry_remove_feature)
5562 (gst_registry_find_feature, gst_registry_get_feature_list)
5563 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5564 (gst_registry_lookup, gst_registry_scan_path)
5565 (_gst_registry_remove_cache_plugins)
5566 (gst_registry_get_feature_list_by_plugin): Add argument
5569 === release 0.10.2 ===
5571 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5574 releasing 0.10.2, "If man is five"
5576 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5580 * libs/gst/base/gstbasetransform.c:
5581 (gst_base_transform_prepare_output_buf):
5582 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5583 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5584 Back out patch until after the release.
5586 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5588 * gst/gstminiobject.c:
5589 Spelling fix in docs.
5590 * ChangeLog - remove conflict indicator
5592 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5594 Reviewed By: Andy Wingo
5596 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5597 (gst_buffer_make_metadata_writable):
5599 Add gst_buffer_(is|make)_metadata_writable as analogues of
5600 gst_buffer_(is|make)_writable.
5602 * libs/gst/base/gstbasetransform.c:
5603 (gst_base_transform_prepare_output_buf):
5604 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5605 Use name gst_buffer_(is|make)_metadata_writable functions.
5607 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5608 Test gst_buffer_(is|make)_metadata_writable
5612 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
5614 * docs/manual/Makefile.am:
5615 don't do parallel make
5618 * win32/common/config.h.in:
5619 add generations for HOST_CPU and GST_MAJORMINOR
5620 * win32/common/config.h:
5621 commit generated result
5623 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
5625 * docs/manual/appendix-integration.xml:
5626 Update GNOME integration section to use gst_init_get_option_group()
5627 instead of the old popt stuff (#322911). Also, GNOME applications
5628 should now use gconf*sink and gconf*src instead of the old gconf
5631 2006-01-13 Stefan Kost <ensonic@users.sf.net>
5634 * docs/gst/gstreamer-docs.sgml:
5635 * docs/gst/gstreamer-sections.txt:
5636 * docs/libs/gstreamer-libs-sections.txt:
5637 add new API entries to the docs
5638 * libs/gst/controller/Makefile.am:
5639 * libs/gst/controller/gstcontroller.c:
5640 * libs/gst/controller/gstcontroller.h:
5641 * libs/gst/controller/gstcontrollerprivate.h:
5642 * libs/gst/controller/gsthelper.c:
5643 * libs/gst/controller/gstinterpolation.c:
5644 move private structs to private header
5646 gstreamer-0.7 -> gstreamer-0.10
5647 * tests/check/libs/struct_i386.h:
5648 remove private structs
5650 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5652 * plugins/indexers/Makefile.am:
5653 Fixes as part of #317048
5655 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5657 * plugins/indexers/Makefile.am:
5658 fix #316086 - compilation when mmap is missing
5660 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
5662 * libs/gst/base/gstbasesink.c:
5663 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
5664 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5665 * win32/common/config.h:
5666 added some defines GST_MAJORMINOR and HOST_CPU
5667 * win32/common/libgstbase.def:
5668 * win32/common/libgstreamer.def:
5669 added some exported functions.
5671 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5673 * libs/gst/controller/gstcontroller.c:
5674 (gst_controlled_property_set_interpolation_mode),
5675 (gst_controlled_property_new):
5676 * libs/gst/controller/gstcontroller.h:
5677 * libs/gst/controller/gstinterpolation.c:
5678 (interpolate_none_get_string_value_array):
5679 make G_TYPE_STRING controlable
5681 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5684 * tools/gst-feedback.1.in:
5685 * tools/gst-inspect.1.in:
5686 * tools/gst-launch.1.in:
5687 * tools/gst-md5sum.1.in:
5688 * tools/gst-typefind.1.in:
5689 * tools/gst-xmlinspect.1.in:
5690 * tools/gst-xmllaunch.1.in:
5691 cleanup man-pages, remove reference to gst-register, document env-vars
5693 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
5695 * gst/gstbuffer.c: (gst_buffer_span):
5696 gst_buffer_span should copy the timestamp of the first buffer
5697 if they were both originally overlapping subbuffers of the
5698 same parent, using the same logic as the 'slow copy' case.
5700 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
5702 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5703 Need to awaken ALL the pads when we pop a buffer, otherwise
5704 collectpads only works when there is 2 input streams.
5706 2006-01-11 Stefan Kost <ensonic@users.sf.net>
5708 * docs/random/ensonic/media-device-daemon.txt:
5711 fix doc example, add clarification
5712 * tools/gst-launch.1.in:
5713 add initial info about GST_PLUGIN_PATH, needs more work
5715 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
5717 * docs/manual/basics-bins.xml:
5718 * docs/manual/basics-elements.xml:
5719 * docs/manual/intro-basics.xml:
5720 Some more minor docs additions and updates.
5722 2006-01-11 Wim Taymans <wim@fluendo.com>
5724 * docs/manual/basics-bins.xml:
5725 * docs/manual/basics-elements.xml:
5726 Some small fixes as pointed out by Ser-ver on IRC.
5728 2006-01-10 Edward Hervey <edward@fluendo.com>
5730 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5731 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5732 the single-segment mode.
5734 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
5736 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5738 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5739 (gst_base_src_perform_seek), (gst_base_src_send_event),
5740 (gst_base_src_set_property), (gst_base_src_get_property),
5741 (gst_base_src_loop), (gst_base_src_start),
5742 (gst_base_src_activate_push):
5743 * libs/gst/base/gstbasesrc.h:
5744 Name (private) union; makes Sun's Forte compiler happy (#324900).
5746 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
5749 gst-register is gone.
5751 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
5753 * gst/gstvalue.c: (_gst_value_initialize):
5754 make the G_TYPE_DATE instantiation work if debug is disabled
5756 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
5758 * gst/gstmessage.c: (gst_message_parse_tag),
5759 (gst_message_parse_error), (gst_message_parse_warning):
5760 Don't crash when return location for error/warning debug
5761 string is NULL; add fact that return locations can be
5762 NULL to docs where appropriate.
5764 2006-01-05 Wim Taymans <wim@fluendo.com>
5766 * gst/gstplugin.c: (gst_plugin_load_file):
5767 Replace strdup by g_strdup.
5769 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5771 * docs/pwg/advanced-types.xml:
5774 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5776 submitted by: Abel Cheung
5780 Added Chinese (traditional) translation
5782 2006-01-04 Wim Taymans <wim@fluendo.com>
5784 * docs/manual/basics-pads.xml:
5785 * docs/plugins/Makefile.am:
5786 * docs/plugins/gstreamer-plugins-docs.sgml:
5787 * docs/plugins/gstreamer-plugins-sections.txt:
5788 * docs/pwg/advanced-clock.xml:
5789 * docs/pwg/advanced-scheduling.xml:
5790 * docs/pwg/advanced-types.xml:
5791 * plugins/elements/gstfdsink.c:
5792 * plugins/elements/gstfdsrc.c:
5793 * plugins/elements/gstfdsrc.h:
5794 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5795 * plugins/elements/gstidentity.h:
5796 * plugins/elements/gstqueue.h:
5797 * plugins/elements/gsttee.c:
5798 * plugins/elements/gsttee.h:
5799 * plugins/elements/gsttypefindelement.c:
5800 (gst_type_find_element_class_init):
5801 * plugins/elements/gsttypefindelement.h:
5802 Small updates to various docs.
5803 Added core plugins to docs.
5805 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5808 add a suppression for liboil's uninitialized variable
5810 2006-01-02 James Livingston <jrl at ids dot org dot au>
5812 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5815 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5816 macro, so that gcc doesn't complain if the -Wmissing-prototypes
5817 compiler switch is being used (#325429).
5819 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
5821 * gst/gstbin.c: (gst_bin_query):
5822 Disable duration query caching in bins until it gets
5823 fixed (see #324807).
5825 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5827 * tools/gst-inspect.c: (print_element_properties_info):
5828 Handle properties of POINTER and BOXED type.
5830 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5832 * gst/gst.c: (init_post):
5833 Init tags stuff and some other things before loading
5834 any static plugins (there may be other static plugins
5835 than just the GStreamer ones, and they may want to
5836 register their own tags or formats or whatever, and
5837 preferably without segfaulting).
5839 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5840 Print at least a warning in the debug logs if we drop a
5841 query just because we don't know how to adjust the value
5842 in the particular format.
5844 2005-12-24 David Schleef <ds@schleef.org>
5846 * tools/gstreamer-completion:
5847 Replacement for gst-complete written in sh and sed. Only
5848 completes names of features, but that's 90% of what I want
5849 it for. Properties are not available in registry.xml. (Maybe
5852 === release 0.10.1 ===
5854 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5857 releasing 0.10.1, "Nollaig chridheil"
5859 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
5862 Add missing quote, should be make ERROR_CFLAGS="".
5864 2005-12-20 Wim Taymans <wim@fluendo.com>
5866 * docs/design/part-trickmodes.txt:
5867 More documentation on trickmodes.
5869 2005-12-20 Edward Hervey <edward@fluendo.com>
5871 * gst/gstcaps.c: (gst_static_caps_get_type):
5873 API addition: GST_TYPE_STATIC_CAPS
5874 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5875 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5876 * gst/gstpadtemplate.h:
5877 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5878 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5881 2005-12-18 Wim Taymans <wim@fluendo.com>
5883 * libs/gst/base/gstadapter.c:
5884 * libs/gst/base/gstadapter.h:
5885 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5886 (gst_base_sink_get_position):
5887 * libs/gst/base/gstbasesink.h:
5888 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5889 (gst_base_src_default_query), (gst_base_src_default_do_seek),
5890 (gst_base_src_do_seek), (gst_base_src_perform_seek),
5891 (gst_base_src_send_event), (gst_base_src_update_length),
5892 (gst_base_src_get_range), (gst_base_src_loop),
5893 (gst_base_src_start):
5894 * libs/gst/base/gstbasesrc.h:
5895 * libs/gst/base/gstbasetransform.h:
5896 * libs/gst/base/gstcollectpads.h:
5897 * libs/gst/base/gstpushsrc.c:
5898 * libs/gst/base/gstpushsrc.h:
5899 * libs/gst/dataprotocol/dataprotocol.c:
5900 * libs/gst/dataprotocol/dataprotocol.h:
5901 * libs/gst/net/gstnetclientclock.h:
5902 * libs/gst/net/gstnettimeprovider.h:
5903 Documentation updates.
5905 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
5907 * docs/manual/basics-helloworld.xml:
5908 Remove superfluous closing bracket in helloworld example.
5910 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
5912 * tools/gst-launch.1.in:
5913 Update gst-launch man page; add a section with useful
5914 environment variables. Fixes #323882.
5916 2005-12-16 Stefan Kost <ensonic@users.sf.net>
5919 * gst/gst_private.h:
5920 change some char* into char[]
5922 2005-12-16 Wim Taymans <wim@fluendo.com>
5924 * gst/gstregistryxml.c: (load_feature):
5926 Don't use g_object_unref on GstObjects so that we avoid
5927 leaks on unsafe glibs.
5929 2005-12-16 Wim Taymans <wim@fluendo.com>
5931 * gst/gstbin.c: (gst_bin_recalc_state):
5934 2005-12-16 Wim Taymans <wim@fluendo.com>
5937 Added make forever target for check.
5939 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
5941 * gst/gst.c: (init_post):
5942 make the registry cache file HOST_CPU-dependent
5944 2005-12-16 Andy Wingo <wingo@pobox.com>
5946 * plugins/elements/gstbufferstore.c
5947 (gst_buffer_store_cleared_func): Pay attention to g_list_append
5950 * tests/check/gst/gstobject.c
5951 (test_fake_object_name_threaded_unique): Pay attention to
5952 g_list_sort return value.
5954 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
5956 * tools/gst-feedback-m.m:
5957 Update for 0.9/0.10 (fixes #323870).
5959 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
5961 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
5962 Fix lcopy for mini objects, the mini object needs to be ref'ed.
5964 * tests/check/gst/gstminiobject.c: (my_foo_init),
5965 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
5966 (test_value_collection), (gst_mini_object_suite):
5967 Add test to ensure refcounts end up as expected when passing
5968 GstMiniObjects through g_object_get() and g_object_set().
5970 2005-12-14 Julien MOUTTE <julien@moutte.net>
5972 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
5973 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
5974 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
5975 of collectpads. This version removes a lot of races without
5976 touching API/ABI. Yay !
5978 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
5980 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
5981 Don't allow activation of a srcpad in pull_range if it has no
5983 Change some debug statements to be a little clearer
5985 * plugins/elements/gsttypefindelement.c:
5986 (gst_type_find_handle_src_query):
5987 Check that we have a peer before executing queries thereupon.
5989 * tests/examples/metadata/read-metadata.c: (message_loop):
5990 Use gst_bus_pop instead of gst_bus_poll when we just want it to
5991 immediately return us any available message with 0 timeout.
5993 2005-12-12 Michael Smith <msmith@fluendo.com>
5995 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5996 Don't unref factories after calling them.
5997 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
5998 * plugins/elements/gsttypefindelement.c:
5999 (gst_type_find_element_chain):
6000 Free lists of factories after using them. Fixing typefinding memory
6003 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6005 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6006 (gst_plugin_feature_load):
6007 more meaningful debug output
6009 * tests/Makefile.am:
6010 * tests/old/examples/Makefile.am:
6011 make make distcheck happy again
6013 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6015 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6016 Catch the special case where we are operating chain-based,
6017 but the downstream peer pad has no chain function. Emit a
6018 custom error message in this case instead of letting the
6019 core generate one implying that this is some sort of core
6020 bug. It's not, it just means that whatever got plugged
6021 into the pipeline downstream when we announced the type
6022 can only operate pull-based, while our source can only
6023 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6024 Error string has not been marked for translation yet, as
6025 it probably needs some more work first.
6027 (gst_type_find_element_get_best_possibility):
6028 Add helper function to find the best of all available
6029 found possibilities that qualify given the min. threshold.
6031 (gst_type_find_element_handle_event):
6032 Fix the case where we get an EOS while still in TYPEFIND
6033 mode (we want to chose the best of all possible types,
6034 not just the first type that happens to be in our unsorted
6035 list of possible types).
6037 (gst_type_find_element_chain):
6038 Make sure we return GST_FLOW_ERROR when we errored out
6039 in stop_typefinding(); also, don't just find the best of
6040 all found type entries and then use the last examined
6041 type entry, but actually use the best entry.
6043 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6045 * tests/examples/typefind/typefind.c: (type_found):
6046 * tests/examples/xml/runxml.c: (xml_loaded):
6047 More gcc4 fixes and a mem leak fix.
6049 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6051 * tests/examples/xml/createxml.c: (object_saved):
6054 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6056 * tests/Makefile.am:
6057 enable the examples even more
6059 2005-12-12 Andy Wingo <wingo@pobox.com>
6061 * libs/gst/net/gstnettimeprovider.c
6062 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6063 (gst_net_time_provider_set_property)
6064 (gst_net_time_provider_get_property):
6065 API addition: Export "active" as a GObject property.
6066 (gst_net_time_provider_thread): Only respond to time queries if
6067 the time provider is active.
6069 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6070 NetTimeProvider, preserving binary compat.
6072 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6074 * tests/examples/controller/audio-example.c: (main):
6075 * tests/examples/launch/Makefile.am:
6076 convert comments again
6078 2005-12-12 Wim Taymans <wim@fluendo.com>
6080 * libs/gst/base/gstpushsrc.c:
6083 2005-12-12 Wim Taymans <wim@fluendo.com>
6085 * docs/libs/gstreamer-libs-sections.txt:
6086 Added new symbol to docs.
6088 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6089 (gst_base_src_init), (gst_base_src_set_format),
6090 (gst_base_src_default_query), (gst_base_src_query),
6091 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6092 (gst_base_src_perform_seek), (gst_base_src_send_event),
6093 (gst_base_src_default_event), (gst_base_src_event_handler),
6094 (gst_base_src_set_property), (gst_base_src_get_property),
6095 (gst_base_src_wait), (gst_base_src_do_sync),
6096 (gst_base_src_update_length), (gst_base_src_get_range),
6097 (gst_base_src_check_get_range), (gst_base_src_loop),
6098 (gst_base_src_default_negotiate), (gst_base_src_start),
6099 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6100 (gst_base_src_change_state):
6101 * libs/gst/base/gstbasesrc.h:
6102 Implement seeking to other formats than _BYTES.
6103 Implement more seeking methods correctly.
6105 Added query vmethod.
6106 Added do_seek vmethod to make life easier for subclasses
6108 API addition: gst_base_src_set_format()
6110 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6112 * tests/examples/Makefile.am:
6115 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6118 * docs/random/ensonic/media-device-daemon.txt:
6119 * tests/examples/controller/.cvsignore:
6120 * tests/examples/controller/Makefile.am:
6121 * tests/examples/controller/audio-example.c: (main):
6122 * tests/examples/helloworld/.cvsignore:
6123 * tests/examples/helloworld/Makefile.am:
6124 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6125 * tests/examples/launch/.cvsignore:
6126 * tests/examples/launch/Makefile.am:
6127 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6128 * tests/examples/metadata/.cvsignore:
6129 * tests/examples/metadata/Makefile.am:
6130 * tests/examples/metadata/read-metadata.c: (message_loop),
6131 (make_pipeline), (print_tag), (main):
6132 * tests/examples/queue/.cvsignore:
6133 * tests/examples/queue/Makefile.am:
6134 * tests/examples/queue/queue.c: (event_loop), (main):
6135 * tests/examples/typefind/.cvsignore:
6136 * tests/examples/typefind/Makefile.am:
6137 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6139 * tests/examples/xml/.cvsignore:
6140 * tests/examples/xml/Makefile.am:
6141 * tests/examples/xml/createxml.c: (object_saved), (main):
6142 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6143 * tests/old/examples/Makefile.am:
6144 * tests/old/examples/TODO:
6145 * tests/old/examples/controller/.cvsignore:
6146 * tests/old/examples/controller/Makefile.am:
6147 * tests/old/examples/controller/audio-example.c:
6148 * tests/old/examples/helloworld/.cvsignore:
6149 * tests/old/examples/helloworld/Makefile.am:
6150 * tests/old/examples/helloworld/helloworld.c:
6151 * tests/old/examples/launch/.cvsignore:
6152 * tests/old/examples/launch/Makefile.am:
6153 * tests/old/examples/launch/mp3parselaunch.c:
6154 * tests/old/examples/launch/mp3play:
6155 * tests/old/examples/manual/Makefile.am:
6156 * tests/old/examples/metadata/Makefile.am:
6157 * tests/old/examples/metadata/read-metadata.c:
6158 * tests/old/examples/queue/.cvsignore:
6159 * tests/old/examples/queue/Makefile.am:
6160 * tests/old/examples/queue/queue.c:
6161 * tests/old/examples/typefind/.cvsignore:
6162 * tests/old/examples/typefind/Makefile.am:
6163 * tests/old/examples/typefind/typefind.c:
6164 * tests/old/examples/xml/.cvsignore:
6165 * tests/old/examples/xml/Makefile.am:
6166 * tests/old/examples/xml/createxml.c:
6167 * tests/old/examples/xml/runxml.c:
6168 applied some simple fixing to some examples
6169 re-enabled the working examples
6171 2005-12-12 Wim Taymans <wim@fluendo.com>
6173 * gst/gstsegment.c: (gst_segment_init),
6174 (gst_segment_set_last_stop), (gst_segment_set_seek),
6175 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6176 (gst_segment_to_running_time):
6177 Added more documentation.
6178 Make sure the last_pos value is updated properly.
6179 Make sure to_stream_time and to_running_time don't
6180 operate on wrong values.
6182 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6185 2005-12-12 Michael Smith <msmith@fluendo.com>
6187 * plugins/elements/gsttypefindelement.c: (free_entry),
6188 (gst_type_find_element_chain):
6189 Now that we're not leaking factories, make sure we keep references
6190 to them while we need them.
6192 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6194 * tests/check/gst/struct_i386.h:
6195 ifdef out the XML structs
6197 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6199 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6200 floor is not needed, F is always positive; this obviates the
6201 need for adding -lm when building without libxml
6203 2005-12-12 Wim Taymans <wim@fluendo.com>
6205 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6206 Take current playback rate into account when reporting
6209 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6211 * docs/manual/mime-world.fig:
6212 Let's try this again, this time with a file that is
6213 actually in XFig format.
6215 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6217 * docs/manual/mime-world.fig:
6218 Add audioconvert element to diagram so that it
6219 matches the text and the code (fixes #319526).
6221 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6223 * docs/pwg/building-chainfn.xml:
6224 * docs/pwg/building-pads.xml:
6225 * docs/pwg/building-state.xml:
6226 * docs/pwg/other-source.xml:
6227 Update state change stuff for 0.10 (fixes #322969).
6229 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6231 * docs/manual/advanced-dataaccess.xml:
6232 * docs/manual/appendix-checklist.xml:
6233 * docs/manual/appendix-programs.xml:
6234 * docs/manual/basics-pads.xml:
6235 * docs/manual/highlevel-components.xml:
6236 * docs/manual/manual.xml:
6237 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6238 add converters in front of pipelines; remove curly
6239 brackets for threads stuff, they no longer exist; use
6240 GST_TYPE_FRACTION for framerates; update some pieces of
6241 code to 0.10, but there's plenty more to do.
6243 * docs/manual/appendix-porting.xml:
6244 Expand on asynchroneous state changes; s/0.9/0.10/;
6245 mention disappearance of gst_init_get_popt_table()
6248 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6250 * docs/faq/using.xml:
6251 Spider no longer exists, and neither does gst-launch-ext.
6252 Update examples to use decodebin and playbin and put
6253 converters in front of sinks (fixes #323726).
6255 2005-12-09 Michael Smith <msmith@fluendo.com>
6257 * plugins/elements/gsttypefindelement.c: (find_peek),
6258 (gst_type_find_element_chain):
6259 Fix leaking element factories in typefinding.
6260 Fix problem where we forgot about a probable type on non-seekable
6261 files, and thus later mis-typefound it.
6263 2005-12-09 Michael Smith <msmith@fluendo.com>
6265 * common/m4/gst-makecontext.m4:
6266 * common/m4/gst-mcsc.m4:
6268 * win32/common/config.h:
6269 * win32/common/config.h.in:
6270 Remove makecontext stuff; not used in 0.10 and causes problems on
6271 HPUX according to bug #322441
6273 2005-12-07 Wim Taymans <wim@fluendo.com>
6275 * tests/check/Makefile.am:
6276 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6278 * tests/check/libs/struct_i386.h:
6279 Added ABI check for libs
6281 2005-12-07 Wim Taymans <wim@fluendo.com>
6283 * tests/check/Makefile.am:
6284 And add the struct_i386.h to dist.
6286 2005-12-07 Wim Taymans <wim@fluendo.com>
6288 * tests/check/Makefile.am:
6289 * tests/check/gst/.cvsignore:
6290 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6292 * tests/check/gst/struct_i386.h:
6293 Added check for ABI compatibility.
6295 2005-12-07 Wim Taymans <wim@fluendo.com>
6297 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6298 (gst_fake_src_get_times), (gst_fake_src_create):
6299 Fix broken sync option, fixes #323259
6301 2005-12-07 Wim Taymans <wim@fluendo.com>
6306 * gst/gstcaps.c: (gst_caps_is_equal):
6307 Don't assert on NULL <--> X. Fixes #323260
6309 * gst/gstminiobject.c: (gst_mini_object_replace):
6310 If we're doing atomic operations, we might just as well use
6311 the proper way to get an atomic pointer.
6313 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6316 2005-12-07 Michael Smith <msmith@fluendo.com>
6318 * gst/parse/grammar.y:
6319 Remove handling of { } for threads.
6321 2005-12-06 David Schleef <ds@schleef.org>
6323 * libs/gst/base/gstbasetransform.c: speling fix.
6325 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6327 * docs/libs/tmpl/gstdataprotocol.sgml:
6328 * docs/random/omega/testing/gstobject.c:
6332 * gst/gstelementfactory.c:
6335 * gst/gstghostpad.c:
6337 * gst/gstpadtemplate.c:
6338 * gst/gstregistryxml.c:
6340 * gst/gsttagsetter.c:
6341 * gst/gsttypefind.c:
6343 * libs/gst/base/gstbasesrc.c:
6344 * libs/gst/net/gstnetclientclock.c:
6345 * libs/gst/net/gstnettimeprovider.c:
6346 * plugins/elements/gstfakesrc.c:
6347 * plugins/elements/gstfdsrc.c:
6348 * plugins/elements/gstfilesrc.c:
6349 * plugins/elements/gstidentity.c:
6350 * plugins/elements/gstqueue.c:
6351 * plugins/elements/gsttypefindelement.c:
6352 * plugins/indexers/gstfileindex.c:
6353 * plugins/indexers/gstmemindex.c:
6354 * tests/check/gst/gsttag.c:
6355 * tests/old/examples/cutter/cutter.c:
6356 * tests/old/examples/mixer/mixer.c:
6357 * tests/old/examples/xml/runxml.c: (main):
6358 * tests/old/testsuite/caps/normalisation.c:
6359 * tests/old/testsuite/debug/global.c:
6360 * tests/old/testsuite/parse/parse1.c:
6361 * tools/gst-xmlinspect.c:
6362 * win32/common/dirent.c:
6365 === release 0.10.0 ===
6367 2005-12-05 <thomas (at) apestaart (dot) org>
6370 releasing 0.10.0, "Maroilles"
6372 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6374 submitted by: Funda Wang <fundawang@linux.net.cn>
6378 added Chinese (Traditional) translation
6380 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6382 * docs/gst/gstreamer-sections.txt:
6383 * docs/libs/tmpl/gstdataprotocol.sgml:
6384 * docs/random/thomasvs/TODO:
6389 2005-12-05 Andy Wingo <wingo@pobox.com>
6391 patch by: Wim Taymans <wim@fluendo.com>
6393 * libs/gst/base/gstbasetransform.c
6394 (gst_base_transform_prepare_output_buf)
6395 (gst_base_transform_buffer_alloc):
6396 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6397 alloc_buffer_and_set_caps.
6399 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6400 set_caps on the source pad.
6401 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6402 alloc_buffer used to do. Fixes #322874.
6404 * docs/gst/gstreamer-sections.txt:
6405 * docs/design/part-negotiation.txt:
6406 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6409 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6411 patch by: Sebastien Moutte
6414 * win32/common/config.h.in:
6415 * win32/vs6/libgstcontroller.dsp:
6418 2005-12-05 Wim Taymans <wim@fluendo.com>
6420 * gst/gstcaps.c: (gst_caps_is_equal):
6421 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6422 (gst_fake_src_create):
6423 Back out previous code changes, leave doc updates, file bugs
6426 2005-12-05 Wim Taymans <wim@fluendo.com>
6428 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6429 (gst_fake_src_get_times), (gst_fake_src_create):
6430 * plugins/elements/gstfakesrc.h:
6431 Fix broken sync code.
6433 2005-12-05 Wim Taymans <wim@fluendo.com>
6435 * gst/gstcaps.c: (gst_caps_is_equal):
6436 Comparing NULL against !NULL yields different caps, not a
6439 2005-12-05 Wim Taymans <wim@fluendo.com>
6441 * gst/gstpipeline.c:
6442 Fix small typo in docs.
6444 2005-12-05 Andy Wingo <wingo@pobox.com>
6446 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6448 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6449 registries/plugins with a MAJORMINOR one.
6450 (plugin_desc): Rename library from gstcoreleements to
6451 staticelements. Fixes #323222.
6453 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6456 Change debug category to 'collectpads' from 'collect_pads'
6459 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6461 patch by: Sebastien Moutte
6463 * libs/gst/controller/gstinterpolation.c:
6464 use convert function for uint64/double
6465 * win32/vs6/libgstcontroller.dsp:
6468 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6470 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6471 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6473 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6474 add tests that seem to show that the guint64/gdouble conversions
6477 2005-12-02 Wim Taymans <wim@fluendo.com>
6479 * gst/gstregistry.c: (gst_registry_add_path):
6480 * gst/gstregistry.h:
6481 * gst/gstregistryxml.c:
6484 2005-12-02 Wim Taymans <wim@fluendo.com>
6486 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6487 (gst_util_uint64_scale_int):
6490 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6493 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6496 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6499 * win32/common/config.h:
6500 * win32/vs6/gstreamer.dsw:
6501 * win32/vs6/libgstcoreelements.dsp:
6502 * win32/vs6/libgstelements.dsp:
6503 renamed core elements plugin
6505 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6507 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6509 do piece-wise major/minor comparison so 0.9 < 0.10
6510 also allow .exe extensions for tools
6512 2005-12-02 Michael Smith <msmith@fluendo.com>
6515 Escape a % to make gtkdoc happier; bug 322958.
6517 === release 0.9.7 ===
6519 2005-12-01 <thomas (at) apestaart (dot) org>
6522 releasing 0.9.7, "My Dog Has No Nose"
6524 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6526 * common/gst-xmlinspect.py:
6528 * docs/libs/tmpl/gstdataprotocol.sgml:
6529 * docs/random/release:
6548 * win32/common/config.h:
6549 * win32/common/config.h.in:
6550 * win32/vs6/gst_inspect.dsp:
6551 * win32/vs6/gst_launch.dsp:
6552 * win32/vs6/libgstbase.dsp:
6553 * win32/vs6/libgstelements.dsp:
6554 * win32/vs6/libgstreamer.dsp:
6555 * win32/vs7/GStreamer.vcproj:
6556 * win32/vs7/gst-inspect.vcproj:
6557 * win32/vs7/gst-launch.vcproj:
6558 * win32/vs7/libgstbase.vcproj:
6559 bump GST_MAJORMINOR to 0.10
6560 reset libtool version
6562 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6566 Added Bulgarian translation by (Alexander Shopov)
6568 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6570 * tests/check/gst/gstplugin.c:
6573 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6575 * common/gst-xmlinspect.py:
6576 * common/gtk-doc-plugins.mak:
6579 * docs/gst/Makefile.am:
6580 * docs/gst/gstreamer-docs.sgml:
6581 * docs/gst/gstreamer-sections.txt:
6582 * docs/gst/gstreamer.types:
6583 * docs/gst/gstreamer.types.in:
6584 * docs/plugins/Makefile.am:
6585 * docs/plugins/gstreamer-plugins-docs.sgml:
6586 * docs/plugins/gstreamer-plugins-sections.txt:
6587 * docs/plugins/gstreamer-plugins.types:
6588 * docs/plugins/inspect.stamp:
6589 * docs/plugins/inspect/plugin-coreelements.xml:
6590 * docs/plugins/inspect/plugin-coreindexers.xml:
6591 * docs/plugins/scanobj-build.stamp:
6592 * gstreamer.spec.in:
6593 * plugins/elements/Makefile.am:
6594 * plugins/elements/gstelements.c:
6595 * plugins/elements/gstfakesink.c:
6596 * plugins/elements/gstfakesrc.c:
6597 * plugins/elements/gstfilesink.c:
6598 * plugins/elements/gstfilesrc.c:
6599 * plugins/elements/gstqueue.c:
6600 * plugins/indexers/Makefile.am:
6601 * plugins/indexers/gstindexers.c:
6602 document core plugins in a separate document just like all the
6604 rename these plugins to something starting with core
6606 2005-12-01 Andy Wingo <wingo@pobox.com>
6608 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6609 padding here before, but it missed the commit.
6611 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6613 * libs/gst/controller/gstinterpolation.c:
6614 whitespace prices have crashed, we should feel free to use some now
6615 use gst_guint64_to_gdouble
6617 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6619 * libs/gst/controller/gstcontroller.c:
6620 * libs/gst/controller/gsthelper.c:
6621 * libs/gst/controller/gstinterpolation.c:
6622 * libs/gst/controller/lib.c:
6623 wrap config.h include
6625 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6627 * docs/gst/gstreamer-sections.txt:
6630 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6632 * plugins/elements/gstelements.c:
6633 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6634 (gst_fd_sink__class_init), (gst_fd_sink__init),
6635 (gst_fd_sink__chain), (gst_fd_sink__set_property),
6636 (gst_fd_sink__get_property):
6637 * plugins/elements/gstfdsink.h:
6638 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6639 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6640 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6641 (gst_fd_src_unlock), (gst_fd_src_set_property),
6642 (gst_fd_src_get_property), (gst_fd_src_create),
6643 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6644 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6645 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6646 (gst_fd_src_uri_handler_init):
6647 * plugins/elements/gstfdsrc.h:
6648 * plugins/elements/gstqueue.c: (gst_queue_get_type):
6651 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6653 * docs/gst/Makefile.am:
6654 * docs/gst/gstreamer.types.in:
6658 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6664 * gst/gstregistry.h:
6665 * tests/benchmarks/complexity.c:
6666 * tests/benchmarks/mass-elements.c:
6667 * tests/check/Makefile.am:
6668 * tools/Makefile.am:
6669 * tools/gst-inspect.c:
6670 * tools/gst-xmlinspect.c:
6671 various fixes to make
6672 --disable-nls --disable-registry --disable-loadsave
6673 --disable-parse --disable-gst-debug
6674 work and get the core .so down to 360444 bytes after stripping
6676 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6681 * docs/random/thomasvs/TODO:
6682 * tests/Makefile.am:
6686 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6688 * win32/GStreamer.vcproj:
6691 * win32/Makefile.inspect:
6692 * win32/Makefile.launch:
6693 * win32/Makefile.register:
6695 * win32/gst-inspect.vcproj:
6696 * win32/gst-launch.vcproj:
6697 * win32/gst-register.vcproj:
6698 * win32/gstelements.vcproj:
6699 * win32/gstgetbits.def:
6700 * win32/gstgetbits.vcproj:
6701 * win32/gstreamer-dbg.def:
6702 * win32/gstreamer.def:
6703 * win32/libgstbase.def:
6704 * win32/libgstbase.vcproj:
6705 * win32/link_oldruntime.c:
6710 move even more stuff, win32/ is nice and clean now
6712 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6714 * libs/gst/control/.cvsignore:
6719 * win32/gstbytestream.def:
6720 * win32/gstbytestream.vcproj:
6721 * win32/gstconfig.h:
6722 * win32/gstenumtypes.c:
6723 * win32/gstenumtypes.h:
6724 * win32/gstoptimalscheduler.vcproj:
6725 * win32/gstversion.h:
6727 * win32/testsuite/bins.vcproj:
6728 * win32/testsuite/bytestream.vcproj:
6729 * win32/testsuite/caps.vcproj:
6730 * win32/testsuite/cleanup.vcproj:
6731 * win32/testsuite/clock.vcproj:
6732 * win32/testsuite/debug.vcproj:
6733 * win32/testsuite/dlopen.vcproj:
6734 * win32/testsuite/dynparams.vcproj:
6735 * win32/testsuite/elements.vcproj:
6736 * win32/testsuite/ghostpads.vcproj:
6737 * win32/testsuite/indexers.vcproj:
6738 * win32/testsuite/negotiation.vcproj:
6739 * win32/testsuite/parse.vcproj:
6740 * win32/testsuite/plugin.vcproj:
6741 * win32/testsuite/refcounting.vcproj:
6742 * win32/testsuite/schedulers.vcproj:
6743 * win32/testsuite/states.vcproj:
6744 * win32/testsuite/tags.vcproj:
6745 * win32/testsuite/threads.vcproj:
6746 remove old win32 stuff that isn't maintained and should be
6749 2005-11-30 Andy Wingo <wingo@pobox.com>
6751 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6752 loading the gst.interfaces python module bork.
6754 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6755 available since GLib 2.2. Fixes #318031.
6757 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6761 * check/Makefile.am:
6762 * check/elements/.cvsignore:
6763 * check/elements/fakesrc.c:
6764 * check/elements/fdsrc.c:
6765 * check/elements/identity.c:
6766 * check/generic/.cvsignore:
6767 * check/generic/states.c:
6768 * check/gst-libs/.cvsignore:
6769 * check/gst-libs/controller.c:
6770 * check/gst-libs/gdp.c:
6771 * check/gst/.cvsignore:
6772 * check/gst/capslist.h:
6774 * check/gst/gstbin.c:
6775 * check/gst/gstbuffer.c:
6776 * check/gst/gstbus.c:
6777 * check/gst/gstcaps.c:
6778 * check/gst/gstelement.c:
6779 * check/gst/gstevent.c:
6780 * check/gst/gstghostpad.c:
6781 * check/gst/gstiterator.c:
6782 * check/gst/gstmessage.c:
6783 * check/gst/gstminiobject.c:
6784 * check/gst/gstobject.c:
6785 * check/gst/gstpad.c:
6786 * check/gst/gstpipeline.c:
6787 * check/gst/gstplugin.c:
6788 * check/gst/gstsegment.c:
6789 * check/gst/gststructure.c:
6790 * check/gst/gstsystemclock.c:
6791 * check/gst/gsttag.c:
6792 * check/gst/gstutils.c:
6793 * check/gst/gstvalue.c:
6794 * check/net/.cvsignore:
6795 * check/net/gstnetclientclock.c:
6796 * check/net/gstnettimeprovider.c:
6797 * check/pipelines/.cvsignore:
6798 * check/pipelines/cleanup.c:
6799 * check/pipelines/simple_launch_lines.c:
6800 * check/pipelines/stress.c:
6801 * check/states/.cvsignore:
6802 * check/states/sinks.c:
6804 * examples/Makefile.am:
6805 * examples/appreader/.cvsignore:
6806 * examples/appreader/Makefile.am:
6807 * examples/appreader/appreader.c:
6808 * examples/controller/.cvsignore:
6809 * examples/controller/Makefile.am:
6810 * examples/controller/audio-example.c:
6811 * examples/cutter/.cvsignore:
6812 * examples/cutter/Makefile.am:
6813 * examples/cutter/cutter.c:
6814 * examples/cutter/cutter.h:
6815 * examples/events/Makefile.am:
6816 * examples/events/seek.c:
6817 * examples/helloworld/.cvsignore:
6818 * examples/helloworld/Makefile.am:
6819 * examples/helloworld/helloworld.c:
6820 * examples/helloworld2/.cvsignore:
6821 * examples/helloworld2/Makefile.am:
6822 * examples/helloworld2/helloworld2.c:
6823 * examples/launch/.cvsignore:
6824 * examples/launch/Makefile.am:
6825 * examples/launch/mp3parselaunch.c:
6826 * examples/launch/mp3play:
6827 * examples/manual/.cvsignore:
6828 * examples/manual/Makefile.am:
6829 * examples/manual/extract.pl:
6830 * examples/metadata/Makefile.am:
6831 * examples/metadata/read-metadata.c:
6832 * examples/mixer/.cvsignore:
6833 * examples/mixer/Makefile.am:
6834 * examples/mixer/mixer.c:
6835 * examples/mixer/mixer.h:
6836 * examples/pingpong/.cvsignore:
6837 * examples/pingpong/Makefile.am:
6838 * examples/pingpong/pingpong.c:
6839 * examples/plugins/.cvsignore:
6840 * examples/plugins/Makefile.am:
6841 * examples/plugins/example.c:
6842 * examples/plugins/example.h:
6843 * examples/pwg/.cvsignore:
6844 * examples/pwg/Makefile.am:
6845 * examples/pwg/extract.pl:
6846 * examples/queue/.cvsignore:
6847 * examples/queue/Makefile.am:
6848 * examples/queue/queue.c:
6849 * examples/queue2/.cvsignore:
6850 * examples/queue2/Makefile.am:
6851 * examples/queue2/queue2.c:
6852 * examples/queue3/.cvsignore:
6853 * examples/queue3/Makefile.am:
6854 * examples/queue3/queue3.c:
6855 * examples/queue4/.cvsignore:
6856 * examples/queue4/Makefile.am:
6857 * examples/queue4/queue4.c:
6858 * examples/retag/.cvsignore:
6859 * examples/retag/Makefile.am:
6860 * examples/retag/retag.c:
6861 * examples/retag/transcode.c:
6862 * examples/thread/.cvsignore:
6863 * examples/thread/Makefile.am:
6864 * examples/thread/thread.c:
6865 * examples/typefind/.cvsignore:
6866 * examples/typefind/Makefile.am:
6867 * examples/typefind/typefind.c:
6868 * examples/xml/.cvsignore:
6869 * examples/xml/Makefile.am:
6870 * examples/xml/createxml.c:
6871 * examples/xml/runxml.c:
6872 * tests/Makefile.am:
6873 * tests/check/Makefile.am:
6874 * testsuite/.cvsignore:
6875 * testsuite/Makefile.am:
6877 * testsuite/caps/.cvsignore:
6878 * testsuite/caps/Makefile.am:
6879 * testsuite/caps/app_fixate.c:
6880 * testsuite/caps/audioscale.c:
6881 * testsuite/caps/caps.c:
6882 * testsuite/caps/caps.h:
6883 * testsuite/caps/caps_strings:
6884 * testsuite/caps/compatibility.c:
6885 * testsuite/caps/deserialize.c:
6886 * testsuite/caps/enumcaps.c:
6887 * testsuite/caps/eratosthenes.c:
6888 * testsuite/caps/filtercaps.c:
6889 * testsuite/caps/fixed.c:
6890 * testsuite/caps/fraction-convert.c:
6891 * testsuite/caps/fraction-multiply-and-zero.c:
6892 * testsuite/caps/intersect2.c:
6893 * testsuite/caps/intersection.c:
6894 * testsuite/caps/normalisation.c:
6895 * testsuite/caps/random.c:
6896 * testsuite/caps/renegotiate.c:
6897 * testsuite/caps/sets.c:
6898 * testsuite/caps/simplify.c:
6899 * testsuite/caps/string-conversions.c:
6900 * testsuite/caps/structure.c:
6901 * testsuite/caps/subtract.c:
6902 * testsuite/caps/union.c:
6903 * testsuite/debug/.cvsignore:
6904 * testsuite/debug/Makefile.am:
6905 * testsuite/debug/category.c:
6906 * testsuite/debug/commandline.c:
6907 * testsuite/debug/global.c:
6908 * testsuite/debug/output.c:
6909 * testsuite/debug/printf_extension.c:
6910 * testsuite/dlopen/.cvsignore:
6911 * testsuite/dlopen/Makefile.am:
6912 * testsuite/dlopen/dlopen_gst.c:
6913 * testsuite/dlopen/loadgst.c:
6914 * testsuite/elements/.cvsignore:
6915 * testsuite/elements/Makefile.am:
6916 * testsuite/elements/gst-inspect-check.in:
6917 * testsuite/elements/struct_i386.h:
6918 * testsuite/elements/struct_size.c:
6919 * testsuite/indexers/.cvsignore:
6920 * testsuite/indexers/Makefile.am:
6921 * testsuite/indexers/cache1.c:
6922 * testsuite/indexers/indexdump.c:
6923 * testsuite/parse/.cvsignore:
6924 * testsuite/parse/Makefile.am:
6925 * testsuite/parse/parse1.c:
6926 * testsuite/parse/parse2.c:
6927 * testsuite/plugin/.cvsignore:
6928 * testsuite/plugin/Makefile.am:
6929 * testsuite/plugin/README:
6930 * testsuite/plugin/dynamic.c:
6931 * testsuite/plugin/linked.c:
6932 * testsuite/plugin/loading.c:
6933 * testsuite/plugin/registry.c:
6934 * testsuite/plugin/static.c:
6935 * testsuite/plugin/static2.c:
6936 * testsuite/plugin/testplugin.c:
6937 * testsuite/plugin/testplugin2.c:
6938 * testsuite/plugin/testplugin2_s.c:
6939 * testsuite/plugin/testplugin_s.c:
6940 * testsuite/refcounting/.cvsignore:
6941 * testsuite/refcounting/Makefile.am:
6942 * testsuite/refcounting/bin.c:
6943 * testsuite/refcounting/element.c:
6944 * testsuite/refcounting/element_pad.c:
6945 * testsuite/refcounting/mainloop.c:
6946 * testsuite/refcounting/mem.c:
6947 * testsuite/refcounting/mem.h:
6948 * testsuite/refcounting/object.c:
6949 * testsuite/refcounting/pad.c:
6950 * testsuite/refcounting/sched.c:
6951 * testsuite/refcounting/thread.c:
6952 * testsuite/states/.cvsignore:
6953 * testsuite/states/Makefile.am:
6954 * testsuite/states/bin.c:
6955 * testsuite/states/locked.c:
6956 * testsuite/states/parent.c:
6957 * testsuite/threads/.cvsignore:
6958 * testsuite/threads/159566.c:
6959 * testsuite/threads/159852.c:
6960 * testsuite/threads/Makefile.am:
6961 * testsuite/threads/queue.c:
6962 * testsuite/threads/signals.c:
6963 * testsuite/threads/staticrec.c:
6964 * testsuite/threads/thread.c:
6965 * testsuite/threads/threadb.c:
6966 * testsuite/threads/threadc.c:
6967 * testsuite/threads/threadd.c:
6968 * testsuite/threads/threade.c:
6969 * testsuite/threads/threadf.c:
6970 * testsuite/threads/threadg.c:
6971 * testsuite/threads/threadh.c:
6972 * testsuite/threads/threadi.c:
6973 move all of these under tests
6975 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6978 * tests/Makefile.am:
6981 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6983 * docs/gst/gstreamer-sections.txt:
6984 * tests/sched/.cvsignore:
6985 * tests/sched/Makefile.am:
6986 * tests/sched/cases/(fs-fs).xml:
6987 * tests/sched/cases/(fs-i-fs).xml:
6988 * tests/sched/cases/(fs-i-i-fs).xml:
6989 * tests/sched/cases/(fs-i-q[i-fs]).xml:
6990 * tests/sched/dynamic-pipeline.c:
6991 * tests/sched/interrupt1.c:
6992 * tests/sched/interrupt2.c:
6993 * tests/sched/interrupt3.c:
6994 * tests/sched/runtestcases:
6995 * tests/sched/runxml.c:
6996 * tests/sched/sched-stress.c:
6997 * tests/sched/sort.c:
6998 * tests/sched/testcases:
6999 * tests/sched/testcases1.tc:
7000 * tests/seeking/.cvsignore:
7001 * tests/seeking/Makefile.am:
7002 * tests/seeking/seeking1.c:
7003 * tests/threadstate/.cvsignore:
7004 * tests/threadstate/Makefile.am:
7005 * tests/threadstate/test1.c:
7006 * tests/threadstate/test2.c:
7007 * tests/threadstate/threadstate1.c:
7008 * tests/threadstate/threadstate2.c:
7009 * tests/threadstate/threadstate3.c:
7010 * tests/threadstate/threadstate4.c:
7011 * tests/threadstate/threadstate5.c:
7012 remove obsolete tests
7014 * tests/bench-complexity.scm:
7015 * tests/bench-mass_elements.scm:
7016 * tests/complexity.c:
7017 * tests/complexity.gnuplot:
7018 * tests/instantiate/.cvsignore:
7019 * tests/instantiate/Makefile.am:
7020 * tests/instantiate/caps.c:
7021 * tests/mass_elements.c:
7022 * tests/network-clock-utils.scm:
7023 * tests/network-clock.scm:
7025 First pass at cleaning up tests/ dir before moving the rest
7026 Combined with CVS surgery
7028 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7031 queue has moved, update
7033 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7035 * docs/gst/gstreamer-sections.txt:
7036 remove double entries from the docs
7037 * gst/gst_private.h:
7038 * gst/gstinfo.c: (_gst_debug_init):
7039 remove the THREAD debug category
7043 * docs/gst/gstreamer.types:
7044 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7045 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7046 completely move queue and fix up debugging categories
7048 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7050 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7051 make initialization portable, using LL is not
7053 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7055 * win32/common/gstconfig.h:
7058 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7060 * win32/common/libgstreamer.def:
7061 rename symbols; sort base section
7063 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7065 * gst/gstclock.c: (do_linear_regression):
7066 remove crack non-portable handrolled DEBUG macro
7068 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7070 * docs/random/release:
7072 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7073 (gst_object_flags_get_type), (register_gst_bin_flags),
7074 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7075 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7076 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7077 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7078 (gst_caps_flags_get_type), (register_gst_clock_return),
7079 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7080 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7081 (gst_clock_flags_get_type), (register_gst_state),
7082 (gst_state_get_type), (register_gst_state_change_return),
7083 (gst_state_change_return_get_type), (register_gst_state_change),
7084 (gst_state_change_get_type), (register_gst_element_flags),
7085 (gst_element_flags_get_type), (register_gst_core_error),
7086 (gst_core_error_get_type), (register_gst_library_error),
7087 (gst_library_error_get_type), (register_gst_resource_error),
7088 (gst_resource_error_get_type), (register_gst_stream_error),
7089 (gst_stream_error_get_type), (register_gst_event_type_flags),
7090 (gst_event_type_flags_get_type), (register_gst_event_type),
7091 (gst_event_type_get_type), (register_gst_seek_type),
7092 (gst_seek_type_get_type), (register_gst_seek_flags),
7093 (gst_seek_flags_get_type), (register_gst_format),
7094 (gst_format_get_type), (register_gst_index_certainty),
7095 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7096 (gst_index_entry_type_get_type),
7097 (register_gst_index_lookup_method),
7098 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7099 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7100 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7101 (gst_index_flags_get_type), (register_gst_debug_level),
7102 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7103 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7104 (gst_iterator_result_get_type), (register_gst_iterator_item),
7105 (gst_iterator_item_get_type), (register_gst_message_type),
7106 (gst_message_type_get_type), (register_gst_mini_object_flags),
7107 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7108 (gst_pad_link_return_get_type), (register_gst_flow_return),
7109 (gst_flow_return_get_type), (register_gst_activate_mode),
7110 (gst_activate_mode_get_type), (register_gst_pad_direction),
7111 (gst_pad_direction_get_type), (register_gst_pad_flags),
7112 (gst_pad_flags_get_type), (register_gst_pad_presence),
7113 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7114 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7115 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7116 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7117 (gst_plugin_flags_get_type), (register_gst_rank),
7118 (gst_rank_get_type), (register_gst_query_type),
7119 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7120 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7121 (gst_tag_flag_get_type), (register_gst_task_state),
7122 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7123 (gst_alloc_trace_flags_get_type),
7124 (register_gst_type_find_probability),
7125 (gst_type_find_probability_get_type), (register_gst_uri_type),
7126 (gst_uri_type_get_type), (register_gst_parse_error),
7127 (gst_parse_error_get_type):
7128 * win32/common/gstenumtypes.h:
7129 * win32/common/gstversion.h:
7130 update visual studio generated files
7132 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7134 * win32/vs6/libgstbase.dsp:
7135 * win32/vs6/libgstelements.dsp:
7136 update project files for new locations
7138 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7143 reinstate and update
7148 * docs/random/LICENSE:
7151 2005-11-30 Edward Hervey <edward@fluendo.com>
7153 * gst/gsttypefind.c: (gst_type_find_register):
7154 * gst/gsttypefind.h:
7155 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7156 (gst_type_find_factory_dispose):
7157 * gst/gsttypefindfactory.h:
7158 Fix memory leak in GstTypeFindFactory.
7160 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7163 * plugins/elements/Makefile.am:
7164 * plugins/elements/gstelements.c:
7165 * plugins/elements/gstqueue.c:
7166 move queue from core to the elements plugin
7168 2005-11-29 Andy Wingo <wingo@pobox.com>
7170 * libs/gst/base/gstbasetransform.h:
7171 * libs/gst/base/gstbasesrc.h:
7172 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7174 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7175 of pointers by which to pad very extensible base classes (like the
7176 ones in libs/gst/base).
7178 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7180 * docs/gst/gstreamer-docs.sgml:
7181 * docs/gst/gstreamer-sections.txt:
7182 * docs/libs/gstreamer-libs-docs.sgml:
7183 * docs/libs/gstreamer-libs-sections.txt:
7184 moving documentation from core to lib
7186 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7188 * check/Makefile.am:
7190 * docs/gst/Makefile.am:
7192 * gst/base/.cvsignore:
7193 * gst/base/Makefile.am:
7195 * gst/base/gstadapter.c:
7196 * gst/base/gstadapter.h:
7197 * gst/base/gstbasesink.c:
7198 * gst/base/gstbasesink.h:
7199 * gst/base/gstbasesrc.c:
7200 * gst/base/gstbasesrc.h:
7201 * gst/base/gstbasetransform.c:
7202 * gst/base/gstbasetransform.h:
7203 * gst/base/gstcollectpads.c:
7204 * gst/base/gstcollectpads.h:
7205 * gst/base/gstpushsrc.c:
7206 * gst/base/gstpushsrc.h:
7207 * gst/base/gsttypefindhelper.c:
7208 * gst/base/gsttypefindhelper.h:
7209 * gst/check/Makefile.am:
7210 * gst/check/gstcheck.c:
7211 * gst/check/gstcheck.h:
7212 * gst/net/Makefile.am:
7214 * gst/net/gstnetclientclock.c:
7215 * gst/net/gstnetclientclock.h:
7216 * gst/net/gstnettimepacket.c:
7217 * gst/net/gstnettimepacket.h:
7218 * gst/net/gstnettimeprovider.c:
7219 * gst/net/gstnettimeprovider.h:
7220 * libs/gst/Makefile.am:
7221 * libs/gst/base/Makefile.am:
7222 * libs/gst/base/gstbasetransform.c:
7223 * libs/gst/check/Makefile.am:
7224 * plugins/elements/Makefile.am:
7226 CVS surgery + support to move base, check, and net out of gst
7229 2005-11-29 Andy Wingo <wingo@pobox.com>
7231 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7233 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7236 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7238 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7240 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7242 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7243 padding; reduces object size by about 30%. We don't expect
7244 anything else to go into gstobject.
7246 * gst/gstminiobject.h (struct _GstMiniObject)
7247 (struct _GstMiniObjectClass): Only one pointer of padding; the
7248 payload is only a pointer and two ints anyway. For the class there
7249 are only two methods as well.
7251 * gst/gstelement.h (struct _GstElementClass): Removed
7252 the state_changed signal callback, it is not used.
7254 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7256 * docs/gst/gstreamer.types:
7257 fix includes, though they are a little dinky
7259 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7261 * check/Makefile.am:
7262 look in the right place for elements, a lot more chance of
7265 remove indexers and elements subdirs
7266 * plugins/Makefile.am:
7267 make indexers conditional
7269 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7273 * plugins/elements/Makefile.am:
7274 * plugins/elements/gstcapsfilter.c:
7275 * plugins/elements/gstfilesink.c:
7276 * plugins/elements/gstfilesrc.c:
7277 * plugins/elements/gstidentity.c:
7278 * plugins/indexers/Makefile.am:
7279 do CVS surgery and related build fixery to move elements
7280 and indexers in a new gstreamer/plugins directory, out of the
7283 2005-11-29 Andy Wingo <wingo@pobox.com>
7285 * check/Makefile.am:
7286 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7287 * pkgconfig/gstreamer-net.pc.in:
7288 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7291 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7293 * tools/Makefile.am:
7294 * tools/gst-complete.1.in:
7295 * tools/gst-complete.c:
7296 * tools/gst-compprep.1.in:
7297 * tools/gst-compprep.c:
7298 removing -compprep and -complete
7300 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7302 * gst/gstevent.c: (gst_event_new_new_segment),
7303 (gst_event_parse_new_segment):
7305 fix #320529 - clean up new_segment API and structure.
7306 Let's hope everyone was using the methods, and not the structure.
7308 2005-11-29 Edward Hervey <edward@fluendo.com>
7310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7311 (gst_base_sink_event), (gst_base_sink_do_sync),
7312 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7313 Properly handle non GST_FORMAT_TIME segment
7314 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7315 Properly handle non GST_FORMAT_TIME segment
7317 This function is valid if the accumulator is 0 and the format
7318 is different from the requested format.
7320 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7322 * docs/gst/gstreamer-sections.txt:
7323 Add gst_query_new_seeking and gst_query_parse_seeking to the
7326 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7328 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7329 Treat a pad alloc with new caps the same as if we were not
7330 negotiated, in order to allow a changing upstream output
7331 to produce a new format of data.
7333 2005-11-29 Edward Hervey <edward@fluendo.com>
7335 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7336 (gst_base_transform_event), (gst_base_transform_eventfunc):
7337 The event virtual method is now properly implemented, with a default
7339 Sub classes should call the parent_class event method. They should
7340 return FALSE if they had a problem handling the given event, or don't
7341 want GstBaseTransform to send that even downstream
7342 * gst/elements/gstidentity.c: (gst_identity_class_init),
7343 (gst_identity_init), (gst_identity_event),
7344 (gst_identity_transform_ip), (gst_identity_set_property),
7345 (gst_identity_get_property):
7346 * gst/elements/gstidentity.h:
7347 Added the single-segment boolean property.
7348 If set to TRUE, it will output a single segment of data, starting from
7349 0, will eat up all incoming newsegment, and modify the timestamp of the
7352 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7354 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7355 Don't ref NULL target pad (#322751). Improve docs.
7357 2005-11-29 Michael Smith <msmith@fluendo.com>
7359 * gst/gstregistryxml.c: (load_plugin):
7360 Don't crash if we failed to load a feature from a plugin.
7362 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7364 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7366 use more check API and less GLib API
7368 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7371 don't run checks if we don't have check
7373 remove the registry when running make torture
7374 * docs/gst/gstreamer-sections.txt:
7375 remove second multiply
7376 * gst/gstqueue.c: (gst_queue_loop):
7377 fix a compile warning when disabling debug
7379 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7382 Hey! Let's print the pad name if the pointer != NULL instead
7383 of when it == NULL :-)
7385 2005-11-28 Wim Taymans <wim@fluendo.com>
7387 * check/gst/gstutils.c: (GST_START_TEST):
7388 Updated check, add some scaling accuracy checking code.
7390 * gst/gstutils.c: (gst_util_div128_64),
7391 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7392 (gst_util_uint64_scale_int):
7393 Fix 6 times faster division code. Optimize for common
7394 1/1 and less common X/1 cases.
7396 2005-11-28 Wim Taymans <wim@fluendo.com>
7398 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7401 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7402 (do_linear_regression), (gst_clock_add_observation):
7404 Release lock when the clock cannot be slaved.
7405 Catch the case where the regression returned an invalid denominator.
7407 * gst/gstutils.c: (gst_util_div128_64_iterate),
7408 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7409 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7410 Add protentially more performant non-iterative 128/64 divide function
7411 that unfortunatly does not work yet.
7412 Shortcut the trivial 0/X = 0 case.
7413 Remove the warnings on overflow.
7415 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7417 * gst/gstplugin.c: (gst_plugin_register_func):
7418 everything causing a plugin not to load should be at least a WARNING
7420 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7422 * docs/random/ensonic/dparams.txt:
7423 some TODOs for the next dev cycle
7424 * libs/gst/controller/gstcontroller.c:
7425 (gst_controlled_property_set_interpolation_mode),
7426 (gst_controlled_property_new):
7427 * libs/gst/controller/gstcontroller.h:
7428 use base type to assign acccessor functions
7430 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7432 * check/Makefile.am:
7433 Oops, that should have been top_srcdir
7435 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7437 * check/Makefile.am:
7438 * check/elements/fdsrc.c: (GST_START_TEST):
7439 Use a cmdline define to specify the location of a file to use for
7440 testing, to avoid breaking distcheck.
7442 2005-11-28 Andy Wingo <wingo@pobox.com>
7444 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7446 2005-11-28 Edward Hervey <edward@fluendo.com>
7448 * tools/gst-launch.c: (main):
7449 Clarify the output strings, makes it easier to translate.
7452 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7455 don't try and build net if we don't even have <sys/socket.h>
7457 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7459 * check/Makefile.am:
7460 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7461 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7462 Add tests for fdsrc seekability
7464 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7465 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7466 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7467 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7468 * gst/elements/gstfdsrc.h:
7469 fdsrc should not be a 'live' source.
7470 Implement seeking on seekable fd's.
7472 * gst/gstquery.c: (gst_query_new_seeking),
7473 (gst_query_parse_seeking):
7475 Implement SEEKING query functions:
7476 *_new_seeking and *_parse_seeking
7478 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7480 * gst/gstelement.c: (gst_element_dispose):
7483 * gst/gstiterator.c:
7484 * gst/gststructure.c:
7487 * libs/gst/controller/gstcontroller.c:
7488 (gst_controlled_property_set_interpolation_mode):
7489 * libs/gst/controller/gstcontroller.h:
7490 * libs/gst/controller/gstinterpolation.c:
7491 (interpolate_none_get_enum_value_array):
7492 support controlling enums
7494 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7497 Improve documentation for gst_value_union().
7500 Change return value for union, intersect and subtract functions
7501 from gint to gboolean.
7503 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7505 * gst/gstvalue.c: (gst_value_serialize_any_list),
7506 (gst_value_transform_any_list_string),
7507 (gst_value_deserialize_list), (gst_value_deserialize_array),
7508 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7509 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7510 (gst_value_set_fraction_range_full),
7511 (gst_value_deserialize_fraction_range),
7512 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7513 (gst_value_deserialize_boolean),
7514 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7515 (gst_value_serialize_float), (gst_value_deserialize_float),
7516 (gst_string_wrap), (gst_value_deserialize_string),
7517 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7518 (gst_value_union_int_range_int_range),
7519 (gst_value_intersect_int_range_int_range),
7520 (gst_value_intersect_double_range_double_range),
7521 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7522 (gst_value_subtract_int_range_int_range),
7523 (gst_value_subtract_double_double_range),
7524 (gst_value_subtract_double_range_double_range),
7525 (gst_value_deserialize_fraction):
7527 Use gint, gdouble and gchar in our API instead of int, double and
7528 char (and make usage in gstvalue.c more consistent).
7530 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7532 * check/Makefile.am:
7533 * libs/gst/controller/Makefile.am:
7534 * libs/gst/dataprotocol/Makefile.am:
7535 fix up Makefile.am and remove GST_ENABLE_NEW
7537 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7541 * gst/base/Makefile.am:
7542 * gst/check/Makefile.am:
7543 * gst/elements/Makefile.am:
7544 * gst/net/Makefile.am:
7545 update LDFLAGS use some more
7547 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7549 * common/m4/gst-doc.m4:
7552 2005-11-26 Edward Hervey <edward@fluendo.com>
7554 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7555 This shouldn't issue a g_warning since it returns NULL if it
7556 couldn't find the plugin, and all functions using this behave
7557 properly on a NULL return. Switching to a GST_WARNING.
7559 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7561 * gst/gstbin.c: (gst_bin_handle_message_func):
7562 Don't leak clock messages.
7564 2005-11-25 Wim Taymans <wim@fluendo.com>
7566 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7567 (gst_util_uint64_scale_int):
7568 Optimisations, remove unneeded vars.
7570 2005-11-25 Wim Taymans <wim@fluendo.com>
7572 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7573 Added more checks for the high precision uint64 cases.
7575 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7576 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7577 Implement high precision (guint64 * guint64) / guint64.
7579 2005-11-24 Wim Taymans <wim@fluendo.com>
7581 * gst/base/gstbasesrc.c: (gst_base_src_query):
7582 Fix wrong percentage query.
7584 * gst/gstutils.c: (gst_util_uint64_scale),
7585 (gst_util_uint64_scale_int):
7586 Add some more common cases that can be handled
7587 efficiently to _scale.
7589 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7591 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7592 (gst_mini_object_suite):
7593 don't use check calls from threads; check probably isn't
7594 threadsafe and using a lock to make it threadsafe would
7595 defeat the purpose of this check
7596 * gst/check/gstcheck.c:
7597 * gst/check/gstcheck.h:
7598 use GST_DEBUG some more
7600 2005-11-24 Wim Taymans <wim@fluendo.com>
7602 * gst/gstutils.c: (gst_util_uint64_scale),
7603 (gst_util_uint64_scale_int):
7604 Chain trivial case to _scale_int.
7606 2005-11-24 Wim Taymans <wim@fluendo.com>
7608 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7609 Added test for scaling.
7614 * gst/gstutils.c: (gst_util_uint64_scale_int):
7615 Implemented high precision scaling code.
7617 2005-11-24 Stefan Kost <ensonic@users.sf.net>
7620 do not crash on pad==NULL
7622 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7624 Patch by: Stefan Kost
7626 * common/gtk-doc.mak:
7627 * docs/gst/Makefile.am:
7628 * docs/libs/Makefile.am:
7629 Fix distcheck issues for the libraries docs build
7632 2005-11-24 Michael Smith <msmith@fluendo.com>
7634 * docs/manual/basics-helloworld.xml:
7635 Fix bug #315027: memory leak in example code in docs.
7637 2005-11-24 Michael Smith <msmith@fluendo.com>
7639 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7640 Unlock the PREROLL_LOCK in a failure case.
7642 2005-11-24 Wim Taymans <wim@fluendo.com>
7644 * docs/gst/gstreamer-sections.txt:
7645 * gst/base/gstadapter.h:
7646 * gst/base/gstbasesink.h:
7647 * gst/base/gstbasesrc.h:
7648 * gst/base/gstbasetransform.h:
7649 * gst/base/gstpushsrc.h:
7650 * gst/elements/gstfakesink.h:
7651 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7652 * gst/elements/gstfakesrc.h:
7653 * gst/elements/gstfilesink.h:
7654 * gst/elements/gstfilesrc.h:
7657 * gst/gstbuffer.c: (_gst_buffer_copy):
7660 * gst/gstchildproxy.c:
7663 * gst/gstelementfactory.c:
7664 * gst/gstelementfactory.h:
7666 * gst/gstghostpad.h:
7668 * gst/gstinterface.h:
7669 * gst/gstminiobject.c:
7670 * gst/gstminiobject.h:
7673 * gst/gstpadtemplate.h:
7674 * gst/gstpipeline.h:
7675 * gst/gstpluginfeature.h:
7680 * gst/gsttagsetter.c:
7681 * gst/gsttagsetter.h:
7684 * gst/gsttypefind.h:
7687 * gst/net/gstnetclientclock.c:
7688 * gst/net/gstnetclientclock.h:
7689 * gst/net/gstnettimepacket.c:
7690 * gst/net/gstnettimeprovider.c:
7691 * gst/net/gstnettimeprovider.h:
7694 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7696 * configure.ac: back to HEAD
7698 === release 0.9.6 ===
7700 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7703 releasing 0.9.6, "Always On Time"
7705 2005-11-23 Wim Taymans <wim@fluendo.com>
7707 * docs/gst/gstreamer-sections.txt:
7708 * gst/glib-compat.c:
7709 * gst/gsttagsetter.c:
7711 * gst/net/gstnetclientclock.c:
7712 * gst/net/gstnettimepacket.h:
7715 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7717 * docs/faq/using.xml:
7718 * docs/libs/tmpl/gstcontrol.sgml:
7719 * docs/manual/advanced-dparams.xml:
7720 * docs/manual/appendix-checklist.xml:
7721 * docs/manual/basics-elements.xml:
7722 * docs/pwg/other-source.xml:
7723 * docs/random/moving-plugins:
7725 * tools/gst-launch.1.in:
7726 remove mentions of sinesrc
7728 2005-11-23 Michael Smith <msmith@fluendo.com>
7730 * docs/gst/gstreamer-sections.txt:
7731 Update for new API and API changes.
7733 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7735 Documentation typo fix.
7736 * gst/net/gstnettimepacket.c:
7737 Documentation fixes for arguments.
7739 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
7741 * gst/gststructure.c: (gst_structure_get_fraction),
7742 (gst_structure_parse_value),
7743 (gst_structure_fixate_field_nearest_fraction):
7744 * gst/gststructure.h:
7745 * gst/gstutils.c: (gst_util_uint64_scale_int):
7747 * scripts/update-funcnames:
7749 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7750 Make gst_structure_fixate_field_nearest_fraction take a numerator
7751 and denominator argument instead of a GValue
7752 add gst_structure_get_fraction helper function.
7754 2005-11-23 Wim Taymans <wim@fluendo.com>
7756 * docs/design/part-TODO.txt:
7759 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7760 * gst/net/gstnetclientclock.h:
7761 Use parent fields for timeout and window_size.
7763 2005-11-23 Andy Wingo <wingo@pobox.com>
7765 * check/net/gstnetclientclock.c (test_functioning): Adjust to
7766 rate_num/rate_denom change.
7768 * gst/net/gstnetclientclock.c
7769 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7770 OBJECT_LOCK. Don't call add_observation with the lock.
7772 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7774 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7776 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7777 deal with rate as a fraction whose numerator and denominator are
7778 GstClockTime values.
7779 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7780 master; the other fields are protected by the SLAVE_LOCK.
7781 (do_linear_regression): Note that this must be called with the
7783 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7784 OBJECT_LOCK. Call set_calibration instead of touching the
7786 (gst_clock_set_property, gst_clock_get_property): Protect
7787 master/slave parameters with the SLAVE_LOCK.
7789 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7790 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7791 note that all of the instance variables that add_observation and
7792 the set_master functions use are protected by that lock and not
7794 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7796 * gst/gstclock.c (gst_clock_add_observation): No longer requires
7797 the caller to take the object lock.
7799 2005-11-23 Wim Taymans <wim@fluendo.com>
7801 * gst/gsterror.c: (_gst_core_errors_init):
7803 Add error for clock stuff.
7805 * gst/gstpipeline.c: (gst_pipeline_change_state),
7806 (gst_pipeline_set_clock):
7807 Post clock error when clock cannot be used in a pipeline.
7809 2005-11-23 Stefan Kost <ensonic@users.sf.net>
7811 * docs/gst/gstreamer-sections.txt:
7812 make two symbols from gstinfo private for the docs
7813 * gst/base/gstcollectpads.h:
7815 fix doc typos, update docs
7817 2005-11-22 Wim Taymans <wim@fluendo.com>
7819 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7820 (gst_base_sink_wait), (gst_base_sink_do_sync),
7821 (gst_base_sink_handle_event):
7822 * gst/base/gstbasesink.h:
7823 No need to store the clock, the parent element class already
7826 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7827 Updates for clock_set returning a gboolean
7829 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7830 (gst_clock_id_wait_async), (gst_clock_class_init),
7831 (gst_clock_init), (gst_clock_finalize),
7832 (gst_clock_get_internal_time), (gst_clock_get_time),
7833 (gst_clock_slave_callback), (gst_clock_set_master),
7834 (gst_clock_get_master), (do_linear_regression),
7835 (gst_clock_add_observation), (gst_clock_set_property),
7836 (gst_clock_get_property):
7838 Implement master/slave. When setting a clock as a slave, a
7839 periodic timeout is scheduled to sample master and slave times.
7840 Then the slave clock is recalibrated to match offset and rate
7841 of the master clock.
7842 Update logging a bit.
7843 Add flag so that a clock can state that is cannot be slaved to
7846 * gst/gstelement.c: (gst_element_set_clock):
7848 The set clock returns a gboolean for when an element cannot
7849 deal with the selected clock in the pipeline.
7851 * gst/gstpipeline.c: (gst_pipeline_change_state),
7852 (gst_pipeline_set_clock):
7853 * gst/gstpipeline.h:
7854 Handle the case where the selected clock cannot be set on
7857 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7858 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7859 (gst_net_client_clock_set_property),
7860 (gst_net_client_clock_get_property),
7861 (gst_net_client_clock_observe_times):
7862 * gst/net/gstnetclientclock.h:
7863 Use regression code in GstClock parent, remove duplicated
7866 2005-11-22 Michael Smith <msmith@fluendo.com>
7868 * gst/gstutils.c: (gst_util_clock_time_scale):
7870 * docs/gst/gstreamer-sections.txt:
7871 Rename method to have extra underscore.
7873 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
7875 * gst/elements/Makefile.am:
7876 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7877 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7878 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7879 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7880 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7881 * gst/elements/gstfakesrc.h:
7882 * gst/gstqueue.c: (queue_leaky_get_type):
7883 correctly fix GEnumValues so that nick is the short lowercase
7885 * tools/gst-inspect.c: (print_element_properties_info):
7886 also show the nick, since it's useful to use from parse_launch
7890 2005-11-22 Michael Smith <msmith@fluendo.com>
7892 * gst/gstutils.c: (gst_util_clocktime_scale):
7894 * docs/gst/gstreamer-sections.txt:
7895 Add util method for scaling a clocktime by a fraction. Useful
7896 implementation is left as an exercise for the reader.
7898 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7900 * gst/gstvalue.c: (gst_value_collect_fraction_range):
7901 If needed, allocate storage in the destination value during
7904 2005-11-22 Edward Hervey <edward@fluendo.com>
7906 * docs/gst/gstreamer-sections.txt:
7911 * gst/gstutils.c: (gst_util_set_object_arg):
7912 * tools/gst-compprep.c: (main):
7913 * tools/gst-inspect.c: (print_element_properties_info):
7914 Removed GstURI, closes bug #321061
7916 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7918 * check/gst/gststructure.c: (GST_START_TEST):
7919 * gst/gststructure.c: (gst_structure_parse_value):
7920 Oops, broke automatic string type parsing.
7921 Add a test to catch it in future.
7923 2005-11-22 Andy Wingo <wingo@pobox.com>
7925 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
7926 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
7927 Actually rename the function implementations. Grr.
7929 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7931 * check/gst/capslist.h:
7933 * check/gst/gststructure.c: (GST_START_TEST),
7934 (gst_structure_suite):
7935 Test automatic value type detection in gst_structure_from_string.
7936 * gst/gststructure.c: (gst_structure_parse_value):
7937 Add fraction as a type we try and guess automatically in
7938 caps/structure strings.
7940 2005-11-22 Andy Wingo <wingo@pobox.com>
7942 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
7944 * gst/gsttagsetter.h:
7945 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
7946 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
7947 (gst_tag_setter_add_tag_valist)
7948 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
7949 _add_values, _add_valist, and _add_valist_values. Since this is an
7950 interface the function suffixes should be more explicit so
7951 language binding don't end up with element.add_valist ->
7952 gst_tag_setter_add_valist, for example. Fixes #322069.
7954 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7956 * check/gst/gstcaps.c: (GST_START_TEST):
7957 Extend caps string tests to check that a caps to string
7958 conversion is reversible and produces the same caps.
7960 * gst/gststructure.c: (gst_structure_value_get_generic_type):
7961 Output "fraction" as the generic type fraction range, so caps
7962 serialisation and deserialisation works.
7963 * check/gst/capslist.h:
7964 * gst/gstvalue.c: (gst_value_deserialize_fraction):
7965 Support 'MIN' and 'MAX' for deserialising fractions.
7967 2005-11-22 Andy Wingo <wingo@pobox.com>
7969 * gst/gstevent.h (gst_event_new_new_segment)
7970 (gst_event_parse_new_segment, gst_event_new_buffer_size)
7971 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
7972 Renamed from *_newsegment, *_buffersize, *_notarget.
7974 * scripts/update-funcnames: New script, performs the changes
7977 2005-11-22 Wim Taymans <wim@fluendo.com>
7979 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7980 Make sure the GstFlowReturn is returned.
7982 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
7983 (gst_bus_add_signal_watch):
7985 add gst_bus_add_signal_watch_full.
7987 * gst/gstplugin.c: (gst_plugin_load_file):
7988 Small style cleanup.
7990 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7992 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
7993 Block the fakesrc srcpad when we send an event, to avoid
7994 contention on the stream_lock causing random test failures.
7996 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7998 * check/gst/gstvalue.c: (GST_START_TEST):
7999 * gst/gstvalue.c: (gst_value_fraction_subtract):
8002 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8005 include "gstchildproxy.h"
8006 * gst/gstchildproxy.h:
8007 * libs/gst/controller/gstcontroller.h:
8008 use G_GNUC_NULL_TERMINATED
8010 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8012 * check/gst/capslist.h:
8013 * check/gst/gstcaps.c: (GST_START_TEST):
8014 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8015 * gst/gststructure.c: (gst_structure_parse_range),
8016 (gst_structure_fixate_field_nearest_fraction):
8017 * gst/gststructure.h:
8018 * gst/gstvalue.c: (gst_value_init_fraction_range),
8019 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8020 (gst_value_collect_fraction_range),
8021 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8022 (gst_value_set_fraction_range_full),
8023 (gst_value_get_fraction_range_min),
8024 (gst_value_get_fraction_range_max),
8025 (gst_value_serialize_fraction_range),
8026 (gst_value_transform_fraction_range_string),
8027 (gst_value_compare_fraction_range),
8028 (gst_value_deserialize_fraction_range),
8029 (gst_value_intersect_fraction_fraction_range),
8030 (gst_value_intersect_fraction_range_fraction_range),
8031 (gst_value_subtract_fraction_fraction_range),
8032 (gst_value_subtract_fraction_range_fraction),
8033 (gst_value_subtract_fraction_range_fraction_range),
8034 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8035 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8036 (gst_value_transform_string_fraction), (_gst_value_initialize):
8038 Implement fraction ranges and extend GstFraction to support
8039 arithmetic subtraction, as well as deserialization from integer
8040 strings such as "100"
8041 Add a testsuite as for int and double range set operations
8043 2005-11-21 Andy Wingo <wingo@pobox.com>
8047 * gst/gststructure.h: Add glib-compat.h.
8049 2005-11-21 Wim Taymans <wim@fluendo.com>
8051 * gst/gstbin.c: (gst_bin_change_state_func):
8054 2005-11-21 Wim Taymans <wim@fluendo.com>
8057 And add a nice define too.
8059 2005-11-21 Wim Taymans <wim@fluendo.com>
8061 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8062 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8063 (gst_segment_set_duration), (gst_segment_set_last_stop),
8064 (gst_segment_set_seek), (gst_segment_set_newsegment),
8065 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8068 Make binding friendly.
8070 2005-11-21 Andy Wingo <wingo@pobox.com>
8072 * gst/gsttagsetter.h:
8074 * gst/gststructure.h:
8076 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8079 * gst/gsterror.c (_gst_core_errors_init):
8080 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8083 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8084 (noinst_HEADERS): noinst the -private.
8086 2005-11-21 Michael Smith <msmith@fluendo.com>
8089 * gst/gstregistry.h:
8090 Remove unimplemented declarations for which we can see no sensible
8093 2005-11-21 Andy Wingo <wingo@pobox.com>
8095 * gst/gst.h: Include glib-compat.h.
8097 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8099 * gst/glib-compat.c: Include the public and the private header.
8101 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8105 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8107 * check/gst/gstevent.c (create_custom_events): Check that
8108 FLUSH_STOP is serialized.
8110 * check/elements/identity.c (event_func):
8111 * check/elements/fakesrc.c (event_func): No stream lock, the core
8114 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8115 stream lock taking, yay.
8117 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8118 ensure that core takes the stream lock.
8120 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8123 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8124 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8125 it already. For the flush start we do take it though so we get the
8126 right preroll state change messages.
8128 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8129 the stream lock here, the core does it for us.
8131 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8132 GST_STREAM_GET_LOCK.
8133 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8134 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8135 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8136 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8137 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8138 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8140 * gst/gstpad.c: Update for stream lock name change.
8142 * gst/base/gstbasesink.c: Update for preroll lock name change.
8144 2005-11-21 Wim Taymans <wim@fluendo.com>
8146 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8147 (gst_clock_get_master):
8149 * gst/gstsystemclock.c: (gst_system_clock_init):
8150 Convert Clock flags to object flags.
8151 Added methods to manage master/slave clocks.
8153 2005-11-21 Wim Taymans <wim@fluendo.com>
8155 * check/gst/gstsegment.c: (GST_START_TEST):
8156 * docs/design/part-TODO.txt:
8157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8158 (gst_base_sink_event), (gst_base_sink_do_sync),
8159 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8160 (gst_base_sink_query), (gst_base_sink_change_state):
8161 * gst/base/gstbasesink.h:
8162 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8163 (gst_base_src_default_newsegment),
8164 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8165 (gst_base_src_get_range), (gst_base_src_loop),
8166 (gst_base_src_change_state):
8167 * gst/base/gstbasesrc.h:
8168 * gst/base/gstbasetransform.c:
8169 (gst_base_transform_prepare_output_buf),
8170 (gst_base_transform_event), (gst_base_transform_change_state):
8171 * gst/base/gstbasetransform.h:
8172 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8173 (gst_collect_pads_event):
8174 * gst/base/gstcollectpads.h:
8175 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8176 (gst_fake_src_create):
8177 * gst/elements/gstfakesrc.h:
8178 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8179 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8180 (gst_segment_set_last_stop), (gst_segment_set_seek),
8181 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8182 (gst_segment_to_running_time), (gst_segment_clip):
8184 More segment updates, replace code in plugins with segment
8187 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8189 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8190 Don't ignore sscanf results
8192 2005-11-21 Andy Wingo <wingo@pobox.com>
8194 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8197 * *.c: Ran scripts/update-macros. Oh yes.
8199 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8200 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8203 * scripts/update-macros: New script. Run it on your files to
8204 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8207 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8209 * docs/gst/Makefile.am:
8210 * docs/gst/gstreamer-docs.sgml:
8211 * docs/gst/gstreamer-sections.txt:
8212 * docs/gst/gstreamer.types:
8214 more docs fixes, add new api to the docs
8216 2005-11-21 Andy Wingo <wingo@pobox.com>
8218 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8219 state_broadcast call.
8221 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8223 2005-11-21 Julien MOUTTE <julien@moutte.net>
8225 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8226 function calls for arrays.
8228 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8230 * docs/random/ensonic/media-device-daemon.txt:
8231 wild idea, can this be done?
8232 * docs/gst/gstreamer-sections.txt:
8237 * gst/gstpluginfeature.c:
8241 doc fixes and additions
8243 2005-11-21 Andy Wingo <wingo@pobox.com>
8245 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8246 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8247 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8248 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8249 private to the basesrc implementation.
8251 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8252 behalf of event function if necessary. It should no longer be
8253 necessary to take the stream lock in pad's event functions. Fixes
8256 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8257 * docs/gst/gstreamer-sections.txt:
8258 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8259 (gst_structure_fixate_field_nearest_double),
8260 (gst_structure_fixate_field_boolean):
8261 * gst/gststructure.h:
8262 * win32/common/libgstreamer.def:
8263 * win32/gstreamer.def:
8265 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8268 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8270 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8271 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8272 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8273 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8274 (gst_fdsrc_uri_handler_init):
8275 * gst/elements/gstfdsrc.h:
8276 Port fd:// URI handler from 0.8 to fdsrc
8278 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8280 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8281 (gst_value_serialize_fourcc):
8283 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8284 consistent with our other format defines (#320324).
8286 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8288 * gst/gstvalue.c: (gst_value_is_fixed):
8289 Revert previous commit. Value lists are by definition
8290 not fixed, as they are a list of possible values.
8292 2005-11-21 Andy Wingo <wingo@pobox.com>
8294 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8295 during the stable series if we need it. Fixes #319178.
8297 * gst/gstevent.c (gst_event_new_filler): Removed.
8299 * check/gst/gstevent.c: Update comment about filler events.
8301 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8303 * gst/gstvalue.c: (gst_value_is_fixed):
8304 Should handle both value arrays and value lists.
8306 2005-11-21 Andy Wingo <wingo@pobox.com>
8308 patch by: Alessandro Dessina <alessandro nnva org>
8310 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8311 functions to access arrays. Fixes #321962.
8313 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8315 * docs/gst/gstreamer.types:
8316 gst_collectpads_get_type => gst_collect_pads_get_type.
8318 * gst/base/gstbasetransform.c:
8319 Remove unused SIGNAL_HANDOFF enum.
8321 2005-11-21 Andy Wingo <wingo@pobox.com>
8323 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8324 the event type (upstream, downstream, serialized). Renamed
8325 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8326 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8327 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8329 * gst/gstevent.c: Update for new CUSTOM event names.
8331 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8334 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8337 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8339 * docs/gst/gstreamer-sections.txt:
8340 * win32/common/libgstbase.def:
8341 * win32/libgstbase.def:
8342 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8343 (gst_collect_pads_class_init), (gst_collect_pads_init),
8344 (gst_collect_pads_finalize), (gst_collect_pads_new),
8345 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8346 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8347 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8348 (gst_collect_pads_start), (gst_collect_pads_stop),
8349 (gst_collect_pads_peek), (gst_collect_pads_pop),
8350 (gst_collect_pads_available), (gst_collect_pads_read),
8351 (gst_collect_pads_flush), (gst_collect_pads_event),
8352 (gst_collect_pads_chain):
8353 * gst/base/gstcollectpads.h:
8354 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8355 unimplemented functions as unimplemented. Add padding to
8356 GstCollectData. (#320766, #320423)
8358 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8361 Improve docs for DURATION message (usage of duration parameter)
8364 2005-11-20 Wim Taymans <wim@fluendo.com>
8366 * check/Makefile.am:
8367 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8371 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8372 (gst_segment_set_seek), (gst_segment_set_newsegment),
8373 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8376 Added segment helper structure and methods. Not fully implemented
8378 Added segment check.
8380 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8382 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8383 Add a deserialisation test for fractions
8384 * examples/metadata/read-metadata.c: (message_loop),
8385 (make_pipeline), (main):
8386 Fix up metadata reading sample.
8387 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8389 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8390 Don't try and fixate empty caps
8391 * gst/gst_private.h:
8392 Wrap in G_BEGIN_DECLS/G_END_DECLS
8393 * gst/gstvalue.c: (gst_value_collect_fraction),
8394 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8395 (gst_value_transform_string_fraction),
8396 (gst_value_compare_fraction):
8397 Add some extra guards to ensure that we don't end up
8398 with an invalid denominator of 0 in a gstfraction and
8399 that fractions always get reduced.
8401 2005-11-20 Wim Taymans <wim@fluendo.com>
8403 * docs/gst/gstreamer-sections.txt:
8414 2005-11-20 Wim Taymans <wim@fluendo.com>
8416 * docs/design/part-TODO.txt:
8418 Make a proper enum of the flag.
8420 2005-11-19 Wim Taymans <wim@fluendo.com>
8422 * docs/design/part-TODO.txt:
8423 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8424 (gst_format_to_quark), (gst_format_register):
8426 * gst/gstquery.c: (_gst_query_initialize),
8427 (gst_query_type_get_name), (gst_query_type_to_quark),
8428 (gst_query_type_register):
8430 Add type to quark and type to string conversions.
8432 2005-11-19 Andy Wingo <wingo@pobox.com>
8434 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8437 2005-11-19 Wim Taymans <wim@fluendo.com>
8439 * docs/design/part-TODO.txt:
8440 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8441 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8442 (gst_bin_handle_message_func):
8444 Make message handling overridable.
8446 2005-11-19 Andy Wingo <wingo@pobox.com>
8448 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8451 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8453 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8454 is a GstClockTime. Fixes #321710.
8456 * gst/gstclock.h (GstClock): Remove offset property. Add
8457 internal_calibration and external_calibration. Fix padding. Pad
8458 also by GstClockTime so we don't run into problems.
8460 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8461 (gst_clock_get_rate_offset): Remove.
8462 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8465 * gst/gstutils.c (g_static_rec_cond_wait)
8466 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8468 * gst/gstbin.c: Remove terrible continue_state prototype.
8470 * gst/gstelement.h (gst_element_continue_state): Make public.
8473 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8474 by continue_state. Fixes #319389.
8476 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8477 Really fixes #168438. However I don't see anywhere where the
8478 filter function is called... stupid GStreamer...
8480 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8481 don't have a dispose function, so it won't get called when the
8482 object is unreffed, but oh well!
8484 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8485 allows a destroy function to be set so user_data can be freed.
8487 (gst_index_set_filter): Call gst_index_set_filter_full.
8489 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8491 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8492 string should produce an error, given the lack of a way to
8493 represent NULL strings. Fixes #165650.
8496 * gst/gstvalue.c (gst_value_array_append_value)
8497 (gst_value_array_prepend_value, gst_value_array_get_size)
8498 (gst_value_array_get_value): New API, copied from
8499 gst_value_list_*, only operates on arrays.
8500 (gst_value_list_append_value, gst_value_list_prepend_value)
8501 (gst_value_list_concat, gst_value_list_get_size)
8502 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8504 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8505 init_list, because it works on both.
8506 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8507 (gst_value_copy_list_or_array): Renamed from copy_list.
8508 (gst_value_free_list_or_array): Renamed from free_list.
8509 (gst_value_collect_list_or_array): Renamed from collect_list.
8510 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8511 (gst_value_list_or_array_peek_pointer): Renamed from
8513 (_gst_value_array_value_table, _gst_value_list_value_table):
8514 Update value table functions.
8515 (gst_value_compare_list_or_array): Renamed from compare_list.
8517 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8521 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8522 GstTagList*. Fixes #143472.
8524 * gst/gststructure.h: Clarify what the foreach/map functions can
8525 or can't do to their arguments.
8527 2005-11-18 Wim Taymans <wim@fluendo.com>
8529 * gst/gstclock.c: (gst_clock_set_calibration),
8530 (gst_clock_get_calibration):
8532 Calibration can be set with internal time equal to current
8535 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8541 2005-11-18 Andy Wingo <wingo@pobox.com>
8544 * pkgconfig/gstreamer-net.pc.in:
8545 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8546 * pkgconfig/Makefile.am: Add net pkgconfig files.
8548 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8551 * gst/gstghostpad.c:
8557 2005-11-18 Andy Wingo <wingo@pobox.com>
8559 * gst/net/gstnetclientclock.c: Turn off debugging.
8561 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8562 times connverge somewhat. Can't make a real test.
8564 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8565 integer arithmetic. Return the minimum of the domain, which can be
8566 set as "internal" for gst_clock_set_calibration.
8567 (gst_net_client_clock_observe_times): Call _set_calibration.
8568 (gst_net_client_clock_new): Call _set_calibration instead of
8571 * check/net/gstnetclientclock.c (test_functioning): Use the right
8575 * gst/gstclock.c (gst_clock_get_calibration)
8576 (gst_clock_set_calibration): New functions, obsolete the ones I
8577 added yesterday. Doh. Precision issues mean we have to extrapolate
8578 from a point in the more recent past than 1970.
8579 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8581 (gst_clock_adjust_unlocked): Use the right calibration data.
8583 2005-11-18 Edward Hervey <edward@fluendo.com>
8585 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8586 Also reset the ->current_* values in READY->PAUSED
8588 2005-11-18 Andy Wingo <wingo@pobox.com>
8590 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8591 Whoops, check the right fd. Also add some debugging.
8592 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8593 (do_linear_regression): Add a crapload of debugging. Subtract off
8594 the minimum values from the input series to discard unneeded bits.
8595 Use only int arithmetic. There is still double arithmetic when
8596 calculating the intercept that needs fixing. Return boolean to
8597 indicate success; FALSE would mean the domain or range is too
8598 great. Still needs fixes.
8600 2005-11-18 Wim Taymans <wim@fluendo.com>
8602 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8603 For the current position in stream time, we need to subtract
8606 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8607 Release lock before calling the callback function of async
8610 2005-11-18 Andy Wingo <wingo@pobox.com>
8612 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8613 Port goes all the way to MAXUINT16.
8615 * gst/net/gstnettimeprovider.c: Make the port range the same as
8616 for the kernel: 0 assigns, otherwise ports are less than
8619 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8622 * check/net/gstnetclientclock.c (test_functioning): Add the start
8625 2005-11-18 Wim Taymans <wim@fluendo.com>
8627 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8628 (gst_bin_remove_func), (bin_bus_handler):
8630 Removing a clock provider from a bin, triggers a clock lost message
8631 so that a new clock will be selected.
8632 Adding a clock to a bin triggers a clock provider message.
8633 Make sure we reselect a clock when we received a clock lost message.
8634 Keep a reference to the element that provided the clock.
8636 2005-11-18 Andy Wingo <wingo@pobox.com>
8638 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8639 the clock initially so it produces values around the base time.
8640 (gst_net_client_clock_class_init): Typo fix.
8641 (gst_net_client_clock_thread): Add note on when the socket gets
8644 2005-11-17 Wim Taymans <wim@fluendo.com>
8646 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8647 Free remote and local time arrays.
8649 2005-11-17 Wim Taymans <wim@fluendo.com>
8651 * gst/net/gstnetclientclock.c: (do_linear_regression),
8652 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8653 Fix compilation, uninitialized vars and a forgotten continue.
8655 2005-11-17 Andy Wingo <wingo@pobox.com>
8657 * check/Makefile.am (check_PROGRAMS):
8658 * check/net/gstnetclientclock.c: Add a most minimal test for the
8659 net client clock. More to come later.
8662 * gst/net/Makefile.am: Add netclientclock.
8664 * gst/net/gstnetclientclock.h:
8665 * gst/net/gstnetclientclock.c: New files, implement an untested
8666 GstClock that takes its time from a network time provider.
8667 Implements the algorithm in network-clock.scm.
8669 * tests/network-clock.scm (*window-size*): Rename from
8671 * tests/network-clock.scm (network-time):
8672 * tests/network-clock-utils.scm (q-push): Update callers.
8674 2005-11-17 Wim Taymans <wim@fluendo.com>
8676 * gst/gstbin.c: (gst_bin_provide_clock_func),
8677 (gst_bin_sort_iterator_new):
8678 And unref the child too..
8680 2005-11-17 Wim Taymans <wim@fluendo.com>
8682 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8683 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8684 Refactor the sort iterator so it can be used while holding the
8686 Make clock selection select a clock closest to the source.
8688 2005-11-17 Michael Smith <msmith@fluendo.com>
8690 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8691 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8693 Anonymous structs are a gcc (and some other compilers) extension, so
8694 don't use them. Since this is only for ABI-compatibility, and our
8695 API/ABI freeze is over in a few days, this whole thing will only
8696 last a few days, so don't bother trying to think up a meaningful
8697 name for the struct.
8699 2005-11-17 Andy Wingo <wingo@pobox.com>
8701 * gst/gstclock.h (GstClock): Add rate and offset properties,
8702 preserving ABI stability. Add rate/offset accessors. Will file bug
8703 for the freeze break.
8705 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8706 and offset, trying to keep precision and avoiding
8708 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8709 functions. Make gst_clock_set_time_adjust obsolete.
8710 (gst_clock_set_time_adjust): Note that this function is obsolete.
8713 * gst/base/gstbasetransform.h: Make the ABI-stability hack
8714 greppable by using GST_PADDING-1+1.
8716 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
8718 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8720 * gst/gstmessage.c: (gst_message_parse_clock_lost):
8721 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8723 * gst/gstpadtemplate.h:
8724 * gst/gstpluginfeature.h:
8725 Don't use c++ style comments in headers (#321638).
8727 2005-11-16 Andy Wingo <wingo@pobox.com>
8729 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8732 * check/net/gstnettimeprovider.c: Check to see that the time
8733 provider actually provides times. Works, yo!
8735 2005-11-16 Wim Taymans <wim@fluendo.com>
8737 * check/Makefile.am:
8740 * check/elements/fakesrc.c: (GST_START_TEST):
8741 Set element to NULL before disposing it.
8743 2005-11-16 Andy Wingo <wingo@pobox.com>
8745 * gst/net/Makefile.am:
8747 * gst/net/gstnettimeprovider.c:
8748 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8749 provider, include it from gstnet.h, and add it to the build.
8751 * gst/net/gstnettimepacket.h:
8752 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8753 sending and receiving.
8755 2005-11-16 Wim Taymans <wim@fluendo.com>
8757 * check/Makefile.am:
8758 Enable valgrind check.
8760 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8761 (gst_fake_src_alloc_buffer):
8764 2005-11-16 Wim Taymans <wim@fluendo.com>
8766 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8767 Call parent finalize too.
8769 2005-11-16 Wim Taymans <wim@fluendo.com>
8771 * check/Makefile.am:
8772 Enable valgrind check that should work fine now.
8774 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8775 * gst/gstqueue.c: (gst_queue_init):
8776 Fix memleaks in pad allocation.
8778 2005-11-16 Andy Wingo <wingo@pobox.com>
8780 * gst/net/Makefile.am:
8781 * gst/net/gstnet.h: New part of core to hold network elements and
8782 objects. Put in core because it exposes API that applications want
8783 to use. The library is named libgstnet-tempname right now because
8784 of the existing libgstnet in gst-plugins-base. Solution is
8785 probably to rename the one in plugins-base; will file a bug for
8788 * gst/net/gstnettimeprovider.c:
8789 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8790 get_time call over the network.
8793 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8795 * check/Makefile.am:
8796 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8797 get additions shortly.
8799 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8801 * gst/gstpad.c: (gst_pad_new_from_static_template):
8803 add gst_pad_new_from_static_template functions
8804 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8805 (gst_check_setup_sink_pad):
8806 * gst/elements/gsttee.c: (gst_tee_init):
8809 2005-11-16 Wim Taymans <wim@fluendo.com>
8811 * gst/gstpad.c: (gst_pad_pause_task):
8812 Removed warning, it's not really an error either.
8814 2005-11-16 Wim Taymans <wim@fluendo.com>
8816 * gst/base/gstbasetransform.c:
8817 (gst_base_transform_prepare_output_buf),
8818 (gst_base_transform_event):
8819 Check if the caps are NULL, this can happen if the element
8820 is shutting down and the pad caps are set to NULL.
8822 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8824 * gst/elements/gsttee.c: (gst_tee_init):
8825 fix pad template leak in tee
8827 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8829 * gst/glib-compat.c: (g_value_dup_gst_object):
8830 * gst/glib-compat.h:
8831 * gst/gstpad.c: (gst_pad_set_property):
8832 use gst_object_ref when setting the pad template; this will
8833 trigger the pad template leaks on GLib 2.6 and the slaves
8835 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8837 * gst/glib-compat.c: (gst_flags_get_first_value):
8838 * gst/glib-compat.h:
8839 * gst/gstregistryxml.c:
8840 remove functions copied from GLib 2.6
8842 2005-11-16 Michael Smith <msmith@fluendo.com>
8845 Don't link against VALGRIND_LIBS. That was always the wrong thing to
8846 do, but only breaks with newer valgrind versions. We're not a
8847 valgrind tool, we have no link-time dependencies on libcoregrind.
8849 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8851 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8856 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8858 * gst/base/gstbasesrc.c: (gst_base_src_init):
8859 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8860 * gst/gstqueue.c: (gst_queue_init):
8861 * gst/gstregistryxml.c: (load_feature):
8862 Revert all these unrefs, they don't even pass make check !
8864 2005-11-15 Johan Dahlin <johan@gnome.org>
8866 * gst/base/gstbasesrc.c: (gst_base_src_init):
8867 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8868 * gst/gstqueue.c: (gst_queue_init):
8869 Free pad templates, fixes a couple of leaks.
8871 2005-11-15 Daniel Fischer <dan at f3c dot com>
8873 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8875 * gst/gstpad.c: (gst_pad_get_property):
8876 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8877 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8880 2005-11-15 Wim Taymans <wim@fluendo.com>
8885 2005-11-15 Andy Wingo <wingo@pobox.com>
8887 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8889 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8890 using GST_CLOCK_TIME_NONE to disable base time management.
8891 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8892 time if it was NONE before.
8893 (gst_pipeline_change_state): Only munge the base time if
8894 stream_time != GST_CLOCK_TIME_NONE.
8896 * check/gst/gstpipeline.c (test_base_time): Punt around the
8897 problem of the probe not being called, because that's not the
8898 issue I'm looking at. Add a check that setting stream_time to NONE
8899 disables base time management.
8901 2005-11-15 Wim Taymans <wim@fluendo.com>
8903 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8904 segment_stop == -1 at startup.
8906 * gst/base/gstbasetransform.c: (gst_base_transform_event),
8907 (gst_base_transform_change_state):
8908 Init segment values at start.
8910 2005-11-15 Wim Taymans <wim@fluendo.com>
8912 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8913 0 segment values are 0 in any format.
8915 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8916 * gst/base/gstbasetransform.h:
8917 Parse newsegment correctly in basetransform
8919 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8920 Sync to clock using updated segment values.
8922 2005-11-15 Andy Wingo <wingo@pobox.com>
8924 * check/gst/gstpipeline.c (test_base_time): Add check that the
8925 base time and stream time are reset correctly.
8927 2005-11-15 Wim Taymans <wim@fluendo.com>
8929 * docs/design/part-TODO.txt:
8930 Some more TODO items.
8932 2005-11-15 Andy Wingo <wingo@pobox.com>
8934 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
8935 error if the user selected "no clock" as the clocking method.
8937 * check/gst/gstpipeline.c (test_base_time): New test for buffer
8938 timestamps with live capture.
8940 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
8941 is 0 but we are a live source, timestamp the buffers using the
8944 2005-11-14 Stefan Kost <ensonic@users.sf.net>
8946 * docs/gst/gstreamer-sections.txt:
8948 * gst/gstghostpad.c:
8953 2005-11-14 Wim Taymans <wim@fluendo.com>
8956 add suppressions from Wim's Debian machine
8958 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
8961 add suppressions from Andy's AMD64 Ubuntu machine
8963 2005-11-14 Andy Wingo <wingo@pobox.com>
8965 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
8966 STATE_LOCK not necessary. Fixes #311489.
8968 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
8971 * gst/gstindex.c (gst_index_add_object): Note in the docs that
8972 this function is not implemented.
8974 2005-11-14 Julien MOUTTE <julien@moutte.net>
8976 * gst/base/gstbasetransform.c:
8977 (gst_base_transform_prepare_output_buf):
8978 Ref the source pad caps while we need them.
8981 2005-11-11 Wim Taymans <wim@fluendo.com>
8983 * docs/gst/gstreamer-sections.txt:
8984 Added some docs for GstCollectData.
8986 * gst/base/gstadapter.c:
8987 Some small code example fix.
8989 * gst/base/gstcollectpads.c:
8990 * gst/base/gstcollectpads.h:
8993 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
8995 * configure.ac: back to HEAD
8997 === release 0.9.5 ===
8999 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9002 releasing 0.9.5, "Bike Lunch Day"
9004 2005-11-11 Wim Taymans <wim@fluendo.com>
9006 * gst/gstbuffer.c: (_gst_buffer_copy):
9009 * gst/gstcaps.c: (gst_caps_is_equal):
9011 Make _is_equal fast in the trivial cases.
9013 * gst/gstminiobject.c:
9014 * gst/gstminiobject.h:
9015 More docs. Spifify .h file.
9020 2005-11-11 Wim Taymans <wim@fluendo.com>
9022 * gst/base/gstbasetransform.c:
9023 (gst_base_transform_prepare_output_buf),
9024 (gst_base_transform_handle_buffer):
9026 If we're processing a buffer and need to allocate an output
9027 buffer, we cannot accept a format change. If we did get a
9028 format change, we have to alloc a buffer ourselves of the
9031 2005-11-11 Wim Taymans <wim@fluendo.com>
9033 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9034 While checking the flag for reentrancy in the gstcaps function
9035 is nice to detect recursive invocations, it also makes it
9036 impossible to call getcaps from multiple threads, which must be
9037 possible. So, checking for recursive calls has to go.
9039 2005-11-11 Michael Smith <msmith@fluendo.com>
9041 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9042 Don't sync on buffers that fall partially outside our current
9043 segment. Prevents an assertion failure/abort playing some files.
9045 2005-11-10 Andy Wingo <wingo@pobox.com>
9047 * check/gst/gstbin.c (test_message_state_changed_children): Style
9050 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9051 gst_bus_poll with the signal watch. Ensures that poll and a signal
9052 watch see the same messages.
9054 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9055 a poll and a watch at the same time get the same messages.
9057 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9059 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9060 * gst/gstcaps.c: (gst_caps_intersect):
9061 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9062 and it's not needed.
9064 2005-11-10 Wim Taymans <wim@fluendo.com>
9066 * docs/design/part-TODO.txt:
9069 2005-11-10 Wim Taymans <wim@fluendo.com>
9071 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9072 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9073 (gst_base_src_do_sync), (gst_base_src_get_range):
9074 Implement clock sync in base class.
9076 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9078 patch by: Tim-Philipp Müller <tim at centricular dot net>
9080 * gst/gststructure.c: (gst_structure_parse_field),
9081 (gst_structure_from_string):
9082 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9083 so that gst_parse_launch() can deal with spaces in filtered link
9084 caps (fixes #164479)
9085 * check/gst/capslist.h:
9086 * check/gst/gststructure.c: (GST_START_TEST):
9087 add unit tests for this change
9089 2005-11-10 Wim Taymans <wim@fluendo.com>
9091 * docs/gst/gstreamer-sections.txt:
9094 Fix docs, move some STATE macros to private.
9096 2005-11-10 Wim Taymans <wim@fluendo.com>
9098 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9099 Added check for bug #317341
9103 Some more spiffifying.
9105 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9106 Call peer linkfunction if we are a source pad. Totally fixes
9110 Update docs, source pads should call the peer linkfunction
9111 so they can atomically perform the pad link.
9113 2005-11-09 Wim Taymans <wim@fluendo.com>
9117 Uber-spiffy-spiffify some more.
9119 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9121 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9122 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9123 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9124 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9125 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9126 * gst/gstpad.c: (gst_pad_init):
9127 Use GST_DEBUG_FUNCPTR() more extensively.
9129 2005-11-09 Wim Taymans <wim@fluendo.com>
9131 * gst/gstobject.c: (gst_object_class_init):
9133 Documentation fixes.
9135 2005-11-09 Edward Hervey <edward@fluendo.com>
9137 * gst/gsttypefindfactory.c:
9140 2005-11-09 Edward Hervey <edward@fluendo.com>
9142 * gst/base/gsttypefindhelper.c:
9143 * gst/gsttypefind.c:
9144 * gst/gsttypefind.h:
9147 2005-11-09 Wim Taymans <wim@fluendo.com>
9149 * gst/gstiterator.c:
9156 2005-11-09 Wim Taymans <wim@fluendo.com>
9162 2005-11-09 Wim Taymans <wim@fluendo.com>
9164 * docs/gst/gstreamer-sections.txt:
9165 Moved the message async delivery private lock and cond
9166 to the private section.
9172 2005-11-09 Edward Hervey <edward@fluendo.com>
9174 * docs/gst/gstreamer-sections.txt:
9177 Document GstURIHandler
9179 2005-11-09 Wim Taymans <wim@fluendo.com>
9181 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9182 (gst_iterator_find_custom):
9183 * gst/gstiterator.h:
9186 2005-11-09 Wim Taymans <wim@fluendo.com>
9189 Document another field.
9191 * gst/gststructure.c:
9192 * gst/gststructure.h:
9195 2005-11-09 Wim Taymans <wim@fluendo.com>
9200 2005-11-09 Wim Taymans <wim@fluendo.com>
9202 * docs/gst/gstreamer-sections.txt:
9203 Added some new macros.
9210 2005-11-09 Wim Taymans <wim@fluendo.com>
9212 * docs/design/part-TODO.txt:
9213 Some more items for the TODO
9219 2005-11-09 Andy Wingo <wingo@pobox.com>
9221 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9222 to work on something else now tho...
9224 * gst/base/gstadapter.c: More adapter docs.
9226 * gst/elements/gstfilesink.c (gst_file_sink_start)
9227 (gst_file_sink_stop): New functions, replace the state change
9229 (gst_file_sink_class_init): Hook up the start and stop functions.
9230 (gst_file_sink_base_init): Don't set the state change handler any
9231 more. It was a bit ugly too, being set from here...
9232 (gst_file_sink_get_property, gst_file_sink_set_property):
9234 (gst_file_sink_set_location): More robust check that doesn't call
9237 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9239 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9240 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9242 2005-11-08 Wim Taymans <wim@fluendo.com>
9244 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9245 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9246 (gst_base_sink_chain), (gst_base_sink_change_state):
9247 * gst/base/gstbasesink.h:
9248 * gst/base/gstbasesrc.h:
9251 Avoid excessive typechecking in macros.
9253 * gst/gstminiobject.c: (gst_mini_object_get_type),
9254 (gst_mini_object_init), (gst_mini_object_new),
9255 (gst_mini_object_free):
9256 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9257 (gst_object_finalize):
9258 Remove cruft code, optimize alloc_trace.
9260 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9262 * docs/faq/gst-uninstalled:
9263 fix up PS1 for systems that try to reset it
9265 2005-11-07 Wim Taymans <wim@fluendo.com>
9267 * gst/base/gstbasesrc.c: (gst_base_src_init),
9268 (gst_base_src_get_range):
9269 Set the segment_end to -1 initially. Fixed typefind.
9271 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9273 * gst/base/gstadapter.c:
9274 Debug category should be 'adapter', not 'GstAdapter'.
9276 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9277 (gst_collectpads_class_init), (gst_collectpads_init),
9278 (gst_collectpads_peek), (gst_collectpads_pop),
9279 (gst_collectpads_event), (gst_collectpads_chain):
9280 Add debug category and some debugging output. Use boilerplate
9281 macros. Remove some extraneous words from docs.
9283 2005-11-05 Andy Wingo <wingo@pobox.com>
9285 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9288 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9290 * docs/gst/gstreamer-sections.txt:
9293 * gst/gstminiobject.h:
9298 2005-11-04 Wim Taymans <wim@fluendo.com>
9300 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9301 Small update to stop at the configured segment_end
9304 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9306 * gst/gstregistry.c:
9307 * gst/gstregistry.h:
9310 2005-11-04 Edward Hervey <edward@fluendo.com>
9312 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9313 Check if we are doing a segment seek and have arrived at the
9314 end of that segment.
9316 2005-11-04 Wim Taymans <wim@fluendo.com>
9318 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9319 Don't leak a mutex unlock in case of an error.
9324 2005-11-04 Wim Taymans <wim@fluendo.com>
9326 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9328 Get the context to wake up only once.
9330 2005-11-03 Wim Taymans <wim@fluendo.com>
9332 * check/states/sinks.c: (GST_START_TEST):
9333 Uncomment fixed check.
9335 * docs/design/part-TODO.txt:
9338 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9339 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9340 (gst_base_sink_get_position):
9341 If we are going to PLAYING, post the right pending state
9342 when we post the intermediate paused message.
9344 * gst/gstelement.c: (gst_element_continue_state),
9345 (gst_element_set_state_func), (gst_element_change_state):
9346 Don't post state changes that were between the same state
9349 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9351 * docs/gst/gstreamer-sections.txt:
9354 * gst/gstminiobject.h:
9357 more docs and doc style fixes
9359 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9361 * docs/gst/gstreamer-sections.txt:
9363 * gst/gstminiobject.c:
9366 2005-11-03 Andy Wingo <wingo@pobox.com>
9368 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9369 state-changed messages actually have the right order and the right
9372 2005-11-03 Wim Taymans <wim@fluendo.com>
9374 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9375 Added some more checks. Specifically the case where NO_PREROLL
9376 elements are in the pipeline.
9378 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9379 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9380 (gst_base_sink_get_position):
9381 Post READY->PAUSED state change messages too.
9382 Fix bug where VOID was posted as pending state...
9384 * gst/gstbin.c: (gst_bin_recalc_state):
9385 use _element_continue_state() to continue the state change.
9387 * gst/gstelement.c: (gst_element_continue_state),
9388 (gst_element_commit_state), (gst_element_set_state_func),
9389 (gst_element_change_state), (gst_element_change_state_func):
9390 Lots of state change cleanups, assign the STATE_RETURN in
9391 a new continue_state() function that also propagates the
9392 last return value from a state change to the app.
9393 Update some debug statements with proper category.
9395 2005-11-03 Wim Taymans <wim@fluendo.com>
9397 * docs/design/part-events.txt:
9398 * docs/design/part-gstpipeline.txt:
9399 * docs/design/part-messages.txt:
9400 * docs/design/part-overview.txt:
9401 * docs/design/part-seeking.txt:
9402 * docs/design/part-states.txt:
9403 * docs/design/part-trickmodes.txt:
9404 * docs/manual/advanced-position.xml:
9408 People think !! is ugly, this looks better.
9410 * gst/gstpad.c: (gst_pad_set_blocked_async):
9411 Remove !! since it's fixed elsewhere now.
9413 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9415 * gst/gstminiobject.h:
9417 Add !! to _FLAG_IS_SET macros to make the result boolean.
9419 2005-11-03 Edward Hervey <edward@fluendo.com>
9421 * gst/gstpad.c: (gst_pad_set_blocked_async):
9422 comparing a flag and a gboolean rarely returns coherent results...
9423 Added two characters (!!) to make that work correctly.
9425 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9427 * gst/gstbus.c: (gst_bus_class_init):
9430 * gst/gstqueue.c: (gst_queue_loop):
9431 Don't assume a miniobject that isn't a buffer is an
9432 event (it could be that there is a refcounting
9433 problem somewhere and the pointer is stale and
9434 refers to an already destroyed miniobject).
9436 2005-11-03 Julien MOUTTE <julien@moutte.net>
9438 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9440 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9442 * docs/manual/advanced-position.xml:
9443 Update seek example and explanations to current 0.9 API.
9445 * gst/elements/gsttypefindelement.c:
9446 (gst_type_find_element_activate):
9447 Remove FIXME comment now that the found caps
9450 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9452 * gst/gstregistryxml.c: (load_feature):
9453 Add another GST_STR_NULL instance
9455 2005-11-02 Edward Hervey <edward@fluendo.com>
9457 * gst/gstpad.c: (handle_pad_block):
9458 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9460 2005-11-02 Wim Taymans <wim@fluendo.com>
9465 * gst/gstelement.c: (gst_element_commit_state):
9466 Remove unused value.
9468 * gst/gstiterator.c:
9469 Mention that the returned element is reffed in the docs.
9471 2005-11-02 Wim Taymans <wim@fluendo.com>
9473 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9474 (gst_pad_push), (gst_pad_push_event):
9475 Unlock blocked pads when they are flushed.
9477 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9480 * docs/gst/gstreamer-sections.txt:
9483 * gst/gstregistry.c: (gst_registry_scan_path_level):
9484 fix for a nasty little missed situation where an installed plug-in
9485 which was in the cache did not get overridden by an uninstalled one
9486 which was earlier in the plugin path because the newly created plugin
9487 for the uninstalled one (not in the registry) didn't get its
9488 ->registered set to TRUE
9490 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9492 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9493 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9494 (gst_collectpads_is_active), (gst_collectpads_collect),
9495 (gst_collectpads_collect_range), (gst_collectpads_start),
9496 (gst_collectpads_stop), (gst_collectpads_peek),
9497 (gst_collectpads_pop), (gst_collectpads_available),
9498 (gst_collectpads_read), (gst_collectpads_flush):
9499 Guard public API with assertions.
9502 Fix docs for gst_pad_set_link_function().
9504 2005-11-02 Johan Dahlin <johan@gnome.org>
9506 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9507 Unref found_caps after we used it.
9509 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9511 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9512 Don't try to ref NULL.
9514 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9516 * win32/common/config.h.in:
9517 provide a GST_FUNCTION that just gives a string for now
9519 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9521 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9522 (gst_object_flags_get_type), (register_gst_bin_flags),
9523 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9524 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9525 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9526 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9527 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9528 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9529 (gst_clock_flags_get_type), (register_gst_state),
9530 (gst_state_get_type), (register_gst_state_change_return),
9531 (gst_state_change_return_get_type), (register_gst_state_change),
9532 (gst_state_change_get_type), (register_gst_element_flags),
9533 (gst_element_flags_get_type), (register_gst_core_error),
9534 (gst_core_error_get_type), (register_gst_library_error),
9535 (gst_library_error_get_type), (register_gst_resource_error),
9536 (gst_resource_error_get_type), (register_gst_stream_error),
9537 (gst_stream_error_get_type), (register_gst_event_type),
9538 (gst_event_type_get_type), (register_gst_seek_type),
9539 (gst_seek_type_get_type), (register_gst_seek_flags),
9540 (gst_seek_flags_get_type), (register_gst_format),
9541 (gst_format_get_type), (register_gst_index_certainty),
9542 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9543 (gst_index_entry_type_get_type),
9544 (register_gst_index_lookup_method),
9545 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9546 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9547 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9548 (gst_index_flags_get_type), (register_gst_debug_level),
9549 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9550 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9551 (gst_iterator_result_get_type), (register_gst_iterator_item),
9552 (gst_iterator_item_get_type), (register_gst_message_type),
9553 (gst_message_type_get_type), (register_gst_mini_object_flags),
9554 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9555 (gst_pad_link_return_get_type), (register_gst_flow_return),
9556 (gst_flow_return_get_type), (register_gst_activate_mode),
9557 (gst_activate_mode_get_type), (register_gst_pad_direction),
9558 (gst_pad_direction_get_type), (register_gst_pad_flags),
9559 (gst_pad_flags_get_type), (register_gst_pad_presence),
9560 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9561 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9562 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9563 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9564 (gst_plugin_flags_get_type), (register_gst_rank),
9565 (gst_rank_get_type), (register_gst_query_type),
9566 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9567 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9568 (gst_tag_flag_get_type), (register_gst_task_state),
9569 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9570 (gst_alloc_trace_flags_get_type),
9571 (register_gst_type_find_probability),
9572 (gst_type_find_probability_get_type), (register_gst_uri_type),
9573 (gst_uri_type_get_type), (register_gst_parse_error),
9574 (gst_parse_error_get_type):
9575 * win32/common/gstversion.h:
9578 2005-11-01 Luca Ognibene <luogni@tin.it>
9581 fix docs. popt is dead, long live GOption.
9583 2005-10-31 Wim Taymans <wim@fluendo.com>
9588 2005-10-31 Andy Wingo <wingo@pobox.com>
9592 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9594 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9595 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9596 the possibility of deadlocks here if code calling notify() or
9597 set() has a lock that can be taken in another notify handler (ABBA
9598 with class lock and e.g. python GIL state lock).
9600 2005-10-28 Julien MOUTTE <julien@moutte.net>
9602 * gst/gstbus.c: Doc updates.
9604 2005-10-28 Wim Taymans <wim@fluendo.com>
9606 * docs/design/part-TODO.txt:
9607 * gst/gstiterator.c:
9608 * gst/gstsystemclock.c:
9609 * gst/gstsystemclock.h:
9612 2005-10-28 Edward Hervey <edward@fluendo.com>
9614 * docs/gst/gstreamer-docs.sgml:
9615 * docs/gst/gstreamer-sections.txt:
9616 the GstURIType documentation page is private, it only defines GstURIType
9617 which should be defined in the GstURIHandler page
9619 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
9621 * gst/gstbin.c: (gst_bin_class_init):
9624 Documentation updates.
9626 2005-10-28 Wim Taymans <wim@fluendo.com>
9628 * docs/gst/gstreamer-sections.txt:
9631 Documented the clocks.
9633 2005-10-28 Stefan Kost <ensonic@users.sf.net>
9635 * docs/gst/gstreamer-sections.txt:
9636 move some macros to private sections
9637 * gst/gstminiobject.c:
9638 * gst/gstminiobject.h:
9639 add descriptions provided by ds and some more
9641 mark macro as to be removed
9643 2005-10-28 Wim Taymans <wim@fluendo.com>
9645 * docs/design/part-TODO.txt:
9646 Add an item to TODO.
9648 * gst/gstiterator.c: (gst_iterator_fold),
9649 (gst_iterator_find_custom):
9650 * gst/gstiterator.h:
9653 2005-10-28 Wim Taymans <wim@fluendo.com>
9655 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9656 (gst_base_transform_init):
9659 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9660 An EOS event marks the queue as completely filled.
9662 2005-10-27 Wim Taymans <wim@fluendo.com>
9664 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9665 (gst_base_sink_do_sync), (gst_base_sink_get_position):
9666 Some more debugging.
9668 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9669 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9670 (gst_base_transform_event), (gst_base_transform_getrange),
9671 (gst_base_transform_chain):
9672 * gst/base/gstbasetransform.h:
9674 Protect transform and concurrent buffer alloc with a new lock.
9675 Try not to break ABI/API.
9677 2005-10-27 Wim Taymans <wim@fluendo.com>
9679 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9680 (gst_base_src_init), (gst_base_src_query),
9681 (gst_base_src_default_newsegment),
9682 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9683 (gst_base_src_send_event), (gst_base_src_event_handler),
9684 (gst_base_src_pad_get_range), (gst_base_src_loop),
9685 (gst_base_src_unlock), (gst_base_src_default_negotiate),
9686 (gst_base_src_start), (gst_base_src_deactivate),
9687 (gst_base_src_activate_push), (gst_base_src_change_state):
9688 Move some stuff around and cleanup things.
9690 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
9692 * gst/base/gstbasesrc.c: (gst_base_src_query):
9693 Add missing break statements.
9695 2005-10-27 Wim Taymans <wim@fluendo.com>
9697 * check/gst/gstbin.c: (GST_START_TEST):
9698 An extra refcount is taken in basesrc.
9700 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9701 (gst_base_src_get_range), (gst_base_src_pad_get_range),
9702 (gst_base_src_loop):
9703 Small cleanups, check for flushing after being unlocked from the
9704 LIVE_LOCK. take refcounts correctly (not yet everywhere).
9705 Don't send out EOS when going to READY.
9707 2005-10-27 Wim Taymans <wim@fluendo.com>
9709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9710 (gst_base_sink_get_position):
9713 * gst/gstbin.c: (message_check), (bin_replace_message),
9714 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9715 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9716 (bin_query_duration_init), (bin_query_duration_fold),
9717 (bin_query_duration_done), (bin_query_generic_fold),
9719 * tools/gst-launch.c: (main):
9722 2005-10-26 Stefan Kost <ensonic@users.sf.net>
9724 * examples/controller/audio-example.c: (main):
9725 * examples/queue/queue.c: (event_loop):
9726 * gst/base/gstbasetransform.h:
9727 * gst/gstelement.c: (gst_element_send_event):
9729 * gst/gstpad.c: (gst_pad_send_event):
9732 changing log priority in error situations
9734 2005-10-25 Wim Taymans <wim@fluendo.com>
9736 * gst/gstbin.c: (message_check), (bin_replace_message),
9737 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9738 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9739 (bin_query_duration_init), (bin_query_duration_fold),
9740 (bin_query_duration_done), (bin_query_generic_fold),
9742 Some doc and debug updates.
9743 Cache previously requested query DURATION for speed. invalidate
9744 cached duration if element posts a DURATION message.
9746 2005-10-25 Wim Taymans <wim@fluendo.com>
9748 * docs/design/part-TODO.txt:
9751 * gst/gstbin.c: (message_check), (bin_replace_message),
9752 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9753 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9754 (bin_query_duration_init), (bin_query_duration_fold),
9755 (bin_query_duration_done), (bin_query_generic_fold),
9757 Handle SEGMENT_START/DONE messages correctly.
9758 More evolved query algorithm that handles duration queries
9761 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9762 (gst_element_get_state_func), (gst_element_abort_state),
9763 (gst_element_commit_state), (gst_element_lost_state):
9764 Some more debugging.
9769 2005-10-25 Wim Taymans <wim@fluendo.com>
9771 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9772 Don't use invalid stream_time.
9774 * gst/gstevent.c: (gst_event_new_newsegment):
9775 stream_time in newsegment cannot be undefined.
9777 2005-10-24 Wim Taymans <wim@fluendo.com>
9782 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9784 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9786 2005-10-24 Stefan Kost <ensonic@users.sf.net>
9788 * docs/libs/tmpl/gstdparam.sgml:
9789 * docs/libs/tmpl/gstdplinint.sgml:
9790 * docs/libs/tmpl/gstdpman.sgml:
9791 * docs/libs/tmpl/gstdpsmooth.sgml:
9792 * docs/libs/tmpl/gstunitconvert.sgml:
9795 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
9800 === release 0.9.4 ===
9802 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9805 releasing 0.9.4, "Tyrannosaurus Rex"
9807 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
9809 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9810 (gst_file_sink_get_current_offset):
9811 Use fseeko() and ftello() if available. When falling back on
9812 lseek() to get the current offset, fflush() first to make sure
9813 everything is up-to-date and we get the right offset.
9815 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9818 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9819 * gst/gsterror.c: (_gst_stream_errors_init):
9821 * gst/gstqueue.c: (gst_queue_loop):
9823 remove prematurely added error category and clean up the instances
9825 2005-10-21 Wim Taymans <wim@fluendo.com>
9827 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9828 (gst_base_sink_get_position), (gst_base_sink_query),
9829 (gst_base_sink_change_state):
9830 Simply set the right flag when going to playing, that's all
9831 we need to do instead of calling a function inside the object
9832 lock (that could take the lock as well and deadlock)
9834 2005-10-21 Wim Taymans <wim@fluendo.com>
9836 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9837 (gst_base_src_loop):
9838 Don't warn, the peer element knows what to do best when
9839 the seek failed, it might try something else.
9841 2005-10-21 Wim Taymans <wim@fluendo.com>
9843 * gst/base/gstbasesrc.c: (gst_base_src_init),
9844 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9847 2005-10-21 Wim Taymans <wim@fluendo.com>
9849 * docs/design/part-segments.txt:
9852 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9853 Correctly set caps, even on the subbufer.
9855 2005-10-21 Wim Taymans <wim@fluendo.com>
9857 * docs/gst/gstreamer-docs.sgml:
9858 * docs/gst/gstreamer-sections.txt:
9865 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9869 And 2% more doc coverage.
9871 2005-10-21 Andy Wingo <wingo@pobox.com>
9873 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9876 2005-10-20 Wim Taymans <wim@fluendo.com>
9878 * gst/gsterror.c: (gst_error_get_message):
9881 * gst/gststructure.c:
9886 2005-10-20 Wim Taymans <wim@fluendo.com>
9891 Another 1% more coverage.
9893 2005-10-20 Wim Taymans <wim@fluendo.com>
9895 * docs/gst/gstreamer-sections.txt:
9896 * gst/gstelement.c: (gst_element_get_state_func),
9897 (gst_element_abort_state), (gst_element_commit_state),
9898 (gst_element_lost_state):
9900 * gst/gstquery.c: (gst_query_set_position),
9901 (gst_query_parse_position), (gst_query_set_duration),
9902 (gst_query_parse_duration), (gst_query_new_convert):
9904 Yay! 1% more docs coverage.
9906 2005-10-20 Wim Taymans <wim@fluendo.com>
9909 * gst/gstquery.c: (gst_query_set_position),
9910 (gst_query_parse_position), (gst_query_set_duration),
9911 (gst_query_parse_duration), (gst_query_new_convert):
9913 * gst/gstutils.c: (gst_element_query_convert):
9915 Docs and consistency fixes.
9917 2005-10-20 Wim Taymans <wim@fluendo.com>
9923 2005-10-20 Wim Taymans <wim@fluendo.com>
9925 * gst/gstbin.c: (message_check), (bin_replace_message),
9926 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9927 (update_degree), (gst_bin_sort_iterator_next),
9928 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
9929 Reworked the message handling a bit, cache the messages instead of
9930 only the senders. alows us to do more in the future.
9932 2005-10-20 Wim Taymans <wim@fluendo.com>
9934 * docs/design/part-TODO.txt:
9937 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9938 (gst_base_sink_query):
9939 Don't use clock time to report position when in EOS.
9941 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
9943 * tools/gst-inspect.c: (print_interfaces),
9944 (print_element_properties_info), (print_element_info):
9945 Fix interface output with gst-inspect -a; don't print
9946 newlines after double/float properties.
9948 2005-10-20 Wim Taymans <wim@fluendo.com>
9950 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
9951 (gst_base_sink_query):
9952 Speed up current position calculation.
9954 * gst/base/gstbasesrc.c: (gst_base_src_query),
9955 (gst_base_src_default_newsegment):
9956 Correctly set stream position in newsegment.
9958 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
9959 (update_degree), (gst_bin_sort_iterator_next),
9960 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
9961 * gst/gstmessage.c: (gst_message_new_custom):
9962 Clean up debugging info
9964 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9965 (gst_queue_loop), (gst_queue_handle_src_query):
9968 2005-10-19 Wim Taymans <wim@fluendo.com>
9970 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9971 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9972 Fix query handling again.
9974 2005-10-19 Wim Taymans <wim@fluendo.com>
9976 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9977 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
9978 * gst/base/gstbasesrc.c: (gst_base_src_query):
9979 * gst/elements/gstfilesink.c: (gst_file_sink_query):
9980 * gst/elements/gsttypefindelement.c:
9981 (gst_type_find_handle_src_query), (find_element_get_length),
9982 (gst_type_find_element_activate):
9985 * gst/gstquery.c: (gst_query_new_position),
9986 (gst_query_set_position), (gst_query_parse_position),
9987 (gst_query_new_duration), (gst_query_set_duration),
9988 (gst_query_parse_duration), (gst_query_set_segment),
9989 (gst_query_parse_segment):
9991 Bundling query position/duration is not a good idea since duration
9992 does not change much and we don't want to recalculate it for every
9993 position query, so they are separated again..
9994 Base value in segment query is not needed.
9996 * gst/gstqueue.c: (gst_queue_handle_src_query):
9997 * gst/gstutils.c: (gst_element_query_position),
9998 (gst_element_query_duration), (gst_pad_query_position),
9999 (gst_pad_query_duration):
10001 Updates for query API change.
10002 Added some docs here and there.
10004 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10006 * check/gst/gstbin.c: (GST_START_TEST):
10007 * check/gst/gstghostpad.c: (GST_START_TEST):
10008 * check/pipelines/cleanup.c: (GST_START_TEST):
10009 wait on thread to die so we can check refcount correctly
10011 2005-10-18 Wim Taymans <wim@fluendo.com>
10013 * check/pipelines/stress.c: (GST_START_TEST):
10014 Make check a little more time consuming.
10016 2005-10-18 Wim Taymans <wim@fluendo.com>
10018 * check/Makefile.am:
10019 * check/pipelines/stress.c: (GST_START_TEST),
10020 (simple_launch_lines_suite), (main):
10021 Small state change torture test.
10023 * docs/design/part-states.txt:
10024 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10025 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10026 (gst_base_sink_change_state):
10027 Never take state lock from streaming thread, clean up ugly
10028 hacks. Unfortunatly core does not yet support nice ways to
10029 async commit state.
10031 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10033 Start state recalc if a STATE_DIRTY message is posted, but only
10034 on the toplevel bin.
10036 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10037 (gst_element_get_state_func), (gst_element_abort_state),
10038 (gst_element_commit_state), (gst_element_lost_state),
10039 (gst_element_set_state_func), (gst_element_change_state):
10040 * gst/gstelement.h:
10041 State variables are now protected with the LOCK, the state
10042 lock is only used to serialize _set_state().
10044 2005-10-18 Wim Taymans <wim@fluendo.com>
10046 * check/gst/gstbin.c: (GST_START_TEST):
10047 * check/gst/gstmessage.c: (GST_START_TEST):
10048 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10049 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10051 * gst/gstelement.c: (gst_element_abort_state),
10052 (gst_element_commit_state), (gst_element_lost_state):
10053 * gst/gstmessage.c: (gst_message_new_state_changed),
10054 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10055 (gst_message_new_segment_done), (gst_message_new_duration),
10056 (gst_message_parse_state_changed),
10057 (gst_message_parse_segment_start),
10058 (gst_message_parse_segment_done), (gst_message_parse_duration):
10059 * gst/gstmessage.h:
10060 * tools/gst-launch.c: (event_loop):
10061 Seriously, this is better than a previous commit as we only need
10062 to notify the fact that an element changed state in a streaming
10063 thread, marking the state of the parents dirty, hence the
10064 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10067 2005-10-18 Wim Taymans <wim@fluendo.com>
10069 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10070 (gst_bin_recalc_func):
10071 * gst/gstelement.c: (gst_element_set_clock),
10072 (gst_element_abort_state), (gst_element_lost_state):
10073 Cleanups, prepare for state change fixes.
10075 2005-10-18 Wim Taymans <wim@fluendo.com>
10078 * gst/gstelement.c: (gst_element_class_init),
10079 (gst_element_set_state), (gst_element_set_state_func):
10080 * gst/gstelement.h:
10081 Pending ABI changes.
10082 GThreadPool in GstBinClass to monitor async state changes.
10083 state_cookie in GstElement to detect concurrent gst/set state.
10084 set_state is now virtual too in case a very complicated element
10085 has to be constructed.
10087 2005-10-18 Wim Taymans <wim@fluendo.com>
10089 * check/gst/gstbin.c: (GST_START_TEST):
10090 * check/gst/gstmessage.c: (GST_START_TEST):
10091 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10092 * gst/gstbin.c: (bin_bus_handler):
10093 * gst/gstelement.c: (gst_element_commit_state),
10094 (gst_element_lost_state):
10095 * gst/gstmessage.c: (gst_message_new_state_changed),
10096 (gst_message_new_segment_start), (gst_message_new_segment_done),
10097 (gst_message_new_duration), (gst_message_parse_state_changed),
10098 (gst_message_parse_segment_start),
10099 (gst_message_parse_segment_done), (gst_message_parse_duration):
10100 * gst/gstmessage.h:
10101 * tools/gst-launch.c: (event_loop):
10102 Make messages future proof.
10103 state-change gets a flag if it was a message comming from the
10105 segment-start/stop can also be specified in other formats.
10106 A message to notify an app that a pipeline changed playback
10108 Also fix a GstMessage leak in -launch
10110 2005-10-18 Andy Wingo <wingo@pobox.com>
10112 * gst/gstelement.c (gst_element_dispose): More helpful message.
10114 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10116 reviewed by: <delete if not using a buddy>
10118 * common/gtk-doc.mak:
10120 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10122 * gst/gstregistry.c: (gst_registry_scan_path_level):
10123 unref a plug-in we get that was already initialized
10125 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10127 * docs/gst/gstreamer-sections.txt:
10128 * docs/libs/gstreamer-libs-sections.txt:
10129 * gst/gstelement.h:
10130 add new api entries
10131 hide internal macro
10133 2005-10-17 Andy Wingo <wingo@pobox.com>
10135 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10138 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10140 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10142 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10143 (gst_element_get_state_func): Better debug message.
10144 (gst_element_commit_state): s/INFO/DEBUG/.
10145 (gst_element_lost_state, gst_element_change_state):
10147 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10148 (gst_message_new_custom): s/INFO/LOG/.
10150 2005-10-17 Michael Smith <msmith@fluendo.com>
10152 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10153 Check if end time is valid using end time, not start time.
10155 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10157 * check/gst-libs/controller.c: (GST_START_TEST),
10158 (gst_controller_suite):
10159 * libs/gst/controller/gstcontroller.c:
10160 (gst_controlled_property_set_interpolation_mode):
10161 * libs/gst/controller/gstcontroller.h:
10162 * libs/gst/controller/gstinterpolation.c:
10163 * testsuite/controller/.cvsignore:
10164 * testsuite/controller/Makefile.am:
10165 * testsuite/controller/interpolator.c:
10166 merge controller testsuites
10168 remove mem-chunk from docs
10170 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10172 * gst/gstmemchunk.c:
10173 * gst/gstmemchunk.h:
10174 * gst/gsttrashstack.c:
10175 * gst/gsttrashstack.h:
10176 out. get out. you're fired. to the Attic !
10178 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10180 * gst/gstcaps.c: (gst_caps_intersect):
10181 fix signedness issues in a (hopefully) correct way
10182 * gst/gstelement.c: (gst_element_pads_activate):
10184 * gst/gstobject.c: (gst_object_set_parent):
10187 2005-10-17 Julien MOUTTE <julien@moutte.net>
10189 * gst/gstvalue.h: Fix prototypes.
10191 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10193 * docs/gst/gstreamer-sections.txt:
10194 * gst/gst.c: (gst_version_string):
10196 * gst/gstversion.h.in:
10197 * win32/common/libgstreamer.def:
10198 add gst_version_string ()
10200 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10204 * gst/gst.c: (init_post):
10205 * win32/common/config.h.in:
10207 * gst/gstcaps.c: (gst_caps_intersect):
10208 use gint64, the range could be bigger than a guint
10210 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10213 document potential problem in 2038
10215 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10217 * gst/gstcaps.c: (gst_caps_intersect):
10218 Fix guint j diving under 0
10220 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10223 * win32/common/config.h:
10224 * win32/common/config.h.in:
10225 check for process.h, declares getpid() on Windows
10227 include process.h if we have it
10228 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10229 * gst/gstmemchunk.h:
10230 fix signedness issues
10231 * win32/common/libgstreamer.def:
10234 2005-10-16 Julien MOUTTE <julien@moutte.net>
10236 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10237 fix. Because of unsigned ints, caps intersection was going nuts and
10238 trying to access structures with G_MAXUINT index. That fixes
10239 videotestsrc ! ffmpegcolorspace ! fakesink
10240 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10243 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10246 use the gettext macro
10247 * gst/elements/gstelements.c:
10249 * gst/indexers/gstindexers.c:
10250 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10251 * win32/common/config.h:
10253 * win32/common/config.h.in:
10254 add the template to generate config.h
10255 * win32/common/gstenumtypes.c:
10256 * win32/common/gstversion.h:
10259 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10261 * gst/gst.c: (gst_version):
10262 * gst/gstversion.h.in:
10265 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10268 Oops, add missing closing bracket.
10270 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10273 use common m4's for argument checking
10275 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10277 * docs/gst/gstreamer-sections.txt:
10279 Add GST_EVENT_TYPE_NAME() macro.
10281 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10284 * gst/gstpluginfeature.c:
10286 privatize more symbols
10288 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10291 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10292 everything that uses GStreamer API should have the includes
10294 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10296 * docs/gst/gstreamer-sections.txt:
10297 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10299 give each value a _get_type, removes the DATA exports
10301 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10305 remove _gst_registry_auto_load, not used anymore
10306 * gst/gstbin.c: (gst_bin_get_type):
10308 * gst/gstelement.c: (gst_element_get_type):
10309 * gst/gstelement.h:
10310 * gst/gstobject.c: (gst_object_get_type):
10312 * gst/gstpad.c: (gst_pad_get_type):
10314 make _get_type functions similar, fixes data export from library
10316 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10319 correctly make conditionals
10320 * gst/elements/Makefile.am:
10321 * gst/elements/gstelements.c:
10322 fix typo causing fdsrc not to build
10324 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10326 * testsuite/Makefile.am:
10327 * testsuite/bytestream/.cvsignore:
10328 * testsuite/bytestream/Makefile.am:
10329 * testsuite/bytestream/filepadsink.c:
10330 * testsuite/bytestream/gstbstest.c:
10331 * testsuite/bytestream/test1.c:
10332 * testsuite/bytestream/testfile1:
10333 * testsuite/caps/normalisation.c:
10334 * testsuite/caps/random.c: (main):
10335 * testsuite/cleanup/.cvsignore:
10336 * testsuite/cleanup/Makefile.am:
10337 * testsuite/cleanup/cleanup1.c:
10338 * testsuite/cleanup/cleanup2.c:
10339 * testsuite/cleanup/cleanup3.c:
10340 * testsuite/cleanup/cleanup4.c:
10341 * testsuite/cleanup/cleanup5.c:
10342 * testsuite/controller/interpolator.c:
10343 * testsuite/debug/printf_extension.c: (main):
10344 * testsuite/elements/tee.c:
10345 * testsuite/negotiation/.cvsignore:
10346 * testsuite/negotiation/Makefile.am:
10347 * testsuite/negotiation/pad_link.c:
10348 * testsuite/pad/Makefile.am:
10349 * testsuite/pad/chainnopull.c:
10350 * testsuite/pad/getnopush.c:
10351 * testsuite/pad/link.c:
10352 * testsuite/refcounting/sched.c: (create_pipeline):
10353 * testsuite/registry/Makefile.am:
10354 * testsuite/registry/gst-print-formats.c:
10355 * testsuite/schedulers/.cvsignore:
10356 * testsuite/schedulers/142183-2.c:
10357 * testsuite/schedulers/142183.c:
10358 * testsuite/schedulers/143777-2.c:
10359 * testsuite/schedulers/143777.c:
10360 * testsuite/schedulers/147713.c:
10361 * testsuite/schedulers/147819.c:
10362 * testsuite/schedulers/147894-2.c:
10363 * testsuite/schedulers/147894.c:
10364 * testsuite/schedulers/Makefile.am:
10365 * testsuite/schedulers/group_link.c:
10366 * testsuite/schedulers/queue_link.c:
10367 * testsuite/schedulers/relink.c:
10368 * testsuite/schedulers/unlink.c:
10369 * testsuite/schedulers/unref.c:
10370 * testsuite/schedulers/useless_iteration.c:
10371 * testsuite/states/bin.c:
10372 clean out/remove some stuff from the testsuite directories
10374 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10377 check for some headers
10378 * gst/elements/Makefile.am:
10379 * gst/elements/gstelements.c:
10380 don't compile fdsrc without sys/socket.h
10381 * gst/indexers/Makefile.am:
10382 * gst/indexers/gstindexers.c: (plugin_init):
10383 don't compile fileindex without mmap
10385 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10392 * check/Makefile.am:
10393 * docs/gst/Makefile.am:
10394 * examples/helloworld/Makefile.am:
10396 * gst/base/Makefile.am:
10397 * gst/check/Makefile.am:
10398 * gst/elements/Makefile.am:
10399 * gst/indexers/Makefile.am:
10400 * gst/parse/Makefile.am:
10401 * libs/gst/controller/Makefile.am:
10402 * libs/gst/dataprotocol/Makefile.am:
10403 * examples/helloworld/helloworld.c: (event_loop):
10404 compile fixes, though it's not being compiled currently
10406 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10408 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10409 Add some simple tests for the new taglist date API.
10411 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10413 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10414 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10415 Beautify 'last-message' output: print 'none' for buffer timestamps
10416 and durations if none is set; improve alignment with next messages.
10418 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10420 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10421 * gst/gstpluginfeature.h:
10422 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10423 * gst/gstregistry.h:
10424 * docs/gst/gstreamer-sections.txt:
10425 Add new API to check plugin feature version requirements.
10427 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10428 Some basic tests for the above.
10430 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10432 * gst/gststructure.c: (gst_structure_to_string):
10433 guard against NULL printf - happens when for example
10434 a message structure with GstClock gets serialized
10436 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10438 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10439 Fix presumable copy'n'pasto.
10441 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10443 * gst/elements/gstfakesrc.h:
10444 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10445 * gst/elements/gsttypefindelement.c:
10446 fix some signedness
10447 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10448 I wonder if this could actually write +2GB files before
10450 2005-10-13 Andy Wingo <wingo@pobox.com>
10452 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10453 Fix Timmeke Waymans bug.
10454 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10455 string of the proper length to gst_caps_from_string. There's a
10456 potential for, before this fix, that this could cause someone
10457 connecting over the network to cause a segfault if the payload is
10458 not NUL-terminated.
10460 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10462 * docs/design/draft-push-pull.txt:
10463 * docs/design/part-overview.txt:
10464 * docs/random/TODO-pre-0.9:
10465 * docs/random/old/ChangeLog.gstreamer:
10466 * gst/base/gstpushsrc.c:
10470 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10472 * gst/glib-compat.c: (gst_flags_get_first_value):
10473 * gst/glib-compat.h:
10474 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10475 (gst_value_compare_double), (gst_value_serialize_flags):
10476 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10479 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10482 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10484 * tools/gst-launch.c: (event_loop):
10485 print out clock nicely
10487 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10489 * docs/gst/gstreamer-sections.txt:
10490 * gst/gsttaglist.h:
10491 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10492 (gst_tag_list_get_date_index):
10493 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10494 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10496 2005-10-13 Julien MOUTTE <julien@moutte.net>
10498 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10499 (gst_collectpads_chain):
10500 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10503 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10505 * docs/gst/gstreamer-sections.txt:
10508 * tools/gst-inspect.c: (main):
10509 * tools/gst-launch.c: (main):
10510 * tools/gst-run.c: (main):
10511 * tools/gst-xmlinspect.c: (main):
10512 fix GOption context leaks
10515 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10519 * win32/common/config.h:
10521 * win32/vs6/grammar.dsp:
10522 * win32/vs6/libgstelements.dsp:
10523 * win32/vs6/libgstreamer.dsp:
10526 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10529 * gst/base/gstbasesrc.c: (gst_base_src_query):
10530 fix more guint64<->gdouble conversions
10532 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10535 add win32-update target
10536 * win32/common/gstconfig.h:
10537 * win32/common/gstenumtypes.c:
10538 * win32/common/gstenumtypes.h:
10539 * win32/common/gstversion.h:
10540 add files that visual studio can't generate
10542 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10545 add a win32-update target
10548 2005-10-12 Wim Taymans <wim@fluendo.com>
10550 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10551 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10552 * gst/gstelement.c: (gst_element_commit_state),
10553 (gst_element_set_state):
10554 Protect flags with proper lock.
10555 unref provided cached clock in dispose.
10557 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10560 * gst/gstminiobject.h:
10562 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10563 removed unused flags from miniobject
10566 2005-10-12 Wim Taymans <wim@fluendo.com>
10568 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10569 (gst_file_sink_event), (gst_file_sink_render):
10570 Flush before seeking.
10572 2005-10-12 Andy Wingo <wingo@pobox.com>
10574 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10575 always been the case.
10577 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10579 * check/gst/gstbin.c: (GST_START_TEST):
10580 * docs/gst/gstreamer-sections.txt:
10581 * gst/base/gstbasesink.c: (gst_base_sink_init):
10582 * gst/base/gstbasesrc.c: (gst_base_src_init),
10583 (gst_base_src_get_range), (gst_base_src_check_get_range),
10584 (gst_base_src_start), (gst_base_src_stop):
10585 * gst/base/gstbasesrc.h:
10586 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10587 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10588 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10592 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10594 * gst/gstelement.c: (gst_element_is_locked_state),
10595 (gst_element_set_locked_state), (gst_element_commit_state),
10596 (gst_element_set_state):
10597 * gst/gstelement.h:
10598 * gst/gstindex.c: (gst_index_init):
10600 * gst/gstminiobject.h:
10601 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10602 (gst_object_set_parent):
10604 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10605 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10607 * gst/gstpadtemplate.h:
10608 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10609 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10610 * gst/gstpipeline.h:
10611 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10612 (gst_file_index_commit):
10613 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10614 * testsuite/pad/link.c: (gst_test_src_init),
10615 (gst_test_filter_init), (gst_test_sink_init):
10616 * testsuite/states/locked.c: (main):
10617 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10618 moved bitshift from macro to enum definition
10620 2005-10-12 Wim Taymans <wim@fluendo.com>
10622 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10623 * gst/elements/gstfilesink.c: (gst_file_sink_event),
10624 (gst_file_sink_render):
10625 Some more debugging info.
10627 2005-10-12 Wim Taymans <wim@fluendo.com>
10629 * docs/design/part-states.txt:
10630 * tools/gst-launch.c: (main):
10632 Revert non-intentional change.
10634 2005-10-12 Wim Taymans <wim@fluendo.com>
10636 * check/gst/gstbin.c: (GST_START_TEST):
10637 * check/gst/gstelement.c: (GST_START_TEST):
10638 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10639 * check/gst/gstghostpad.c: (GST_START_TEST):
10640 * check/gst/gstpipeline.c: (GST_START_TEST):
10641 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10642 * check/states/sinks.c: (GST_START_TEST):
10643 * gst/elements/gsttypefindelement.c: (stop_typefinding):
10644 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10645 (gst_bin_remove_func), (gst_bin_get_state_func),
10646 (gst_bin_recalc_state), (gst_bin_change_state_func),
10648 * gst/gstelement.c: (gst_element_get_state_func),
10649 (gst_element_get_state), (gst_element_abort_state),
10650 (gst_element_commit_state), (gst_element_set_state),
10651 (gst_element_change_state), (gst_element_change_state_func):
10652 * gst/gstelement.h:
10653 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10654 (gst_pipeline_provide_clock_func):
10655 * gst/gstutils.c: (gst_element_link_pads_filtered):
10656 * tools/gst-launch.c: (main):
10657 * tools/gst-typefind.c: (main):
10658 Use GstClockTime in _get_state() instead of GTimeVal.
10659 Remove old code in gstutils.c
10661 2005-10-12 Andy Wingo <wingo@pobox.com>
10663 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10666 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10667 there is no task. Shouldn't affect any code, as nothing in our
10668 plugins checks this return value.
10669 (gst_pad_stop_task): Also take the stream lock if the pad has no
10670 task. Docs updated.
10672 2005-10-12 Wim Taymans <wim@fluendo.com>
10674 * gst/gstpad.c: (pre_activate), (post_activate),
10675 (gst_pad_activate_pull), (gst_pad_activate_push):
10676 Cleanup activation code. Reset old state if
10679 2005-10-12 Wim Taymans <wim@fluendo.com>
10681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10682 (gst_base_sink_change_state):
10683 No need to prerol after receiving EOS.
10685 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10686 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10687 * gst/elements/gstidentity.c: (gst_identity_event):
10688 Print events more verbosely.
10690 2005-10-12 Wim Taymans <wim@fluendo.com>
10692 * check/Makefile.am:
10693 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10694 * check/states/sinks2.c:
10695 Moved sinks2 testcode in sinks check.
10697 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10698 (gst_bin_remove_func), (gst_bin_recalc_state),
10699 (gst_bin_change_state_func), (bin_bus_handler):
10700 Fix potential race condition when _get_state() iterated over an
10701 ASYNC element right before it posted a state completion.
10704 Do proper cast here.
10706 * gst/gstevent.c: (gst_event_new_newsegment),
10707 (gst_event_parse_newsegment):
10708 A playback rate of 0.0 is not allowed.
10710 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10712 * win32/common/config.h:
10713 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10714 (_trewinddir), (_ttelldir), (_tseekdir):
10715 * win32/common/dirent.h:
10716 * win32/common/gtchar.h:
10717 * win32/common/libgstbase.def:
10718 * win32/common/libgstreamer.def:
10719 * win32/vs6/grammar.dsp:
10720 * win32/vs6/gst_inspect.dsp:
10721 * win32/vs6/gst_launch.dsp:
10722 * win32/vs6/gstreamer.dsw:
10723 * win32/vs6/libgstbase.dsp:
10724 * win32/vs6/libgstelements.dsp:
10725 * win32/vs6/libgstreamer.dsp:
10726 Visual Studio 6 project files, and a new common directory.
10729 2005-10-11 Wim Taymans <wim@fluendo.com>
10731 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10732 (gst_base_sink_do_sync), (gst_base_sink_query),
10733 (gst_base_sink_change_state):
10734 * gst/base/gstbasesink.h:
10735 Correctly parse newsegment info.
10737 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10739 * gst/gst.c: (init_post):
10740 split plugin paths correctly
10742 2005-10-11 Wim Taymans <wim@fluendo.com>
10744 * check/gst/gstevent.c: (GST_START_TEST):
10745 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10746 (gst_base_sink_change_state):
10747 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10748 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10749 * gst/elements/gstfilesink.c: (gst_file_sink_event):
10750 * gst/gstevent.c: (gst_event_new_newsegment),
10751 (gst_event_parse_newsegment):
10753 Added extra flag to newsegment for future API freeze.
10754 Updated check and base elements.
10756 2005-10-11 Julien MOUTTE <julien@moutte.net>
10758 * gst/base/gstcollectpads.c: (gst_collectpads_init),
10759 (gst_collectpads_add_pad), (gst_collectpads_pop),
10760 (gst_collectpads_event), (gst_collectpads_chain):
10761 * gst/base/gstcollectpads.h: Handle EOS correctly.
10763 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10765 * tools/gst-launch.c: (main):
10766 more null protecting
10768 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10770 * gst/gst-i18n-lib.h:
10771 check for ENABLE_NLS, not GETTEXT_PACKAGE
10772 * gst/gstregistry.c: (gst_registry_add_plugin),
10773 (gst_registry_scan_path_level),
10774 (_gst_registry_remove_cache_plugins):
10775 protect possibly NULL strings
10776 * gst/parse/types.h:
10777 config.h already included before
10778 * tools/gst-inspect.c: (main):
10779 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10780 check for ENABLE_NLS, not GETTEXT_PACKAGE
10781 * tools/gst-launch.c: (main):
10782 check for ENABLE_NLS, not GETTEXT_PACKAGE
10784 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10787 if we don't have glib, fail before testing 2.8
10788 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10789 fix a leak, should fix plugins-base testsuite
10791 2005-10-11 Andy Wingo <wingo@pobox.com>
10793 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10794 take the mode we're going to as an arg. Go head and set the mode
10795 and flushing flags now, so that if the activate function starts a
10796 thread all the flags will be in the right state.
10797 (post_activate): Renamed also. Just handle making sure streaming
10798 finishes for the deactivation case, and setting the deactivated
10800 (gst_pad_set_active): Complain loudly if deactivation fails.
10801 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10802 (gst_pad_activate_push): Adapt to pre/post_activate changes,
10803 remove the terrible hack.
10805 2005-10-11 Wim Taymans <wim@fluendo.com>
10807 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10808 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10809 (gst_bin_recalc_state), (gst_bin_change_state_func),
10810 (gst_bin_dispose), (bin_bus_handler):
10812 Prepare to make current EOS message queue more generic.
10815 * gst/gstevent.c: (gst_event_new_newsegment),
10816 (gst_event_parse_newsegment):
10818 Rename base to stream_time.
10820 * gst/gstmessage.h:
10823 2005-10-11 Wim Taymans <wim@fluendo.com>
10825 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10826 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10827 (gst_bin_change_state_func), (bin_bus_handler):
10829 Work on proper clock selection.
10831 2005-10-11 Edward Hervey <edward@fluendo.com>
10833 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
10834 * libs/gst/controller/gstcontroller.h:
10835 Added GList* version of _remove_properties() in order to be able to wrap
10838 2005-10-11 Wim Taymans <wim@fluendo.com>
10840 * docs/design/part-states.txt:
10843 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10844 (gst_bin_change_state_func), (bin_bus_handler):
10845 Doc updates. Don't distribute the same clock over and over again.
10851 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10852 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10853 (gst_pad_send_event):
10855 Make probe emission threadsafe again.
10856 Register quarks and move _get_name() from utils.
10859 * gst/gstpipeline.c: (gst_pipeline_class_init),
10860 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10861 Only redistribute the clock of it changed.
10863 * gst/gstsystemclock.h:
10868 Moved the _flow_get_name() to GstPad.
10870 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10872 * check/gst-libs/gdp.c: (GST_START_TEST):
10873 * check/gst/gstcaps.c: (GST_START_TEST):
10874 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10875 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10876 (gst_dp_packet_from_caps):
10877 fix more valgrind warnings before turning up the heat
10879 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10881 * gst/parse/grammar.y:
10882 some cleanup before the hacking
10884 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10886 * gst/base/gstbasesrc.c: (gst_base_src_query):
10888 * gst/gstutils.c: (gst_guint64_to_gdouble),
10889 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10891 externalize, basesrc uses it
10892 obviously the implementation needs testing
10894 2005-10-10 Wim Taymans <wim@fluendo.com>
10896 * tests/sched/Makefile.am:
10897 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10898 (make_pipeline3), (make_pipeline4), (print_elem), (main):
10900 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10902 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10903 apparently converting from guint64 to double is not implemented
10906 2005-10-10 Wim Taymans <wim@fluendo.com>
10908 * check/Makefile.am:
10909 * check/generic/states.c: (GST_START_TEST):
10910 * check/gst/gstbin.c: (GST_START_TEST):
10911 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10912 * check/states/sinks.c: (GST_START_TEST):
10913 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10915 Check fixes, use API as stated in design docs, remove hacks.
10917 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10918 (gst_base_sink_change_state):
10919 Catch stopping our task while we're shutting down.
10921 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10922 (gst_bin_remove_func), (gst_bin_get_state_func),
10923 (gst_bin_recalc_state), (gst_bin_change_state_func),
10926 * gst/gstelement.c: (gst_element_init),
10927 (gst_element_get_state_func), (gst_element_abort_state),
10928 (gst_element_commit_state), (gst_element_lost_state),
10929 (gst_element_set_state), (gst_element_change_state),
10930 (gst_element_change_state_func):
10931 * gst/gstelement.h:
10932 New state change algorithm (see #318116)
10934 * gst/gstpipeline.c: (gst_pipeline_class_init),
10935 (gst_pipeline_init), (gst_pipeline_set_property),
10936 (gst_pipeline_get_property), (do_pipeline_seek),
10937 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10938 * gst/gstpipeline.h:
10939 Remove crude state change hacks.
10942 Remove crude hacks.
10944 * tools/gst-launch.c: (main):
10945 Fixes for state change. Needs some more work to fully use the
10948 2005-10-10 Andy Wingo <wingo@pobox.com>
10950 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
10952 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
10953 this flag, but it's not even in GLib 2.6. Odd. Hack around the
10956 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
10958 * gst/gstiterator.c: (gst_iterator_new):
10959 Fix my previous commit: GTypes passed to gst_iterator_new()
10960 can be fundamental types.
10962 2005-10-10 Wim Taymans <wim@fluendo.com>
10964 * gst/gstelement.c: (gst_element_iterate_pad_list),
10965 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
10966 (gst_element_iterate_sink_pads):
10967 Use src/sink pads lists for the respective iterators instead
10970 2005-10-10 Andy Wingo <wingo@pobox.com>
10972 Merged in popt removal + GOption addition patch from Ronald, bug
10975 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
10976 GstElement macros around, remove popt-related symbols, add goption
10979 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
10981 * docs/gst/Makefile.am:
10982 * docs/libs/Makefile.am: No POPT_CFLAGS.
10984 * examples/manual/Makefile.am:
10985 * docs/manual/basics-init.xml: Doc updates with an example.
10987 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10988 (gst_init), (parse_one_option), (parse_goption_arg):
10989 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
10990 bit of hand merging and debugging to get the GOption stuff working
10993 * tests/Makefile.am:
10994 * tools/Makefile.am:
10995 * tools/gst-inspect.c: (main):
10996 * tools/gst-launch.c: (main):
10997 * tools/gst-run.c: (main):
10998 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11000 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11002 * gst/gstiterator.c: (gst_iterator_new):
11003 Add assertions to make sure passed GType is likely to really
11004 be a GType (as the compiler won't catch it if the size and
11005 GType arguments get mixed up, see #318447).
11007 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11009 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11011 * gst/gstbin.c: (gst_bin_iterate_sorted):
11012 Pass GType and size arguments to gst_iterator_new() in the right
11013 order (maybe we should make _new() take the GType as first argument
11014 just like _new_list()?) (#318447).
11017 2005-10-10 Wim Taymans <wim@fluendo.com>
11019 * gst/gstelement.c: (gst_element_finalize):
11020 And free the GStaticRecMutex too
11022 2005-10-10 Andy Wingo <wingo@pobox.com>
11024 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11025 Allocate and free the mutex properly.
11027 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11029 (GstElement): The state_lock is now recursive. Rebuild your
11030 plugins, suckers. Old macros adapted.
11032 * docs/gst/gstreamer-sections.txt: Doc updates.
11035 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11036 (g_static_rec_cond_wait): Ported from state changes patch, while
11037 we wait on bug #317802 to be solved in a well-distributed GLib.
11039 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11040 gst_element_change_state, variable name changes.
11041 (gst_element_change_state): Split out of gst_element_set_state in
11042 preparation for the state change merge. Doesn't pay attention to
11043 the 'transition' argument.
11044 (gst_element_set_state): Updates, hopefully purely cosmetic.
11045 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11046 state change patch.
11047 (gst_element_get_state_func): Renamed from get_state, cosmetic
11050 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11052 * gst/elements/gstelements.c:
11053 * win32/GStreamer.vcproj:
11055 * win32/dirent.c: (_tseekdir):
11056 * win32/gst-inspect.vcproj:
11057 * win32/gst-launch.vcproj:
11058 * win32/gstconfig.h:
11059 * win32/gstelements.vcproj:
11060 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11061 * win32/gstreamer.def:
11062 * win32/msvc71.sln:
11063 updates for the win32 build (patch from Sebastien Moutte)
11065 2005-10-10 Andy Wingo <wingo@pobox.com>
11067 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11068 gst_bin_get_state, cleaned up (but no logic changes).
11069 (bin_element_is_sink): Comment updates.
11070 (sink_iterator_filter): Remove needless cast.
11071 (gst_bin_iterate_sinks): Doc update.
11072 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11073 cleaned up (but no logic changes).
11075 * check/states/sinks.c (test_src_sink): Cleanups from the state
11077 (test_livesrc_sink): Sync on the state.
11079 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11080 the state change patch.
11082 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11085 * check/gst/gstbin.c: Merge in some style fixes and additional
11086 checks from Wim's state change patch.
11088 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11090 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11091 (gst_type_find_helper):
11092 Check whether we have the requested data already in our list of
11093 cached buffers before pulling a new buffer; also make the buffer
11094 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11096 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11101 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11102 don't use long long, it's not portable. Replacing with
11103 gint64 seems to work; let's hope no skeletons fall out of the closet.
11105 2005-10-10 Andy Wingo <wingo@pobox.com>
11107 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11109 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11111 * docs/gst/gstreamer-sections.txt:
11116 * gst/gstmessage.c: (gst_message_parse_state_changed):
11119 more docs, fix compilation
11121 2005-10-09 Philippe Khalaf <burger@speedy.org>
11122 * gst/gstmessage.c:
11123 Fixed a few forgotten variables on previous commit
11125 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11127 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11128 Fix evil typefind crasher: getrange() might return a short
11129 buffer at the end of a file, but gst_type_find_peek() must
11130 either return the full data as requested or NULL, but
11131 never a short buffer.
11133 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11135 * gst/gstmessage.c: (gst_message_new_state_changed),
11136 (gst_message_parse_state_changed):
11137 * gst/gstmessage.h:
11138 don't use "new", it's a C++ keyword
11140 2005-10-08 Wim Taymans <wim@fluendo.com>
11142 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11143 * gst/gstelement.c: (gst_element_post_message):
11144 * gst/gstpipeline.c: (gst_pipeline_change_state):
11145 Small docs and debug updates.
11147 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11149 * docs/gst/gstreamer-sections.txt:
11150 * gst/gstelementfactory.c:
11152 * gst/gsttaglist.c:
11155 2005-10-08 Wim Taymans <wim@fluendo.com>
11157 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11158 (gst_bin_dispose), (bin_bus_handler):
11159 Fix typos, add comments.
11160 Clear EOS list when going to PAUSED from any direction and do it
11161 in a threadsafe way.
11162 Get base time in a threadsafe way too.
11163 Fix confusing debug in the change_state function.
11164 Various other small cleanups.
11166 * gst/gstelement.c: (gst_element_post_message):
11167 Fix very verbose bus posting code.
11169 * gst/gstpipeline.c: (gst_pipeline_class_init),
11170 (gst_pipeline_set_property), (gst_pipeline_get_property),
11171 (gst_pipeline_change_state):
11172 Small ARG_ -> PROP_ cleanup
11174 2005-10-08 Wim Taymans <wim@fluendo.com>
11176 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11177 Do a less CPU demanding EOS check because we can.
11179 2005-10-08 Wim Taymans <wim@fluendo.com>
11181 * libs/gst/dataprotocol/dataprotocol.c:
11182 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11183 (gst_dp_packet_from_event):
11184 * libs/gst/dataprotocol/dataprotocol.h:
11185 * libs/gst/dataprotocol/dp-private.h:
11186 It's about time we bump the version number.
11187 Since event types don't fit in the guint8 anymore describing
11188 the payload type, make payload type 16 bits wide.
11190 2005-10-08 Wim Taymans <wim@fluendo.com>
11192 * docs/design/part-TODO.txt:
11193 * docs/design/part-clocks.txt:
11194 * docs/design/part-events.txt:
11195 * docs/design/part-gstbin.txt:
11196 * docs/design/part-gstelement.txt:
11197 * docs/design/part-gstpipeline.txt:
11198 * docs/design/part-live-source.txt:
11199 * docs/design/part-messages.txt:
11200 * docs/design/part-overview.txt:
11201 * docs/design/part-states.txt:
11204 2005-10-08 Wim Taymans <wim@fluendo.com>
11208 Fix event quark registration.
11209 Add some space between events so we can insert them in the
11212 2005-10-08 Wim Taymans <wim@fluendo.com>
11214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11215 (gst_base_sink_handle_buffer):
11216 Better log message.
11219 * gst/gstelement.h:
11222 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11223 (gst_queue_set_property), (gst_queue_get_property):
11225 Remove old unused properties.
11227 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11228 * docs/gst/gstreamer-sections.txt:
11229 * gst/gstmessage.c:
11230 * gst/gstmessage.h:
11231 * gst/gstminiobject.c:
11232 * gst/gstminiobject.h:
11236 lots of new docs and doc fixes
11238 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11240 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11242 * gst/gstregistry.c: (gst_registry_lookup_locked),
11243 (gst_registry_scan_path_level):
11244 * gst/gstregistryxml.c: (load_plugin):
11245 Only ever load one plugin for a given plugin basename.
11246 This ensures correct overriding of GST_PLUGIN_PATH over
11247 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11248 system installed plugins.
11250 2005-10-08 Wim Taymans <wim@fluendo.com>
11252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11253 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11254 Prepare for doing QOS.
11256 2005-10-08 Wim Taymans <wim@fluendo.com>
11258 * check/gst/gstbin.c: (GST_START_TEST):
11259 * check/pipelines/cleanup.c: (GST_START_TEST):
11260 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11261 Allow new clock message too.
11263 2005-10-08 Wim Taymans <wim@fluendo.com>
11265 * gst/gstmessage.c: (gst_message_new_error),
11266 (gst_message_new_warning), (gst_message_new_tag),
11267 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11268 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11269 (gst_message_new_segment_start), (gst_message_new_segment_done),
11270 (gst_message_parse_state_changed),
11271 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11272 (gst_message_parse_new_clock):
11273 * gst/gstmessage.h:
11274 Also carry the clock in question.
11276 2005-10-08 Wim Taymans <wim@fluendo.com>
11278 * gst/gstmessage.c: (gst_message_new_custom),
11279 (gst_message_new_eos), (gst_message_new_error),
11280 (gst_message_new_warning), (gst_message_new_tag),
11281 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11282 (gst_message_new_new_clock), (gst_message_new_segment_start),
11283 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11284 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11285 * gst/gstmessage.h:
11287 Added clock related messages.
11289 * gst/gstpipeline.c: (gst_pipeline_change_state):
11290 Post message when the clock changed.
11292 * tools/gst-launch.c: (event_loop):
11295 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11297 * tools/gst-inspect.c: (print_element_properties_info):
11298 Can't pass NULL strings to g_print() on windows.
11300 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11302 * docs/Makefile.am:
11303 * docs/gst/Makefile.am:
11304 * docs/gst/gstreamer-docs.sgml:
11305 * docs/gst/running.xml:
11306 * docs/version.entities.in:
11307 add a chapter on running GStreamer.
11308 document GST_DEBUG and GST_PLUGIN* env vars
11310 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11315 remove PLUGINS_BUILDDIR stuff
11316 * gst/gst.c: (init_post):
11317 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11319 remove, it was condescending and not needed
11321 2005-10-08 Wim Taymans <wim@fluendo.com>
11323 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11324 (gst_base_sink_handle_object), (gst_base_sink_event),
11325 (gst_base_sink_wait), (gst_base_sink_handle_event),
11326 (gst_base_sink_change_state):
11327 * gst/base/gstbasesink.h:
11328 Repost EOS message while going to PLAYING if still EOS.
11329 Make sure that when receiving a FLUSH_START we don't attempt
11330 to sync on the clock anymore.
11332 2005-10-08 Wim Taymans <wim@fluendo.com>
11334 * tools/gst-launch.c: (event_loop):
11335 Better message printout.
11337 2005-10-08 Wim Taymans <wim@fluendo.com>
11339 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11340 (gst_bin_child_proxy_get_children_count):
11341 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11342 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11343 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11344 (gst_child_proxy_set_valist):
11345 * gst/parse/grammar.y:
11346 Make ChildProxy threadsafe and fix mem leaks.
11348 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11350 * gst/gst.c: (init_post):
11351 debug the GST_PLUGIN_ env vars
11353 2005-10-08 Wim Taymans <wim@fluendo.com>
11355 * check/gst/gstbin.c: (GST_START_TEST):
11356 * check/gst/gstmessage.c: (GST_START_TEST):
11357 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11358 * gst/gstelement.c: (gst_element_commit_state),
11359 (gst_element_lost_state):
11360 * gst/gstmessage.c: (gst_message_new_state_changed),
11361 (gst_message_parse_state_changed):
11362 * gst/gstmessage.h:
11363 * tools/gst-launch.c: (event_loop):
11364 Added extra field to STATE_CHANGE message with the pending
11365 state, which will be different from the new state soon.
11367 2005-10-08 Wim Taymans <wim@fluendo.com>
11369 * gst/gstbus.c: (gst_bus_pop):
11371 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11372 Small cleanups and doc updates.
11374 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11376 * gst/gst.c: (init_pre):
11377 * gst/gstbin.c: (gst_bin_add_func):
11378 log distributing clocks and base time
11379 * gst/gstregistry.c: (gst_registry_add_plugin),
11380 (gst_registry_scan_path_level), (gst_registry_scan_path):
11381 clean up the debugging output a little
11382 * gst/gstutils.c: (gst_element_state_get_name):
11383 warn about a memleak (I've actually seen this be used, though
11384 it was probably a bug)
11386 2005-10-07 Wim Taymans <wim@fluendo.com>
11388 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11389 (gst_base_src_init), (gst_base_src_default_newsegment),
11390 (gst_base_src_newsegment), (gst_base_src_do_seek),
11391 (gst_base_src_loop), (gst_base_src_start):
11392 * gst/base/gstbasesrc.h:
11393 Make the newsegment event customizable by subclasses.
11395 2005-10-07 Wim Taymans <wim@fluendo.com>
11397 * gst/gstevent.c: (gst_event_new_buffersize),
11398 (gst_event_parse_buffersize):
11400 New event for future idea.
11402 2005-10-07 Andy Wingo <wingo@pobox.com>
11404 * gst/gstelement.c (gst_element_post_message): Doc update.
11406 * docs/gst/gstreamer-sections.txt: Update.
11408 * gst/gstmessage.c (gst_message_new_application): Made into a
11409 function like honest API calls.
11410 (gst_message_new_element): New message type.
11412 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11414 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11415 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11418 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11419 NO_PREROLL from gst_element_change_state to fall through.
11421 2005-10-07 Wim Taymans <wim@fluendo.com>
11423 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11424 (gst_ghost_pad_do_activate_push):
11425 Activating a ghostpad with no internal pad in push mode
11428 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11431 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11432 Fixes compilation on Windows.
11434 2005-10-07 Michael Smith <msmith@fluendo.com>
11436 * tools/gst-inspect.c:
11437 Print out feature and plugin count at the end when printing out
11440 2005-10-04 Michael Smith <msmith@fluendo.com>
11442 * gst/gsterror.c: (_gst_stream_errors_init):
11443 Add another error string used in a few existing plugins.
11446 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11447 * tools/gst-inspect.c: (print_element_info):
11448 When a feature disappears from a plugin (and the feature exists in
11449 the cached registry file), things went horribly wrong. This isn't a
11450 complete fix, we should actually be removing the 'missing' features
11451 from the features list when we load the actual plugin. That's not
11454 2005-10-04 Johan Dahlin <johan@gnome.org>
11456 * check/gst/gstiterator.c: (GST_START_TEST):
11457 * gst/gstbin.c: (gst_bin_iterate_elements),
11458 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11459 * gst/gstelement.c: (gst_element_iterate_pads):
11460 * gst/gstformat.c: (gst_format_iterate_definitions):
11461 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11462 (gst_iterator_new_list), (gst_iterator_filter):
11463 * gst/gstiterator.h:
11464 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11465 Add a GType to GstIterator, update callsites and tests.
11467 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11469 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11470 give events a chance to be handled by event probes when the pad
11473 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11475 * gst/gstevent.c: (gst_event_type_get_name),
11476 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11478 add string representations for event types
11480 2005-10-06 Wim Taymans <wim@fluendo.com>
11482 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11483 Don't use NULL pointers.
11485 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11487 * gst/gst_private.h:
11489 * gst/gstelement.c:
11491 * gst/gstpluginfeature.c:
11492 widen the debug category in output to fit the biggest one we have
11493 add a bus category and use it
11494 play with the colors
11495 fix up some categories
11497 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11499 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11500 add push activation of sink ghost pads.
11501 Andye, please verify
11503 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11505 * gst/gstutils.c: (gst_element_link_pads):
11506 fix a bug in the case where neither element has a pad
11507 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11508 add a test for that case
11510 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11512 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11513 emit have-data before checking for peers. This allows
11514 for probe handlers to connect elements. This helps autopluggers.
11515 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11517 add six checks, linked/unlinked with no/true/false probe
11519 2005-10-04 Wim Taymans <wim@fluendo.com>
11521 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11522 (gst_fake_sink_event), (gst_fake_sink_preroll),
11523 (gst_fake_sink_render), (gst_fake_sink_change_state):
11524 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11525 (gst_fake_src_get_property), (gst_fake_src_create),
11526 (gst_fake_src_stop):
11527 * gst/elements/gstidentity.c: (gst_identity_stop):
11528 Protect last_message with lock.
11530 2005-10-04 Edward Hervey <edward@fluendo.com>
11533 Added precision in the comments for GST_FORMAT_DEFAULT
11535 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11537 * tools/gst-launch.c: (main):
11538 Don't try to run erroneous pipelines.
11540 2005-10-04 Julien MOUTTE <julien@moutte.net>
11542 * gst/gstbus.c: We don't need this header.
11544 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11547 back to development
11549 === release 0.9.3 ===
11551 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11555 Releasing 0.9.3, "Unregistered"
11557 2005-10-03 Andy Wingo <wingo@pobox.com>
11559 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11560 whereby calling a pad's activatepush() function can start a thread
11561 that starts to push or pull before the pad gets the FLUSHING flag
11562 unset. Hack around it by holding the stream lock until the flag is
11563 set. Need to replace this with a proper solution. Together with
11564 the ghost pad fixes, this fixes mp3 playing/tagreading.
11566 * docs/design/part-gstghostpad.txt: Add a note about activation of
11567 proxy pads outside of ghost pads.
11569 * gst/gstghostpad.c: Implement the ghost pad activation design.
11571 2005-10-02 Andy Wingo <wingo@pobox.com>
11573 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11574 It is volatile, after all.
11576 * docs/design/part-gstghostpad.txt: Flesh out activation with
11579 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11582 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11585 Fix (unused) AM_CONDITIONAL tests.
11587 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11589 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11591 * gst/gstutils.c: (gst_pad_query_convert):
11592 Add assertion that makes sure src_val is >=0, just like
11593 gst_query_new_convert() has. (#315895)
11595 2005-09-30 Edward Hervey <edward@fluendo.com>
11597 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11598 Let's not iterate pads we're not interested in, it avoids getting
11599 sky-high refcounts on sinkpad.
11601 2005-09-30 Wim Taymans <wim@fluendo.com>
11603 * gst/gstelement.c: (gst_element_set_state),
11604 (gst_element_change_state):
11605 Small tweak, element in ASYNC remains ASYNC.
11607 2005-09-30 Wim Taymans <wim@fluendo.com>
11609 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11610 Only error is an error.
11612 * gst/gstbin.c: (gst_bin_change_state):
11615 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11616 Also call pad_block in pad alloc.
11618 * gst/gstutils.c: (gst_flow_get_name):
11621 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11623 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11624 (gst_base_src_get_range):
11625 Fix documentation typos. Add some more debug info.
11627 2005-09-29 David Schleef <ds@schleef.org>
11629 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11630 more end-user friendly.
11631 * tools/gst-inspect.c: (main): Check if command-line argument is
11632 a file and attempt to load that file as a plugin.
11634 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11636 * check/gst/gstbin.c:
11637 * check/states/sinks.c:
11638 fix tests for the new warning
11639 * check/gst/gstpipeline.c:
11640 add a test for pipeline and bus interaction
11641 * gst/gstelement.c:
11642 elements should be NULL if they get disposed; add a warning if not
11644 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11647 for 2.6 refcounting, make debug log more correct by printing
11648 the actual refcounts at the time of swap (Wim)
11650 2005-09-29 Andy Wingo <wingo@pobox.com>
11652 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11653 removes signal watches previously added via
11654 gst_bus_add_signal_watch.
11655 (gst_bus_add_signal_watch): Don't return the source id, just store
11656 it on the bus if there wasn't an id already.
11658 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11659 add_signal_watch and remove_signal_watch.
11661 2005-09-29 Edward Hervey <edward@fluendo.com>
11663 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11664 Better if we actually iterate the list :)
11666 2005-09-29 Wim Taymans <wim@fluendo.com>
11668 * check/gst/gstbin.c: (GST_START_TEST):
11669 Change for new bus API.
11671 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11672 (send_messages), (GST_START_TEST), (gstbus_suite):
11673 Change for new bus signal API.
11675 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11676 (gst_bus_source_prepare), (gst_bus_source_check),
11677 (gst_bus_create_watch), (gst_bus_add_watch_full),
11678 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11679 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11681 Remove support for multiple GSources operating on different
11682 message types as it is too complex and unneeded when using
11684 Added support for receiving signals from the bus.
11686 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11688 * docs/libs/tmpl/gstdataprotocol.sgml:
11689 * docs/manual/advanced-dataaccess.xml:
11690 * gst/elements/gstcapsfilter.c:
11692 rename filter-caps to caps property
11694 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11696 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11697 More robust fraction string parsing.
11699 * docs/pwg/appendix-porting.xml:
11700 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11702 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11704 * gst/gstcaps.c: (gst_caps_do_simplify):
11705 Thou shalt not free a structure and then continue using it
11706 in the next loop iteration.
11708 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11710 Add test case for caps simplification.
11712 2005-09-29 Wim Taymans <wim@fluendo.com>
11714 * check/gst/gstbin.c: (GST_START_TEST):
11717 2005-09-29 Wim Taymans <wim@fluendo.com>
11719 * check/gst/gstbin.c: (GST_START_TEST):
11722 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11723 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11724 (find_element), (gst_bin_sort_iterator_next),
11725 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11726 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11727 (gst_bin_change_state), (gst_bin_dispose):
11728 A bin does not have a bus, it gets the bus from the parent.
11730 * gst/gstelement.c: (gst_element_requires_clock),
11731 (gst_element_provides_clock), (gst_element_is_indexable),
11732 (gst_element_is_locked_state), (gst_element_change_state),
11733 (gst_element_set_bus_func):
11736 * gst/gstpipeline.c: (gst_pipeline_class_init),
11737 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11738 The pipeline provides a bus.
11740 2005-09-28 Johan Dahlin <johan@gnome.org>
11742 * gst/gstmessage.c (gst_message_parse_state_changed): Use
11743 gst_structure_get_enum instead of gst_structure_get_int
11745 * gst/gststructure.c (gst_structure_get_enum): Impl.
11747 * gst/gststructure.h (gst_structure_get_enum): Add
11749 * docs/gst/gstreamer-sections.txt: Ditto
11751 * gst/gstmessage.c (gst_message_new_state_changed): Use
11752 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11753 which does introspection.
11754 Reviewed by Christian Schaller
11756 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11758 * gst/gstinfo.c: (gst_debug_log_default):
11759 don't do dummy g_strdup()s
11760 * libs/gst/controller/gstcontroller.c:
11761 (on_object_controlled_property_changed),
11762 (gst_controlled_property_new), (gst_controller_new_valist),
11763 (gst_controller_new_list),
11764 (gst_controller_remove_properties_valist), (gst_controller_set),
11765 (gst_controller_get), (gst_controller_sync_values),
11766 (gst_controller_get_value_array), (_gst_controller_class_init),
11767 (gst_controller_get_type):
11768 * libs/gst/controller/gstcontroller.h:
11769 * libs/gst/controller/gstinterpolation.c:
11770 (gst_controlled_property_find_timed_value_node):
11771 convert // to /**/ comments
11773 2005-09-28 Wim Taymans <wim@fluendo.com>
11775 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11776 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11777 (gst_bus_sync_signal_handler):
11779 Added async-message and sync-message signals to the bus.
11780 Added helper BusFunc to emit signals for all posted messages.
11782 * gst/gstmessage.c: (gst_message_type_get_name),
11783 (gst_message_type_to_quark), (gst_message_get_type):
11784 * gst/gstmessage.h:
11785 Register quarks for message names.
11787 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11789 * docs/libs/gstreamer-libs-sections.txt:
11790 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11791 (gst_controller_new_list):
11792 * libs/gst/controller/gstcontroller.h:
11793 added another constructor for language bindings
11795 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
11797 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11801 * gst/gstinfo.c: (_gst_debug_init):
11802 slightly more readable color for refcount debugging
11804 2005-09-28 Wim Taymans <wim@fluendo.com>
11806 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11807 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11808 (find_element), (gst_bin_sort_iterator_next),
11809 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11810 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11811 (gst_bin_change_state), (gst_bin_dispose):
11812 Small doc fixes. get_clock -> provide_clock.
11814 * gst/gstelement.c: (gst_element_class_init),
11815 (gst_element_provides_clock), (gst_element_provide_clock),
11816 (gst_element_get_clock), (gst_element_commit_state),
11817 (gst_element_lost_state):
11818 * gst/gstelement.h:
11819 Make get/set_clock() symetric. Add provide_clock vmethod since
11820 that is actually what this function does.
11822 * gst/gstpipeline.c: (gst_pipeline_class_init),
11823 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11824 (gst_pipeline_get_clock):
11825 get_clock -> provide_clock.
11827 2005-09-28 Andy Wingo <wingo@pobox.com>
11829 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11830 lieu of real docs...
11832 * gst/elements/gstfdsrc.c: Cleaned up a bit.
11834 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
11836 * gst/elements/gstcapsfilter.c:
11837 * gst/elements/gstfakesink.c:
11838 * gst/elements/gstfakesrc.c:
11839 * gst/elements/gstfdsink.c:
11840 * gst/elements/gstfdsrc.c:
11841 * gst/elements/gstfilesink.c:
11842 * gst/elements/gstfilesrc.c:
11843 * gst/elements/gstidentity.c:
11844 * gst/elements/gsttee.c:
11845 * gst/elements/gsttypefindelement.c:
11846 Make element details static.
11848 2005-09-28 Wim Taymans <wim@fluendo.com>
11850 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11851 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11852 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11853 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11854 (gst_bin_change_state), (gst_bin_dispose):
11855 Some documentation updates.
11856 Clean up dispose handlers.
11858 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11859 * gst/gstpad.c: (gst_pad_dispose):
11860 Clean up dispose handler.
11862 * gst/gstpipeline.c: (gst_pipeline_change_state):
11863 Removed spurious UNLOCK.
11865 2005-09-27 Stefan Kost <ensonic@users.sf.net>
11867 * docs/gst/gstreamer-sections.txt:
11868 * gst/base/gstbasesrc.h:
11869 * gst/gstelement.h:
11873 * gst/gstpipeline.c:
11874 * gst/gstpipeline.h:
11877 added two new functions to the docs
11878 documents all undocumented GstXXXFlags
11879 completed some incomplete docs
11881 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
11883 * gst/gstbin.c: (gst_bin_dispose):
11884 * gst/gstelement.c: (gst_element_dispose):
11885 remove now useless and leaky resurrection code in dispose
11886 * gst/base/gstbasesrc.c: (gst_base_src_init):
11887 * gst/gstelementfactory.c: (gst_element_factory_create):
11888 * gst/gstobject.c: (gst_object_set_parent):
11891 2005-09-27 Wim Taymans <wim@fluendo.com>
11893 * docs/design/part-TODO.txt:
11896 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11897 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11898 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11899 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11900 (gst_bin_change_state):
11901 * gst/gstelement.h:
11902 Remove element variable, we keep element info in the iterator now.
11904 2005-09-27 Andy Wingo <wingo@pobox.com>
11906 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11909 2005-09-27 Wim Taymans <wim@fluendo.com>
11911 * check/gst/gstbin.c: (GST_START_TEST):
11912 Enable check that works now.
11914 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11915 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11916 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11917 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11918 (gst_bin_change_state):
11920 Redid the state change algorithm using a topological sort algo.
11921 Handles all cases correctly.
11922 Exposed iterator for state change order.
11924 * gst/gstelement.h:
11925 Temp storage for state changes. Need to get rid of this soon.
11927 2005-09-27 Wim Taymans <wim@fluendo.com>
11929 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
11930 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
11931 (link_fold_func), (gst_pad_proxy_setcaps):
11932 Leak fixes, the fold functions need to unref the passed object and
11933 _get_parent_*() returns ref to parent.
11935 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11937 * check/gst/gstbuffer.c: (test_make_writable):
11938 Plug leak in test case and fix 'make check-valgrind'
11940 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11942 * gst/gstbuffer.c: (gst_subbuffer_init):
11943 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
11944 works correctly in all circumstances (we could have just copied
11945 the parent buffer's readonly flag, but conceptually it seems
11946 cleaner to mark all subbuffers as read-only). (based on patch
11947 by Alessandro Decina, #314710).
11949 * check/gst/gstbuffer.c: (create_read_only_buffer),
11950 (test_make_writable), (test_subbuffer_make_writable),
11952 Add some tests for gst_buffer_make_writable().
11954 2005-09-27 Wim Taymans <wim@fluendo.com>
11956 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
11957 use gst_object_has_ancestor().
11959 * gst/gstobject.c: (gst_object_has_ancestor):
11961 gst_object_has_ancestor() copied from gstbin.c as it is a
11964 * tests/instantiate/create.c: (create_all_elements):
11965 * tests/lat.c: (handoff_src), (handoff_sink):
11966 * tests/sched/runxml.c: (main):
11967 * tests/seeking/seeking1.c: (main):
11968 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
11970 Fix compilation of some tests.
11972 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
11975 Remove comment. GST_TYPE_G_ERROR is here to stay,
11976 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
11977 (#316961, #300610).
11979 2005-09-26 Wim Taymans <wim@fluendo.com>
11981 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11982 Added check that shows error in state change order.
11984 2005-09-26 Wim Taymans <wim@fluendo.com>
11986 * gst/gstbin.c: (gst_bin_change_state):
11987 Make state change function use 3 queues again, we were
11988 adding elements in the wrong order.
11990 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11993 * gst/gstpad.c: (gst_pad_dispose):
11994 Added some debug info first.
11996 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
11998 * docs/design/draft-push-pull.txt:
11999 * docs/design/part-events.txt:
12000 * docs/design/part-overview.txt:
12001 * docs/design/part-scheduling.txt:
12002 Replace all _pull_region() with _pull_range()
12004 2005-09-26 Andy Wingo <wingo@pobox.com>
12006 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12008 * check/gst-libs/controller.c: Update for controller api change.
12011 * tests/Makefile.am:
12012 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12013 over by GLib bug 118439.
12015 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12016 routines to a function.
12018 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12020 * libs/gst/controller/gsthelper.c:
12021 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12022 (gst_object_sync_values): Renamed from sink_values. Ugh.
12024 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12026 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12027 Renamed from controller_key, as it is exported.
12029 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12031 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12036 * gst/gstpadtemplate.h:
12039 * gst/gstqueryutils.c:
12040 * gst/gstqueryutils.h:
12041 remove queryutils headers after moving the two used functions
12042 to gstquery. also fixes build problem for gstsiddec
12044 2005-09-26 Michael Smith <msmith@fluendo.com>
12046 * tools/gst-launch.1.in:
12047 Correct documentation in manpage of debug syntax
12049 2005-09-26 Wim Taymans <wim@fluendo.com>
12051 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12052 (gst_base_src_is_seekable), (gst_base_src_change_state):
12053 Some more debugging info.
12055 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12057 * docs/gst/gstreamer-sections.txt:
12058 * gst/base/gstbasetransform.h:
12062 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12064 * docs/gst/.cvsignore:
12065 * docs/gst/tmpl/.cvsignore:
12066 * docs/gst/tmpl/gstpipeline.sgml:
12067 * docs/gst/tmpl/gstplugin.sgml:
12068 * gst/gstpipeline.c:
12071 inlined the last two docs files
12072 removed the tmpl directory from cvs (no more conflicts here!)
12074 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12076 * docs/gst/gstreamer-sections.txt:
12077 * docs/gst/tmpl/.cvsignore:
12078 * docs/gst/tmpl/gstpad.sgml:
12079 * docs/gst/tmpl/gstpadtemplate.sgml:
12081 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12082 (gst_pad_finalize), (gst_pad_set_pad_template):
12084 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12085 (gst_pad_template_class_init), (gst_pad_template_init),
12086 (gst_pad_template_dispose), (name_is_valid),
12087 (gst_static_pad_template_get), (gst_pad_template_new),
12088 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12089 (gst_pad_template_pad_created):
12090 * gst/gstpadtemplate.h:
12091 inlined two more docs
12092 factored gstpadtemplate out of gstpad
12094 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12096 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12097 (test_children_state_change_order_semi_sink):
12098 Fix test case: we can't rely on a fixed state change order when
12099 going from READY => PAUSED because the sink might commit its
12100 new state first when the first buffer created by the source
12101 reaches the sink before the source has finished its change state.
12102 (Test case still fails at times, see #316856, comment 5 onwards)
12104 2005-09-24 Wim Taymans <wim@fluendo.com>
12106 * docs/design/part-events.txt:
12107 * docs/design/part-gstbus.txt:
12108 * docs/design/part-gstpipeline.txt:
12109 * docs/design/part-messages.txt:
12110 * docs/design/part-overview.txt:
12111 * docs/design/part-segments.txt:
12115 * gst/gstelement.c:
12118 * gst/gstiterator.c:
12119 Various documentation updates.
12121 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12124 Well, that's embarassing. Luckily we weren't using
12125 GST_CLOCK_DIFF anywhere.
12127 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12129 * common/gtk-doc.mak:
12130 don't fail on building XML, FC4 slave shows a bunch of doc
12131 missing bits that I don't get
12133 * gst/gstpipeline.c:
12134 * gst/gststructure.c:
12137 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12139 * docs/design/part-gstbin.txt:
12140 * docs/design/part-gstbus.txt:
12142 Add blurb about how the bus goes into flushing mode and
12143 drops all messages when its bin goes from READY into NULL
12146 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12148 * docs/gst/gstreamer-sections.txt:
12149 * gst/gststructure.c: (gst_structure_get_clock_time):
12150 * gst/gststructure.h:
12151 add a method to get a GstClockTime out of a structure
12153 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12155 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12156 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12157 Added test to check state change order in bins (can still be made
12158 to fail here under heavy disk load; bails out with 'Push on pad
12159 fakesink:sink0, but it was not activated in push mode').
12161 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12162 Fix state change order when there is only a semi sink (#316856)
12164 * gst/gstbus.c: (gst_bus_class_init):
12165 Use _class_peek_parent(), not _class_ref(); fix docs to say
12166 'default main context' instead of 'mainloop' where that is
12169 * gst/gstelement.c: (gst_element_commit_state),
12170 (gst_element_set_state):
12171 Fix typos in debug messages
12173 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12176 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12177 * gst/gstpluginfeature.c:
12179 various doc updates
12180 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12181 change an assert into an error until it gets fixed properly
12183 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12185 * docs/gst/gstreamer-sections.txt:
12186 * docs/gst/tmpl/.cvsignore:
12187 * docs/gst/tmpl/gstelement.sgml:
12188 * docs/gst/tmpl/gstinfo.sgml:
12189 * docs/gst/tmpl/gstobject.sgml:
12190 * gst/gstelement.c:
12191 * gst/gstelement.h:
12194 * gst/gstobject.c: (gst_object_class_init):
12196 inlined 3 more biiiig doc files and added some missing docs on the fly
12198 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12200 * check/gst/.cvsignore:
12201 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12202 * gst/gstregistryxml.c: (load_plugin),
12203 (gst_registry_xml_save_plugin):
12204 put back source in registry. add checks for find_plugin.
12205 * testsuite/states/bin.c: (assert_state), (empty_bin),
12206 (test_adding_one_element), (main):
12207 * testsuite/states/locked.c: (main):
12208 some compile/run fixes
12210 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12212 * check/gst/gstvalue.c: (GST_START_TEST):
12213 fix leaks in the test itself
12215 2005-09-22 Wim Taymans <wim@fluendo.com>
12217 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12218 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12219 (gst_base_sink_query):
12220 Prepare for more accurate position reporting and query
12223 * gst/gstelement.c: (gst_element_send_event),
12224 (gst_element_set_state):
12227 2005-09-22 Wim Taymans <wim@fluendo.com>
12229 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12230 (gst_query_parse_segment):
12232 More documentation.
12233 Add segment query for future use.
12235 2005-09-22 Wim Taymans <wim@fluendo.com>
12237 * gst/gstbin.c: (gst_bin_add_func):
12238 Some more debug info.
12240 * gst/gstelement.c: (gst_element_send_event):
12241 Simplify send_event
12243 * gst/gstelement.h:
12244 Don't know how flags got broken.
12249 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12251 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12252 Add simplistic test suite for GST_TYPE_DATE serialisation and
12255 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12257 * docs/gst/gstreamer-sections.txt:
12258 * gst/gststructure.c: (gst_structure_set_valist),
12259 (gst_structure_get_date):
12260 * gst/gststructure.h:
12261 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12262 (gst_date_copy), (gst_value_compare_date),
12263 (gst_value_serialize_date), (gst_value_deserialize_date),
12264 (gst_value_transform_date_string),
12265 (gst_value_transform_string_date), (_gst_value_initialize):
12267 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12268 bunch of utility functions along with a hack that checks that
12269 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12270 is required. Part of the grand scheme in #170777.
12272 2005-09-22 Andy Wingo <wingo@pobox.com>
12274 * gst/gstconfig.h.in: Psych out gtk-doc.
12276 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12278 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12280 * tools/gst-inspect.c (print_element_list): Plug some
12281 inconsequential leaks.
12283 * gst/gstregistry.c (gst_registry_get_default): Doc.
12285 * check/gst/gstplugin.c:
12286 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12287 * gst/gstelementfactory.c (gst_element_factory_create):
12288 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12291 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12292 (gst_plugin_feature_load): Doc, don't eat refs.
12294 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12295 (gst_plugin_list_free): Doc.
12296 (gst_plugin_load_file): Doc updates.
12298 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12299 accessors returning refcounted objects, return a ref.
12301 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12302 accessor for caps. IDEMPOTENCE. Oh yes.
12304 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12306 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12308 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12309 (_gst_debug_register_funcptr):
12310 Add mutex to serialise access to the hash table with
12311 the function pointer => function name string mapping;
12312 make that hash table static scope (#316809).
12314 * gst/registries/.cvsignore:
12315 Remove left-over file.
12317 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12319 * docs/pwg/appendix-porting.xml:
12320 And something about newsegment events and caps-on-buffers to
12321 the porting guide (feel free to improve).
12323 2005-09-21 Andy Wingo <wingo@pobox.com>
12325 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12326 data and event probes on the same pad.
12327 (test_buffer_probe_once): Test that removing probes from within
12328 the probe functions works.
12330 2005-09-21 Andy Wingo <wingo@pobox.com>
12332 * check/gst/gstutils.c: New file.
12333 (test_buffer_probe_n_times): A simple buffer probe test. More to
12336 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12337 have-data::buffer, not have-data.
12338 (gst_pad_add_event_probe): Likewise for have-data::event.
12339 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12340 peer' isn't quite right yet though.
12341 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12342 (gst_pad_remove_data_probe): Change to take the guint handler_id
12343 as their arg, not the function+data, which is more glib-like.
12345 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12346 the signal emission to indicate if the data is a buffer or an
12348 (gst_pad_get_type): Initialize buffer and event quarks.
12349 (gst_pad_class_init): have-data is now a detailed signal, yes it
12352 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12354 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12355 * gst/gstutils.c: (gst_util_set_value_from_string),
12356 (gst_util_set_object_arg):
12357 Don't put functional code in g_return_if_fail() or
12358 g_return_val_if_fail() statements, otherwise things will
12359 break when G_DISABLE_CHECKS is defined during compilation.
12361 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12363 * docs/gst/tmpl/.cvsignore:
12364 * docs/gst/tmpl/gstvalue.sgml:
12367 inlied another one and added some obvious docs
12369 2005-09-21 Wim Taymans <wim@fluendo.com>
12371 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12372 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12373 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12374 (gst_fdsrc_get_property), (gst_fdsrc_create):
12375 * gst/elements/gstfdsrc.h:
12376 Properly implement fdsrc. Removed signal and timeout,
12377 better implemented somewhere else.
12379 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12381 * docs/gst/tmpl/.cvsignore:
12382 * docs/gst/tmpl/gstimplementsinterface.sgml:
12383 * gst/gstinterface.c:
12386 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12388 * docs/gst/gstreamer-sections.txt:
12389 * docs/gst/tmpl/.cvsignore:
12390 * docs/gst/tmpl/gstenumtypes.sgml:
12391 remove obsolete doc file
12393 2005-09-21 David Schleef <ds@schleef.org>
12395 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12396 little beer, fix a little leak.
12398 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12400 * docs/gst/gstreamer-docs.sgml:
12401 * docs/gst/gstreamer-sections.txt:
12402 * docs/gst/tmpl/.cvsignore:
12406 * gst/gstelement.h:
12407 * gst/gstindex.c: (gst_index_class_init):
12409 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12410 (gst_index_factory_class_init), (gst_index_factory_init),
12411 (gst_index_factory_finalize), (gst_index_factory_new),
12412 (gst_index_factory_destroy), (gst_index_factory_find),
12413 (gst_index_factory_create), (gst_index_factory_make):
12414 * gst/gstindexfactory.h:
12415 * gst/gstpluginfeature.c:
12416 * gst/gstpluginfeature.h:
12417 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12418 more docs inlined, splitted gstindex.{c,h}
12420 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12422 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12425 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12427 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12428 Set sync to FALSE by default.
12430 2005-09-20 Wim Taymans <wim@fluendo.com>
12432 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12433 (gst_base_sink_init):
12434 Make sync property settable from subclass.
12436 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12437 (gst_fake_sink_change_state):
12438 Set sync to FALSE by default.
12440 2005-09-20 Wim Taymans <wim@fluendo.com>
12442 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12443 * tools/gst-launch.c: (main):
12444 The timeout handler should have lower priority than the source
12445 so we don't timeout before popping a message with 0 timeout.
12446 Dump error messages after failed state change.
12448 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12450 * tools/gst-inspect.c: (print_element_properties_info):
12453 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12455 * check/gst/gstevent.c:
12456 * gst/elements/gstfakesink.c:
12457 * gst/elements/gstfakesink.h:
12458 remove the sync property from fakesink.
12459 has the side effect of setting sync TRUE
12460 for fakesink, which is a change. Anyone who knows how
12461 to fix this nicely in a GObject-y way, feel free.
12463 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12465 * docs/gst/gstreamer-docs.sgml:
12466 remove probe refsection
12468 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12470 * check/Makefile.am:
12471 disable valgrinding the controller test again
12472 * docs/gst/gstreamer-sections.txt:
12473 update for api-changes
12475 2005-09-20 Wim Taymans <wim@fluendo.com>
12477 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12478 (gst_base_sink_set_property), (gst_base_sink_get_property),
12479 (gst_base_sink_do_sync):
12480 * gst/base/gstbasesink.h:
12481 Added sync property to basesink to disable clock sync.
12483 2005-09-20 Andy Wingo <wingo@pobox.com>
12485 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12486 eating the caller's refcount.
12488 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12489 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12492 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12493 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12494 of GLib 2.8 public, so we can know which refcount to check in
12497 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12498 (gst_object_init): Only set the gst refcount if we're going ahead
12499 with the refcount hack.
12501 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12503 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12504 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12505 more leaks plumbed, added more debug-logging
12509 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12511 * gst/gstmessage.c:
12512 remove include of gstmemchunk.h
12514 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12516 * gst/gstclock.c: (_gst_clock_id_free):
12517 Commit from the Political Party For More Atomic CVS Commits,
12518 so that people don't waste too much of their day fishing
12519 out obvious leaks out of massive commits.
12520 Oh, and fix a pretty damn obvious leak in the memchunk
12523 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12525 * check/Makefile.am:
12526 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12527 plug mem-leak, re-add to valgrindable tests
12529 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12532 unbreak the build for those who have chronic arthritis
12533 and typing "make check" is just too taxing on the hands
12535 2005-09-20 Andy Wingo <wingo@pobox.com>
12537 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12538 really want it out, you should fix plugins at the same time.
12540 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12543 * docs/gst/gstreamer-sections.txt:
12545 added missing symbols to api docs
12546 disable ref-count hack if we have glib >= 2.8
12548 2005-09-19 David Schleef <ds@schleef.org>
12550 * docs/gst/Makefile.am: Ignore a few more internal headers
12551 * docs/gst/gstreamer-docs.sgml: Remove old sections
12552 * docs/gst/gstreamer-sections.txt: Remove old sections
12553 * docs/gst/tmpl/gstobject.sgml: update
12554 * docs/gst/tmpl/gstplugin.sgml: update
12555 * docs/gst/tmpl/gstpluginfeature.sgml: update
12556 * docs/random/ds/0.9-suggested-changes: update.
12557 * gst/Makefile.am: remove memchunk and trashstack, since they're
12559 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12560 * gst/gst.h: don't include some headers
12561 * gst/gstchildproxy.c: add gstmarshal.h
12562 * gst/gstclock.c: Don't use memchunks
12563 * gst/gstminiobject.c: Add some docs
12564 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12565 * gst/gstobject.h: same
12566 * gst/gstplugin.c: include gstmacros.h
12567 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12568 * gst/gstquery.c: don't use memchunks
12569 * gst/gstregistry.c: rename gst_registry_deinit()
12570 * gst/gstregistry.h: same
12572 2005-09-19 David Schleef <ds@schleef.org>
12574 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12575 * docs/libs/gstreamer-libs-sections.txt:
12576 * docs/libs/tmpl/gstgetbits.sgml:
12577 * docs/libs/tmpl/gstputbits.sgml:
12579 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12581 * win32/gstenumtypes.c:
12582 * win32/gstenumtypes.h:
12585 2005-09-19 Wim Taymans <wim@fluendo.com>
12587 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12588 Automatically PAUSE and RESUME a pipeline when a flushing seek
12591 2005-09-19 Andy Wingo <wingo@pobox.com>
12593 * gst/gstregistry.h: Spacing fixen.
12595 2005-09-19 Wim Taymans <wim@fluendo.com>
12597 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12598 Handle state change failure more correctly.
12600 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12602 * check/Makefile.am:
12603 * check/pipelines/cleanup.c: (run_pipeline):
12604 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12606 enable cleanup again after fixing the leak
12608 some more info on docs
12610 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12612 * check/Makefile.am:
12613 re-enable tests now that leaks are plugged
12615 * check/gst/gstbin.c:
12616 * check/gst/gstpipeline.c:
12617 add some more tests while fixing leaks
12618 * common/check.mak:
12619 make sure binaries are uptodate when valgrinding/gdbing
12621 * gst/gstelementfactory.c:
12622 remove a ref too many, and add a FIXME for when we get
12623 round to disposing of classes
12625 fix the refcounting when loading a plugin from a file and
12626 the code pretends that the pointer is the same even though
12627 of course it can change
12628 * gst/gstpluginfeature.c:
12629 unref plugins marked cached (a bit confusing as a name)
12630 as the docs state should be done
12631 various doc additions to explain refcounting
12632 * gst/gstregistry.c:
12633 * gst/gstregistryxml.c:
12636 2005-09-19 Wim Taymans <wim@fluendo.com>
12638 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12639 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12640 (send_messages), (GST_START_TEST), (gstbus_suite):
12641 * check/gst/gstpipeline.c: (GST_START_TEST):
12642 * check/pipelines/cleanup.c: (run_pipeline):
12643 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12645 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12646 (gst_bus_source_check), (gst_bus_source_dispatch),
12647 (gst_bus_create_watch), (gst_bus_add_watch_full),
12648 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12650 * tools/gst-launch.c: (event_loop):
12651 * tools/gst-md5sum.c: (event_loop):
12652 GstBusHandler -> GstBusFunc, return value has the same meaning as
12653 any other GSource (FALSE == remove source).
12654 _add_watch() and _add_watch_full() now take a MessageType mask to
12655 only handle specific types of messages.
12656 _poll() returns the GstMessage instead of the message type to avoid
12658 _have_pending() takes a MessageType mask now too.
12659 Added testsuite for multiple bus watches.
12660 Fix testsuites and applications for new bus API.
12662 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12664 * check/Makefile.am:
12665 mark a bunch of the tests as to fix until we fix them
12667 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12669 * common/check.mak:
12670 use GST_PLUGIN settings for valgrind tests as well, so we're
12671 valgrinding the correct thing
12672 * gst/gst.c: (init_post):
12675 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12677 * gst/gst.c: (init_post), (gst_deinit):
12678 * gst/gstelementfactory.c: (gst_element_factory_class_init),
12679 (gst_element_factory_finalize), (gst_element_factory_cleanup):
12680 * gst/gstindex.c: (gst_index_factory_class_init),
12681 (gst_index_factory_finalize):
12682 * gst/gstobject.c: (gst_object_dispose):
12683 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12684 (gst_plugin_load_file), (gst_plugin_desc_free):
12685 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12686 (gst_plugin_feature_finalize):
12687 * gst/gstregistry.c: (gst_registry_class_init),
12688 (gst_registry_init), (gst_registry_finalize),
12689 (gst_registry_get_default), (gst_registry_deinit):
12690 * gst/gstregistry.h:
12691 * gst/gstregistryxml.c: (load_feature), (load_plugin):
12692 various cleanups and memleak plugging. make valgrind is happy now.
12694 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12696 * common/check.mak:
12697 add a check-valgrind target
12699 2005-09-18 David Schleef <ds@schleef.org>
12701 * tools/gst-inspect.c: Revert the GOption code.
12703 2005-09-17 David Schleef <ds@schleef.org>
12705 * check/Makefile.am: Fix environment variables.
12706 * check/gst/gstplugin.c: Fix for API changes.
12707 * tools/gst-inspect.c: Fix for API changes.
12708 * tools/gst-xmlinspect.c: Fix for API changes.
12709 * gst/gstelementfactory.c:
12712 * gst/gstpluginfeature.c:
12713 * gst/gstpluginfeature.h:
12714 * gst/gstregistry.c:
12715 * gst/gstregistry.h:
12716 * gst/gstregistryxml.c:
12717 * gst/gsttypefind.c:
12718 * gst/gsttypefindfactory.c:
12719 * gst/indexers/gstfileindex.c:
12720 * gst/indexers/gstmemindex.c:
12721 * gst/schedulers/Makefile.am:
12722 Change registry to keep track of both plugins and features,
12723 removing the feature tracking from plugins themselves.
12725 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12727 * check/Makefile.am:
12728 * tools/gst-register.1.in:
12729 remove gst-register
12731 2005-09-15 David Schleef <ds@schleef.org>
12733 * check/gst/gstplugin.c:
12734 * gst/gstelementfactory.c:
12736 * gst/gstpluginfeature.c:
12737 * gst/gstregistry.c:
12738 Getting tired of debugging. Disabled all the unreffing of
12739 plugins and features, which fixes the segfaults, but of
12740 course leaks like crazy. At least playbin works.
12742 2005-09-15 David Schleef <ds@schleef.org>
12744 * check/gst/gstplugin.c: (register_check_elements),
12745 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12747 * gst/elements/gsttypefindelement.c: Fix refcounting.
12748 * gst/gsttypefind.c:
12749 * gst/gsttypefindfactory.c:
12750 * gst/gsttypefindfactory.h:
12752 2005-09-15 David Schleef <ds@schleef.org>
12754 * gst/gstindex.c: get refcounting correct.
12755 * gst/gstregistry.c: Handle the case where a feature/plugin is
12758 2005-09-15 David Schleef <ds@schleef.org>
12760 * check/Makefile.am:
12761 * check/gst/gstplugin.c: Add test
12762 * gst/gstplugin.c: Fix problems noticed by testsuite
12764 * gst/gstregistry.c:
12765 * gst/gstregistry.h:
12767 2005-09-15 David Schleef <ds@schleef.org>
12769 * gst/gstplugin.c: Implement semi-decent recounting and locking
12770 in plugins and plugin features.
12772 * gst/gstpluginfeature.c:
12773 * gst/gstpluginfeature.h:
12774 * gst/gstregistry.c:
12776 2005-09-15 Michael Smith <msmith@fluendo.com>
12778 * gst/gstregistry.c: (gst_registry_get_feature_list):
12779 Implement this. Makes oggdemux work; decodebin still broken.
12781 2005-09-14 David Schleef <ds@schleef.org>
12783 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12785 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12786 * gst/check/Makefile.am:
12787 * libs/gst/controller/Makefile.am:
12788 * libs/gst/dataprotocol/Makefile.am:
12790 2005-09-14 David Schleef <ds@schleef.org>
12792 * configure.ac: Remove getbits library. Nothing uses it, and
12793 it should be in something like liboil if someone did want
12795 * libs/gst/Makefile.am:
12796 * libs/gst/getbits/Makefile.am:
12797 * libs/gst/getbits/gbtest.c:
12798 * libs/gst/getbits/getbits.c:
12799 * libs/gst/getbits/getbits.h:
12800 * libs/gst/getbits/gstgetbits_generic.c:
12801 * libs/gst/getbits/gstgetbits_i386.s:
12802 * libs/gst/getbits/gstgetbits_inl.h:
12804 2005-09-14 David Schleef <ds@schleef.org>
12806 * gst/Makefile.am: Dist glib-compat.h
12808 2005-09-14 David Schleef <ds@schleef.org>
12810 * configure.ac: Remove gst/registries, since it's no longer used.
12811 * gst/registries/Makefile.am:
12812 * gst/registries/gstlibxmlregistry.c:
12813 * gst/registries/gstlibxmlregistry.h:
12814 * gst/registries/gstxmlregistry.c:
12815 * gst/registries/gstxmlregistry.h:
12816 * gst/registries/registrytest.c:
12818 2005-09-14 David Schleef <ds@schleef.org>
12820 * gst/glib-compat.h:
12821 * gst/gstregistryxml.c:
12822 Convergence is near. Seriously.
12824 2005-09-14 David Schleef <ds@schleef.org>
12826 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12827 * gst/glib-compat.h:
12828 Attempt #4 to appease the buildbots.
12830 2005-09-14 David Schleef <ds@schleef.org>
12832 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12835 2005-09-14 David Schleef <ds@schleef.org>
12837 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12840 2005-09-14 David Schleef <ds@schleef.org>
12842 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12845 2005-09-14 David Schleef <ds@schleef.org>
12847 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12848 * gst/glib-compat.h: Add some functions that are in newer versions
12849 of glib than we care to require.
12850 * gst/gstregistryxml.c: Use them.
12852 2005-09-14 David Schleef <ds@schleef.org>
12854 * po/POTFILES.in: remove gst-register.c
12856 2005-09-14 David Schleef <ds@schleef.org>
12858 * docs/gst/gstreamer-docs.sgml:
12859 * docs/gst/gstreamer-sections.txt:
12860 * docs/gst/gstreamer.types:
12861 * docs/gst/tmpl/gstelement.sgml:
12862 * docs/gst/tmpl/gstplugin.sgml:
12863 * docs/gst/tmpl/gstpluginfeature.sgml:
12864 Documentation updates for registry changes.
12866 2005-09-14 David Schleef <ds@schleef.org>
12868 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12869 because we don't require glib-2.8.
12871 2005-09-14 David Schleef <ds@schleef.org>
12873 * gst/gstregistryxml.c: Added. Essentially moved out of the
12874 registries directory.
12876 2005-09-14 David Schleef <ds@schleef.org>
12878 * check/Makefile.am:
12879 * check/generic/states.c:
12883 * gst/gst_private.h:
12884 * gst/gstelementfactory.c:
12889 * gst/gstpluginfeature.c:
12890 * gst/gstpluginfeature.h:
12891 * gst/gstregistry.c:
12892 * gst/gstregistry.h:
12893 * gst/gstregistrypool.c: remove
12894 * gst/gstregistrypool.h: remove
12895 * gst/gsttypefind.c:
12896 * gst/gsttypefindfactory.c:
12898 * tools/Makefile.am:
12899 * tools/gst-compprep.c:
12900 * tools/gst-inspect.c:
12901 * tools/gst-register.c: remove
12902 * tools/gst-xmlinspect.c:
12903 Registry rewrite. Changes registry from being a file created
12904 by a tool into a simple cache file created automatically by
12905 libgstreamer. Removed gst-register (because it's no longer
12906 needed). Remove registry pools, because we only have one
12907 registry implementation (XML). Fix up other subsystems as
12910 2005-09-13 Michael Smith <msmith@fluendo.com>
12912 * gst/gstconfig.h.in:
12913 Don't Use windows linking attributes for MinGW. Fixes #316157
12915 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
12917 * gst/gstutils.c: (set_state_async_thread_func),
12918 (gst_element_set_state_async):
12919 Apparently people think it's better if this function doesn't
12920 try to set the state to whatever state was asked for on the first
12921 call to this function for any object. Seriously.
12923 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12925 * check/gst/gstpipeline.c: (GST_START_TEST):
12926 * docs/gst/gstreamer-sections.txt:
12927 * gst/gstutils.c: (set_state_async_thread_func),
12928 (gst_element_set_state_async):
12930 add a "gst_element_set_state_async" method that
12931 sets the state and starts a thread to make sure the state
12932 change completes as best as it can
12934 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12936 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12937 codify design+behaviour in testsuite after discussion
12939 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
12941 * docs/gst/tmpl/gstelement.sgml:
12942 * docs/manual/appendix-quotes.xml:
12944 * gst/gstelement.c: (gst_element_set_state):
12947 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
12949 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
12950 (gst_base_transform_prepare_output_buf),
12951 (gst_base_transform_handle_buffer):
12952 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
12953 (gst_capsfilter_prepare_buf):
12954 Remove the requirement for sub-classes to call the parent
12955 implementation of prepare_output_buffer with a wrapper function.
12957 * gst/gsttaglist.h:
12958 * gst/gsttagsetter.h:
12959 Fix #define wrapper
12961 2005-09-11 Stefan Kost <ensonic@users.sf.net>
12963 * docs/gst/gstreamer-sections.txt:
12966 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12968 * docs/gst/gstreamer-sections.txt:
12969 * docs/gst/tmpl/gstelement.sgml:
12970 * docs/gst/tmpl/gstplugin.sgml:
12971 * gst/gstminiobject.c:
12973 docs now stop throwing warnings
12975 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12977 * docs/gst/gstreamer-sections.txt:
12978 * docs/gst/gstreamer.types:
12979 * docs/gst/tmpl/gstpad.sgml:
12980 * docs/gst/tmpl/gsttypes.sgml:
12981 * gst/base/gstadapter.h:
12982 * gst/base/gstbasesink.h:
12983 * gst/base/gstbasesrc.h:
12989 * gst/gstelement.h:
12991 * gst/gstmessage.h:
12993 * gst/gststructure.c:
12994 * gst/registries/gstlibxmlregistry.h:
12995 various documentation fixes
12997 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12999 * docs/gst/gstreamer-sections.txt:
13000 * docs/gst/tmpl/gstvalue.sgml:
13001 rearrange gstvalue section
13002 * gst/gstutils.c: (gst_element_state_get_name):
13004 * gst/gstvalue.c: (_gst_value_initialize):
13008 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13010 * check/gst-libs/controller.c:
13011 Header include fix.
13012 * gst/base/gstbasetransform.c:
13013 (gst_base_transform_default_prepare_buf),
13014 (gst_base_transform_handle_buffer):
13015 * gst/base/gstbasetransform.h:
13016 Some more basetransform changes and fixes to enable sub-classes
13017 that modify buffer metadata only.
13018 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13019 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13020 (gst_capsfilter_prepare_buf):
13021 If the output pad has fixed allowed caps and input buffers
13022 don't have any, set the fixed caps on outgoing buffers.
13024 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13025 * check/elements/identity.c: (GST_START_TEST):
13026 Make the error a little clearer when the test fails because
13027 identity made a copy of the buffer.
13028 * docs/gst/gstreamer-sections.txt:
13029 New symbols in gstbasetransform.h
13030 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13031 (gst_base_transform_init), (gst_base_transform_transform_size),
13032 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13033 (gst_base_transform_default_prepare_buf),
13034 (gst_base_transform_get_unit_size),
13035 (gst_base_transform_buffer_alloc),
13036 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13037 (gst_base_transform_change_state),
13038 (gst_base_transform_set_passthrough),
13039 (gst_base_transform_set_in_place),
13040 (gst_base_transform_is_in_place):
13041 * gst/base/gstbasetransform.h:
13042 Change BaseTransform to separate in_place operate from same_caps
13043 output. in_place implies that the element can perform the transform
13044 on incoming buffers in-place, even if the caps on the output are
13046 Sub-class elements can now implement special buffer allocation
13047 methods for outgoing buffers if they wish to.
13048 Big documentation addition.
13049 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13050 * gst/elements/gstelements.c:
13051 Changes for basetransform modifications.
13052 * gst/elements/Makefile.am:
13053 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13054 Compile fix. Extra debug output.
13056 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13058 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13060 add tests for valid pad naming
13061 * gst/check/gstcheck.c: (gst_check_log_message_func),
13062 (gst_check_log_critical_func):
13064 remove printing of code, it is fragile when the code contains
13065 % and the line number is enough info
13066 * gst/check/gstcheck.h:
13067 * gst/gstpad.c: (gst_pad_template_new):
13070 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13073 say what CHECK flags we use
13074 * docs/libs/gstreamer-libs.types:
13075 * libs/gst/controller/Makefile.am:
13076 * libs/gst/controller/gst-controller.c:
13077 * libs/gst/controller/gst-controller.h:
13078 * libs/gst/controller/gst-helper.c:
13079 * libs/gst/controller/gst-interpolation.c:
13080 * libs/gst/controller/gstcontroller.c:
13081 * libs/gst/controller/gsthelper.c:
13082 * libs/gst/controller/gstinterpolation.c:
13083 * tools/gst-inspect.c: (print_plugin_info):
13084 we don't use dashes in header names
13086 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13088 * check/Makefile.am:
13089 * check/gst/.cvsignore:
13090 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13091 (gst_pipeline_suite), (main):
13092 adding a test for pipelines and state changes
13093 * gst/gstutils.c: (get_state_func):
13095 * gstreamer.spec.in:
13098 2005-09-08 Michael Smith <msmith@fluendo.com>
13100 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13101 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13102 (gst_file_src_is_seekable), (gst_file_src_get_size),
13103 (gst_file_src_start):
13104 * gst/elements/gstfilesrc.h:
13105 Various fixes for unseekable, unmmapable, and non-normal files, so
13106 that fallback to read() rather than mmap() works.
13107 * gst/gstevent.c: (gst_event_new_newsegment):
13108 Allow newsegment events with segment_start == segment_end, as will
13109 correctly happen if you use filesrc on a zero-size file, for
13112 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13114 * gst/gstplugin.c: (gst_plugin_load_file):
13115 Call g_module_close when we don't load the module
13117 * gst/registries/gstlibxmlregistry.c:
13118 (gst_xml_registry_get_property):
13119 Port leak fix from 0.8
13121 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13123 * docs/gst/gstreamer-docs.sgml:
13124 * docs/gst/tmpl/.cvsignore:
13125 * docs/gst/tmpl/gsttrace.sgml:
13126 * docs/gst/tmpl/gsttrashstack.sgml:
13129 * gst/gstelement.h:
13131 * gst/gstmessage.c:
13132 * gst/gstmessage.h:
13135 * gst/gsttaginterface.c:
13136 * gst/gsttaginterface.h:
13137 * gst/gsttaglist.c:
13138 * gst/gsttaglist.h:
13139 * gst/gsttagsetter.c:
13140 * gst/gsttagsetter.h:
13143 * gst/gsttrashstack.c:
13144 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13145 inlined docs for gsttrace, gsttrashstack
13147 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13150 * gst/elements/gstbufferstore.h:
13151 * gst/elements/gsttypefindelement.c:
13152 * gst/elements/gsttypefindelement.h:
13154 * gst/gsttypefind.c:
13155 * gst/gsttypefind.h:
13156 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13157 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13158 (gst_type_find_factory_dispose),
13159 (gst_type_find_factory_unload_thyself),
13160 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13161 (gst_type_find_factory_get_caps),
13162 (gst_type_find_factory_get_extensions),
13163 (gst_type_find_factory_call_function):
13164 * gst/gsttypefindfactory.h:
13165 * gst/registries/gstlibxmlregistry.c:
13166 * gst/registries/gstxmlregistry.c:
13167 splitted gsttypefind into gsttypefind, gsttypefindfactory
13169 2005-09-07 Andy Wingo <wingo@pobox.com>
13171 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13172 condition whereby the pad's task function is entered before the
13173 pad_mode variable was set.
13175 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13177 * gst/gstpad.c: (gst_pad_alloc_buffer):
13178 Catch misbehaving pad_alloc functions that don't
13179 set up caps and do it for them.
13181 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13183 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13184 test for pipe!=NULL
13185 * docs/gst/tmpl/.cvsignore:
13186 * docs/gst/tmpl/gstmemchunk.sgml:
13187 * docs/gst/tmpl/gstparse.sgml:
13188 * docs/gst/tmpl/gsttaglist.sgml:
13189 * docs/gst/tmpl/gsttagsetter.sgml:
13190 * docs/gst/tmpl/gsttypefind.sgml:
13191 * docs/gst/tmpl/gsttypefindfactory.sgml:
13192 * gst/gstmemchunk.c:
13195 * gst/gsttaginterface.c:
13196 * gst/gsttypefind.c:
13197 * gst/gsttypefind.h:
13200 === release 0.9.2 ===
13202 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13207 releasing 0.9.2, "South"
13209 2005-09-05 Andy Wingo <wingo@pobox.com>
13211 * gst/registries/gstxmlregistry.h:
13212 * gst/registries/gstxmlregistry.c: Um... resurrect...
13214 * gst/registries/gstxmlregistry.h:
13215 * gst/registries/gstxmlregistry.c: and update to newer API.
13216 Incidentally they should be a bit faster now that they don't have
13219 2005-09-05 Andy Wingo <wingo@pobox.com>
13221 * gst/registries/gstxmlregistry.h:
13222 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13223 replaced by the libxml registry a while back
13225 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13227 * docs/gst/tmpl/gstplugin.sgml:
13228 * gst/elements/gstelements.c:
13230 * gst/gstplugin.c: (gst_plugin_register_func),
13231 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13232 (gst_plugin_get_source):
13234 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13235 (gst_xml_registry_save_plugin):
13236 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13237 (gst_xml_registry_save_plugin):
13238 * tools/gst-inspect.c: (print_plugin_info):
13239 add a "source" plugin description field, to represent the source
13240 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13241 will set it to PACKAGE, which is automake's idea of the name of
13242 the source project.
13244 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13249 * docs/Makefile.am:
13250 * docs/faq/Makefile.am:
13251 * docs/gst/tmpl/gstelement.sgml:
13252 * docs/gst/tmpl/gsttypes.sgml:
13253 * docs/htmlinstall.mak:
13254 * docs/manual/Makefile.am:
13255 * docs/pwg/Makefile.am:
13256 reorganize doc build a little
13257 split out docbook and gtk-doc stuff
13258 have two separate --enable's and enable them through autogen
13259 but disable by default in configure (to be similar to other
13261 * gstreamer.spec.in:
13262 clean up docs install
13280 translation updates
13282 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13284 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13287 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13288 (gst_fake_sink_change_state):
13289 Make state change function thread-safe.
13291 * gst/gstpad.c: (gst_pad_alloc_buffer):
13292 Set offset on generic buffer allocated by fallback.
13294 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13296 * docs/gst/gstreamer-sections.txt:
13297 * docs/gst/tmpl/gstelement.sgml:
13299 * libs/gst/controller/gst-controller.c:
13300 (gst_controlled_property_set_interpolation_mode),
13301 (gst_controlled_property_new),
13302 (gst_controller_find_controlled_property):
13303 run the wingo-magic script against the docs
13305 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13307 * docs/gst/gstreamer-docs.sgml:
13308 * docs/gst/gstreamer-sections.txt:
13309 * docs/gst/tmpl/.cvsignore:
13310 * docs/gst/tmpl/gstelementdetails.sgml:
13311 * docs/gst/tmpl/gstelementfactory.sgml:
13314 * gst/gstelementfactory.c:
13315 * gst/gstelementfactory.h:
13316 merged elementdetails docs into elementfactory docs
13319 2005-09-02 Andy Wingo <wingo@pobox.com>
13321 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13322 consider this enum an enum and not a flags.
13324 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13326 * docs/gst/gstreamer-docs.sgml:
13327 * docs/gst/tmpl/.cvsignore:
13328 * docs/gst/tmpl/gstghostpad.sgml:
13329 * docs/gst/tmpl/gstiterator.sgml:
13330 * docs/gst/tmpl/gstmacros.sgml:
13331 * docs/gst/tmpl/gstrealpad.sgml:
13332 * docs/gst/tmpl/gstregistry.sgml:
13333 * docs/gst/tmpl/gstregistrypool.sgml:
13334 * docs/gst/tmpl/gststructure.sgml:
13335 * docs/gst/tmpl/gstsystemclock.sgml:
13336 * docs/gst/tmpl/gsttrace.sgml:
13337 * gst/gstghostpad.c:
13339 * gst/gstmemchunk.c:
13340 * gst/gstmemchunk.h:
13342 * gst/gstregistry.c:
13343 * gst/gstregistrypool.c:
13344 * gst/gststructure.c:
13345 * gst/gstsystemclock.c:
13348 2005-09-02 Andy Wingo <wingo@pobox.com>
13350 * gst/gstelement.h (GstState): Renamed from GstElementState,
13351 changed to be a normal enum instead of flags.
13352 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13353 munged to be GST_STATE_CHANGE_*.
13354 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13355 work with the new state representation.
13356 (GstStateChange): New enumeration of possible state transitions.
13357 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13358 (GstElementClass::change_state): Pass the GstStateChange along as
13359 an argument. Helps language bindings, so they don't have to use
13360 tricky lock-needing macros like GST_STATE_CHANGE ().
13362 * scripts/update-states (file): New script. Run it on a file to
13363 update it for state naming and API changes. Updates files in
13366 * All files updated for the new API.
13368 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13370 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13371 * gst/gstutils.c: (gst_util_set_value_from_string),
13372 (gst_util_set_object_arg):
13373 fix a bunch of unchecked return values
13374 * tools/gst-complete.c: (main):
13375 * gstreamer.spec.in:
13378 2005-09-01 Wim Taymans <wim@fluendo.com>
13380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13381 (gst_base_sink_event), (gst_base_sink_do_sync),
13382 (gst_base_sink_handle_event):
13383 * gst/base/gstbasesink.h:
13384 Handle newsegments more correctly.
13389 * gst/gstevent.c: (gst_event_new_newsegment):
13390 A newsegment cannot have a start_time of -1
13392 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13394 * win32/gstenumtypes.c:
13395 * win32/gstenumtypes.h:
13398 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13400 * libs/gst/controller/gst-controller.c:
13401 (gst_controlled_property_set_interpolation_mode),
13402 (gst_controlled_property_new):
13403 fixed boolean again
13405 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13407 * docs/faq/gst-uninstalled:
13412 * gst/gstutils.c: (gst_element_link_filtered):
13414 add gst_element_link_filtered
13416 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13418 * docs/gst/gstreamer-docs.sgml:
13419 * docs/gst/gstreamer-sections.txt:
13420 * docs/gst/tmpl/.cvsignore:
13421 * docs/gst/tmpl/gsterror.sgml:
13422 * docs/gst/tmpl/gstfilter.sgml:
13423 * docs/gst/tmpl/gsturihandler.sgml:
13424 * docs/gst/tmpl/gsturitype.sgml:
13425 * docs/gst/tmpl/gstutils.sgml:
13426 * docs/gst/tmpl/gstxml.sgml:
13431 * gst/gsturitype.c:
13434 inlined more docs, fixed double id-ref
13436 2005-08-31 Wim Taymans <wim@fluendo.com>
13438 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13439 (gst_base_transform_handle_buffer):
13440 Passthrough elements don't need the caps as they don't care.
13442 2005-08-31 Wim Taymans <wim@fluendo.com>
13444 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13445 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13446 Don't leak refcounts on buffers.
13448 2005-08-31 Wim Taymans <wim@fluendo.com>
13450 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13451 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13452 (gst_base_transform_chain), (gst_base_transform_change_state):
13453 * gst/base/gstbasetransform.h:
13454 Handle the case where we are not negotiated more gracefully.
13456 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13458 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13459 (gst_file_src_map_region):
13460 Set READONLY flag on mmap'ed buffers, otherwise
13461 gst_buffer_make_writable() won't work properly (#314708).
13463 2005-08-31 Wim Taymans <wim@fluendo.com>
13465 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13466 passthrough elements can even do inplace on non writable
13467 buffers (as they don't touch them).
13469 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13471 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13472 (gst_test_mono_source_set_property),
13473 (gst_test_mono_source_class_init), (GST_START_TEST),
13474 (gst_controller_suite):
13475 more tests (hehe I have the most)
13477 describe popping messages whenusing mulltiple sources
13478 * libs/gst/controller/gst-controller.c:
13479 (gst_controlled_property_set_interpolation_mode),
13480 (gst_controlled_property_new):
13481 * libs/gst/controller/gst-controller.h:
13482 * libs/gst/controller/gst-interpolation.c:
13483 implement boolean properties
13485 2005-08-31 Wim Taymans <wim@fluendo.com>
13487 * gst/gstminiobject.c: (gst_mini_object_ref):
13488 Cannot assert that the refcount has to be positive
13489 since a disposed object can be resurrected.
13491 2005-08-31 Wim Taymans <wim@fluendo.com>
13493 * gst/gstpad.c: (gst_pad_init):
13494 Revert change, need to first fix badly behaving
13497 2005-08-30 Wim Taymans <wim@fluendo.com>
13499 * check/elements/fakesrc.c: (setup_fakesrc):
13500 * check/elements/identity.c: (setup_identity):
13501 Activate pads before using them.
13503 2005-08-30 Wim Taymans <wim@fluendo.com>
13505 * gst/base/gstadapter.c: (gst_adapter_flush):
13506 Flushing out 0 bytes is ok for this function.
13508 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13509 no newsegment gives a warning and sets the start/stop to
13512 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13513 (gst_base_transform_set_passthrough):
13516 * gst/gstminiobject.c: (gst_mini_object_ref):
13517 Check refcount here too.
13519 * gst/gstpad.c: (gst_pad_init):
13520 Pads are initially flushing and refusing data.
13522 * gst/gstutils.c: (gst_element_link_pads_filtered):
13523 When adding a capsfilter element make sure it has the
13524 same state as the parent bin.
13526 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13528 * docs/gst/tmpl/.cvsignore:
13529 * docs/gst/tmpl/gstformat.sgml:
13530 * docs/gst/tmpl/gstversion.sgml:
13534 * gst/gstversion.h.in:
13535 more docs and two more inlined
13537 2005-08-30 Wim Taymans <wim@fluendo.com>
13539 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13540 Don't sync to clock.
13542 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13544 * docs/gst/gstreamer-sections.txt:
13545 ultral33t func10ns deserve to appear in the docs actually
13546 * docs/gst/tmpl/.cvsignore:
13547 * docs/gst/tmpl/gstcompat.sgml:
13548 * docs/gst/tmpl/gstconfig.sgml:
13549 * gst/check/gstcheck.c:
13551 * gst/gstconfig.h.in:
13554 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13556 * docs/gst/tmpl/.cvsignore:
13557 * docs/gst/tmpl/gstquery.sgml:
13558 * docs/gst/tmpl/gstutils.sgml:
13561 inlined and extended docs
13563 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13565 * check/gst-libs/controller.c: (GST_START_TEST),
13566 (gst_controller_suite):
13568 * docs/gst/tmpl/gstutils.sgml:
13569 * docs/libs/gstreamer-libs-sections.txt:
13570 * docs/libs/tmpl/gstdataprotocol.sgml:
13572 * examples/controller/audio-example.c: (main):
13573 controller example works now
13576 * tools/gst-inspect.c: (print_element_properties_info):
13577 show param spec flags
13579 2005-08-29 Andy Wingo <wingo@pobox.com>
13581 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13583 2005-08-28 Andy Wingo <wingo@pobox.com>
13585 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13586 as having two arguments instead of just one. Allows superclasses
13587 to access information on subclasses -- see the terrible for() loop
13588 in gtype.c:g_type_create_instance for the reason why. All callers
13591 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13593 * docs/design/part-messages.txt:
13595 * docs/gst/tmpl/.cvsignore:
13596 * docs/gst/tmpl/gstcaps.sgml:
13597 * docs/gst/tmpl/gstclock.sgml:
13603 * gst/gstmessage.c:
13604 added descriptions for bus and message
13605 inline caps and clock docs
13607 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13609 * gst/gstmessage.c:
13610 * gst/gstmessage.h:
13613 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13615 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13618 2005-08-26 Andy Wingo <wingo@pobox.com>
13620 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13621 element_set_state's return val.
13622 (test_2_elements): Add test that's been disabled for months.
13624 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13625 can-activate-pull properties.
13627 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13628 can-activate-pull properties. Implement is_seekable so fakesrc can
13629 operate in pull mode.
13631 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13633 (gst_base_sink_activate, gst_base_sink_activate_pull)
13634 (gst_base_sink_activate_push): Make activation mode choosing work.
13636 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13637 is right. Make pull mode work. Post an eos before pausing in pull
13639 (gst_base_sink_change_state): Pay attention to the core's
13640 change_state() return val.
13642 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13643 has-getrange properties. Cleanups.
13645 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13646 has_getrange and replace with can_activate_pull and
13649 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13650 locking comments. Remove has_loop, has_chain and replace with
13651 can_activate_pull and can_activate_push.
13653 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
13656 * examples/Makefile.am:
13657 * examples/metadata/Makefile.am:
13658 * examples/metadata/read-metadata.c: (message_loop),
13659 (have_pad_handler), (make_pipeline), (print_tag), (main):
13660 Add metadata reading example that loops over a list of filenames,
13661 dumping any tags found.
13663 * gst/gstbus.c: (gst_bus_dispose):
13664 * gst/gstelement.c: (gst_element_dispose):
13665 Release a few potentially-held references in dispose.
13667 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13669 * docs/gst/tmpl/gstminiobject.sgml:
13670 do *not* add tmpl/*.sgml files to CVS!
13672 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13674 * libs/gst/bytestream/.cvsignore:
13675 * libs/gst/bytestream/Makefile.am:
13676 * libs/gst/bytestream/adapter.c:
13677 * libs/gst/bytestream/adapter.h:
13678 * libs/gst/bytestream/bytestream.c:
13679 * libs/gst/bytestream/bytestream.h:
13680 * libs/gst/bytestream/filepad.c:
13681 * libs/gst/bytestream/filepad.h:
13682 removing obsolete files
13684 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13686 * docs/gst/gstreamer-docs.sgml:
13687 * docs/libs/gstreamer-libs-docs.sgml:
13688 disabed additional index entries again, as this makes docs-gen just
13689 slow and they aren't useful yet
13690 * docs/libs/gstreamer-libs-sections.txt:
13691 little -section.txt cleanup for libs
13693 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
13695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13696 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13697 fix up some debugging
13698 (gst_base_transform_get_unit_size),
13699 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13700 (gst_base_transform_handle_buffer):
13701 * gst/base/gstbasetransform.h:
13702 handle and store timed NEWSEGMENT events so that subclasses that
13703 calculate time by counting samples have a segment_start time they
13704 need to add to their timestamps - see audioresample
13706 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13709 removed ';' from the end of macro defs
13710 * docs/gst/gstreamer-docs.sgml:
13711 * docs/gst/gstreamer-sections.txt:
13712 * docs/gst/tmpl/.cvsignore:
13714 * gst/gstelement.c: (gst_element_class_init),
13715 (gst_element_set_state), (activate_pads),
13716 (gst_element_save_thyself):
13717 * gst/gstevent.c: (gst_event_new_newsegment):
13719 * gst/gstiterator.c:
13720 * gst/gstiterator.h:
13723 * gst/gstutils.c: (gst_pad_query_convert):
13725 fixed parameter name mismatches between source, header and docs
13726 added some more docs, resolved the last batch of unused elements in
13727 docs (now someone needs to doc them)
13729 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13731 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13732 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13733 don't walk through the plugins backwards. Where is all this
13734 reversed logic coming from ?
13736 2005-08-25 Wim Taymans <wim@fluendo.com>
13738 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13739 (gst_base_transform_transform_size),
13740 (gst_base_transform_configure_caps),
13741 (gst_base_transform_get_unit_size),
13742 (gst_base_transform_buffer_alloc),
13743 (gst_base_transform_change_state):
13744 * gst/base/gstbasetransform.h:
13745 Cache caps unit_size.
13746 Make sure we cannot negotiate up and downstream at the
13749 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13751 * gst/gst.c: (init_pre), (init_post):
13752 register the installed plugin path after the env var
13753 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13754 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13755 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13756 directories, so the tests can prefer uninstalled over installed
13758 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13760 * gst/base/gstbasetransform.h:
13765 2005-08-25 Wim Taymans <wim@fluendo.com>
13767 * gst/gstbin.c: (bin_bus_handler):
13768 Be a bit more conservative about the posted message.
13770 * gst/gstbus.c: (gst_bus_post):
13771 Some cleanups, warn wrong return values.
13773 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
13775 * check/gst/gstbin.c: (GST_START_TEST):
13776 * gst/gstbin.c: (bin_bus_handler):
13777 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13778 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13779 (gst_message_new_warning), (gst_message_new_tag),
13780 (gst_message_new_state_changed), (gst_message_new_segment_start),
13781 (gst_message_new_segment_done), (gst_message_new_custom):
13782 * gst/gstmessage.h:
13783 * tools/gst-launch.c: (event_loop):
13784 * tools/gst-md5sum.c: (event_loop):
13785 Revert unpopular change for GST_MESSAGE_SRC to GObject.
13787 2005-08-25 Wim Taymans <wim@fluendo.com>
13789 * check/generic/states.c: (GST_START_TEST):
13790 Cleanup can be done at the end.
13792 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13793 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13794 (gst_task_get_state), (gst_task_start), (gst_task_pause):
13795 Oh boy.. Thanks for finding this, Thomas.
13797 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13799 * docs/gst/gstreamer.types:
13800 added missing types
13802 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13804 * docs/gst/gstreamer-docs.sgml:
13805 * docs/gst/gstreamer-sections.txt:
13806 * docs/gst/tmpl/.cvsignore:
13808 * gst/gstiterator.c:
13810 * gst/registries/gstxmlregistry.h:
13811 added missing classes and symbols (123 more to go)
13812 removed removed symbols from section file
13813 fixed many doc-comments
13815 2005-08-24 Wim Taymans <wim@fluendo.com>
13817 * check/generic/states.c: (GST_START_TEST):
13818 Make sure all tasks are stopped.
13820 * check/gst/gstbin.c: (GST_START_TEST):
13821 Unref after usage for proper valgrinding.
13823 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13824 Really wait for the task to stop before destroying the
13827 * gst/gstqueue.c: (gst_queue_sink_activate_push),
13828 (gst_queue_src_activate_push):
13829 Small cleanups. Don't stop the task when we did not start
13832 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13833 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13834 (gst_task_get_state), (gst_task_start), (gst_task_pause),
13837 Protect the stream lock with the object lock.
13838 Disallow setting the stream lock when running.
13839 Add cleanup_all to wait for the threadpool to finish.
13840 Remove code to autoallocate a mutex if none was provided.
13841 Add _join() to wait for a task to stop.
13842 Protect the thread pool with a global lock.
13844 2005-08-24 Wim Taymans <wim@fluendo.com>
13846 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13847 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13848 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13849 * gst/base/gstbasesink.h:
13850 Handle newsegment events correctly.
13851 Drop buffers out of the segment range.
13853 2005-08-22 Andy Wingo <wingo@pobox.com>
13855 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13856 macro, implements an interface and gstimplementsinterface for a
13859 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13861 * check/Makefile.am:
13862 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13863 add a test that does a bunch of state changes on elements
13864 needs some fixing for valgrind
13865 * check/states/sinks.c: (gst_object_suite):
13868 add prototype for gst_caps_is_equal_fixed
13870 * gst/gstregistrypool.c:
13873 2005-08-24 Andy Wingo <wingo@pobox.com>
13875 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13876 convert a negative value. Doesn't make much sense. Mostly this is
13877 here to force callers to ensure -1 maps to -1.
13879 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13881 * docs/pwg/advanced-types.xml:
13882 Well done to Michael for catching my deliberate introduction
13883 of this spelling mistake.
13884 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13885 * gst/gstelement.h:
13886 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13887 unlink pads before removing the element from the bin.
13889 2005-08-24 Andy Wingo <wingo@pobox.com>
13891 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13892 the same thing as GST_DEBUG=*:4.
13893 (parse_debug_level, parse_debug_category): New helper parsers.
13895 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13897 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13898 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13899 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13900 (gst_base_transform_buffer_alloc),
13901 (gst_base_transform_handle_buffer):
13902 use gboolean return values and pointers to size so we can use the
13903 full GST_BUFFER_SIZE range (guint) for buffer sizes
13904 use GstPadDirection for transform_caps
13905 * gst/base/gstbasetransform.h:
13906 rename get_size to get_unit_size since that's what it is
13907 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13908 use GstPadDirection for transform_caps
13909 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13911 cleanup and debugging
13913 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13915 * gst/gstelement.c: (gst_element_class_init),
13916 (gst_element_set_state), (activate_pads),
13917 (gst_element_save_thyself):
13918 * tools/gst-compprep.c: (main):
13919 * tools/gst-inspect.c: (print_element_properties_info):
13920 * tools/gst-xmlinspect.c: (print_element_properties):
13921 Fixed long standing mem-leak
13923 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13925 * check/gst/gstbin.c: (GST_START_TEST):
13926 * gst/gstbin.c: (bin_bus_handler):
13927 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13928 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13929 (gst_message_new_warning), (gst_message_new_tag),
13930 (gst_message_new_state_changed), (gst_message_new_segment_start),
13931 (gst_message_new_segment_done), (gst_message_new_custom):
13932 * gst/gstmessage.h:
13933 * tools/gst-launch.c: (event_loop):
13934 * tools/gst-md5sum.c: (event_loop):
13935 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
13936 that applications can sensibly post custom messages with references
13937 to their own objects.
13939 2005-08-24 Andy Wingo <wingo@pobox.com>
13941 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
13944 2005-08-24 Wim Taymans <wim@fluendo.com>
13946 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13947 (gst_base_transform_transform_caps),
13948 (gst_base_transform_transform_size),
13949 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13950 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13951 (gst_base_transform_handle_buffer):
13952 * gst/base/gstbasetransform.h:
13953 Many fixes and new features added by Thomas. Can now also do
13954 transforms with variable sizes and a custom fixate_caps function.
13956 2005-08-24 Wim Taymans <wim@fluendo.com>
13958 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13962 Cast to ClockTime before formatting to time.
13967 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13969 * check/gst-libs/controller.c: (GST_START_TEST),
13970 (gst_controller_suite):
13971 * docs/gst/tmpl/gstcaps.sgml:
13972 * docs/gst/tmpl/gstghostpad.sgml:
13973 * docs/gst/tmpl/gstquery.sgml:
13974 * docs/gst/tmpl/gstutils.sgml:
13975 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
13976 (gst_object_sink_values), (gst_object_get_value_arrays),
13977 (gst_object_get_value_array):
13978 gracefully handle helper method calls to objects that are not beeing
13979 controlled, added test case for that
13981 2005-08-23 Wim Taymans <wim@fluendo.com>
13983 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
13984 (gst_event_new_newsegment), (gst_event_parse_newsegment),
13985 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
13986 (gst_event_parse_qos), (gst_event_new_seek),
13987 (gst_event_parse_seek):
13989 Some more debugging output and doc cleanups.
13991 * gst/gstqueue.c: (gst_queue_handle_sink_event):
13992 Fix possible deadlock.
13994 2005-08-23 Stefan Kost <ensonic@users.sf.net>
13996 * docs/gst/gstreamer-docs.sgml:
13997 * docs/gst/gstreamer-sections.txt:
13998 * docs/gst/gstreamer.types:
13999 * docs/gst/tmpl/.cvsignore:
14002 * gst/gstelement.c:
14004 added 100 symbols from gstreamer-unused.txt to the right sections
14005 fixed more broken comments
14006 added GstBus to docs
14008 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14010 * docs/gst/gstreamer-sections.txt:
14011 * docs/gst/tmpl/.cvsignore:
14012 * docs/gst/tmpl/gstbin.sgml:
14013 * docs/gst/tmpl/gstbuffer.sgml:
14014 * gst/base/gstbasesrc.c:
14015 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14018 * tools/gst-launch.1.in:
14019 inlined more doc comments, added missing comments and fixed comments
14022 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14024 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14028 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14030 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14031 * gst/gststructure.h:
14032 add a fixate function for booleans; add a FIXME that these func
14033 names should probably be gst_structure_fixate_*
14035 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14037 * docs/gst/gstreamer-docs.sgml:
14038 * docs/gst/gstreamer-sections.txt:
14040 * gst/gstbin.c: (gst_bin_get_type),
14041 (gst_bin_child_proxy_get_child_by_index),
14042 (gst_bin_child_proxy_get_children_count),
14043 (gst_bin_child_proxy_init):
14044 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14045 (gst_child_proxy_get_child_by_index),
14046 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14047 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14048 (gst_child_proxy_get), (gst_child_proxy_set_property),
14049 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14050 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14051 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14052 * gst/gstchildproxy.h:
14053 * gst/parse/grammar.y:
14054 * tools/gst-inspect.c: (print_interfaces),
14055 (print_element_properties_info), (print_element_info):
14056 ported gstchildproxy over from 0.8
14057 ported gst-inspect fixes and enhancements over from 0.8
14059 2005-08-22 Wim Taymans <wim@fluendo.com>
14061 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14062 (gst_base_transform_handle_buffer):
14063 Also call the transform function if we have ANY caps.
14065 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14068 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14070 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14071 Don't pretend to handle seek events if the source is not seekable
14073 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14075 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14076 Remove extra parameter to debug output
14078 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14079 (gst_base_src_do_seek), (gst_base_src_activate_push):
14080 Fix seek event handling.
14082 * gst/gstpipeline.c: (gst_pipeline_change_state):
14083 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14084 (gst_queue_src_activate_push):
14085 Don't start the src pad task on FLUSH_STOP if the pad
14089 2005-08-22 Wim Taymans <wim@fluendo.com>
14091 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14092 Added check for gst_static_caps_get() refcounting.
14094 2005-08-22 Wim Taymans <wim@fluendo.com>
14096 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14097 Make _static_caps_get() refcounting sane.
14099 * gst/gstelement.c: (gst_element_set_state):
14100 Add g_return_val_if_fail() to protect against segfaults.
14102 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14104 * docs/gst/tmpl/gstevent.sgml:
14107 inlined remaining docs, added missing doc comments
14109 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14111 * check/gst/gstbin.c: (GST_START_TEST):
14112 since we don't know when preroll is done, use refcount range
14114 * gst/check/gstcheck.h:
14115 add macro for checking refcount range
14117 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14119 * check/Makefile.am:
14120 clean up environment for when registry gets built versus
14121 when actual tests are run; valgrind seems to not report
14122 leaks if GST_PLUGIN_PATH is set to some specific values
14123 * check/gst/gstbin.c: (GST_START_TEST):
14124 add more refcounting checks; maybe this exposes a
14126 * common/check.mak:
14127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14128 * gst/check/gstcheck.h:
14129 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14130 (gst_bin_change_state):
14131 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14132 add/fix debugging/whitespace
14134 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14136 * check/gst/gstevent.c: (event_probe), (test_event),
14138 Er, don't call gst_bin_watch_for_state_change you idiot.
14140 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14142 * check/Makefile.am:
14143 Use CHECK_CFLAGS and CHECK_LIBS
14144 * check/gst/gstevent.c: (event_probe), (test_event),
14147 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14148 (gst_base_src_start), (gst_base_src_stop),
14149 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14150 (gst_base_src_change_state):
14151 Sprinkle gst_base_src_stop liberally around error paths to fix
14152 problems reusing a source after failed state changes.
14153 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14154 (helper_find_suggest), (gst_type_find_helper):
14155 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14157 * docs/gst/tmpl/gstevent.sgml:
14158 Migrate part of the docs from the SGML file. Wait for ensonic to
14159 tell me how I did it wrong ;)
14160 * tools/gst-typefind.c: (main):
14161 Extra robustness to state changes between files.
14163 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14165 * check/Makefile.am:
14166 don't valgrind the controller test - it's leaking - Stefan, HELP
14167 * gst/check/gstcheck.c: (gst_check_message_error),
14168 (gst_check_chain_func), (gst_check_setup_element),
14169 (gst_check_teardown_element), (gst_check_setup_src_pad),
14170 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14171 (gst_check_teardown_sink_pad):
14172 * gst/check/gstcheck.h:
14173 add a bunch of methods to set up elements, and src and sink pads
14174 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14175 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14178 * gst/gstmessage.c:
14180 whitespace/doc fixes
14182 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14184 * gst/gstelement.h:
14185 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14186 be handled by the application and not always printed as well
14188 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14190 * check/Makefile.am:
14192 * gst/check/gstcheck.c: (gst_check_message_error):
14193 * gst/check/gstcheck.h:
14194 add a fail_unless_equals_int
14195 add fail_unless for error messages
14197 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14199 * check/Makefile.am:
14201 * common/Makefile.am:
14202 * common/check.mak:
14204 factor out some of the common stuff so we can use it
14206 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14208 * check/Makefile.am:
14209 * check/gst/gstiterator.c: (GST_START_TEST):
14210 * check/gst/gstsystemclock.c: (GST_START_TEST),
14211 (gst_systemclock_suite):
14212 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14214 valgrind more tests
14216 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14218 * check/elements/.cvsignore:
14219 * check/elements/gstfakesrc.c:
14220 rename to name of element
14221 * check/elements/identity.c: (chain_func), (event_func),
14222 (setup_identity), (cleanup_identity), (GST_START_TEST),
14223 (identity_suite), (main):
14224 add a test for identity
14225 * check/Makefile.am:
14226 * pkgconfig/Makefile.am:
14227 * pkgconfig/gstreamer-check.pc.in:
14228 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14232 move the check stuff to a library that gets installed
14233 * check/gst-libs/controller.c: (GST_START_TEST):
14234 * check/gst-libs/gdp.c:
14235 * check/gst/gst.c: (GST_START_TEST):
14236 * check/gst/gstbin.c:
14237 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14238 * check/gst/gstbus.c:
14239 * check/gst/gstcaps.c: (GST_START_TEST):
14240 * check/gst/gstelement.c:
14241 * check/gst/gstghostpad.c:
14242 * check/gst/gstiterator.c:
14243 * check/gst/gstmessage.c:
14244 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14245 * check/gst/gstobject.c:
14246 * check/gst/gstpad.c: (GST_START_TEST):
14247 * check/gst/gststructure.c: (GST_START_TEST):
14248 * check/gst/gstsystemclock.c: (GST_START_TEST),
14249 (gst_systemclock_suite):
14250 * check/gst/gsttag.c: (gst_tag_suite):
14251 * check/gst/gstvalue.c:
14252 * check/pipelines/cleanup.c:
14253 * check/pipelines/simple_launch_lines.c:
14254 * check/states/sinks.c:
14255 change include statement
14257 * docs/gst/gstreamer-sections.txt:
14258 * docs/gst/tmpl/gstpad.sgml:
14259 document more pad stuff
14260 * gst/gstminiobject.c: (gst_mini_object_ref),
14261 (gst_mini_object_unref):
14264 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14266 * docs/gst/tmpl/gst.sgml:
14268 eliminate another tmpl file, fix spelling in the long-description
14270 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14272 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14273 (test_event), (timediff), (gstevents_suite):
14274 Should fix build on 64-bit arch's
14276 2005-08-18 Andy Wingo <wingo@pobox.com>
14278 Make sure that when a pipeline goes to PLAYING, that data has
14279 actually hit the sink.
14281 * check/states/sinks.c (test_sink): A sink that doesn't get any
14282 data shouldn't return SUCCESS for going to either PLAYING or
14283 PAUSED. Test also the return values on the way back down.
14285 * gst/gstelement.c (gst_element_set_state): When changing the
14286 state of an element currently changing state asynchronously, go to
14287 lost-state after commiting the pending state. Makes future calls
14288 to get_state continue to return ASYNC.
14290 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14291 ASYNC when going to PLAYING if we still don't have preroll, as can
14292 happen with live sources.
14294 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14296 * docs/pwg/advanced-types.xml:
14297 Hack long paragraph into 2 chunks as a workaround for buggy
14298 jadetex version in sid and breezy that loops infinitely and
14301 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14303 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14304 (test_event), (timediff), (gstevents_suite):
14305 Provide more error margin in clock measurements to allow for
14306 g_get_current_time inaccuracies.
14308 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14310 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14311 (test_event), (timediff), (gstevents_suite):
14312 Fix error message output so I might be able to tell why the
14313 test works here but fails on the build farm.
14315 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14317 * check/Makefile.am:
14318 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14319 (test_event), (timediff), (gstevents_suite), (main):
14322 * docs/design/part-seeking.txt:
14323 Spelling correction
14325 * docs/gst/tmpl/gstevent.sgml:
14326 * docs/gst/tmpl/gstfakesrc.sgml:
14329 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14330 Treat a buffer-without-newsegment the same as a receiving
14331 a newsegment not in time format, and disable syncing to the clock
14334 * gst/gstbus.c: (gst_bus_set_sync_handler):
14335 Assert if anyone tries to replace the existing sync_handler for bus,
14336 as only the owner should be setting it.
14339 Have a fixed set of custom event enums with events identified by
14340 their structure name (as in 0.8), rather than a free-for-all
14341 allowing collisions between enum values from different plugins.
14343 * gst/gstpad.c: (gst_pad_class_init):
14346 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14347 Handle out-of-band downstream events from the sending thread.
14349 2005-08-17 Andy Wingo <wingo@pobox.com>
14351 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14352 play-timeout==0 to mean no timeout at all. In that case, don't
14353 bother with a get_state or a warning, just return directly, even
14356 * gst/base/gstbasetransform.c: Debug changes.
14359 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14360 ensure bins post state change messages. A bit of a hack but I can't
14361 think of a way to avoid it.
14363 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14365 2005-08-16 Andy Wingo <wingo@pobox.com>
14367 * gst/base/gstadapter.h:
14368 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14369 peek() but you own the data. Not terribly efficient atm.
14371 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14373 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14374 (gst_element_found_tags):
14376 Add two utility functions for tag handling.
14378 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14380 * docs/manual/advanced-dataaccess.xml:
14381 * docs/manual/basics-helloworld.xml:
14382 Fix docs to use _bin_add() before _link(), which fixes the examples
14383 with recent core versions (reported by Madhan Raj M
14384 <raj_madan@rediffmail.com>, #313199).
14386 2005-08-16 Wim Taymans <wim@fluendo.com>
14388 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14389 Added subtract checks.
14391 * docs/design/part-events.txt:
14392 Some more docs about newsegment
14394 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14397 * gst/gstcaps.c: (gst_caps_to_string):
14398 Add comments, cleanups.
14400 * gst/gstelement.c: (gst_element_save_thyself):
14403 * gst/gstvalue.c: (gst_value_collect_int_range),
14404 (gst_string_unwrap), (gst_value_union_int_int_range),
14405 (gst_value_union_int_range_int_range),
14406 (gst_value_intersect_int_int_range),
14407 (gst_value_intersect_int_range_int_range),
14408 (gst_value_intersect_double_double_range),
14409 (gst_value_intersect_double_range_double_range),
14410 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14411 (gst_value_subtract_int_range_int),
14412 (gst_value_subtract_double_range_double),
14413 (gst_value_subtract_double_range_double_range),
14414 (gst_value_subtract_from_list), (gst_value_subtract_list),
14415 (gst_value_can_compare), (gst_value_compare_fraction):
14416 Cleanups, add comments, remove unneeded asserts.
14418 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14420 * tools/gst-launch.c: (event_loop):
14421 don't convert NULL structures to strings
14423 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14425 * docs/gst/gstreamer-sections.txt:
14426 made some defines private
14427 * docs/gst/tmpl/gstconfig.sgml:
14428 * docs/gst/tmpl/gstqueue.sgml:
14429 * docs/gst/tmpl/gsttaglist.sgml:
14430 * docs/gst/tmpl/gsttypes.sgml:
14431 * docs/gst/tmpl/gstutils.sgml:
14432 * docs/pwg/appendix-porting.xml:
14433 * gst/base/gstbasesink.h:
14434 * gst/base/gstbasesrc.c:
14435 * gst/base/gstbasesrc.h:
14436 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14437 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14438 * gst/gstelement.c: (gst_element_class_init):
14439 * gst/gstpad.c: (gst_pad_class_init):
14440 * gst/gstqueue.c: (gst_queue_class_init):
14441 * gst/gstxml.c: (gst_xml_class_init):
14442 documented all undocumented signal inline
14443 * libs/gst/controller/gst-controller.h:
14446 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14448 * docs/pwg/appendix-porting.xml:
14449 Document _set_link_function -> _set_setcaps_function.
14451 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14453 * check/Makefile.am:
14454 add a .check target for running the check
14455 * check/gst-libs/controller.c: (GST_START_TEST):
14457 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14458 complete checks for gstbuffer; would be nice if I could get the
14459 gcov stuff to work so I can see if I actually completed gstbuffer.c
14460 * check/gstcheck.h:
14461 add ASSERT_BUFFER_REFCOUNT
14463 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14465 * docs/gst/gstreamer-sections.txt:
14466 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14468 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14469 spew out a warning if a tag that is already registered
14470 is re-registered, unless it is re-registered with a
14471 different type (#308438).
14473 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14475 * docs/pwg/appendix-porting.xml:
14476 * docs/pwg/building-state.xml:
14477 Add some paragraphs about state changes in 0.9 to the PWG
14478 and the porting guide, in particular about the new meaning
14479 of GST_STATE_PAUSED and how to write state change functions
14480 with concurrent access by multiple threads in mind.
14482 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14484 * docs/gst/gstreamer-docs.sgml:
14485 * docs/libs/gstreamer-libs-docs.sgml:
14486 added deprecation and since indexes
14487 * libs/gst/controller/gst-controller.c:
14488 * libs/gst/controller/gst-helper.c:
14492 2005-08-11 Wim Taymans <wim@fluendo.com>
14494 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14495 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14496 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14497 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14498 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14499 (gst_ghost_pad_set_target):
14500 Actually implement (re)setting the target on a ghostpad
14501 as described in the docs.
14503 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14505 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14506 Check whether GST_DEBUG_NO_COLOR environment variable is
14507 set and disable coloured debug output if that is the case.
14509 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14511 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14512 (gst_type_find_helper):
14513 The memory returned by gst_type_find_peek() needs to
14514 stay valid until the end of a typefind function, and
14515 typefind functions may keep results from different
14516 offsets around, so we can't just unref the buffer from
14517 the previous _peek(), but have to save all buffers
14518 returned by _peek() until typefinding is done and only
14521 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14523 * docs/gst/gstreamer-sections.txt:
14525 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14527 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14529 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14530 Fix a pretty good memleak.
14532 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14534 * gst/gstiterator.h:
14535 Fix wrong include and 'make distcheck'.
14537 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14539 * gst/gstbin.c: (bin_bus_handler):
14540 Use gst_element_post_message() instead.
14542 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14544 * gst/base/gstadapter.h:
14545 * gst/base/gstbasesink.h:
14546 * gst/base/gstbasesrc.h:
14547 * gst/base/gstbasetransform.h:
14548 * gst/base/gstcollectpads.h:
14549 * gst/base/gstpushsrc.h:
14550 * gst/gstiterator.h:
14551 Add padding to our base elements' class and instance structs and
14552 to GstIterator (you will need to rebuild all plugins and apps!)
14554 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14556 * gst/gstbin.c: (bin_bus_handler):
14557 Make default message forwarding from child->bus to bin->bus
14558 threadsafe and make it not emit warnings if the parent has no bus.
14560 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14562 * gst/gstelement.c: (activate_pads):
14563 On paused->ready, set pad->caps to NULL, as is the documented
14564 behaviour in this state change. Fixes playback of series of
14565 media files when visualization is enabled in Totem.
14567 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14569 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14570 Allow NULL as filter-caps (which means "any").
14572 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14574 * docs/libs/gstreamer-libs-sections.txt:
14575 * libs/gst/controller/gst-controller.c:
14576 * libs/gst/controller/gst-controller.h:
14577 * libs/gst/controller/gst-helper.c:
14578 adding more entries to the docs and fix small doc-bugs
14580 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14582 * docs/gst/gstreamer-docs.sgml:
14583 * docs/gst/gstreamer-sections.txt:
14584 * docs/gst/gstreamer.types:
14585 * docs/gst/tmpl/gstbasesink.sgml:
14586 * docs/gst/tmpl/gstbasesrc.sgml:
14587 * docs/gst/tmpl/gstbasetransform.sgml:
14588 * docs/gst/tmpl/gstfakesrc.sgml:
14589 * gst/base/gstcollectpads.c:
14590 * gst/base/gstcollectpads.h:
14591 * libs/gst/controller/gst-controller.c:
14592 * libs/gst/controller/gst-controller.h:
14593 * libs/gst/controller/gst-helper.c:
14594 * libs/gst/controller/gst-interpolation.c:
14595 * libs/gst/controller/lib.c:
14596 added long/short desc for controller docs
14597 added collectpads base class docs
14598 added correct includes to base-class docs
14600 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14602 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14603 (gst_test_mono_source_set_property),
14604 (gst_test_mono_source_class_init), (GST_START_TEST),
14605 (gst_controller_suite):
14606 * docs/gst/gstreamer-docs.sgml:
14607 * docs/gst/gstreamer-sections.txt:
14608 * docs/gst/gstreamer.types:
14609 * docs/libs/gstreamer-libs-docs.sgml:
14610 * docs/libs/gstreamer-libs-sections.txt:
14611 * gst/base/gstadapter.c:
14612 * libs/gst/controller/gst-controller.c:
14613 (gst_controlled_property_new), (gst_controlled_property_free),
14614 (gst_controller_new_valist),
14615 (gst_controller_remove_properties_valist),
14616 (gst_controller_sink_values), (_gst_controller_finalize):
14617 * libs/gst/controller/gst-controller.h:
14618 * libs/gst/controller/gst-helper.c:
14619 (gst_object_control_properties), (gst_object_uncontrol_properties),
14620 (gst_object_get_controller), (gst_object_set_controller),
14621 (gst_object_sink_values), (gst_object_get_value_arrays),
14622 (gst_object_get_value_array):
14623 more tests (and fixes) for the controller
14624 more docs for the controller
14625 integrated companies docs for the adapter
14627 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
14629 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14630 (GST_START_TEST), (fakesrc_suite):
14631 add tests for sizetype
14633 2005-08-04 Andy Wingo <wingo@pobox.com>
14635 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14636 fixes buffer_alloc proxying among other things.
14638 * gst/base/gstbasetransform.c:
14639 * gst/base/gstbasetransform.h:
14640 Revert patch to gstbasetransform from 7-28 removing
14643 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14644 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14645 Semantics changed, should return not the size of the output buffer
14646 but the byte size of a buffer with a given caps.
14648 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14650 (gst_base_transform_configure_caps): Don't set out_size here: (in,
14651 out) are not the pad caps until setcaps finishes.
14652 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14653 not-in-place case as well. Deal with changing from in-place to
14654 not-in-place within calling pad_alloc_buffer. Still a bit
14655 concerned about the overhead here...
14657 2005-08-03 Andy Wingo <wingo@pobox.com>
14659 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14660 fixating is an error.
14662 2005-08-04 Edward Hervey <edward@fluendo.com>
14664 * gst/base/gstadapter.h:
14665 Added gst_adapter_get_type() to the header
14667 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14669 * check/Makefile.am:
14670 * check/gst-libs/controller.c:
14671 * libs/gst/controller/gst-controller.c:
14672 (gst_controller_new_valist):
14673 added check test suite for the controller
14674 * gst/base/gstpushsrc.c:
14677 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14679 * docs/gst/Makefile.am:
14680 * docs/gst/gstreamer-docs.sgml:
14681 * docs/gst/gstreamer-sections.txt:
14682 * docs/gst/gstreamer.types:
14683 * docs/gst/tmpl/gstfakesrc.sgml:
14685 * gst/base/gstbasesink.c:
14686 * gst/base/gstbasesink.h:
14687 * gst/base/gstbasesrc.c:
14688 * gst/base/gstbasesrc.h:
14689 * gst/base/gstbasetransform.c:
14690 * gst/base/gstpushsrc.c:
14691 * gst/base/gstpushsrc.h:
14692 add short/long description docs to base classes
14693 add pushsrc to the docs
14694 remove consolidated doc fragments
14696 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14699 * docs/libs/Makefile.am:
14700 * docs/libs/gstreamer-libs-docs.sgml:
14701 * docs/libs/gstreamer-libs-sections.txt:
14702 * docs/libs/gstreamer-libs.types:
14703 * examples/Makefile.am:
14704 * examples/controller/.cvsignore:
14705 * examples/controller/Makefile.am:
14706 * examples/controller/audio-example.c: (main):
14707 * libs/gst/Makefile.am:
14708 * libs/gst/controller/.cvsignore:
14709 * libs/gst/controller/Makefile.am:
14710 * libs/gst/controller/gst-controller.c:
14711 (on_object_controlled_property_changed), (gst_timed_value_compare),
14712 (gst_timed_value_find),
14713 (gst_controlled_property_set_interpolation_mode),
14714 (gst_controlled_property_new), (gst_controlled_property_free),
14715 (gst_controller_find_controlled_property),
14716 (gst_controller_new_valist), (gst_controller_new),
14717 (gst_controller_remove_properties_valist),
14718 (gst_controller_remove_properties), (gst_controller_set),
14719 (gst_controller_set_from_list), (gst_controller_unset),
14720 (gst_controller_get), (gst_controller_get_all),
14721 (gst_controller_sink_values), (gst_controller_get_value_arrays),
14722 (gst_controller_get_value_array),
14723 (gst_controller_set_interpolation_mode),
14724 (_gst_controller_finalize), (_gst_controller_init),
14725 (_gst_controller_class_init), (gst_controller_get_type):
14726 * libs/gst/controller/gst-controller.h:
14727 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14728 (g_object_uncontrol_properties), (g_object_get_controller),
14729 (g_object_set_controller), (g_object_sink_values),
14730 (g_object_get_value_arrays), (g_object_get_value_array):
14731 * libs/gst/controller/gst-interpolation.c:
14732 (gst_controlled_property_find_timed_value_node),
14733 (interpolate_none_get), (interpolate_trigger_get),
14734 (interpolate_trigger_get_value_array):
14735 * libs/gst/controller/lib.c: (gst_controller_init):
14736 * pkgconfig/Makefile.am:
14737 * pkgconfig/gstreamer-control-uninstalled.pc.in:
14738 * pkgconfig/gstreamer-control.pc.in:
14739 * testsuite/Makefile.am:
14740 * testsuite/controller/.cvsignore:
14741 * testsuite/controller/Makefile.am:
14742 * testsuite/controller/interpolator.c: (main):
14743 added controller code
14744 removed dparam pc files
14746 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14747 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14748 (gst_collectpads_stop):
14749 Broadcast the condition when shutting down, to make sure we wake all
14750 threads up. Shut down pads on finalize, for safety.
14752 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14753 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14754 (gst_base_transform_handle_buffer),
14755 (gst_base_transform_change_state):
14756 Handle PAUSED->READY->PAUSED transition after negotiation
14758 * gst/gstmessage.c: (gst_message_init):
14759 Extra piece of debug for new messages.
14761 2005-08-01 Stefan Kost <ensonic@users.sf.net>
14764 * docs/gst/tmpl/gstbasesrc.sgml:
14765 * docs/gst/tmpl/gstelement.sgml:
14766 * docs/gst/tmpl/gstevent.sgml:
14767 * docs/gst/tmpl/gstfakesrc.sgml:
14768 * docs/gst/tmpl/gstformat.sgml:
14769 * docs/gst/tmpl/gstghostpad.sgml:
14770 * docs/gst/tmpl/gstpad.sgml:
14771 * docs/gst/tmpl/gstquery.sgml:
14772 * docs/gst/tmpl/gststructure.sgml:
14773 * docs/gst/tmpl/gsttaglist.sgml:
14774 * docs/gst/tmpl/gstvalue.sgml:
14775 * docs/libs/gstreamer-libs-docs.sgml:
14776 * docs/libs/gstreamer-libs-sections.txt:
14777 * docs/libs/gstreamer-libs.types:
14778 * libs/gst/Makefile.am:
14779 * libs/gst/control/.cvsignore:
14780 * libs/gst/control/Makefile.am:
14781 * libs/gst/control/control.c:
14782 * libs/gst/control/control.h:
14783 * libs/gst/control/dparam.c:
14784 * libs/gst/control/dparam.h:
14785 * libs/gst/control/dparam_smooth.c:
14786 * libs/gst/control/dparam_smooth.h:
14787 * libs/gst/control/dparamcommon.h:
14788 * libs/gst/control/dparammanager.c:
14789 * libs/gst/control/dparammanager.h:
14790 * libs/gst/control/dplinearinterp.c:
14791 * libs/gst/control/dplinearinterp.h:
14792 * libs/gst/control/unitconvert.c:
14793 * libs/gst/control/unitconvert.h:
14794 * testsuite/Makefile.am:
14795 * testsuite/dynparams/.cvsignore:
14796 * testsuite/dynparams/Makefile.am:
14797 * testsuite/dynparams/dparamstest.c:
14798 * tools/Makefile.am:
14799 * tools/gst-inspect.c: (print_element_info), (main):
14800 * tools/gst-xmlinspect.c: (print_element_info), (main):
14801 deactivate and remove dparams (libgstcontrol)
14803 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14805 * gst/elements/gsttypefindelement.c:
14806 (gst_type_find_element_have_type), (gst_type_find_element_init),
14807 (stop_typefinding), (gst_type_find_element_handle_event),
14808 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14809 * gst/elements/gsttypefindelement.h:
14810 Set caps on all outgoing buffers, not just the first one.
14812 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14814 * gst/elements/gsttypefindelement.c:
14815 (gst_type_find_element_have_type),
14816 (gst_type_find_element_check_set_buffer_caps),
14817 (gst_type_find_element_init), (stop_typefinding),
14818 (gst_type_find_element_handle_event),
14819 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14820 * gst/elements/gsttypefindelement.h:
14821 Set caps on first outgoing buffer when we've found the type.
14823 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14825 * docs/gst/gstreamer-docs.sgml:
14826 * docs/gst/gstreamer-sections.txt:
14827 * docs/gst/tmpl/gstscheduler.sgml:
14828 * docs/gst/tmpl/gstschedulerfactory.sgml:
14829 Remove some old cruft from docs.
14831 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
14834 Fix inline docs for GstPadLinkReturn.
14836 * gst/gststructure.c: (gst_structure_has_name):
14837 * gst/gststructure.h:
14838 * docs/gst/gstreamer-sections.txt:
14839 New API: gst_structure_has_name().
14841 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
14844 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14845 and _LARGEFILE_SOURCE in config.h as required. Do not
14846 export those flags in our .pc files any longer (#142209).
14848 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14850 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14851 (gst_file_sink_do_seek), (gst_file_sink_event),
14852 (gst_file_sink_get_current_offset), (gst_file_sink_render):
14853 Redo seek/tell calls with large file support in mind; add some
14854 debugging messages; add log message that tells us when large
14855 file support is unavailable or not enabled for some reason.
14857 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14858 Add log message that tells us when large file support
14859 is unavailable or not enabled for some reason.
14861 2005-07-29 Wim Taymans <wim@fluendo.com>
14863 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14864 Added test for removing an element with ghostpad from a bin.
14865 Fixed test as current implementation does the right thing.
14867 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14868 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14869 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14870 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14871 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14872 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14873 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14874 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14875 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14876 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14877 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14878 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14879 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14880 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14881 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14882 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14883 * gst/gstghostpad.h:
14884 Clean up ghostpads, remove properties for internal stuff.
14887 Prepare for switching targets, not all use cases work yet.
14889 2005-07-29 Wim Taymans <wim@fluendo.com>
14891 * docs/design/part-gstghostpad.txt:
14894 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14895 (gst_bin_remove_func):
14896 Unlinking pads while holding the bin LOCK is not a good
14899 * gst/gstpad.c: (gst_pad_class_init),
14900 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14901 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14902 No prob setting template after creating the pad.
14904 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
14906 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14907 (gst_bus_peek), (gst_bus_source_dispatch),
14908 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14909 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14910 gst_bus_poll may be called from other threads. Handle
14911 this nicely by not making poll_data disappear off the
14912 stack once gst_bus_poll returns.
14913 gst_bus_peek now increments the refcount on the returned
14916 2005-07-29 Wim Taymans <wim@fluendo.com>
14918 * docs/design/part-gstghostpad.txt:
14919 Overview of current GhostPad datastructures and use
14920 cases for changing the target.
14922 2005-07-28 Wim Taymans <wim@fluendo.com>
14924 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14925 Added checks for hierarchy consistency whan adding linked
14928 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
14929 Added check to test element scheduling without bin/pipeline.
14931 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14932 First add elements to bin, then link.
14934 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14935 (gst_bin_remove_func):
14936 Unlink pads from elements added/removed from bin to maintain
14937 hierarchy consistency.
14939 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14941 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14942 (gst_base_transform_handle_buffer):
14943 * gst/base/gstbasetransform.h:
14944 Remove broken delay_configure (fixes renegotiation of software
14945 scaling pipelines); remove some leftover printf()s.
14947 2005-07-28 Wim Taymans <wim@fluendo.com>
14949 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14950 Added some more tests for wrong hierarchy
14952 * docs/design/part-overview.txt:
14955 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
14958 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
14959 (gst_element_dispose):
14960 Some more cleanups.
14962 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
14963 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
14964 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
14965 (gst_pad_set_caps), (gst_pad_send_event):
14966 Check for correct hierarchy when linking pads. Moving to
14967 strict requirement for ghostpads when linking elements in
14971 Clean ups. Added WRONG_HIERARCHY return value.
14973 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14975 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
14976 Better debug if no transform is possible.
14978 2005-07-27 Wim Taymans <wim@fluendo.com>
14980 * docs/random/wtay/network-transp:
14981 Some old doc I had.
14983 2005-07-27 Wim Taymans <wim@fluendo.com>
14985 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
14986 (gst_dp_event_from_packet):
14987 Fix serialization of seek events.
14989 2005-07-27 Wim Taymans <wim@fluendo.com>
14991 * check/gst-libs/gdp.c: (GST_START_TEST):
14992 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
14993 Fix compilation and fix event serialization.
14995 2005-07-27 Wim Taymans <wim@fluendo.com>
14998 * docs/design/part-TODO.txt:
14999 * docs/design/part-events.txt:
15002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15003 (gst_base_sink_event), (gst_base_sink_do_sync),
15004 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15005 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15006 (gst_base_src_do_seek), (gst_base_src_event_handler),
15007 (gst_base_src_loop):
15008 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15009 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15010 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15011 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15012 (gst_base_transform_set_passthrough),
15013 (gst_base_transform_is_passthrough):
15014 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15015 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15021 * gst/gstelement.c: (gst_element_seek):
15022 * gst/gstelement.h:
15023 Update gst_element_seek.
15025 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15026 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15027 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15028 (gst_event_new_eos), (gst_event_new_newsegment),
15029 (gst_event_parse_newsegment), (gst_event_new_tag),
15030 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15031 (gst_event_parse_qos), (gst_event_new_seek),
15032 (gst_event_parse_seek), (gst_event_new_navigation):
15034 Make GstEvent use GstStructure. Add parsing code, make sure the
15035 API is sufficiently generic.
15036 Mark possible directions of events and serialization.
15038 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15039 (_gst_message_copy), (gst_message_new_segment_start),
15040 (gst_message_new_segment_done), (gst_message_new_custom),
15041 (gst_message_parse_segment_start),
15042 (gst_message_parse_segment_done):
15045 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15046 (gst_pad_set_caps), (gst_pad_send_event):
15047 Update for new events.
15048 Catch events sent in wrong directions.
15050 * gst/gstqueue.c: (gst_queue_link_src),
15051 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15052 (gst_queue_handle_src_query):
15057 Remove event code from this file.
15059 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15060 (gst_dp_event_from_packet):
15063 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15065 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15066 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15067 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15068 Make debugging actually useful.
15070 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15072 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15073 (gst_pad_fixate_caps):
15074 Implement default fixation once again, so that gst_pad_fixate()
15075 actually does anything at all. This probably needs to be some
15076 sort of a last resort, and use profile-based fixation first, but
15077 since that doesn't exist yet, this is the best we have. Fixes
15078 visualization in Totem.
15080 2005-07-22 Wim Taymans <wim@fluendo.com>
15082 * docs/design/part-events.txt:
15085 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15086 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15087 (gst_base_sink_activate_pull):
15088 Some more comments.
15090 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15091 (gst_fake_src_create):
15092 Fix handoff marshall.
15094 * gst/elements/gstidentity.c: (gst_identity_class_init),
15095 (gst_identity_transform_ip):
15096 We're a real inplace element.
15098 * gst/gstbus.c: (gst_bus_post):
15099 Added some comments.
15101 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15102 * tests/muxing/case1.c: (main):
15103 * tests/sched/dynamic-pipeline.c: (main):
15104 * tests/sched/interrupt1.c: (main):
15105 * tests/sched/interrupt2.c: (main):
15106 * tests/sched/interrupt3.c: (main):
15107 * tests/sched/runxml.c: (main):
15108 * tests/sched/sched-stress.c: (main):
15109 * tests/seeking/seeking1.c: (event_received), (main):
15110 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15112 * tests/threadstate/threadstate3.c: (main):
15113 * tests/threadstate/threadstate4.c: (main):
15114 * tests/threadstate/threadstate5.c: (main):
15117 2005-07-21 Wim Taymans <wim@fluendo.com>
15119 * docs/design/part-seeking.txt:
15120 Some small additions.
15122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15123 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15124 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15125 * gst/base/gstbasesink.h:
15126 discont values are gint64, handle the math correctly.
15128 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15129 Make the basesrc report error if the source pad is not linked.
15131 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15132 (gst_queue_loop), (gst_queue_handle_src_query),
15133 (gst_queue_src_activate_push):
15134 Make queue collect data even if the srcpad is not linked.
15135 Start pushing out data as soon as it is linked.
15137 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15139 Added gst_flow_get_name() to ease error reporting.
15141 2005-07-20 Wim Taymans <wim@fluendo.com>
15143 * gst/gstmessage.c: (gst_message_new_segment_start),
15144 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15145 (gst_message_parse_segment_done):
15146 * gst/gstmessage.h:
15147 Added a bunch of messages for advanced seeking.
15149 * gst/parse/grammar.y:
15150 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15151 (gst_dpman_state_changed):
15152 Fix some new-pad -> pad-added signals
15154 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15156 * docs/manual/appendix-porting.xml:
15157 * docs/pwg/appendix-porting.xml:
15158 Document new-pad/state-change signal renames and the FixedList
15161 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15163 * docs/manual/advanced-autoplugging.xml:
15164 * docs/manual/basics-helloworld.xml:
15165 * docs/manual/basics-pads.xml:
15166 * docs/random/ds/0.9-suggested-changes:
15167 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15168 * gst/gstelement.h:
15172 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15173 (gst_structure_parse_array), (gst_structure_parse_value):
15174 * gst/gstvalue.c: (gst_type_is_fixed),
15175 (gst_value_list_prepend_value), (gst_value_list_append_value),
15176 (gst_value_list_get_size), (gst_value_list_get_value),
15177 (gst_value_transform_array_string), (gst_value_serialize_array),
15178 (gst_value_deserialize_array), (gst_value_intersect_array),
15179 (gst_value_is_fixed), (_gst_value_initialize):
15181 GstElement::new-pad -> pad-added, GstElement::state-change ->
15182 state-changed, GstValueFixedList -> GstValueArray, add format and
15183 flags as their own arguments in gst_element_seek() (should improve
15184 "bindeability"), remove function generators since they don't work
15185 under a whole bunch of compilers (they were deprecated already
15188 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15190 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15191 (_gst_debug_register_funcptr):
15193 Fix illegal cast on some platforms (#309253).
15195 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15197 * gst/gstmessage.c: (gst_message_new_custom):
15198 * gst/gstmessage.h:
15199 Add _new_custom, make _new_application a macro to _new_custom.
15201 2005-07-20 Wim Taymans <wim@fluendo.com>
15203 * gst/base/gstbasesrc.c: (gst_base_src_init),
15204 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15205 * gst/base/gstbasesrc.h:
15206 Add a gboolean to decide when to push out a discont.
15208 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15209 (gst_queue_loop), (gst_queue_handle_src_query),
15210 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15211 (gst_queue_set_property), (gst_queue_get_property):
15214 * tests/threadstate/threadstate1.c: (main):
15215 Make a thread test compile and run... very silly..
15218 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15220 * docs/manual/appendix-porting.xml:
15221 Mention removal of libgstgconf-0.9.la and existence of gconf
15224 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15226 * docs/pwg/advanced-clock.xml:
15227 * docs/pwg/appendix-porting.xml:
15228 * docs/pwg/intro-preface.xml:
15229 * docs/pwg/other-base.xml:
15230 * docs/pwg/other-manager.xml:
15231 * docs/pwg/other-nton.xml:
15232 * docs/pwg/other-ntoone.xml:
15233 * docs/pwg/other-oneton.xml:
15234 * docs/pwg/pwg.xml:
15235 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15236 demuxer), remove n-to-n (was never written), fix some code examples
15237 and links and update the porting section to include all this.
15239 2005-07-19 Wim Taymans <wim@fluendo.com>
15241 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15242 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15243 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15244 (gst_queue_src_activate_push), (gst_queue_change_state),
15245 (gst_queue_get_property):
15247 Propagate GstFlowReturn more intelligently upstream and output
15248 an ERROR/EOS when streaming stopped due to fatal error.
15250 2005-07-19 Wim Taymans <wim@fluendo.com>
15252 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15253 Don't block forever for the state change to complete, the
15254 pipeline already did with a sensible timeout.
15256 2005-07-19 Wim Taymans <wim@fluendo.com>
15258 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15259 Make sure we never call the create function is we
15262 2005-07-19 Andy Wingo <wingo@pobox.com>
15264 * gst/parse/parse.l: Attempt to solve bug #172815.
15266 2005-07-19 Wim Taymans <wim@fluendo.com>
15268 * docs/design/part-clocks.txt:
15269 * docs/design/part-events.txt:
15270 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15271 Small docs updates.
15272 Only update the seeking values when we are not
15275 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15277 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15278 Oops, ignore the result of gst_pad_push_event here.
15280 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15282 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15283 (gst_base_src_activate_push):
15284 Send discont event from the loop function, as pads
15285 aren't activated yet in the activate_push handler.
15287 * gst/gstbin.c: (bin_bus_handler):
15288 Don't leak element name.
15290 2005-07-18 Andy Wingo <wingo@pobox.com>
15292 * configure.ac: Use AS_LIBTOOL_TAGS.
15294 2005-07-18 Wim Taymans <wim@fluendo.com>
15296 * docs/gst/gstreamer.types:
15297 Remove deleted types.
15299 2005-07-18 Wim Taymans <wim@fluendo.com>
15301 * check/elements/gstfakesrc.c: (GST_START_TEST):
15304 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15305 (init_popt_callback):
15307 * gst/gst_private.h:
15308 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15309 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15312 * gst/gstconfig.h.in:
15313 * gst/gstelement.c: (gst_element_class_init),
15314 (gst_element_set_base_time), (gst_element_get_base_time),
15315 (iterator_fold_with_resync), (gst_element_change_state),
15316 (gst_element_dispose), (gst_element_get_bus):
15317 * gst/gstelement.h:
15318 * gst/gstelementfactory.h:
15319 * gst/gsterror.c: (_gst_core_errors_init):
15322 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15324 * gst/gstinfo.c: (_gst_debug_init):
15325 * gst/gstmessage.c: (_gst_message_copy):
15326 * gst/gstmessage.h:
15327 * gst/gstminiobject.h:
15330 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15331 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15334 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15335 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15336 (gst_pipeline_get_last_stream_time):
15337 * gst/gstpipeline.h:
15338 * gst/gstpluginfeature.h:
15340 * gst/gstscheduler.c:
15341 * gst/gstscheduler.h:
15342 * gst/gststructure.h:
15343 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15344 (gst_task_finalize), (gst_task_func), (gst_task_create),
15345 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15346 (gst_task_stop), (gst_task_pause):
15348 * gst/gsttypefind.h:
15350 * gst/registries/gstlibxmlregistry.c: (load_feature),
15351 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15352 * gst/registries/gstxmlregistry.c:
15353 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15354 * gst/schedulers/threadscheduler.c:
15355 * libs/gst/control/dparammanager.h:
15356 * tools/gst-inspect.c: (print_element_list),
15357 (print_plugin_features), (print_element_features):
15358 * tools/gst-xmlinspect.c: (print_element_list),
15359 (print_plugin_info), (main):
15360 Removed plugable schedulers.
15361 Removed Scheduler/Manager from elements.
15362 Removed gsttypes.h, rearranged includes.
15363 Removed dependency pad<->element, element<>pipeline, and
15364 various others, fix includes.
15365 implement gst_pad_get_parent() with gst_object_get_parent()
15366 Make GstTask sefcontained.
15367 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15369 Fix endless loop in iterator_fold_with_resync.
15372 2005-07-18 Wim Taymans <wim@fluendo.com>
15378 2005-07-18 Wim Taymans <wim@fluendo.com>
15381 No more cothreads.h
15383 2005-07-18 Wim Taymans <wim@fluendo.com>
15387 Let's remove these.
15389 2005-07-18 Wim Taymans <wim@fluendo.com>
15391 * docs/design/part-dynamic.txt:
15392 * docs/design/part-events.txt:
15393 * docs/design/part-seeking.txt:
15394 Some more docs in the works.
15396 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15397 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15398 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15399 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15400 (gst_base_transform_handle_buffer),
15401 (gst_base_transform_sink_activate_push),
15402 (gst_base_transform_src_activate_pull),
15403 (gst_base_transform_set_passthrough),
15404 (gst_base_transform_is_passthrough):
15407 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15410 * gst/gstevent.c: (gst_event_finalize):
15413 * gst/gstutils.c: (gst_element_unlink),
15414 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15415 (gst_pad_proxy_setcaps):
15417 Add _get_parent_element() to get a pads parent as an element.
15419 2005-07-18 Wim Taymans <wim@fluendo.com>
15421 * check/gst/gstbin.c: (GST_START_TEST):
15424 2005-07-18 Wim Taymans <wim@fluendo.com>
15426 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15427 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15428 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15429 (gst_base_sink_event), (gst_base_sink_do_sync),
15430 (gst_base_sink_chain), (gst_base_sink_loop),
15431 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15432 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15434 Fix logic for returning ASYNC when not prerolled.
15436 2005-07-18 Wim Taymans <wim@fluendo.com>
15438 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15439 Fix nasty refcount bug.
15441 2005-07-16 Philippe Khalaf <burger@speedy.org>
15443 * gst/elements/gstfdsrc.c:
15444 * gst/elements/gstfdsrc.h:
15445 * gst/elements/gstelements.c:
15446 * gst/elements/Makefile.am:
15447 Ported fdsrc to 0.9.
15449 2005-07-16 Wim Taymans <wim@fluendo.com>
15451 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15452 (gst_base_sink_do_sync):
15455 2005-07-16 Wim Taymans <wim@fluendo.com>
15457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15458 (gst_base_sink_event), (gst_base_sink_get_times),
15459 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15460 * gst/base/gstbasesink.h:
15461 Store and use discont values when syncing buffers as described
15464 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15465 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15466 (gst_base_src_activate_push):
15467 Push discont event when starting.
15469 * gst/elements/gstidentity.c: (gst_identity_transform):
15472 * gst/gstbin.c: (gst_bin_change_state):
15473 Small cleanups in base_time distribution.
15475 * gst/gstelement.c: (gst_element_set_base_time),
15476 (gst_element_get_base_time), (gst_element_change_state):
15477 * gst/gstelement.h:
15478 Added methods for the base_time of the element.
15481 * gst/gstpipeline.c: (gst_pipeline_send_event),
15482 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15483 (gst_pipeline_get_last_stream_time):
15484 * gst/gstpipeline.h:
15486 Handle seeking as described in design doc, remove stream_time
15488 Cleanups clock and stream_time selection code. Added accessors
15489 for the stream_time.
15492 2005-07-16 Andy Wingo <wingo@pobox.com>
15494 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15497 2005-07-16 Wim Taymans <wim@fluendo.com>
15499 * check/gst/gstbin.c: (GST_START_TEST):
15500 Make elements silent as the deep_notify refs the
15501 parent, which might make the test fail.
15503 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15504 Don't hold the lock for too long.
15506 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15508 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15509 Don't unref the caps we passed to gst_caps_make_writable() after
15510 passing them. gst_caps_make_writable() will do that for us.
15512 2005-07-15 Andy Wingo <wingo@pobox.com>
15514 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15517 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15518 own marshalling function for the handoff signal. Properly type the
15519 buffer as a buffer. Fixes some warnings. Should do a more general
15521 (gst_identity_class_init): Plug into the right marshaller.
15523 2005-07-15 Wim Taymans <wim@fluendo.com>
15525 * docs/design/part-TODO.txt:
15526 * docs/design/part-clocks.txt:
15527 * docs/design/part-element-sink.txt:
15528 * docs/design/part-events.txt:
15529 * docs/design/part-gstpipeline.txt:
15530 Updated docs, mostly DISCONT related.
15532 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15534 * docs/pwg/building-pads.xml:
15535 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15537 2005-07-15 Andy Wingo <wingo@pobox.com>
15539 * tools/gst-typefind.c: Update, add copyright block.
15541 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15542 Normalize and truncate caps before fixation.
15545 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15546 discards all but the first structure from its argument.
15548 2005-07-15 Wim Taymans <wim@fluendo.com>
15550 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15551 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15552 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15553 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15554 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15555 (gst_base_transform_chain), (gst_base_transform_change_state),
15556 (gst_base_transform_set_passthrough),
15557 (gst_base_transform_is_passthrough):
15558 * gst/base/gstbasetransform.h:
15559 Make passthrough work using the bufferpools.
15560 Changed API a bit, subclasses have to write into a buffer
15561 provided by the base class.
15562 More debug info in nego functions.
15564 * gst/elements/gstidentity.c: (gst_identity_init),
15565 (gst_identity_transform):
15566 Port to new base class.
15568 2005-07-15 Wim Taymans <wim@fluendo.com>
15570 * gst/gstmessage.c: (gst_message_new_state_changed):
15571 * tools/gst-launch.c: (event_loop), (main):
15572 Totally dump messages in -launch with the -m option.
15573 Fix message name for State messages,
15575 2005-07-14 Wim Taymans <wim@fluendo.com>
15577 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15578 Post error messages on errors.
15580 2005-07-14 Wim Taymans <wim@fluendo.com>
15582 * gst/gstcaps.c: (gst_caps_do_simplify):
15586 Define error for stream stopped.
15588 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15589 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15590 Do proper return values.
15592 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15593 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15594 (gst_pad_get_range):
15595 Better return values.
15598 Reorganise return values, add macro to check for fatal errors.
15600 * gst/gstqueue.c: (gst_queue_chain):
15601 Return proper GstFlowReturn values,
15603 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
15605 * docs/gst/gstreamer-sections.txt:
15606 * docs/gst/gstreamer.types:
15607 * docs/gst/tmpl/gst.sgml:
15608 * docs/gst/tmpl/gstbasesink.sgml:
15609 * docs/gst/tmpl/gstbasesrc.sgml:
15610 * docs/gst/tmpl/gstbasetransform.sgml:
15611 * docs/gst/tmpl/gstbin.sgml:
15612 * docs/gst/tmpl/gstbuffer.sgml:
15613 * docs/gst/tmpl/gstcaps.sgml:
15614 * docs/gst/tmpl/gstclock.sgml:
15615 * docs/gst/tmpl/gstcompat.sgml:
15616 * docs/gst/tmpl/gstconfig.sgml:
15617 * docs/gst/tmpl/gstelement.sgml:
15618 * docs/gst/tmpl/gstelementdetails.sgml:
15619 * docs/gst/tmpl/gstelementfactory.sgml:
15620 * docs/gst/tmpl/gstenumtypes.sgml:
15621 * docs/gst/tmpl/gsterror.sgml:
15622 * docs/gst/tmpl/gstevent.sgml:
15623 * docs/gst/tmpl/gstfakesink.sgml:
15624 * docs/gst/tmpl/gstfakesrc.sgml:
15625 * docs/gst/tmpl/gstfilesink.sgml:
15626 * docs/gst/tmpl/gstfilesrc.sgml:
15627 * docs/gst/tmpl/gstfilter.sgml:
15628 * docs/gst/tmpl/gstformat.sgml:
15629 * docs/gst/tmpl/gstghostpad.sgml:
15630 * docs/gst/tmpl/gstimplementsinterface.sgml:
15631 * docs/gst/tmpl/gstindex.sgml:
15632 * docs/gst/tmpl/gstindexfactory.sgml:
15633 * docs/gst/tmpl/gstinfo.sgml:
15634 * docs/gst/tmpl/gstiterator.sgml:
15635 * docs/gst/tmpl/gstmacros.sgml:
15636 * docs/gst/tmpl/gstmemchunk.sgml:
15637 * docs/gst/tmpl/gstminiobject.sgml:
15638 * docs/gst/tmpl/gstobject.sgml:
15639 * docs/gst/tmpl/gstpad.sgml:
15640 * docs/gst/tmpl/gstpadtemplate.sgml:
15641 * docs/gst/tmpl/gstparse.sgml:
15642 * docs/gst/tmpl/gstpipeline.sgml:
15643 * docs/gst/tmpl/gstplugin.sgml:
15644 * docs/gst/tmpl/gstpluginfeature.sgml:
15645 * docs/gst/tmpl/gstquery.sgml:
15646 * docs/gst/tmpl/gstqueue.sgml:
15647 * docs/gst/tmpl/gstregistry.sgml:
15648 * docs/gst/tmpl/gstregistrypool.sgml:
15649 * docs/gst/tmpl/gstscheduler.sgml:
15650 * docs/gst/tmpl/gstschedulerfactory.sgml:
15651 * docs/gst/tmpl/gststructure.sgml:
15652 * docs/gst/tmpl/gstsystemclock.sgml:
15653 * docs/gst/tmpl/gsttaglist.sgml:
15654 * docs/gst/tmpl/gsttagsetter.sgml:
15655 * docs/gst/tmpl/gsttrace.sgml:
15656 * docs/gst/tmpl/gsttrashstack.sgml:
15657 * docs/gst/tmpl/gsttypefind.sgml:
15658 * docs/gst/tmpl/gsttypefindfactory.sgml:
15659 * docs/gst/tmpl/gsttypes.sgml:
15660 * docs/gst/tmpl/gsturihandler.sgml:
15661 * docs/gst/tmpl/gsturitype.sgml:
15662 * docs/gst/tmpl/gstutils.sgml:
15663 * docs/gst/tmpl/gstvalue.sgml:
15664 * docs/gst/tmpl/gstversion.sgml:
15665 * docs/gst/tmpl/gstxml.sgml:
15666 * docs/libs/tmpl/gstcontrol.sgml:
15667 * docs/libs/tmpl/gstdataprotocol.sgml:
15668 * docs/libs/tmpl/gstdparam.sgml:
15669 * docs/libs/tmpl/gstdplinint.sgml:
15670 * docs/libs/tmpl/gstdpman.sgml:
15671 * docs/libs/tmpl/gstdpsmooth.sgml:
15672 * docs/libs/tmpl/gstgetbits.sgml:
15673 * docs/libs/tmpl/gstunitconvert.sgml:
15674 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15675 (gst_push_src_base_init), (gst_push_src_class_init),
15676 (gst_push_src_init), (gst_push_src_create):
15677 * gst/base/gstpushsrc.h:
15678 * gst/elements/gstelements.c:
15679 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15680 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15681 (gst_fake_sink_init), (gst_fake_sink_set_property),
15682 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15683 (gst_fake_sink_event), (gst_fake_sink_preroll),
15684 (gst_fake_sink_render), (gst_fake_sink_change_state):
15685 * gst/elements/gstfakesink.h:
15686 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15687 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15688 (gst_fake_src_base_init), (gst_fake_src_class_init),
15689 (gst_fake_src_init), (gst_fake_src_event_handler),
15690 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15691 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15692 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15693 (gst_fake_src_create_buffer), (gst_fake_src_create),
15694 (gst_fake_src_start), (gst_fake_src_stop):
15695 * gst/elements/gstfakesrc.h:
15696 * gst/elements/gstfilesink.c: (_do_init),
15697 (gst_file_sink_base_init), (gst_file_sink_class_init),
15698 (gst_file_sink_init), (gst_file_sink_dispose),
15699 (gst_file_sink_set_location), (gst_file_sink_set_property),
15700 (gst_file_sink_get_property), (gst_file_sink_open_file),
15701 (gst_file_sink_close_file), (gst_file_sink_query),
15702 (gst_file_sink_event), (gst_file_sink_render),
15703 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15704 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15705 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15706 * gst/elements/gstfilesink.h:
15707 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15708 (gst_file_src_class_init), (gst_file_src_init),
15709 (gst_file_src_finalize), (gst_file_src_set_location),
15710 (gst_file_src_set_property), (gst_file_src_get_property),
15711 (gst_file_src_map_region), (gst_file_src_map_small_region),
15712 (gst_file_src_create_mmap), (gst_file_src_create_read),
15713 (gst_file_src_create), (gst_file_src_is_seekable),
15714 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15715 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15716 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15717 (gst_file_src_uri_handler_init):
15718 * gst/elements/gstfilesrc.h:
15719 more autistic cleanliness in functions/names/defines
15721 2005-07-13 Andy Wingo <wingo@pobox.com>
15723 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15724 source couldn't negotiate.
15726 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15730 * gst/gstutils.c (gst_element_link_pads_filtered): New old
15731 function. I am channeling Hades. Put your boots on suckers!!!
15733 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
15735 * testsuite/caps/Makefile.am:
15736 * testsuite/caps/value_compare.c:
15737 * testsuite/caps/value_intersect.c:
15738 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15739 move two testsuite apps over to the check dir
15741 2005-07-12 Wim Taymans <wim@fluendo.com>
15743 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15744 Added more debug info in the negotiate process.
15746 * gst/gstmessage.h:
15747 Prepare for segment playback.
15749 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15755 * tools/gst-launch.c: (main):
15756 NULL pipeline on errors.
15758 2005-07-12 Andy Wingo <wingo@pobox.com>
15760 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15761 not it comes from a malloc region. Make sure our copy gets freed.
15763 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15765 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15766 * check/gst/gstmessage.c: (GST_START_TEST):
15767 * check/gst/gststructure.c: (GST_START_TEST),
15768 (gst_structure_suite), (main):
15770 * gst/gstelement.c: (gst_element_message_full):
15771 clean up GError and debug string now that they get copied
15772 * gst/gstmessage.c: (gst_message_new_error),
15773 (gst_message_new_warning), (gst_message_parse_error),
15774 (gst_message_parse_warning):
15775 use GST_TYPE_G_ERROR for structure_new, and take copies of
15776 arguments, so that we don't mess up refcounting
15778 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15780 * check/Makefile.am:
15781 add per-test valgrind targets
15782 * check/gst-libs/gdp.c: (GST_START_TEST),
15783 (gst_data_protocol_suite), (main):
15786 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15788 * check/Makefile.am:
15789 instate more valgrindable tests
15790 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15791 (GST_START_TEST), (fakesrc_suite):
15792 * check/gst/gstpad.c: (GST_START_TEST):
15793 * check/gst/gststructure.c: (GST_START_TEST):
15795 * docs/gst/tmpl/gstminiobject.sgml:
15796 * gst/gstpad.c: (gst_pad_finalize):
15797 fix the static mutex leak
15799 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15801 * check/Makefile.am:
15802 add two more tests for valgrinding
15803 * check/gst/gstvalue.c: (GST_START_TEST):
15804 test refcount of deserialized buffer, found a leak
15805 * docs/gst/gstreamer-docs.sgml:
15806 * docs/gst/gstreamer-sections.txt:
15807 * docs/gst/gstreamer.types:
15808 * docs/gst/tmpl/gstminiobject.sgml:
15809 add miniobject to docs
15810 * gst/gstminiobject.c:
15812 * gst/gstvalue.c: (gst_value_deserialize_buffer),
15813 (gst_string_unwrap):
15814 fix a hard-to-find invalid write for one of the tests
15815 fix a leak for deserialized buffers
15817 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15819 * docs/pwg/advanced-events.xml:
15820 * docs/pwg/advanced-request.xml:
15821 * docs/pwg/advanced-scheduling.xml:
15822 * docs/pwg/appendix-porting.xml:
15823 * docs/pwg/building-boiler.xml:
15824 * docs/pwg/intro-preface.xml:
15825 * docs/pwg/other-ntoone.xml:
15826 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15827 of example code and explanation for pad activation, loop() and
15828 getrange() functions and a bit more. Remove old comments pointing
15830 * examples/pwg/Makefile.am:
15831 Add loop/getrange examples.
15833 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15836 check for valgrind binary + some fixes
15838 valgrind suppressions for the tests
15839 * check/Makefile.am:
15840 add a valgrind: target that valgrinds the unit tests
15841 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15842 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15843 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15844 * check/gst/gstghostpad.c:
15846 * check/gst/gstdata.c:
15848 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15849 (thread_unref), (gst_mini_object_suite), (main):
15851 * gst/gst.c: (gst_deinit):
15853 add a method to clean up.
15854 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15855 (gst_system_clock_obtain):
15856 allow for disposing the system clock.
15857 * tools/gst-launch.c: (main):
15860 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15862 * docs/gst/tmpl/gstbasesrc.sgml:
15863 * docs/gst/tmpl/gstfakesrc.sgml:
15864 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15865 (gst_base_src_init), (gst_base_src_set_property),
15866 (gst_base_src_get_property), (gst_base_src_get_range),
15867 (gst_base_src_start):
15868 * gst/base/gstbasesrc.h:
15869 add num-buffers property
15870 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15871 (gst_fakesrc_init), (gst_fakesrc_set_property),
15872 (gst_fakesrc_get_property), (gst_fakesrc_create),
15873 (gst_fakesrc_start):
15874 remove num-buffers property
15876 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15878 * docs/gst/gstreamer-sections.txt:
15879 * docs/gst/tmpl/gstbasesink.sgml:
15880 * docs/gst/tmpl/gstbasesrc.sgml:
15881 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15882 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15883 (gst_base_sink_finalize), (gst_base_sink_set_clock),
15884 (gst_base_sink_set_property), (gst_base_sink_get_property),
15885 (gst_base_sink_handle_object), (gst_base_sink_event),
15886 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15887 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15888 (gst_base_sink_loop), (gst_base_sink_deactivate),
15889 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15890 (gst_base_sink_change_state):
15891 * gst/base/gstbasesink.h:
15892 * gst/base/gstbasesrc.h:
15893 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15894 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15895 (gst_filesink_init):
15896 more macro splitting
15898 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15900 * gst/gstelement.c: (gst_element_get_bus):
15902 * tools/gst-launch.c: (check_intr), (event_loop):
15905 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15907 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15910 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15912 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15913 (gst_base_src_finalize):
15914 add finalize method and clean up properly
15915 * gst/gstpipeline.c: (gst_pipeline_dispose):
15918 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15920 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15922 add more things to check
15923 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15924 * gst/gstelement.c:
15927 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15929 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15930 (GST_START_TEST), (fakesrc_suite):
15931 * check/gst-libs/gdp.c: (GST_START_TEST):
15932 * check/gst/gst.c: (GST_START_TEST):
15933 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15934 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15935 * check/gst/gstbus.c: (GST_START_TEST):
15936 * check/gst/gstcaps.c: (GST_START_TEST):
15937 * check/gst/gstdata.c: (GST_START_TEST):
15938 * check/gst/gstelement.c: (GST_START_TEST):
15939 * check/gst/gstghostpad.c: (GST_START_TEST):
15940 * check/gst/gstiterator.c: (GST_START_TEST):
15941 * check/gst/gstmessage.c: (GST_START_TEST):
15942 * check/gst/gstobject.c: (GST_START_TEST):
15943 * check/gst/gstpad.c: (GST_START_TEST):
15944 * check/gst/gststructure.c: (GST_START_TEST):
15945 * check/gst/gstsystemclock.c: (GST_START_TEST),
15946 (gst_systemclock_suite):
15947 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
15948 * check/gst/gstvalue.c: (GST_START_TEST):
15949 * check/pipelines/cleanup.c: (GST_START_TEST):
15950 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15951 * check/states/sinks.c: (GST_START_TEST):
15952 * check/gstcheck.c: (gst_check_init):
15953 * check/gstcheck.h:
15954 add debugging category
15955 use GST_START_TEST now, so we add a debug line
15957 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15959 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
15960 add test for state change message on a bin
15961 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
15963 * gst/gstbin.c: (gst_bin_init):
15964 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
15965 * gst/gstelement.c: (gst_element_post_message),
15966 (gst_element_set_state):
15967 * gst/gstelementfactory.c: (gst_element_factory_create):
15968 * gst/gstmessage.c: (gst_message_new):
15969 * gst/gstscheduler.c:
15970 various debugging additions and cleanups
15972 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15974 * check/Makefile.am:
15975 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
15977 adding tests for elements
15978 * gst/gstelement.c: (gst_element_dispose):
15980 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15982 * gst/registries/gstlibxmlregistry.c: (load_feature):
15983 plug more leaks. A simple gst_init() now is leakfree, yay.
15985 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15987 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
15988 (gst_xml_registry_load):
15989 plug another memleak
15991 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
15994 use GST_SET_ERROR_CFLAGS
15995 * docs/faq/cvs.xml:
15996 change to ERROR_CFLAGS
15998 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16001 make GST_ERROR_CFLAGS overridable and re-enable Werror
16002 * docs/faq/cvs.xml:
16003 add a note about error CFLAGS
16004 * docs/gst/tmpl/gstfakesrc.sgml:
16005 * gst/elements/gstfakesrc.c:
16006 comment out some unused code
16007 * gst/gst.c: (split_and_iterate):
16008 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16012 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16014 * common/Makefile.am:
16015 * common/gtk-doc.mak:
16016 * docs/gst/Makefile.am:
16017 factor out gtk-doc.mak
16019 2005-07-07 Wim Taymans <wim@fluendo.com>
16021 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16022 (gst_thread_scheduler_dispose):
16023 Unlock the STREAM_LOCK completely.
16025 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16027 * check/Makefile.am:
16028 * check/elements/.cvsignore:
16029 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16030 (START_TEST), (fakesrc_suite), (main):
16031 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16032 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16033 (gst_fakesrc_create), (gst_fakesrc_start):
16034 * gst/elements/gstfakesrc.h:
16035 adding a first element test
16037 2005-07-07 Andy Wingo <wingo@pobox.com>
16039 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16042 2005-07-07 Wim Taymans <wim@fluendo.com>
16048 2005-07-07 Wim Taymans <wim@fluendo.com>
16050 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16051 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16052 Allow subclasses to implement their own negotiation.
16054 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16056 * docs/design/part-gstbin.txt:
16057 * docs/design/part-gstpipeline.txt:
16058 Update design notes to reflect the movement of
16059 responsibility for bus handling from GstPipeline to
16062 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16065 Remove unnecessary queue2/3/4 examples.
16067 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16069 * examples/Makefile.am:
16070 * examples/helloworld/helloworld.c: (event_loop), (main):
16071 * examples/queue/queue.c: (event_loop), (main):
16072 * examples/queue2/queue2.c: (main):
16073 Update a couple of the examples to work again.
16075 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16076 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16077 Spelling corrections and extra debug.
16079 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16080 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16081 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16083 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16084 (gst_pipeline_change_state):
16085 * gst/gstpipeline.h:
16086 Move the bus handler for children to the GstBin, and create a
16087 separate bus for receiving messages from children to the one the
16088 bus sends 'upwards' on.
16090 2005-07-06 Wim Taymans <wim@fluendo.com>
16093 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16094 (gst_base_sink_handle_object), (gst_base_sink_loop),
16095 (gst_base_sink_change_state):
16096 * gst/base/gstbasesink.h:
16097 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16098 (gst_base_src_init), (gst_base_src_setcaps),
16099 (gst_base_src_getcaps), (gst_base_src_loop),
16100 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16101 (gst_base_src_start), (gst_base_src_change_state):
16102 * gst/base/gstbasesrc.h:
16103 Make basesrc negotiate.
16104 Handle the case where preroll fails in basesink.
16107 2005-07-06 Wim Taymans <wim@fluendo.com>
16109 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16110 Implement the fixate function.
16111 Clean up acceptcaps.
16113 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16115 * docs/pwg/building-filterfactory.xml:
16116 * docs/pwg/pwg.xml:
16117 Remove never-written filter-factory chapter; I'll add the various
16118 base classes to part 4 ("other element types") later on.
16120 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16122 * docs/pwg/advanced-negotiation.xml:
16123 * docs/pwg/building-boiler.xml:
16124 * docs/pwg/building-pads.xml:
16125 * docs/pwg/pwg.xml:
16126 * examples/pwg/Makefile.am:
16127 Add a chapter on caps negotiation, simplify the original code
16128 samples a bit w.r.t. caps negotiation, add link to the advanced
16129 section. Add a bunch of examples showing different use cases of
16130 different types of caps negotiation. Upstream renegotiation isn't
16131 fully documented yet since nobody knows how that works.
16133 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16135 * check/gst/gstpad.c:
16136 * check/gstcheck.c:
16137 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16138 if pad has no parent, return NULL as list of internal links
16140 2005-07-05 Andy Wingo <wingo@pobox.com>
16142 * gst/elements/gstfilesrc.c:
16143 * gst/elements/gstfakesrc.c:
16144 * gst/base/gstpushsrc.c:
16145 * gst/base/gstbasesrc.h:
16146 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16148 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16151 better report generation target (lcov needs a patch)
16153 2005-07-05 Andy Wingo <wingo@pobox.com>
16155 * gst/elements, testsuite: Null if we got it...
16157 2005-07-05 Wim Taymans <wim@fluendo.com>
16160 * libs/gst/dataprotocol/Makefile.am:
16161 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16162 * libs/gst/dataprotocol/dataprotocol.h:
16163 * pkgconfig/Makefile.am:
16164 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16165 * pkgconfig/gstreamer-dataprotocol.pc.in:
16166 Ported dataprotol to 0.9.
16167 Added pkgconfig files.
16169 2005-07-05 Andy Wingo <wingo@pobox.com>
16171 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16172 Default to returning TRUE for the case when tranform_caps returns
16173 a fixed caps, like for identity or volume.
16175 * check/gst/gstbus.c (pound_bus_with_messages):
16176 * check/gst/gstmessage.c (START_TEST):
16177 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16178 message API change.
16180 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16181 logic weaks here: always run transform_caps, trying passthrough
16182 operation only if the original caps intersects with the transform.
16184 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16185 source and sink caps.
16187 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16188 Intersect the peer caps with the pad template before going into
16190 (gst_base_transform_transform_caps): More debugging.
16192 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16195 2005-07-04 Edward Hervey <edward@fluendo.com>
16199 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16202 2005-07-04 Andy Wingo <wingo@pobox.com>
16204 * check/gst/gstpad.c: Only set explicit caps on pads.
16206 2005-07-01 Andy Wingo <wingo@pobox.com>
16208 * tests/network-clock.scm: Commentary update.
16210 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16211 Didn't really make sense, not implementable with basetransform,
16213 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16214 attempt at implementing the sync property, needs an unlock method.
16216 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16217 New func, by default returns the same caps (the identity
16219 (gst_base_transform_getcaps): Uses transform_caps to return
16220 something sensible.
16221 (gst_base_transform_setcaps): Complicated logic to get caps on
16222 both pads, even if they are different, and to call set_caps once
16223 for every time both pads get their caps set.
16224 (gst_base_transform_handle_buffer): Give the ref to the transform
16225 function. Allows in-place modification of the buffer.
16227 * gst/base/gstbasetransform.h (transform_caps): New class method.
16228 Given caps on one side, what can I do on the other.
16229 (set_caps): Take two caps, one for each side of the element.
16232 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16233 caps in place. This is safe because we can check the mutability of
16234 the caps, and a good idea because fixate functions are just called
16235 as a matter of last resort. (Not actually implemented.)
16236 (gst_pad_set_caps): If the caps we're setting is actually the same
16237 as the existing pad caps, just update the pointer without calling
16238 setcaps. Assert that caps is either NULL or fixed, as per the
16241 * gst/gstghostpad.c: Update for fixate changes.
16243 2005-07-02 Andy Wingo <wingo@pobox.com>
16246 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16247 two refcounts makes it immutable, which is enough. Doc more.
16249 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16251 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16252 Put the mini_object into GValue as a mini_object,
16253 not a gpointer, since that's how we declared
16256 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16258 * examples/pwg/Makefile.am:
16259 Fix buildbot again.
16261 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16263 * docs/pwg/building-testapp.xml:
16265 * examples/pwg/Makefile.am:
16268 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16271 * examples/Makefile.am:
16272 * examples/pwg/Makefile.am:
16273 * examples/pwg/extract.pl:
16274 Enable building the PWG examples.
16275 * docs/pwg/advanced-interfaces.xml:
16276 Add URI interface stub.
16277 * docs/pwg/advanced-types.xml:
16278 * docs/pwg/other-autoplugger.xml:
16279 * docs/pwg/appendix-porting.xml:
16280 * docs/pwg/pwg.xml:
16281 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16282 * docs/pwg/building-boiler.xml:
16283 * docs/pwg/building-chainfn.xml:
16284 * docs/pwg/building-pads.xml:
16285 * docs/pwg/building-props.xml:
16286 * docs/pwg/building-state.xml:
16287 * docs/pwg/building-testapp.xml:
16288 Update the building-*.xml parts for 0.9 changes. All examples
16289 code blocks compile in examples/pwg/*.
16291 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16293 * docs/manual/advanced-autoplugging.xml:
16294 * docs/manual/appendix-checklist.xml:
16295 * docs/manual/appendix-integration.xml:
16296 * docs/manual/highlevel-components.xml:
16297 Fix playbin/decodebin examples, update docs a bit, mention bus
16298 instead of signals in various places, mention kmplayer and
16299 kaffeine since they have a working GStreamer backend in the KDE
16302 2005-06-30 Wim Taymans <wim@fluendo.com>
16305 * docs/design/draft-ghostpads.txt:
16306 * docs/design/draft-push-pull.txt:
16307 * docs/design/draft-query.txt:
16308 * docs/design/part-TODO.txt:
16309 * docs/design/part-query.txt:
16310 Added CHANGES-0.9 doc, updated status of other docs.
16315 2005-06-30 Wim Taymans <wim@fluendo.com>
16317 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16318 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16319 (gst_base_sink_change_state):
16320 * gst/base/gstbasesink.h:
16321 Some tweaks, only EOS and a buffer complete a preroll.
16323 2005-06-30 Andy Wingo <wingo@pobox.com>
16325 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16326 activate_push down to the internal pad as well.
16328 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16330 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16332 * gst/gsttaginterface.c:
16333 Some documentation fixes (#307394 and #307397).
16335 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16337 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16339 * gst/gstvalue.c: (gst_value_intersect_list):
16340 Fix memleak (#309125).
16342 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16344 * docs/manual/advanced-dataaccess.xml:
16345 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16346 * docs/manual/basics-pads.xml:
16347 Add reference for filtered caps to above chapter.
16349 2005-06-30 Wim Taymans <wim@fluendo.com>
16351 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16352 (gst_bin_change_state):
16354 Lame attempt at making the state change function a bit
16357 2005-06-30 Wim Taymans <wim@fluendo.com>
16359 * docs/design/part-clocks.txt:
16360 * docs/design/part-element-sink.txt:
16361 * docs/design/part-events.txt:
16362 * docs/design/part-preroll.txt:
16363 * docs/design/part-states.txt:
16364 Some more tweeks and additions to the docs.
16366 2005-06-30 Wim Taymans <wim@fluendo.com>
16368 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16369 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16370 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16371 (gst_pad_check_pull_range), (gst_pad_get_range),
16372 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16374 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16375 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16376 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16377 (gst_pad_remove_buffer_probe):
16378 Removed atomic operations, use existing LOCK.
16379 Move exception handling out of main code path.
16381 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16383 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16384 (silly_return_true_function), (gst_pad_class_init),
16385 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16386 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16387 (gst_pad_send_event):
16388 Fix accumulator, add default value by using _emitv() instead
16389 of _emit() for signal emission.
16391 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16393 * docs/manual/advanced-dataaccess.xml:
16394 * examples/manual/Makefile.am:
16396 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16399 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16401 * gst/elements/gstfilesink.c: (gst_filesink_render):
16402 Simplify code so that we don't have to handle short
16403 writes and return GST_FLOW_ERROR if an error occured.
16405 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16407 * docs/gst/gstreamer-docs.sgml:
16408 Remove probes more.
16410 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16412 * docs/gst/gstreamer-sections.txt:
16413 * docs/gst/tmpl/gstpad.sgml:
16414 * docs/gst/tmpl/gstprobe.sgml:
16416 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16417 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16418 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16419 (gst_pad_push_event), (gst_pad_send_event):
16421 * gst/gstutils.c: (gst_pad_add_data_probe),
16422 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16423 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16424 (gst_pad_remove_buffer_probe):
16426 Remove old probes, add new g-signal-based probes and some utility
16429 2005-06-29 Edward Hervey <edward@fluendo.com>
16431 * gst/gstelementfactory.c:
16434 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16435 the definition to the header file.
16437 2005-06-29 Andy Wingo <wingo@pobox.com>
16439 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16440 plugins from the source directory.
16442 2005-06-29 Wim Taymans <wim@fluendo.com>
16444 * docs/gst/tmpl/gstbuffer.sgml:
16445 * docs/gst/tmpl/gstclock.sgml:
16446 Some fixings for blantently wrong text.
16448 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16450 * check/Makefile.am:
16451 * gst/gst.c: (add_path_func), (init_pre):
16452 * gst/gstregistry.c: (gst_registry_add_path):
16453 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16454 only scan the GST_PLUGIN_PATH locations, and not add
16457 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16459 * docs/gst/gstreamer-sections.txt:
16460 * docs/gst/tmpl/gstbasesrc.sgml:
16461 * gst/gstelement.c:
16462 * gst/gstelement.h:
16467 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16469 * docs/manual/advanced-autoplugging.xml:
16470 Fix autoplugging example.
16472 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16474 * docs/manual/advanced-autoplugging.xml:
16475 * docs/manual/mime-world.fig:
16476 Try to get autoplugging working, fix type detection. Fix text
16477 in hello-world image.
16479 2005-06-29 Wim Taymans <wim@fluendo.com>
16481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16482 (gst_base_sink_change_state):
16486 map SIGNAL and BROADCAST to the right function.
16489 Remove redundant braces.
16491 * gst/gstpad.c: (gst_pad_set_caps):
16492 Don't call setcaps function when reseting caps to NULL.
16494 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16495 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16496 (gst_system_clock_id_unschedule):
16497 Use BROADCAST as this is what we do.
16499 2005-06-29 Wim Taymans <wim@fluendo.com>
16501 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16502 We are actually prerolling before commiting the state
16505 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16507 * docs/manual/advanced-clocks.xml:
16508 * docs/manual/advanced-interfaces.xml:
16509 * docs/manual/advanced-metadata.xml:
16510 * docs/manual/advanced-position.xml:
16511 * docs/manual/advanced-schedulers.xml:
16512 * docs/manual/advanced-threads.xml:
16513 * docs/manual/appendix-porting.xml:
16514 * docs/manual/basics-bins.xml:
16515 * docs/manual/basics-bus.xml:
16516 * docs/manual/basics-elements.xml:
16517 * docs/manual/basics-helloworld.xml:
16518 * docs/manual/basics-pads.xml:
16519 * docs/manual/highlevel-components.xml:
16520 * docs/manual/manual.xml:
16521 * docs/manual/thread.fig:
16522 Update (until threads/scheduling) Application Development Manual;
16523 remove GstThread, add GstBus, add simple porting checklist, add
16524 documentation for tag writing, clocks, make all examples until this
16525 part compile and run.
16526 * examples/manual/Makefile.am:
16527 Update from changes to Application Development Manual; add bus
16528 example, remove thread example.
16530 2005-06-28 Wim Taymans <wim@fluendo.com>
16532 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16533 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16534 (gst_bus_source_dispatch):
16535 Add debugging messages.
16536 Make internal methods static.
16537 Handle the case where the bus is flushed in the handler.
16539 * gst/gstelement.c: (gst_element_get_bus):
16540 Fix refcount in _get_bus();
16542 * gst/gstpipeline.c: (gst_pipeline_change_state),
16543 (gst_pipeline_get_clock_func):
16544 Clock refcounting fixes.
16545 Handle the case where preroll timed out more gracefully.
16547 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16548 Clean up the internal thread in dispose. This is needed
16549 for subclasses that actually get disposed.
16551 * gst/schedulers/threadscheduler.c:
16552 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16553 (gst_thread_scheduler_dispose):
16554 Free thread pool in dispose.
16556 2005-06-28 Andy Wingo <wingo@pobox.com>
16558 * tests/network-clock-utils.scm (debug, print-event): New utils.
16560 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16561 (*packet-loss*): Unified loss probability.
16562 (network-time): Report out-of-band events.
16564 * tests/plot-data: Add support for out-of-band events. Hack it
16565 into this script instead of passing it down the pipe; should fix
16568 2005-06-28 Wim Taymans <wim@fluendo.com>
16570 * docs/gst/gstreamer.types:
16571 * docs/gst/tmpl/gstbasesrc.sgml:
16572 * docs/gst/tmpl/gstpad.sgml:
16575 2005-06-28 Wim Taymans <wim@fluendo.com>
16577 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16578 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16579 (gst_proxy_pad_do_fixatecaps):
16580 Correctly proxy the check_pull_range function.
16582 2005-06-28 Andy Wingo <wingo@pobox.com>
16584 * tests/network-clock.scm: Removed need for slib.
16586 2005-06-28 Wim Taymans <wim@fluendo.com>
16588 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16589 (gst_basesink_preroll_queue_flush):
16590 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16591 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16592 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16593 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16594 (gst_proxy_pad_set_property):
16597 * gst/gstqueue.c: (gst_queue_init):
16598 The deprecated pad loop function is removed now.
16600 2005-06-28 Andy Wingo <wingo@pobox.com>
16602 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16603 New parameters, simulate network packet loss.
16605 * tests/network-clock-utils.scm: Initialize the RNG.
16607 2005-06-28 Wim Taymans <wim@fluendo.com>
16609 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16610 (gst_basesink_event), (gst_basesink_deactivate):
16611 Flushing the preroll queue always needs to unlock the waiters.
16613 2005-06-28 Edward Hervey <edward@fluendo.com>
16615 * gst/gstpipeline.c: (gst_pipeline_send_event):
16616 Wheen a seek was successful on a pipeline, set the stream_time to the
16617 seek offset in order to have a synchronized stream_time.
16619 2005-06-28 Wim Taymans <wim@fluendo.com>
16621 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16622 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16623 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16624 (gst_proxy_pad_do_fixatecaps):
16625 Call wrapper function instead of just calling the function
16626 pointers. This takes care of any locking and whatmore.
16628 2005-06-28 Wim Taymans <wim@fluendo.com>
16630 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16631 (gst_pad_pull_range):
16633 CONNECTED -> LINKED.
16635 2005-06-28 Andy Wingo <wingo@pobox.com>
16637 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16638 source-munging commit!!!
16640 * gst/gstobject.c (gst_object_unref, gst_object_ref)
16641 (gst_object_sink): Take gpointer arguments, not GstObject --
16642 avoids casts. Like GLib.
16644 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16647 2005-06-27 Andy Wingo <wingo@pobox.com>
16649 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16652 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16653 returns a sorted copy of the trace list.
16654 (gst_alloc_trace_print_live): New API, only prints traces with
16655 live objects. Sort the list.
16656 (gst_alloc_trace_print_all): Sort the list.
16657 (gst_alloc_trace_print): Align columns.
16659 * gst/elements/gstttypefindelement.c:
16660 * gst/elements/gsttee.c:
16661 * gst/base/gstbasesrc.c:
16662 * gst/base/gstbasesink.c:
16663 * gst/base/gstbasetransform.c:
16664 * gst/gstqueue.c: Adapt for pad activation changes.
16666 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16668 (gst_pipeline_dispose): Drop ref on sched.
16670 * gst/gstpad.c (gst_pad_init): Set the default activate func.
16671 (gst_pad_activate_default): Push mode by default.
16672 (pre_activate_switch, post_activate_switch): New stubs, things to
16673 do before and after switching activation modes on pads.
16674 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16675 the pad's activate function to choose which mode to activate.
16676 Shortcut on deactivation and call the right function directly.
16677 (gst_pad_activate_pull): New API, (de)activates a pad in pull
16679 (gst_pad_activate_push): New API, same for push mode.
16680 (gst_pad_set_activate_function)
16681 (gst_pad_set_activatepull_function)
16682 (gst_pad_set_activatepush_function): Setters for new API.
16684 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16685 Trace all miniobjects.
16686 (gst_mini_object_make_writable): Unref the arg if we copy, like
16687 gst_caps_make_writable.
16689 * gst/gstmessage.c (_gst_message_initialize): No trace init.
16691 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
16692 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16693 Adapt for new pad API.
16695 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16697 * gst/gstelement.h:
16698 * gst/gstelement.c (gst_element_iterate_src_pads)
16699 (gst_element_iterate_sink_pads): New API functions.
16701 * gst/gstelement.c (iterator_fold_with_resync): New utility,
16702 should fold into gstiterator.c in some form.
16703 (gst_element_pads_activate): Simplified via use of fold and
16704 delegation of decisions to gstpad->activate.
16706 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16709 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16710 class once in init, like gstmessage. Didn't run into this issue
16711 but it seems correct. Don't initialize a trace, gstminiobject does
16714 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16715 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16717 (assert_live_count): New util function, uses alloc traces to check
16720 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16721 To be modified when unlink drops the internal pad.
16723 2005-06-27 Wim Taymans <wim@fluendo.com>
16725 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16726 (gst_bin_change_state):
16727 Cleanup the get_state() function a little, make sure it
16728 iterates the same set of elements.
16729 Added stub iterate_state_order().
16731 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
16733 * docs/gst/gstreamer-docs.sgml:
16734 * docs/gst/gstreamer-sections.txt:
16735 * docs/gst/gstreamer.types:
16736 * docs/gst/tmpl/gstbasesink.sgml:
16737 * docs/gst/tmpl/gstbasesrc.sgml:
16738 * docs/gst/tmpl/gstbasetransform.sgml:
16739 * docs/gst/tmpl/gstelement.sgml:
16740 * docs/gst/tmpl/gstiterator.sgml:
16741 * gst/base/gstbasesrc.c:
16742 * gst/base/gstbasesrc.h:
16743 * gst/base/gstbasetransform.h:
16744 * gst/gstelement.c:
16745 * gst/gstiterator.h:
16746 adding basetransform and iterator docs
16748 2005-06-27 Andy Wingo <wingo@pobox.com>
16750 * docs/design/part-activation.txt: Notes on how activation should
16751 work -- not quite implemented yet.
16753 2005-06-25 Wim Taymans <wim@fluendo.com>
16755 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16756 At least get the chain function correct, needs more
16759 2005-06-25 Wim Taymans <wim@fluendo.com>
16761 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16762 (gst_basesink_handle_object), (gst_basesink_event),
16763 (gst_basesink_do_sync), (gst_basesink_handle_event),
16764 (gst_basesink_change_state):
16766 Right, two problems here: ghostpads don't take locks and
16767 glib _rec_mutex_lock_full() with depth==0 still locks.
16768 Catch illegal locking and g_warn them.
16770 2005-06-25 Wim Taymans <wim@fluendo.com>
16772 * check/states/sinks.c: (START_TEST), (gst_object_suite):
16773 Have to check for completion now...
16775 2005-06-25 Wim Taymans <wim@fluendo.com>
16777 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16778 (gst_basesink_handle_object), (gst_basesink_event),
16779 (gst_basesink_do_sync), (gst_basesink_handle_event),
16780 (gst_basesink_change_state):
16782 Unlock STREAM_LOCK whatever the recursion was.
16784 2005-06-25 Wim Taymans <wim@fluendo.com>
16786 * gst/base/gstbasesink.c: (gst_basesink_set_property),
16787 (gst_basesink_preroll_queue_empty),
16788 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16789 (gst_basesink_event), (gst_basesink_do_sync),
16790 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16791 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16792 (gst_basesink_change_state):
16793 Reworked the base sink, handle event and buffer serialisation
16794 correctly and removed possible deadlock.
16795 Handle EOS correctly.
16797 2005-06-25 Wim Taymans <wim@fluendo.com>
16799 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16800 (gst_pipeline_change_state):
16801 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16802 Allow elements to post EOS in the state change function.
16803 Fix up -launch, make it exit the poll loop when the
16804 pipeline actually changed state.
16805 Fix up warning parsing in -launch.
16807 2005-06-25 Wim Taymans <wim@fluendo.com>
16809 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16810 (gst_tee_sink_activate):
16811 Core takes STREAM_LOCK for us now.
16813 2005-06-25 Wim Taymans <wim@fluendo.com>
16815 * gst/gstelement.c: (gst_element_get_state_func),
16816 (gst_element_set_state):
16817 * gst/gstelement.h:
16818 * gst/gstmessage.c: (gst_message_parse_error),
16819 (gst_message_parse_warning):
16820 Keep track of current target state while performing a state
16821 change so that subclasses can do something interesting.
16822 Fix parsing of warning/error messages when GError is NULL.
16824 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
16826 * docs/gst/Makefile.am:
16827 * docs/gst/gstreamer-docs.sgml:
16828 * docs/gst/gstreamer-sections.txt:
16829 * docs/gst/gstreamer.types:
16830 * docs/gst/tmpl/gstbasesink.sgml:
16831 * docs/gst/tmpl/gstbasesrc.sgml:
16832 * docs/gst/tmpl/gstbin.sgml:
16833 * docs/gst/tmpl/gstcompat.sgml:
16834 * docs/gst/tmpl/gstfakesink.sgml:
16835 * docs/gst/tmpl/gstfakesrc.sgml:
16836 * docs/gst/tmpl/gstfilesink.sgml:
16837 * docs/gst/tmpl/gstfilesrc.sgml:
16838 * docs/gst/tmpl/gstindex.sgml:
16839 * docs/manual/appendix-quotes.xml:
16840 * gst/base/gstbasesrc.h:
16841 * gst/elements/gstfakesrc.h:
16842 * gst/gstmessage.h:
16843 start pulling in base classes and elements in our docs
16845 2005-06-24 Stefan Kost <ensonic@users.sf.net>
16847 * docs/gst/Makefile.am:
16848 * docs/libs/Makefile.am:
16849 fixed make distcheck with gtk-doc 1.3
16851 2005-06-23 Wim Taymans <wim@fluendo.com>
16853 * gst/gstelement.c: (gst_element_get_state_func),
16854 (gst_element_set_state), (gst_element_change_state):
16855 When the state did not change, also report NO_PREROLL
16858 2005-06-23 Wim Taymans <wim@fluendo.com>
16860 * gst/gstpad.c: (gst_pad_event_default):
16861 * gst/gstqueue.c: (gst_queue_loop):
16862 No unsafe task pausing please.
16864 2005-06-23 Wim Taymans <wim@fluendo.com>
16866 * gst/schedulers/threadscheduler.c:
16867 (gst_thread_scheduler_task_start),
16868 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16869 Ref the task before pushing it on the threadpool. This
16870 makes sure that we have a ref when the threadfunction is
16873 2005-06-23 Andy Wingo <wingo@pobox.com>
16875 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16876 offset is greater than the file's size.
16878 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
16879 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16880 * gst/gstobject.c (gst_object_class_init): Make the class lock
16881 recursive. Wim won't let me drop deep_notify. Decodebin works
16882 again, whoopdy doo.
16884 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16885 internal pad, and hacks accordingly. Doesn't do it on the target
16886 pad because we change its caps. Probably catches all cases of
16888 (gst_ghost_pad_set_property): Connect to notify::caps as
16891 * tests/network-clock.scm (plot-simulation): Pipe data to the
16892 elite python skript.
16894 * tests/network-clock-utils.scm (define-parameter): New macro,
16895 defines a parameter that can be set via the command line.
16896 (set-parameter!, parse-parameter-arguments): Command line args
16899 * tests/plot-data: Simple matplotlib-based plotter, takes input on
16902 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
16904 * gst/elements/gsttypefindelement.c:
16905 (gst_type_find_element_handle_event):
16906 Don't restart typefinding on a discont.
16907 * gst/gstelement.c: (gst_element_set_state):
16908 Debug spelling fix.
16909 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16910 Allow changing mode of an active pad.
16911 Debug output fixes.
16912 * gst/registries/gstlibxmlregistry.c: (load_feature):
16913 Don't cast a static pad template to a normal pad template.
16915 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
16917 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16918 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16919 remove gst_strtoll completely, since it didn't actually do
16920 anything more than what g_ascii_strtoull already does.
16921 check for range errors when deserializing
16922 do a cast for the unsigned cases; but further fixing needs
16923 a decision on what the interpretation of "(int)" and
16924 deserialization should be for values that fall outside the
16925 type's boundaries (ie, refuse, or interpret as casting)
16927 2005-06-23 Wim Taymans <wim@fluendo.com>
16929 * check/Makefile.am:
16930 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
16931 * docs/design/part-live-source.txt:
16932 * docs/design/part-states.txt:
16933 * gst/base/gstbasesrc.c: (gst_basesrc_init),
16934 (gst_basesrc_set_live), (gst_basesrc_is_live),
16935 (gst_basesrc_get_range), (gst_basesrc_activate),
16936 (gst_basesrc_change_state):
16937 * gst/base/gstbasesrc.h:
16938 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16939 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16940 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
16941 * gst/gstelement.c: (gst_element_get_state_func),
16942 (gst_element_set_state):
16943 * gst/gstelement.h:
16945 * tools/gst-launch.c: (event_loop), (main):
16946 Added support for live sources and other elements that
16948 Updated design docs, added live-source design doc.
16949 Implemented live source functionality in basesrc
16950 Fix error condition in _bin_get_state()
16951 Implement live source handling in -launch.
16952 Added check for live sources.
16953 Fixed case in GstBin where elements were changed state
16957 2005-06-23 Andy Wingo <wingo@pobox.com>
16959 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
16960 borken refcounting.
16962 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
16963 gst_caps_replace takes care of this for us.
16965 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
16966 gst_pad_set_caps on the target, not just its setcaps() function.
16968 * tests/network-clock.scm:
16969 * tests/network-clock-utils.scm: A network clock simulator.
16970 Something of an algorithmic testbed before doing something in C.
16972 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16974 * check/Makefile.am:
16975 * check/gst/capslist.h:
16976 copy over from 0.8, and add two with bitmasks specified with
16978 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
16979 add test to parse everything from capslist.h
16980 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
16982 add test for structure deserialization
16983 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16984 add tests for deserialization of strings to int types
16985 * gst/gststructure.c: (gst_structure_nth_field_name):
16986 * gst/gststructure.h:
16987 add a way to get the name of a field referenced by index
16988 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16989 instead of checking if the resulting long long lies between
16990 min and max, we check if the long long would fit into
16991 a number of bytes for the final type.
16992 This fixes cases where a string represents 2^32 - 1, which
16993 when cast to int would be the (valid) -1, but is bigger than
16996 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
16998 * gst/parse/grammar.y:
16999 add a log line for type deserialization
17001 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17003 * check/gst/gstvalue.c: (START_TEST):
17004 * gst/gstvalue.c: (gst_value_deserialize):
17005 return long long, not int, so gint64 deserialization actually
17006 works. Is there any flag that makes the compiler check this ?
17009 2005-06-22 Wim Taymans <wim@fluendo.com>
17012 Added convenience macros for setting buffers in GValue.
17014 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17016 * check/gst/.cvsignore:
17017 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17018 add a test deserializing int64, and comment part out because
17021 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17023 * check/Makefile.am:
17024 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17025 * testsuite/Makefile.am:
17026 * testsuite/caps/Makefile.am:
17027 * testsuite/caps/value_serialize.c:
17028 * testsuite/test_gst_init.c:
17029 move a value_serialize test over
17031 2005-06-20 Wim Taymans <wim@fluendo.com>
17036 * gst/gstvalue.c: (gst_value_compare_buffer),
17037 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17038 (gst_value_compare_flags), (gst_value_serialize_flags),
17039 (gst_value_deserialize_flags), (_gst_value_initialize):
17040 Fix serialisation of buffers, they are not boxed types anymore
17042 2005-06-20 Wim Taymans <wim@fluendo.com>
17044 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17045 Testcase to show error in buffer-on-caps serialisation.
17047 2005-06-20 Andy Wingo <wingo@pobox.com>
17049 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17050 will be adding to later.
17052 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17053 if its socks fill with rocks.
17054 (gst_system_clock_obtain): Set the name on object construction.
17055 Avoid double-checked locking.
17057 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17059 * gst/gsturi.c: (gst_element_make_from_uri):
17060 Fix potential endless loop.
17062 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17064 * check/Makefile.am:
17066 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17068 move over from testsuite dir and clean up
17071 * testsuite/Makefile.am:
17072 * testsuite/tags/.cvsignore:
17073 * testsuite/tags/Makefile.am:
17074 * testsuite/tags/merge.c:
17075 remove testsuite/tags
17077 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17079 * docs/gst/gstreamer-sections.txt:
17080 * docs/gst/tmpl/gstenumtypes.sgml:
17081 * win32/gstenumtypes.c:
17082 clean up documentation build a little
17084 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17086 * check/gstcheck.h:
17087 add macros for checking refcounts on objects and caps
17088 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17089 add some more unit tests
17090 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17091 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17092 fix leaked refcounts (I hope :)) so unittest works
17096 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17098 * configure.ac: back to HEAD
17100 === release 0.9.1 ===
17102 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17108 2005-06-17 Andy Wingo <wingo@pobox.com>
17110 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17111 assert; it's always possible that the pad gets deactivated in
17112 between the checks in gstpad.c and the implementation. Rely on
17113 finish_preroll() to return a FLUSHING or similar instead of on the
17116 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17117 clock and post an EOS message if we come out of finish_preroll in
17120 2005-06-16 David Schleef <ds@schleef.org>
17122 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17123 (gst_capsfilter_set_property): Allow NULL as possible value
17124 for filter_caps property, indicating GST_CAPS_ANY.
17126 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17128 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17130 * gst/schedulers/Makefile.am:
17132 * gstreamer.spec.in:
17135 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17137 * gstreamer.spec.in:
17140 2005-06-08 Andy Wingo <wingo@pobox.com>
17142 * gst/gstutils.c: RPAD fixes all around.
17143 (gst_element_link_pads): Refcounting fixes.
17145 * tools/gst-inspect.c:
17146 * tools/gst-xmlinspect.c:
17148 * gst/base/gsttypefindhelper.c:
17149 * gst/base/gstbasesink.c:
17150 * gst/gstqueue.c: RPAD fixes.
17152 * gst/gstghostpad.h:
17153 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17154 pads. The tricky thing is they provide both source and sink
17155 interfaces, since they proxy the internal pad for the external
17156 pad, and vice versa. Implement with lower-level ProxyPad objects,
17157 with the interior proxy pad as a child of the exterior ghost pad.
17158 Should write a doc on this.
17160 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17161 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17164 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17165 pads are real pads. No ghost pads in this file. Not documenting
17166 the myriad s/RPAD/PAD/ and REALIZE fixes.
17167 (gst_pad_class_init): Add properties for "direction" and
17168 "template". Both are construct-only, so they can't change during
17169 the life of the pad. Fixes properly deriving from GstPad.
17170 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17171 derived objects, just set properties when creating the objects via
17173 (gst_pad_get_parent): Implement as a function, return NULL if the
17174 parent is not an element.
17175 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17176 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17178 * gst/gstobject.c (gst_object_class_init): Make name a construct
17179 property. Don't set it in the object init.
17181 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17182 with UNKNOWN direction.
17183 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17184 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17185 (gst_element_remove_pad): Remove ghost-pad special cases.
17186 (gst_element_pads_activate): Remove rpad cruft.
17188 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17189 catch the pad's-parent-not-an-element case.
17191 * gst/gst.h: Include gstghostpad.h.
17193 * gst/gst.c (init_post): No more real, ghost pads.
17195 * gst/Makefile.am: Add gstghostpad.[ch].
17197 * check/Makefile.am:
17198 * check/gst/gstbin.c:
17199 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17200 into a bin creates ghost pads, and that the refcounts are right.
17201 Partly moved from gstbin.c.
17203 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17205 * check/gst-libs/.cvsignore:
17206 * check/gst/.cvsignore:
17207 * check/pipelines/.cvsignore:
17209 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17210 (START_TEST), (cleanup_suite), (main):
17211 add some tests related to cleanup after running pipelines
17213 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17215 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17216 add a testsuite for GstBuffer
17218 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17220 * gst/gstminiobject.h:
17221 add defines for accessing the refcount
17223 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17225 * Makefile.am: added support for html unit test coverage reports
17227 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17229 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17230 Free existing caps if the capsfilter changes. Add a FIXME about
17231 setting those caps on the pads.
17233 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17234 Before adding a ghost pad to a parent bin, check that there isn't
17235 already one for the element on the bin. Prevents infinite recursion
17236 when using decodebin in parse pipelines. Andy says he'll rewrite the
17237 way this works anyway, so ignore the hack.
17239 2005-06-02 Andy Wingo <wingo@pobox.com>
17241 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17242 file size, pass it on to the type find helper.
17244 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17245 segment_start and segment_end properly according to the seek
17246 method. Segment_end is still a bit flaky because offset can be
17247 negative for CUR and END cases, but it takes -1 as an "unset"
17250 2005-06-02 Wim Taymans <wim@fluendo.com>
17252 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17253 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17254 (gst_basesink_activate):
17255 * gst/base/gstbasesink.h:
17256 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17257 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17258 (gst_pad_query), (gst_pad_start_task):
17260 * gst/gstqueue.c: (gst_queue_bufferalloc),
17261 (gst_queue_handle_sink_event), (gst_queue_chain):
17262 Bufferalloc: return GstFlowReturn to more accuratly report
17263 why allocation failed.
17265 2005-06-02 Wim Taymans <wim@fluendo.com>
17267 * gst/gstpipeline.c: (gst_pipeline_send_event):
17268 Take snapshot of state without blocking.
17270 2005-06-02 Wim Taymans <wim@fluendo.com>
17272 * docs/design/part-TODO.txt:
17273 * docs/design/part-caps.txt:
17274 * docs/design/part-clocks.txt:
17275 * docs/design/part-negotiation.txt:
17276 * docs/design/part-preroll.txt:
17279 2005-05-30 Wim Taymans <wim@fluendo.com>
17281 * gst/elements/gstidentity.c: (gst_identity_event),
17282 (gst_identity_transform), (gst_identity_get_property):
17283 Protect last_message property as it is accessed from
17286 2005-05-30 Wim Taymans <wim@fluendo.com>
17288 * gst/gstelement.c: (gst_element_init),
17289 (gst_element_pads_activate), (gst_element_change_state):
17290 Slicker pad activation code.
17292 2005-05-30 Wim Taymans <wim@fluendo.com>
17295 * gst/gstelement.h:
17296 * gst/gstelementfactory.h:
17298 Move elementfactory methods to separate .h file.
17300 2005-05-30 Wim Taymans <wim@fluendo.com>
17302 * docs/design/part-overview.txt:
17303 * gst/gstsystemclock.h:
17304 Small typo fixes, doc updates.
17306 2005-05-30 Wim Taymans <wim@fluendo.com>
17308 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17309 (init_popt_callback):
17310 Remove cpu-opt flag.
17312 2005-05-30 Wim Taymans <wim@fluendo.com>
17314 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17315 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17317 Avoid typechecking in places where not needed.
17318 Added accessor for malloc_data.
17320 2005-05-30 Wim Taymans <wim@fluendo.com>
17322 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17323 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17324 (gst_pad_configure_sink), (gst_pad_configure_src),
17325 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17326 (gst_pad_start_task):
17327 Propagate errors from _set_caps() in configure_src/sink
17328 functions instead of returning TRUE.
17329 FLUSH events can travel up and downstream
17332 2005-05-30 Wim Taymans <wim@fluendo.com>
17334 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17335 (gst_basesink_activate):
17336 Handle EOS in preroll.
17338 2005-05-30 Wim Taymans <wim@fluendo.com>
17340 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17341 (gst_queue_loop), (gst_queue_handle_src_event):
17342 Remove old pieces of code
17343 Flushing the queue in an upstream event is a very bad idea.
17345 2005-05-26 Andy Wingo <wingo@pobox.com>
17347 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17348 gst_value_set_mini_object so as to add a ref on the object (which
17349 will be removed when the value is unset).
17351 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17352 arg type in ::handoff.
17354 * gst/gstelement.c (gst_element_change_state): Also deactivate
17355 pads in READY->NULL, just in case the element didn't make it to
17356 PAUSED. Wingo tested, Wim approved.
17358 2005-05-26 Wim Taymans <wim@fluendo.com>
17360 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17361 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17362 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17363 A flushing pad cannot be used to alloc_buffer from.
17365 2005-05-26 Wim Taymans <wim@fluendo.com>
17367 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17368 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17369 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17370 (gst_bus_create_watch), (gst_bus_add_watch_full):
17372 Implement a real GSource and use g_main_context_wakeup() to
17373 signal new messages instead of the socketpair.
17375 2005-05-25 Wim Taymans <wim@fluendo.com>
17377 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17378 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17379 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17380 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17381 (gst_pad_send_event), (gst_pad_start_task):
17382 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17383 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17384 (gst_queue_sink_activate), (gst_queue_src_activate),
17385 (gst_queue_change_state):
17387 Fix state changes for non sinks. We now change sinks, then elements
17388 with unconnected srcpads, then the rest.
17389 More efficient queue unlocking in flush and state changes.
17390 Set the pad activate mode even if it does not have an activate
17393 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17395 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17396 Don't go in pull mode for non-seekable sources.
17397 * gst/elements/gsttypefindelement.h:
17398 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17399 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17400 (free_entry), (stop_typefinding),
17401 (gst_type_find_element_handle_event), (find_peek),
17402 (gst_type_find_element_chain), (do_pull_typefind),
17403 (gst_type_find_element_change_state):
17404 Allow typefinding (w/o seeking) in push-mode, simplified version
17405 of what was in 0.8.
17406 * gst/gstutils.c: (gst_buffer_join):
17408 gst_buffer_join() from 0.8.
17410 2005-05-25 Wim Taymans <wim@fluendo.com>
17412 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17413 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17414 (gst_pad_send_event), (gst_pad_start_task):
17415 Disable attempt at mode switching until it is figured out.
17417 2005-05-25 Wim Taymans <wim@fluendo.com>
17419 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17420 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17421 (gst_basesink_finish_preroll), (gst_basesink_chain),
17422 (gst_basesink_loop), (gst_basesink_activate),
17423 (gst_basesink_change_state):
17424 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17425 (gst_basesrc_get_range), (gst_basesrc_loop),
17426 (gst_basesrc_activate):
17427 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17428 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17429 (gst_real_pad_init), (gst_real_pad_set_property),
17430 (gst_real_pad_get_property), (gst_pad_set_active),
17431 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17432 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17433 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17434 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17435 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17436 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17437 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17438 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17439 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17440 (gst_pad_stop_task):
17442 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17443 (gst_queue_loop), (gst_queue_src_activate):
17444 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17445 (gst_task_get_state):
17447 * gst/schedulers/threadscheduler.c:
17448 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17449 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17451 Remove ACTIVE pad flag, use FLUSHING everywhere
17452 Added _pad_chain(), _pad_get_range() to call chain/getrange
17454 Add locks around IS_FLUSHING when reading.
17455 Take STREAM lock in chain(), get_range() functions so plugins
17456 don't need to take it anymore.
17460 2005-05-25 Wim Taymans <wim@fluendo.com>
17462 * tools/gst-launch.c: (event_loop):
17463 Unref message after using its contents instead of
17466 2005-05-24 Wim Taymans <wim@fluendo.com>
17468 * docs/design/draft-ghostpads.txt:
17469 * docs/design/draft-push-pull.txt:
17470 * docs/design/draft-query.txt:
17471 * docs/design/part-overview.txt:
17472 Docs updates, added general overview doc.
17474 2005-05-21 David Schleef <ds@schleef.org>
17476 * docs/gst/tmpl/old/GstBin.sgml:
17477 * docs/gst/tmpl/old/GstBuffer.sgml:
17478 * docs/gst/tmpl/old/GstCaps.sgml:
17479 * docs/gst/tmpl/old/GstClock.sgml:
17480 * docs/gst/tmpl/old/GstCompat.sgml:
17481 * docs/gst/tmpl/old/GstData.sgml:
17482 * docs/gst/tmpl/old/GstElement.sgml:
17483 * docs/gst/tmpl/old/GstEvent.sgml:
17484 * docs/gst/tmpl/old/GstIndex.sgml:
17485 * docs/gst/tmpl/old/GstStructure.sgml:
17486 * docs/gst/tmpl/old/GstTag.sgml:
17487 * docs/gst/tmpl/old/cothreads.sgml:
17488 * docs/gst/tmpl/old/cothreads_compat.sgml:
17489 * docs/gst/tmpl/old/gettext.sgml:
17490 * docs/gst/tmpl/old/gobject2gtk.sgml:
17491 * docs/gst/tmpl/old/grammar.tab.sgml:
17492 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17493 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17494 * docs/gst/tmpl/old/gst_private.sgml:
17495 * docs/gst/tmpl/old/gstaggregator.sgml:
17496 * docs/gst/tmpl/old/gstarch.sgml:
17497 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17498 * docs/gst/tmpl/old/gstbufferstore.sgml:
17499 * docs/gst/tmpl/old/gstdata_private.sgml:
17500 * docs/gst/tmpl/old/gstdisksink.sgml:
17501 * docs/gst/tmpl/old/gstdisksrc.sgml:
17502 * docs/gst/tmpl/old/gstelementfactory.sgml:
17503 * docs/gst/tmpl/old/gstextratypes.sgml:
17504 * docs/gst/tmpl/old/gstfakesink.sgml:
17505 * docs/gst/tmpl/old/gstfakesrc.sgml:
17506 * docs/gst/tmpl/old/gstfdsink.sgml:
17507 * docs/gst/tmpl/old/gstfdsrc.sgml:
17508 * docs/gst/tmpl/old/gstfilesink.sgml:
17509 * docs/gst/tmpl/old/gstfilesrc.sgml:
17510 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17511 * docs/gst/tmpl/old/gstidentity.sgml:
17512 * docs/gst/tmpl/old/gstindexfactory.sgml:
17513 * docs/gst/tmpl/old/gstmarshal.sgml:
17514 * docs/gst/tmpl/old/gstmd5sink.sgml:
17515 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17516 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17517 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17518 * docs/gst/tmpl/old/gstpipefilter.sgml:
17519 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17520 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17521 * docs/gst/tmpl/old/gstshaper.sgml:
17522 * docs/gst/tmpl/old/gstspider.sgml:
17523 * docs/gst/tmpl/old/gstspideridentity.sgml:
17524 * docs/gst/tmpl/old/gststatistics.sgml:
17525 * docs/gst/tmpl/old/gsttee.sgml:
17526 * docs/gst/tmpl/old/gsttimecache.sgml:
17527 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17528 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17529 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17530 * docs/gst/tmpl/old/types.sgml:
17531 I didn't intend to add these or check them in.
17533 2005-05-19 David Schleef <ds@schleef.org>
17535 * configure.ac: Use -no-common everywhere. In a sane world, it
17536 would be the default in libtool, because without it, you can't
17537 build DLLs on Windows.
17538 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17539 * docs/gst/gstreamer-sections.txt:
17540 * docs/gst/tmpl/gstcpu.sgml:
17541 * docs/gst/tmpl/gstdata.sgml:
17542 * docs/gst/tmpl/gstthread.sgml:
17544 2005-05-19 David Schleef <ds@schleef.org>
17546 * gst/gstminiobject.c: (gst_value_set_mini_object),
17547 (gst_value_take_mini_object), (gst_value_get_mini_object):
17548 * gst/gstminiobject.h: Add GValue set/get functions.
17550 2005-05-19 Wim Taymans <wim@fluendo.com>
17552 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17553 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17554 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17556 * gst/gstbus.c: (gst_bus_post):
17557 * gst/gstelement.c: (gst_element_get_random_pad):
17558 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17559 Make subbufer unref the parent in finalize.
17560 some more debugging info.
17563 2005-05-19 Wim Taymans <wim@fluendo.com>
17565 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17566 (gst_basesink_init), (gst_basesink_finalize),
17567 (gst_basesink_activate), (gst_basesink_change_state):
17568 Don't free preroll queue too early.
17570 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17574 Hi, I'm outdated. Please shoot me.
17576 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17578 * gst/gstpipeline.c: (gst_pipeline_send_event):
17579 Do not access variables after they have been deleted.
17581 2005-05-19 Wim Taymans <wim@fluendo.com>
17583 * tools/gst-inspect.c: (print_plugin_features):
17584 A plugin feature does unfortunatly not use the
17587 2005-05-18 Wim Taymans <wim@fluendo.com>
17589 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17590 Port _span() functions to new subbuffers.
17592 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17594 * gst/gstbin.c: (gst_bin_add_func):
17595 Fix clock settery in bins when adding kids after the clock has
17598 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17600 * gst/elements/gstidentity.c: (gst_identity_class_init):
17601 Workaround until signals support GstMiniObject.
17603 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
17606 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17608 2005-05-18 Wim Taymans <wim@fluendo.com>
17610 * gst/base/Makefile.am:
17611 * gst/base/gstadapter.c: (gst_adapter_base_init),
17612 (gst_adapter_class_init), (gst_adapter_init),
17613 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17614 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17615 (gst_adapter_flush), (gst_adapter_available),
17616 (gst_adapter_available_fast):
17617 * gst/base/gstadapter.h:
17618 Ported and added adapter to the base classes.
17620 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17623 * gst/gstmessage.c:
17624 Make sure the class is reffed/unreffed once before threads can be
17625 used. Fixes #304551.
17627 2005-05-17 Wim Taymans <wim@fluendo.com>
17629 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17630 (gst_basesink_chain_unlocked), (gst_basesink_activate):
17631 * gst/gstminiobject.c: (gst_mini_object_get_type),
17632 (gst_mini_object_free):
17633 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17634 (gst_pad_push), (gst_pad_push_event):
17635 * gst/gstqueue.c: (gst_queue_change_state):
17636 Don't queue buffers in basesink when we are flushing.
17637 Unref buffer when flushing in basesink.
17638 Flush queue when going to READY
17639 Unref buffer when _push() returns an error.
17640 Don't free MiniObject instance when refcount is incremented
17641 in _finalize() so that we can recover objects.
17643 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
17645 * docs/manual/advanced-schedulers.xml:
17646 * docs/manual/appendix-checklist.xml:
17647 * docs/pwg/advanced-clock.xml:
17648 * docs/pwg/advanced-interfaces.xml:
17649 * docs/pwg/advanced-request.xml:
17650 * docs/pwg/advanced-types.xml:
17651 * docs/pwg/intro-preface.xml:
17652 * examples/plugins/example.c: (gst_example_get_type),
17653 (gst_example_class_init), (gst_example_chain),
17654 (gst_example_set_property), (gst_example_get_property),
17655 (gst_example_change_state), (plugin_init):
17656 * examples/plugins/example.h:
17659 2005-05-17 Wim Taymans <wim@fluendo.com>
17661 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17662 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17663 * gst/gstqueue.c: (gst_queue_change_state):
17664 Clear queue when going to READY.
17665 Remove IN_SETCAPS flag too.
17667 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
17669 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17670 Remove implicit cast from gboolean to GstElementStateReturn;
17671 make sure we still return failure in paused => ready case if
17672 the parent class fails to change state and our own stop
17675 2005-05-17 Wim Taymans <wim@fluendo.com>
17677 * tools/gst-launch.c: (event_loop):
17678 Message was unreffed too soon.
17680 2005-05-16 Andy Wingo <wingo@pobox.com>
17682 * gst/gstbin.c (sink_iterator_filter): Err... um...
17684 * check/gst/gstbin.c (test_ghost_pads): New test for the
17685 ghosting-if-elements-not-in-same-bin behavior.
17687 2005-05-16 David Schleef <ds@schleef.org>
17689 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17690 accessing refcount directly.
17692 2005-05-15 David Schleef <ds@schleef.org>
17694 * check/Makefile.am: remove GstData checks
17695 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17696 * gst/Makefile.am: add miniobject, remove data
17697 * gst/gst.h: add miniobject, remove data
17698 * gst/gstdata.c: remove
17699 * gst/gstdata.h: remove
17700 * gst/gstdata_private.h: remove
17701 * gst/gsttypes.h: remove GstEvent and GstMessage
17702 * gst/gstelement.c: (gst_element_post_message): fix for API changes
17703 * gst/gstmarshal.list: change BOXED -> OBJECT
17705 Implement GstMiniObject.
17706 * gst/gstminiobject.c:
17707 * gst/gstminiobject.h:
17709 Modify to be subclasses of GstMiniObject.
17710 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17711 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17712 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17713 (gst_subbuffer_get_type), (gst_subbuffer_init),
17714 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17717 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17718 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17719 (_gst_event_copy), (gst_event_new):
17721 * gst/gstmessage.c: (_gst_message_initialize),
17722 (gst_message_get_type), (gst_message_class_init),
17723 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17724 (gst_message_new), (gst_message_new_error),
17725 (gst_message_new_warning), (gst_message_new_tag),
17726 (gst_message_new_state_changed), (gst_message_new_application):
17727 * gst/gstmessage.h:
17728 * gst/gstprobe.c: (gst_probe_perform),
17729 (gst_probe_dispatcher_dispatch):
17731 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17732 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17733 (_gst_query_copy), (gst_query_new):
17735 Update elements for GstData -> GstMiniObject changes
17737 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17738 (gst_queue_chain), (gst_queue_loop):
17739 * gst/elements/gstbufferstore.c:
17740 (gst_buffer_store_add_buffer_func),
17741 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17742 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17743 (gst_fakesink_render):
17744 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17745 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17746 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17747 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17748 (gst_filesrc_create_read):
17749 * gst/elements/gstidentity.c: (gst_identity_class_init):
17750 * gst/elements/gsttypefindelement.c:
17751 (gst_type_find_element_src_event), (free_entry_buffers),
17752 (gst_type_find_element_handle_event):
17753 * libs/gst/dataprotocol/dataprotocol.c:
17754 (gst_dp_header_from_buffer):
17755 * libs/gst/dataprotocol/dataprotocol.h:
17756 * libs/gst/dataprotocol/dp-private.h:
17758 2005-05-15 David Schleef <ds@schleef.org>
17760 * gst/elements/gstelements.c: Don't include headers that were
17763 2005-05-15 David Schleef <ds@schleef.org>
17765 * gst/elements/Makefile.am: Remove some elements that don't
17766 need to be in the core (or even exist at all).
17767 * gst/elements/gstaggregator.c:
17768 * gst/elements/gstaggregator.h:
17769 * gst/elements/gstmd5sink.c:
17770 * gst/elements/gstmd5sink.h:
17771 * gst/elements/gstmultifilesrc.c:
17772 * gst/elements/gstmultifilesrc.h:
17773 * gst/elements/gstpipefilter.c:
17774 * gst/elements/gstpipefilter.h:
17775 * gst/elements/gstshaper.c:
17776 * gst/elements/gstshaper.h:
17777 * gst/elements/gststatistics.c:
17778 * gst/elements/gststatistics.h:
17779 * po/POTFILES.in: Remove above files.
17781 2005-05-14 Andy Wingo <wingo@pobox.com>
17783 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17784 so as to get the refs right.
17785 (sink_iterator_filter): New function, wraps bin_element_is_sink,
17786 unreffing objects that don't pass the filter.
17788 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17789 gst_element_set_bus.
17790 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17791 normal cases, this will destroy the bus.
17793 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17796 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17799 2005-05-13 Andy Wingo <wingo@pobox.com>
17801 * gst/gstutils.c (gst_element_link_pads): Instead of calling
17802 gst_pad_link, call pad_link_maybe_ghosting,
17803 (pad_link_maybe_ghosting): Links pads, making sure that the
17804 elements being linked are in the same bin.
17805 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17806 Helpers for pad_link_maybe_ghosting.
17808 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17811 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17813 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17815 * docs/design/part-element-source.txt:
17818 2005-05-12 Wim Taymans <wim@fluendo.com>
17820 * gst/base/gstbasesink.c: (gst_basesink_init),
17821 (gst_basesink_activate):
17822 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17823 (gst_basesrc_is_seekable):
17824 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17825 (bin_element_is_sink), (gst_bin_change_state):
17826 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17827 * gst/gstelement.h:
17828 Identify sinks by their flag to avoid overly complicated
17830 Do state changes even for elements not reachable from the
17832 BaseSink is a sink now :)
17833 Some more debugging info in the basesrc.
17836 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17838 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17839 Implement _query on a bin, similar to _send_event.
17841 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
17843 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17844 Discont event offset format should be GST_FORMAT_BYTES,
17845 not GST_FORMAT_TIME.
17847 2005-05-12 Wim Taymans <wim@fluendo.com>
17849 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17850 Same fix as Ronald's but without the signal.
17852 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17854 * gst/gstutils.c: (gst_element_query_position):
17855 No, an element is not a pad.
17857 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17859 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17860 (gst_bin_get_state):
17861 If a child is removed from a bin while we remove the child from
17862 the bin and while we're retrieving its state, signal this to the
17863 get_state function so we abort the wait (instead of waiting for
17864 a timeout) and can immediately re-iterate over all other elements.
17866 2005-05-12 Wim Taymans <wim@fluendo.com>
17868 * gst/base/Makefile.am:
17869 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17870 (gst_basesrc_start):
17871 * gst/base/gstbasesrc.h:
17872 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17873 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17874 (gst_pushsrc_init), (gst_pushsrc_create):
17875 * gst/base/gstpushsrc.h:
17876 Added is_seekable to BaseSrc
17877 Added simple PushSrc.
17879 2005-05-11 Wim Taymans <wim@fluendo.com>
17881 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17882 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17883 (gst_element_link_pads), (gst_element_query_position),
17884 (gst_element_query_convert), (intersect_caps_func),
17885 (gst_pad_query_position), (gst_pad_query_convert):
17886 Fix refcounting in utils function.
17887 No point in trying to activate a pad when it's added, it could
17888 be added from the state change function and then we deadlock, the
17889 element has to decide what to do.
17891 2005-05-10 Andy Wingo <wingo@pobox.com>
17893 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17894 *all* the arguments.
17896 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17897 stream lock if it's a FLUSH_DONE; normal flushes don't get the
17898 lock (according to the docs -- if this is wrong change the docs).
17900 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17901 flush messages in the NULL state.
17903 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17904 message immediately and return.
17905 (gst_bus_set_flushing): New function. If a bus is flushing, it
17906 flushes out any queued messages and immediately unrefs new
17907 messages. This is so when an element goes to NULL, all of the
17908 unhandled messages coming from it can be freed, and their
17909 references to the element dropped. In other words: message source
17910 ref considered harmful :P
17912 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17913 we're finished with it.
17915 * gst/gstmessage.c (gst_message_new_state_changed):
17917 2005-05-10 Wim Taymans <wim@fluendo.com>
17919 * gst/gstvalue.c: (gst_value_compare_flags),
17920 (gst_value_serialize_flags), (gst_value_deserialize_flags),
17921 (_gst_value_initialize):
17922 Added flags serialize/deserialize/compare code.
17924 2005-05-09 Andy Wingo <wingo@pobox.com>
17926 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
17927 Intersect the peer's caps with our caps.
17929 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17931 * gst/base/gsttypefindhelper.c: (helper_find_peek):
17932 * gst/elements/gsttypefindelement.c: (find_peek):
17933 Handle negative offsets better. Fixes decodebin.
17935 2005-05-09 Wim Taymans <wim@fluendo.com>
17937 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
17938 (gst_base_transform_event):
17939 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
17940 Implement accept_caps.
17941 Fix silly lock/unlock mismatch in base class.
17943 2005-05-09 Wim Taymans <wim@fluendo.com>
17945 * docs/design/draft-push-pull.txt:
17946 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
17947 * gst/elements/gstfilesink.c: (gst_filesink_init),
17948 (gst_filesink_query):
17949 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17950 (gst_type_find_handle_src_query), (find_element_get_length):
17951 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
17952 * gst/gstelement.h:
17953 * gst/gstmessage.c:
17954 * gst/gstmessage.h:
17955 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
17956 (gst_real_pad_get_caps_unlocked),
17957 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
17958 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17959 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
17960 (gst_real_pad_dispose), (gst_real_pad_finalize),
17961 (gst_pad_load_and_link), (gst_pad_save_thyself),
17962 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
17963 (gst_pad_check_pull_range), (gst_pad_pull_range),
17964 (gst_pad_template_get_type), (gst_pad_template_class_init),
17965 (gst_pad_template_init), (gst_pad_template_dispose),
17966 (name_is_valid), (gst_static_pad_template_get),
17967 (gst_pad_template_new), (gst_static_pad_template_get_caps),
17968 (gst_pad_template_get_caps), (gst_pad_set_element_private),
17969 (gst_pad_get_element_private), (gst_pad_start_task),
17970 (gst_pad_pause_task), (gst_pad_stop_task),
17971 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
17972 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
17973 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
17974 (gst_ghost_pad_new):
17976 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
17977 (gst_query_new_position), (gst_query_set_position),
17978 (gst_query_parse_position), (gst_query_new_convert),
17979 (gst_query_set_convert), (gst_query_parse_convert):
17981 * gst/gstqueryutils.c:
17982 * gst/gstqueryutils.h:
17983 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
17984 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
17985 (gst_queue_handle_src_query):
17986 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17987 (gst_element_query_position), (gst_element_query_convert),
17988 (intersect_caps_func), (gst_pad_query_position),
17989 (gst_pad_query_convert):
17991 * tools/gst-inspect.c: (print_pad_info):
17992 * tools/gst-xmlinspect.c: (print_element_info):
17993 Remove old query functions. Ported old code.
17994 Added position/convert helper functions to gstutils.
17995 Reordered gstpad.c code, grouping relevant things.
17996 Remove gst_message_new(), always need to speficy a specific
18000 2005-05-09 Andy Wingo <wingo@pobox.com>
18002 * gst/gstiterator.h: Add some includes.
18004 * gst/gstqueryutils.h: Include more headers.
18007 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18008 some uses of gst_pad_query.
18010 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18011 NULL out parameters.
18012 (gst_query_new_position): New proc, allocates a new position
18015 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18016 gstqueryutils.c to the build.
18018 * gst/gststructure.c (gst_structure_set_valist): Implement with
18019 the generic G_VALUE_COLLECT.
18021 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18023 * gst/Makefile.am: (gst_headers):
18024 Added gstqueryutils.h to the list of headers to install, that was
18025 a 'nachty' move wingo :)
18027 2005-05-06 Andy Wingo <wingo@pobox.com>
18030 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18031 GstData, init a memchunk.
18032 (standard_definitions): Add a few query types, deprecate a few.
18033 (gst_query_get_type): New proc.
18034 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18036 (gst_query_new_application, gst_query_get_structure): New public
18039 * docs/design/draft-query.txt: Removed LINKS from the query types,
18040 because all the rest can be dispatched to other pads -- seemed
18041 ugly to have a query that couldn't be dispatched. internal_links
18042 is fine as a pad method.
18044 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18045 in gstpad.c, but maintain binary compatibility for the moment.
18046 Will fix before 0.9 is out.
18048 * gst/gstqueryutils.c:
18049 * gst/gstqueryutils.h: New files, implement 3 methods for each
18050 query type: parse_query, parse_response, and set. Probably need an
18053 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18055 * gst/elements/gstfilesink.c (gst_filesink_query2):
18056 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18057 query_types, and formats methods.
18059 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18060 (gst_pad_set_query2_function): New functions.
18061 (gst_real_pad_init): Set query2_default as the default query2
18062 function. Basically just dispatches to internally linked pads.
18066 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18067 without using the atomic operations. Only one thread can possibly
18068 be accessing the data at this point. Changed so as to avoid
18069 gst_atomic operations.
18071 2005-05-06 Wim Taymans <wim@fluendo.com>
18073 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18074 Also set caps if we use the fallback buffer alloc.
18076 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18078 * docs/gst/Makefile.am:
18079 * docs/gst/gstreamer-docs.sgml:
18080 * docs/gst/gstreamer-sections.txt:
18081 * docs/gst/tmpl/gstatomic.sgml:
18082 * docs/gst/tmpl/gstmemchunk.sgml:
18083 * testsuite/elements/struct_i386.h:
18084 * win32/GStreamer.vcproj:
18086 Purge GstAtomic stuff from docs and win32 makefiles as well
18088 2005-05-06 Wim Taymans <wim@fluendo.com>
18090 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18091 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18092 * gst/gstpad.c: (gst_pad_peer_get_caps):
18093 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18094 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18095 (gst_queue_src_activate), (gst_queue_change_state):
18097 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18098 (intersect_caps_func):
18099 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18100 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18101 Some fixes for the peer_get_caps() change.
18103 2005-05-06 Wim Taymans <wim@fluendo.com>
18105 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18106 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18107 (gst_basesink_activate):
18108 Actually do something with error codes returned from the push
18111 2005-05-06 Wim Taymans <wim@fluendo.com>
18113 * docs/design/part-element-sink.txt:
18114 * docs/design/part-element-source.txt:
18115 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18116 (gst_basesink_event), (gst_basesink_activate):
18117 * gst/base/gstbasesink.h:
18118 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18119 (gst_basesrc_activate):
18120 * gst/base/gstbasesrc.h:
18121 * gst/gstelement.c: (gst_element_pads_activate):
18122 Some more documentation.
18123 Fixed scheduling decision in _pads_activate().
18125 2005-05-05 Andy Wingo <wingo@pobox.com>
18127 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18130 2005-05-05 Wim Taymans <wim@fluendo.com>
18132 * gst/base/Makefile.am:
18133 * gst/base/gstbasesink.h:
18134 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18135 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18136 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18137 (gst_collectpads_class_init), (gst_collectpads_init),
18138 (gst_collectpads_finalize), (gst_collectpads_new),
18139 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18140 (find_pad), (gst_collectpads_remove_pad),
18141 (gst_collectpads_is_active), (gst_collectpads_collect),
18142 (gst_collectpads_collect_range), (gst_collectpads_start),
18143 (gst_collectpads_stop), (gst_collectpads_peek),
18144 (gst_collectpads_pop), (gst_collectpads_available),
18145 (gst_collectpads_read), (gst_collectpads_flush),
18146 (gst_collectpads_chain):
18147 * gst/base/gstcollectpads.h:
18148 * gst/elements/Makefile.am:
18149 * gst/elements/gstelements.c:
18150 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18151 (gst_fakesink_get_times), (gst_fakesink_event),
18152 (gst_fakesink_preroll), (gst_fakesink_render):
18153 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18154 (gst_filesink_init), (gst_filesink_set_location),
18155 (gst_filesink_open_file), (gst_filesink_close_file),
18156 (gst_filesink_pad_query), (gst_filesink_event),
18157 (gst_filesink_render), (gst_filesink_change_state):
18158 * gst/elements/gstfilesink.h:
18159 Added object to help in making collect pad based elements.
18161 Make event function in sink baseclass return gboolean.
18163 2005-05-05 Wim Taymans <wim@fluendo.com>
18165 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18166 (gst_bin_get_by_name):
18168 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18169 (gst_clock_finalize):
18170 * gst/gstdata.c: (gst_data_replace):
18172 * gst/gstelement.c: (gst_element_request_pad),
18173 (gst_element_pads_activate):
18174 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18175 (gst_object_unref):
18176 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18177 (gst_pad_set_checkgetrange_function),
18178 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18179 (gst_pad_check_pull_range), (gst_pad_pull_range),
18180 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18181 (gst_pad_pause_task), (gst_pad_stop_task):
18182 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18183 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18184 Fix name lookup in GstBin.
18185 Added _data_replace() function and _buffer_replace()
18186 Use finalize method to clean up clock.
18187 Fix refcounting on request pads.
18188 Fix pad schedule mode error.
18189 Some more object refcounting debug info,
18192 2005-05-04 Andy Wingo <wingo@pobox.com>
18194 * check/Makefile.am:
18195 * docs/gst/tmpl/gstatomic.sgml:
18196 * docs/gst/tmpl/gstplugin.sgml:
18197 * gst/base/gstbasesink.c: (gst_basesink_activate):
18198 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18199 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18200 (gst_basesrc_query), (gst_basesrc_set_property),
18201 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18202 (gst_basesrc_activate):
18203 * gst/base/gstbasesrc.h:
18204 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18205 (gst_base_transform_src_activate):
18206 * gst/elements/gstelements.c:
18207 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18208 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18209 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18210 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18211 (gst_type_find_element_checkgetrange),
18212 (gst_type_find_element_activate):
18213 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18214 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18215 (gst_caps_load_thyself):
18216 * gst/gstelement.c: (gst_element_pads_activate),
18217 (gst_element_save_thyself), (gst_element_restore_thyself):
18218 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18219 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18221 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18222 (gst_xml_parse_file), (gst_xml_parse_memory),
18223 (gst_xml_get_element), (gst_xml_make_element):
18224 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18225 (_file_index_id_save_xml), (gst_file_index_commit):
18226 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18227 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18229 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18230 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18231 * tools/gst-complete.c: (main):
18232 * tools/gst-compprep.c: (main):
18233 * tools/gst-inspect.c: (print_element_properties_info):
18234 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18235 * tools/gst-xmlinspect.c: (print_element_properties):
18238 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18240 * gst/gstplugin.c: (gst_plugin_check_module),
18241 (gst_plugin_check_file), (gst_plugin_load_file):
18242 apply patch from #172526 to make register work on MacOSX
18244 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18246 * docs/gst/tmpl/gstconfig.sgml:
18247 * gst/gstconfig.h.in:
18248 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18249 * testsuite/debug/printf_extension.c: (main):
18250 Do not use GST_PTR_FORMAT on pointers to types with
18251 sizeof < sizeof(gpointer). Fixes test on 64-bit
18252 * testsuite/elements/property.h:
18253 use correct printf format
18255 2005-05-02 Wim Taymans <wim@fluendo.com>
18257 * docs/design/draft-push-pull.txt:
18258 * docs/design/draft-query.txt:
18259 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18260 (gst_basesrc_start):
18261 Added draft for new query API.
18262 Added draft for better selecting scheduling methods.
18263 Make basesrc ignore length if the subclass does not support
18266 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18269 possible fixes for automake-1.5 - _LIBADD is reserved
18271 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18273 * docs/faq/Makefile.am:
18274 * docs/manual/Makefile.am:
18275 * docs/manuals.mak:
18276 * docs/pwg/Makefile.am:
18278 possible fixes for automake-1.5
18280 2005-04-28 Wim Taymans <wim@fluendo.com>
18282 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18283 (gst_basesink_pad_getcaps), (gst_basesink_init),
18284 (gst_basesink_do_sync):
18285 * gst/gstclock.c: (gst_clock_entry_new):
18286 * gst/gstevent.c: (gst_event_discont_get_value):
18287 * gst/gstpipeline.c: (pipeline_bus_handler),
18288 (gst_pipeline_change_state):
18289 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18290 Better debugging of clocking info.
18291 Allow NULL values when getting discont values.
18293 2005-04-27 Wim Taymans <wim@fluendo.com>
18295 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18296 * check/gst/gstpad.c: (gst_pad_suite):
18297 Increase timeout for checks.
18299 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18301 * check/Makefile.am:
18302 fix the broken rule for cleanup. Apparently this rule is
18303 only needed on FC2, so maybe this warrants further autotool
18306 2005-04-26 Wim Taymans <wim@fluendo.com>
18308 * gst/gsttrashstack.h:
18309 Ooohh. a nasty one! After having a failed pop() from the stack,
18310 it's possible that the stack is empty. In that case, don't
18311 follow the NULL pointer.
18313 2005-04-25 Wim Taymans <wim@fluendo.com>
18315 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18316 (gst_pad_set_checkgetrange_function),
18317 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18318 (gst_pad_check_pull_range), (gst_pad_pull_range),
18319 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18320 (gst_pad_pause_task), (gst_pad_stop_task):
18321 * gst/gstplugin.c: (gst_plugin_load):
18323 Remove gst_library_load as it does more harm than good with
18324 the new g_module flags.
18325 Revert bogus caps template check in pad linking, pad caps
18326 are important when linking not the template, which is more
18327 general than the current caps.
18329 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18331 * gst/autoplug/.cvsignore:
18332 * gst/autoplug/Makefile.am:
18333 * gst/autoplug/gstsearchfuncs.c:
18334 * gst/autoplug/gstsearchfuncs.h:
18335 * gst/autoplug/gstspider.c:
18336 * gst/autoplug/gstspider.h:
18337 * gst/autoplug/gstspideridentity.c:
18338 * gst/autoplug/gstspideridentity.h:
18339 * gst/autoplug/spidertest.c:
18342 2005-04-25 Wim Taymans <wim@fluendo.com>
18344 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18345 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18346 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18347 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18349 Added stubs for unimplemented functions.
18351 2005-04-24 David Schleef <ds@schleef.org>
18353 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18356 2005-04-24 David Schleef <ds@schleef.org>
18358 Convert everything from GstAtomicInt to g_atomic_int_*, and
18363 * gst/gstatomic_impl.h:
18371 * gst/gstdata_private.h:
18375 * gst/gstmessage.c:
18378 * gst/gststructure.c:
18379 * gst/gststructure.h:
18380 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18383 2005-04-24 David Schleef <ds@schleef.org>
18385 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18386 make the regressions tests work. Remove some code that is no
18388 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18389 Disable warning for pads without templates.
18391 2005-04-24 David Schleef <ds@schleef.org>
18393 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18394 functions that handle filtered links.
18395 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18397 * gst/gstutils.c: Fix/remove utility functions that handle
18400 * gst/gstvalue.c: Add serialization/deserialization of caps
18401 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18402 requires fixing so that the filter caps notation creates
18403 a capsfilter element and sets the filter_caps property. I
18404 think everyone probably wants to keep the shorthand notation.
18405 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18406 * docs/gst/tmpl/gstpad.sgml:
18408 * gst/elements/gstelements.c: Register capsfilter element.
18409 * gst/Makefile.am: fix spacing
18410 * docs/random/ds/0.9-suggested-changes: random
18412 2005-04-23 David Schleef <ds@schleef.org>
18414 * gst/elements/Makefile.am:
18415 * gst/elements/gstcapsfilter.c: New element that acts like an
18416 identity, but filters caps. Will eventually replace filtered
18417 caps in pad linking.
18418 * gst/gstutils.c: (gst_element_create_all_pads): New function
18419 to create all the ALWAYS pads that are registered with an
18420 element class. This functionality should eventually be
18421 merged in with GstElement initialization.
18423 * testsuite/trigger/README: part of trigger test code that should
18424 have been checked in a long time ago.
18426 2005-04-23 David Schleef <ds@schleef.org>
18428 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18429 needed with new versions of libtool (nobody will confirm this),
18430 and hard to carry around.
18431 * gst/autoplug/Makefile.am:
18432 * gst/base/Makefile.am:
18433 * gst/elements/Makefile.am:
18434 * gst/indexers/Makefile.am:
18435 * gst/schedulers/Makefile.am:
18436 * libs/gst/bytestream/Makefile.am:
18437 * libs/gst/control/Makefile.am:
18438 * libs/gst/dataprotocol/Makefile.am:
18439 * libs/gst/getbits/Makefile.am:
18441 2005-04-21 Wim Taymans <wim@fluendo.com>
18443 * docs/design/draft-push-pull.txt:
18444 * docs/design/part-MT-refcounting.txt:
18445 * docs/design/part-TODO.txt:
18446 * docs/design/part-caps.txt:
18447 * docs/design/part-events.txt:
18448 * docs/design/part-gstbus.txt:
18449 * docs/design/part-gstpipeline.txt:
18450 * docs/design/part-messages.txt:
18451 * docs/design/part-push-pull.txt:
18452 * docs/design/part-query.txt:
18455 2005-04-21 Wim Taymans <wim@fluendo.com>
18457 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18458 (gst_message_new), (gst_message_new_error),
18459 (gst_message_new_warning), (gst_message_new_tag),
18460 (gst_message_new_state_changed), (gst_message_new_application),
18461 (gst_message_get_structure):
18462 * gst/gstmessage.h:
18463 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18464 (gst_structure_copy_conditional):
18465 Use parent refcount in GstMessage to ensure GstStructure
18467 Cleaned up headers a bit.
18470 2005-04-20 Wim Taymans <wim@fluendo.com>
18472 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18473 (gst_basesink_pad_getcaps), (gst_basesink_init),
18474 (gst_basesink_chain_unlocked):
18475 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18476 (gst_type_find_helper):
18477 * gst/elements/gsttypefindelement.c:
18478 (gst_type_find_element_have_type), (gst_type_find_element_init),
18479 (stop_typefinding), (gst_type_find_element_handle_event),
18480 (find_suggest), (gst_type_find_element_chain),
18481 (gst_type_find_element_checkgetrange),
18482 (gst_type_find_element_getrange), (do_typefind),
18483 (gst_type_find_element_activate):
18484 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18485 (gst_buffer_default_free), (gst_buffer_default_copy),
18486 (gst_buffer_set_caps):
18487 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18488 (gst_caps_replace):
18489 * gst/gstmessage.c: (gst_message_new),
18490 (gst_message_new_state_changed):
18491 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18492 (gst_pad_set_checkgetrange_function),
18493 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18494 (gst_pad_set_caps), (gst_pad_check_pull_range),
18495 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18497 * gst/gsttypefind.c: (gst_type_find_register):
18498 Make gst_caps_replace() work like other _replace() functions.
18499 Use _caps_replace() where possible.
18500 Make sure _message_new() initialises its field.
18501 Add gst_static_pad_template_get_caps()
18504 2005-04-18 Andy Wingo <wingo@pobox.com>
18506 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18507 on the peer, not the pad. I think that was a typo. Pass an extra
18508 arg to see if random access is possible. Activate the pads as
18509 PULL_RANGE if possible.
18511 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18513 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18514 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18517 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18519 * docs/faq/using.xml:
18520 Add note on gstreamer-properties (#154996).
18522 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18524 * docs/random/bbb/optional-properties:
18525 Some analysis on optional properties.
18527 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18529 * docs/gst/tmpl/gstelementfactory.sgml:
18530 * gst/gstelement.h:
18531 * gst/gstelementfactory.c: (gst_element_factory_init),
18532 (gst_element_factory_cleanup), (gst_element_register),
18533 (__gst_element_factory_add_static_pad_template),
18534 (gst_element_factory_get_static_pad_templates),
18535 (gst_element_factory_can_src_caps),
18536 (gst_element_factory_can_sink_caps):
18537 * gst/registries/Makefile.am:
18538 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18539 (gst_xml_registry_class_init), (gst_xml_registry_init),
18540 (gst_xml_registry_new), (gst_xml_registry_set_property),
18541 (gst_xml_registry_get_property), (get_time), (make_dir),
18542 (gst_xml_registry_get_perms_func),
18543 (plugin_times_older_than_recurse), (plugin_times_older_than),
18544 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18545 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18546 (add_to_char_array), (read_string), (read_uint), (read_enum),
18547 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18548 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18549 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18550 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18551 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18552 (gst_xml_registry_rebuild):
18553 * gst/registries/gstlibxmlregistry.h:
18554 * tools/gst-compprep.c: (main):
18555 * tools/gst-inspect.c: (print_pad_templates_info):
18556 * tools/gst-xmlinspect.c: (print_element_info):
18557 Use libxml2 for registry parsing, use staticpadtemplates in
18558 elementfactories. Makes gst_init() +/- 10x faster.
18560 2005-04-12 Wim Taymans <wim@fluendo.com>
18562 * gst/base/Makefile.am:
18563 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18564 (gst_basesink_pad_getcaps), (gst_basesink_init),
18565 (gst_basesink_event), (gst_basesink_change_state):
18566 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18567 (gst_basesrc_init), (gst_basesrc_query),
18568 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18569 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18570 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18571 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18572 (gst_basesrc_stop), (gst_basesrc_activate),
18573 (gst_basesrc_change_state):
18574 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18575 (helper_find_suggest), (gst_type_find_helper):
18576 * gst/base/gsttypefindhelper.h:
18577 * gst/elements/Makefile.am:
18578 * gst/elements/gstelements.c:
18579 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18580 (gst_fakesink_get_times), (gst_fakesink_event),
18581 (gst_fakesink_preroll), (gst_fakesink_render):
18582 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18583 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18584 (gst_fakesrc_get_property), (gst_fakesrc_create),
18585 (gst_fakesrc_start), (gst_fakesrc_stop):
18586 * gst/elements/gstfakesrc.h:
18587 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18588 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18589 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18590 (gst_filesrc_create_read), (gst_filesrc_create),
18591 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18592 (gst_filesrc_start):
18593 * gst/elements/gsttypefindelement.c:
18594 (gst_type_find_element_have_type), (gst_type_find_element_init),
18595 (start_typefinding), (stop_typefinding), (push_buffer_store),
18596 (gst_type_find_element_handle_event),
18597 (gst_type_find_element_chain),
18598 (gst_type_find_element_checkgetrange),
18599 (gst_type_find_element_getrange), (do_typefind),
18600 (gst_type_find_element_activate),
18601 (gst_type_find_element_change_state):
18602 * gst/elements/gsttypefindelement.h:
18603 * gst/gstpipeline.c: (pipeline_bus_handler):
18604 Added typefind helper.
18605 Small preroll fix in the base sink.
18606 Disable typefind code in basesrc.
18607 Crude port of typefindelement.
18611 2005-04-11 Wim Taymans <wim@fluendo.com>
18613 * check/gst/gstbus.c: (gstbus_suite):
18614 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18615 * check/gstcheck.h:
18616 Fix up the timeout so that the test does not fail.
18618 2005-04-06 Wim Taymans <wim@fluendo.com>
18621 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18622 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18623 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18624 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18625 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18626 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18627 (gst_basesrc_stop), (gst_basesrc_activate),
18628 (gst_basesrc_change_state), (basesrc_find_peek),
18629 (basesrc_find_suggest), (gst_basesrc_type_find):
18630 * gst/base/gstbasesrc.h:
18631 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18632 (gst_filesrc_class_init), (gst_filesrc_init),
18633 (gst_filesrc_finalize), (gst_filesrc_set_location),
18634 (gst_filesrc_set_property), (gst_filesrc_get_property),
18635 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18636 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18637 (gst_filesrc_create_read), (gst_filesrc_create),
18638 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18639 * gst/elements/gstfilesrc.h:
18640 * gst/gstelement.c: (gst_element_get_state_func),
18641 (gst_element_lost_state), (gst_element_pads_activate):
18642 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18643 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18644 (gst_pad_pull_range):
18646 More work on the generic source base class, implement seeking,
18648 Make filesrc extend the base source class.
18649 Added gst_pad_set_checkgetrange_function to GstPad.
18651 2005-04-06 Andy Wingo <wingo@pobox.com>
18653 * pkgconfig/gstreamer-base.pc.in:
18654 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18656 * pkgconfig/Makefile.am:
18657 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18659 2005-04-04 Wim Taymans <wim@fluendo.com>
18661 * gst/base/Makefile.am:
18663 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18664 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18665 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18666 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18667 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18668 (gst_basesrc_base_init), (gst_basesrc_class_init),
18669 (gst_basesrc_init), (gst_basesrc_get_formats),
18670 (gst_basesrc_get_query_types), (gst_basesrc_query),
18671 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18672 (gst_basesrc_set_property), (gst_basesrc_get_property),
18673 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18674 (gst_basesrc_loop), (gst_basesrc_activate),
18675 (gst_basesrc_change_state):
18676 * gst/base/gstbasesrc.h:
18677 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18678 (gst_fakesrc_class_init), (gst_fakesrc_init),
18679 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18680 (gst_fakesrc_get_property), (gst_fakesrc_create):
18681 * gst/elements/gstfakesrc.h:
18682 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18683 (gst_filesrc_open_file), (gst_filesrc_loop),
18684 (gst_filesrc_activate), (filesrc_find_peek),
18685 (gst_filesrc_type_find):
18686 Made base source class, make fakesrc extend it.
18687 Add comments to basesink class.
18688 Some filesrc cleanup.
18690 2005-03-31 David Schleef <ds@schleef.org>
18692 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18693 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18694 expected to link against libgstreamer.
18695 * gst/base/Makefile.am: link against libgstreamer
18696 * gst/elements/Makefile.am: same
18698 2005-03-31 Andy Wingo <wingo@pobox.com>
18700 * tests/instantiate/Makefile.am:
18701 * tests/instantiate/caps.c: Add test to test speed of caps copy
18704 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18705 GMemChunk to be fair.
18707 * gst/gsttrashstack.h: Remove warning about using the fallback
18708 trash stack implementation, it's still faster than malloc.
18710 2005-03-30 Andy Wingo <wingo@pobox.com>
18712 * tests/complexity.c: Add a copyright.
18714 2005-03-31 Wim Taymans <wim@fluendo.com>
18716 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18717 (gst_base_transform_class_init), (gst_base_transform_init),
18718 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18719 (gst_base_transform_get_property),
18720 (gst_base_transform_sink_activate),
18721 (gst_base_transform_src_activate),
18722 (gst_base_transform_change_state):
18723 * gst/base/gstbasetransform.h:
18724 * gst/elements/gstidentity.c: (gst_identity_class_init),
18725 (gst_identity_event), (gst_identity_check_perfect),
18726 (gst_identity_transform), (gst_identity_start),
18727 (gst_identity_stop):
18728 Added start/stop methods to transform base class so subclasses
18729 don't need to deal with state changes even.
18731 2005-03-31 Wim Taymans <wim@fluendo.com>
18733 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18734 (gst_event_new_discontinuous), (gst_event_discont_get_value):
18736 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18737 (gst_pad_pull_range):
18738 Added rate to the discont event to prepare for variable speed
18739 and reverse playback.
18741 2005-03-29 David Schleef <ds@schleef.org>
18744 * testsuite/trigger/Makefile.am:
18745 * testsuite/trigger/trigger.c: A little example program to show
18746 how trigger-based elements can work.
18748 2005-03-29 Wim Taymans <wim@fluendo.com>
18750 * gst/base/Makefile.am:
18752 * gst/base/gstbasesink.c: (gst_basesink_get_type),
18753 (gst_basesink_base_init), (gst_basesink_class_init),
18754 (gst_basesink_pad_getcaps), (gst_basesink_init),
18755 (gst_basesink_activate), (gst_basesink_change_state):
18756 * gst/base/gstbasesink.h:
18757 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18758 (gst_base_transform_base_init), (gst_base_transform_finalize),
18759 (gst_base_transform_class_init), (gst_base_transform_init),
18760 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18761 (gst_base_transform_event), (gst_base_transform_getrange),
18762 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18763 (gst_base_transform_set_property),
18764 (gst_base_transform_get_property),
18765 (gst_base_transform_sink_activate),
18766 (gst_base_transform_src_activate),
18767 (gst_base_transform_change_state):
18768 * gst/base/gstbasetransform.h:
18769 * gst/elements/gstidentity.c: (gst_identity_finalize),
18770 (gst_identity_class_init), (gst_identity_init),
18771 (gst_identity_event), (gst_identity_check_perfect),
18772 (gst_identity_transform), (gst_identity_set_property),
18773 (gst_identity_get_property), (gst_identity_change_state):
18774 * gst/elements/gstidentity.h:
18775 * gst/gstelement.c: (gst_element_get_state_func),
18776 (gst_element_lost_state), (gst_element_pads_activate):
18777 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18778 (gst_pad_check_pull_range), (gst_pad_pull_range):
18780 Simplify pad activation.
18781 Added function to check if pull_range can be performed.
18782 Error out when pulling inactive or flushing pads.
18783 Removed const from refcounted types as it does not make sense.
18784 Simplify pad templates in basesink
18785 Added base class for simple 1-to-1 transforms.
18786 Make identity subclass the base transform.
18788 2005-03-29 Andy Wingo <wingo@pobox.com>
18790 * docs/libs/gstreamer-libs-overrides.txt:
18791 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18792 really don't understand what's going on, but like whatever. I want
18795 * docs/gst/Makefile.am:
18796 * docs/libs/Makefile.am: Dist the overrides files.
18798 * check/Makefile.am (clean-local): Remove .libs directories.
18800 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18801 elements to EXTRA_DIST, so po/ files are happy.
18803 * po/POTFILES.in: Er, remove it here.
18805 * po/POTFILES: Remove gstspider.c.
18807 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18809 * docs/libs/gstreamer-libs-docs.sgml:
18810 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18813 * tests/complexity.c (main): Set the length of the preroll queue
18814 on the sinks to prevent a lockup.
18816 * libs/gst/dataprotocol/Makefile.am:
18817 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18818 the same as the one in check/gst-libs/gdp.c.
18820 * po/, docs/gst/: Commit automatic changes to docs and po files.
18822 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18823 the versioned libgstbase.
18825 * check/Makefile.am: Depend on an unversioned gst-register, seems
18826 to make autoconf happier.
18828 * gst/base/Makefile.am: Make libgstbase a versioned lib.
18830 2005-03-28 Wim Taymans <wim@fluendo.com>
18833 * docs/design/part-gstelement.txt:
18834 * docs/design/part-negotiation.txt:
18835 * docs/design/part-preroll.txt:
18836 * docs/design/part-scheduling.txt:
18837 * docs/design/part-states.txt:
18839 * gst/base/Makefile.am:
18841 * gst/base/gstbasesink.c: (gst_basesink_get_template),
18842 (gst_basesink_base_init), (gst_basesink_class_init),
18843 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18844 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18845 (gst_basesink_set_pad_functions),
18846 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18847 (gst_basesink_set_property), (gst_basesink_get_property),
18848 (gst_base_sink_get_template), (gst_base_sink_get_caps),
18849 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18850 (gst_basesink_preroll_queue_push),
18851 (gst_basesink_preroll_queue_empty),
18852 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18853 (gst_basesink_event), (gst_basesink_get_times),
18854 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18855 (gst_basesink_chain_unlocked), (gst_basesink_chain),
18856 (gst_basesink_loop), (gst_basesink_activate),
18857 (gst_basesink_change_state):
18858 * gst/base/gstbasesink.h:
18859 * gst/elements/Makefile.am:
18860 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18861 (gst_fakesink_class_init), (gst_fakesink_init),
18862 (gst_fakesink_set_property), (gst_fakesink_get_property),
18863 (gst_fakesink_get_times), (gst_fakesink_event),
18864 (gst_fakesink_preroll), (gst_fakesink_render),
18865 (gst_fakesink_change_state):
18866 * gst/elements/gstfakesink.h:
18867 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18868 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18869 * gst/gstelement.c: (gst_element_add_pad),
18870 (gst_element_get_state_func), (gst_element_abort_state),
18871 (gst_element_commit_state), (gst_element_lost_state),
18872 (gst_element_set_state), (gst_element_pads_activate):
18873 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18874 * gst/gstpipeline.c: (gst_pipeline_send_event),
18875 (gst_pipeline_change_state):
18876 Added state change code.
18877 Added/updated docs.
18878 Added sink base class, make fakesink extend the base class.
18879 Small cleanups in GstPipeline.
18881 2005-03-26 David Schleef <ds@schleef.org>
18883 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
18884 is broken and should be implemented in a different library.
18885 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18886 * gst/gst.h: remove gstcpu.h
18887 * gst/gstcpu.c: remove
18888 * gst/gstcpu.h: remove
18889 * gst/Makefile.am.future: Remove this file. It's ancient.
18891 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18893 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18894 (gst_bin_send_event):
18895 Add default event/set_manager handlers. The set_manager handler
18896 takes care that the manager is distributed over kids that were
18897 already in the bin before the manager was set. The event handler
18898 is a utility virtual function that sends the event over all sinks,
18899 so that gst_element_send_event (bin, event); has the expected
18901 * gst/gstpad.c: (gst_pad_event_default):
18902 Re-install default event handling for discontinuities, so that
18903 seeking works without requiring hacks in applications or extra
18905 * gst/gstpipeline.c: (gst_pipeline_class_init),
18906 (gst_pipeline_send_event):
18907 Half hack, half utility: set a pipeline to PAUSED for seek events,
18908 since that is the only way we can guarantee a/v sync. Means that
18909 you can do gst_element_seek (pipeline, method, pos); on a pipeline
18910 and it "just works".
18912 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18914 * gst/gstpipeline.c: (gst_pipeline_use_clock):
18915 Lock/unlock mismatch.
18917 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
18919 * docs/faq/gst-uninstalled:
18920 add gst-plugins-base
18921 * docs/gst/Makefile.am:
18922 don't error out until docs are fixed
18923 * docs/gst/gstreamer.types:
18926 2005-03-22 Wim Taymans <wim@fluendo.com>
18928 * check/Makefile.am:
18929 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
18930 * gst/gststructure.c: (gst_structure_set_valist),
18931 (gst_structure_copy_conditional):
18932 Activated more tests.
18933 Added message test.
18934 Added G_TYPE_POINTER to GstStructure.
18937 2005-03-22 Wim Taymans <wim@fluendo.com>
18939 * docs/design/part-TODO.txt:
18940 * docs/design/part-events.txt:
18941 * docs/design/part-gstbin.txt:
18942 * docs/design/part-gstbus.txt:
18943 * docs/design/part-gstpipeline.txt:
18944 * docs/design/part-messages.txt:
18946 * gst/gstmessage.c:
18949 2005-03-21 Wim Taymans <wim@fluendo.com>
18951 * gst/gstbus.c: (gst_bus_post):
18952 Fix copy-and-paste error.
18954 2005-03-21 Wim Taymans <wim@fluendo.com>
18956 * check/Makefile.am:
18958 * gst/elements/Makefile.am:
18959 * gst/elements/gstelements.c:
18960 * gst/elements/gstfakesink.c: (gst_fakesink_init),
18961 (gst_fakesink_event), (gst_fakesink_chain):
18962 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18963 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
18964 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
18965 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
18966 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
18967 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
18968 (gst_fakesrc_loop), (gst_fakesrc_activate),
18969 (gst_fakesrc_change_state):
18970 * gst/elements/gstfakesrc.h:
18971 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
18972 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
18973 (gst_filesrc_open_file), (gst_filesrc_loop),
18974 (gst_filesrc_activate), (gst_filesrc_change_state),
18975 (filesrc_find_peek), (filesrc_find_suggest),
18976 (gst_filesrc_type_find):
18977 * gst/elements/gstidentity.c: (gst_identity_finalize),
18978 (gst_identity_class_init), (gst_identity_init),
18979 (gst_identity_proxy_getcaps), (identity_queue_push),
18980 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
18981 (gst_identity_getrange), (gst_identity_chain),
18982 (gst_identity_sink_loop), (gst_identity_src_loop),
18983 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
18984 (gst_identity_set_property), (gst_identity_get_property),
18985 (gst_identity_change_state):
18986 * gst/elements/gstidentity.h:
18987 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
18988 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
18989 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
18990 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
18991 (gst_tee_sink_activate):
18992 * gst/elements/gsttee.h:
18993 * gst/gst.c: (gst_register_core_elements), (init_post):
18995 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
18996 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
18997 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
18998 (gst_bin_change_state):
19000 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19001 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19002 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19003 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19004 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19005 (bus_watch_callback), (bus_watch_destroy),
19006 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19007 (poll_timeout), (gst_bus_poll):
19011 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19012 (gst_element_post_message), (gst_element_message_full),
19013 (gst_element_get_state_func), (gst_element_get_state),
19014 (gst_element_abort_state), (gst_element_commit_state),
19015 (gst_element_lost_state), (gst_element_set_state),
19016 (gst_element_pads_activate), (gst_element_change_state),
19017 (gst_element_dispose), (gst_element_set_manager_func),
19018 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19019 (gst_element_set_manager), (gst_element_get_manager),
19020 (gst_element_set_bus), (gst_element_get_bus),
19021 (gst_element_set_scheduler), (gst_element_get_scheduler):
19022 * gst/gstelement.h:
19023 * gst/gstevent.c: (gst_event_new_segment_seek),
19024 (gst_event_new_flush):
19026 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19027 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19028 (gst_message_new_eos), (gst_message_new_error),
19029 (gst_message_new_warning), (gst_message_new_tag),
19030 (gst_message_new_state_changed), (gst_message_new_application),
19031 (gst_message_get_structure), (gst_message_parse_tag),
19032 (gst_message_parse_state_changed), (gst_message_parse_error),
19033 (gst_message_parse_warning):
19034 * gst/gstmessage.h:
19035 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19036 (gst_real_pad_set_property), (gst_pad_set_active),
19037 (gst_pad_is_active), (gst_pad_set_blocked_async),
19038 (gst_pad_set_blocked), (gst_pad_is_blocked),
19039 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19040 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19041 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19042 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19043 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19044 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19045 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19046 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19047 (gst_pad_set_caps), (gst_pad_configure_sink),
19048 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19049 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19050 (gst_real_pad_dispose), (gst_real_pad_finalize),
19051 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19052 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19053 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19055 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19056 (pipeline_bus_handler), (gst_pipeline_change_state),
19057 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19058 * gst/gstpipeline.h:
19060 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19061 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19062 (gst_queue_link_src), (gst_queue_bufferalloc),
19063 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19064 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19065 (gst_queue_loop), (gst_queue_handle_src_event),
19066 (gst_queue_handle_src_query), (gst_queue_src_activate),
19067 (gst_queue_change_state):
19069 * gst/gstscheduler.c: (gst_scheduler_init),
19070 (gst_scheduler_dispose), (gst_scheduler_create_task),
19071 (gst_scheduler_factory_create):
19072 * gst/gstscheduler.h:
19073 * gst/gststructure.c: (gst_structure_get_type),
19074 (gst_structure_copy_conditional):
19075 * gst/gststructure.h:
19076 * gst/gsttaginterface.h:
19077 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19078 (gst_task_init), (gst_task_dispose), (gst_task_create),
19079 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19085 * gst/schedulers/Makefile.am:
19086 * gst/schedulers/cothreads_compat.h:
19087 * gst/schedulers/entryscheduler.c:
19088 * gst/schedulers/faircothreads.c:
19089 * gst/schedulers/faircothreads.h:
19090 * gst/schedulers/fairscheduler.c:
19091 * gst/schedulers/gstbasicscheduler.c:
19092 * gst/schedulers/gstoptimalscheduler.c:
19093 * gst/schedulers/gthread-cothreads.h:
19094 * gst/schedulers/threadscheduler.c:
19095 (gst_thread_scheduler_task_get_type),
19096 (gst_thread_scheduler_task_class_init),
19097 (gst_thread_scheduler_task_init),
19098 (gst_thread_scheduler_task_start),
19099 (gst_thread_scheduler_task_stop),
19100 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19101 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19102 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19103 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19105 * libs/gst/Makefile.am:
19106 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19107 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19108 (gst_file_pad_parent_set):
19109 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19110 (gst_dp_event_from_packet):
19111 * tests/complexity.c: (main):
19112 * tests/mass_elements.c: (main):
19113 * testsuite/states/locked.c: (message_received), (main):
19114 * testsuite/states/parent.c: (main):
19115 * tools/gst-inspect.c: (print_element_flag_info),
19116 (print_implementation_info), (print_pad_info):
19117 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19119 * tools/gst-md5sum.c: (event_loop), (main):
19120 * tools/gst-typefind.c: (main):
19121 * tools/gst-xmlinspect.c: (print_element_info):
19123 Added GstBus for mainloop integration.
19124 Added GstMessage for sending notifications on the bus.
19125 Added GstTask as an abstraction for pipeline entry points.
19127 Removed Schedulers.
19128 Simplified GstQueue for multithreaded core.
19129 Made _link threadsafe, removed old capsnego.
19130 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19131 Added pad blocking functions.
19132 Reworked scheduling functions in GstPad to prepare for
19133 scheduling updates soon.
19134 Moved events out of data stream.
19135 Simplified GstEvent types.
19136 Added return values to push/pull.
19137 Removed clocking from GstElement.
19138 Added prototypes for state change function for next merge.
19139 Removed iterate from bins and state change management.
19140 Fixed some elements, disabled others for now.
19141 Fixed -inspect and -launch.
19142 Added check for GstBus.
19144 2005-03-10 Wim Taymans <wim@fluendo.com>
19146 * docs/design/part-MT-refcounting.txt:
19147 * docs/design/part-clocks.txt:
19148 * docs/design/part-gstelement.txt:
19149 * docs/design/part-gstobject.txt:
19150 * docs/design/part-standards.txt:
19151 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19152 (gst_bin_remove_func), (gst_bin_remove):
19156 * testsuite/clock/clock1.c: (main):
19157 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19159 * testsuite/dlopen/loadgst.c: (do_test):
19160 * testsuite/refcounting/bin.c: (add_remove_test1),
19161 (add_remove_test2), (main):
19162 * testsuite/refcounting/element.c: (main):
19163 * testsuite/refcounting/element_pad.c: (main):
19164 * testsuite/refcounting/pad.c: (main):
19165 * tools/gst-launch.c: (sigint_handler_sighandler):
19166 * tools/gst-typefind.c: (main):
19168 Added doc about clock.
19169 removed gst_bin_iterate_recurse_up(), marked methods
19171 Fix more testsuites.
19173 2005-03-09 Wim Taymans <wim@fluendo.com>
19175 * gst/gstpad.c: (gst_pad_get_direction),
19176 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19177 (gst_pad_collect_valist):
19178 * testsuite/bins/interface.c: (main):
19179 * testsuite/caps/audioscale.c: (test_caps):
19180 * testsuite/caps/caps.c: (test1), (test2), (test3):
19181 * testsuite/caps/deserialize.c: (main):
19182 * testsuite/caps/enumcaps.c: (main):
19183 * testsuite/caps/filtercaps.c: (main):
19184 * testsuite/caps/intersect2.c: (main):
19185 * testsuite/caps/random.c: (main):
19186 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19187 * testsuite/caps/sets.c: (check_caps):
19188 * testsuite/caps/simplify.c: (check_caps), (main):
19189 * testsuite/caps/subtract.c: (check_caps):
19190 Fix _pad_get_direction wrt ghostpads.
19191 Fix caps testsuite.
19193 2005-03-09 Wim Taymans <wim@fluendo.com>
19195 * check/Makefile.am:
19196 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19197 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19198 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19199 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19200 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19201 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19202 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19203 (bin_element_is_sink), (gst_bin_iterate_sinks),
19204 (gst_bin_iterate_all_by_interface):
19206 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19207 (gst_element_change_state), (gst_element_dispose),
19208 (gst_element_finalize), (gst_element_set_loop_function):
19209 * gst/gstelement.h:
19210 * gst/gstiterator.c: (find_custom_fold_func):
19211 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19212 (gst_pad_collectv), (gst_pad_collect_valist),
19213 (gst_pad_template_new):
19214 * gst/gstpipeline.c: (gst_pipeline_class_init),
19215 (gst_pipeline_dispose), (gst_pipeline_set_property),
19216 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19217 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19218 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19220 * gst/schedulers/entryscheduler.c:
19221 * gst/schedulers/gstbasicscheduler.c:
19222 (gst_basic_scheduler_cothreaded_chain),
19223 (gst_basic_scheduler_chain_add_element):
19224 * testsuite/bins/interface.c: (main):
19226 Added GstSystemClock test.
19227 Implemented clock distribution code in GstBin.
19228 Implemented iterate sinks method for future use.
19229 Rearranged gstelement.h
19230 Fix GstIterator comparison bug.
19231 Moved some code to GstPipeline, mostly clocking related.
19233 2005-03-09 Wim Taymans <wim@fluendo.com>
19236 * gst/gst_private.h:
19237 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19238 (gst_bin_remove_func), (gst_bin_remove),
19239 (gst_bin_get_by_name_recurse_up):
19240 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19241 (gst_clock_id_compare_func), (gst_clock_id_wait),
19242 (gst_clock_id_wait_async), (gst_clock_init),
19243 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19244 * gst/gstelement.h:
19245 * gst/gstinfo.c: (_gst_debug_init):
19247 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19248 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19250 Bump version number, we're now 0.9.0
19251 Add future debugging category.
19252 Fix NULL _unref() in _get_by_name_recurse_up
19253 Rearrange gstpad.h.
19256 2005-03-08 Wim Taymans <wim@fluendo.com>
19258 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19259 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19260 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19261 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19262 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19263 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19264 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19265 * gst/elements/gstidentity.c: (gst_identity_class_init):
19266 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19267 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19268 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19269 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19270 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19272 * gst/gstelement.c: (gst_element_class_init),
19273 (gst_element_base_class_init), (gst_element_init),
19274 (gst_element_get_random_pad), (gst_element_wait_state_change),
19275 (gst_element_change_state), (gst_element_dispose),
19276 (gst_element_finalize), (gst_element_set_loop_function):
19277 * gst/gstelement.h:
19278 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19279 * gst/gstthread.c: (gst_thread_class_init),
19280 (gst_thread_release_children_locks), (gst_thread_change_state):
19281 * gst/schedulers/gstbasicscheduler.c:
19282 (gst_basic_scheduler_loopfunc_wrapper),
19283 (gst_basic_scheduler_chain_wrapper),
19284 (gst_basic_scheduler_src_wrapper),
19285 (gst_basic_scheduler_remove_element):
19286 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19287 Remove threadsafe properties. Fix elements because GObject
19288 complains when installing a property before declaring a
19289 set/get_property handler.
19290 Rearrange gstelement.h file, use STATE macros for state locks.
19291 Free mutexes in the finalize method instead of dispose.
19293 2005-03-08 Wim Taymans <wim@fluendo.com>
19295 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19296 * gst/gstthread.c: (gst_thread_release_children_locks):
19297 Added parentage check.
19298 Fix build og GstThread again.
19300 2005-03-08 Wim Taymans <wim@fluendo.com>
19302 * docs/design/part-MT-refcounting.txt:
19303 * docs/design/part-conventions.txt:
19304 * docs/design/part-gstobject.txt:
19305 * docs/design/part-relations.txt:
19306 * docs/design/part-standards.txt:
19307 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19308 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19309 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19310 (gst_bin_iterate_all_by_interface):
19313 * gst/gstelement.c: (gst_element_class_init),
19314 (gst_element_change_state), (gst_element_set_loop_function):
19315 * gst/gstelement.h:
19316 * gst/gstiterator.c:
19317 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19318 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19319 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19320 (gst_object_set_parent), (gst_object_unparent),
19321 (gst_object_check_uniqueness):
19323 Docs updates, clean up some headers.
19325 2005-03-07 Wim Taymans <wim@fluendo.com>
19327 * check/.cvsignore:
19328 * check/Makefile.am:
19329 * check/gst-libs/.cvsignore:
19330 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19331 * check/gst/.cvsignore:
19332 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19333 (START_TEST), (gstbus_suite), (main):
19334 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19335 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19336 (gst_data_suite), (main):
19337 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19338 (add_fold_func), (gstiterator_suite), (main):
19339 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19340 (thread_name_object), (thread_name_object_default),
19341 (gst_object_name_compare), (gst_object_suite), (main):
19342 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19343 (gst_pad_suite), (main):
19344 * check/gstcheck.c: (gst_check_log_message_func),
19345 (gst_check_log_critical_func), (gst_check_init):
19346 * check/gstcheck.h:
19347 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19348 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19351 2005-03-07 Wim Taymans <wim@fluendo.com>
19353 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19354 (gst_list_iterator_next), (gst_list_iterator_resync),
19355 (gst_list_iterator_free), (gst_iterator_new_list),
19356 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19357 (gst_iterator_free), (gst_iterator_push), (filter_next),
19358 (filter_resync), (filter_uninit), (filter_free),
19359 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19360 (gst_iterator_foreach), (find_custom_fold_func),
19361 (gst_iterator_find_custom):
19362 * gst/gstiterator.h:
19363 Added missing files.
19365 2005-03-07 Wim Taymans <wim@fluendo.com>
19369 * docs/design/part-MT-refcounting.txt:
19370 * docs/design/part-conventions.txt:
19371 * docs/design/part-gstobject.txt:
19372 * docs/design/part-relations.txt:
19373 * examples/mixer/mixer.c: (main):
19374 * examples/thread/thread.c: (eos), (main):
19376 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19377 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19378 (gst_spider_plug_from_srcpad):
19379 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19380 (gst_spider_identity_change_state),
19381 (gst_spider_identity_sink_loop_type_finding):
19382 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19383 * gst/elements/gstidentity.c: (gst_identity_init):
19384 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19385 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19386 * gst/elements/gsttypefindelement.c: (free_entry):
19389 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19390 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19391 (gst_bin_set_index), (gst_bin_set_element_sched),
19392 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19393 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19394 (gst_bin_iterate_elements), (iterate_child_recurse),
19395 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19396 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19397 (compare_interface), (gst_bin_get_by_interface),
19398 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19400 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19401 (gst_buffer_default_free), (gst_buffer_default_copy),
19402 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19403 (gst_buffer_create_sub):
19405 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19406 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19407 (gst_caps_unref), (gst_static_caps_get),
19408 (gst_caps_remove_and_get_structure), (gst_caps_append),
19409 (gst_caps_append_structure), (gst_caps_remove_structure),
19410 (gst_caps_copy_nth), (gst_caps_set_simple),
19411 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19412 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19413 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19414 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19415 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19416 (gst_caps_structure_figure_out_union),
19417 (gst_caps_switch_structures), (gst_caps_do_simplify),
19418 (gst_caps_replace), (gst_caps_from_string),
19419 (gst_caps_copy_conditional):
19421 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19422 (_gst_clock_id_free), (gst_clock_id_unref),
19423 (gst_clock_id_compare_func), (gst_clock_id_wait),
19424 (gst_clock_id_wait_async), (gst_clock_class_init),
19425 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19426 (gst_clock_get_time), (gst_clock_set_time_adjust),
19427 (gst_clock_set_property), (gst_clock_get_property):
19430 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19431 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19433 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19434 (gst_element_requires_clock), (gst_element_provides_clock),
19435 (gst_element_set_clock), (gst_element_clock_wait),
19436 (gst_element_wait), (gst_element_set_time_delay),
19437 (gst_element_is_indexable), (gst_element_add_pad),
19438 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19439 (pad_compare_name), (gst_element_get_static_pad),
19440 (gst_element_request_pad), (gst_element_get_request_pad),
19441 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19442 (gst_element_class_get_pad_template_list),
19443 (gst_element_class_get_pad_template), (gst_element_error_func),
19444 (gst_element_get_random_pad), (gst_element_get_event_masks),
19445 (gst_element_send_event), (gst_element_seek),
19446 (gst_element_get_query_types), (gst_element_query),
19447 (gst_element_get_formats), (gst_element_convert),
19448 (gst_element_is_locked_state), (gst_element_set_locked_state),
19449 (gst_element_sync_state_with_parent), (gst_element_change_state),
19450 (gst_element_finalize), (gst_element_yield),
19451 (gst_element_interrupt), (gst_element_set_scheduler),
19452 (gst_element_get_scheduler), (gst_element_set_loop_function):
19453 * gst/gstelement.h:
19455 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19456 (gst_format_get_by_nick), (gst_format_get_details),
19457 (gst_format_iterate_definitions):
19459 * gst/gstindex.c: (gst_index_gtype_resolver):
19462 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19463 (gst_mem_chunk_free):
19464 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19465 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19466 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19467 (gst_object_dispatch_properties_changed),
19468 (gst_object_set_name_default), (gst_object_set_name),
19469 (gst_object_get_name), (gst_object_set_name_prefix),
19470 (gst_object_get_name_prefix), (gst_object_set_parent),
19471 (gst_object_get_parent), (gst_object_unparent),
19472 (gst_object_check_uniqueness), (gst_object_save_thyself),
19473 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19474 (gst_object_set_property), (gst_object_get_property),
19475 (gst_object_get_path_string):
19477 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19478 (gst_real_pad_init), (gst_real_pad_get_property),
19479 (gst_pad_custom_new), (gst_pad_get_direction),
19480 (gst_pad_set_active), (gst_pad_is_active),
19481 (gst_pad_set_event_function), (gst_pad_is_linked),
19482 (gst_pad_link_free), (gst_pad_link_intersect),
19483 (gst_pad_link_fixate), (gst_pad_set_caps),
19484 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19485 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19486 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19487 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19488 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19489 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19490 (gst_pad_realize), (gst_pad_get_allowed_caps),
19491 (gst_real_pad_dispose), (gst_real_pad_finalize),
19492 (gst_pad_collectv), (gst_pad_collect_valist),
19493 (gst_pad_template_dispose), (gst_pad_template_new),
19494 (gst_pad_get_internal_links):
19496 * gst/gstpipeline.c: (gst_pipeline_dispose),
19497 (gst_pipeline_change_state):
19498 * gst/gstpipeline.h:
19500 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19501 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19502 * gst/gstpluginfeature.h:
19503 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19504 * gst/gstquery.c: (_gst_query_type_initialize),
19505 (gst_query_type_register), (gst_query_type_get_by_nick),
19506 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19508 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19509 * gst/gstscheduler.c: (gst_scheduler_add_element),
19510 (gst_scheduler_factory_create):
19511 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19512 (gst_structure_free), (gst_structure_set_name),
19513 (gst_structure_id_set_value), (gst_structure_set_value),
19514 (gst_structure_set_valist), (gst_structure_remove_field),
19515 (gst_structure_remove_fields),
19516 (gst_structure_remove_fields_valist),
19517 (gst_structure_remove_all_fields), (gst_structure_foreach),
19518 (gst_structure_map_in_place),
19519 (gst_caps_structure_fixate_field_nearest_int),
19520 (gst_caps_structure_fixate_field_nearest_double):
19521 * gst/gststructure.h:
19522 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19523 (gst_system_clock_init), (gst_system_clock_dispose),
19524 (gst_system_clock_async_thread),
19525 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19526 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19527 * gst/gstsystemclock.h:
19528 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19529 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19530 * gst/gsttaginterface.c:
19531 * gst/gstthread.c: (gst_thread_dispose),
19532 (gst_thread_release_children_locks), (gst_thread_change_state),
19533 (gst_thread_main_loop):
19534 * gst/gsttrashstack.h:
19535 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19537 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19538 (gst_element_request_pad), (gst_element_get_pad_from_template),
19539 (gst_element_request_compatible_pad),
19540 (gst_element_get_compatible_pad_filtered),
19541 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19542 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19543 (gst_element_link_many), (gst_element_link),
19544 (gst_element_link_pads), (gst_element_unlink_pads),
19545 (gst_element_unlink_many), (gst_element_unlink),
19546 (gst_pad_can_link_filtered), (gst_pad_can_link),
19547 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19548 (gst_object_default_error), (gst_bin_add_many),
19549 (gst_bin_remove_many), (gst_element_populate_std_props),
19550 (gst_element_class_install_std_props), (gst_buffer_merge),
19551 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19552 (link_fold_func), (gst_pad_proxy_setcaps):
19554 * gst/gstvalue.c: (gst_value_deserialize_string):
19555 * gst/parse/grammar.y:
19556 * gst/schedulers/gstbasicscheduler.c:
19557 (gst_basic_scheduler_cothreaded_chain),
19558 (gst_basic_scheduler_chain_recursive_add),
19559 (gst_basic_scheduler_pad_link):
19560 * gst/schedulers/gstoptimalscheduler.c:
19561 (get_group_schedule_function),
19562 (gst_opt_scheduler_state_transition),
19563 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19564 * libs/gst/bytestream/bytestream.c:
19565 * libs/gst/dataprotocol/dataprotocol.c:
19566 (gst_dp_header_from_buffer):
19569 * tests/threadstate/threadstate2.c: (eos):
19570 * tools/gst-compprep.c: (main):
19571 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19572 (print_pad_info), (print_children_info):
19573 * tools/gst-launch.c: (idle_func), (main):
19574 * tools/gst-md5sum.c: (idle_func), (main):
19575 * tools/gst-xmlinspect.c: (print_element_info):
19576 First THREADED backport attempt, focusing on adding locks and
19577 making sure the API is threadsafe. Needs more work. More docs
19580 2005-02-24 Andy Wingo <wingo@pobox.com>
19582 * tests/bench-complexity.scm:
19583 * tests/complexity.gnuplot: New files, good for running complexity
19586 * tests/Makefile.am:
19587 * tests/complexity.c: New test, sets up N elements, at each level
19588 teeing into M streams per element. Eeeenteresting.
19590 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19591 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19592 running bench-mass_elements.scm.
19594 * tests/bench-mass_elements.scm: New script, runs mass_elements
19595 for various numbers of identities, outputting the results to a
19596 file. Requires guile 1.6. Just for testing.
19598 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19600 * gst/schedulers/fairscheduler.c:
19601 compile with debug disabled
19603 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
19606 hunting season on 0.9 is now OPEN