1 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/gstformat.c: (gst_format_register):
4 Fix locking order (must take lock before using n_values).
6 * gst/gstvalue.c: (gst_value_serialize_enum),
7 (gst_value_deserialize_enum_iter_cmp),
8 (gst_value_deserialize_enum):
9 Fix serialisation/deserialisation of custom registered GstFormats.
11 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12 Unit test for custom format serialisation/deserialisation.
14 2006-09-17 Stefan Kost <ensonic@users.sf.net>
16 * docs/pwg/building-boiler.xml:
17 * plugins/elements/gstcapsfilter.c:
18 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
21 2006-09-16 Edward Hervey <edward@fluendo.com>
23 * libs/gst/base/gstbasetransform.c:
24 (gst_base_transform_buffer_alloc):
25 Check if requested caps are the same as the sinks caps IF
26 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
28 This fixes the renegotiation issues stated in #352827.
30 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
33 * docs/manual/advanced-autoplugging.xml:
34 * tests/examples/Makefile.am:
35 * tests/examples/manual/.cvsignore:
36 * tests/examples/manual/Makefile.am:
37 * tests/examples/manual/extract.pl:
38 Extract the manual examples again like we used to do.
41 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
43 * win32/common/config.h:
46 2006-09-16 Stefan Kost <ensonic@users.sf.net>
49 Documents how to receive errors.
51 2006-09-15 Wim Taymans <wim@fluendo.com>
53 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
55 Added some comments here and there.
56 Post an application message when an interrupt is caught instead of doing
57 an uncontrolled state change.
58 Clean up the event loop.
59 Handle buffering messages, pause/resume the pipeline.
60 Make shutdown because of an interrupt more reliable.
62 2006-09-15 Wim Taymans <wim@fluendo.com>
64 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
65 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
66 (gst_base_sink_preroll_object):
67 Make sure that our internal state is correct when we commit our state
68 asynchronously. This solves a race where a state change to PLAYING
69 could cause the sink to remain blocked in preroll in some situations.
71 2006-09-15 Wim Taymans <wim@fluendo.com>
73 * tools/gst-inspect.c: (print_element_properties_info),
75 List flags as hex so it's easier to deal with.
77 2006-09-15 Wim Taymans <wim@fluendo.com>
79 * docs/libs/gstreamer-libs-sections.txt:
80 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
81 (gst_base_sink_do_sync):
82 * libs/gst/base/gstbasesink.h:
83 Expose logic to wait for preroll so that subclasses such as audiosink
84 can also use this method.
85 API: gst_base_sink_wait_preroll()
87 2006-09-15 Wim Taymans <wim@fluendo.com>
89 * gst/gstobject.c: (gst_object_set_parent):
90 * gst/gstpipeline.c: (do_pipeline_seek):
91 Small cleanups in docs and code.
93 * gst/gstsegment.c: (gst_segment_clip):
94 * tests/check/gst/gstsegment.c: (GST_START_TEST):
95 if stop == start and start is in the segment, no clipping should be
96 done. Also add a test for this.
98 2006-09-15 Wim Taymans <wim@fluendo.com>
100 * docs/design/part-buffering.txt:
101 * docs/gst/gstreamer-sections.txt:
102 * gst/gstmessage.c: (gst_message_new_buffering),
103 (gst_message_parse_buffering):
105 Added methods to create and parse BUFFERING messages.
106 Added preliminary docs about buffering.
107 API: gst_message_new_buffering
108 API: gst_message_parse_buffering
110 2006-09-06 Wim Taymans <wim@fluendo.com>
113 Update documentation.
115 * gst/gstelement.c: (gst_element_class_init),
116 (gst_element_release_request_pad), (gst_element_set_clock),
117 (gst_element_get_index), (gst_element_add_pad),
118 (gst_element_remove_pad), (gst_element_get_random_pad),
119 (gst_element_send_event), (gst_element_get_query_types),
120 (gst_element_query), (gst_element_post_message),
121 (gst_element_message_full), (gst_element_continue_state),
122 (gst_element_lost_state), (gst_element_save_thyself),
123 (gst_element_restore_thyself):
124 Documentation updates.
125 Rename last bit of the new-pad -> pad-added signal rename.
126 Fix the case where an element query would only work if the source
128 Avoid some useless type checking in message handling.
133 Documentation updates.
135 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
137 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
138 add an INFO line for when we actually update the fd
140 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
145 === release 0.10.10 ===
147 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
150 releasing 0.10.10, "Pais"
152 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
154 * docs/manual/advanced-position.xml:
155 Fix typo in sample code.
157 2006-09-05 Wim Taymans <wim@fluendo.com>
159 * libs/gst/net/gstnetclientclock.c: (inet_aton),
160 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
161 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
162 * libs/gst/net/gstnetclientclock.h:
163 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
164 * libs/gst/net/gstnettimepacket.h:
165 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
166 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
167 (gst_net_time_provider_thread), (gst_net_time_provider_new):
168 * libs/gst/net/gstnettimeprovider.h:
169 Make stuff compile on windows. Fixes #345295.
171 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
173 * gst/gst.c: (ensure_current_registry_forking):
174 Print better details when child was terminated by signal.
176 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
178 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
179 Print a warning rather than g_assert() if a plugin feature
180 is a URI handler but returns no protocols (#353976).
182 2006-09-02 Stefan Kost <ensonic@users.sf.net>
184 * docs/random/moving-plugins:
187 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
189 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
190 Fix locking order, handle NULL function values properly.
195 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
196 Initialise variable before using it and fix debug statement to
197 print the address of the function rather than the address of the
198 variable on the stack holding the address of the function.
200 2006-09-01 Wim Taymans <wim@fluendo.com>
202 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
203 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
204 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
205 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
206 (gst_ghost_pad_parent_unset),
207 (gst_ghost_pad_internal_do_activate_push),
208 (gst_ghost_pad_internal_do_activate_pull),
209 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
210 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
211 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
212 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
213 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
214 (gst_ghost_pad_new_no_target_from_template),
215 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
217 Avoid needless typechecking in macros.
218 Since the internal pad is always present and never changes, there is
219 no need to locking or ref when retrieving it.
220 Improve debugging a bit.
221 Handle link errors when setting the target. Fixes #341029.
223 2006-09-01 Wim Taymans <wim@fluendo.com>
225 * docs/libs/gstreamer-libs-sections.txt:
226 * docs/plugins/gstreamer-plugins-sections.txt:
229 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
230 (gst_collect_pads_event):
231 * libs/gst/base/gstcollectpads.h:
232 Documentation updates.
233 Free queued buffer when removing a pad.
235 2006-08-31 Michael Smith <msmith@fluendo.com>
237 * gst/gstutils.c: (gst_element_link_pads),
238 (gst_element_link_pads_filtered):
239 Ensure that we set a capsfilter to NULL if we failed to link it
240 when doing filtered linking, to avoid criticals.
242 No need to check for unreffing srcpad, which is explicly NULLed
243 above (a trivial code cleanup).
245 2006-08-31 Wim Taymans <wim@fluendo.com>
247 * docs/design/part-gstghostpad.txt:
248 Update ascii art in documentation.
250 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
251 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
252 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
253 (gst_ghost_pad_internal_do_activate_push),
254 (gst_ghost_pad_internal_do_activate_pull),
255 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
256 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
257 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
258 (gst_ghost_pad_set_target):
259 Small cleanups and leak fixes.
260 Remove some checks now that the internal pad is never NULL.
261 Fix the case where linking pads without a target would create nasty
262 criticals. Fixes #341029.
263 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
264 value of _set_target().
266 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
267 (gst_ghost_pad_suite):
268 Some more tests for creating and linking untargeted ghostpads.
270 2006-08-31 Edward Hervey <edward@fluendo.com>
272 * docs/gst/gstreamer-sections.txt:
273 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
274 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
275 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
276 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
277 (gst_ghost_pad_new_from_template),
278 (gst_ghost_pad_new_no_target_from_template):
280 Refactored *_new() functions.
281 Templates are now used as a g_object_new() parameter.
282 Use template in _do_getcaps() if we don't have a target.
283 Small documentation cleanups.
284 Added two new constructors:
285 gst_ghost_pad_new_from_template()
286 gst_ghost_pad_new_no_target_from_template()
287 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
288 (gst_ghost_pad_suite):
289 Added tests for new ghostpad instanciation functions.
291 API additions: gst_ghost_pad_new_from_template,
292 gst_ghost_pad_new_no_target_from_template
294 2006-08-30 Stefan Kost <ensonic@users.sf.net>
296 * docs/random/ensonic/profiling.txt:
297 Ideas about qos profiling.
299 2006-08-29 Wim Taymans <wim@fluendo.com>
301 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
305 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
308 Improve and detypofy docs.
310 * tests/check/Makefile.am:
311 * tests/check/gst/.cvsignore:
312 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
313 Add a basic test suite for GstXML.
315 2006-08-29 Wim Taymans <wim@fluendo.com>
317 * gst/gstelement.c: (activate_pads), (clear_caps),
318 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
319 Clear the pad caps when the element shut down all of the pads and
320 is not streaming data that could modify the caps.
323 2006-08-28 Michael Smith <msmith@fluendo.com>
325 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
326 Revert previous change; I misunderstood single-segment mode.
328 2006-08-28 Michael Smith <msmith@fluendo.com>
330 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
331 Unset DISCONT on buffers when using single-segment mode.
333 2006-08-28 Wim Taymans <wim@fluendo.com>
335 * gst/gstcaps.c: (gst_caps_merge_structure):
337 Fix docs and indentation again.
339 * tests/check/gst/gstquery.c: (GST_START_TEST):
340 Fix leak in tests and add some more tests.
342 2006-08-28 Edward Hervey <edward@fluendo.com>
344 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
345 Inform GstSegment of the last stop position in order for the current
346 segment to have a proper duration if it doesn't have a specific stop
347 position from which a duration could be calculated.
348 This bug was noticeable when a non-flushing, non-update new segment was
349 followed by another segment (all buffers from the new segment were being
352 2006-08-28 Wim Taymans <wim@fluendo.com>
354 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
355 Small comment update.
357 * plugins/elements/gstidentity.c: (gst_identity_class_init),
358 (gst_identity_transform_ip):
359 Drop-probability is broken, mention this in the code with a
360 FIXME and also in the property description.
361 Make silent also be silent about the drop messages.
363 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
365 * docs/manual/appendix-win32.xml:
366 Remove mention of popt, we don't depend on that any
367 longer (#353136). Add some comments pointing out that
368 this section is slightly outdated.
370 2006-08-28 Wim Taymans <wim@fluendo.com>
372 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
374 * gst/gstquery.c: (gst_query_new_segment):
375 * tests/check/gst/gstquery.c: (GST_START_TEST):
376 Initialize variables when creating a new segment query.
379 2006-08-28 Wim Taymans <wim@fluendo.com>
381 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
383 * gst/gstelement.c: (gst_element_get_bus):
384 * tests/check/gst/gstelement.c: (GST_START_TEST):
385 Check for NULL before _reffing the bus. Fixes #353122.
387 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
389 * docs/manual/basics-bus.xml:
390 Docs update: fix wrong callback return value explanation; add
391 some lines about the implicit relationship between main loop
392 and main context; remove duplicate main loop variable declaration.
394 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
396 * tests/check/gst/gstcaps.c: (GST_START_TEST):
397 Don't leak caps in unit test; add a few more simple
400 2006-08-24 Stefan Kost <ensonic@users.sf.net>
402 * docs/gst/gstreamer-sections.txt:
403 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
404 (gst_caps_structure_is_subset), (gst_caps_merge),
405 (gst_caps_merge_structure):
407 * libs/gst/base/gstbasetransform.c:
408 (gst_base_transform_transform_caps):
409 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
410 implement caps merging (fixes #352580)
412 2006-08-23 Stefan Kost <ensonic@users.sf.net>
415 * tools/gst-plot-timeline.py:
416 add debug-log plotting developer tool (#340674)
418 2006-08-23 Wim Taymans <wim@fluendo.com>
420 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
422 Improve debugging for task functions.
424 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
425 (gst_task_start), (gst_task_pause), (gst_task_join):
426 Make sure that the task function started and finished after a
428 Don't try to push the task function on the threadpool multiple
430 Improve the g_warning message with some useful suggestions
431 about how to fix the problem.
433 2006-08-23 Wim Taymans <wim@fluendo.com>
435 * gst/gstutils.c: (gst_pad_proxy_getcaps):
436 Handle RESYNC correctly in _proxy_getcaps.
438 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
440 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
441 (gst_xml_parse_memory), (gst_xml_get_element):
442 Chain up to parent class in dispose function and also
443 unref the elements in the toplevel_elements GList.
444 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
445 Always return a reference in gst_xml_get_element() rather
448 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
449 Don't leak GstXml object.
451 2006-08-21 Stefan Kost <ensonic@users.sf.net>
453 * docs/gst/gstreamer-sections.txt:
454 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
457 * libs/gst/base/gstbasetransform.c:
458 (gst_base_transform_transform_caps):
459 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
462 2006-08-21 Edward Hervey <edward@fluendo.com>
464 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
465 Implement GObject::dispose virtual method in GstXML so we can free the
468 2006-08-21 Wim Taymans <wim@fluendo.com>
470 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
471 (gst_buffer_create_sub):
472 Copy duration/offset_end/caps when creating a subbuffer of the
474 Make the subbuffer read-only when we make the metadata writable for
477 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
478 Added check for metadata copy when creating subbuffers.
480 2006-08-21 Edward Hervey <edward@fluendo.com>
482 * libs/gst/base/gstbasetransform.c:
483 (gst_base_transform_buffer_alloc):
484 Only call downstream buffer_alloc if transform element is passthrough
485 or always_in_place. Closes #350449.
487 2006-08-20 Stefan Kost <ensonic@users.sf.net>
490 ChangeLog surgery to add comments to previous changes
492 2006-08-20 Stefan Kost <ensonic@users.sf.net>
497 * gst/gstpad.c: (gst_pad_set_active):
498 Be more verbose in the log
500 * libs/gst/base/gstbasetransform.c:
501 (gst_base_transform_transform_caps):
502 Simplify caps to get rid of duplicates, fixes #345444
504 2006-08-20 Stefan Kost <ensonic@users.sf.net>
508 Use these optimizations only internally.
510 2006-08-20 Stefan Kost <ensonic@users.sf.net>
512 * gst/gstvalue.c: (gst_value_compare_list),
513 (gst_value_compare_fraction_range),
514 (gst_value_intersect_fraction_fraction_range),
515 (gst_value_intersect_fraction_range_fraction_range),
516 (gst_value_subtract_fraction_fraction_range),
517 (gst_value_subtract_fraction_range_fraction_range),
518 (gst_value_get_compare_func), (gst_value_compare),
519 (gst_value_compare_with_func):
521 Saves the expensive lookup of the compare function in many cases
524 2006-08-18 Edward Hervey <edward@fluendo.com>
526 * tests/check/gst/gstinfo.c: (gst_info_suite):
527 Disable test that require gstdebug if it wasn't built in core.
529 2006-08-18 Stefan Kost <ensonic@users.sf.net>
531 * docs/random/ensonic/logging.txt:
534 * gst/gstinfo.c: (gst_debug_log_default):
535 reorder fields, save some columns, add optional color codes for log
538 2006-08-18 Stefan Kost <ensonic@users.sf.net>
540 * docs/random/ensonic/logging.txt:
541 add ideas about making the logs a bit more useful
543 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
545 * docs/pwg/advanced-events.xml:
546 * docs/pwg/titlepage.xml:
547 Update for 0.10 API (#340627). Add myself
550 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
552 * docs/libs/gstreamer-libs-docs.sgml:
553 * docs/libs/gstreamer-libs-sections.txt:
554 * libs/gst/check/gstbufferstraw.c:
555 Make gstcheck stuff show up in docs (still needs to
556 be documented properly though).
558 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
560 * docs/gst/gstreamer-sections.txt:
562 * gst/gst.c: (init_post):
564 * gst/gstquark.c: (_priv_gst_quarks_initialize):
566 * gst/gstquery.c: (gst_query_new_position),
567 (gst_query_set_position), (gst_query_parse_position),
568 (gst_query_new_duration), (gst_query_set_duration),
569 (gst_query_parse_duration), (gst_query_new_convert),
570 (gst_query_set_convert), (gst_query_parse_convert),
571 (gst_query_new_segment), (gst_query_set_segment),
572 (gst_query_parse_segment), (gst_query_new_seeking),
573 (gst_query_set_seeking), (gst_query_parse_seeking):
574 Add internal helpers for pre-registering quarks from static strings
575 and using the quark values directly instead of looking them up when
576 creating and parsing queries. Can be used for event construction too.
579 2006-08-16 Wim Taymans <wim@fluendo.com>
584 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
586 * gst/gstutils.c: (gst_util_set_value_from_string):
587 Fix memleak (#351502).
589 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
590 Add unit test for most of gst_util_set_value_from_string()
591 (not that one would want to encourage use of this function).
593 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
595 * libs/gst/check/gstcheck.h:
596 Use const gchar * variables in fail_unless_equals_string
597 macro to avoid compiler warnings (and don't use tabs for
600 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
602 * tools/gst-launch.c: (print_tag):
603 More space on the left for the tag names, to cater
604 for the 'extended comment' tag (not touching the
605 string for the first line since it's translated).
607 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
609 * libs/gst/check/gstcheck.h:
610 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
611 print something when they fail.
613 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
615 * docs/gst/gstreamer-sections.txt:
616 * gst/gsttaglist.c: (_gst_tag_initialize):
618 API: add GST_TAG_EXTENDED_COMMENT (#350935).
619 Also change merge function for GST_TAG_COMMENT to
622 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
624 * gst/gstinfo.c: (gst_debug_print_object):
625 Make GST_PTR_FORMAT print messages as well.
627 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
628 (GST_START_TEST), (gst_info_suite):
631 2006-08-14 Edward Hervey <edward@fluendo.com>
633 * gst/gstelementfactory.c: (gst_element_register):
634 If the GstElementClass doesn't have a GstElementDetails with all fields
635 filled up correctly (longname, description AND author), then error out
636 nicely instead of crashing.
638 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
640 * gst/gststructure.c:
641 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
644 Expand on the difference between arrays and lists as we use them.
646 2006-08-14 Wim Taymans <wim@fluendo.com>
648 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
649 If the parent state change function failed, don't assume we can safely
650 stop the source, this will be done when the pads are deactivated.
652 2006-08-14 Wim Taymans <wim@fluendo.com>
655 * gst/gsttask.c: (gst_task_join):
658 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
660 When pad (de)activation failed for some reason, restore the old
661 activation mode and set the pad to flushing instead of assuming the
663 If the _task_join() failed, reinstall the task on the pad so that it can
664 be stopped later and return an error.
666 2006-08-11 Andy Wingo <wingo@pobox.com>
669 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
670 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
671 is only for users of API that don't want to see deprecated
672 functions in the headers; people that want to compile out
673 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
674 CFLAGS. Fixes the build of multifdsink, or will soon..
676 2006-08-11 Wim Taymans <wim@fluendo.com>
678 * docs/gst/gstreamer-sections.txt:
679 Add GstClockClass vmethod docs.
682 Mark #endif with comment for associated #if
684 * gst/gstclock.c: (gst_clock_id_wait):
686 Add vmethod wait_jitter to avoid an unneeded _get_time() for
687 most clock implementations.
689 Flesh out docs about resolution methods.
690 API: GstClockClass::wait_jitter
692 * gst/gstsystemclock.c: (gst_system_clock_class_init),
693 (gst_system_clock_async_thread),
694 (gst_system_clock_id_wait_jitter_unlocked),
695 (gst_system_clock_id_wait_jitter):
696 Use base class wait_jitter variant for improved performance
697 due to less clock polling.
699 2006-08-11 Edward Hervey <edward@fluendo.com>
701 * gst/gst.c: (gst_init_check), (init_post):
702 Set gst as being initialized before scanning/updating the registry,
703 since there might be my python plugin loader that calls gst_init() and
704 we don't want to loop back in.
707 2006-08-11 Wim Taymans <wim@fluendo.com>
709 * docs/design/part-qos.txt:
710 Bring docs in line with the code. Mostly the sign of the jitter was
711 wrong in the docs. Fixes #349943.
714 Fix the docs for the jitter.
716 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
717 (gst_event_parse_tag), (gst_event_new_buffer_size),
718 (gst_event_parse_buffer_size), (gst_event_parse_qos),
719 (gst_event_new_seek), (gst_event_parse_seek),
720 (gst_event_new_navigation):
721 Make sure the GstStructure has no parent when creating custom
723 Add some more argument checking so that we avoid 0.0 rates.
724 Flesh out the docs for the QoS event some more.
726 2006-08-11 Wim Taymans <wim@fluendo.com>
728 * docs/gst/gstreamer-sections.txt:
729 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
730 (ensure_current_registry_forking), (ensure_current_registry),
731 (parse_one_option), (parse_goption_arg), (gst_deinit),
732 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
735 Added API and command line option to disable registry forking in
736 addition to the environment variable.
737 Constify some static arrays.
738 Added some more debug.
740 API: gst_registry_fork_is_enabled()
741 API: gst_registry_fork_set_enabled()
742 API: --gst-disable-registry-fork command line option
745 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
747 * gst/gst.c: (gst_init):
748 Fix typo in error message.
750 2006-08-10 Stefan Kost <ensonic@users.sf.net>
752 * libs/gst/controller/gstcontroller.h:
753 fix ABI size-correction
755 * tests/check/libs/gdp.c: (gst_dp_suite):
756 make tests that use deprecated API conditional
758 2006-08-10 Stefan Kost <ensonic@users.sf.net>
760 * docs/libs/gstreamer-libs-sections.txt:
761 * libs/gst/controller/gstcontroller.c:
762 (_gst_controller_get_property), (_gst_controller_set_property),
763 (_gst_controller_init), (_gst_controller_class_init):
764 * libs/gst/controller/gstcontroller.h:
765 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
766 (gst_object_set_control_rate):
767 API: add gst_object_{s,g}et_control_rate(), add private data section,
770 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
771 * libs/gst/dataprotocol/dataprotocol.h:
772 add deprecation guards to make gtk-doc happy and allow disabling cruft
774 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
776 * tests/check/Makefile.am:
777 * tests/check/gst/.cvsignore:
778 Let's enable the new unit test as well.
780 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
783 * docs/gst/gstreamer-sections.txt:
784 * gst/gstconfig.h.in:
785 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
786 (_gst_info_printf_extension_ptr),
787 (_gst_info_printf_extension_segment):
788 API: add GST_SEGMENT_FORMAT, which is a printf extension we
789 register that lets us easily dump GstSegments into debug
792 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
793 (info_segment_format_printf_extension), (gst_info_suite):
794 Add simple unit test that logs a bunch of different segments (not
795 valgrinded at the moment because of leaks in
796 gst_debug_add_log_function).
798 2006-08-09 Edward Hervey <edward@fluendo.com>
800 * libs/gst/base/gstbasetransform.c:
801 (gst_base_transform_buffer_alloc):
802 Even if we can't figure out the proper format to request downstream,
803 call buffer_alloc() downstream with the input parameters without setting
804 the caps on the srcpad. This will force negotiation in the chain
808 2006-08-08 Edward Hervey <edward@fluendo.com>
810 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
811 Unlinking from a pad without a target is now a perfectly valid case
812 which should NOT raise an assertion.
813 This case would happen if a linked ghostpad its target set to NULL after
814 it was previously linked.
816 2006-08-08 Edward Hervey <edward@fluendo.com>
818 * tests/check/libs/gdp.c:
819 Also comment out the test (see below).
821 2006-08-08 Edward Hervey <edward@fluendo.com>
823 * tests/check/libs/gdp.c: (gst_dp_suite):
824 Use the architecture information from config.h and not gcc macros
825 in order to properly disable a test that fails on PPC64.
827 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
829 * gst/gstelement.c: (gst_element_remove_pad):
830 Don't crash printing the warning if the pad has no parent.
832 2006-08-02 Wim Taymans <wim@fluendo.com>
834 * libs/gst/dataprotocol/dataprotocol.c:
835 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
836 (gst_dp_crc), (gst_dp_header_payload_length),
837 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
838 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
839 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
840 (gst_dp_event_from_packet), (gst_dp_validate_header),
841 (gst_dp_validate_payload):
842 Make debug category static
843 Constify the crc table.
844 Do some more arg checking in public functions.
845 Fix some docs and do some small cleanups.
847 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
848 Add some more checks to see if GDP deals with bogus input.
850 2006-07-31 Wim Taymans <wim@fluendo.com>
852 * gst/gstvalue.c: (gst_value_compare_list):
853 Fix GstValueList comparison code. Fixes #347293.
855 * tests/check/gst/gstvalue.c: (GST_START_TEST):
856 Check to test GstValueList comparison.
858 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
860 * gst/gstelementfactory.c: (gst_element_factory_create):
861 Remove unnecessary ref/unref pair
863 * gst/parse/grammar.y:
864 Make sure to free the parse buffer on all code paths.
865 Move a g_free up to the error handler where it's easier to see.
867 * tests/check/gst/gstevent.c: (test_event):
868 Extending timeout for downstream travelling events to 10 seconds to
869 hopefully avoid intermittent failure on the buildbots.
871 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
872 Don't manually set the state of the src element - it will happen as a
873 natural consequence of the pipeline changing state, and that way it
874 will do it in the right order too.
876 2006-07-31 Wim Taymans <wim@fluendo.com>
878 * libs/gst/base/gstbasetransform.c:
879 (gst_base_transform_buffer_alloc):
880 Use OBJECT_LOCK and refcounting to get the pad caps in the
881 buffer_alloc function because the caps could change while we are
882 busy with them. Fixes #349105
884 2006-07-31 Wim Taymans <wim@fluendo.com>
886 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
887 Protect _PAD_CAPS with OBJECT_LOCK.
889 2006-07-31 Wim Taymans <wim@fluendo.com>
891 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
892 (gst_pad_get_property), (gst_pad_activate_pull),
893 (gst_pad_activate_push), (gst_pad_set_blocked_async),
894 (gst_pad_set_activate_function),
895 (gst_pad_set_activatepull_function),
896 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
897 (gst_pad_set_getrange_function),
898 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
899 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
900 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
901 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
902 (gst_pad_set_acceptcaps_function),
903 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
904 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
905 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
906 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
907 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
908 (gst_pad_configure_sink), (gst_pad_configure_src),
909 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
910 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
911 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
912 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
913 (gst_pad_send_event):
914 Use _DEBUG_OBJECT when it makes sense.
915 Protect GST_PAD_CAPS with the OBJECT_LOCK.
916 Small cleanups and code reflows.
917 Avoid caps refcounting in _accept_caps.
918 Refactor alloc_buffer so that the code performed on the peer is in a
919 separate function. Also if the pad does not implement a buffer alloc
920 function, we should still check if the pad is flushing before falling
921 back to the default allocator.
923 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
925 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
926 Make all uses of identity and fakesink have silent=true to avoid
927 serialising every passing data structure, which is breaking tests
928 on FC4 for some unknown reason.
930 2006-07-30 Stefan Kost <ensonic@users.sf.net>
932 * gst/parse/Makefile.am:
933 * gst/parse/grammar.y:
935 Reverted previous patch as it required to bump the flex dependency to
936 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
938 2006-07-30 Stefan Kost <ensonic@users.sf.net>
940 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
942 * gst/parse/Makefile.am:
943 * gst/parse/grammar.y:
945 push & pop the state of the lexer for reentrant use case
948 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
950 * libs/gst/base/gstbasesrc.h:
951 Note in the docs that the ::newsegment vfunc is not actually used by
954 2006-07-28 Wim Taymans <wim@fluendo.com>
956 * libs/gst/base/gstcollectpads.c:
957 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
958 (gst_collect_pads_clear), (gst_collect_pads_flush),
959 (gst_collect_pads_event), (gst_collect_pads_chain):
960 When flushing a pad, also clear the queued buffer so that we don't
961 accidentally use it when we shouldn't.
962 Fix leaks by inreffing incomming buffer.
963 Flush out queued buffers in case of errors.
966 2006-07-28 Wim Taymans <wim@fluendo.com>
968 * docs/random/phonon-gst:
969 Random notes about a Phonon backend.
971 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
973 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
975 * tests/check/libs/gdp.c: (gst_dp_suite):
976 Take a whack at fixing the ppc compile using a different define to
977 disable the broken test.
979 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
980 Remove excess g_print()
982 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
984 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
985 Oops, meant to uncomment this line too to dampen the noise a bit.
987 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
989 * gst/parse/grammar.y:
991 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
992 (GST_START_TEST), (parse_suite):
993 Fix some of the leaks exposed by extending the parse-launch testsuite,
994 and move the 3 I can't figure out into a separate test that won't run
995 the pipelines unless the appropriate line is uncommented.
997 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
999 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1000 Requesting 0 bytes before the end of the file should result in
1001 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1004 2006-07-27 Wim Taymans <wim@fluendo.com>
1006 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1007 Fix useless assert, a uint is always positive.
1009 * gst/gststructure.c: (gst_structure_nth_field_name),
1010 (gst_structure_foreach), (gst_structure_map_in_place):
1011 Check input arguments for public functions to avoid obvious crashes.
1013 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1014 * plugins/elements/gstfakesink.h:
1015 Do less useless typechecking.
1017 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1019 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1020 Do not use mmap() by default since there are a number of error
1021 conditions that we would like to handle in a non-fatal way that
1022 will result in a SIGBUS if we use mmap(). Examples: external
1023 devices (USB harddrive, portable music player) being unplugged
1024 while in use; file on mounted CD/DVD that can't be read because
1025 the medium is partly damaged. Fixes #348455 and #348475.
1027 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1030 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1033 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1035 * gst/gstregistry.c:
1036 Move big documentation comment into class section header, so that it
1037 appears in the API docs.
1039 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1041 * docs/gst/gstreamer-sections.txt:
1042 Oops. Commit the docs additions too for new API.
1043 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1045 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1047 * gst/gststructure.c: (gst_structure_id_set),
1048 (gst_structure_id_set_valist):
1049 * gst/gststructure.h:
1050 Add API for setting values into structures without performing
1051 a quark lookup, if the appropriate quark is already known.
1053 API: gst_structure_id_set
1054 API: gst_structure_id_set_valist
1056 * gst/parse/grammar.y:
1057 * gst/parse/parse.l:
1058 Remove some dead code shown by the coverage information.
1059 Don't throw a critical g_warning when encountering a syntax error,
1060 just warn and let the normal error path handle it.
1062 * plugins/elements/gstelements.c:
1063 Bump the rank of filesink up to PRIMARY so that it is preferred over
1064 gnomevfssink for file:// sink uri's
1066 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1067 (GST_START_TEST), (run_delayed_test),
1068 (gst_parse_test_element_base_init),
1069 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1070 (gst_parse_test_element_change_state),
1071 (gst_register_parse_element), (parse_suite):
1072 Beef up the tests for parse syntax to check that more error cases
1073 fail as they are supposed to. Increases the test coverage a bit.
1075 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1077 * docs/manual/basics-elements.xml:
1078 Fix gst_element_link() example.
1081 Mention in API docs that one should usually gst_bin_add()
1082 elements to a bin or pipeline before doing the linking.
1084 2006-07-26 Wim Taymans <wim@fluendo.com>
1086 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1087 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1088 Avoid function call for known types by keeping the buffer and
1089 subbuffer GType global.
1091 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1092 Random silly optimisations in read() path.
1094 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1096 * tools/gst-launch.c: (main):
1097 If the top-level of the parse is a normal bin, it doesn't do the
1098 right logic to run as a top-level element, so place it inside a
1101 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1103 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1104 Remove superfluous g_object_notify() calls, GObject does
1105 that for us automatically.
1107 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1110 on Win32, use dllspec to export the debug category symbols
1112 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1114 * gst/gsttaglist.c: (_gst_tag_initialize):
1115 Allow more than one GST_TAG_IMAGE per taglist.
1117 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1119 * gst/gstminiobject.c:
1121 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1122 (gst_fd_src_create):
1123 log recurring events at LOG level
1124 add more debug for when the fd gets set
1126 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1128 * gst/gstparse.c: (gst_parse_launch):
1129 Also remove reentrance checks if flex is MT safe (#348179)
1130 Fix my empty ChangeLog entry below
1132 2006-07-21 Andy Wingo <wingo@pobox.com>
1134 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1136 * libs/gst/check/Makefile.am
1137 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1138 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1139 * libs/gst/check/gstbufferstraw.h:
1140 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1141 functions, thus proving I am still a GStreamer haxor. OK I wrote
1142 them a long time ago, but anyways.
1144 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1147 * gst/gstparse.c: (gst_parse_launch):
1148 Check for flex version and omit mutex if we have a MT save flex
1151 2006-07-21 Wim Taymans <wim@fluendo.com>
1153 * gst/gstparse.c: (gst_parse_launch):
1154 Protect recursive calls to _parse with a recursive mutex
1157 2006-07-21 Wim Taymans <wim@fluendo.com>
1159 * tests/check/gst/gstpad.c: (GST_START_TEST):
1162 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1164 * gst/gstparse.c: (gst_parse_launch):
1165 Do not hang on recursive usage of gst_parse_launch()
1167 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1170 Add some more docs, comments and FIXME 0.11s here and there
1171 and also fix some typos.
1173 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1176 Convert tabs to spaces for better readability.
1178 2006-07-20 Edward Hervey <edward@fluendo.com>
1180 * tests/check/libs/gdp.c: (gst_dp_suite):
1181 the test_buffer test fails at line 140 on ppc64 at the following
1183 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1184 GST_BUFFER_FLAG_IN_CAPS),
1185 "GST_BUFFER_IN_CAPS flag should have been copied !");
1186 See bug #348114 for more details.
1188 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1190 * docs/pwg/advanced-scheduling.xml:
1192 Fix typos (#348000).
1194 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1196 * docs/pwg/intro-basics.xml:
1197 Fix wrong links (#347927).
1199 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1201 * gst/gstregistry.h:
1202 * gst/gstregistryxml.c: (load_feature),
1203 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1204 * win32/common/config.h:
1205 make --disable-index work (#342564)
1207 2006-07-18 Wim Taymans <wim@fluendo.com>
1209 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1213 The attached patch adds two missing defines to gsttrace.h when tracing
1214 is disabled. It also corrects one existing define.
1217 2006-07-17 Wim Taymans <wim@fluendo.com>
1219 * docs/gst/gstreamer-sections.txt:
1220 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1222 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1223 Add two functions to check and change the SIGSEGV behaviour
1224 when loading plugins.
1225 Don't mess with the SIGSEGV handler when we were told not to.
1227 API: gst_segtrap_is_enabled
1228 API: gst_segtrap_set_enabled
1230 2006-07-14 Wim Taymans <wim@fluendo.com>
1232 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1233 * tests/check/elements/filesrc.c: (GST_START_TEST):
1234 Revert fix for regression in #347408 after release.
1236 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1238 Patch by: Antoine Tremblay <hexa00 at gmail com>
1240 * gst/gstutils.c: (gst_element_unlink):
1241 Free iterator when done (#347311).
1243 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1244 And add a test case for this.
1246 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1249 Bump nano back to CVS
1251 === release 0.10.9 ===
1253 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1256 releasing 0.10.9, "On the road again"
1258 2006-07-13 Wim Taymans <wim@fluendo.com>
1260 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1261 * tests/check/elements/filesrc.c: (GST_START_TEST):
1262 Revert pull-0 fix for release. Disable check. Fixes #347408.
1264 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1266 * libs/gst/dataprotocol/dataprotocol.c:
1267 (gst_dp_event_from_packet_1_0):
1268 Fixes #347337: failure to deserialize event packets with
1269 empty payload (only event type)
1271 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1274 do not install a .c file in the header directory
1276 2006-07-13 Edward Hervey <edward@fluendo.com>
1278 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1279 GhostPad no longer implicitely use the padtemplates of the targets.
1282 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1284 * gst/gstvalue.c: (gst_value_compare_list),
1285 (gst_value_compare_array), (_gst_value_initialize):
1286 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1287 Make GstValueArray comparison be order dependent as designed.
1288 Add checks for value lists and value array comparisons.
1291 2006-07-11 Edward Hervey <edward@fluendo.com>
1293 * gst/gstbin.c: (activate_pads),
1294 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1295 (gst_bin_change_state_func):
1296 (de)activate src pads before calling state_change on the childs.
1297 This is to avoid the case where a src ghostpad is blocked (holding the
1298 stream lock), which would block the deactivation of the ghostpad's
1300 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1301 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1302 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1303 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1304 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1305 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1306 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1307 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1308 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1309 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1310 (gst_ghost_pad_class_init),
1311 (gst_ghost_pad_internal_do_activate_push),
1312 (gst_ghost_pad_internal_do_activate_pull),
1313 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1314 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1315 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1316 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1317 GhostPads now create their internal GstProxyPad at creation (and not
1318 when they're linked, as it was being done previously).
1319 The internal and target pads are linked straight away.
1320 The data will also travel through the other pad in order to make
1321 pad blocking and probes non-hackish (the probe/block now really happens
1322 on the GhostPad and not on the target).
1323 * gst/gstpad.c: (gst_pad_set_blocked_async),
1324 (gst_pad_link_prepare), (gst_pad_push_event):
1325 Remove previous ghostpad cruft.
1326 * gst/gstutils.c: (gst_pad_add_data_probe),
1327 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1328 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1329 (gst_pad_remove_buffer_probe):
1330 Remove previous ghost pad cruft.
1331 Added more detailed debug statements.
1332 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1333 Fix the testsuite for refcounting changes.
1334 The comments about who has references were correct, but the refcount
1335 being checked wasn't the same (!?!).
1339 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1341 * docs/gst/gstreamer-sections.txt:
1342 * gst/gstconfig.h.in:
1343 More docs for configuration options, add docs to gtk-doc.
1345 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1348 * gst/gstconfig.h.in:
1349 * win32/common/config.h:
1350 Fix build when disabling tracing (fixes #344016). Also start to document
1351 the defines that disable the sub-systems.
1353 2006-07-10 Edward Hervey <edward@fluendo.com>
1355 * gst/gst.c: (ensure_current_registry_forking):
1356 let's make valgrind happy...
1358 2006-07-09 Wim Taymans <wim@fluendo.com>
1360 * gst/gstelement.c: (activate_pads),
1361 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1362 Better pad activation code: Reset the collect value too on resync.
1365 2006-07-09 Wim Taymans <wim@fluendo.com>
1367 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1368 (gst_pad_activate_push):
1369 Use some more macros where it makes sense.
1370 Allow pad mode switching instead of asserting. When a pad
1371 is activated in one mode and we activate it in another,
1372 deactivate it first before activating it in a different mode.
1375 2006-07-08 Andy Wingo <wingo@pobox.com>
1377 * tools/gst-launch.c (main): Handle err == NULL.
1379 * gst/gst.c (init_post, ensure_current_registry)
1380 (ensure_current_registry_forking)
1381 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1382 factoring out the registry scanning into separate functions. Don't
1383 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1384 Better environment var name/interface suggestions accepted.
1386 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1388 * gst/gstobject.c: (gst_object_set_name_default),
1389 (gst_object_set_name):
1390 Random micro-optimisation: don't use a hash table
1391 with strings as keys and the usual strdup/strcmp
1392 involved, but rather just use the GQuark of the
1393 type name as key, since it needs to be looked up
1394 anyway to get the type name string.
1396 * tests/check/gst/gstobject.c: (GST_START_TEST):
1399 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1401 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1402 (gst_bin_iterate_all_by_interface):
1403 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1404 GTypes are gulongs and thus the top 4 bytes might be cut
1405 off on some platforms when doing GPOINTER_TO_INT, leading
1406 to invalid GTypes and bad things happening (see RH bug #179654).
1407 Also add a check to make sure the type passed in is really
1410 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1415 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1419 * gst-element-check.m4:
1420 * gst-element-check.m4.in:
1421 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1422 instead of the unversioned gst-inspect (#324176, #168659).
1424 2006-07-06 Wim Taymans <wim@fluendo.com>
1427 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1430 2006-07-06 Wim Taymans <wim@fluendo.com>
1432 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1433 (gst_base_src_wait), (gst_base_src_update_length),
1434 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1435 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1436 (gst_base_src_loop), (gst_base_src_start),
1437 (gst_base_src_activate_pull):
1439 blocksize == 0 now means the default blocksize when working in push
1441 Remove some pointless asserts in _wait function.
1442 Fix offset/length calculations and EOS handling. We can now pull 0
1443 bytes as well, which is allowed.
1444 use _check_get_range() to decide if we can operate in _pull based
1446 Fix refcounting leak when check_get_range function was not
1448 API GstBaseSrc::blocksize range can be 0 too now (default)
1450 * tests/check/elements/filesrc.c: (GST_START_TEST),
1452 Added check to test _get_range() behaviour.
1454 2006-07-06 Wim Taymans <wim@fluendo.com>
1456 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1457 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1458 (gst_pad_pull_range):
1460 Lots of comments and docs added to the pad functions.
1461 Flesh out the expected behaviour of the get_range() functions.
1463 2006-07-06 Wim Taymans <wim@fluendo.com>
1468 * gst/gstiterator.h:
1472 Remove comma at end of enumerator list.
1474 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1476 * win32/common/libgstbase.def:
1477 * win32/common/libgstdataprotocol.def:
1478 * win32/common/libsgtreamer.def:
1479 Add new exported functions.
1481 2006-07-05 Wim Taymans <wim@fluendo.com>
1483 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1484 Add some more docs here and there.
1486 2006-07-05 Wim Taymans <wim@fluendo.com>
1488 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1489 (gst_base_sink_loop), (gst_base_sink_get_position):
1490 When operating in pull mode update the offset so that we
1493 2006-07-05 Wim Taymans <wim@fluendo.com>
1495 * gst/gstregistryxml.c: (read_string):
1496 Avoid strdup. (will happen in libxml, but hey!)
1501 2006-07-05 Wim Taymans <wim@fluendo.com>
1503 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1504 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1506 No point in checking if the size of the subbuffer > 0, the
1507 code handles it correclty as demonstrated by unit test.
1508 Also add a unit test for the zero sized _new_and_alloc and
1509 _copy. Fixes #346663.
1511 2006-07-05 Wim Taymans <wim@fluendo.com>
1513 * libs/gst/base/gstbasetransform.c:
1514 (gst_base_transform_prepare_output_buffer),
1515 (gst_base_transform_buffer_alloc),
1516 (gst_base_transform_handle_buffer):
1517 Make sure the buffer we pass to transform_ip has a refcount of
1518 1 and thus is writable. Fixes #343196
1520 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1522 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1523 (gst_file_src_init), (gst_file_src_set_property),
1524 (gst_file_src_get_property), (gst_file_src_map_region):
1525 * plugins/elements/gstfilesrc.h:
1526 Add "sequential" property, off by default, to use madvise and hint
1527 to the kernel that sequential access is desired.
1528 Touch all retrieved pages by default to ensure they are pulled
1529 into memory. (Closes #345720)
1531 2006-07-03 Wim Taymans <wim@fluendo.com>
1533 * docs/design/part-block.txt:
1534 * docs/design/part-dynamic.txt:
1537 2006-07-03 Wim Taymans <wim@fluendo.com>
1539 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1540 (gst_caps_unref), (gst_static_caps_get),
1541 (gst_caps_append_structure):
1542 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1543 Use GSlice when the glib we build against is >= 2.10
1545 2006-07-03 Wim Taymans <wim@fluendo.com>
1547 * gst/gstelement.c: (gst_element_pads_activate):
1548 Small cleanup in pad activation code.
1550 2006-07-03 Wim Taymans <wim@fluendo.com>
1552 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1554 * gst/gst-i18n-app.h:
1555 * gst/gst-i18n-lib.h:
1556 * tools/gst-inspect.c: (print_signal_info):
1557 The attached patch will make the inclusion of gettext.h unconditional in
1558 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1559 libintl.h in tools/gst-inspect.c.
1560 This allows use of --disable-nls again and fixes #344642.
1562 2006-07-03 Edward Hervey <edward@fluendo.com>
1564 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1565 Implement pad blocking on events according to part-block.txt.
1566 More comments on behaviour.
1567 * tests/check/gst/gstevent.c: (test_event):
1568 Send event to peer pad of blocked pad (else it will block).
1570 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1572 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1573 (gst_check_run_suite):
1574 if we get the wrong message, give us the types as string
1575 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1577 * tests/check/elements/filesrc.c: (GST_START_TEST):
1578 add a test for trying to open a non-existing file
1580 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1582 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1583 add a test for adding self
1585 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1587 * libs/gst/check/gstcheck.h:
1588 add some assert_ as alias for fail_unless_*
1589 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1590 increase test coverage
1592 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1595 include lcov.mak for lcov coverage generation
1596 * tools/Makefile.am:
1599 2006-07-02 Edward Hervey <edward@fluendo.com>
1601 * tests/check/elements/.cvsignore:
1604 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1607 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1608 * tests/check/Makefile.am:
1611 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1613 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1614 remove gst_caps_simplify; it was not declared and not used
1615 and deprecated in 0.8
1617 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1619 * docs/faq/gst-uninstalled:
1620 don't put empty paths on PYTHONPATH
1621 * docs/gst/gstreamer-sections.txt:
1622 remove some symbols that are not there
1624 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1626 * gst/gstcaps.c: (gst_caps_compare_structures):
1628 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1629 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1632 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1634 * libs/gst/dataprotocol/Makefile.am:
1635 build dataprotocol test by linking to the lib, instead of
1636 compiling the source, so we get coverage
1637 * tests/check/Makefile.am:
1638 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1639 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1640 add a test for filesrc
1642 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1644 * tests/check/gst/gststructure.c: (GST_START_TEST),
1645 (gst_structure_suite):
1646 Push coverage from 59.04% to 70.00%
1648 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1650 * tests/check/Makefile.am:
1651 gst-inspect every element; this makes sure that we also get
1652 coverage on element's get/set functions
1654 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1657 set CFLAGS and friends to -O0 if gcov is being used
1660 * libs/gst/base/Makefile.am:
1661 * libs/gst/check/Makefile.am:
1662 * libs/gst/controller/Makefile.am:
1663 * libs/gst/dataprotocol/Makefile.am:
1664 * libs/gst/net/Makefile.am:
1665 * plugins/elements/Makefile.am:
1666 * plugins/indexers/Makefile.am:
1667 add makefile rules to generate gcov data and clean up
1668 * tests/check/Makefile.am:
1669 add a coverage target that generates an html overview
1672 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1674 * tests/check/elements/fakesink.c:
1675 * tests/check/elements/fakesrc.c:
1676 * tests/check/elements/fdsrc.c:
1677 * tests/check/elements/identity.c:
1678 * tests/check/generic/sinks.c: (gst_sinks_suite):
1679 * tests/check/generic/states.c:
1680 * tests/check/gst/gst.c:
1681 * tests/check/gst/gstabi.c:
1682 * tests/check/gst/gstbin.c:
1683 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1684 * tests/check/gst/gstbus.c: (gst_bus_suite):
1685 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1686 * tests/check/gst/gstelement.c:
1687 * tests/check/gst/gstevent.c: (gst_event_suite):
1688 * tests/check/gst/gstghostpad.c:
1689 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1690 * tests/check/gst/gstmessage.c: (gst_message_suite):
1691 * tests/check/gst/gstminiobject.c:
1692 * tests/check/gst/gstobject.c:
1693 * tests/check/gst/gstpad.c:
1694 * tests/check/gst/gstpipeline.c:
1695 * tests/check/gst/gstplugin.c:
1696 * tests/check/gst/gstquery.c: (gst_query_suite):
1697 * tests/check/gst/gstsegment.c: (gst_segment_suite):
1698 * tests/check/gst/gststructure.c:
1699 * tests/check/gst/gstsystemclock.c:
1700 * tests/check/gst/gsttag.c:
1701 * tests/check/gst/gsttask.c: (gst_task_suite):
1702 * tests/check/gst/gstutils.c:
1703 * tests/check/gst/gstvalue.c:
1704 * tests/check/libs/adapter.c:
1705 * tests/check/libs/basesrc.c:
1706 * tests/check/libs/collectpads.c:
1707 * tests/check/libs/controller.c:
1708 * tests/check/libs/gdp.c: (gst_dp_suite):
1709 * tests/check/libs/gstnetclientclock.c:
1710 * tests/check/libs/gstnettimeprovider.c:
1711 * tests/check/libs/libsabi.c: (libsabi_suite):
1712 * tests/check/libs/typefindhelper.c:
1713 * tests/check/pipelines/cleanup.c:
1714 * tests/check/pipelines/parse-launch.c:
1715 * tests/check/pipelines/simple-launch-lines.c:
1716 * tests/check/pipelines/stress.c: (stress_suite):
1719 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1721 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1722 * libs/gst/check/gstcheck.h:
1723 create a macro and function so that the simple unit test
1724 case can be just one macro to create main()
1726 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
1728 * gst/gstbin.c: (gst_bin_restore_thyself):
1729 * gst/gstxml.c: (gst_xml_make_element):
1730 Fix deserialisation from XML. Set parent manually
1731 instead of using gst_bin_add(), since gst_bin_add()
1732 will unlink all pads of the element being added.
1735 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
1737 Patch by: Peter Kjellerstedt <pkj at axis com>
1739 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1740 Fix missing g_strdup() and double free when using the
1741 --gst-plugin-load command line option (#346097).
1743 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1746 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1748 * libs/gst/net/gstnetclientclock.c:
1749 * libs/gst/net/gstnettimeprovider.c:
1750 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1752 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1754 * docs/manual/advanced-dataaccess.xml:
1755 Fix buffer probe example compilation in
1758 2006-06-22 Edward Hervey <edward@fluendo.com>
1760 * gst/gstelement.c: (gst_element_pads_activate):
1761 We need to deactivate src pads first and then sink pads.
1762 The reason is the src pads might be blocking while holding the streaming
1763 lock, so we need to deactivate them first so that deactivating the sink
1764 pads doesn't block (since it will require the streaming lock).
1766 2006-06-22 Wim Taymans <wim@fluendo.com>
1768 * libs/gst/base/gstbasetransform.c:
1769 (gst_base_transform_buffer_alloc):
1770 Forgot to remove two unneeded unrefs.
1771 Simplify a check _is_equal allready checks the obvious case.
1773 2006-06-22 Wim Taymans <wim@fluendo.com>
1775 * docs/design/part-block.txt:
1776 Some docs about what pad_block should do.
1778 2006-06-22 Wim Taymans <wim@fluendo.com>
1780 * gst/gstcaps.c: (gst_caps_replace):
1781 Fix crasher when passed NULL. Doc clarification.
1782 Optimize for the trivial case.
1784 * gst/gstpipeline.c: (gst_pipeline_change_state):
1787 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1788 Small documentation cleanup.
1790 * libs/gst/base/gstbasetransform.c:
1791 (gst_base_transform_buffer_alloc):
1792 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1793 is what we need and it avoids a whole lot of redundant
1794 refcount operations.
1796 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
1798 Patch by: Philip Jägenstedt <philip at lysator liu se>
1800 * docs/manual/advanced-dataaccess.xml:
1801 Fix 'Embedding static elements' section to use
1802 GST_PLUGIN_DEFINE_STATIC (#345607).
1804 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1806 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1807 Attempt to 'fix' spuriously failing test case: it seems like the
1808 timeout of half a second is simply too small when the system is under
1809 load otherwise, and the timeout doesn't really seem to serve any
1810 particular purpose here. Give the pipeline a few seconds to preroll
1811 first, and then give it another half a second to go from PAUSED to
1812 PLAYING and marshal the message into the main thread.
1814 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1816 * tools/gst-feedback-m.m:
1817 Don't only use unversioned tools, try versioned tools as well
1820 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1822 * gst/gstbus.c: (gst_bus_class_init):
1823 Fix some typos, make docs more explicit.
1825 2006-06-20 Wim Taymans <wim@fluendo.com>
1827 * tests/check/gst/gstghostpad.c: (block_callback),
1828 (GST_START_TEST), (gst_ghost_pad_suite):
1829 Added some more ghostpad tests, mainly blocking
1832 2006-06-16 Wim Taymans <wim@fluendo.com>
1834 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1835 (gst_file_sink_close_file), (gst_file_sink_do_seek),
1836 (gst_file_sink_event), (gst_file_sink_render):
1837 * plugins/elements/gstfilesink.h:
1838 Check if we can seek in the file instead of assuming
1839 we always can. Post an error when we are asked to seek in a
1840 non-seekable file (like a fifo). Fixes #343312.
1843 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1845 * tools/gst-launch.1.in:
1846 Un-garble (fourcc) bit in filtered caps section.
1848 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1850 * docs/manual/advanced-autoplugging.xml:
1851 * docs/manual/basics-helloworld.xml:
1852 * docs/manual/highlevel-components.xml:
1853 Don't leak bus reference in sample code.
1855 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
1858 Add default for new --enable-plugin-docs switch.
1861 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1865 Use new ENABLE_PLUGIN_DOCS conditional.
1867 2006-06-14 Wim Taymans <wim@fluendo.com>
1869 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1870 Make it clear with a FIXME and a real define what the #if 0
1871 previously disabled.
1873 2006-06-14 Wim Taymans <wim@fluendo.com>
1875 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1876 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1877 * libs/gst/base/gstbasetransform.c:
1878 (gst_base_transform_sink_eventfunc):
1879 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1880 Don't randomly and silently reset a segment when the format
1881 changes as this is a bug somewhere upstream. Fixes #330379.
1883 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
1885 Patch by: Wouter Paesen <wouter at kangaroot net>
1887 * libs/gst/controller/gstcontroller.c:
1888 (gst_controlled_property_new):
1889 Fix controlling of float properties (#344849).
1891 * tests/check/libs/controller.c:
1892 (gst_test_mono_source_get_property),
1893 (gst_test_mono_source_set_property),
1894 (gst_test_mono_source_class_init), (GST_START_TEST):
1895 While we're at it, add some float stuff to unit test.
1897 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1900 * docs/images/gdp-header.svg:
1902 * docs/libs/Makefile.am:
1903 * docs/libs/gdp-header.png:
1904 * libs/gst/dataprotocol/dataprotocol.c:
1905 add it to the API docs
1906 * docs/manual/intro-motivation.xml:
1909 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1911 * gst/gst.c: (scan_and_update_registry), (init_post):
1912 If the fork()'ed child process can't write the updated registry cache
1913 file to disk for some reason, make it exit with a failure exit code,
1914 so that the parent can then re-scan the plugins itself and update the
1915 registry structures in memory and work with that (rather than failing
1916 when creating elements because seemingly no plugins are available).
1917 Refactor registry scanning code into separate function for this and
1918 also separate fork() and non-fork() code paths. Fixes #344748.
1920 2006-06-13 Wim Taymans <wim@fluendo.com>
1922 * docs/manual/advanced-dataaccess.xml:
1923 Fix wrong PluginDesc. Fixes #344755.
1925 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1927 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
1928 Fix silly bug that prevented us from creating
1929 ~/.gstreamer-0.10 and writing the registry in one
1930 go (the first call to g_mkstemp() would overwrite the
1931 placeholder in the template string, so the second call
1932 to g_mkstemp() after creating the missing directory
1933 would then error out with 'invalid argument').
1935 2006-06-13 Edward Hervey <edward@fluendo.com>
1937 * gst/gst.c: (init_post):
1940 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1942 * gst/glib-compat-private.h:
1943 * gst/glib-compat.c:
1944 * gst/glib-compat.h:
1945 * gst/gstvalue.c: (gst_value_serialize_flags):
1946 remove GLib 2.6 compatibility code
1948 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
1950 * gst/parse/Makefile.am:
1951 Fix build with 'make -j N' even more (#340016).
1953 2006-06-12 Wim Taymans <wim@fluendo.com>
1955 * docs/gst/gstreamer-sections.txt:
1958 2006-06-12 Wim Taymans <wim@fluendo.com>
1960 * gst/gstsegment.c: (gst_segment_set_duration),
1961 (gst_segment_set_last_stop), (gst_segment_set_seek),
1962 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
1963 (gst_segment_to_running_time), (gst_segment_clip):
1964 Use G_UNLIKELY to help the compiler a bit.
1966 2006-06-12 Wim Taymans <wim@fluendo.com>
1968 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1970 * gst/gstevent.c: (gst_event_get_type):
1972 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1974 constify quark registration strings. Fixes #344115
1975 Avoid unneeded type checking is _pad_push() by internally
1976 calling gst_pad_chain_unchecked().
1978 2006-06-12 Wim Taymans <wim@fluendo.com>
1980 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
1981 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
1982 (gst_subbuffer_finalize), (gst_buffer_create_sub),
1983 (gst_buffer_is_span_fast), (gst_buffer_span):
1984 Init _type for consistency.
1985 Use _FLAGS macro to avoid type check.
1986 Avoid unneeded type checks in subbufer code.
1988 2006-06-12 Wim Taymans <wim@fluendo.com>
1990 * gst/gst.c: (gst_debug_help):
1991 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
1992 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1993 (gst_plugin_feature_list_free):
1994 * gst/gstregistry.c: (gst_registry_add_plugin),
1995 (gst_registry_add_feature), (gst_registry_plugin_filter),
1996 (gst_registry_feature_filter), (gst_registry_find_plugin),
1997 (gst_registry_find_feature), (gst_registry_get_plugin_list),
1998 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
1999 * gst/gstregistryxml.c: (load_feature),
2000 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2001 * gst/gstminiobject.c: (gst_mini_object_unref),
2002 (gst_mini_object_replace), (gst_value_mini_object_free),
2003 (gst_value_mini_object_copy):
2004 Use _CAST macros to avoid unneeded type checking.
2005 Added some more G_UNLIKELY.
2007 2006-06-12 Wim Taymans <wim@fluendo.com>
2010 Avoid unneeded type checking.
2011 API: GST_BUFFER_IS_DISCONT
2013 * gst/gstminiobject.h:
2014 Avoid type check in flag accessor.
2016 * gst/gstelementfactory.h:
2018 * gst/gstpluginfeature.h:
2020 API: GST_ELEMENT_FACTORY_CAST
2021 API: GST_PLUGIN_CAST
2022 API: GST_PLUGIN_FEATURE_CAST
2024 2006-06-12 Wim Taymans <wim@fluendo.com>
2026 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2028 Add G_UNLIKELY in type registration.
2029 Avoid type check in _ref/_unref since that is also
2032 2006-06-12 Wim Taymans <wim@fluendo.com>
2034 * gst/gsterror.c: (gst_g_error_get_type):
2035 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2036 (gst_static_pad_template_get_type):
2037 * gst/gsttaglist.c: (gst_tag_list_get_type):
2038 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2039 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2040 * gst/gsturi.c: (gst_uri_handler_get_type):
2041 * gst/gstvalue.c: (gst_date_get_type):
2042 * gst/gstxml.c: (gst_xml_get_type):
2043 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2044 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2045 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2046 Add G_UNLIKELY in type registration.
2048 2006-06-12 Wim Taymans <wim@fluendo.com>
2050 * tools/gst-inspect.c: (print_signal_info):
2051 Properly print enum values.
2053 2006-06-12 Wim Taymans <wim@fluendo.com>
2055 * gst/gstinfo.c: (gst_debug_set_active),
2056 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2058 Add some G_[UN]LIKELY.
2059 Maintain __gst_debug_min to avoid formatting the arguments of
2060 debug messages that will be dropped anyway to avoid a lot of
2061 overhead from the debugging system.
2063 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2067 add missing files containing translatable strings, tell intltool about
2070 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2072 * tests/check/libs/.cvsignore:
2073 add test-binary to ignore list
2075 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2077 * docs/libs/gstreamer-libs-docs.sgml:
2078 reorder (put dp into a chapter) and indent
2080 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2085 === release 0.10.8 ===
2087 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2090 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2092 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2094 * gst/gst.c: (init_post):
2095 move pid declaration to declaration block
2097 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2099 * gst/gst.c: (init_post):
2100 use _exit() instead of exit() in our forked child; this ensures
2101 that none of the registered exit handlers from whatever is using
2102 GStreamer get executed. This fixes gnome-mixer-applet failing
2103 to load, because ORBit would shut down.
2104 Spotted by: Edward Hervey <edward@fluendo.com>
2105 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2108 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2113 === release 0.10.7 ===
2115 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2118 releasing 0.10.7, "Soepeke, ik zie ou"
2120 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2143 * win32/common/config.h:
2146 2006-06-07 Wim Taymans <wim@fluendo.com>
2148 * gst/gstindex.c: (gst_index_gtype_resolver):
2149 * tools/gst-xmlinspect.c: (print_plugin_info):
2150 Fix leak spotted by coverity checker. Fixes #343827
2151 Fix another other leak found by paolo borelli.
2153 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2155 * libs/gst/dataprotocol/dataprotocol.c:
2156 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2157 (gst_dp_version_get_type), (gst_dp_init),
2158 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2159 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2160 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2161 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2162 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2163 (gst_dp_packetizer_free):
2164 * libs/gst/dataprotocol/dataprotocol.h:
2165 API: add a GstDPPacketizer object, and create/free functions
2166 API: add GstDPVersion enum
2167 Add 1.0 event function that uses the string serialization
2168 Serialize more useful buffer flags
2171 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2173 * tests/check/Makefile.am:
2174 * tests/check/gst/gstabi.c:
2175 * tests/check/gst/struct_ppc64.h:
2176 * tests/check/libs/libsabi.c:
2177 * tests/check/libs/struct_ppc64.h:
2178 add ppc64 structure sizes
2180 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2182 * tests/check/Makefile.am:
2183 * tests/check/gst/gstabi.c:
2184 * tests/check/gst/struct_x86_64.h:
2185 * tests/check/libs/libsabi.c:
2186 * tests/check/libs/struct_x86_64.h:
2187 generate and add structure size lists for x86_64
2189 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2191 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2192 * libs/gst/check/gstcheck.h:
2193 factor out the method from tests that checks size of structures,
2194 and add code to generate the header containing these sizes
2195 * tests/check/gst/gstabi.c: (GST_START_TEST):
2196 * tests/check/gst/struct_i386.h:
2197 * tests/check/libs/libsabi.c: (GST_START_TEST):
2198 * tests/check/libs/struct_i386.h:
2201 2006-06-06 Michael Smith <msmith@fluendo.com>
2204 Don't use c++-style comments, fixes #343929
2206 2006-06-05 Edward Hervey <edward@fluendo.com>
2209 plugin_paths is not used if we build without registry support.
2211 * gst/gstsegment.c: (gst_segment_copy):
2212 _copy() was always returning NULL...
2214 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2216 * libs/gst/dataprotocol/dataprotocol.c:
2217 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2218 (gst_dp_packet_from_event):
2221 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2223 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2224 make sure we unset caps
2226 2006-06-02 Michael Smith <msmith@fluendo.com>
2228 * libs/gst/check/gstcheck.c: (gst_check_init),
2229 (gst_check_chain_func):
2230 * libs/gst/check/gstcheck.h:
2231 Add a cond/mutex to the check support lib, signal this whenever we
2232 add to the buffers list. This will allow tests to not busy-wait on
2235 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2237 * libs/gst/dataprotocol/dataprotocol.c:
2238 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2239 (gst_dp_packet_from_event):
2240 factor out some common header init code
2242 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2244 * docs/libs/gstreamer-libs-sections.txt:
2245 * docs/libs/tmpl/gstdataprotocol.sgml:
2246 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2247 * libs/gst/dataprotocol/dataprotocol.h:
2248 API: make gst_dp_crc() public
2250 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2252 * plugins/indexers/gstindexers.c: (plugin_init):
2253 conditionally register fileindexer (fixes #343598)
2255 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2257 * gst/gsttagsetter.h:
2258 Can't cast ifaces to a class
2260 * libs/gst/net/gstnetclientclock.h:
2261 * libs/gst/net/gstnettimeprovider.h:
2262 * plugins/elements/gstfakesink.h:
2263 * plugins/elements/gstfakesrc.h:
2264 * plugins/elements/gstfdsink.h:
2265 * plugins/elements/gstfdsrc.h:
2266 * plugins/elements/gstfilesink.h:
2267 * plugins/elements/gstfilesrc.h:
2268 * plugins/elements/gstidentity.h:
2269 * plugins/elements/gstqueue.h:
2270 * plugins/elements/gsttee.h:
2271 * plugins/indexers/gstfileindex.c:
2272 * plugins/indexers/gstmemindex.c:
2273 * tests/old/examples/plugins/example.h:
2274 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2276 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2278 * libs/gst/dataprotocol/dataprotocol.c:
2279 (gst_dp_header_from_buffer):
2280 make sure we zero the whole ABI-compatible area
2282 2006-06-01 Wim Taymans <wim@fluendo.com>
2284 Patch by: Alessandro Decina <alessandro at nnva dot org>
2286 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2287 Make sure the EOS flag is cleared from pads after a flush
2288 or stop. Fixes #343538.
2290 * tests/check/libs/collectpads.c: (GST_START_TEST),
2291 (gst_collect_pads_suite):
2292 Added test for collectpads reusage after EOS.
2294 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2297 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2298 * win32/common/libgstbase.def:
2299 export gst_collect_pads_set_flushing
2300 * win32/common/libgstreamer.def:
2301 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2302 gst_value_fraction_multiply
2303 * win32/vs6/gst_inspect.dsp:
2304 add a link to intl.lib
2306 2006-05-30 Wim Taymans <wim@fluendo.com>
2308 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2309 (gst_collect_pads_chain):
2310 Handle the case where a pad is removed from the collection
2311 that could cause the other pads to become collectable.
2313 2006-05-30 Wim Taymans <wim@fluendo.com>
2316 Clarify the use of _release_request_pad() and
2317 _get_request_pad() a bit better.
2319 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2320 (gst_adapter_take_buffer):
2321 Fix some doc and comment typos.
2323 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2325 * docs/gst/gstreamer-sections.txt:
2326 * docs/libs/gstreamer-libs-sections.txt:
2327 add declared symbols
2329 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2331 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2332 Add debug that can be enabled using a #define at the top of the file,
2333 for dumping stats about how late/early we were when waking up from
2334 waiting on the clock.
2336 2006-05-30 Wim Taymans <wim@fluendo.com>
2338 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2339 When rebuilding the pad list, don't leak the previous list.
2341 2006-05-30 Wim Taymans <wim@fluendo.com>
2343 Patch by: Lutz Mueller <lutz at topfrose dot de>
2345 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2346 (gst_base_src_get_query_types), (gst_base_src_update_length):
2347 Publish supported query types.
2348 Update last_stop field in get_range mode so the position
2349 query works. Fixes #342321.
2351 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2353 * docs/gst/gstreamer-sections.txt:
2354 * gst/gsttaglist.c: (_gst_tag_initialize):
2356 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2358 2006-05-30 Wim Taymans <wim@fluendo.com>
2360 Patch by: Alessandro Decina <alessandro at nnva dot org>
2362 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2363 Unlock mutex when removing an unknown pad.
2366 * tests/check/Makefile.am:
2367 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2368 (push_event), (setup), (teardown), (GST_START_TEST),
2369 (gst_collect_pads_suite), (main):
2370 Added collecpads check, disabled for now as check crashes for
2373 2006-05-29 Wim Taymans <wim@fluendo.com>
2375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2376 Don't leak pads lists.
2378 2006-05-29 Wim Taymans <wim@fluendo.com>
2380 * docs/libs/gstreamer-libs-sections.txt:
2381 * libs/gst/base/gstcollectpads.c:
2382 (gst_collect_pads_set_flushing_unlocked),
2383 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2384 (gst_collect_pads_stop):
2385 * libs/gst/base/gstcollectpads.h:
2386 API: gst_collect_pads_set_flushing()
2387 Added api to set the pads to flushing, useful for seeking
2388 code in elements using collectpads.
2389 Clear segment when receiving a flush.
2391 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2393 * gst/gst.c: (add_path_func), (init_post):
2394 Don't scan registry paths passed via --gst-plugin-path immediately
2395 (will crash, because absolutely nothing is set up and no types are
2396 registered etc.); do this later in init_post(). Fixes #343057.
2398 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2400 * gst/gst.c: (init_post):
2401 if we have fork, fork while reading/rebuilding the registry
2402 so the parent doesn't take the hit of having all plugins loaded
2403 in memory. Fixes #342777.
2405 Check if we have fork()
2406 * win32/common/config.h.in:
2409 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2411 * plugins/elements/gstelements.c:
2412 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2413 (gst_file_src_init), (gst_file_src_set_property),
2414 (gst_file_src_get_property), (gst_file_src_start):
2415 * plugins/elements/gstfilesrc.h:
2416 API: GstFileSrc::use-mmap
2418 Add a use-mmap property to enable easier testing of all code paths.
2419 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2420 in the absence of gnomevfssrc. (Closes #340501)
2422 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2424 * tools/gst-inspect.c:
2425 Add missing include, removes warning of ngettext not being defined on
2428 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2430 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2431 Handle NULL input and output pointers silently as a failed conversion,
2432 rather than g_warnings.
2434 2006-05-25 Wim Taymans <wim@fluendo.com>
2436 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2437 Initialize variable before using. Fixes #342820.
2439 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2441 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2442 Fix off-by-one bug that would only allow peeks of N-1 bytes
2443 from the start even if the buffer to typefind on contains
2444 in fact N bytes of data (makes vorbis typefinding from a
2445 vorbis identification header buffer work).
2447 * tests/check/Makefile.am:
2448 * tests/check/libs/.cvsignore:
2449 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2450 (gst_typefindhelper_suite), (main), (foobar_typefind),
2452 Add very basic unit test for gst_type_find_helper_for_buffer()
2453 that checks for the problem fixed above.
2455 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2457 * tools/gst-inspect.c: (print_interfaces),
2458 (print_element_properties_info), (print_element_list), (main):
2459 add more translatable strings
2461 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2463 Patch by: Julien Moutte <julien at moutte net>
2465 * docs/gst/gstreamer-sections.txt:
2466 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2468 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2469 (gst_fake_sink_preroll):
2470 * plugins/elements/gstfakesink.h:
2471 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2473 2006-05-23 Wim Taymans <wim@fluendo.com>
2475 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2477 Added _CUSTOM error and success GstFlowReturn that can be
2478 used be elements internally.
2479 Added macro to check for SUCCESS flowreturns.
2480 API: GST_FLOW_CUSTOM_SUCCESS
2481 API: GST_FLOW_CUSTOM_ERROR
2482 API: GST_FLOW_IS_SUCCESS
2484 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2485 Added check for GstFlowReturn sanity.
2487 2006-05-23 Wim Taymans <wim@fluendo.com>
2489 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2491 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2492 (gst_collect_pads_event):
2493 clear/reset segment info in FLUSH_STOP.
2496 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2498 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2499 (gst_collect_pads_check_collected):
2500 Flush queued buffer on _stop(), fixes playing again (#342454)
2502 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2504 * tests/check/gst/gststructure.c: (GST_START_TEST),
2505 (gst_structure_suite):
2506 add a test for a complete structure
2508 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2510 * docs/faq/developing.xml:
2512 * docs/faq/troubleshooting.xml:
2513 * docs/faq/using.xml:
2514 Some minor FAQ updates that won't change the fact that
2515 our FAQ is badly structured, full of information hardly
2516 anyone new to GStreamer needs to know and lacking lots
2517 of information people constantly ask for.
2519 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2521 * gst/gstpad.c: (gst_pad_set_caps):
2522 Short-circuit gst_pad_set_caps if setting the existing
2523 caps pointer again, and avoid printing debug and
2524 reffing/unreffing the caps.
2526 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2527 There's actually no need to set the caps before pushing -
2528 the acceptcaps method will handle it anyway.
2530 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2532 * docs/gst/gstreamer-sections.txt:
2533 * win32/common/libgstreamer.def:
2534 * gst/gstutils.c: (gst_element_seek_simple):
2536 API: add gst_element_seek_simple() (#342238).
2538 2006-05-18 Edward Hervey <edward@fluendo.com>
2540 * gst/gsttypefind.c: (gst_type_find_get_type):
2541 * gst/gsttypefind.h:
2542 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2543 registered for GstTypeFind pointers. This allows wrapping the structure
2544 in bindings (i.e. gst-python).
2546 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2548 * gst/gsttagsetter.c:
2549 Docs additions and fixes (see #339918).
2551 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2553 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2554 The caps intersection algorithm can produce multiple copies of the
2555 caps. Until that is fixed, we need to simplify the result to be
2556 sure whether the allowed caps are fixed or not.
2558 * plugins/elements/gstqueue.c: (gst_queue_init),
2559 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2560 (gst_queue_push_one):
2561 Proxied buffer alloc should not set the caps on the source pad.
2562 When pushing buffers, we always accept the caps change that triggers.
2563 This prevents negotiation errors caused by caps changing mid-stream
2564 and then being refused on our source pad (because upstream is now
2565 refusing those caps).
2567 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2569 * tests/examples/helloworld/helloworld.c: (main):
2570 Must plug audioconvert and audioresample between decoder
2573 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2575 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2576 (load_feature), (load_plugin):
2577 Allow empty strings for some of the plugin fields so we don't
2578 drop valid plugin entries that were written out correctly
2581 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2583 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2584 Use g_remove and g_rename instead of remove and rename that don't
2585 handle utf8 characters. rename was failing for users who had specific
2586 characters in their name then the registry was built at each
2588 * win32/vs6/gst_inspect.dsp:
2589 * win32/vs6/gst_launch.dsp:
2590 * win32/vs6/libgstbase.dsp:
2591 * win32/vs6/libgstcoreelements.dsp:
2592 * win32/vs6/libgstreamer.dsp:
2593 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2594 build of libgstreamer and clean unused libraries in projects link
2597 2006-05-17 Edward Hervey <edward@fluendo.com>
2599 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2600 The queue is not responsible for pushing an EOS when receiving a fatal
2601 flow error. It's up to the real element driving the pipeline to do that.
2603 2006-05-16 Edward Hervey <edward@fluendo.com>
2605 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2606 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2607 buffer returned a fatal error. It should just send an EOS and stop
2609 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2610 when pushing buffers on the queue and will be able to handle the event.
2612 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2614 * docs/manual/basics-bins.xml:
2615 * docs/manual/basics-init.xml:
2616 Fix typos and minor errors in sample code (#341856).
2618 2006-05-16 Wim Taymans <wim@fluendo.com>
2620 * docs/design/part-qos.txt:
2621 Fix indexes in formulas to make more sense.
2623 2006-05-15 Wim Taymans <wim@fluendo.com>
2625 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2626 Don't report POSITION based on clock time if sync is
2629 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2632 Add cast to make compiler happy - refcount variable was a gint
2633 in GstObject but is a guint in GObject and g_atomic_int_get()
2636 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2638 * gst/parse/Makefile.am:
2639 chain commands using &&, which also makes parallel make work
2641 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2643 * docs/gst/gstreamer-sections.txt:
2649 === release 0.10.6 ===
2651 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2654 releasing 0.10.6, "Take the cannoli"
2656 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2658 * tools/gst-launch.c: (print_tag):
2659 Fix use of uninitialized variable in the hypothetical
2660 case that some broken plugin creates a GST_TAG_IMAGE
2661 tag containing a NULL buffer (#341667).
2663 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2665 * tools/gst-launch.c: (print_tag):
2666 Print something more intelligible for image tags when
2667 using the -t switch (#341556).
2669 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2674 define GST_MAJORMINOR so we have it available in win32/common/config.h
2675 Possibly remove it from our Makefile.am files later
2676 * win32/common/config.h:
2677 * win32/common/config.h.in:
2678 added GST_MAJORMINOR
2679 * win32/common/gstenumtypes.c: (register_gst_resource_error):
2680 * win32/common/gstversion.h:
2683 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
2686 Update win32 files listing.
2687 * win32/common/gstversion.h:
2688 Add GST_MAJORMINOR definition.
2689 * win32/common/libgstreamer.def:
2690 Add new exported functions.
2692 2006-05-12 Michael Smith <msmith@fluendo.com>
2694 * gst/gstplugin.c: (gst_plugin_load_file):
2695 If an so file has no plugin entry point, unload the module.
2697 2006-05-11 Wim Taymans <wim@fluendo.com>
2699 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2700 (gst_queue_set_property):
2701 Don't forget to signal the _chain or _loop function
2702 when the queue size or thresholds change since that might
2703 cause them to make progres again.
2705 2006-05-11 Stefan Kost <ensonic@users.sf.net>
2707 * gst/gstclock.c: (gst_clock_class_init):
2708 * gst/gstindex.c: (gst_index_class_init):
2709 * gst/gstobject.c: (gst_object_class_init):
2710 * gst/gstpad.c: (gst_pad_class_init):
2711 * gst/gstpipeline.c: (gst_pipeline_class_init):
2712 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2713 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2714 * libs/gst/base/gstbasetransform.c:
2715 (gst_base_transform_class_init):
2716 * libs/gst/net/gstnetclientclock.c:
2717 (gst_net_client_clock_class_init):
2718 * libs/gst/net/gstnettimeprovider.c:
2719 (gst_net_time_provider_class_init):
2720 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2721 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2722 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2723 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2724 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2725 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2726 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2727 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2728 * plugins/elements/gsttee.c: (gst_tee_class_init):
2729 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2730 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2731 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2733 2006-05-11 Wim Taymans <wim@fluendo.com>
2735 * gst/gstbuffer.c: (_gst_buffer_initialize):
2736 Register subbufer along with the buffer type so that
2737 it does not accidentally gets registered from N
2738 different streaming threads in a non threadsafe way.
2740 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2745 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2746 gst_event_ref() and gst_message_ref() functions again
2747 (ugly hack, please do fix if there's a better way besides
2748 overrides.txt, which doesn't seem to work).
2750 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2752 * libs/gst/check/gstcheck.h:
2753 add an assert for setting state to avoid lots of repetitive code
2756 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2758 * gst/gstvalue.c: (gst_value_serialize_flags):
2759 fix a leak if no flags are set
2760 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2763 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2765 * docs/manual/basics-pads.xml:
2766 Expand a bit on caps and filtered links and update
2767 examples that were still using the no longer existing
2768 gst_pad_link_filtered() (#338206).
2770 2006-05-10 Wim Taymans <wim@fluendo.com>
2772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2773 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2774 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2775 (gst_collect_pads_stop):
2776 * libs/gst/base/gstcollectpads.h:
2777 No need to call _stop in _finalize.
2778 Iterate the main pad list in _finalize.
2779 Added some more debug.
2780 Free lists and data in the right order.
2781 Also free data whem doing _remove_pad when stopped for
2782 backward compatibility protect ::started with PAD_LOCK as
2785 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2787 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2788 (gst_structure_parse_value):
2790 rename a method so that it actually says what it does better
2792 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2794 * gst/gstevent.c: (_gst_event_initialize):
2795 * gst/gstformat.c: (_gst_format_initialize):
2796 make sure some essential types used by events are registered
2797 as part of gst_init()
2798 * gst/gstvalue.c: (gst_value_serialize_flags):
2799 if no flags are set, serialize them to a value that represents NONE
2800 so that deserializing them works
2801 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2802 add tests for serialization and deserialization of flags
2804 2006-05-10 Wim Taymans <wim@fluendo.com>
2806 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2807 (gst_collect_pads_collect_range), (gst_collect_pads_available),
2808 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2809 (gst_collect_pads_event), (gst_collect_pads_chain):
2812 Catch and return errors from the collect function
2813 Refuse data on eos pads.
2815 2006-05-10 Edward Hervey <edward@fluendo.com>
2817 * gst/gstinterface.h:
2818 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2819 GInterface type checking.
2820 They were previously using non-defined macros.
2822 2006-05-09 Wim Taymans <wim@fluendo.com>
2824 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2825 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2826 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2827 (gst_collect_pads_start), (gst_collect_pads_stop),
2828 (gst_collect_pads_peek), (gst_collect_pads_pop),
2829 (gst_collect_pads_available), (gst_collect_pads_read),
2830 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2831 (gst_collect_pads_is_collected), (gst_collect_pads_event),
2832 (gst_collect_pads_chain):
2833 * libs/gst/base/gstcollectpads.h:
2834 Clean up the mess that is collectpads, add comments and
2835 FIXMEs where needed.
2836 Maintain a separate pad list so we can add pads while
2837 collecting the other ones. For this we need a new separate
2839 Fix memory leak in finalize.
2840 Refactor some weird code to set/unset pad flushing flags, mark
2842 Don't crash in _available, _read, _flush when we're EOS.
2844 * tests/check/libs/.cvsignore:
2845 Ignore adapter check binary.
2847 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2849 * gst/gstindex.c: (gst_index_resolver_get_type):
2850 * plugins/elements/gstfakesink.c:
2851 (gst_fake_sink_state_error_get_type):
2852 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2853 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2854 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2855 Const-ify GEnumValue arrays.
2857 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2859 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2860 Add test case for flags + gst_buffer_make_metadata_writable().
2862 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2864 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2865 gst_buffer_make_metadata_writable() should maintain the
2866 buffer flags (those that make sense at least) (see #340859).
2868 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2870 * tools/gst-inspect.c:
2871 * tools/gst-launch.c:
2872 * tools/gst-typefind.c:
2873 * tools/gst-xmlinspect.c:
2875 Fix up includes: need to include stdlib.h in tools.h for exit().
2877 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2879 * gst/gsttaglist.c: (_gst_tag_initialize):
2881 API: add GST_TAG_IMAGE tag (#340721).
2883 2006-05-08 Wim Taymans <wim@fluendo.com>
2886 Added some docs for the segment query.
2888 2006-05-08 Wim Taymans <wim@fluendo.com>
2890 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2891 (gst_base_src_loop), (gst_base_src_change_state):
2892 Always push non-flushing serialized events in the streaming
2895 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
2897 * gst/gsterror.c: (_gst_stream_errors_init):
2898 Add a missing error string.
2900 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
2902 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2903 Add applied_rate to the debug
2905 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2906 Copy applied_rate into the outgoing NEWSEGMENT event
2908 2006-05-08 Wim Taymans <wim@fluendo.com>
2910 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2912 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2913 (gst_base_sink_change_state):
2914 call ::unlock before taking the PREROLL_LOCK so we can safely
2915 handle elements that lock in ::render.
2918 2006-05-08 Edward Hervey <edward@fluendo.com>
2920 * autogen.sh: (CONFIGURE_DEF_OPT):
2921 Darwin's libtoolize is in fact called glibtoolize.
2922 Adding glibtoolize to the list of accepted names for libtoolize.
2924 2006-05-08 Wim Taymans <wim@fluendo.com>
2926 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2927 Unify error handling, don't post an error message
2928 when a push() returns EOS but perform our normal EOS
2929 handling code. Fixes #340772.
2931 2006-05-08 Wim Taymans <wim@fluendo.com>
2933 * docs/design/part-overview.txt:
2934 Make upsteam/downstream concepts more clear.
2935 Give an example of serialized/non-serialized events.
2937 * docs/design/part-events.txt:
2938 * docs/design/part-streams.txt:
2939 Mention applied_rate.
2941 * docs/design/part-trickmodes.txt:
2942 Mention applied rate, flesh out some more use cases.
2944 * gst/gstevent.c: (gst_event_new_new_segment),
2945 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
2946 (gst_event_parse_new_segment_full), (gst_event_new_tag),
2947 (gst_event_parse_tag), (gst_event_new_buffer_size),
2948 (gst_event_parse_buffer_size), (gst_event_new_qos),
2949 (gst_event_parse_qos), (gst_event_parse_seek),
2950 (gst_event_new_navigation):
2952 Add applied_rate field to NEWSEGMENT event.
2953 API: gst_event_new_new_segment_full()
2954 API: gst_event_parse_new_segment_full()
2956 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
2957 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
2958 (gst_segment_to_stream_time), (gst_segment_to_running_time):
2960 Add applied_rate to GstSegment structure.
2961 Make calculation of stream_time and running_time more correct
2962 wrt rate/applied_rate.
2964 API: GstSegment::applied_rate field
2965 API: gst_segment_set_newsegment_full();
2967 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2968 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
2969 * libs/gst/base/gstbasetransform.c:
2970 (gst_base_transform_sink_eventfunc),
2971 (gst_base_transform_handle_buffer):
2972 Parse and use applied_rate in the GstSegment field.
2974 * tests/check/gst/gstevent.c: (GST_START_TEST):
2975 Add check for applied_rate field.
2977 * tests/check/gst/gstsegment.c: (GST_START_TEST),
2978 (gstsegments_suite):
2979 Add more checks for various GstSegment operations.
2981 2006-05-08 Wim Taymans <wim@fluendo.com>
2983 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
2984 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
2985 (gst_base_sink_get_position), (gst_base_sink_change_state):
2986 Store the sync time of the buffer end position separatly in a
2987 new variable eos_rtime so we can properly sync the EOS event.
2989 Fix the docs for gst_base_sink_set_qos_enabled().
2990 Don't set segment start to invalid value when we receive a
2991 non TIME newsegment.
2992 get closer to handling position reporting for negative rates
2995 2006-05-07 Stefan Kost <ensonic@users.sf.net>
2998 Docs about how to print caps for debug purposes.
3000 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3001 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3003 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3006 use full enum names and preprend a '%' in docs strings to make recent
3007 gtk-doc turn that into a link
3009 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3011 * docs/manual/basics-bins.xml:
3012 * docs/manual/basics-bus.xml:
3013 * docs/manual/basics-pads.xml:
3014 Some typo fixes, some additions, some clarifications.
3016 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3018 * tools/gst-inspect.c: (main):
3019 * tools/gst-launch.c: (main):
3020 * tools/gst-run.c: (main):
3021 * tools/gst-typefind.c: (main):
3022 * tools/gst-xmlinspect.c: (main):
3023 Use the string passed to g_option_context_new() for
3024 what it's intended for - the program name is already
3027 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3029 * tools/Makefile.am:
3030 * tools/gst-inspect.c: (main):
3031 * tools/gst-launch.c: (main):
3032 * tools/gst-xmlinspect.c: (main):
3034 Add back --version command line option (#340460).
3036 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3037 Add --version option and use GOption for argument parsing; refactor a
3038 bit; accept directories as arguments and recurse into them; lastly,
3039 print a decent error message when things go wrong.
3041 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3043 * docs/manual/basics-bins.xml:
3044 Don't mention GstThread (#340611)
3045 * docs/manual/basics-elements.xml:
3046 Update link to GObject tutorial (#340607)
3048 2006-05-05 Wim Taymans <wim@fluendo.com>
3051 * gst/gstminiobject.c:
3052 Add note about refcounting and miniobject/buffer writeability
3053 to docs. Fixes #340604
3055 * gst/gstelementfactory.h:
3056 Added some explanation about @klass.
3058 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3060 * docs/manual/intro-motivation.xml:
3061 * docs/manual/manual.xml:
3062 Avoid CORBA & Bonobo references (#340598)
3064 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3066 * docs/manual/basics-bus.xml:
3067 * docs/manual/basics-pads.xml:
3068 Fix up some inaccuracies and omissions (#340609)
3070 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3072 * gst/gstghostpad.c:
3073 Small typo in docs (#340625)
3075 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3077 * gst/parse/Makefile.am:
3078 Make 'make -j' proof (see #340698).
3080 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3083 Require GLib-2.8 here as well.
3085 2006-05-05 Wim Taymans <wim@fluendo.com>
3087 * gst/glib-compat.c:
3088 * gst/gst.c: (init_pre):
3089 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3090 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3091 (gst_object_dispatch_properties_changed):
3093 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3094 * gst/gststructure.c: (gst_structure_set_valist):
3095 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3096 Remove pre glib2.8 compatibility, fixes #340508
3098 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3101 Mention type of tags in doc blurbs.
3103 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3105 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3106 (gst_pad_configure_src), (gst_pad_push):
3107 Restore acceptcaps checking behaviour now that good plugins have
3110 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3112 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3123 * gst/parse/Makefile.am:
3124 * libs/gst/base/gstadapter.c:
3125 * libs/gst/base/gstbasesrc.c:
3126 * libs/gst/base/gstpushsrc.c:
3127 * libs/gst/base/gsttypefindhelper.c:
3128 * plugins/elements/gstfakesrc.c:
3129 * plugins/elements/gstidentity.c:
3130 Make sure gstprivate.h and/or config.h are
3131 always included first, otherwise some of our
3132 defines (like _FILE_OFFSET_BITS) might be
3133 redefined in the system headers. Fixes build
3134 on opensolaris (#340016).
3136 2006-05-04 Wim Taymans <wim@fluendo.com>
3138 * docs/libs/gstreamer-libs-sections.txt:
3139 API: addition: gst_adapter_take_buffer()
3141 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3142 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3143 (gst_adapter_available_fast):
3144 * libs/gst/base/gstadapter.h:
3145 Prepare for optimizing the hell out of this hugely inefficient
3147 Added gst_adapter_take_buffer() so we can at least start thinking
3148 about subbuffering and merging.
3149 Added some comments.
3151 * tests/check/Makefile.am:
3152 * tests/check/libs/adapter.c: (GST_START_TEST),
3153 (gst_adapter_suite), (main):
3154 Added GstAdapter check.
3156 2006-05-04 Wim Taymans <wim@fluendo.com>
3158 * docs/design/part-overview.txt:
3159 Fix some typos, add blurb about buffer flags.
3161 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3163 * docs/libs/gstreamer-libs-sections.txt:
3164 make sure GstBaseTransformClass shows up in the docs
3165 * libs/gst/base/gstbasetransform.c:
3166 * libs/gst/base/gstbasetransform.h:
3167 move docs so gtk-doc picks it up now
3169 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3171 * docs/libs/gstreamer-libs-sections.txt:
3172 add missing symbols to docs
3174 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3176 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3177 back out the newsegment handling change, see #340060 for ongoing
3180 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3182 * tools/gst-run.c: (get_candidates), (main):
3183 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3184 work); fix typo in error message. Fixes #340079.
3186 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3188 * common/Makefile.am:
3190 * docs/faq/Makefile.am:
3191 * docs/gst/Makefile.am:
3192 * docs/libs/Makefile.am:
3193 * docs/manual/Makefile.am:
3194 * docs/plugins/Makefile.am:
3195 * docs/pwg/Makefile.am:
3196 * docs/slides/Makefile.am:
3198 * common/upload.mak:
3199 move upload.mak to common
3201 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3203 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3204 add more asserts on refcounts
3205 do more cleanup at end of tests
3206 fix test leaks showing in FC5
3208 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3210 * plugins/elements/gsttypefindelement.c:
3211 (gst_type_find_element_handle_event):
3212 reverted wrong change and reflowed code to avoid others falling into
3215 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3217 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3218 fix changelog entry about last collectpads change,
3219 add notes about proper fix
3221 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3224 * gst/gstregistry.c: (gst_registry_scan_path_level),
3225 (gst_registry_scan_path):
3226 * gst/gstregistry.h:
3227 only write out registry if it has changed, fixes #338339
3229 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3232 * gst/gstpipeline.c:
3233 * plugins/elements/gstcapsfilter.c:
3234 * plugins/elements/gstfakesink.c:
3235 * plugins/elements/gstfakesrc.c:
3236 * plugins/elements/gstfdsink.c:
3237 * plugins/elements/gstfdsrc.c:
3238 * plugins/elements/gstfilesink.c:
3239 * plugins/elements/gstfilesrc.c:
3240 * plugins/elements/gstidentity.c:
3241 * plugins/elements/gstqueue.c:
3242 * plugins/elements/gsttee.c:
3243 * plugins/elements/gsttypefindelement.c:
3244 (gst_type_find_element_handle_event):
3245 make GstElementDetails const
3247 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3249 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3250 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3251 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3252 more detailed debug and formatting cleanup,
3253 forward newsegments to src-pad (so that e.g. adder not eats them)
3255 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3257 * gst/gstutils.c: (gst_element_link_pads):
3260 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3262 * libs/gst/controller/gstcontroller.c:
3263 (gst_controller_sync_values):
3265 * tests/check/libs/controller.c: (GST_START_TEST),
3266 (gst_controller_suite):
3267 a new test for live value handling
3269 2006-04-28 Wim Taymans <wim@fluendo.com>
3271 * gst/gstutils.c: (push_and_ref):
3272 Added some more docs.
3273 Fix refcount issue whith gst_element_found_tags() helper
3274 function. Fixes #338335
3276 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3277 Added testsuite for gst_element_found_tags().
3279 2006-04-28 Michael Smith <msmith@fluendo.com>
3281 * gst/gstvalue.c: (gst_value_serialize_flags):
3282 Avoid NULL dereference when trying to serialize flags containing
3285 2006-04-28 Michael Smith <msmith@fluendo.com>
3287 * plugins/elements/gsttypefindelement.c:
3288 (gst_type_find_element_handle_event):
3289 If we get EOS before any data is accumulated, don't use
3290 uninitialised local variables.
3292 2006-04-28 Michael Smith <msmith@fluendo.com>
3294 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3295 (gst_dp_event_from_packet):
3296 Fixes in reading/writing events over GDP (not currently used?) -
3297 dereferencing NULL events for unknown/invalid event types, memory
3298 leak, and change g_warning to GST_WARNING.
3300 2006-04-28 Wim Taymans <wim@fluendo.com>
3302 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3303 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3304 (gst_base_sink_get_position), (gst_base_sink_change_state):
3305 When frame dropping is enabled, we should not ignore frames
3307 Update some documentation.
3309 2006-04-28 Wim Taymans <wim@fluendo.com>
3311 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3312 (gst_base_src_send_event), (gst_base_src_change_state):
3313 Documentation updates.
3315 2006-04-28 Wim Taymans <wim@fluendo.com>
3317 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3318 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3319 handle EAGAIN, EINTR and short writes correctly. Also clean
3320 up some error cases, avoid a deadlock on bad file descriptors and
3321 use GST_DEBUG_OBJECT.
3324 2006-04-28 Wim Taymans <wim@fluendo.com>
3326 * gst/gstvalue.c: (gst_value_serialize_buffer),
3327 (gst_value_deserialize_buffer):
3328 Don't try to serialize a GValue with a NULL buffer.
3331 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3332 Added check for serialisation of NULL buffers.
3334 2006-04-28 Wim Taymans <wim@fluendo.com>
3336 * gst/gstminiobject.c: (gst_value_take_mini_object):
3337 Taking a NULL miniobject is valid, fix the case where
3338 we try to unref the NULL miniobject.
3340 2006-04-28 Wim Taymans <wim@fluendo.com>
3342 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3344 * gst/gstbin.c: (gst_bin_handle_message_func):
3346 Don't leak bin refcount when a state recalc is
3347 in progress and we delay another one #339808.
3349 2006-04-28 Wim Taymans <wim@fluendo.com>
3351 * docs/design/part-TODO.txt:
3352 Mention QoS as an ongoing work item.
3354 * docs/design/part-buffering.txt:
3355 New doc about buffering that needs to be fleshed out
3358 * docs/design/part-qos.txt:
3359 More QoS policy for decoders/demuxers/transforms
3361 * docs/design/part-trickmodes.txt:
3364 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3369 === release 0.10.5 ===
3371 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3374 releasing 0.10.5, "Fogo"
3376 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3378 patch by: Wim Taymans
3380 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3381 (gst_pad_configure_src), (gst_pad_push):
3382 * gst/gstpipeline.c: (gst_pipeline_init):
3383 Fix internal data flow errors. Fixes #338711.
3385 2006-04-12 Wim Taymans <wim@fluendo.com>
3387 * tests/check/gst/gstelement.c: (GST_START_TEST):
3388 Don't leak the factory.
3390 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3393 * win32/common/config.h:
3396 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3398 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3399 (gst_controller_unset_all):
3400 Free allocated GstTimedValues when freeing list nodes.
3401 Should fix leaks 'make check-valgrind' complains about.
3403 * win32/common/libgstcontroller.def:
3404 Add gst_controller_unset_all.
3406 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3408 * docs/libs/gstreamer-libs-sections.txt:
3409 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3410 (gst_controller_unset_all):
3411 * libs/gst/controller/gstcontroller.h:
3412 API: Added new method gst_controller_unset_all()
3413 fixed gst_controller_unset()
3414 * tests/check/libs/controller.c: (GST_START_TEST),
3415 (gst_controller_suite):
3416 Added two testcases for new and fixed method
3418 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3420 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3421 MSG_DONTWAIT is not defined on Cygwin, so work
3422 around that (fixes #317048).
3424 2006-04-11 Wim Taymans <wim@fluendo.com>
3426 * gst/gstelementfactory.c: (gst_element_register),
3427 (gst_element_factory_create), (gst_element_factory_make):
3430 Updated docs (Fixes #131079)
3432 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3435 * tests/check/gst/gstelement.c: (GST_START_TEST),
3436 (gst_element_suite):
3437 Added testcase for elementfactory class field.
3439 2006-04-10 Wim Taymans <wim@fluendo.com>
3442 Added some more docs.
3444 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3445 (gst_base_sink_reset_qos):
3446 Calculate more accurate rate values.
3448 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3450 * gst/gst_private.h:
3451 add a new #ifdef to use __declspec(dllimport) only for
3452 other modules and not for gstreamer core
3453 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3454 use gst_guint64_to_gdouble for conversion
3455 * win32/common/libgstreamer.def:
3456 add new exported functions
3457 * win32/vs6/gst_inspect.dsp:
3458 * win32/vs6/gst_launch.dsp:
3459 * win32/vs6/libgstbase.dsp:
3460 * win32/vs6/libgstcontroller.dsp:
3461 * win32/vs6/libgstcoreelements.dsp:
3462 * win32/vs6/libgstdataprotocol.dsp:
3463 * win32/vs6/libgstnet.dsp:
3464 update project files
3466 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3468 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3469 * gst/gstclock.c: (gst_clock_class_init):
3470 * gst/gstelement.c: (gst_element_class_init):
3471 * gst/gstindex.c: (gst_index_class_init):
3472 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3473 * gst/gstobject.c: (gst_object_class_init),
3474 (gst_signal_object_class_init):
3475 * gst/gstpad.c: (gst_pad_class_init):
3476 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3477 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3478 * gst/gstregistry.c: (gst_registry_class_init):
3479 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3480 * gst/gsttask.c: (gst_task_class_init):
3481 * gst/gstxml.c: (gst_xml_class_init):
3482 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3483 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3484 (gst_base_src_loop):
3485 * libs/gst/controller/gstcontroller.c:/
3486 (_gst_controller_class_init):
3487 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3488 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3489 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3490 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3491 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3492 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3494 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3496 * gst/gstpad.c: (gst_pad_link):
3497 Must set peer pads before calling the link function, otherwise
3498 a task started from a link function might get a flow-not-linked
3499 result when trying to push because the other thread where the
3500 linking happens hasn't had a chance to set the peers yet. This
3501 might happen for example when a queue gets linked to a downstream
3502 element, as queue starts a streaming task when its source pad
3503 gets linked. Happens in real life when playing back flac/musepack
3504 files in playbin (#332390).
3506 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3510 * libs/gst/base/gstadapter.h:
3511 * libs/gst/base/gstbasesink.h:
3512 * libs/gst/base/gstbasesrc.h:
3513 * libs/gst/base/gstbasetransform.h:
3514 * libs/gst/base/gstcollectpads.h:
3515 * libs/gst/base/gstpushsrc.h:
3516 Fix broken GObject macros
3518 2006-04-07 Wim Taymans <wim@fluendo.com>
3520 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3521 Initialize start and stop times, thanks valgrind.
3523 2006-04-07 Wim Taymans <wim@fluendo.com>
3525 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3526 Be a bit nicer to badly behaving upstream elements that expect
3527 us to deal with non TIME segments and timestamps (such as fakesrc
3530 2006-04-07 Wim Taymans <wim@fluendo.com>
3533 Small documentation clarification about the signal watch.
3535 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3536 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3537 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3538 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3539 (gst_base_sink_get_position_last),
3540 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3541 Convert and store timestamps in stream time and running time, the
3542 raw timestamps are not usefull, also document this better.
3543 Use different window sizes for good and bad QoS observations so
3544 we react to badness a little quicker.
3545 Keep track of the amount of rendered and dropped buffers.
3546 Send QoS timestamps in running time.
3548 * libs/gst/base/gstbasetransform.c:
3549 (gst_base_transform_sink_eventfunc),
3550 (gst_base_transform_handle_buffer):
3551 Compare QoS timestamps against running time.
3553 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3558 2006-04-06 Michael Smith <msmith@fluendo.com>
3560 * gst/gstpad.c: (gst_pad_set_property):
3561 Use g_value_get_object() instead of g_value_dup_gst_object(),
3562 to avoid double-reffing the pad template (which we then sink,
3563 so this worked previously if (and only if) the pad template
3566 * gst/gstpadtemplate.c: (gst_pad_template_init),
3567 (gst_pad_template_pad_created):
3568 Never return floating references to pad templates, create
3569 them as initially-sunken.
3571 Document an extra function (and make this stop sinking our
3572 pad template, since that is now guaranteed to do nothing,
3573 since we created it sunken).
3575 * gst/gstghostpad.c:
3578 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3580 * gst/gstinfo.c: (__gst_in_valgrind):
3583 * plugins/elements/gsttypefindelement.c:
3584 (gst_type_find_element_chain):
3585 Don't leak buffer caps.
3587 2006-04-06 Michael Smith <msmith@fluendo.com>
3589 * gst/parse/grammar.y:
3590 Fix a leak in parse-launch for any source-or-sink named element
3593 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3594 Unref the pipeline if it exists after we've failed parsing.
3596 2006-04-05 Michael Smith <msmith@fluendo.com>
3598 * gst/gstpipeline.c: (gst_pipeline_init):
3599 When we create a pipeline bus, initially create it in flushing mode.
3600 Fixes leaks in at least one test, and makes a new pipeline work the
3601 same as one that has gone to READY and then back to NULL.
3606 2006-04-05 Michael Smith <msmith@fluendo.com>
3608 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3609 Unref a pad we reffed.
3610 * tests/check/gst/gstutils.c: (GST_START_TEST):
3613 2006-04-05 Michael Smith <msmith@fluendo.com>
3615 * gst/gstquery.c: (gst_query_set_formats),
3616 (gst_query_set_formatsv):
3617 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3619 2006-04-05 Michael Smith <msmith@fluendo.com>
3621 * tests/check/generic/sinks.c: (GST_START_TEST):
3622 Fix a variety of memleaks in sinks check, which are only sometimes
3623 shown by running the tests under valgrind (weird?).
3625 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3627 * docs/version.entities.in:
3628 Fix the substituted entity name after thomas' changes on the
3631 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3633 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3636 2006-04-05 Andy Wingo <wingo@pobox.com>
3638 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3640 * libs/gst/base/gstbasetransform.c
3641 (gst_base_transform_sink_eventfunc): When resetting our segment on
3642 FLUSH_STOP, also update the flag saying we haven't seen a
3645 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3647 Patch by: Paolo Borelli <pborelli at katamail dot com>
3649 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3650 (gst_plugin_check_license):
3651 minor clean-ups: G_DEFINE_TYPE already takes care of the
3652 parent_class stuff, no need to do it twice. Mark array of
3653 license strings as constant. (#337103)
3655 2006-04-04 Michael Smith <msmith@fluendo.com>
3657 * tools/gst-inspect.c: (print_element_list):
3658 Free the right plugin list; fixes a memory leak.
3660 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3662 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3664 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3665 Don't error out on empty buffers (#336945).
3667 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3669 * docs/libs/gstreamer-libs-sections.txt:
3671 * libs/gst/base/gstbasesink.c:
3672 * libs/gst/base/gstbasesink.h:
3673 * libs/gst/base/gstbasesrc.c:
3674 * libs/gst/base/gstbasesrc.h:
3675 Documentation updates. Make BaseSink and BaseSrc docs contain the
3676 class structure so that people can actually see the prototypes for
3677 virtual functions they're supposed to be overriding.
3679 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3681 * plugins/elements/gsttypefindelement.c:
3682 (gst_type_find_element_chain):
3683 More debug info; when skipping typefinding, send cached
3684 events in all cases.
3686 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
3689 use new AS_VERSION and AS_NANO macros
3690 * gst/gst-i18n-lib.h:
3693 * gst/gstversion.h.in:
3694 * win32/common/config.h:
3695 * win32/common/config.h.in:
3698 2006-03-31 Michael Smith <msmith@fluendo.com>
3700 * plugins/elements/gsttypefindelement.c:
3701 (gst_type_find_element_chain):
3702 Do not typefind content if the buffers already have caps.
3703 Neccesary for icydemux (#333657), and the right thing to do anyway.
3705 2006-03-30 Wim Taymans <wim@fluendo.com>
3707 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3708 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3709 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3710 (gst_base_sink_record_qos_observation),
3711 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3712 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3713 (gst_base_sink_change_state):
3714 More QoS measurements as described in the design doc.
3715 Get rid of ringbuffer with observations, running average is
3716 more simple and equally good.
3717 Calculates valid proportion now.
3718 Added beginning of flood measurement.
3720 2006-03-29 Wim Taymans <wim@fluendo.com>
3722 * docs/design/part-qos.txt:
3724 Small documentation updates and additions.
3726 2006-03-29 Wim Taymans <wim@fluendo.com>
3728 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3729 (gst_base_src_send_event), (gst_base_src_loop),
3730 (gst_base_src_change_state):
3731 Perform the EOS logic when we reach the segment stop position.
3732 Fix compilation on gcc4.1
3734 2006-03-29 Wim Taymans <wim@fluendo.com>
3736 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3738 * plugins/elements/gstqueue.c: (gst_queue_init),
3739 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3740 (gst_queue_set_property):
3741 * plugins/elements/gstqueue.h:
3742 In queue, when EOS is received, if minimum threshold > max_size -
3743 current_level, there is chance that queue blocks forever in conditional
3744 item del wait. This is because the queue is not emptied completely due
3745 to minimum threshold. Here is another approach. Instead of setting
3746 cur_levels to max in EOS, just zero all minimum threshold levels. This
3747 should make sure that queue gives out all data. When going to READY
3748 (stop) state, just reset the original minimum threshold levels.
3751 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
3753 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3754 (gst_type_find_element_handle_event),
3755 (gst_type_find_element_send_cached_events),
3756 (gst_type_find_element_change_state):
3757 * plugins/elements/gsttypefindelement.h:
3758 When typefinding is done in push mode, we should cache
3759 events we receive during typefinding instead of just
3760 dropping them (e.g. newsegment, custom events from
3761 dvdreadsrc etc.) and then send them out once we've
3762 determined the type of the stream (and decodebin
3763 has had a chance to plug in a decoder/demuxer).
3765 2006-03-27 Wim Taymans <wim@fluendo.com>
3767 * docs/design/part-qos.txt:
3770 2006-03-27 Wim Taymans <wim@fluendo.com>
3772 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3774 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3775 (gst_base_src_send_event), (gst_base_src_change_state):
3776 Handle element seek correctly when we are streaming.
3779 2006-03-24 Michael Smith <msmith@fluendo.com>
3781 * docs/faq/gst-uninstalled:
3782 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3783 allow you to correctly run intalled applications built against old
3784 core, using plugins that require updated core (e.g. running
3785 installed totem against a full uninstalled gstreamer stack)
3787 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3789 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3792 2006-03-24 Wim Taymans <wim@fluendo.com>
3794 * docs/gst/gstreamer-sections.txt:
3795 Rearrange the order of the methods so that related methods
3796 are grouped together in sections.
3798 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3801 Little clarification in the docs
3803 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3807 * plugins/elements/gstidentity.c:
3808 * plugins/elements/gstqueue.c:
3809 * plugins/elements/gsttee.c:
3810 * plugins/elements/gsttypefindelement.c:
3811 GST_ELEMENT_DETAILS formatting
3813 2006-03-24 Wim Taymans <wim@fluendo.com>
3815 * libs/gst/base/gstbasesink.h:
3816 Only add fields, not insert or we break ABI.
3818 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3820 * win32/common/libgstbase.def:
3821 * win32/common/libgstreamer.def:
3822 Update, add recently added functions.
3824 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3826 * docs/gst/gstreamer-sections.txt:
3827 * gst/gstutils.c: (gst_pad_query_peer_position),
3828 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3830 API: add some new utility functions:
3831 - gst_pad_query_peer_position()
3832 - gst_pad_query_peer_duration()
3833 - gst_pad_query_peer_convert()
3835 2006-03-23 Wim Taymans <wim@fluendo.com>
3837 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3838 (gst_base_sink_init), (gst_base_sink_finalize),
3839 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3840 (gst_base_sink_set_property), (gst_base_sink_get_property),
3841 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3842 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3843 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3844 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3845 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3846 (gst_base_sink_preroll_object), (gst_base_sink_event),
3847 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3848 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3849 (gst_base_sink_query), (gst_base_sink_change_state):
3850 Decouple max-lateness and the fact that QoS messages are generated
3851 with a new property (qos).
3852 added API: GstBaseSink::async_play()
3853 Add vmethod so subclasses can be notified of ASYNC playing
3855 Collect timestamp start and stop to report better current
3856 position in EOS/PLAYING/PAUSED/READY/NULL.
3857 Refactor QoS/frame dropping and other measurements.
3858 API: GstBaseSrc::qos
3861 * libs/gst/base/gstbasesink.h:
3862 Added Private struct.
3863 API: gst_base_sink_set_qos_enabled()
3864 API: gst_base_sink_is_qos_enabled()
3866 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3868 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3869 If compiling against GLib-2.8 or newer, try to read the
3870 registry file using GMappedFile first before falling back
3871 to fopen() + fread() (#332151).
3873 2006-03-22 Wim Taymans <wim@fluendo.com>
3875 * gst/gstinfo.c: (gst_debug_set_active),
3876 (gst_debug_category_set_threshold):
3877 Disable debugging unless explicitly activated.
3880 2006-03-22 Wim Taymans <wim@fluendo.com>
3882 * gst/gstelement.c: (gst_element_set_locked_state),
3883 (gst_element_dispose):
3884 Cleanup the error case.
3886 * gst/gstobject.c: (gst_object_dispose):
3887 print a critical when some object was disposed with
3888 a parent, also revive the object since it might
3891 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
3893 * tools/gst-launch.1.in:
3896 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3899 * tests/check/Makefile.am:
3900 disable some tests when we don't have a registry
3901 * tests/check/gst/gstutils.c: (gst_utils_suite):
3902 don't build the part that needs parsing
3904 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3907 * tests/examples/Makefile.am:
3908 fix --disable-parse build
3910 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3912 * tools/gst-feedback.1.in:
3913 Fix typo: s/feeback/feedback/ (#133494).
3915 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3917 * tools/Makefile.am:
3918 * tools/gst-launch.1.in:
3919 Add FILES section and correct entry about GST_REGISTRY_PATH
3920 environment variable (#133495; #133494).
3922 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3924 * tools/Makefile.am:
3925 * tools/gst-md5sum.1.in:
3926 * tools/gst-md5sum.c:
3927 Remove gst-md5sum and man page (the md5sink element
3928 required was removed ages ago)
3930 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3932 * gst/gststructure.c: (gst_structure_id_set_value):
3933 Make sure that string fields in structures/taglists
3934 contain valid UTF-8 - we don't want to pass rubbish to
3935 applications because of a buggy plugin (cp. #334167).
3937 2006-03-21 Edward Hervey <edward@fluendo.com>
3939 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3940 (gst_bin_handle_message_func):
3941 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
3942 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
3943 (gst_element_set_bus_func):
3944 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
3945 * gst/gstminiobject.c: (gst_value_set_mini_object),
3946 (gst_value_take_mini_object):
3947 * gst/gstpad.c: (gst_pad_set_pad_template):
3948 * gst/gstpipeline.c: (gst_pipeline_dispose),
3949 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
3950 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
3951 (gst_collect_pads_chain):
3952 * libs/gst/net/gstnettimeprovider.c:
3953 (gst_net_time_provider_set_property):
3954 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
3955 It's in fact all issues with gst_*object_replace().
3957 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3959 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
3961 * pkgconfig/gstreamer-check-uninstalled.pc.in:
3962 * pkgconfig/gstreamer-check.pc.in:
3963 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
3965 2006-03-21 Edward Hervey <edward@fluendo.com>
3970 gst_[buffer|event|message]_ref() macros are replaced by a static
3971 inline functions because gcc-4.1 will about if the return value
3973 * tests/check/gst/gstevent.c: (event_probe):
3974 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
3976 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
3979 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
3980 the type' case. (Closes: #335195 for now). In the future, when we
3981 depend on GLib 2.10, we could also intern the type name using
3982 g_intern_static_string()
3984 2006-03-20 Wim Taymans <wim@fluendo.com>
3986 * gst/gstbin.c: (gst_bin_handle_message_func),
3987 (bin_query_max_init), (bin_query_position_fold),
3988 (bin_query_position_done), (gst_bin_query):
3989 Position query should also take max of all streams.
3991 2006-03-20 Wim Taymans <wim@fluendo.com>
3993 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
3994 (gst_fake_src_finalize):
3995 Fix leaks in fakesrc.
3997 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
3998 Fix leaks in the testcase.
4000 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4002 * gst/gst_private.h:
4003 add win32 specific import decoration(__declspec(dllimport))
4004 for all extern GstDebugCategory * variables
4005 * win32/common/libgstbase.def:
4006 * win32/common/libgstcontroller.def:
4007 * win32/common/libgstreamer.def:
4008 Add some exports, remove empty lines
4009 * win32/common/libgstdataprotocol.def:
4010 * win32/common/libgstdataprotocol.dsp:
4011 * win32/common/libgstnet.def:
4012 * win32/common/libgstnet.dsp:
4013 new project files and exportation files added
4015 2006-03-19 Wim Taymans <wim@fluendo.com>
4017 * tests/check/libs/basesrc.c: (eos_event_counter):
4018 Use proper return value for probe.
4020 2006-03-17 Wim Taymans <wim@fluendo.com>
4022 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4024 Don't leak buffers, caps and pads on negotiation errors.
4026 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4029 * docs/faq/dependencies.xml:
4030 * docs/faq/developing.xml:
4032 * docs/faq/general.xml:
4033 * docs/faq/getting.xml:
4034 * docs/faq/legal.xml:
4035 * docs/faq/troubleshooting.xml:
4036 * docs/faq/using.xml:
4037 Faq review and update.
4039 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4041 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4043 Don't pound the cpu to pieces by checking get_caps when accept_caps
4044 is called with the same caps as the pad already has.
4045 Use GST_DEBUG_OBJECT when outputting caps change information.
4047 2006-03-15 Wim Taymans <wim@fluendo.com>
4049 * gst/gstclock.c: (gst_clock_class_init):
4052 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4057 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4058 (gst_pad_accept_caps), (gst_pad_configure_sink),
4059 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4060 Make the default acceptcaps behaviour be to check the requested
4061 caps against the gst_pad_get_caps output.
4063 Ensure that gst_pad_accept_caps is used to check caps when a pad
4064 doesn't have a setcaps function, so that pads automatically refuse
4065 caps that they don't allow in their pad template. (Fixes #332986)
4067 When a buffer with attached caps is pushed, ensure that the source
4068 pad receives those caps even if the element didn't call
4069 gst_pad_set_caps first.
4071 2006-03-15 Wim Taymans <wim@fluendo.com>
4073 * libs/gst/base/gstadapter.c:
4076 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4078 * win32/common/libgstbase.def:
4079 * win32/common/libgstcontroller.def:
4080 * win32/common/libgstreamer.def:
4081 Add a whole bunch of missing functions (#334434).
4083 2006-03-14 Wim Taymans <wim@fluendo.com>
4085 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4086 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4087 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4088 Better debug info when we receive a segment event.
4089 Reorganize a bit so we can pass the get_times() results around.
4090 Use the segment format when calculating the running time.
4091 Don't do QoS is sync is disabled or we have no clock or the
4092 element does not want us to sync to the clock.
4093 Don't drop buffers if QoS is disabled for now.
4095 2006-03-14 Wim Taymans <wim@fluendo.com>
4097 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4098 Marked the stats property as unimplemented so people don't get
4100 Add debug message when regression goes wrong.
4101 Added some more docs.
4103 2006-03-14 Wim Taymans <wim@fluendo.com>
4105 * gst/gstsegment.c: (gst_segment_to_stream_time):
4106 Return correct return type in case of errors.
4108 2006-03-14 Wim Taymans <wim@fluendo.com>
4110 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4111 Don't segfault on invalid formats.
4113 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4115 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4116 Can't use gst_segment_to_running_time() when the segment
4117 is not in GST_TIME_FORMAT (like with filesink, for example).
4118 Stops flac encoding pipelines from spewing critical warnings
4121 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4123 * gst/gstpipeline.c: (gst_pipeline_class_init):
4124 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4126 * plugins/elements/gsttypefindelement.c:
4127 (gst_type_find_element_handle_event):
4128 Don't try to typefind empty streams.
4130 2006-03-14 Wim Taymans <wim@fluendo.com>
4132 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4133 (gst_base_sink_do_qos):
4134 Separate QoS calculation.
4135 Only drop buffers when lateness is bigger than the
4136 duration of the buffer.
4138 2006-03-13 Wim Taymans <wim@fluendo.com>
4140 * gst/gstpipeline.c: (gst_pipeline_set_property),
4141 (gst_pipeline_get_property), (do_pipeline_seek),
4142 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4143 (gst_pipeline_get_delay):
4144 Don't deadlock when reading properties.
4146 2006-03-13 Wim Taymans <wim@fluendo.com>
4148 * libs/gst/base/gstbasetransform.c:
4149 (gst_base_transform_class_init), (gst_base_transform_init),
4150 (gst_base_transform_sink_event),
4151 (gst_base_transform_sink_eventfunc),
4152 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4153 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4154 (gst_base_transform_set_property),
4155 (gst_base_transform_get_property),
4156 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4157 (gst_base_transform_set_qos_enabled),
4158 (gst_base_transform_is_qos_enabled):
4159 * libs/gst/base/gstbasetransform.h:
4160 Make basetransform virtual method for src events too.
4161 Handle QOS in basetransform.
4162 API: gst_base_transform_update_qos()
4163 API: gst_base_transform_set_qos_enabled()
4164 API: gst_base_transform_is_qos_enabled()
4166 2006-03-13 Wim Taymans <wim@fluendo.com>
4168 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4169 (gst_base_sink_do_sync):
4171 Use QOS debug category.
4173 2006-03-13 Wim Taymans <wim@fluendo.com>
4175 * plugins/elements/gstqueue.c:
4176 Very small doc update.
4178 2006-03-13 Wim Taymans <wim@fluendo.com>
4180 * gst/gst_private.h:
4181 * gst/gstinfo.c: (_gst_debug_init):
4182 Added QOS debug category
4184 2006-03-13 Wim Taymans <wim@fluendo.com>
4186 * docs/gst/gstreamer-sections.txt:
4187 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4189 * gst/gstbus.c: (gst_bus_class_init):
4192 * gst/gstelement.c: (gst_element_set_locked_state):
4194 Documentation updates.
4196 * gst/gstpipeline.c: (gst_pipeline_get_type),
4197 (gst_pipeline_class_init), (gst_pipeline_init),
4198 (gst_pipeline_dispose), (gst_pipeline_set_property),
4199 (gst_pipeline_get_property), (do_pipeline_seek),
4200 (gst_pipeline_send_event), (gst_pipeline_change_state),
4201 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4202 (gst_pipeline_get_delay):
4203 * gst/gstpipeline.h:
4204 Added methods for setting the delay.
4205 API: gst_pipeline_set_delay()
4206 API: gst_pipeline_get_delay()
4207 Add pipeline debug category
4210 Don't reset stream time when seek failed.
4212 2006-03-13 Wim Taymans <wim@fluendo.com>
4214 * docs/design/draft-klass.txt:
4215 * docs/design/part-clocks.txt:
4216 * docs/design/part-events.txt:
4217 * docs/design/part-gstbin.txt:
4218 * docs/design/part-gstpipeline.txt:
4219 * docs/design/part-messages.txt:
4220 * docs/design/part-negotiation.txt:
4221 * docs/design/part-overview.txt:
4222 * docs/design/part-preroll.txt:
4223 * docs/design/part-seeking.txt:
4224 * docs/design/part-states.txt:
4225 * docs/design/part-streams.txt:
4226 Documentation updates.
4228 2006-03-12 Julien MOUTTE <julien@moutte.net>
4230 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4231 us to leak strings...
4233 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4235 * libs/gst/net/gstnettimeprovider.c:
4237 * win32/common/config.h:
4240 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4242 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4245 Don't check for libgnomeui (leftover from old examples
4246 that aren't built or disted any longer) (#334303).
4248 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4250 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4251 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4252 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4253 there's no space left on the device.
4255 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4258 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4259 to cast the input to GstClockTime before comparing with
4260 another GstClockTime value.
4262 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4267 === release 0.10.4 ===
4269 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4272 releasing 0.10.4, "Light"
4274 2006-03-10 Michael Smith <msmith@fluendo.com>
4276 * libs/gst/dataprotocol/dataprotocol.c:
4277 Fix docs for dataprocotol to not get the return types completely
4278 wrong for a few functions.
4280 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4282 * docs/gst/gstreamer-sections.txt:
4283 * gst/gstpipeline.c: (gst_pipeline_class_init),
4284 (gst_pipeline_init), (gst_pipeline_set_property),
4285 (gst_pipeline_get_property), (gst_pipeline_change_state),
4286 (gst_pipeline_set_auto_flush_bus),
4287 (gst_pipeline_get_auto_flush_bus):
4288 * gst/gstpipeline.h:
4289 Add new API: gst_pipeline_set_auto_flush_bus() and
4290 gst_pipeline_get_auto_flush_bus() to disable automatic
4291 flushing of the pipeline's GstBus when going from READY
4292 to NULL state (#332045).
4294 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4296 * docs/gst/gstreamer-sections.txt:
4297 * gst/gsturi.c: (gst_uri_has_protocol):
4299 Add new API: gst_uri_has_protocol() (#333779).
4301 2006-03-09 Wim Taymans <wim@fluendo.com>
4303 * gst/gstclock.c: (gst_clock_entry_new),
4304 (gst_clock_id_compare_func), (gst_clock_id_wait),
4305 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4306 (gst_clock_init), (gst_clock_get_internal_time),
4307 (gst_clock_set_master), (do_linear_regression),
4308 (gst_clock_add_observation), (gst_clock_set_property):
4312 Fix a possible segfault when the window-size is made smaller.
4313 Calculate jitter before performing the clock wait. Ideally
4314 the clock implementation should calculate jitter but we need
4315 API breakage for that.
4317 * gst/gstsystemclock.c: (gst_system_clock_init):
4320 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4321 Remove leftover else
4323 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4324 (gst_systemclock_suite):
4325 Added check to test GST_CLOCK_DIFF.
4327 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4329 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4330 (gst_type_find_helper_get_range):
4331 If we are provided with the size, we should implement
4332 GstTypeFind::get_length, so that typefind functions who
4333 want to can actually peek at the middle of a file.
4335 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4337 * docs/manual/advanced-dataaccess.xml:
4338 Add some very very basic error checking.
4340 * docs/pwg/appendix-checklist.xml:
4341 Some updates to the list of things to check when writing an element.
4343 2006-03-08 Wim Taymans <wim@fluendo.com>
4345 * docs/design/part-element-transform.txt:
4346 Added some docs about the design of tranform elements.
4348 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4349 (gst_base_src_loop), (gst_base_src_change_state):
4350 Mark buffers with the DISCONT flag.
4352 2006-03-08 Michael Smith <msmith@fluendo.com>
4354 * gst/gstregistry.h:
4355 * gst/gstregistryxml.c: (gst_registry_save),
4356 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4357 (gst_registry_xml_save_pad_template),
4358 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4359 (gst_registry_xml_write_cache):
4360 Rewrite registry-saving to avoid race conditions and check for
4363 2006-03-08 Wim Taymans <wim@fluendo.com>
4365 * libs/gst/base/gstbasetransform.c:
4366 (gst_base_transform_transform_caps),
4367 (gst_base_transform_transform_size),
4368 (gst_base_transform_prepare_output_buffer),
4369 (gst_base_transform_get_unit_size),
4370 (gst_base_transform_buffer_alloc),
4371 (gst_base_transform_handle_buffer),
4372 (gst_base_transform_change_state):
4373 Cleanups, separate normal flow from errors, add sensible
4375 Don't try to renegotiate when allocating an output buffer.
4376 Also copy DISCONT buffer flag when copying a buffer.
4377 Reset the transform after we finish streaming, not during.
4379 2006-03-08 Wim Taymans <wim@fluendo.com>
4381 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4382 Use last buffer timestamp in qos message.
4384 2006-03-07 Wim Taymans <wim@fluendo.com>
4386 Patch by: Christophe Fergeau
4388 * docs/pwg/advanced-tagging.xml:
4389 * docs/pwg/building-pads.xml:
4392 2006-03-07 Wim Taymans <wim@fluendo.com>
4394 * docs/libs/gstreamer-libs-sections.txt:
4395 Added basesink new methods.
4399 Docs updates. Flesh out the QoS docs.
4401 * libs/gst/base/gstadapter.c:
4402 Small doc clarification about ownership and flushing.
4404 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4405 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4406 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4407 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4408 * libs/gst/base/gstbasesink.h:
4410 Added new methods to allow subclass to control max-lateness
4412 Generate very basic QoS events based on last sync observation.
4413 Updated docs, fix typo, added some QoS blurb.
4415 * libs/gst/base/gstbasesrc.c:
4416 Remove obsolete _get_state() calls from docs.
4418 2006-03-07 Wim Taymans <wim@fluendo.com>
4420 * docs/libs/gstreamer-libs-sections.txt:
4421 * libs/gst/base/gstbasetransform.h:
4422 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4423 Fix docs for GstBaseSrc.
4425 2006-03-07 Wim Taymans <wim@fluendo.com>
4427 * docs/gst/gstreamer-sections.txt:
4430 * libs/gst/base/gstbasetransform.h:
4431 Small documentation fixes.
4433 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4436 Document thread-unsafety of gst_value_register_foo_func()
4437 when used at the same time as gst_value_foo() (#322628).
4439 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4441 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4442 (gst_push_src_check_get_range):
4443 Push sources don't support pull mode by default.
4445 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4447 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4448 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4449 (gst_base_src_default_check_get_range):
4450 * libs/gst/base/gstbasesrc.h:
4451 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4452 provide default implementation, and rename
4453 gst_base_src_check_get_range() to
4454 gst_base_src_pad_check_get_range() for clarity.
4456 2006-03-06 Wim Taymans <wim@fluendo.com>
4458 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4459 Make property overridable.
4461 2006-03-06 Wim Taymans <wim@fluendo.com>
4463 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4464 (gst_base_sink_init), (gst_base_sink_set_property),
4465 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4466 * libs/gst/base/gstbasesink.h:
4467 API addition: Make max-lateness a property.
4469 2006-03-06 Wim Taymans <wim@fluendo.com>
4471 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4472 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4473 Don't ever draw a frame that is >10ms late.
4475 2006-03-06 Michael Smith <msmith@fluendo.com>
4477 * gst/gstmessage.c: (_gst_message_copy):
4478 When copying a message, set the parent_refcount of the enclosed
4479 structure to point at the copy, not the original message.
4481 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4483 Patch by: Christophe Fergeau
4486 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4487 usable in c++ code (#333417)
4489 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4492 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4494 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4496 * libs/gst/base/gstbasetransform.c:
4497 (gst_base_transform_transform_caps):
4498 Make sure caps are writable before passing them to
4501 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4504 Fix some minor docs errors.
4506 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4508 Patch by: Ross Burton <ross at burtonini dot com>
4510 * gst/gsterror.c: (_gst_resource_errors_init):
4512 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4514 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4517 Add a check and output a g_warning when GStreamer is built
4518 against GLib 2.6 but running against 2.8 or higher, and vice
4519 versa. (Closes: #323542)
4521 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4523 * gst/parse/parse.l:
4524 Commit patch for parse_launch syntax from #331255. Removes
4525 support for quoted strings and mimetypes when writing filtered
4526 caps. See the bug report for more details - I'm pretty sure this
4527 obscure feature is not in use by _anyone_ anywhere.
4529 With this simple change, the size of the gstreamer.so here
4530 drops from 2193KB to 1565KB.
4532 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4534 * plugins/elements/gsttypefindelement.h:
4535 * plugins/elements/gsttypefindelement.c:
4536 (gst_type_find_element_src_event), (start_typefinding),
4537 (stop_typefinding), (gst_type_find_element_handle_event),
4538 (gst_type_find_element_chain),
4539 (gst_type_find_element_chain_do_typefinding):
4540 Use gst_type_find_helper_for_buffer() for chain-based
4543 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4545 * plugins/elements/gsttypefindelement.c:
4546 (gst_type_find_element_class_init),
4547 (gst_type_find_element_set_property),
4548 (gst_type_find_element_get_property):
4549 Deprecate "maximum" property (not only was it only taken into
4550 account for typefinding in push-mode anyway, it also was never
4551 actually possible to set it in the first place because the
4552 property was registered with the numeric property ID for the
4553 "minimum" property). Register "maximum" property correctly,
4554 for the sake of future copy'n'pasters. Remove some cruft
4555 from property get/set functions.
4557 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4559 * plugins/elements/gsttypefindelement.c:
4560 (gst_type_find_element_activate):
4561 Use gst_type_find_helper_get_range() here, so we
4562 can honour the "minimum" property and also emit
4563 the signal with the correct probability of the found caps.
4565 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4567 * docs/libs/gstreamer-libs-sections.txt:
4568 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4569 (helper_find_suggest), (gst_type_find_helper_get_range),
4570 (gst_type_find_helper):
4571 * libs/gst/base/gsttypefindhelper.h:
4572 New API: gst_type_find_helper_get_range() (#333042).
4574 2006-03-02 Michael Smith <msmith@fluendo.com>
4576 * gst/gstregistryxml.c: (load_feature):
4577 Asserting on a failure to read part of the registry is Not Cool.
4578 Just log a warning and return NULL (which is already handled)
4580 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4582 * win32/common/libgstbase.def:
4583 added export of gst_type_find_helper_for_buffer
4584 * win32/common/libgstbase.def:
4585 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4586 gst_ghost_pad_get_target
4588 2006-02-28 Wim Taymans <wim@fluendo.com>
4590 * docs/design/draft-klass.txt:
4592 Added Connector to mark elements that are only used to
4593 allow pipeline connections.
4594 Moved Debug to extra feature since most of them are
4595 functionally something else.
4597 2006-02-28 Wim Taymans <wim@fluendo.com>
4599 * docs/design/draft-klass.txt:
4600 Some updates and clarifications.
4602 2006-02-28 Wim Taymans <wim@fluendo.com>
4604 * docs/design/draft-klass.txt:
4605 Proposal for klass field values.
4607 * docs/design/part-streams.txt:
4608 Start of a doc describing stream anatomy.
4610 2006-02-28 Wim Taymans <wim@fluendo.com>
4612 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4613 Help the compiler a bit with type registration.
4614 Use existing forward cod path instead of duplicating it when
4617 * gst/gstbus.c: (gst_bus_get_type):
4618 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4619 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4620 * gst/gstclock.c: (gst_clock_get_type):
4621 * gst/gstelement.c: (gst_element_get_type),
4622 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4623 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4624 * gst/gstminiobject.c: (gst_mini_object_get_type):
4625 * gst/gstpad.c: (gst_pad_get_type):
4626 * gst/gstsegment.c: (gst_segment_get_type):
4627 * gst/gststructure.c: (gst_structure_get_type):
4628 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4629 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4631 Help compiler with type registration.
4633 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4636 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4638 * plugins/elements/gsttypefindelement.c:
4639 (gst_type_find_element_handle_event):
4640 When we get an EOS event and have not found a type yet
4641 (most likely because we had not yet accumulated
4642 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4643 type given the data we have so far. Fixes typefinding
4644 for very short streams again, most notably quicktime
4645 redirections as used on Apple's trailer site (#331701).
4647 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4649 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4650 (gst_type_find_helper):
4651 Try typefinding factories with the highest rank first.
4653 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4655 * docs/libs/gstreamer-libs-docs.sgml:
4656 * docs/libs/gstreamer-libs-sections.txt:
4657 * libs/gst/base/gsttypefindhelper.c:
4658 Add section for typefind helper and add documentation
4659 for the old and the new function.
4661 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4663 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4664 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4665 (gst_type_find_helper_for_buffer):
4666 * libs/gst/base/gsttypefindhelper.h:
4667 New API: gst_type_find_helper_for_buffer() (#332723).
4669 2006-02-27 Michael Smith <msmith@fluendo.com>
4671 Patch by: Loïc Minier
4675 * docs/slides/Makefile.am:
4676 prevent CVS directories getting disted.
4678 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4680 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4681 Use the REFCOUNTING category for caps refcounting.
4683 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4685 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4686 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4688 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4690 * plugins/elements/gsttypefindelement.c:
4691 (gst_type_find_element_activate):
4692 Use gst_pad_check_pull_range() before _activate_pull()
4693 to avoid unnecessary open/close (see #331690).
4695 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4698 Docs enhancement: make it crystal clear what the
4699 gst_pad_add_*_probe() callbacks should look like.
4701 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4703 * libs/gst/base/gstbasesrc.c:
4704 Document how applications can stop recording from
4705 live sources (see #330996).
4707 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4709 * tests/check/Makefile.am:
4710 * tests/check/libs/basesrc.c: (eos_event_counter),
4711 (basesrc_eos_events_pull), (basesrc_eos_events_push),
4712 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4713 (gst_basesrc_suite), (main):
4714 ... and add some tests for the base source EOS stuff.
4716 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4718 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4719 Test case originally showed the problem fixed below,
4720 but was then amended. Add checks back at the place
4721 where they used to be.
4723 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4725 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4726 (gst_base_src_init), (gst_base_src_loop),
4727 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4728 (gst_base_src_change_state):
4729 * libs/gst/base/gstbasesrc.h:
4730 Don't unconditionally send EOS when going from PAUSED to
4731 READY state, esp. make sure we don't send two EOS events
4732 in some cases (e.g. one when reaching EOS and one when
4733 going from PAUSED to READY). Also, we don't want to send
4734 EOS events when operating in pull mode. However, we do
4735 want to send an EOS event when shutting down a live
4736 source explicitly, for example (fixes #330996).
4738 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4740 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4741 Update src->read_position after a seek when not using mmap.
4742 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4744 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
4750 Make things work with --disable-parse as they do with
4751 --disable-load-save - the symbols involved disappear, but the
4752 header is still installed and GST_DISABLE_PARSE is included via
4755 2006-02-20 Julien MOUTTE <julien@moutte.net>
4757 * libs/gst/base/gstbasetransform.c:
4758 (gst_base_transform_change_state): Fix a stupid bug. I was
4759 sure I compiled that.
4761 2006-02-20 Julien MOUTTE <julien@moutte.net>
4763 * gst/gstpad.c: (gst_pad_set_blocked_async):
4764 * gst/gstutils.c: (gst_pad_add_data_probe),
4765 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4766 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4767 (gst_pad_remove_buffer_probe): Make those function act on the
4768 ghostpad target when it's a ghostpad. (Closes #331727)
4770 2006-02-20 Julien MOUTTE <julien@moutte.net>
4772 * libs/gst/base/gstbasetransform.c:
4773 (gst_base_transform_change_state): Make basetransform reusable.
4776 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
4778 * docs/random/release:
4779 Move the current documentation of how to do a release to the top
4782 * gst/gstbin.c: (gst_bin_class_init),
4783 (gst_bin_handle_message_func):
4784 Allow multiple state-recalculation threads. (Closes #328873)
4786 2006-02-19 Julien MOUTTE <julien@moutte.net>
4788 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4789 * gst/gstpad.c: (gst_pad_set_event_function),
4790 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4791 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4792 2 strings. You can't use the STR_NULL macro on that.
4794 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
4796 * gst/gstpad.c: (gst_pad_set_event_function),
4797 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4798 (gst_pad_set_getcaps_function)
4799 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4800 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4801 So now, we can use --gst-debug-level=5 on Windows
4802 * win32/common/libgstcontroller.def:
4803 Added export of gst_controller_init
4804 * win32/vs6/libgstcontroller.dsp:
4805 Fixed Release post build configuration
4807 2006-02-17 Wim Taymans <wim@fluendo.com>
4809 * tests/check/gst/gstquery.c: (GST_START_TEST):
4810 Added another check.
4812 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
4814 * plugins/elements/gsttypefindelement.c: (find_peek):
4815 We can do peeks at non-zero offsets, as long as they
4816 fall within the buffer we have.
4818 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
4820 * tests/check/Makefile.am:
4821 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4822 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4823 (parse_suite), (main):
4824 Add testsuite for parse launch syntax
4826 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
4828 * plugins/elements/gsttypefindelement.c:
4829 (gst_type_find_element_chain):
4830 When typefinding is unsuccessful in the chain function, don't
4831 error out immediately. Only error out with NO_CAPS_FOUND if
4832 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4833 otherwise simply wait for more data so we can try typefinding
4834 again with more data later. Also, don't attempt to typefind
4835 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4836 this should improve typefinding from network sources where the
4837 size of the first buffer can be somewhat random.
4839 2006-02-14 Wim Taymans <wim@fluendo.com>
4841 * docs/gst/gstreamer-sections.txt:
4842 * gst/gstpadtemplate.c:
4843 * gst/gstpadtemplate.h:
4844 Fix padtemplate docs, fixes #328805.
4846 2006-02-14 Wim Taymans <wim@fluendo.com>
4848 * tools/gst-launch.c: (main):
4849 NO_PREROLL is not an ERROR so don't send confusing messages
4852 2006-02-14 Wim Taymans <wim@fluendo.com>
4854 Patch by: Torsten Schoenfeld
4856 * gst/gstregistry.c: (gst_registry_get_default),
4857 (_gst_registry_cleanup):
4858 Protect default registry with lock and ref/sink it.
4861 2006-02-14 Wim Taymans <wim@fluendo.com>
4864 * gst/gstquery.c: (gst_query_list_add_format),
4865 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4866 (gst_query_parse_formats_nth):
4867 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4870 2006-02-14 Wim Taymans <wim@fluendo.com>
4872 * docs/gst/gstreamer-sections.txt:
4873 Reworked query docs.
4875 * gst/gstquery.c: (gst_query_new_formats),
4876 (gst_query_list_add_format), (gst_query_set_formats),
4877 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4878 (gst_query_parse_formats_nth):
4880 Flesh out formats query, added some new methods.
4881 Fix part of #324398.
4883 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4884 Added query creation tests.
4886 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
4888 * gst/gstpad.c: (fixate_value):
4889 Add a default fixation for fraction lists.
4891 2006-02-13 Wim Taymans <wim@fluendo.com>
4893 * gst/gsttask.c: (gst_task_init), (gst_task_func),
4894 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4897 Detect and warn for obvious deadlocks. fixes #320340
4898 Fix error case where lock was not released.
4900 * tests/check/Makefile.am:
4901 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4902 (task_func), (gst_element_suite), (main):
4905 2006-02-13 Wim Taymans <wim@fluendo.com>
4907 * docs/gst/gstreamer-sections.txt:
4909 Add new functions to docs.
4911 2006-02-13 Wim Taymans <wim@fluendo.com>
4913 * docs/design/part-TODO.txt:
4914 Updated TODO list, basesrc supports seeking to non-bytes
4917 * docs/design/part-element-sink.txt:
4920 * gst/gstbin.c: (bin_replace_message),
4921 (gst_bin_handle_message_func):
4922 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
4923 * gst/gstevent.c: (gst_event_finalize):
4924 * gst/gstpad.c: (gst_pad_event_default_dispatch),
4925 (gst_pad_send_event):
4926 Use shiny new _TYPE_NAME macros.
4928 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4929 Move debug statement up.
4931 * gst/gstelement.c: (gst_element_set_locked_state):
4934 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
4936 * docs/gst/gstreamer-sections.txt:
4939 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
4940 macros (#330906). Also, document the already existing
4941 GST_QUERY_TYPE macro.
4943 2006-02-13 Wim Taymans <wim@fluendo.com>
4945 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
4946 (event_probe), (GST_START_TEST):
4947 Only events up to the pipeline EOS are counted, there are
4948 some more when going to NULL currently which we don't care
4951 2006-02-13 Wim Taymans <wim@fluendo.com>
4953 * gst/gstpad.c: (gst_pad_send_event):
4954 Correctly check flushing and emit probes. fixes #330125
4956 2006-02-10 Andy Wingo <wingo@pobox.com>
4958 * gst/gstbus.c (gst_bus_class_init): Declare our private data
4960 (gst_bus_init): Cache the location of the private data in the
4962 (gst_bus_enable_sync_message_emission)
4963 (gst_bus_disable_sync_message_emission): Implement new public
4965 (gst_bus_post): Emit the sync-message signal if the user asked for
4968 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
4969 location of the bus-private structure.
4970 (gst_bus_enable_sync_message_emission)
4971 (gst_bus_disable_sync_message_emission): API addition
4973 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
4975 Patch by: Vincent Torri
4977 * docs/pwg/building-boiler.xml:
4978 PWG patch from #326800
4980 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
4984 * docs/design/Makefile.am:
4987 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4992 === release 0.10.3 ===
4994 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
4997 releasing 0.10.3, "Like a virgin"
4999 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5002 2nd prerelease of 0.10.3
5003 Bump libtool versioning.
5005 2006-02-07 Andy Wingo <wingo@pobox.com>
5007 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5008 update last_stop if we're in TIME format and the timestamp is
5011 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5012 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5013 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5014 If we get a new newsegment with a different format, adapt
5017 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5018 of 0. Not a problem, really.
5020 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5023 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5028 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5031 project files updated to the default vs7 configuration
5032 * win32/common/libgstbase.def:
5033 * win32/common/libgstreamer.def:
5035 removed empty lines,
5036 sorted all exported symbols alphabetically
5037 * win32/common/dirent.c:
5038 * win32/common/dirent.h:
5039 * win32/common/gchar.h:
5040 use windows line end.
5042 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5044 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5045 Send EOS event when stopping.
5047 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5050 Tell folks what to do if the plugin-foobar.xml file
5051 hasn't been generated for a newly-added plugin.
5053 2006-02-05 Julien MOUTTE <julien@moutte.net>
5055 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5056 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5057 (gst_collect_pads_start), (gst_collect_pads_stop),
5058 (gst_collect_pads_event): Collectpads now holds a reference
5059 to the GstPad that was added. Indeed we don't want to look
5060 at pads that might just go away with no warning...
5062 2006-02-05 Julien MOUTTE <julien@moutte.net>
5064 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5065 (gst_collect_pads_start), (gst_collect_pads_stop),
5066 (gst_collect_pads_event), (gst_collect_pads_chain):
5067 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5068 Mark Nauwelaerts's patch on bug #328491.
5070 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5072 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5074 Add some simple tests for gst_parse_bin_from_description() and
5075 gst_bin_find_unconnected_pad() (#329069).
5077 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5079 * tools/gst-launch.c: (event_loop), (main):
5080 Catch errors during preroll (#320084).
5082 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5084 * plugins/elements/gsttypefindelement.c:
5085 (gst_type_find_element_activate):
5086 Post TYPE_NOT_FOUND error message when typefinding
5087 is unsuccessful in the activate function as well.
5089 2006-02-02 Wim Taymans <wim@fluendo.com>
5091 * docs/design/part-element-sink.txt:
5094 2006-02-02 Wim Taymans <wim@fluendo.com>
5096 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5097 (gst_base_sink_render_object),
5098 (gst_base_sink_queue_object_unlocked):
5099 Only keep track of prerollable items when we are
5101 Before rendering after preroll, always check if we
5103 Added some more debugging.
5105 2006-02-02 Wim Taymans <wim@fluendo.com>
5107 * gst/gstelement.c: (gst_element_continue_state),
5108 (gst_element_set_state_func), (gst_element_change_state):
5109 Fixed #326576, been running this for quite some time with
5110 no regressions at all.
5112 2006-02-02 Wim Taymans <wim@fluendo.com>
5115 Added more suppressions
5117 2006-02-02 Wim Taymans <wim@fluendo.com>
5119 * docs/design/part-element-sink.txt:
5122 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5123 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5124 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5125 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5126 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5127 (gst_base_sink_preroll_object),
5128 (gst_base_sink_queue_object_unlocked),
5129 (gst_base_sink_queue_object), (gst_base_sink_event),
5130 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5131 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5132 (gst_base_sink_get_position), (gst_base_sink_change_state):
5133 * libs/gst/base/gstbasesink.h:
5134 Totally refactored matching the design doc.
5135 Use two segments, one to clip incomming buffers and another to
5137 Handle queueing correctly, bypass the queue when playing.
5138 Make EOS cancelable.
5139 Handle errors correctly when operating in pull based mode.
5141 * tests/check/elements/fakesink.c: (GST_START_TEST),
5143 Added new check for sinks.
5145 2006-02-02 Wim Taymans <wim@fluendo.com>
5147 * gst/gstsegment.c: (gst_segment_clip):
5148 No reason to refuse to clip when start == -1
5150 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5153 * docs/manual/intro-basics.xml:
5154 * docs/manual/intro-preface.xml:
5155 * docs/manual/manual.xml:
5156 * docs/pwg/advanced-dparams.xml:
5157 * docs/pwg/intro-basics.xml:
5158 * docs/pwg/intro-preface.xml:
5160 describe dparams (controller) for plugins
5161 unify docs a little more
5163 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5165 * docs/gst/gstreamer-sections.txt:
5166 * gst/gstutils.c: (element_find_unconnected_pad),
5167 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5169 Add new API: gst_parse_bin_from_description() and
5170 gst_bin_find_unconnected_pad() (#329069).
5172 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5174 * docs/manual/README:
5175 uncover a nasty detail of the docs build
5177 2006-01-31 Wim Taymans <wim@fluendo.com>
5179 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5180 Don't cache duration messages if we're not going to use or
5183 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5185 * docs/manual/advanced-dparams.xml:
5186 * docs/pwg/advanced-dparams.xml:
5190 * libs/gst/controller/lib.c: (gst_controller_init):
5193 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5195 * gst/gstelement.c: (gst_element_message_full):
5196 also show file/line/func if no additional debug was given
5198 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5200 * win32/vs7/grammar.vcproj:
5201 activate copy of autogenerated files for Release mode
5203 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5205 * win32/common/libgstreamer.def:
5206 export gst_value_compare
5208 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5210 * plugins/elements/Makefile.am:
5211 * plugins/elements/gstelements.c:
5212 * plugins/elements/gstfdsink.c: (_do_init),
5213 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5214 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5215 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5216 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5217 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5218 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5219 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5220 * plugins/elements/gstfdsink.h:
5221 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5223 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5225 * docs/manual/advanced-dparams.xml:
5227 * docs/manual/advanced-position.xml:
5228 * docs/manual/basics-init.xml:
5229 * docs/manual/manual.xml:
5230 * docs/manual/titlepage.xml:
5232 * docs/pwg/titlepage.xml:
5233 cleanup xml (more to come)
5234 * libs/gst/controller/gstcontroller.c:
5237 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5239 * win32/vs6/grammar.dsp:
5240 add autogen of gstmarshal.c,h for Release mode
5242 2006-01-30 Wim Taymans <wim@fluendo.com>
5244 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5245 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5246 (gst_base_sink_handle_object), (gst_base_sink_event),
5247 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5248 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5249 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5250 (gst_base_sink_deactivate), (gst_base_sink_activate),
5251 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5252 (gst_base_sink_query), (gst_base_sink_change_state):
5253 Basesink cleanups, remove some old code.
5254 Handle the case where a subclass can preroll in the render
5255 method (mostly audiosinks).
5257 Remove some locks around variables that are now protected
5258 with the PREROLL_LOCK (clock_id, flushing, ..).
5259 Optimize position query some more, do correct locking.
5260 Remove old code to push queue in state change, this is not
5261 needed anymore since preroll blocks on all prerollable items
5263 Almost implemented as described in design doc.
5265 2006-01-30 Wim Taymans <wim@fluendo.com>
5267 * tests/check/gst/gstbin.c: (GST_START_TEST):
5268 Wait for refcount to settle down before checking.
5270 2006-01-30 Wim Taymans <wim@fluendo.com>
5272 * docs/design/part-element-sink.txt:
5273 Pseudo code overview of desired sink behaviour regarding
5276 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5277 * win32/vs6/grammar.dsp:
5278 fix some bugs in Release mode for autogenerated files
5280 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5281 * win32/common/libgstbase.def:
5282 * win32/common/libgstreamer.def:
5283 export some new symbols: gst_base_src_set_format,
5284 gst_iterator_next, gst_structure_set_valist
5286 2006-01-29 Julien MOUTTE <julien@moutte.net>
5288 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5289 Set pad functions unconditionally. Fixes #329105.
5291 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5293 add vs8 project files created by Sergey Scobich
5295 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5297 * gst/gstutils.c: (gst_element_unlink_pads):
5298 Don't leak pad references.
5300 * tests/check/elements/fakesink.c: (GST_START_TEST):
5301 * tests/check/generic/sinks.c: (GST_START_TEST):
5302 * tests/check/generic/states.c: (GST_START_TEST):
5303 * tests/check/gst/gstbin.c: (GST_START_TEST):
5304 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5305 * tests/check/gst/gstelement.c: (GST_START_TEST):
5306 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5307 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5308 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5309 Fix a bunch of leaks. Make generic/sinks.c
5310 use a bit less cpu by slowing the buffer rate
5311 between fakesrc and fakesink.
5313 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5315 * gst/gstelement.c: (gst_element_send_event):
5318 * gst/gstiterator.c:
5319 * gst/gstiterator.h:
5320 * gst/gstpad.c: (gst_pad_send_event):
5321 * gst/gststructure.c:
5325 * libs/gst/base/gstadapter.c:
5326 doc fixes, to link to function, just write gst_cool_function(), don't
5329 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5331 * plugins/elements/gsttee.c: (gst_tee_do_push),
5332 (gst_tee_handle_buffer):
5333 Always prefer an actual return value from a src
5334 pad in place of NOT_LINKED. This means we return
5335 WRONG_STATE when all src pads are WRONG_STATE
5336 instead of NOT_LINKED.
5338 Lock when replacing the last message to prevent
5339 racing with the get_property method.
5343 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5345 * tests/check/Makefile.am:
5346 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5348 Add a very simple check that should have caught the memleak I fixed
5349 last night (if not for the slice allocator hiding it)
5351 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5353 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5354 (gst_bin_remove_func), (gst_bin_handle_message_func),
5355 (bin_query_duration_fold), (bin_query_generic_fold):
5356 Clean up references to the clock provider when disposed or when
5357 handling a clock-lost message from it.
5359 Unref sinks when performing a query via gst_iterator_fold, as the
5360 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5362 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5363 (gst_clock_set_master):
5364 Drop our reference to the master clock, if any, when we are disposed.
5366 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5367 Chain up in dispose.
5369 2006-01-26 Wim Taymans <wim@fluendo.com>
5371 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5374 2006-01-26 Julien MOUTTE <julien@moutte.net>
5376 * plugins/elements/gsttee.c: (gst_tee_do_push),
5377 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5378 handles pad being NOT_LINKED or in WRONG_STATE.
5380 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5385 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5388 remove obsolete entry
5390 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5392 * docs/gst/gstreamer-sections.txt:
5393 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5394 (gst_bin_iterate_sources), (gst_bin_send_event):
5396 * gst/gstelement.c: (gst_element_send_event):
5398 * gst/gstpad.c: (gst_pad_send_event):
5399 added code for downstream events, reviewed docs in gstevent.c
5401 2006-01-25 Julien MOUTTE <julien@moutte.net>
5403 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5404 We only query position using the clock in the playing state.
5405 Query peer in the other cases.
5406 * win32/common/config.h: Updates.
5408 2006-01-24 Wim Taymans <wim@fluendo.com>
5410 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5411 A clock entry that is scheduled for the exact time of the
5412 clock is still in time.
5414 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5415 (gst_base_sink_do_sync):
5416 Add some more debug info.
5418 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5421 Add new vs7 project files and solution.
5423 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5426 all files removed as they were out-dated.
5428 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5430 * docs/random/release:
5432 * gst/gstbin.c: (gst_bin_init):
5433 * gst/gstbus.c: (gst_bus_new):
5435 * gst/gstpipeline.c: (gst_pipeline_init):
5436 use gst_bus_new(), improve logging, fix docs
5437 * win32/common/config.h:
5438 update for cvs build
5440 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5443 up required version of automake to 1.7
5445 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5447 * win32/common/libgstreamer.def:
5448 export gst_buffer_is_metadata_writable
5450 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5452 * docs/gst/gstreamer-sections.txt:
5454 Add gst_event_replace() (#327001)
5456 2006-01-20 Wim Taymans <wim@fluendo.com>
5458 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5459 Make it actually compile too..
5461 2006-01-20 Wim Taymans <wim@fluendo.com>
5464 Clarify behaviour of _is_equal() when passing NULL parameters.
5466 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5468 Cleanups. Don't unref NULL caps.
5469 When setting the same caps, protect caps of the pad with
5471 Use full functionality of _is_equal() when comparing caps.
5473 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5475 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5476 Don't loop infinitely if there are no buffers to present. Partially
5477 fixes #327197, but collectpads is just broken for reusing elements
5478 to do multiple encodes atm.
5480 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5482 * tools/gst-inspect.c: (print_element_features):
5483 * tools/gst-xmlinspect.c: (main):
5484 URL_HANDLER is not a plugin feature we can search for in
5487 2006-01-19 Edward Hervey <edward@fluendo.com>
5489 * gst/gstelement.c: (gst_element_pads_activate):
5490 When activating, do src pads first, then sink pads.
5491 When de-activating, do sink pads first, then src pads.
5493 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5495 * docs/gst/gstreamer-sections.txt:
5496 Add gst_index_add_associationv to the docs
5498 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5503 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5504 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5505 Do some refactoring. Doesn't actually change functionality,
5506 but makes landing the DRAIN event easier later.
5508 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5510 * docs/pwg/advanced-scheduling.xml:
5511 Update from 0.9.x to 0.10 API and make example a bit
5514 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5516 * docs/gst/gstreamer-sections.txt:
5517 Add gst_buffer_(is|make)_metadata_writable methods.
5519 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5521 * docs/design/part-sparsestreams.txt:
5522 Update sparse streams doc, hopefully for greater clarity
5524 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5526 * docs/design/part-events.txt:
5527 Remove mention of FILLER events.
5530 * docs/design/part-sparsestreams.txt:
5531 Write some things about using NEWSEGMENT to keep sparse streams
5534 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5536 * gst/gstbin.c: (gst_bin_dispose):
5537 Guard gst_object_unref call against a NULL object (dispose
5538 can theoretically be called multiple times).
5540 2006-01-18 Wim Taymans <wim@fluendo.com>
5542 * gst/gstbin.c: (gst_bin_element_set_state):
5543 * gst/gstclock.c: (gst_clock_id_wait):
5544 Added some more debug info.
5546 * libs/gst/base/gstadapter.c:
5549 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5550 (gst_base_sink_do_sync), (gst_base_sink_chain):
5551 Added some comments.
5553 2006-01-18 Wim Taymans <wim@fluendo.com>
5555 * tests/check/Makefile.am:
5556 * tests/check/elements/fakesink.c: (chain_async_buffer),
5557 (chain_async), (chain_async_return), (GST_START_TEST),
5558 (fakesink_suite), (main):
5559 Added fakesink test that checks prerolling and clipping
5562 * tests/check/gst/gstutils.c: (GST_START_TEST):
5563 Make check run faster so that buildbots don't timeout.
5565 2006-01-18 Wim Taymans <wim@fluendo.com>
5567 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5568 (gst_base_sink_do_sync):
5570 When the sink finishes blocking on the preroll buffer, it can
5571 immediatly render it instead of rendering when the next buffer
5574 2006-01-18 Wim Taymans <wim@fluendo.com>
5576 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5577 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5578 (gst_base_sink_chain):
5580 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5581 Don't store _last_stop if the buffer is dropped.
5583 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5585 * plugins/elements/gsttypefindelement.c:
5586 (gst_type_find_element_class_init):
5587 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5588 object method handler that sets the caps on the pad and we want
5589 that to happen before we emit the signal (fixes e.g. feeding a
5590 plain text file to decodebin).
5592 2006-01-18 Christian Schaller <Christian@fluendo.com>
5594 * gst/gstplugin.c: Add MPL and Proprietary as license options
5596 2006-01-18 Andy Wingo <wingo@pobox.com>
5598 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5599 symbol was exported before, it appears this was just an oversight.
5601 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5603 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5604 prototype to gint. OK since this prototype was not in the header.
5606 2006-01-17 Andy Wingo <wingo@pobox.com>
5608 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5609 registry while we remove plugins.
5611 * tools/gst-inspect.c (print_element_info): Don't unref the
5612 factory arg, that should be the responsibility of whatever code
5613 received the ref. Fixes a double-free when called from
5614 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5615 (main): Unref the factory if we have one.
5616 (print_element_list): No change -- relies on the
5617 plugin_feature_list_free to free the list of features.
5619 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5621 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5622 (gst_buffer_make_metadata_writable):
5624 * libs/gst/base/gstbasetransform.c:
5625 (gst_base_transform_prepare_output_buf):
5626 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5627 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5628 Replace gst_buffer_(make|is)_metadata_writable patch now
5629 that the release is out.
5631 2006-01-17 Andy Wingo <wingo@pobox.com>
5633 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5634 in the present tense without reference to versions.
5636 * gst/gstregistry.c (gst_registry_add_plugin)
5637 (gst_registry_remove_plugin, gst_registry_remove_feature)
5638 (gst_registry_find_feature, gst_registry_get_feature_list)
5639 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5640 (gst_registry_lookup, gst_registry_scan_path)
5641 (_gst_registry_remove_cache_plugins)
5642 (gst_registry_get_feature_list_by_plugin): Add argument
5645 === release 0.10.2 ===
5647 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5650 releasing 0.10.2, "If man is five"
5652 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5656 * libs/gst/base/gstbasetransform.c:
5657 (gst_base_transform_prepare_output_buf):
5658 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5659 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5660 Back out patch until after the release.
5662 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5664 * gst/gstminiobject.c:
5665 Spelling fix in docs.
5666 * ChangeLog - remove conflict indicator
5668 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5670 Reviewed By: Andy Wingo
5672 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5673 (gst_buffer_make_metadata_writable):
5675 Add gst_buffer_(is|make)_metadata_writable as analogues of
5676 gst_buffer_(is|make)_writable.
5678 * libs/gst/base/gstbasetransform.c:
5679 (gst_base_transform_prepare_output_buf):
5680 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5681 Use name gst_buffer_(is|make)_metadata_writable functions.
5683 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5684 Test gst_buffer_(is|make)_metadata_writable
5688 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
5690 * docs/manual/Makefile.am:
5691 don't do parallel make
5694 * win32/common/config.h.in:
5695 add generations for HOST_CPU and GST_MAJORMINOR
5696 * win32/common/config.h:
5697 commit generated result
5699 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
5701 * docs/manual/appendix-integration.xml:
5702 Update GNOME integration section to use gst_init_get_option_group()
5703 instead of the old popt stuff (#322911). Also, GNOME applications
5704 should now use gconf*sink and gconf*src instead of the old gconf
5707 2006-01-13 Stefan Kost <ensonic@users.sf.net>
5710 * docs/gst/gstreamer-docs.sgml:
5711 * docs/gst/gstreamer-sections.txt:
5712 * docs/libs/gstreamer-libs-sections.txt:
5713 add new API entries to the docs
5714 * libs/gst/controller/Makefile.am:
5715 * libs/gst/controller/gstcontroller.c:
5716 * libs/gst/controller/gstcontroller.h:
5717 * libs/gst/controller/gstcontrollerprivate.h:
5718 * libs/gst/controller/gsthelper.c:
5719 * libs/gst/controller/gstinterpolation.c:
5720 move private structs to private header
5722 gstreamer-0.7 -> gstreamer-0.10
5723 * tests/check/libs/struct_i386.h:
5724 remove private structs
5726 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5728 * plugins/indexers/Makefile.am:
5729 Fixes as part of #317048
5731 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5733 * plugins/indexers/Makefile.am:
5734 fix #316086 - compilation when mmap is missing
5736 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
5738 * libs/gst/base/gstbasesink.c:
5739 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
5740 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5741 * win32/common/config.h:
5742 added some defines GST_MAJORMINOR and HOST_CPU
5743 * win32/common/libgstbase.def:
5744 * win32/common/libgstreamer.def:
5745 added some exported functions.
5747 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5749 * libs/gst/controller/gstcontroller.c:
5750 (gst_controlled_property_set_interpolation_mode),
5751 (gst_controlled_property_new):
5752 * libs/gst/controller/gstcontroller.h:
5753 * libs/gst/controller/gstinterpolation.c:
5754 (interpolate_none_get_string_value_array):
5755 make G_TYPE_STRING controlable
5757 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5760 * tools/gst-feedback.1.in:
5761 * tools/gst-inspect.1.in:
5762 * tools/gst-launch.1.in:
5763 * tools/gst-md5sum.1.in:
5764 * tools/gst-typefind.1.in:
5765 * tools/gst-xmlinspect.1.in:
5766 * tools/gst-xmllaunch.1.in:
5767 cleanup man-pages, remove reference to gst-register, document env-vars
5769 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
5771 * gst/gstbuffer.c: (gst_buffer_span):
5772 gst_buffer_span should copy the timestamp of the first buffer
5773 if they were both originally overlapping subbuffers of the
5774 same parent, using the same logic as the 'slow copy' case.
5776 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
5778 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5779 Need to awaken ALL the pads when we pop a buffer, otherwise
5780 collectpads only works when there is 2 input streams.
5782 2006-01-11 Stefan Kost <ensonic@users.sf.net>
5784 * docs/random/ensonic/media-device-daemon.txt:
5787 fix doc example, add clarification
5788 * tools/gst-launch.1.in:
5789 add initial info about GST_PLUGIN_PATH, needs more work
5791 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
5793 * docs/manual/basics-bins.xml:
5794 * docs/manual/basics-elements.xml:
5795 * docs/manual/intro-basics.xml:
5796 Some more minor docs additions and updates.
5798 2006-01-11 Wim Taymans <wim@fluendo.com>
5800 * docs/manual/basics-bins.xml:
5801 * docs/manual/basics-elements.xml:
5802 Some small fixes as pointed out by Ser-ver on IRC.
5804 2006-01-10 Edward Hervey <edward@fluendo.com>
5806 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5807 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5808 the single-segment mode.
5810 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
5812 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5814 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5815 (gst_base_src_perform_seek), (gst_base_src_send_event),
5816 (gst_base_src_set_property), (gst_base_src_get_property),
5817 (gst_base_src_loop), (gst_base_src_start),
5818 (gst_base_src_activate_push):
5819 * libs/gst/base/gstbasesrc.h:
5820 Name (private) union; makes Sun's Forte compiler happy (#324900).
5822 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
5825 gst-register is gone.
5827 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
5829 * gst/gstvalue.c: (_gst_value_initialize):
5830 make the G_TYPE_DATE instantiation work if debug is disabled
5832 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
5834 * gst/gstmessage.c: (gst_message_parse_tag),
5835 (gst_message_parse_error), (gst_message_parse_warning):
5836 Don't crash when return location for error/warning debug
5837 string is NULL; add fact that return locations can be
5838 NULL to docs where appropriate.
5840 2006-01-05 Wim Taymans <wim@fluendo.com>
5842 * gst/gstplugin.c: (gst_plugin_load_file):
5843 Replace strdup by g_strdup.
5845 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5847 * docs/pwg/advanced-types.xml:
5850 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5852 submitted by: Abel Cheung
5856 Added Chinese (traditional) translation
5858 2006-01-04 Wim Taymans <wim@fluendo.com>
5860 * docs/manual/basics-pads.xml:
5861 * docs/plugins/Makefile.am:
5862 * docs/plugins/gstreamer-plugins-docs.sgml:
5863 * docs/plugins/gstreamer-plugins-sections.txt:
5864 * docs/pwg/advanced-clock.xml:
5865 * docs/pwg/advanced-scheduling.xml:
5866 * docs/pwg/advanced-types.xml:
5867 * plugins/elements/gstfdsink.c:
5868 * plugins/elements/gstfdsrc.c:
5869 * plugins/elements/gstfdsrc.h:
5870 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5871 * plugins/elements/gstidentity.h:
5872 * plugins/elements/gstqueue.h:
5873 * plugins/elements/gsttee.c:
5874 * plugins/elements/gsttee.h:
5875 * plugins/elements/gsttypefindelement.c:
5876 (gst_type_find_element_class_init):
5877 * plugins/elements/gsttypefindelement.h:
5878 Small updates to various docs.
5879 Added core plugins to docs.
5881 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5884 add a suppression for liboil's uninitialized variable
5886 2006-01-02 James Livingston <jrl at ids dot org dot au>
5888 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5891 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5892 macro, so that gcc doesn't complain if the -Wmissing-prototypes
5893 compiler switch is being used (#325429).
5895 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
5897 * gst/gstbin.c: (gst_bin_query):
5898 Disable duration query caching in bins until it gets
5899 fixed (see #324807).
5901 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5903 * tools/gst-inspect.c: (print_element_properties_info):
5904 Handle properties of POINTER and BOXED type.
5906 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5908 * gst/gst.c: (init_post):
5909 Init tags stuff and some other things before loading
5910 any static plugins (there may be other static plugins
5911 than just the GStreamer ones, and they may want to
5912 register their own tags or formats or whatever, and
5913 preferably without segfaulting).
5915 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5916 Print at least a warning in the debug logs if we drop a
5917 query just because we don't know how to adjust the value
5918 in the particular format.
5920 2005-12-24 David Schleef <ds@schleef.org>
5922 * tools/gstreamer-completion:
5923 Replacement for gst-complete written in sh and sed. Only
5924 completes names of features, but that's 90% of what I want
5925 it for. Properties are not available in registry.xml. (Maybe
5928 === release 0.10.1 ===
5930 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
5933 releasing 0.10.1, "Nollaig chridheil"
5935 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
5938 Add missing quote, should be make ERROR_CFLAGS="".
5940 2005-12-20 Wim Taymans <wim@fluendo.com>
5942 * docs/design/part-trickmodes.txt:
5943 More documentation on trickmodes.
5945 2005-12-20 Edward Hervey <edward@fluendo.com>
5947 * gst/gstcaps.c: (gst_static_caps_get_type):
5949 API addition: GST_TYPE_STATIC_CAPS
5950 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
5951 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
5952 * gst/gstpadtemplate.h:
5953 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
5954 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
5957 2005-12-18 Wim Taymans <wim@fluendo.com>
5959 * libs/gst/base/gstadapter.c:
5960 * libs/gst/base/gstadapter.h:
5961 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5962 (gst_base_sink_get_position):
5963 * libs/gst/base/gstbasesink.h:
5964 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5965 (gst_base_src_default_query), (gst_base_src_default_do_seek),
5966 (gst_base_src_do_seek), (gst_base_src_perform_seek),
5967 (gst_base_src_send_event), (gst_base_src_update_length),
5968 (gst_base_src_get_range), (gst_base_src_loop),
5969 (gst_base_src_start):
5970 * libs/gst/base/gstbasesrc.h:
5971 * libs/gst/base/gstbasetransform.h:
5972 * libs/gst/base/gstcollectpads.h:
5973 * libs/gst/base/gstpushsrc.c:
5974 * libs/gst/base/gstpushsrc.h:
5975 * libs/gst/dataprotocol/dataprotocol.c:
5976 * libs/gst/dataprotocol/dataprotocol.h:
5977 * libs/gst/net/gstnetclientclock.h:
5978 * libs/gst/net/gstnettimeprovider.h:
5979 Documentation updates.
5981 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
5983 * docs/manual/basics-helloworld.xml:
5984 Remove superfluous closing bracket in helloworld example.
5986 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
5988 * tools/gst-launch.1.in:
5989 Update gst-launch man page; add a section with useful
5990 environment variables. Fixes #323882.
5992 2005-12-16 Stefan Kost <ensonic@users.sf.net>
5995 * gst/gst_private.h:
5996 change some char* into char[]
5998 2005-12-16 Wim Taymans <wim@fluendo.com>
6000 * gst/gstregistryxml.c: (load_feature):
6002 Don't use g_object_unref on GstObjects so that we avoid
6003 leaks on unsafe glibs.
6005 2005-12-16 Wim Taymans <wim@fluendo.com>
6007 * gst/gstbin.c: (gst_bin_recalc_state):
6010 2005-12-16 Wim Taymans <wim@fluendo.com>
6013 Added make forever target for check.
6015 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6017 * gst/gst.c: (init_post):
6018 make the registry cache file HOST_CPU-dependent
6020 2005-12-16 Andy Wingo <wingo@pobox.com>
6022 * plugins/elements/gstbufferstore.c
6023 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6026 * tests/check/gst/gstobject.c
6027 (test_fake_object_name_threaded_unique): Pay attention to
6028 g_list_sort return value.
6030 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6032 * tools/gst-feedback-m.m:
6033 Update for 0.9/0.10 (fixes #323870).
6035 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6037 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6038 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6040 * tests/check/gst/gstminiobject.c: (my_foo_init),
6041 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6042 (test_value_collection), (gst_mini_object_suite):
6043 Add test to ensure refcounts end up as expected when passing
6044 GstMiniObjects through g_object_get() and g_object_set().
6046 2005-12-14 Julien MOUTTE <julien@moutte.net>
6048 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6049 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6050 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6051 of collectpads. This version removes a lot of races without
6052 touching API/ABI. Yay !
6054 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6056 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6057 Don't allow activation of a srcpad in pull_range if it has no
6059 Change some debug statements to be a little clearer
6061 * plugins/elements/gsttypefindelement.c:
6062 (gst_type_find_handle_src_query):
6063 Check that we have a peer before executing queries thereupon.
6065 * tests/examples/metadata/read-metadata.c: (message_loop):
6066 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6067 immediately return us any available message with 0 timeout.
6069 2005-12-12 Michael Smith <msmith@fluendo.com>
6071 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6072 Don't unref factories after calling them.
6073 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6074 * plugins/elements/gsttypefindelement.c:
6075 (gst_type_find_element_chain):
6076 Free lists of factories after using them. Fixing typefinding memory
6079 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6081 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6082 (gst_plugin_feature_load):
6083 more meaningful debug output
6085 * tests/Makefile.am:
6086 * tests/old/examples/Makefile.am:
6087 make make distcheck happy again
6089 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6091 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6092 Catch the special case where we are operating chain-based,
6093 but the downstream peer pad has no chain function. Emit a
6094 custom error message in this case instead of letting the
6095 core generate one implying that this is some sort of core
6096 bug. It's not, it just means that whatever got plugged
6097 into the pipeline downstream when we announced the type
6098 can only operate pull-based, while our source can only
6099 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6100 Error string has not been marked for translation yet, as
6101 it probably needs some more work first.
6103 (gst_type_find_element_get_best_possibility):
6104 Add helper function to find the best of all available
6105 found possibilities that qualify given the min. threshold.
6107 (gst_type_find_element_handle_event):
6108 Fix the case where we get an EOS while still in TYPEFIND
6109 mode (we want to chose the best of all possible types,
6110 not just the first type that happens to be in our unsorted
6111 list of possible types).
6113 (gst_type_find_element_chain):
6114 Make sure we return GST_FLOW_ERROR when we errored out
6115 in stop_typefinding(); also, don't just find the best of
6116 all found type entries and then use the last examined
6117 type entry, but actually use the best entry.
6119 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6121 * tests/examples/typefind/typefind.c: (type_found):
6122 * tests/examples/xml/runxml.c: (xml_loaded):
6123 More gcc4 fixes and a mem leak fix.
6125 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6127 * tests/examples/xml/createxml.c: (object_saved):
6130 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6132 * tests/Makefile.am:
6133 enable the examples even more
6135 2005-12-12 Andy Wingo <wingo@pobox.com>
6137 * libs/gst/net/gstnettimeprovider.c
6138 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6139 (gst_net_time_provider_set_property)
6140 (gst_net_time_provider_get_property):
6141 API addition: Export "active" as a GObject property.
6142 (gst_net_time_provider_thread): Only respond to time queries if
6143 the time provider is active.
6145 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6146 NetTimeProvider, preserving binary compat.
6148 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6150 * tests/examples/controller/audio-example.c: (main):
6151 * tests/examples/launch/Makefile.am:
6152 convert comments again
6154 2005-12-12 Wim Taymans <wim@fluendo.com>
6156 * libs/gst/base/gstpushsrc.c:
6159 2005-12-12 Wim Taymans <wim@fluendo.com>
6161 * docs/libs/gstreamer-libs-sections.txt:
6162 Added new symbol to docs.
6164 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6165 (gst_base_src_init), (gst_base_src_set_format),
6166 (gst_base_src_default_query), (gst_base_src_query),
6167 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6168 (gst_base_src_perform_seek), (gst_base_src_send_event),
6169 (gst_base_src_default_event), (gst_base_src_event_handler),
6170 (gst_base_src_set_property), (gst_base_src_get_property),
6171 (gst_base_src_wait), (gst_base_src_do_sync),
6172 (gst_base_src_update_length), (gst_base_src_get_range),
6173 (gst_base_src_check_get_range), (gst_base_src_loop),
6174 (gst_base_src_default_negotiate), (gst_base_src_start),
6175 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6176 (gst_base_src_change_state):
6177 * libs/gst/base/gstbasesrc.h:
6178 Implement seeking to other formats than _BYTES.
6179 Implement more seeking methods correctly.
6181 Added query vmethod.
6182 Added do_seek vmethod to make life easier for subclasses
6184 API addition: gst_base_src_set_format()
6186 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6188 * tests/examples/Makefile.am:
6191 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6194 * docs/random/ensonic/media-device-daemon.txt:
6195 * tests/examples/controller/.cvsignore:
6196 * tests/examples/controller/Makefile.am:
6197 * tests/examples/controller/audio-example.c: (main):
6198 * tests/examples/helloworld/.cvsignore:
6199 * tests/examples/helloworld/Makefile.am:
6200 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6201 * tests/examples/launch/.cvsignore:
6202 * tests/examples/launch/Makefile.am:
6203 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6204 * tests/examples/metadata/.cvsignore:
6205 * tests/examples/metadata/Makefile.am:
6206 * tests/examples/metadata/read-metadata.c: (message_loop),
6207 (make_pipeline), (print_tag), (main):
6208 * tests/examples/queue/.cvsignore:
6209 * tests/examples/queue/Makefile.am:
6210 * tests/examples/queue/queue.c: (event_loop), (main):
6211 * tests/examples/typefind/.cvsignore:
6212 * tests/examples/typefind/Makefile.am:
6213 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6215 * tests/examples/xml/.cvsignore:
6216 * tests/examples/xml/Makefile.am:
6217 * tests/examples/xml/createxml.c: (object_saved), (main):
6218 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6219 * tests/old/examples/Makefile.am:
6220 * tests/old/examples/TODO:
6221 * tests/old/examples/controller/.cvsignore:
6222 * tests/old/examples/controller/Makefile.am:
6223 * tests/old/examples/controller/audio-example.c:
6224 * tests/old/examples/helloworld/.cvsignore:
6225 * tests/old/examples/helloworld/Makefile.am:
6226 * tests/old/examples/helloworld/helloworld.c:
6227 * tests/old/examples/launch/.cvsignore:
6228 * tests/old/examples/launch/Makefile.am:
6229 * tests/old/examples/launch/mp3parselaunch.c:
6230 * tests/old/examples/launch/mp3play:
6231 * tests/old/examples/manual/Makefile.am:
6232 * tests/old/examples/metadata/Makefile.am:
6233 * tests/old/examples/metadata/read-metadata.c:
6234 * tests/old/examples/queue/.cvsignore:
6235 * tests/old/examples/queue/Makefile.am:
6236 * tests/old/examples/queue/queue.c:
6237 * tests/old/examples/typefind/.cvsignore:
6238 * tests/old/examples/typefind/Makefile.am:
6239 * tests/old/examples/typefind/typefind.c:
6240 * tests/old/examples/xml/.cvsignore:
6241 * tests/old/examples/xml/Makefile.am:
6242 * tests/old/examples/xml/createxml.c:
6243 * tests/old/examples/xml/runxml.c:
6244 applied some simple fixing to some examples
6245 re-enabled the working examples
6247 2005-12-12 Wim Taymans <wim@fluendo.com>
6249 * gst/gstsegment.c: (gst_segment_init),
6250 (gst_segment_set_last_stop), (gst_segment_set_seek),
6251 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6252 (gst_segment_to_running_time):
6253 Added more documentation.
6254 Make sure the last_pos value is updated properly.
6255 Make sure to_stream_time and to_running_time don't
6256 operate on wrong values.
6258 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6261 2005-12-12 Michael Smith <msmith@fluendo.com>
6263 * plugins/elements/gsttypefindelement.c: (free_entry),
6264 (gst_type_find_element_chain):
6265 Now that we're not leaking factories, make sure we keep references
6266 to them while we need them.
6268 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6270 * tests/check/gst/struct_i386.h:
6271 ifdef out the XML structs
6273 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6275 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6276 floor is not needed, F is always positive; this obviates the
6277 need for adding -lm when building without libxml
6279 2005-12-12 Wim Taymans <wim@fluendo.com>
6281 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6282 Take current playback rate into account when reporting
6285 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6287 * docs/manual/mime-world.fig:
6288 Let's try this again, this time with a file that is
6289 actually in XFig format.
6291 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6293 * docs/manual/mime-world.fig:
6294 Add audioconvert element to diagram so that it
6295 matches the text and the code (fixes #319526).
6297 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6299 * docs/pwg/building-chainfn.xml:
6300 * docs/pwg/building-pads.xml:
6301 * docs/pwg/building-state.xml:
6302 * docs/pwg/other-source.xml:
6303 Update state change stuff for 0.10 (fixes #322969).
6305 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6307 * docs/manual/advanced-dataaccess.xml:
6308 * docs/manual/appendix-checklist.xml:
6309 * docs/manual/appendix-programs.xml:
6310 * docs/manual/basics-pads.xml:
6311 * docs/manual/highlevel-components.xml:
6312 * docs/manual/manual.xml:
6313 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6314 add converters in front of pipelines; remove curly
6315 brackets for threads stuff, they no longer exist; use
6316 GST_TYPE_FRACTION for framerates; update some pieces of
6317 code to 0.10, but there's plenty more to do.
6319 * docs/manual/appendix-porting.xml:
6320 Expand on asynchroneous state changes; s/0.9/0.10/;
6321 mention disappearance of gst_init_get_popt_table()
6324 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6326 * docs/faq/using.xml:
6327 Spider no longer exists, and neither does gst-launch-ext.
6328 Update examples to use decodebin and playbin and put
6329 converters in front of sinks (fixes #323726).
6331 2005-12-09 Michael Smith <msmith@fluendo.com>
6333 * plugins/elements/gsttypefindelement.c: (find_peek),
6334 (gst_type_find_element_chain):
6335 Fix leaking element factories in typefinding.
6336 Fix problem where we forgot about a probable type on non-seekable
6337 files, and thus later mis-typefound it.
6339 2005-12-09 Michael Smith <msmith@fluendo.com>
6341 * common/m4/gst-makecontext.m4:
6342 * common/m4/gst-mcsc.m4:
6344 * win32/common/config.h:
6345 * win32/common/config.h.in:
6346 Remove makecontext stuff; not used in 0.10 and causes problems on
6347 HPUX according to bug #322441
6349 2005-12-07 Wim Taymans <wim@fluendo.com>
6351 * tests/check/Makefile.am:
6352 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6354 * tests/check/libs/struct_i386.h:
6355 Added ABI check for libs
6357 2005-12-07 Wim Taymans <wim@fluendo.com>
6359 * tests/check/Makefile.am:
6360 And add the struct_i386.h to dist.
6362 2005-12-07 Wim Taymans <wim@fluendo.com>
6364 * tests/check/Makefile.am:
6365 * tests/check/gst/.cvsignore:
6366 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6368 * tests/check/gst/struct_i386.h:
6369 Added check for ABI compatibility.
6371 2005-12-07 Wim Taymans <wim@fluendo.com>
6373 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6374 (gst_fake_src_get_times), (gst_fake_src_create):
6375 Fix broken sync option, fixes #323259
6377 2005-12-07 Wim Taymans <wim@fluendo.com>
6382 * gst/gstcaps.c: (gst_caps_is_equal):
6383 Don't assert on NULL <--> X. Fixes #323260
6385 * gst/gstminiobject.c: (gst_mini_object_replace):
6386 If we're doing atomic operations, we might just as well use
6387 the proper way to get an atomic pointer.
6389 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6392 2005-12-07 Michael Smith <msmith@fluendo.com>
6394 * gst/parse/grammar.y:
6395 Remove handling of { } for threads.
6397 2005-12-06 David Schleef <ds@schleef.org>
6399 * libs/gst/base/gstbasetransform.c: speling fix.
6401 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6403 * docs/libs/tmpl/gstdataprotocol.sgml:
6404 * docs/random/omega/testing/gstobject.c:
6408 * gst/gstelementfactory.c:
6411 * gst/gstghostpad.c:
6413 * gst/gstpadtemplate.c:
6414 * gst/gstregistryxml.c:
6416 * gst/gsttagsetter.c:
6417 * gst/gsttypefind.c:
6419 * libs/gst/base/gstbasesrc.c:
6420 * libs/gst/net/gstnetclientclock.c:
6421 * libs/gst/net/gstnettimeprovider.c:
6422 * plugins/elements/gstfakesrc.c:
6423 * plugins/elements/gstfdsrc.c:
6424 * plugins/elements/gstfilesrc.c:
6425 * plugins/elements/gstidentity.c:
6426 * plugins/elements/gstqueue.c:
6427 * plugins/elements/gsttypefindelement.c:
6428 * plugins/indexers/gstfileindex.c:
6429 * plugins/indexers/gstmemindex.c:
6430 * tests/check/gst/gsttag.c:
6431 * tests/old/examples/cutter/cutter.c:
6432 * tests/old/examples/mixer/mixer.c:
6433 * tests/old/examples/xml/runxml.c: (main):
6434 * tests/old/testsuite/caps/normalisation.c:
6435 * tests/old/testsuite/debug/global.c:
6436 * tests/old/testsuite/parse/parse1.c:
6437 * tools/gst-xmlinspect.c:
6438 * win32/common/dirent.c:
6441 === release 0.10.0 ===
6443 2005-12-05 <thomas (at) apestaart (dot) org>
6446 releasing 0.10.0, "Maroilles"
6448 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6450 submitted by: Funda Wang <fundawang@linux.net.cn>
6454 added Chinese (Traditional) translation
6456 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6458 * docs/gst/gstreamer-sections.txt:
6459 * docs/libs/tmpl/gstdataprotocol.sgml:
6460 * docs/random/thomasvs/TODO:
6465 2005-12-05 Andy Wingo <wingo@pobox.com>
6467 patch by: Wim Taymans <wim@fluendo.com>
6469 * libs/gst/base/gstbasetransform.c
6470 (gst_base_transform_prepare_output_buf)
6471 (gst_base_transform_buffer_alloc):
6472 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6473 alloc_buffer_and_set_caps.
6475 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6476 set_caps on the source pad.
6477 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6478 alloc_buffer used to do. Fixes #322874.
6480 * docs/gst/gstreamer-sections.txt:
6481 * docs/design/part-negotiation.txt:
6482 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6485 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6487 patch by: Sebastien Moutte
6490 * win32/common/config.h.in:
6491 * win32/vs6/libgstcontroller.dsp:
6494 2005-12-05 Wim Taymans <wim@fluendo.com>
6496 * gst/gstcaps.c: (gst_caps_is_equal):
6497 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6498 (gst_fake_src_create):
6499 Back out previous code changes, leave doc updates, file bugs
6502 2005-12-05 Wim Taymans <wim@fluendo.com>
6504 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6505 (gst_fake_src_get_times), (gst_fake_src_create):
6506 * plugins/elements/gstfakesrc.h:
6507 Fix broken sync code.
6509 2005-12-05 Wim Taymans <wim@fluendo.com>
6511 * gst/gstcaps.c: (gst_caps_is_equal):
6512 Comparing NULL against !NULL yields different caps, not a
6515 2005-12-05 Wim Taymans <wim@fluendo.com>
6517 * gst/gstpipeline.c:
6518 Fix small typo in docs.
6520 2005-12-05 Andy Wingo <wingo@pobox.com>
6522 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6524 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6525 registries/plugins with a MAJORMINOR one.
6526 (plugin_desc): Rename library from gstcoreleements to
6527 staticelements. Fixes #323222.
6529 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6531 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6532 Change debug category to 'collectpads' from 'collect_pads'
6535 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6537 patch by: Sebastien Moutte
6539 * libs/gst/controller/gstinterpolation.c:
6540 use convert function for uint64/double
6541 * win32/vs6/libgstcontroller.dsp:
6544 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6546 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6547 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6549 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6550 add tests that seem to show that the guint64/gdouble conversions
6553 2005-12-02 Wim Taymans <wim@fluendo.com>
6555 * gst/gstregistry.c: (gst_registry_add_path):
6556 * gst/gstregistry.h:
6557 * gst/gstregistryxml.c:
6560 2005-12-02 Wim Taymans <wim@fluendo.com>
6562 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6563 (gst_util_uint64_scale_int):
6566 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6569 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6572 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6575 * win32/common/config.h:
6576 * win32/vs6/gstreamer.dsw:
6577 * win32/vs6/libgstcoreelements.dsp:
6578 * win32/vs6/libgstelements.dsp:
6579 renamed core elements plugin
6581 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6583 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6585 do piece-wise major/minor comparison so 0.9 < 0.10
6586 also allow .exe extensions for tools
6588 2005-12-02 Michael Smith <msmith@fluendo.com>
6591 Escape a % to make gtkdoc happier; bug 322958.
6593 === release 0.9.7 ===
6595 2005-12-01 <thomas (at) apestaart (dot) org>
6598 releasing 0.9.7, "My Dog Has No Nose"
6600 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6602 * common/gst-xmlinspect.py:
6604 * docs/libs/tmpl/gstdataprotocol.sgml:
6605 * docs/random/release:
6624 * win32/common/config.h:
6625 * win32/common/config.h.in:
6626 * win32/vs6/gst_inspect.dsp:
6627 * win32/vs6/gst_launch.dsp:
6628 * win32/vs6/libgstbase.dsp:
6629 * win32/vs6/libgstelements.dsp:
6630 * win32/vs6/libgstreamer.dsp:
6631 * win32/vs7/GStreamer.vcproj:
6632 * win32/vs7/gst-inspect.vcproj:
6633 * win32/vs7/gst-launch.vcproj:
6634 * win32/vs7/libgstbase.vcproj:
6635 bump GST_MAJORMINOR to 0.10
6636 reset libtool version
6638 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6642 Added Bulgarian translation by (Alexander Shopov)
6644 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6646 * tests/check/gst/gstplugin.c:
6649 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6651 * common/gst-xmlinspect.py:
6652 * common/gtk-doc-plugins.mak:
6655 * docs/gst/Makefile.am:
6656 * docs/gst/gstreamer-docs.sgml:
6657 * docs/gst/gstreamer-sections.txt:
6658 * docs/gst/gstreamer.types:
6659 * docs/gst/gstreamer.types.in:
6660 * docs/plugins/Makefile.am:
6661 * docs/plugins/gstreamer-plugins-docs.sgml:
6662 * docs/plugins/gstreamer-plugins-sections.txt:
6663 * docs/plugins/gstreamer-plugins.types:
6664 * docs/plugins/inspect.stamp:
6665 * docs/plugins/inspect/plugin-coreelements.xml:
6666 * docs/plugins/inspect/plugin-coreindexers.xml:
6667 * docs/plugins/scanobj-build.stamp:
6668 * gstreamer.spec.in:
6669 * plugins/elements/Makefile.am:
6670 * plugins/elements/gstelements.c:
6671 * plugins/elements/gstfakesink.c:
6672 * plugins/elements/gstfakesrc.c:
6673 * plugins/elements/gstfilesink.c:
6674 * plugins/elements/gstfilesrc.c:
6675 * plugins/elements/gstqueue.c:
6676 * plugins/indexers/Makefile.am:
6677 * plugins/indexers/gstindexers.c:
6678 document core plugins in a separate document just like all the
6680 rename these plugins to something starting with core
6682 2005-12-01 Andy Wingo <wingo@pobox.com>
6684 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6685 padding here before, but it missed the commit.
6687 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6689 * libs/gst/controller/gstinterpolation.c:
6690 whitespace prices have crashed, we should feel free to use some now
6691 use gst_guint64_to_gdouble
6693 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6695 * libs/gst/controller/gstcontroller.c:
6696 * libs/gst/controller/gsthelper.c:
6697 * libs/gst/controller/gstinterpolation.c:
6698 * libs/gst/controller/lib.c:
6699 wrap config.h include
6701 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6703 * docs/gst/gstreamer-sections.txt:
6706 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6708 * plugins/elements/gstelements.c:
6709 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6710 (gst_fd_sink__class_init), (gst_fd_sink__init),
6711 (gst_fd_sink__chain), (gst_fd_sink__set_property),
6712 (gst_fd_sink__get_property):
6713 * plugins/elements/gstfdsink.h:
6714 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6715 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6716 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6717 (gst_fd_src_unlock), (gst_fd_src_set_property),
6718 (gst_fd_src_get_property), (gst_fd_src_create),
6719 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6720 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6721 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6722 (gst_fd_src_uri_handler_init):
6723 * plugins/elements/gstfdsrc.h:
6724 * plugins/elements/gstqueue.c: (gst_queue_get_type):
6727 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6729 * docs/gst/Makefile.am:
6730 * docs/gst/gstreamer.types.in:
6734 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6740 * gst/gstregistry.h:
6741 * tests/benchmarks/complexity.c:
6742 * tests/benchmarks/mass-elements.c:
6743 * tests/check/Makefile.am:
6744 * tools/Makefile.am:
6745 * tools/gst-inspect.c:
6746 * tools/gst-xmlinspect.c:
6747 various fixes to make
6748 --disable-nls --disable-registry --disable-loadsave
6749 --disable-parse --disable-gst-debug
6750 work and get the core .so down to 360444 bytes after stripping
6752 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6757 * docs/random/thomasvs/TODO:
6758 * tests/Makefile.am:
6762 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6764 * win32/GStreamer.vcproj:
6767 * win32/Makefile.inspect:
6768 * win32/Makefile.launch:
6769 * win32/Makefile.register:
6771 * win32/gst-inspect.vcproj:
6772 * win32/gst-launch.vcproj:
6773 * win32/gst-register.vcproj:
6774 * win32/gstelements.vcproj:
6775 * win32/gstgetbits.def:
6776 * win32/gstgetbits.vcproj:
6777 * win32/gstreamer-dbg.def:
6778 * win32/gstreamer.def:
6779 * win32/libgstbase.def:
6780 * win32/libgstbase.vcproj:
6781 * win32/link_oldruntime.c:
6786 move even more stuff, win32/ is nice and clean now
6788 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6790 * libs/gst/control/.cvsignore:
6795 * win32/gstbytestream.def:
6796 * win32/gstbytestream.vcproj:
6797 * win32/gstconfig.h:
6798 * win32/gstenumtypes.c:
6799 * win32/gstenumtypes.h:
6800 * win32/gstoptimalscheduler.vcproj:
6801 * win32/gstversion.h:
6803 * win32/testsuite/bins.vcproj:
6804 * win32/testsuite/bytestream.vcproj:
6805 * win32/testsuite/caps.vcproj:
6806 * win32/testsuite/cleanup.vcproj:
6807 * win32/testsuite/clock.vcproj:
6808 * win32/testsuite/debug.vcproj:
6809 * win32/testsuite/dlopen.vcproj:
6810 * win32/testsuite/dynparams.vcproj:
6811 * win32/testsuite/elements.vcproj:
6812 * win32/testsuite/ghostpads.vcproj:
6813 * win32/testsuite/indexers.vcproj:
6814 * win32/testsuite/negotiation.vcproj:
6815 * win32/testsuite/parse.vcproj:
6816 * win32/testsuite/plugin.vcproj:
6817 * win32/testsuite/refcounting.vcproj:
6818 * win32/testsuite/schedulers.vcproj:
6819 * win32/testsuite/states.vcproj:
6820 * win32/testsuite/tags.vcproj:
6821 * win32/testsuite/threads.vcproj:
6822 remove old win32 stuff that isn't maintained and should be
6825 2005-11-30 Andy Wingo <wingo@pobox.com>
6827 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6828 loading the gst.interfaces python module bork.
6830 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6831 available since GLib 2.2. Fixes #318031.
6833 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6837 * check/Makefile.am:
6838 * check/elements/.cvsignore:
6839 * check/elements/fakesrc.c:
6840 * check/elements/fdsrc.c:
6841 * check/elements/identity.c:
6842 * check/generic/.cvsignore:
6843 * check/generic/states.c:
6844 * check/gst-libs/.cvsignore:
6845 * check/gst-libs/controller.c:
6846 * check/gst-libs/gdp.c:
6847 * check/gst/.cvsignore:
6848 * check/gst/capslist.h:
6850 * check/gst/gstbin.c:
6851 * check/gst/gstbuffer.c:
6852 * check/gst/gstbus.c:
6853 * check/gst/gstcaps.c:
6854 * check/gst/gstelement.c:
6855 * check/gst/gstevent.c:
6856 * check/gst/gstghostpad.c:
6857 * check/gst/gstiterator.c:
6858 * check/gst/gstmessage.c:
6859 * check/gst/gstminiobject.c:
6860 * check/gst/gstobject.c:
6861 * check/gst/gstpad.c:
6862 * check/gst/gstpipeline.c:
6863 * check/gst/gstplugin.c:
6864 * check/gst/gstsegment.c:
6865 * check/gst/gststructure.c:
6866 * check/gst/gstsystemclock.c:
6867 * check/gst/gsttag.c:
6868 * check/gst/gstutils.c:
6869 * check/gst/gstvalue.c:
6870 * check/net/.cvsignore:
6871 * check/net/gstnetclientclock.c:
6872 * check/net/gstnettimeprovider.c:
6873 * check/pipelines/.cvsignore:
6874 * check/pipelines/cleanup.c:
6875 * check/pipelines/simple_launch_lines.c:
6876 * check/pipelines/stress.c:
6877 * check/states/.cvsignore:
6878 * check/states/sinks.c:
6880 * examples/Makefile.am:
6881 * examples/appreader/.cvsignore:
6882 * examples/appreader/Makefile.am:
6883 * examples/appreader/appreader.c:
6884 * examples/controller/.cvsignore:
6885 * examples/controller/Makefile.am:
6886 * examples/controller/audio-example.c:
6887 * examples/cutter/.cvsignore:
6888 * examples/cutter/Makefile.am:
6889 * examples/cutter/cutter.c:
6890 * examples/cutter/cutter.h:
6891 * examples/events/Makefile.am:
6892 * examples/events/seek.c:
6893 * examples/helloworld/.cvsignore:
6894 * examples/helloworld/Makefile.am:
6895 * examples/helloworld/helloworld.c:
6896 * examples/helloworld2/.cvsignore:
6897 * examples/helloworld2/Makefile.am:
6898 * examples/helloworld2/helloworld2.c:
6899 * examples/launch/.cvsignore:
6900 * examples/launch/Makefile.am:
6901 * examples/launch/mp3parselaunch.c:
6902 * examples/launch/mp3play:
6903 * examples/manual/.cvsignore:
6904 * examples/manual/Makefile.am:
6905 * examples/manual/extract.pl:
6906 * examples/metadata/Makefile.am:
6907 * examples/metadata/read-metadata.c:
6908 * examples/mixer/.cvsignore:
6909 * examples/mixer/Makefile.am:
6910 * examples/mixer/mixer.c:
6911 * examples/mixer/mixer.h:
6912 * examples/pingpong/.cvsignore:
6913 * examples/pingpong/Makefile.am:
6914 * examples/pingpong/pingpong.c:
6915 * examples/plugins/.cvsignore:
6916 * examples/plugins/Makefile.am:
6917 * examples/plugins/example.c:
6918 * examples/plugins/example.h:
6919 * examples/pwg/.cvsignore:
6920 * examples/pwg/Makefile.am:
6921 * examples/pwg/extract.pl:
6922 * examples/queue/.cvsignore:
6923 * examples/queue/Makefile.am:
6924 * examples/queue/queue.c:
6925 * examples/queue2/.cvsignore:
6926 * examples/queue2/Makefile.am:
6927 * examples/queue2/queue2.c:
6928 * examples/queue3/.cvsignore:
6929 * examples/queue3/Makefile.am:
6930 * examples/queue3/queue3.c:
6931 * examples/queue4/.cvsignore:
6932 * examples/queue4/Makefile.am:
6933 * examples/queue4/queue4.c:
6934 * examples/retag/.cvsignore:
6935 * examples/retag/Makefile.am:
6936 * examples/retag/retag.c:
6937 * examples/retag/transcode.c:
6938 * examples/thread/.cvsignore:
6939 * examples/thread/Makefile.am:
6940 * examples/thread/thread.c:
6941 * examples/typefind/.cvsignore:
6942 * examples/typefind/Makefile.am:
6943 * examples/typefind/typefind.c:
6944 * examples/xml/.cvsignore:
6945 * examples/xml/Makefile.am:
6946 * examples/xml/createxml.c:
6947 * examples/xml/runxml.c:
6948 * tests/Makefile.am:
6949 * tests/check/Makefile.am:
6950 * testsuite/.cvsignore:
6951 * testsuite/Makefile.am:
6953 * testsuite/caps/.cvsignore:
6954 * testsuite/caps/Makefile.am:
6955 * testsuite/caps/app_fixate.c:
6956 * testsuite/caps/audioscale.c:
6957 * testsuite/caps/caps.c:
6958 * testsuite/caps/caps.h:
6959 * testsuite/caps/caps_strings:
6960 * testsuite/caps/compatibility.c:
6961 * testsuite/caps/deserialize.c:
6962 * testsuite/caps/enumcaps.c:
6963 * testsuite/caps/eratosthenes.c:
6964 * testsuite/caps/filtercaps.c:
6965 * testsuite/caps/fixed.c:
6966 * testsuite/caps/fraction-convert.c:
6967 * testsuite/caps/fraction-multiply-and-zero.c:
6968 * testsuite/caps/intersect2.c:
6969 * testsuite/caps/intersection.c:
6970 * testsuite/caps/normalisation.c:
6971 * testsuite/caps/random.c:
6972 * testsuite/caps/renegotiate.c:
6973 * testsuite/caps/sets.c:
6974 * testsuite/caps/simplify.c:
6975 * testsuite/caps/string-conversions.c:
6976 * testsuite/caps/structure.c:
6977 * testsuite/caps/subtract.c:
6978 * testsuite/caps/union.c:
6979 * testsuite/debug/.cvsignore:
6980 * testsuite/debug/Makefile.am:
6981 * testsuite/debug/category.c:
6982 * testsuite/debug/commandline.c:
6983 * testsuite/debug/global.c:
6984 * testsuite/debug/output.c:
6985 * testsuite/debug/printf_extension.c:
6986 * testsuite/dlopen/.cvsignore:
6987 * testsuite/dlopen/Makefile.am:
6988 * testsuite/dlopen/dlopen_gst.c:
6989 * testsuite/dlopen/loadgst.c:
6990 * testsuite/elements/.cvsignore:
6991 * testsuite/elements/Makefile.am:
6992 * testsuite/elements/gst-inspect-check.in:
6993 * testsuite/elements/struct_i386.h:
6994 * testsuite/elements/struct_size.c:
6995 * testsuite/indexers/.cvsignore:
6996 * testsuite/indexers/Makefile.am:
6997 * testsuite/indexers/cache1.c:
6998 * testsuite/indexers/indexdump.c:
6999 * testsuite/parse/.cvsignore:
7000 * testsuite/parse/Makefile.am:
7001 * testsuite/parse/parse1.c:
7002 * testsuite/parse/parse2.c:
7003 * testsuite/plugin/.cvsignore:
7004 * testsuite/plugin/Makefile.am:
7005 * testsuite/plugin/README:
7006 * testsuite/plugin/dynamic.c:
7007 * testsuite/plugin/linked.c:
7008 * testsuite/plugin/loading.c:
7009 * testsuite/plugin/registry.c:
7010 * testsuite/plugin/static.c:
7011 * testsuite/plugin/static2.c:
7012 * testsuite/plugin/testplugin.c:
7013 * testsuite/plugin/testplugin2.c:
7014 * testsuite/plugin/testplugin2_s.c:
7015 * testsuite/plugin/testplugin_s.c:
7016 * testsuite/refcounting/.cvsignore:
7017 * testsuite/refcounting/Makefile.am:
7018 * testsuite/refcounting/bin.c:
7019 * testsuite/refcounting/element.c:
7020 * testsuite/refcounting/element_pad.c:
7021 * testsuite/refcounting/mainloop.c:
7022 * testsuite/refcounting/mem.c:
7023 * testsuite/refcounting/mem.h:
7024 * testsuite/refcounting/object.c:
7025 * testsuite/refcounting/pad.c:
7026 * testsuite/refcounting/sched.c:
7027 * testsuite/refcounting/thread.c:
7028 * testsuite/states/.cvsignore:
7029 * testsuite/states/Makefile.am:
7030 * testsuite/states/bin.c:
7031 * testsuite/states/locked.c:
7032 * testsuite/states/parent.c:
7033 * testsuite/threads/.cvsignore:
7034 * testsuite/threads/159566.c:
7035 * testsuite/threads/159852.c:
7036 * testsuite/threads/Makefile.am:
7037 * testsuite/threads/queue.c:
7038 * testsuite/threads/signals.c:
7039 * testsuite/threads/staticrec.c:
7040 * testsuite/threads/thread.c:
7041 * testsuite/threads/threadb.c:
7042 * testsuite/threads/threadc.c:
7043 * testsuite/threads/threadd.c:
7044 * testsuite/threads/threade.c:
7045 * testsuite/threads/threadf.c:
7046 * testsuite/threads/threadg.c:
7047 * testsuite/threads/threadh.c:
7048 * testsuite/threads/threadi.c:
7049 move all of these under tests
7051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7054 * tests/Makefile.am:
7057 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * docs/gst/gstreamer-sections.txt:
7060 * tests/sched/.cvsignore:
7061 * tests/sched/Makefile.am:
7062 * tests/sched/cases/(fs-fs).xml:
7063 * tests/sched/cases/(fs-i-fs).xml:
7064 * tests/sched/cases/(fs-i-i-fs).xml:
7065 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7066 * tests/sched/dynamic-pipeline.c:
7067 * tests/sched/interrupt1.c:
7068 * tests/sched/interrupt2.c:
7069 * tests/sched/interrupt3.c:
7070 * tests/sched/runtestcases:
7071 * tests/sched/runxml.c:
7072 * tests/sched/sched-stress.c:
7073 * tests/sched/sort.c:
7074 * tests/sched/testcases:
7075 * tests/sched/testcases1.tc:
7076 * tests/seeking/.cvsignore:
7077 * tests/seeking/Makefile.am:
7078 * tests/seeking/seeking1.c:
7079 * tests/threadstate/.cvsignore:
7080 * tests/threadstate/Makefile.am:
7081 * tests/threadstate/test1.c:
7082 * tests/threadstate/test2.c:
7083 * tests/threadstate/threadstate1.c:
7084 * tests/threadstate/threadstate2.c:
7085 * tests/threadstate/threadstate3.c:
7086 * tests/threadstate/threadstate4.c:
7087 * tests/threadstate/threadstate5.c:
7088 remove obsolete tests
7090 * tests/bench-complexity.scm:
7091 * tests/bench-mass_elements.scm:
7092 * tests/complexity.c:
7093 * tests/complexity.gnuplot:
7094 * tests/instantiate/.cvsignore:
7095 * tests/instantiate/Makefile.am:
7096 * tests/instantiate/caps.c:
7097 * tests/mass_elements.c:
7098 * tests/network-clock-utils.scm:
7099 * tests/network-clock.scm:
7101 First pass at cleaning up tests/ dir before moving the rest
7102 Combined with CVS surgery
7104 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7107 queue has moved, update
7109 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7111 * docs/gst/gstreamer-sections.txt:
7112 remove double entries from the docs
7113 * gst/gst_private.h:
7114 * gst/gstinfo.c: (_gst_debug_init):
7115 remove the THREAD debug category
7119 * docs/gst/gstreamer.types:
7120 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7121 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7122 completely move queue and fix up debugging categories
7124 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7126 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7127 make initialization portable, using LL is not
7129 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7131 * win32/common/gstconfig.h:
7134 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7136 * win32/common/libgstreamer.def:
7137 rename symbols; sort base section
7139 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7141 * gst/gstclock.c: (do_linear_regression):
7142 remove crack non-portable handrolled DEBUG macro
7144 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7146 * docs/random/release:
7148 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7149 (gst_object_flags_get_type), (register_gst_bin_flags),
7150 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7151 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7152 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7153 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7154 (gst_caps_flags_get_type), (register_gst_clock_return),
7155 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7156 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7157 (gst_clock_flags_get_type), (register_gst_state),
7158 (gst_state_get_type), (register_gst_state_change_return),
7159 (gst_state_change_return_get_type), (register_gst_state_change),
7160 (gst_state_change_get_type), (register_gst_element_flags),
7161 (gst_element_flags_get_type), (register_gst_core_error),
7162 (gst_core_error_get_type), (register_gst_library_error),
7163 (gst_library_error_get_type), (register_gst_resource_error),
7164 (gst_resource_error_get_type), (register_gst_stream_error),
7165 (gst_stream_error_get_type), (register_gst_event_type_flags),
7166 (gst_event_type_flags_get_type), (register_gst_event_type),
7167 (gst_event_type_get_type), (register_gst_seek_type),
7168 (gst_seek_type_get_type), (register_gst_seek_flags),
7169 (gst_seek_flags_get_type), (register_gst_format),
7170 (gst_format_get_type), (register_gst_index_certainty),
7171 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7172 (gst_index_entry_type_get_type),
7173 (register_gst_index_lookup_method),
7174 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7175 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7176 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7177 (gst_index_flags_get_type), (register_gst_debug_level),
7178 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7179 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7180 (gst_iterator_result_get_type), (register_gst_iterator_item),
7181 (gst_iterator_item_get_type), (register_gst_message_type),
7182 (gst_message_type_get_type), (register_gst_mini_object_flags),
7183 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7184 (gst_pad_link_return_get_type), (register_gst_flow_return),
7185 (gst_flow_return_get_type), (register_gst_activate_mode),
7186 (gst_activate_mode_get_type), (register_gst_pad_direction),
7187 (gst_pad_direction_get_type), (register_gst_pad_flags),
7188 (gst_pad_flags_get_type), (register_gst_pad_presence),
7189 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7190 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7191 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7192 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7193 (gst_plugin_flags_get_type), (register_gst_rank),
7194 (gst_rank_get_type), (register_gst_query_type),
7195 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7196 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7197 (gst_tag_flag_get_type), (register_gst_task_state),
7198 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7199 (gst_alloc_trace_flags_get_type),
7200 (register_gst_type_find_probability),
7201 (gst_type_find_probability_get_type), (register_gst_uri_type),
7202 (gst_uri_type_get_type), (register_gst_parse_error),
7203 (gst_parse_error_get_type):
7204 * win32/common/gstenumtypes.h:
7205 * win32/common/gstversion.h:
7206 update visual studio generated files
7208 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7210 * win32/vs6/libgstbase.dsp:
7211 * win32/vs6/libgstelements.dsp:
7212 update project files for new locations
7214 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7219 reinstate and update
7224 * docs/random/LICENSE:
7227 2005-11-30 Edward Hervey <edward@fluendo.com>
7229 * gst/gsttypefind.c: (gst_type_find_register):
7230 * gst/gsttypefind.h:
7231 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7232 (gst_type_find_factory_dispose):
7233 * gst/gsttypefindfactory.h:
7234 Fix memory leak in GstTypeFindFactory.
7236 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7239 * plugins/elements/Makefile.am:
7240 * plugins/elements/gstelements.c:
7241 * plugins/elements/gstqueue.c:
7242 move queue from core to the elements plugin
7244 2005-11-29 Andy Wingo <wingo@pobox.com>
7246 * libs/gst/base/gstbasetransform.h:
7247 * libs/gst/base/gstbasesrc.h:
7248 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7250 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7251 of pointers by which to pad very extensible base classes (like the
7252 ones in libs/gst/base).
7254 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7256 * docs/gst/gstreamer-docs.sgml:
7257 * docs/gst/gstreamer-sections.txt:
7258 * docs/libs/gstreamer-libs-docs.sgml:
7259 * docs/libs/gstreamer-libs-sections.txt:
7260 moving documentation from core to lib
7262 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7264 * check/Makefile.am:
7266 * docs/gst/Makefile.am:
7268 * gst/base/.cvsignore:
7269 * gst/base/Makefile.am:
7271 * gst/base/gstadapter.c:
7272 * gst/base/gstadapter.h:
7273 * gst/base/gstbasesink.c:
7274 * gst/base/gstbasesink.h:
7275 * gst/base/gstbasesrc.c:
7276 * gst/base/gstbasesrc.h:
7277 * gst/base/gstbasetransform.c:
7278 * gst/base/gstbasetransform.h:
7279 * gst/base/gstcollectpads.c:
7280 * gst/base/gstcollectpads.h:
7281 * gst/base/gstpushsrc.c:
7282 * gst/base/gstpushsrc.h:
7283 * gst/base/gsttypefindhelper.c:
7284 * gst/base/gsttypefindhelper.h:
7285 * gst/check/Makefile.am:
7286 * gst/check/gstcheck.c:
7287 * gst/check/gstcheck.h:
7288 * gst/net/Makefile.am:
7290 * gst/net/gstnetclientclock.c:
7291 * gst/net/gstnetclientclock.h:
7292 * gst/net/gstnettimepacket.c:
7293 * gst/net/gstnettimepacket.h:
7294 * gst/net/gstnettimeprovider.c:
7295 * gst/net/gstnettimeprovider.h:
7296 * libs/gst/Makefile.am:
7297 * libs/gst/base/Makefile.am:
7298 * libs/gst/base/gstbasetransform.c:
7299 * libs/gst/check/Makefile.am:
7300 * plugins/elements/Makefile.am:
7302 CVS surgery + support to move base, check, and net out of gst
7305 2005-11-29 Andy Wingo <wingo@pobox.com>
7307 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7309 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7312 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7314 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7316 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7318 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7319 padding; reduces object size by about 30%. We don't expect
7320 anything else to go into gstobject.
7322 * gst/gstminiobject.h (struct _GstMiniObject)
7323 (struct _GstMiniObjectClass): Only one pointer of padding; the
7324 payload is only a pointer and two ints anyway. For the class there
7325 are only two methods as well.
7327 * gst/gstelement.h (struct _GstElementClass): Removed
7328 the state_changed signal callback, it is not used.
7330 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7332 * docs/gst/gstreamer.types:
7333 fix includes, though they are a little dinky
7335 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7337 * check/Makefile.am:
7338 look in the right place for elements, a lot more chance of
7341 remove indexers and elements subdirs
7342 * plugins/Makefile.am:
7343 make indexers conditional
7345 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7349 * plugins/elements/Makefile.am:
7350 * plugins/elements/gstcapsfilter.c:
7351 * plugins/elements/gstfilesink.c:
7352 * plugins/elements/gstfilesrc.c:
7353 * plugins/elements/gstidentity.c:
7354 * plugins/indexers/Makefile.am:
7355 do CVS surgery and related build fixery to move elements
7356 and indexers in a new gstreamer/plugins directory, out of the
7359 2005-11-29 Andy Wingo <wingo@pobox.com>
7361 * check/Makefile.am:
7362 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7363 * pkgconfig/gstreamer-net.pc.in:
7364 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7367 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7369 * tools/Makefile.am:
7370 * tools/gst-complete.1.in:
7371 * tools/gst-complete.c:
7372 * tools/gst-compprep.1.in:
7373 * tools/gst-compprep.c:
7374 removing -compprep and -complete
7376 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7378 * gst/gstevent.c: (gst_event_new_new_segment),
7379 (gst_event_parse_new_segment):
7381 fix #320529 - clean up new_segment API and structure.
7382 Let's hope everyone was using the methods, and not the structure.
7384 2005-11-29 Edward Hervey <edward@fluendo.com>
7386 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7387 (gst_base_sink_event), (gst_base_sink_do_sync),
7388 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7389 Properly handle non GST_FORMAT_TIME segment
7390 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7391 Properly handle non GST_FORMAT_TIME segment
7393 This function is valid if the accumulator is 0 and the format
7394 is different from the requested format.
7396 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7398 * docs/gst/gstreamer-sections.txt:
7399 Add gst_query_new_seeking and gst_query_parse_seeking to the
7402 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7404 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7405 Treat a pad alloc with new caps the same as if we were not
7406 negotiated, in order to allow a changing upstream output
7407 to produce a new format of data.
7409 2005-11-29 Edward Hervey <edward@fluendo.com>
7411 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7412 (gst_base_transform_event), (gst_base_transform_eventfunc):
7413 The event virtual method is now properly implemented, with a default
7415 Sub classes should call the parent_class event method. They should
7416 return FALSE if they had a problem handling the given event, or don't
7417 want GstBaseTransform to send that even downstream
7418 * gst/elements/gstidentity.c: (gst_identity_class_init),
7419 (gst_identity_init), (gst_identity_event),
7420 (gst_identity_transform_ip), (gst_identity_set_property),
7421 (gst_identity_get_property):
7422 * gst/elements/gstidentity.h:
7423 Added the single-segment boolean property.
7424 If set to TRUE, it will output a single segment of data, starting from
7425 0, will eat up all incoming newsegment, and modify the timestamp of the
7428 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7430 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7431 Don't ref NULL target pad (#322751). Improve docs.
7433 2005-11-29 Michael Smith <msmith@fluendo.com>
7435 * gst/gstregistryxml.c: (load_plugin):
7436 Don't crash if we failed to load a feature from a plugin.
7438 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7440 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7442 use more check API and less GLib API
7444 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7447 don't run checks if we don't have check
7449 remove the registry when running make torture
7450 * docs/gst/gstreamer-sections.txt:
7451 remove second multiply
7452 * gst/gstqueue.c: (gst_queue_loop):
7453 fix a compile warning when disabling debug
7455 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7458 Hey! Let's print the pad name if the pointer != NULL instead
7459 of when it == NULL :-)
7461 2005-11-28 Wim Taymans <wim@fluendo.com>
7463 * check/gst/gstutils.c: (GST_START_TEST):
7464 Updated check, add some scaling accuracy checking code.
7466 * gst/gstutils.c: (gst_util_div128_64),
7467 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7468 (gst_util_uint64_scale_int):
7469 Fix 6 times faster division code. Optimize for common
7470 1/1 and less common X/1 cases.
7472 2005-11-28 Wim Taymans <wim@fluendo.com>
7474 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7477 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7478 (do_linear_regression), (gst_clock_add_observation):
7480 Release lock when the clock cannot be slaved.
7481 Catch the case where the regression returned an invalid denominator.
7483 * gst/gstutils.c: (gst_util_div128_64_iterate),
7484 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7485 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7486 Add protentially more performant non-iterative 128/64 divide function
7487 that unfortunatly does not work yet.
7488 Shortcut the trivial 0/X = 0 case.
7489 Remove the warnings on overflow.
7491 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7493 * gst/gstplugin.c: (gst_plugin_register_func):
7494 everything causing a plugin not to load should be at least a WARNING
7496 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7498 * docs/random/ensonic/dparams.txt:
7499 some TODOs for the next dev cycle
7500 * libs/gst/controller/gstcontroller.c:
7501 (gst_controlled_property_set_interpolation_mode),
7502 (gst_controlled_property_new):
7503 * libs/gst/controller/gstcontroller.h:
7504 use base type to assign acccessor functions
7506 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7508 * check/Makefile.am:
7509 Oops, that should have been top_srcdir
7511 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7513 * check/Makefile.am:
7514 * check/elements/fdsrc.c: (GST_START_TEST):
7515 Use a cmdline define to specify the location of a file to use for
7516 testing, to avoid breaking distcheck.
7518 2005-11-28 Andy Wingo <wingo@pobox.com>
7520 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7522 2005-11-28 Edward Hervey <edward@fluendo.com>
7524 * tools/gst-launch.c: (main):
7525 Clarify the output strings, makes it easier to translate.
7528 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7531 don't try and build net if we don't even have <sys/socket.h>
7533 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7535 * check/Makefile.am:
7536 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7537 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7538 Add tests for fdsrc seekability
7540 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7541 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7542 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7543 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7544 * gst/elements/gstfdsrc.h:
7545 fdsrc should not be a 'live' source.
7546 Implement seeking on seekable fd's.
7548 * gst/gstquery.c: (gst_query_new_seeking),
7549 (gst_query_parse_seeking):
7551 Implement SEEKING query functions:
7552 *_new_seeking and *_parse_seeking
7554 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7556 * gst/gstelement.c: (gst_element_dispose):
7559 * gst/gstiterator.c:
7560 * gst/gststructure.c:
7563 * libs/gst/controller/gstcontroller.c:
7564 (gst_controlled_property_set_interpolation_mode):
7565 * libs/gst/controller/gstcontroller.h:
7566 * libs/gst/controller/gstinterpolation.c:
7567 (interpolate_none_get_enum_value_array):
7568 support controlling enums
7570 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7573 Improve documentation for gst_value_union().
7576 Change return value for union, intersect and subtract functions
7577 from gint to gboolean.
7579 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7581 * gst/gstvalue.c: (gst_value_serialize_any_list),
7582 (gst_value_transform_any_list_string),
7583 (gst_value_deserialize_list), (gst_value_deserialize_array),
7584 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7585 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7586 (gst_value_set_fraction_range_full),
7587 (gst_value_deserialize_fraction_range),
7588 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7589 (gst_value_deserialize_boolean),
7590 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7591 (gst_value_serialize_float), (gst_value_deserialize_float),
7592 (gst_string_wrap), (gst_value_deserialize_string),
7593 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7594 (gst_value_union_int_range_int_range),
7595 (gst_value_intersect_int_range_int_range),
7596 (gst_value_intersect_double_range_double_range),
7597 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7598 (gst_value_subtract_int_range_int_range),
7599 (gst_value_subtract_double_double_range),
7600 (gst_value_subtract_double_range_double_range),
7601 (gst_value_deserialize_fraction):
7603 Use gint, gdouble and gchar in our API instead of int, double and
7604 char (and make usage in gstvalue.c more consistent).
7606 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7608 * check/Makefile.am:
7609 * libs/gst/controller/Makefile.am:
7610 * libs/gst/dataprotocol/Makefile.am:
7611 fix up Makefile.am and remove GST_ENABLE_NEW
7613 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7617 * gst/base/Makefile.am:
7618 * gst/check/Makefile.am:
7619 * gst/elements/Makefile.am:
7620 * gst/net/Makefile.am:
7621 update LDFLAGS use some more
7623 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7625 * common/m4/gst-doc.m4:
7628 2005-11-26 Edward Hervey <edward@fluendo.com>
7630 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7631 This shouldn't issue a g_warning since it returns NULL if it
7632 couldn't find the plugin, and all functions using this behave
7633 properly on a NULL return. Switching to a GST_WARNING.
7635 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7637 * gst/gstbin.c: (gst_bin_handle_message_func):
7638 Don't leak clock messages.
7640 2005-11-25 Wim Taymans <wim@fluendo.com>
7642 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7643 (gst_util_uint64_scale_int):
7644 Optimisations, remove unneeded vars.
7646 2005-11-25 Wim Taymans <wim@fluendo.com>
7648 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7649 Added more checks for the high precision uint64 cases.
7651 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7652 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7653 Implement high precision (guint64 * guint64) / guint64.
7655 2005-11-24 Wim Taymans <wim@fluendo.com>
7657 * gst/base/gstbasesrc.c: (gst_base_src_query):
7658 Fix wrong percentage query.
7660 * gst/gstutils.c: (gst_util_uint64_scale),
7661 (gst_util_uint64_scale_int):
7662 Add some more common cases that can be handled
7663 efficiently to _scale.
7665 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7667 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7668 (gst_mini_object_suite):
7669 don't use check calls from threads; check probably isn't
7670 threadsafe and using a lock to make it threadsafe would
7671 defeat the purpose of this check
7672 * gst/check/gstcheck.c:
7673 * gst/check/gstcheck.h:
7674 use GST_DEBUG some more
7676 2005-11-24 Wim Taymans <wim@fluendo.com>
7678 * gst/gstutils.c: (gst_util_uint64_scale),
7679 (gst_util_uint64_scale_int):
7680 Chain trivial case to _scale_int.
7682 2005-11-24 Wim Taymans <wim@fluendo.com>
7684 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7685 Added test for scaling.
7690 * gst/gstutils.c: (gst_util_uint64_scale_int):
7691 Implemented high precision scaling code.
7693 2005-11-24 Stefan Kost <ensonic@users.sf.net>
7696 do not crash on pad==NULL
7698 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7700 Patch by: Stefan Kost
7702 * common/gtk-doc.mak:
7703 * docs/gst/Makefile.am:
7704 * docs/libs/Makefile.am:
7705 Fix distcheck issues for the libraries docs build
7708 2005-11-24 Michael Smith <msmith@fluendo.com>
7710 * docs/manual/basics-helloworld.xml:
7711 Fix bug #315027: memory leak in example code in docs.
7713 2005-11-24 Michael Smith <msmith@fluendo.com>
7715 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7716 Unlock the PREROLL_LOCK in a failure case.
7718 2005-11-24 Wim Taymans <wim@fluendo.com>
7720 * docs/gst/gstreamer-sections.txt:
7721 * gst/base/gstadapter.h:
7722 * gst/base/gstbasesink.h:
7723 * gst/base/gstbasesrc.h:
7724 * gst/base/gstbasetransform.h:
7725 * gst/base/gstpushsrc.h:
7726 * gst/elements/gstfakesink.h:
7727 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7728 * gst/elements/gstfakesrc.h:
7729 * gst/elements/gstfilesink.h:
7730 * gst/elements/gstfilesrc.h:
7733 * gst/gstbuffer.c: (_gst_buffer_copy):
7736 * gst/gstchildproxy.c:
7739 * gst/gstelementfactory.c:
7740 * gst/gstelementfactory.h:
7742 * gst/gstghostpad.h:
7744 * gst/gstinterface.h:
7745 * gst/gstminiobject.c:
7746 * gst/gstminiobject.h:
7749 * gst/gstpadtemplate.h:
7750 * gst/gstpipeline.h:
7751 * gst/gstpluginfeature.h:
7756 * gst/gsttagsetter.c:
7757 * gst/gsttagsetter.h:
7760 * gst/gsttypefind.h:
7763 * gst/net/gstnetclientclock.c:
7764 * gst/net/gstnetclientclock.h:
7765 * gst/net/gstnettimepacket.c:
7766 * gst/net/gstnettimeprovider.c:
7767 * gst/net/gstnettimeprovider.h:
7770 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7772 * configure.ac: back to HEAD
7774 === release 0.9.6 ===
7776 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7779 releasing 0.9.6, "Always On Time"
7781 2005-11-23 Wim Taymans <wim@fluendo.com>
7783 * docs/gst/gstreamer-sections.txt:
7784 * gst/glib-compat.c:
7785 * gst/gsttagsetter.c:
7787 * gst/net/gstnetclientclock.c:
7788 * gst/net/gstnettimepacket.h:
7791 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7793 * docs/faq/using.xml:
7794 * docs/libs/tmpl/gstcontrol.sgml:
7795 * docs/manual/advanced-dparams.xml:
7796 * docs/manual/appendix-checklist.xml:
7797 * docs/manual/basics-elements.xml:
7798 * docs/pwg/other-source.xml:
7799 * docs/random/moving-plugins:
7801 * tools/gst-launch.1.in:
7802 remove mentions of sinesrc
7804 2005-11-23 Michael Smith <msmith@fluendo.com>
7806 * docs/gst/gstreamer-sections.txt:
7807 Update for new API and API changes.
7809 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7811 Documentation typo fix.
7812 * gst/net/gstnettimepacket.c:
7813 Documentation fixes for arguments.
7815 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
7817 * gst/gststructure.c: (gst_structure_get_fraction),
7818 (gst_structure_parse_value),
7819 (gst_structure_fixate_field_nearest_fraction):
7820 * gst/gststructure.h:
7821 * gst/gstutils.c: (gst_util_uint64_scale_int):
7823 * scripts/update-funcnames:
7825 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7826 Make gst_structure_fixate_field_nearest_fraction take a numerator
7827 and denominator argument instead of a GValue
7828 add gst_structure_get_fraction helper function.
7830 2005-11-23 Wim Taymans <wim@fluendo.com>
7832 * docs/design/part-TODO.txt:
7835 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7836 * gst/net/gstnetclientclock.h:
7837 Use parent fields for timeout and window_size.
7839 2005-11-23 Andy Wingo <wingo@pobox.com>
7841 * check/net/gstnetclientclock.c (test_functioning): Adjust to
7842 rate_num/rate_denom change.
7844 * gst/net/gstnetclientclock.c
7845 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7846 OBJECT_LOCK. Don't call add_observation with the lock.
7848 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7850 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7852 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7853 deal with rate as a fraction whose numerator and denominator are
7854 GstClockTime values.
7855 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7856 master; the other fields are protected by the SLAVE_LOCK.
7857 (do_linear_regression): Note that this must be called with the
7859 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7860 OBJECT_LOCK. Call set_calibration instead of touching the
7862 (gst_clock_set_property, gst_clock_get_property): Protect
7863 master/slave parameters with the SLAVE_LOCK.
7865 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7866 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7867 note that all of the instance variables that add_observation and
7868 the set_master functions use are protected by that lock and not
7870 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7872 * gst/gstclock.c (gst_clock_add_observation): No longer requires
7873 the caller to take the object lock.
7875 2005-11-23 Wim Taymans <wim@fluendo.com>
7877 * gst/gsterror.c: (_gst_core_errors_init):
7879 Add error for clock stuff.
7881 * gst/gstpipeline.c: (gst_pipeline_change_state),
7882 (gst_pipeline_set_clock):
7883 Post clock error when clock cannot be used in a pipeline.
7885 2005-11-23 Stefan Kost <ensonic@users.sf.net>
7887 * docs/gst/gstreamer-sections.txt:
7888 make two symbols from gstinfo private for the docs
7889 * gst/base/gstcollectpads.h:
7891 fix doc typos, update docs
7893 2005-11-22 Wim Taymans <wim@fluendo.com>
7895 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7896 (gst_base_sink_wait), (gst_base_sink_do_sync),
7897 (gst_base_sink_handle_event):
7898 * gst/base/gstbasesink.h:
7899 No need to store the clock, the parent element class already
7902 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7903 Updates for clock_set returning a gboolean
7905 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7906 (gst_clock_id_wait_async), (gst_clock_class_init),
7907 (gst_clock_init), (gst_clock_finalize),
7908 (gst_clock_get_internal_time), (gst_clock_get_time),
7909 (gst_clock_slave_callback), (gst_clock_set_master),
7910 (gst_clock_get_master), (do_linear_regression),
7911 (gst_clock_add_observation), (gst_clock_set_property),
7912 (gst_clock_get_property):
7914 Implement master/slave. When setting a clock as a slave, a
7915 periodic timeout is scheduled to sample master and slave times.
7916 Then the slave clock is recalibrated to match offset and rate
7917 of the master clock.
7918 Update logging a bit.
7919 Add flag so that a clock can state that is cannot be slaved to
7922 * gst/gstelement.c: (gst_element_set_clock):
7924 The set clock returns a gboolean for when an element cannot
7925 deal with the selected clock in the pipeline.
7927 * gst/gstpipeline.c: (gst_pipeline_change_state),
7928 (gst_pipeline_set_clock):
7929 * gst/gstpipeline.h:
7930 Handle the case where the selected clock cannot be set on
7933 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
7934 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7935 (gst_net_client_clock_set_property),
7936 (gst_net_client_clock_get_property),
7937 (gst_net_client_clock_observe_times):
7938 * gst/net/gstnetclientclock.h:
7939 Use regression code in GstClock parent, remove duplicated
7942 2005-11-22 Michael Smith <msmith@fluendo.com>
7944 * gst/gstutils.c: (gst_util_clock_time_scale):
7946 * docs/gst/gstreamer-sections.txt:
7947 Rename method to have extra underscore.
7949 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
7951 * gst/elements/Makefile.am:
7952 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
7953 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
7954 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
7955 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
7956 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
7957 * gst/elements/gstfakesrc.h:
7958 * gst/gstqueue.c: (queue_leaky_get_type):
7959 correctly fix GEnumValues so that nick is the short lowercase
7961 * tools/gst-inspect.c: (print_element_properties_info):
7962 also show the nick, since it's useful to use from parse_launch
7966 2005-11-22 Michael Smith <msmith@fluendo.com>
7968 * gst/gstutils.c: (gst_util_clocktime_scale):
7970 * docs/gst/gstreamer-sections.txt:
7971 Add util method for scaling a clocktime by a fraction. Useful
7972 implementation is left as an exercise for the reader.
7974 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7976 * gst/gstvalue.c: (gst_value_collect_fraction_range):
7977 If needed, allocate storage in the destination value during
7980 2005-11-22 Edward Hervey <edward@fluendo.com>
7982 * docs/gst/gstreamer-sections.txt:
7987 * gst/gstutils.c: (gst_util_set_object_arg):
7988 * tools/gst-compprep.c: (main):
7989 * tools/gst-inspect.c: (print_element_properties_info):
7990 Removed GstURI, closes bug #321061
7992 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
7994 * check/gst/gststructure.c: (GST_START_TEST):
7995 * gst/gststructure.c: (gst_structure_parse_value):
7996 Oops, broke automatic string type parsing.
7997 Add a test to catch it in future.
7999 2005-11-22 Andy Wingo <wingo@pobox.com>
8001 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8002 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8003 Actually rename the function implementations. Grr.
8005 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8007 * check/gst/capslist.h:
8009 * check/gst/gststructure.c: (GST_START_TEST),
8010 (gst_structure_suite):
8011 Test automatic value type detection in gst_structure_from_string.
8012 * gst/gststructure.c: (gst_structure_parse_value):
8013 Add fraction as a type we try and guess automatically in
8014 caps/structure strings.
8016 2005-11-22 Andy Wingo <wingo@pobox.com>
8018 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8020 * gst/gsttagsetter.h:
8021 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8022 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8023 (gst_tag_setter_add_tag_valist)
8024 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8025 _add_values, _add_valist, and _add_valist_values. Since this is an
8026 interface the function suffixes should be more explicit so
8027 language binding don't end up with element.add_valist ->
8028 gst_tag_setter_add_valist, for example. Fixes #322069.
8030 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8032 * check/gst/gstcaps.c: (GST_START_TEST):
8033 Extend caps string tests to check that a caps to string
8034 conversion is reversible and produces the same caps.
8036 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8037 Output "fraction" as the generic type fraction range, so caps
8038 serialisation and deserialisation works.
8039 * check/gst/capslist.h:
8040 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8041 Support 'MIN' and 'MAX' for deserialising fractions.
8043 2005-11-22 Andy Wingo <wingo@pobox.com>
8045 * gst/gstevent.h (gst_event_new_new_segment)
8046 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8047 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8048 Renamed from *_newsegment, *_buffersize, *_notarget.
8050 * scripts/update-funcnames: New script, performs the changes
8053 2005-11-22 Wim Taymans <wim@fluendo.com>
8055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8056 Make sure the GstFlowReturn is returned.
8058 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8059 (gst_bus_add_signal_watch):
8061 add gst_bus_add_signal_watch_full.
8063 * gst/gstplugin.c: (gst_plugin_load_file):
8064 Small style cleanup.
8066 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8068 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8069 Block the fakesrc srcpad when we send an event, to avoid
8070 contention on the stream_lock causing random test failures.
8072 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8074 * check/gst/gstvalue.c: (GST_START_TEST):
8075 * gst/gstvalue.c: (gst_value_fraction_subtract):
8078 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8081 include "gstchildproxy.h"
8082 * gst/gstchildproxy.h:
8083 * libs/gst/controller/gstcontroller.h:
8084 use G_GNUC_NULL_TERMINATED
8086 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8088 * check/gst/capslist.h:
8089 * check/gst/gstcaps.c: (GST_START_TEST):
8090 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8091 * gst/gststructure.c: (gst_structure_parse_range),
8092 (gst_structure_fixate_field_nearest_fraction):
8093 * gst/gststructure.h:
8094 * gst/gstvalue.c: (gst_value_init_fraction_range),
8095 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8096 (gst_value_collect_fraction_range),
8097 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8098 (gst_value_set_fraction_range_full),
8099 (gst_value_get_fraction_range_min),
8100 (gst_value_get_fraction_range_max),
8101 (gst_value_serialize_fraction_range),
8102 (gst_value_transform_fraction_range_string),
8103 (gst_value_compare_fraction_range),
8104 (gst_value_deserialize_fraction_range),
8105 (gst_value_intersect_fraction_fraction_range),
8106 (gst_value_intersect_fraction_range_fraction_range),
8107 (gst_value_subtract_fraction_fraction_range),
8108 (gst_value_subtract_fraction_range_fraction),
8109 (gst_value_subtract_fraction_range_fraction_range),
8110 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8111 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8112 (gst_value_transform_string_fraction), (_gst_value_initialize):
8114 Implement fraction ranges and extend GstFraction to support
8115 arithmetic subtraction, as well as deserialization from integer
8116 strings such as "100"
8117 Add a testsuite as for int and double range set operations
8119 2005-11-21 Andy Wingo <wingo@pobox.com>
8123 * gst/gststructure.h: Add glib-compat.h.
8125 2005-11-21 Wim Taymans <wim@fluendo.com>
8127 * gst/gstbin.c: (gst_bin_change_state_func):
8130 2005-11-21 Wim Taymans <wim@fluendo.com>
8133 And add a nice define too.
8135 2005-11-21 Wim Taymans <wim@fluendo.com>
8137 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8138 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8139 (gst_segment_set_duration), (gst_segment_set_last_stop),
8140 (gst_segment_set_seek), (gst_segment_set_newsegment),
8141 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8144 Make binding friendly.
8146 2005-11-21 Andy Wingo <wingo@pobox.com>
8148 * gst/gsttagsetter.h:
8150 * gst/gststructure.h:
8152 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8155 * gst/gsterror.c (_gst_core_errors_init):
8156 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8159 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8160 (noinst_HEADERS): noinst the -private.
8162 2005-11-21 Michael Smith <msmith@fluendo.com>
8165 * gst/gstregistry.h:
8166 Remove unimplemented declarations for which we can see no sensible
8169 2005-11-21 Andy Wingo <wingo@pobox.com>
8171 * gst/gst.h: Include glib-compat.h.
8173 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8175 * gst/glib-compat.c: Include the public and the private header.
8177 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8181 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8183 * check/gst/gstevent.c (create_custom_events): Check that
8184 FLUSH_STOP is serialized.
8186 * check/elements/identity.c (event_func):
8187 * check/elements/fakesrc.c (event_func): No stream lock, the core
8190 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8191 stream lock taking, yay.
8193 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8194 ensure that core takes the stream lock.
8196 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8199 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8200 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8201 it already. For the flush start we do take it though so we get the
8202 right preroll state change messages.
8204 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8205 the stream lock here, the core does it for us.
8207 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8208 GST_STREAM_GET_LOCK.
8209 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8210 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8211 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8212 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8213 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8214 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8216 * gst/gstpad.c: Update for stream lock name change.
8218 * gst/base/gstbasesink.c: Update for preroll lock name change.
8220 2005-11-21 Wim Taymans <wim@fluendo.com>
8222 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8223 (gst_clock_get_master):
8225 * gst/gstsystemclock.c: (gst_system_clock_init):
8226 Convert Clock flags to object flags.
8227 Added methods to manage master/slave clocks.
8229 2005-11-21 Wim Taymans <wim@fluendo.com>
8231 * check/gst/gstsegment.c: (GST_START_TEST):
8232 * docs/design/part-TODO.txt:
8233 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8234 (gst_base_sink_event), (gst_base_sink_do_sync),
8235 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8236 (gst_base_sink_query), (gst_base_sink_change_state):
8237 * gst/base/gstbasesink.h:
8238 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8239 (gst_base_src_default_newsegment),
8240 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8241 (gst_base_src_get_range), (gst_base_src_loop),
8242 (gst_base_src_change_state):
8243 * gst/base/gstbasesrc.h:
8244 * gst/base/gstbasetransform.c:
8245 (gst_base_transform_prepare_output_buf),
8246 (gst_base_transform_event), (gst_base_transform_change_state):
8247 * gst/base/gstbasetransform.h:
8248 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8249 (gst_collect_pads_event):
8250 * gst/base/gstcollectpads.h:
8251 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8252 (gst_fake_src_create):
8253 * gst/elements/gstfakesrc.h:
8254 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8255 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8256 (gst_segment_set_last_stop), (gst_segment_set_seek),
8257 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8258 (gst_segment_to_running_time), (gst_segment_clip):
8260 More segment updates, replace code in plugins with segment
8263 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8265 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8266 Don't ignore sscanf results
8268 2005-11-21 Andy Wingo <wingo@pobox.com>
8270 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8273 * *.c: Ran scripts/update-macros. Oh yes.
8275 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8276 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8279 * scripts/update-macros: New script. Run it on your files to
8280 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8283 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8285 * docs/gst/Makefile.am:
8286 * docs/gst/gstreamer-docs.sgml:
8287 * docs/gst/gstreamer-sections.txt:
8288 * docs/gst/gstreamer.types:
8290 more docs fixes, add new api to the docs
8292 2005-11-21 Andy Wingo <wingo@pobox.com>
8294 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8295 state_broadcast call.
8297 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8299 2005-11-21 Julien MOUTTE <julien@moutte.net>
8301 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8302 function calls for arrays.
8304 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8306 * docs/random/ensonic/media-device-daemon.txt:
8307 wild idea, can this be done?
8308 * docs/gst/gstreamer-sections.txt:
8313 * gst/gstpluginfeature.c:
8317 doc fixes and additions
8319 2005-11-21 Andy Wingo <wingo@pobox.com>
8321 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8322 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8323 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8324 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8325 private to the basesrc implementation.
8327 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8328 behalf of event function if necessary. It should no longer be
8329 necessary to take the stream lock in pad's event functions. Fixes
8332 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8333 * docs/gst/gstreamer-sections.txt:
8334 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8335 (gst_structure_fixate_field_nearest_double),
8336 (gst_structure_fixate_field_boolean):
8337 * gst/gststructure.h:
8338 * win32/common/libgstreamer.def:
8339 * win32/gstreamer.def:
8341 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8344 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8346 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8347 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8348 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8349 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8350 (gst_fdsrc_uri_handler_init):
8351 * gst/elements/gstfdsrc.h:
8352 Port fd:// URI handler from 0.8 to fdsrc
8354 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8356 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8357 (gst_value_serialize_fourcc):
8359 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8360 consistent with our other format defines (#320324).
8362 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8364 * gst/gstvalue.c: (gst_value_is_fixed):
8365 Revert previous commit. Value lists are by definition
8366 not fixed, as they are a list of possible values.
8368 2005-11-21 Andy Wingo <wingo@pobox.com>
8370 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8371 during the stable series if we need it. Fixes #319178.
8373 * gst/gstevent.c (gst_event_new_filler): Removed.
8375 * check/gst/gstevent.c: Update comment about filler events.
8377 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8379 * gst/gstvalue.c: (gst_value_is_fixed):
8380 Should handle both value arrays and value lists.
8382 2005-11-21 Andy Wingo <wingo@pobox.com>
8384 patch by: Alessandro Dessina <alessandro nnva org>
8386 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8387 functions to access arrays. Fixes #321962.
8389 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8391 * docs/gst/gstreamer.types:
8392 gst_collectpads_get_type => gst_collect_pads_get_type.
8394 * gst/base/gstbasetransform.c:
8395 Remove unused SIGNAL_HANDOFF enum.
8397 2005-11-21 Andy Wingo <wingo@pobox.com>
8399 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8400 the event type (upstream, downstream, serialized). Renamed
8401 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8402 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8403 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8405 * gst/gstevent.c: Update for new CUSTOM event names.
8407 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8410 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8413 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8415 * docs/gst/gstreamer-sections.txt:
8416 * win32/common/libgstbase.def:
8417 * win32/libgstbase.def:
8418 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8419 (gst_collect_pads_class_init), (gst_collect_pads_init),
8420 (gst_collect_pads_finalize), (gst_collect_pads_new),
8421 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8422 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8423 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8424 (gst_collect_pads_start), (gst_collect_pads_stop),
8425 (gst_collect_pads_peek), (gst_collect_pads_pop),
8426 (gst_collect_pads_available), (gst_collect_pads_read),
8427 (gst_collect_pads_flush), (gst_collect_pads_event),
8428 (gst_collect_pads_chain):
8429 * gst/base/gstcollectpads.h:
8430 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8431 unimplemented functions as unimplemented. Add padding to
8432 GstCollectData. (#320766, #320423)
8434 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8437 Improve docs for DURATION message (usage of duration parameter)
8440 2005-11-20 Wim Taymans <wim@fluendo.com>
8442 * check/Makefile.am:
8443 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8447 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8448 (gst_segment_set_seek), (gst_segment_set_newsegment),
8449 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8452 Added segment helper structure and methods. Not fully implemented
8454 Added segment check.
8456 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8458 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8459 Add a deserialisation test for fractions
8460 * examples/metadata/read-metadata.c: (message_loop),
8461 (make_pipeline), (main):
8462 Fix up metadata reading sample.
8463 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8465 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8466 Don't try and fixate empty caps
8467 * gst/gst_private.h:
8468 Wrap in G_BEGIN_DECLS/G_END_DECLS
8469 * gst/gstvalue.c: (gst_value_collect_fraction),
8470 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8471 (gst_value_transform_string_fraction),
8472 (gst_value_compare_fraction):
8473 Add some extra guards to ensure that we don't end up
8474 with an invalid denominator of 0 in a gstfraction and
8475 that fractions always get reduced.
8477 2005-11-20 Wim Taymans <wim@fluendo.com>
8479 * docs/gst/gstreamer-sections.txt:
8490 2005-11-20 Wim Taymans <wim@fluendo.com>
8492 * docs/design/part-TODO.txt:
8494 Make a proper enum of the flag.
8496 2005-11-19 Wim Taymans <wim@fluendo.com>
8498 * docs/design/part-TODO.txt:
8499 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8500 (gst_format_to_quark), (gst_format_register):
8502 * gst/gstquery.c: (_gst_query_initialize),
8503 (gst_query_type_get_name), (gst_query_type_to_quark),
8504 (gst_query_type_register):
8506 Add type to quark and type to string conversions.
8508 2005-11-19 Andy Wingo <wingo@pobox.com>
8510 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8513 2005-11-19 Wim Taymans <wim@fluendo.com>
8515 * docs/design/part-TODO.txt:
8516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8517 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8518 (gst_bin_handle_message_func):
8520 Make message handling overridable.
8522 2005-11-19 Andy Wingo <wingo@pobox.com>
8524 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8527 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8529 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8530 is a GstClockTime. Fixes #321710.
8532 * gst/gstclock.h (GstClock): Remove offset property. Add
8533 internal_calibration and external_calibration. Fix padding. Pad
8534 also by GstClockTime so we don't run into problems.
8536 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8537 (gst_clock_get_rate_offset): Remove.
8538 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8541 * gst/gstutils.c (g_static_rec_cond_wait)
8542 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8544 * gst/gstbin.c: Remove terrible continue_state prototype.
8546 * gst/gstelement.h (gst_element_continue_state): Make public.
8549 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8550 by continue_state. Fixes #319389.
8552 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8553 Really fixes #168438. However I don't see anywhere where the
8554 filter function is called... stupid GStreamer...
8556 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8557 don't have a dispose function, so it won't get called when the
8558 object is unreffed, but oh well!
8560 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8561 allows a destroy function to be set so user_data can be freed.
8563 (gst_index_set_filter): Call gst_index_set_filter_full.
8565 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8567 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8568 string should produce an error, given the lack of a way to
8569 represent NULL strings. Fixes #165650.
8572 * gst/gstvalue.c (gst_value_array_append_value)
8573 (gst_value_array_prepend_value, gst_value_array_get_size)
8574 (gst_value_array_get_value): New API, copied from
8575 gst_value_list_*, only operates on arrays.
8576 (gst_value_list_append_value, gst_value_list_prepend_value)
8577 (gst_value_list_concat, gst_value_list_get_size)
8578 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8580 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8581 init_list, because it works on both.
8582 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8583 (gst_value_copy_list_or_array): Renamed from copy_list.
8584 (gst_value_free_list_or_array): Renamed from free_list.
8585 (gst_value_collect_list_or_array): Renamed from collect_list.
8586 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8587 (gst_value_list_or_array_peek_pointer): Renamed from
8589 (_gst_value_array_value_table, _gst_value_list_value_table):
8590 Update value table functions.
8591 (gst_value_compare_list_or_array): Renamed from compare_list.
8593 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8597 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8598 GstTagList*. Fixes #143472.
8600 * gst/gststructure.h: Clarify what the foreach/map functions can
8601 or can't do to their arguments.
8603 2005-11-18 Wim Taymans <wim@fluendo.com>
8605 * gst/gstclock.c: (gst_clock_set_calibration),
8606 (gst_clock_get_calibration):
8608 Calibration can be set with internal time equal to current
8611 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8617 2005-11-18 Andy Wingo <wingo@pobox.com>
8620 * pkgconfig/gstreamer-net.pc.in:
8621 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8622 * pkgconfig/Makefile.am: Add net pkgconfig files.
8624 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8627 * gst/gstghostpad.c:
8633 2005-11-18 Andy Wingo <wingo@pobox.com>
8635 * gst/net/gstnetclientclock.c: Turn off debugging.
8637 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8638 times connverge somewhat. Can't make a real test.
8640 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8641 integer arithmetic. Return the minimum of the domain, which can be
8642 set as "internal" for gst_clock_set_calibration.
8643 (gst_net_client_clock_observe_times): Call _set_calibration.
8644 (gst_net_client_clock_new): Call _set_calibration instead of
8647 * check/net/gstnetclientclock.c (test_functioning): Use the right
8651 * gst/gstclock.c (gst_clock_get_calibration)
8652 (gst_clock_set_calibration): New functions, obsolete the ones I
8653 added yesterday. Doh. Precision issues mean we have to extrapolate
8654 from a point in the more recent past than 1970.
8655 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8657 (gst_clock_adjust_unlocked): Use the right calibration data.
8659 2005-11-18 Edward Hervey <edward@fluendo.com>
8661 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8662 Also reset the ->current_* values in READY->PAUSED
8664 2005-11-18 Andy Wingo <wingo@pobox.com>
8666 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8667 Whoops, check the right fd. Also add some debugging.
8668 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8669 (do_linear_regression): Add a crapload of debugging. Subtract off
8670 the minimum values from the input series to discard unneeded bits.
8671 Use only int arithmetic. There is still double arithmetic when
8672 calculating the intercept that needs fixing. Return boolean to
8673 indicate success; FALSE would mean the domain or range is too
8674 great. Still needs fixes.
8676 2005-11-18 Wim Taymans <wim@fluendo.com>
8678 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8679 For the current position in stream time, we need to subtract
8682 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8683 Release lock before calling the callback function of async
8686 2005-11-18 Andy Wingo <wingo@pobox.com>
8688 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8689 Port goes all the way to MAXUINT16.
8691 * gst/net/gstnettimeprovider.c: Make the port range the same as
8692 for the kernel: 0 assigns, otherwise ports are less than
8695 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8698 * check/net/gstnetclientclock.c (test_functioning): Add the start
8701 2005-11-18 Wim Taymans <wim@fluendo.com>
8703 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8704 (gst_bin_remove_func), (bin_bus_handler):
8706 Removing a clock provider from a bin, triggers a clock lost message
8707 so that a new clock will be selected.
8708 Adding a clock to a bin triggers a clock provider message.
8709 Make sure we reselect a clock when we received a clock lost message.
8710 Keep a reference to the element that provided the clock.
8712 2005-11-18 Andy Wingo <wingo@pobox.com>
8714 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8715 the clock initially so it produces values around the base time.
8716 (gst_net_client_clock_class_init): Typo fix.
8717 (gst_net_client_clock_thread): Add note on when the socket gets
8720 2005-11-17 Wim Taymans <wim@fluendo.com>
8722 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8723 Free remote and local time arrays.
8725 2005-11-17 Wim Taymans <wim@fluendo.com>
8727 * gst/net/gstnetclientclock.c: (do_linear_regression),
8728 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8729 Fix compilation, uninitialized vars and a forgotten continue.
8731 2005-11-17 Andy Wingo <wingo@pobox.com>
8733 * check/Makefile.am (check_PROGRAMS):
8734 * check/net/gstnetclientclock.c: Add a most minimal test for the
8735 net client clock. More to come later.
8738 * gst/net/Makefile.am: Add netclientclock.
8740 * gst/net/gstnetclientclock.h:
8741 * gst/net/gstnetclientclock.c: New files, implement an untested
8742 GstClock that takes its time from a network time provider.
8743 Implements the algorithm in network-clock.scm.
8745 * tests/network-clock.scm (*window-size*): Rename from
8747 * tests/network-clock.scm (network-time):
8748 * tests/network-clock-utils.scm (q-push): Update callers.
8750 2005-11-17 Wim Taymans <wim@fluendo.com>
8752 * gst/gstbin.c: (gst_bin_provide_clock_func),
8753 (gst_bin_sort_iterator_new):
8754 And unref the child too..
8756 2005-11-17 Wim Taymans <wim@fluendo.com>
8758 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8759 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8760 Refactor the sort iterator so it can be used while holding the
8762 Make clock selection select a clock closest to the source.
8764 2005-11-17 Michael Smith <msmith@fluendo.com>
8766 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8767 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8769 Anonymous structs are a gcc (and some other compilers) extension, so
8770 don't use them. Since this is only for ABI-compatibility, and our
8771 API/ABI freeze is over in a few days, this whole thing will only
8772 last a few days, so don't bother trying to think up a meaningful
8773 name for the struct.
8775 2005-11-17 Andy Wingo <wingo@pobox.com>
8777 * gst/gstclock.h (GstClock): Add rate and offset properties,
8778 preserving ABI stability. Add rate/offset accessors. Will file bug
8779 for the freeze break.
8781 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8782 and offset, trying to keep precision and avoiding
8784 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8785 functions. Make gst_clock_set_time_adjust obsolete.
8786 (gst_clock_set_time_adjust): Note that this function is obsolete.
8789 * gst/base/gstbasetransform.h: Make the ABI-stability hack
8790 greppable by using GST_PADDING-1+1.
8792 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
8794 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8796 * gst/gstmessage.c: (gst_message_parse_clock_lost):
8797 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8799 * gst/gstpadtemplate.h:
8800 * gst/gstpluginfeature.h:
8801 Don't use c++ style comments in headers (#321638).
8803 2005-11-16 Andy Wingo <wingo@pobox.com>
8805 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8808 * check/net/gstnettimeprovider.c: Check to see that the time
8809 provider actually provides times. Works, yo!
8811 2005-11-16 Wim Taymans <wim@fluendo.com>
8813 * check/Makefile.am:
8816 * check/elements/fakesrc.c: (GST_START_TEST):
8817 Set element to NULL before disposing it.
8819 2005-11-16 Andy Wingo <wingo@pobox.com>
8821 * gst/net/Makefile.am:
8823 * gst/net/gstnettimeprovider.c:
8824 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8825 provider, include it from gstnet.h, and add it to the build.
8827 * gst/net/gstnettimepacket.h:
8828 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8829 sending and receiving.
8831 2005-11-16 Wim Taymans <wim@fluendo.com>
8833 * check/Makefile.am:
8834 Enable valgrind check.
8836 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8837 (gst_fake_src_alloc_buffer):
8840 2005-11-16 Wim Taymans <wim@fluendo.com>
8842 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8843 Call parent finalize too.
8845 2005-11-16 Wim Taymans <wim@fluendo.com>
8847 * check/Makefile.am:
8848 Enable valgrind check that should work fine now.
8850 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8851 * gst/gstqueue.c: (gst_queue_init):
8852 Fix memleaks in pad allocation.
8854 2005-11-16 Andy Wingo <wingo@pobox.com>
8856 * gst/net/Makefile.am:
8857 * gst/net/gstnet.h: New part of core to hold network elements and
8858 objects. Put in core because it exposes API that applications want
8859 to use. The library is named libgstnet-tempname right now because
8860 of the existing libgstnet in gst-plugins-base. Solution is
8861 probably to rename the one in plugins-base; will file a bug for
8864 * gst/net/gstnettimeprovider.c:
8865 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8866 get_time call over the network.
8869 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8871 * check/Makefile.am:
8872 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8873 get additions shortly.
8875 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8877 * gst/gstpad.c: (gst_pad_new_from_static_template):
8879 add gst_pad_new_from_static_template functions
8880 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8881 (gst_check_setup_sink_pad):
8882 * gst/elements/gsttee.c: (gst_tee_init):
8885 2005-11-16 Wim Taymans <wim@fluendo.com>
8887 * gst/gstpad.c: (gst_pad_pause_task):
8888 Removed warning, it's not really an error either.
8890 2005-11-16 Wim Taymans <wim@fluendo.com>
8892 * gst/base/gstbasetransform.c:
8893 (gst_base_transform_prepare_output_buf),
8894 (gst_base_transform_event):
8895 Check if the caps are NULL, this can happen if the element
8896 is shutting down and the pad caps are set to NULL.
8898 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8900 * gst/elements/gsttee.c: (gst_tee_init):
8901 fix pad template leak in tee
8903 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8905 * gst/glib-compat.c: (g_value_dup_gst_object):
8906 * gst/glib-compat.h:
8907 * gst/gstpad.c: (gst_pad_set_property):
8908 use gst_object_ref when setting the pad template; this will
8909 trigger the pad template leaks on GLib 2.6 and the slaves
8911 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8913 * gst/glib-compat.c: (gst_flags_get_first_value):
8914 * gst/glib-compat.h:
8915 * gst/gstregistryxml.c:
8916 remove functions copied from GLib 2.6
8918 2005-11-16 Michael Smith <msmith@fluendo.com>
8921 Don't link against VALGRIND_LIBS. That was always the wrong thing to
8922 do, but only breaks with newer valgrind versions. We're not a
8923 valgrind tool, we have no link-time dependencies on libcoregrind.
8925 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8927 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8932 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8934 * gst/base/gstbasesrc.c: (gst_base_src_init):
8935 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8936 * gst/gstqueue.c: (gst_queue_init):
8937 * gst/gstregistryxml.c: (load_feature):
8938 Revert all these unrefs, they don't even pass make check !
8940 2005-11-15 Johan Dahlin <johan@gnome.org>
8942 * gst/base/gstbasesrc.c: (gst_base_src_init):
8943 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8944 * gst/gstqueue.c: (gst_queue_init):
8945 Free pad templates, fixes a couple of leaks.
8947 2005-11-15 Daniel Fischer <dan at f3c dot com>
8949 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8951 * gst/gstpad.c: (gst_pad_get_property):
8952 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
8953 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
8956 2005-11-15 Wim Taymans <wim@fluendo.com>
8961 2005-11-15 Andy Wingo <wingo@pobox.com>
8963 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
8965 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
8966 using GST_CLOCK_TIME_NONE to disable base time management.
8967 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
8968 time if it was NONE before.
8969 (gst_pipeline_change_state): Only munge the base time if
8970 stream_time != GST_CLOCK_TIME_NONE.
8972 * check/gst/gstpipeline.c (test_base_time): Punt around the
8973 problem of the probe not being called, because that's not the
8974 issue I'm looking at. Add a check that setting stream_time to NONE
8975 disables base time management.
8977 2005-11-15 Wim Taymans <wim@fluendo.com>
8979 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8980 segment_stop == -1 at startup.
8982 * gst/base/gstbasetransform.c: (gst_base_transform_event),
8983 (gst_base_transform_change_state):
8984 Init segment values at start.
8986 2005-11-15 Wim Taymans <wim@fluendo.com>
8988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8989 0 segment values are 0 in any format.
8991 * gst/base/gstbasetransform.c: (gst_base_transform_event):
8992 * gst/base/gstbasetransform.h:
8993 Parse newsegment correctly in basetransform
8995 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8996 Sync to clock using updated segment values.
8998 2005-11-15 Andy Wingo <wingo@pobox.com>
9000 * check/gst/gstpipeline.c (test_base_time): Add check that the
9001 base time and stream time are reset correctly.
9003 2005-11-15 Wim Taymans <wim@fluendo.com>
9005 * docs/design/part-TODO.txt:
9006 Some more TODO items.
9008 2005-11-15 Andy Wingo <wingo@pobox.com>
9010 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9011 error if the user selected "no clock" as the clocking method.
9013 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9014 timestamps with live capture.
9016 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9017 is 0 but we are a live source, timestamp the buffers using the
9020 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9022 * docs/gst/gstreamer-sections.txt:
9024 * gst/gstghostpad.c:
9029 2005-11-14 Wim Taymans <wim@fluendo.com>
9032 add suppressions from Wim's Debian machine
9034 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9037 add suppressions from Andy's AMD64 Ubuntu machine
9039 2005-11-14 Andy Wingo <wingo@pobox.com>
9041 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9042 STATE_LOCK not necessary. Fixes #311489.
9044 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9047 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9048 this function is not implemented.
9050 2005-11-14 Julien MOUTTE <julien@moutte.net>
9052 * gst/base/gstbasetransform.c:
9053 (gst_base_transform_prepare_output_buf):
9054 Ref the source pad caps while we need them.
9057 2005-11-11 Wim Taymans <wim@fluendo.com>
9059 * docs/gst/gstreamer-sections.txt:
9060 Added some docs for GstCollectData.
9062 * gst/base/gstadapter.c:
9063 Some small code example fix.
9065 * gst/base/gstcollectpads.c:
9066 * gst/base/gstcollectpads.h:
9069 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9071 * configure.ac: back to HEAD
9073 === release 0.9.5 ===
9075 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9078 releasing 0.9.5, "Bike Lunch Day"
9080 2005-11-11 Wim Taymans <wim@fluendo.com>
9082 * gst/gstbuffer.c: (_gst_buffer_copy):
9085 * gst/gstcaps.c: (gst_caps_is_equal):
9087 Make _is_equal fast in the trivial cases.
9089 * gst/gstminiobject.c:
9090 * gst/gstminiobject.h:
9091 More docs. Spifify .h file.
9096 2005-11-11 Wim Taymans <wim@fluendo.com>
9098 * gst/base/gstbasetransform.c:
9099 (gst_base_transform_prepare_output_buf),
9100 (gst_base_transform_handle_buffer):
9102 If we're processing a buffer and need to allocate an output
9103 buffer, we cannot accept a format change. If we did get a
9104 format change, we have to alloc a buffer ourselves of the
9107 2005-11-11 Wim Taymans <wim@fluendo.com>
9109 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9110 While checking the flag for reentrancy in the gstcaps function
9111 is nice to detect recursive invocations, it also makes it
9112 impossible to call getcaps from multiple threads, which must be
9113 possible. So, checking for recursive calls has to go.
9115 2005-11-11 Michael Smith <msmith@fluendo.com>
9117 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9118 Don't sync on buffers that fall partially outside our current
9119 segment. Prevents an assertion failure/abort playing some files.
9121 2005-11-10 Andy Wingo <wingo@pobox.com>
9123 * check/gst/gstbin.c (test_message_state_changed_children): Style
9126 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9127 gst_bus_poll with the signal watch. Ensures that poll and a signal
9128 watch see the same messages.
9130 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9131 a poll and a watch at the same time get the same messages.
9133 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9135 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9136 * gst/gstcaps.c: (gst_caps_intersect):
9137 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9138 and it's not needed.
9140 2005-11-10 Wim Taymans <wim@fluendo.com>
9142 * docs/design/part-TODO.txt:
9145 2005-11-10 Wim Taymans <wim@fluendo.com>
9147 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9148 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9149 (gst_base_src_do_sync), (gst_base_src_get_range):
9150 Implement clock sync in base class.
9152 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9154 patch by: Tim-Philipp Müller <tim at centricular dot net>
9156 * gst/gststructure.c: (gst_structure_parse_field),
9157 (gst_structure_from_string):
9158 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9159 so that gst_parse_launch() can deal with spaces in filtered link
9160 caps (fixes #164479)
9161 * check/gst/capslist.h:
9162 * check/gst/gststructure.c: (GST_START_TEST):
9163 add unit tests for this change
9165 2005-11-10 Wim Taymans <wim@fluendo.com>
9167 * docs/gst/gstreamer-sections.txt:
9170 Fix docs, move some STATE macros to private.
9172 2005-11-10 Wim Taymans <wim@fluendo.com>
9174 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9175 Added check for bug #317341
9179 Some more spiffifying.
9181 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9182 Call peer linkfunction if we are a source pad. Totally fixes
9186 Update docs, source pads should call the peer linkfunction
9187 so they can atomically perform the pad link.
9189 2005-11-09 Wim Taymans <wim@fluendo.com>
9193 Uber-spiffy-spiffify some more.
9195 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9197 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9198 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9199 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9200 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9201 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9202 * gst/gstpad.c: (gst_pad_init):
9203 Use GST_DEBUG_FUNCPTR() more extensively.
9205 2005-11-09 Wim Taymans <wim@fluendo.com>
9207 * gst/gstobject.c: (gst_object_class_init):
9209 Documentation fixes.
9211 2005-11-09 Edward Hervey <edward@fluendo.com>
9213 * gst/gsttypefindfactory.c:
9216 2005-11-09 Edward Hervey <edward@fluendo.com>
9218 * gst/base/gsttypefindhelper.c:
9219 * gst/gsttypefind.c:
9220 * gst/gsttypefind.h:
9223 2005-11-09 Wim Taymans <wim@fluendo.com>
9225 * gst/gstiterator.c:
9232 2005-11-09 Wim Taymans <wim@fluendo.com>
9238 2005-11-09 Wim Taymans <wim@fluendo.com>
9240 * docs/gst/gstreamer-sections.txt:
9241 Moved the message async delivery private lock and cond
9242 to the private section.
9248 2005-11-09 Edward Hervey <edward@fluendo.com>
9250 * docs/gst/gstreamer-sections.txt:
9253 Document GstURIHandler
9255 2005-11-09 Wim Taymans <wim@fluendo.com>
9257 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9258 (gst_iterator_find_custom):
9259 * gst/gstiterator.h:
9262 2005-11-09 Wim Taymans <wim@fluendo.com>
9265 Document another field.
9267 * gst/gststructure.c:
9268 * gst/gststructure.h:
9271 2005-11-09 Wim Taymans <wim@fluendo.com>
9276 2005-11-09 Wim Taymans <wim@fluendo.com>
9278 * docs/gst/gstreamer-sections.txt:
9279 Added some new macros.
9286 2005-11-09 Wim Taymans <wim@fluendo.com>
9288 * docs/design/part-TODO.txt:
9289 Some more items for the TODO
9295 2005-11-09 Andy Wingo <wingo@pobox.com>
9297 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9298 to work on something else now tho...
9300 * gst/base/gstadapter.c: More adapter docs.
9302 * gst/elements/gstfilesink.c (gst_file_sink_start)
9303 (gst_file_sink_stop): New functions, replace the state change
9305 (gst_file_sink_class_init): Hook up the start and stop functions.
9306 (gst_file_sink_base_init): Don't set the state change handler any
9307 more. It was a bit ugly too, being set from here...
9308 (gst_file_sink_get_property, gst_file_sink_set_property):
9310 (gst_file_sink_set_location): More robust check that doesn't call
9313 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9315 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9316 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9318 2005-11-08 Wim Taymans <wim@fluendo.com>
9320 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9321 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9322 (gst_base_sink_chain), (gst_base_sink_change_state):
9323 * gst/base/gstbasesink.h:
9324 * gst/base/gstbasesrc.h:
9327 Avoid excessive typechecking in macros.
9329 * gst/gstminiobject.c: (gst_mini_object_get_type),
9330 (gst_mini_object_init), (gst_mini_object_new),
9331 (gst_mini_object_free):
9332 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9333 (gst_object_finalize):
9334 Remove cruft code, optimize alloc_trace.
9336 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9338 * docs/faq/gst-uninstalled:
9339 fix up PS1 for systems that try to reset it
9341 2005-11-07 Wim Taymans <wim@fluendo.com>
9343 * gst/base/gstbasesrc.c: (gst_base_src_init),
9344 (gst_base_src_get_range):
9345 Set the segment_end to -1 initially. Fixed typefind.
9347 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9349 * gst/base/gstadapter.c:
9350 Debug category should be 'adapter', not 'GstAdapter'.
9352 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9353 (gst_collectpads_class_init), (gst_collectpads_init),
9354 (gst_collectpads_peek), (gst_collectpads_pop),
9355 (gst_collectpads_event), (gst_collectpads_chain):
9356 Add debug category and some debugging output. Use boilerplate
9357 macros. Remove some extraneous words from docs.
9359 2005-11-05 Andy Wingo <wingo@pobox.com>
9361 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9364 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9366 * docs/gst/gstreamer-sections.txt:
9369 * gst/gstminiobject.h:
9374 2005-11-04 Wim Taymans <wim@fluendo.com>
9376 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9377 Small update to stop at the configured segment_end
9380 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9382 * gst/gstregistry.c:
9383 * gst/gstregistry.h:
9386 2005-11-04 Edward Hervey <edward@fluendo.com>
9388 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9389 Check if we are doing a segment seek and have arrived at the
9390 end of that segment.
9392 2005-11-04 Wim Taymans <wim@fluendo.com>
9394 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9395 Don't leak a mutex unlock in case of an error.
9400 2005-11-04 Wim Taymans <wim@fluendo.com>
9402 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9404 Get the context to wake up only once.
9406 2005-11-03 Wim Taymans <wim@fluendo.com>
9408 * check/states/sinks.c: (GST_START_TEST):
9409 Uncomment fixed check.
9411 * docs/design/part-TODO.txt:
9414 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9415 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9416 (gst_base_sink_get_position):
9417 If we are going to PLAYING, post the right pending state
9418 when we post the intermediate paused message.
9420 * gst/gstelement.c: (gst_element_continue_state),
9421 (gst_element_set_state_func), (gst_element_change_state):
9422 Don't post state changes that were between the same state
9425 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9427 * docs/gst/gstreamer-sections.txt:
9430 * gst/gstminiobject.h:
9433 more docs and doc style fixes
9435 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9437 * docs/gst/gstreamer-sections.txt:
9439 * gst/gstminiobject.c:
9442 2005-11-03 Andy Wingo <wingo@pobox.com>
9444 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9445 state-changed messages actually have the right order and the right
9448 2005-11-03 Wim Taymans <wim@fluendo.com>
9450 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9451 Added some more checks. Specifically the case where NO_PREROLL
9452 elements are in the pipeline.
9454 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9455 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9456 (gst_base_sink_get_position):
9457 Post READY->PAUSED state change messages too.
9458 Fix bug where VOID was posted as pending state...
9460 * gst/gstbin.c: (gst_bin_recalc_state):
9461 use _element_continue_state() to continue the state change.
9463 * gst/gstelement.c: (gst_element_continue_state),
9464 (gst_element_commit_state), (gst_element_set_state_func),
9465 (gst_element_change_state), (gst_element_change_state_func):
9466 Lots of state change cleanups, assign the STATE_RETURN in
9467 a new continue_state() function that also propagates the
9468 last return value from a state change to the app.
9469 Update some debug statements with proper category.
9471 2005-11-03 Wim Taymans <wim@fluendo.com>
9473 * docs/design/part-events.txt:
9474 * docs/design/part-gstpipeline.txt:
9475 * docs/design/part-messages.txt:
9476 * docs/design/part-overview.txt:
9477 * docs/design/part-seeking.txt:
9478 * docs/design/part-states.txt:
9479 * docs/design/part-trickmodes.txt:
9480 * docs/manual/advanced-position.xml:
9484 People think !! is ugly, this looks better.
9486 * gst/gstpad.c: (gst_pad_set_blocked_async):
9487 Remove !! since it's fixed elsewhere now.
9489 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9491 * gst/gstminiobject.h:
9493 Add !! to _FLAG_IS_SET macros to make the result boolean.
9495 2005-11-03 Edward Hervey <edward@fluendo.com>
9497 * gst/gstpad.c: (gst_pad_set_blocked_async):
9498 comparing a flag and a gboolean rarely returns coherent results...
9499 Added two characters (!!) to make that work correctly.
9501 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9503 * gst/gstbus.c: (gst_bus_class_init):
9506 * gst/gstqueue.c: (gst_queue_loop):
9507 Don't assume a miniobject that isn't a buffer is an
9508 event (it could be that there is a refcounting
9509 problem somewhere and the pointer is stale and
9510 refers to an already destroyed miniobject).
9512 2005-11-03 Julien MOUTTE <julien@moutte.net>
9514 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9516 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9518 * docs/manual/advanced-position.xml:
9519 Update seek example and explanations to current 0.9 API.
9521 * gst/elements/gsttypefindelement.c:
9522 (gst_type_find_element_activate):
9523 Remove FIXME comment now that the found caps
9526 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9528 * gst/gstregistryxml.c: (load_feature):
9529 Add another GST_STR_NULL instance
9531 2005-11-02 Edward Hervey <edward@fluendo.com>
9533 * gst/gstpad.c: (handle_pad_block):
9534 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9536 2005-11-02 Wim Taymans <wim@fluendo.com>
9541 * gst/gstelement.c: (gst_element_commit_state):
9542 Remove unused value.
9544 * gst/gstiterator.c:
9545 Mention that the returned element is reffed in the docs.
9547 2005-11-02 Wim Taymans <wim@fluendo.com>
9549 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9550 (gst_pad_push), (gst_pad_push_event):
9551 Unlock blocked pads when they are flushed.
9553 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9556 * docs/gst/gstreamer-sections.txt:
9559 * gst/gstregistry.c: (gst_registry_scan_path_level):
9560 fix for a nasty little missed situation where an installed plug-in
9561 which was in the cache did not get overridden by an uninstalled one
9562 which was earlier in the plugin path because the newly created plugin
9563 for the uninstalled one (not in the registry) didn't get its
9564 ->registered set to TRUE
9566 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9568 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9569 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9570 (gst_collectpads_is_active), (gst_collectpads_collect),
9571 (gst_collectpads_collect_range), (gst_collectpads_start),
9572 (gst_collectpads_stop), (gst_collectpads_peek),
9573 (gst_collectpads_pop), (gst_collectpads_available),
9574 (gst_collectpads_read), (gst_collectpads_flush):
9575 Guard public API with assertions.
9578 Fix docs for gst_pad_set_link_function().
9580 2005-11-02 Johan Dahlin <johan@gnome.org>
9582 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9583 Unref found_caps after we used it.
9585 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9587 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9588 Don't try to ref NULL.
9590 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9592 * win32/common/config.h.in:
9593 provide a GST_FUNCTION that just gives a string for now
9595 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9597 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9598 (gst_object_flags_get_type), (register_gst_bin_flags),
9599 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9600 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9601 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9602 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9603 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9604 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9605 (gst_clock_flags_get_type), (register_gst_state),
9606 (gst_state_get_type), (register_gst_state_change_return),
9607 (gst_state_change_return_get_type), (register_gst_state_change),
9608 (gst_state_change_get_type), (register_gst_element_flags),
9609 (gst_element_flags_get_type), (register_gst_core_error),
9610 (gst_core_error_get_type), (register_gst_library_error),
9611 (gst_library_error_get_type), (register_gst_resource_error),
9612 (gst_resource_error_get_type), (register_gst_stream_error),
9613 (gst_stream_error_get_type), (register_gst_event_type),
9614 (gst_event_type_get_type), (register_gst_seek_type),
9615 (gst_seek_type_get_type), (register_gst_seek_flags),
9616 (gst_seek_flags_get_type), (register_gst_format),
9617 (gst_format_get_type), (register_gst_index_certainty),
9618 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9619 (gst_index_entry_type_get_type),
9620 (register_gst_index_lookup_method),
9621 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9622 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9623 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9624 (gst_index_flags_get_type), (register_gst_debug_level),
9625 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9626 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9627 (gst_iterator_result_get_type), (register_gst_iterator_item),
9628 (gst_iterator_item_get_type), (register_gst_message_type),
9629 (gst_message_type_get_type), (register_gst_mini_object_flags),
9630 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9631 (gst_pad_link_return_get_type), (register_gst_flow_return),
9632 (gst_flow_return_get_type), (register_gst_activate_mode),
9633 (gst_activate_mode_get_type), (register_gst_pad_direction),
9634 (gst_pad_direction_get_type), (register_gst_pad_flags),
9635 (gst_pad_flags_get_type), (register_gst_pad_presence),
9636 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9637 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9638 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9639 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9640 (gst_plugin_flags_get_type), (register_gst_rank),
9641 (gst_rank_get_type), (register_gst_query_type),
9642 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9643 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9644 (gst_tag_flag_get_type), (register_gst_task_state),
9645 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9646 (gst_alloc_trace_flags_get_type),
9647 (register_gst_type_find_probability),
9648 (gst_type_find_probability_get_type), (register_gst_uri_type),
9649 (gst_uri_type_get_type), (register_gst_parse_error),
9650 (gst_parse_error_get_type):
9651 * win32/common/gstversion.h:
9654 2005-11-01 Luca Ognibene <luogni@tin.it>
9657 fix docs. popt is dead, long live GOption.
9659 2005-10-31 Wim Taymans <wim@fluendo.com>
9664 2005-10-31 Andy Wingo <wingo@pobox.com>
9668 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9670 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9671 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9672 the possibility of deadlocks here if code calling notify() or
9673 set() has a lock that can be taken in another notify handler (ABBA
9674 with class lock and e.g. python GIL state lock).
9676 2005-10-28 Julien MOUTTE <julien@moutte.net>
9678 * gst/gstbus.c: Doc updates.
9680 2005-10-28 Wim Taymans <wim@fluendo.com>
9682 * docs/design/part-TODO.txt:
9683 * gst/gstiterator.c:
9684 * gst/gstsystemclock.c:
9685 * gst/gstsystemclock.h:
9688 2005-10-28 Edward Hervey <edward@fluendo.com>
9690 * docs/gst/gstreamer-docs.sgml:
9691 * docs/gst/gstreamer-sections.txt:
9692 the GstURIType documentation page is private, it only defines GstURIType
9693 which should be defined in the GstURIHandler page
9695 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
9697 * gst/gstbin.c: (gst_bin_class_init):
9700 Documentation updates.
9702 2005-10-28 Wim Taymans <wim@fluendo.com>
9704 * docs/gst/gstreamer-sections.txt:
9707 Documented the clocks.
9709 2005-10-28 Stefan Kost <ensonic@users.sf.net>
9711 * docs/gst/gstreamer-sections.txt:
9712 move some macros to private sections
9713 * gst/gstminiobject.c:
9714 * gst/gstminiobject.h:
9715 add descriptions provided by ds and some more
9717 mark macro as to be removed
9719 2005-10-28 Wim Taymans <wim@fluendo.com>
9721 * docs/design/part-TODO.txt:
9722 Add an item to TODO.
9724 * gst/gstiterator.c: (gst_iterator_fold),
9725 (gst_iterator_find_custom):
9726 * gst/gstiterator.h:
9729 2005-10-28 Wim Taymans <wim@fluendo.com>
9731 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9732 (gst_base_transform_init):
9735 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9736 An EOS event marks the queue as completely filled.
9738 2005-10-27 Wim Taymans <wim@fluendo.com>
9740 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9741 (gst_base_sink_do_sync), (gst_base_sink_get_position):
9742 Some more debugging.
9744 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9745 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9746 (gst_base_transform_event), (gst_base_transform_getrange),
9747 (gst_base_transform_chain):
9748 * gst/base/gstbasetransform.h:
9750 Protect transform and concurrent buffer alloc with a new lock.
9751 Try not to break ABI/API.
9753 2005-10-27 Wim Taymans <wim@fluendo.com>
9755 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9756 (gst_base_src_init), (gst_base_src_query),
9757 (gst_base_src_default_newsegment),
9758 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9759 (gst_base_src_send_event), (gst_base_src_event_handler),
9760 (gst_base_src_pad_get_range), (gst_base_src_loop),
9761 (gst_base_src_unlock), (gst_base_src_default_negotiate),
9762 (gst_base_src_start), (gst_base_src_deactivate),
9763 (gst_base_src_activate_push), (gst_base_src_change_state):
9764 Move some stuff around and cleanup things.
9766 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
9768 * gst/base/gstbasesrc.c: (gst_base_src_query):
9769 Add missing break statements.
9771 2005-10-27 Wim Taymans <wim@fluendo.com>
9773 * check/gst/gstbin.c: (GST_START_TEST):
9774 An extra refcount is taken in basesrc.
9776 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9777 (gst_base_src_get_range), (gst_base_src_pad_get_range),
9778 (gst_base_src_loop):
9779 Small cleanups, check for flushing after being unlocked from the
9780 LIVE_LOCK. take refcounts correctly (not yet everywhere).
9781 Don't send out EOS when going to READY.
9783 2005-10-27 Wim Taymans <wim@fluendo.com>
9785 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9786 (gst_base_sink_get_position):
9789 * gst/gstbin.c: (message_check), (bin_replace_message),
9790 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9791 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9792 (bin_query_duration_init), (bin_query_duration_fold),
9793 (bin_query_duration_done), (bin_query_generic_fold),
9795 * tools/gst-launch.c: (main):
9798 2005-10-26 Stefan Kost <ensonic@users.sf.net>
9800 * examples/controller/audio-example.c: (main):
9801 * examples/queue/queue.c: (event_loop):
9802 * gst/base/gstbasetransform.h:
9803 * gst/gstelement.c: (gst_element_send_event):
9805 * gst/gstpad.c: (gst_pad_send_event):
9808 changing log priority in error situations
9810 2005-10-25 Wim Taymans <wim@fluendo.com>
9812 * gst/gstbin.c: (message_check), (bin_replace_message),
9813 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9814 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9815 (bin_query_duration_init), (bin_query_duration_fold),
9816 (bin_query_duration_done), (bin_query_generic_fold),
9818 Some doc and debug updates.
9819 Cache previously requested query DURATION for speed. invalidate
9820 cached duration if element posts a DURATION message.
9822 2005-10-25 Wim Taymans <wim@fluendo.com>
9824 * docs/design/part-TODO.txt:
9827 * gst/gstbin.c: (message_check), (bin_replace_message),
9828 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9829 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9830 (bin_query_duration_init), (bin_query_duration_fold),
9831 (bin_query_duration_done), (bin_query_generic_fold),
9833 Handle SEGMENT_START/DONE messages correctly.
9834 More evolved query algorithm that handles duration queries
9837 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9838 (gst_element_get_state_func), (gst_element_abort_state),
9839 (gst_element_commit_state), (gst_element_lost_state):
9840 Some more debugging.
9845 2005-10-25 Wim Taymans <wim@fluendo.com>
9847 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9848 Don't use invalid stream_time.
9850 * gst/gstevent.c: (gst_event_new_newsegment):
9851 stream_time in newsegment cannot be undefined.
9853 2005-10-24 Wim Taymans <wim@fluendo.com>
9858 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9860 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9862 2005-10-24 Stefan Kost <ensonic@users.sf.net>
9864 * docs/libs/tmpl/gstdparam.sgml:
9865 * docs/libs/tmpl/gstdplinint.sgml:
9866 * docs/libs/tmpl/gstdpman.sgml:
9867 * docs/libs/tmpl/gstdpsmooth.sgml:
9868 * docs/libs/tmpl/gstunitconvert.sgml:
9871 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
9876 === release 0.9.4 ===
9878 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9881 releasing 0.9.4, "Tyrannosaurus Rex"
9883 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
9885 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9886 (gst_file_sink_get_current_offset):
9887 Use fseeko() and ftello() if available. When falling back on
9888 lseek() to get the current offset, fflush() first to make sure
9889 everything is up-to-date and we get the right offset.
9891 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9893 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9894 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9895 * gst/gsterror.c: (_gst_stream_errors_init):
9897 * gst/gstqueue.c: (gst_queue_loop):
9899 remove prematurely added error category and clean up the instances
9901 2005-10-21 Wim Taymans <wim@fluendo.com>
9903 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9904 (gst_base_sink_get_position), (gst_base_sink_query),
9905 (gst_base_sink_change_state):
9906 Simply set the right flag when going to playing, that's all
9907 we need to do instead of calling a function inside the object
9908 lock (that could take the lock as well and deadlock)
9910 2005-10-21 Wim Taymans <wim@fluendo.com>
9912 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9913 (gst_base_src_loop):
9914 Don't warn, the peer element knows what to do best when
9915 the seek failed, it might try something else.
9917 2005-10-21 Wim Taymans <wim@fluendo.com>
9919 * gst/base/gstbasesrc.c: (gst_base_src_init),
9920 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9923 2005-10-21 Wim Taymans <wim@fluendo.com>
9925 * docs/design/part-segments.txt:
9928 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9929 Correctly set caps, even on the subbufer.
9931 2005-10-21 Wim Taymans <wim@fluendo.com>
9933 * docs/gst/gstreamer-docs.sgml:
9934 * docs/gst/gstreamer-sections.txt:
9941 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
9945 And 2% more doc coverage.
9947 2005-10-21 Andy Wingo <wingo@pobox.com>
9949 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
9952 2005-10-20 Wim Taymans <wim@fluendo.com>
9954 * gst/gsterror.c: (gst_error_get_message):
9957 * gst/gststructure.c:
9962 2005-10-20 Wim Taymans <wim@fluendo.com>
9967 Another 1% more coverage.
9969 2005-10-20 Wim Taymans <wim@fluendo.com>
9971 * docs/gst/gstreamer-sections.txt:
9972 * gst/gstelement.c: (gst_element_get_state_func),
9973 (gst_element_abort_state), (gst_element_commit_state),
9974 (gst_element_lost_state):
9976 * gst/gstquery.c: (gst_query_set_position),
9977 (gst_query_parse_position), (gst_query_set_duration),
9978 (gst_query_parse_duration), (gst_query_new_convert):
9980 Yay! 1% more docs coverage.
9982 2005-10-20 Wim Taymans <wim@fluendo.com>
9985 * gst/gstquery.c: (gst_query_set_position),
9986 (gst_query_parse_position), (gst_query_set_duration),
9987 (gst_query_parse_duration), (gst_query_new_convert):
9989 * gst/gstutils.c: (gst_element_query_convert):
9991 Docs and consistency fixes.
9993 2005-10-20 Wim Taymans <wim@fluendo.com>
9999 2005-10-20 Wim Taymans <wim@fluendo.com>
10001 * gst/gstbin.c: (message_check), (bin_replace_message),
10002 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10003 (update_degree), (gst_bin_sort_iterator_next),
10004 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10005 Reworked the message handling a bit, cache the messages instead of
10006 only the senders. alows us to do more in the future.
10008 2005-10-20 Wim Taymans <wim@fluendo.com>
10010 * docs/design/part-TODO.txt:
10013 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10014 (gst_base_sink_query):
10015 Don't use clock time to report position when in EOS.
10017 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10019 * tools/gst-inspect.c: (print_interfaces),
10020 (print_element_properties_info), (print_element_info):
10021 Fix interface output with gst-inspect -a; don't print
10022 newlines after double/float properties.
10024 2005-10-20 Wim Taymans <wim@fluendo.com>
10026 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10027 (gst_base_sink_query):
10028 Speed up current position calculation.
10030 * gst/base/gstbasesrc.c: (gst_base_src_query),
10031 (gst_base_src_default_newsegment):
10032 Correctly set stream position in newsegment.
10034 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10035 (update_degree), (gst_bin_sort_iterator_next),
10036 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10037 * gst/gstmessage.c: (gst_message_new_custom):
10038 Clean up debugging info
10040 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10041 (gst_queue_loop), (gst_queue_handle_src_query):
10044 2005-10-19 Wim Taymans <wim@fluendo.com>
10046 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10047 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10048 Fix query handling again.
10050 2005-10-19 Wim Taymans <wim@fluendo.com>
10052 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10053 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10054 * gst/base/gstbasesrc.c: (gst_base_src_query):
10055 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10056 * gst/elements/gsttypefindelement.c:
10057 (gst_type_find_handle_src_query), (find_element_get_length),
10058 (gst_type_find_element_activate):
10061 * gst/gstquery.c: (gst_query_new_position),
10062 (gst_query_set_position), (gst_query_parse_position),
10063 (gst_query_new_duration), (gst_query_set_duration),
10064 (gst_query_parse_duration), (gst_query_set_segment),
10065 (gst_query_parse_segment):
10067 Bundling query position/duration is not a good idea since duration
10068 does not change much and we don't want to recalculate it for every
10069 position query, so they are separated again..
10070 Base value in segment query is not needed.
10072 * gst/gstqueue.c: (gst_queue_handle_src_query):
10073 * gst/gstutils.c: (gst_element_query_position),
10074 (gst_element_query_duration), (gst_pad_query_position),
10075 (gst_pad_query_duration):
10077 Updates for query API change.
10078 Added some docs here and there.
10080 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10082 * check/gst/gstbin.c: (GST_START_TEST):
10083 * check/gst/gstghostpad.c: (GST_START_TEST):
10084 * check/pipelines/cleanup.c: (GST_START_TEST):
10085 wait on thread to die so we can check refcount correctly
10087 2005-10-18 Wim Taymans <wim@fluendo.com>
10089 * check/pipelines/stress.c: (GST_START_TEST):
10090 Make check a little more time consuming.
10092 2005-10-18 Wim Taymans <wim@fluendo.com>
10094 * check/Makefile.am:
10095 * check/pipelines/stress.c: (GST_START_TEST),
10096 (simple_launch_lines_suite), (main):
10097 Small state change torture test.
10099 * docs/design/part-states.txt:
10100 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10101 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10102 (gst_base_sink_change_state):
10103 Never take state lock from streaming thread, clean up ugly
10104 hacks. Unfortunatly core does not yet support nice ways to
10105 async commit state.
10107 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10109 Start state recalc if a STATE_DIRTY message is posted, but only
10110 on the toplevel bin.
10112 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10113 (gst_element_get_state_func), (gst_element_abort_state),
10114 (gst_element_commit_state), (gst_element_lost_state),
10115 (gst_element_set_state_func), (gst_element_change_state):
10116 * gst/gstelement.h:
10117 State variables are now protected with the LOCK, the state
10118 lock is only used to serialize _set_state().
10120 2005-10-18 Wim Taymans <wim@fluendo.com>
10122 * check/gst/gstbin.c: (GST_START_TEST):
10123 * check/gst/gstmessage.c: (GST_START_TEST):
10124 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10125 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10127 * gst/gstelement.c: (gst_element_abort_state),
10128 (gst_element_commit_state), (gst_element_lost_state):
10129 * gst/gstmessage.c: (gst_message_new_state_changed),
10130 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10131 (gst_message_new_segment_done), (gst_message_new_duration),
10132 (gst_message_parse_state_changed),
10133 (gst_message_parse_segment_start),
10134 (gst_message_parse_segment_done), (gst_message_parse_duration):
10135 * gst/gstmessage.h:
10136 * tools/gst-launch.c: (event_loop):
10137 Seriously, this is better than a previous commit as we only need
10138 to notify the fact that an element changed state in a streaming
10139 thread, marking the state of the parents dirty, hence the
10140 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10143 2005-10-18 Wim Taymans <wim@fluendo.com>
10145 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10146 (gst_bin_recalc_func):
10147 * gst/gstelement.c: (gst_element_set_clock),
10148 (gst_element_abort_state), (gst_element_lost_state):
10149 Cleanups, prepare for state change fixes.
10151 2005-10-18 Wim Taymans <wim@fluendo.com>
10154 * gst/gstelement.c: (gst_element_class_init),
10155 (gst_element_set_state), (gst_element_set_state_func):
10156 * gst/gstelement.h:
10157 Pending ABI changes.
10158 GThreadPool in GstBinClass to monitor async state changes.
10159 state_cookie in GstElement to detect concurrent gst/set state.
10160 set_state is now virtual too in case a very complicated element
10161 has to be constructed.
10163 2005-10-18 Wim Taymans <wim@fluendo.com>
10165 * check/gst/gstbin.c: (GST_START_TEST):
10166 * check/gst/gstmessage.c: (GST_START_TEST):
10167 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10168 * gst/gstbin.c: (bin_bus_handler):
10169 * gst/gstelement.c: (gst_element_commit_state),
10170 (gst_element_lost_state):
10171 * gst/gstmessage.c: (gst_message_new_state_changed),
10172 (gst_message_new_segment_start), (gst_message_new_segment_done),
10173 (gst_message_new_duration), (gst_message_parse_state_changed),
10174 (gst_message_parse_segment_start),
10175 (gst_message_parse_segment_done), (gst_message_parse_duration):
10176 * gst/gstmessage.h:
10177 * tools/gst-launch.c: (event_loop):
10178 Make messages future proof.
10179 state-change gets a flag if it was a message comming from the
10181 segment-start/stop can also be specified in other formats.
10182 A message to notify an app that a pipeline changed playback
10184 Also fix a GstMessage leak in -launch
10186 2005-10-18 Andy Wingo <wingo@pobox.com>
10188 * gst/gstelement.c (gst_element_dispose): More helpful message.
10190 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10192 reviewed by: <delete if not using a buddy>
10194 * common/gtk-doc.mak:
10196 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10198 * gst/gstregistry.c: (gst_registry_scan_path_level):
10199 unref a plug-in we get that was already initialized
10201 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10203 * docs/gst/gstreamer-sections.txt:
10204 * docs/libs/gstreamer-libs-sections.txt:
10205 * gst/gstelement.h:
10206 add new api entries
10207 hide internal macro
10209 2005-10-17 Andy Wingo <wingo@pobox.com>
10211 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10214 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10216 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10218 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10219 (gst_element_get_state_func): Better debug message.
10220 (gst_element_commit_state): s/INFO/DEBUG/.
10221 (gst_element_lost_state, gst_element_change_state):
10223 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10224 (gst_message_new_custom): s/INFO/LOG/.
10226 2005-10-17 Michael Smith <msmith@fluendo.com>
10228 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10229 Check if end time is valid using end time, not start time.
10231 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10233 * check/gst-libs/controller.c: (GST_START_TEST),
10234 (gst_controller_suite):
10235 * libs/gst/controller/gstcontroller.c:
10236 (gst_controlled_property_set_interpolation_mode):
10237 * libs/gst/controller/gstcontroller.h:
10238 * libs/gst/controller/gstinterpolation.c:
10239 * testsuite/controller/.cvsignore:
10240 * testsuite/controller/Makefile.am:
10241 * testsuite/controller/interpolator.c:
10242 merge controller testsuites
10244 remove mem-chunk from docs
10246 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10248 * gst/gstmemchunk.c:
10249 * gst/gstmemchunk.h:
10250 * gst/gsttrashstack.c:
10251 * gst/gsttrashstack.h:
10252 out. get out. you're fired. to the Attic !
10254 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10256 * gst/gstcaps.c: (gst_caps_intersect):
10257 fix signedness issues in a (hopefully) correct way
10258 * gst/gstelement.c: (gst_element_pads_activate):
10260 * gst/gstobject.c: (gst_object_set_parent):
10263 2005-10-17 Julien MOUTTE <julien@moutte.net>
10265 * gst/gstvalue.h: Fix prototypes.
10267 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10269 * docs/gst/gstreamer-sections.txt:
10270 * gst/gst.c: (gst_version_string):
10272 * gst/gstversion.h.in:
10273 * win32/common/libgstreamer.def:
10274 add gst_version_string ()
10276 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10280 * gst/gst.c: (init_post):
10281 * win32/common/config.h.in:
10283 * gst/gstcaps.c: (gst_caps_intersect):
10284 use gint64, the range could be bigger than a guint
10286 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10289 document potential problem in 2038
10291 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10293 * gst/gstcaps.c: (gst_caps_intersect):
10294 Fix guint j diving under 0
10296 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10299 * win32/common/config.h:
10300 * win32/common/config.h.in:
10301 check for process.h, declares getpid() on Windows
10303 include process.h if we have it
10304 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10305 * gst/gstmemchunk.h:
10306 fix signedness issues
10307 * win32/common/libgstreamer.def:
10310 2005-10-16 Julien MOUTTE <julien@moutte.net>
10312 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10313 fix. Because of unsigned ints, caps intersection was going nuts and
10314 trying to access structures with G_MAXUINT index. That fixes
10315 videotestsrc ! ffmpegcolorspace ! fakesink
10316 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10319 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10322 use the gettext macro
10323 * gst/elements/gstelements.c:
10325 * gst/indexers/gstindexers.c:
10326 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10327 * win32/common/config.h:
10329 * win32/common/config.h.in:
10330 add the template to generate config.h
10331 * win32/common/gstenumtypes.c:
10332 * win32/common/gstversion.h:
10335 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10337 * gst/gst.c: (gst_version):
10338 * gst/gstversion.h.in:
10341 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10344 Oops, add missing closing bracket.
10346 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10349 use common m4's for argument checking
10351 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10353 * docs/gst/gstreamer-sections.txt:
10355 Add GST_EVENT_TYPE_NAME() macro.
10357 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10360 * gst/gstpluginfeature.c:
10362 privatize more symbols
10364 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10367 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10368 everything that uses GStreamer API should have the includes
10370 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10372 * docs/gst/gstreamer-sections.txt:
10373 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10375 give each value a _get_type, removes the DATA exports
10377 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10381 remove _gst_registry_auto_load, not used anymore
10382 * gst/gstbin.c: (gst_bin_get_type):
10384 * gst/gstelement.c: (gst_element_get_type):
10385 * gst/gstelement.h:
10386 * gst/gstobject.c: (gst_object_get_type):
10388 * gst/gstpad.c: (gst_pad_get_type):
10390 make _get_type functions similar, fixes data export from library
10392 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10395 correctly make conditionals
10396 * gst/elements/Makefile.am:
10397 * gst/elements/gstelements.c:
10398 fix typo causing fdsrc not to build
10400 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10402 * testsuite/Makefile.am:
10403 * testsuite/bytestream/.cvsignore:
10404 * testsuite/bytestream/Makefile.am:
10405 * testsuite/bytestream/filepadsink.c:
10406 * testsuite/bytestream/gstbstest.c:
10407 * testsuite/bytestream/test1.c:
10408 * testsuite/bytestream/testfile1:
10409 * testsuite/caps/normalisation.c:
10410 * testsuite/caps/random.c: (main):
10411 * testsuite/cleanup/.cvsignore:
10412 * testsuite/cleanup/Makefile.am:
10413 * testsuite/cleanup/cleanup1.c:
10414 * testsuite/cleanup/cleanup2.c:
10415 * testsuite/cleanup/cleanup3.c:
10416 * testsuite/cleanup/cleanup4.c:
10417 * testsuite/cleanup/cleanup5.c:
10418 * testsuite/controller/interpolator.c:
10419 * testsuite/debug/printf_extension.c: (main):
10420 * testsuite/elements/tee.c:
10421 * testsuite/negotiation/.cvsignore:
10422 * testsuite/negotiation/Makefile.am:
10423 * testsuite/negotiation/pad_link.c:
10424 * testsuite/pad/Makefile.am:
10425 * testsuite/pad/chainnopull.c:
10426 * testsuite/pad/getnopush.c:
10427 * testsuite/pad/link.c:
10428 * testsuite/refcounting/sched.c: (create_pipeline):
10429 * testsuite/registry/Makefile.am:
10430 * testsuite/registry/gst-print-formats.c:
10431 * testsuite/schedulers/.cvsignore:
10432 * testsuite/schedulers/142183-2.c:
10433 * testsuite/schedulers/142183.c:
10434 * testsuite/schedulers/143777-2.c:
10435 * testsuite/schedulers/143777.c:
10436 * testsuite/schedulers/147713.c:
10437 * testsuite/schedulers/147819.c:
10438 * testsuite/schedulers/147894-2.c:
10439 * testsuite/schedulers/147894.c:
10440 * testsuite/schedulers/Makefile.am:
10441 * testsuite/schedulers/group_link.c:
10442 * testsuite/schedulers/queue_link.c:
10443 * testsuite/schedulers/relink.c:
10444 * testsuite/schedulers/unlink.c:
10445 * testsuite/schedulers/unref.c:
10446 * testsuite/schedulers/useless_iteration.c:
10447 * testsuite/states/bin.c:
10448 clean out/remove some stuff from the testsuite directories
10450 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10453 check for some headers
10454 * gst/elements/Makefile.am:
10455 * gst/elements/gstelements.c:
10456 don't compile fdsrc without sys/socket.h
10457 * gst/indexers/Makefile.am:
10458 * gst/indexers/gstindexers.c: (plugin_init):
10459 don't compile fileindex without mmap
10461 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10468 * check/Makefile.am:
10469 * docs/gst/Makefile.am:
10470 * examples/helloworld/Makefile.am:
10472 * gst/base/Makefile.am:
10473 * gst/check/Makefile.am:
10474 * gst/elements/Makefile.am:
10475 * gst/indexers/Makefile.am:
10476 * gst/parse/Makefile.am:
10477 * libs/gst/controller/Makefile.am:
10478 * libs/gst/dataprotocol/Makefile.am:
10479 * examples/helloworld/helloworld.c: (event_loop):
10480 compile fixes, though it's not being compiled currently
10482 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10484 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10485 Add some simple tests for the new taglist date API.
10487 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10489 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10490 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10491 Beautify 'last-message' output: print 'none' for buffer timestamps
10492 and durations if none is set; improve alignment with next messages.
10494 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10496 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10497 * gst/gstpluginfeature.h:
10498 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10499 * gst/gstregistry.h:
10500 * docs/gst/gstreamer-sections.txt:
10501 Add new API to check plugin feature version requirements.
10503 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10504 Some basic tests for the above.
10506 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10508 * gst/gststructure.c: (gst_structure_to_string):
10509 guard against NULL printf - happens when for example
10510 a message structure with GstClock gets serialized
10512 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10514 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10515 Fix presumable copy'n'pasto.
10517 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10519 * gst/elements/gstfakesrc.h:
10520 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10521 * gst/elements/gsttypefindelement.c:
10522 fix some signedness
10523 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10524 I wonder if this could actually write +2GB files before
10526 2005-10-13 Andy Wingo <wingo@pobox.com>
10528 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10529 Fix Timmeke Waymans bug.
10530 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10531 string of the proper length to gst_caps_from_string. There's a
10532 potential for, before this fix, that this could cause someone
10533 connecting over the network to cause a segfault if the payload is
10534 not NUL-terminated.
10536 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10538 * docs/design/draft-push-pull.txt:
10539 * docs/design/part-overview.txt:
10540 * docs/random/TODO-pre-0.9:
10541 * docs/random/old/ChangeLog.gstreamer:
10542 * gst/base/gstpushsrc.c:
10546 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10548 * gst/glib-compat.c: (gst_flags_get_first_value):
10549 * gst/glib-compat.h:
10550 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10551 (gst_value_compare_double), (gst_value_serialize_flags):
10552 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10555 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10558 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10560 * tools/gst-launch.c: (event_loop):
10561 print out clock nicely
10563 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10565 * docs/gst/gstreamer-sections.txt:
10566 * gst/gsttaglist.h:
10567 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10568 (gst_tag_list_get_date_index):
10569 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10570 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10572 2005-10-13 Julien MOUTTE <julien@moutte.net>
10574 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10575 (gst_collectpads_chain):
10576 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10579 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10581 * docs/gst/gstreamer-sections.txt:
10584 * tools/gst-inspect.c: (main):
10585 * tools/gst-launch.c: (main):
10586 * tools/gst-run.c: (main):
10587 * tools/gst-xmlinspect.c: (main):
10588 fix GOption context leaks
10591 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10595 * win32/common/config.h:
10597 * win32/vs6/grammar.dsp:
10598 * win32/vs6/libgstelements.dsp:
10599 * win32/vs6/libgstreamer.dsp:
10602 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10604 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10605 * gst/base/gstbasesrc.c: (gst_base_src_query):
10606 fix more guint64<->gdouble conversions
10608 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10611 add win32-update target
10612 * win32/common/gstconfig.h:
10613 * win32/common/gstenumtypes.c:
10614 * win32/common/gstenumtypes.h:
10615 * win32/common/gstversion.h:
10616 add files that visual studio can't generate
10618 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10621 add a win32-update target
10624 2005-10-12 Wim Taymans <wim@fluendo.com>
10626 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10627 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10628 * gst/gstelement.c: (gst_element_commit_state),
10629 (gst_element_set_state):
10630 Protect flags with proper lock.
10631 unref provided cached clock in dispose.
10633 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10636 * gst/gstminiobject.h:
10638 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10639 removed unused flags from miniobject
10642 2005-10-12 Wim Taymans <wim@fluendo.com>
10644 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10645 (gst_file_sink_event), (gst_file_sink_render):
10646 Flush before seeking.
10648 2005-10-12 Andy Wingo <wingo@pobox.com>
10650 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10651 always been the case.
10653 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10655 * check/gst/gstbin.c: (GST_START_TEST):
10656 * docs/gst/gstreamer-sections.txt:
10657 * gst/base/gstbasesink.c: (gst_base_sink_init):
10658 * gst/base/gstbasesrc.c: (gst_base_src_init),
10659 (gst_base_src_get_range), (gst_base_src_check_get_range),
10660 (gst_base_src_start), (gst_base_src_stop):
10661 * gst/base/gstbasesrc.h:
10662 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10663 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10664 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10668 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10670 * gst/gstelement.c: (gst_element_is_locked_state),
10671 (gst_element_set_locked_state), (gst_element_commit_state),
10672 (gst_element_set_state):
10673 * gst/gstelement.h:
10674 * gst/gstindex.c: (gst_index_init):
10676 * gst/gstminiobject.h:
10677 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10678 (gst_object_set_parent):
10680 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10681 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10683 * gst/gstpadtemplate.h:
10684 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10685 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10686 * gst/gstpipeline.h:
10687 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10688 (gst_file_index_commit):
10689 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10690 * testsuite/pad/link.c: (gst_test_src_init),
10691 (gst_test_filter_init), (gst_test_sink_init):
10692 * testsuite/states/locked.c: (main):
10693 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10694 moved bitshift from macro to enum definition
10696 2005-10-12 Wim Taymans <wim@fluendo.com>
10698 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10699 * gst/elements/gstfilesink.c: (gst_file_sink_event),
10700 (gst_file_sink_render):
10701 Some more debugging info.
10703 2005-10-12 Wim Taymans <wim@fluendo.com>
10705 * docs/design/part-states.txt:
10706 * tools/gst-launch.c: (main):
10708 Revert non-intentional change.
10710 2005-10-12 Wim Taymans <wim@fluendo.com>
10712 * check/gst/gstbin.c: (GST_START_TEST):
10713 * check/gst/gstelement.c: (GST_START_TEST):
10714 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10715 * check/gst/gstghostpad.c: (GST_START_TEST):
10716 * check/gst/gstpipeline.c: (GST_START_TEST):
10717 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10718 * check/states/sinks.c: (GST_START_TEST):
10719 * gst/elements/gsttypefindelement.c: (stop_typefinding):
10720 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10721 (gst_bin_remove_func), (gst_bin_get_state_func),
10722 (gst_bin_recalc_state), (gst_bin_change_state_func),
10724 * gst/gstelement.c: (gst_element_get_state_func),
10725 (gst_element_get_state), (gst_element_abort_state),
10726 (gst_element_commit_state), (gst_element_set_state),
10727 (gst_element_change_state), (gst_element_change_state_func):
10728 * gst/gstelement.h:
10729 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10730 (gst_pipeline_provide_clock_func):
10731 * gst/gstutils.c: (gst_element_link_pads_filtered):
10732 * tools/gst-launch.c: (main):
10733 * tools/gst-typefind.c: (main):
10734 Use GstClockTime in _get_state() instead of GTimeVal.
10735 Remove old code in gstutils.c
10737 2005-10-12 Andy Wingo <wingo@pobox.com>
10739 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10742 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10743 there is no task. Shouldn't affect any code, as nothing in our
10744 plugins checks this return value.
10745 (gst_pad_stop_task): Also take the stream lock if the pad has no
10746 task. Docs updated.
10748 2005-10-12 Wim Taymans <wim@fluendo.com>
10750 * gst/gstpad.c: (pre_activate), (post_activate),
10751 (gst_pad_activate_pull), (gst_pad_activate_push):
10752 Cleanup activation code. Reset old state if
10755 2005-10-12 Wim Taymans <wim@fluendo.com>
10757 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10758 (gst_base_sink_change_state):
10759 No need to prerol after receiving EOS.
10761 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10762 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10763 * gst/elements/gstidentity.c: (gst_identity_event):
10764 Print events more verbosely.
10766 2005-10-12 Wim Taymans <wim@fluendo.com>
10768 * check/Makefile.am:
10769 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10770 * check/states/sinks2.c:
10771 Moved sinks2 testcode in sinks check.
10773 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10774 (gst_bin_remove_func), (gst_bin_recalc_state),
10775 (gst_bin_change_state_func), (bin_bus_handler):
10776 Fix potential race condition when _get_state() iterated over an
10777 ASYNC element right before it posted a state completion.
10780 Do proper cast here.
10782 * gst/gstevent.c: (gst_event_new_newsegment),
10783 (gst_event_parse_newsegment):
10784 A playback rate of 0.0 is not allowed.
10786 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10788 * win32/common/config.h:
10789 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10790 (_trewinddir), (_ttelldir), (_tseekdir):
10791 * win32/common/dirent.h:
10792 * win32/common/gtchar.h:
10793 * win32/common/libgstbase.def:
10794 * win32/common/libgstreamer.def:
10795 * win32/vs6/grammar.dsp:
10796 * win32/vs6/gst_inspect.dsp:
10797 * win32/vs6/gst_launch.dsp:
10798 * win32/vs6/gstreamer.dsw:
10799 * win32/vs6/libgstbase.dsp:
10800 * win32/vs6/libgstelements.dsp:
10801 * win32/vs6/libgstreamer.dsp:
10802 Visual Studio 6 project files, and a new common directory.
10805 2005-10-11 Wim Taymans <wim@fluendo.com>
10807 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10808 (gst_base_sink_do_sync), (gst_base_sink_query),
10809 (gst_base_sink_change_state):
10810 * gst/base/gstbasesink.h:
10811 Correctly parse newsegment info.
10813 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10815 * gst/gst.c: (init_post):
10816 split plugin paths correctly
10818 2005-10-11 Wim Taymans <wim@fluendo.com>
10820 * check/gst/gstevent.c: (GST_START_TEST):
10821 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10822 (gst_base_sink_change_state):
10823 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10824 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10825 * gst/elements/gstfilesink.c: (gst_file_sink_event):
10826 * gst/gstevent.c: (gst_event_new_newsegment),
10827 (gst_event_parse_newsegment):
10829 Added extra flag to newsegment for future API freeze.
10830 Updated check and base elements.
10832 2005-10-11 Julien MOUTTE <julien@moutte.net>
10834 * gst/base/gstcollectpads.c: (gst_collectpads_init),
10835 (gst_collectpads_add_pad), (gst_collectpads_pop),
10836 (gst_collectpads_event), (gst_collectpads_chain):
10837 * gst/base/gstcollectpads.h: Handle EOS correctly.
10839 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10841 * tools/gst-launch.c: (main):
10842 more null protecting
10844 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10846 * gst/gst-i18n-lib.h:
10847 check for ENABLE_NLS, not GETTEXT_PACKAGE
10848 * gst/gstregistry.c: (gst_registry_add_plugin),
10849 (gst_registry_scan_path_level),
10850 (_gst_registry_remove_cache_plugins):
10851 protect possibly NULL strings
10852 * gst/parse/types.h:
10853 config.h already included before
10854 * tools/gst-inspect.c: (main):
10855 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10856 check for ENABLE_NLS, not GETTEXT_PACKAGE
10857 * tools/gst-launch.c: (main):
10858 check for ENABLE_NLS, not GETTEXT_PACKAGE
10860 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10863 if we don't have glib, fail before testing 2.8
10864 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10865 fix a leak, should fix plugins-base testsuite
10867 2005-10-11 Andy Wingo <wingo@pobox.com>
10869 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10870 take the mode we're going to as an arg. Go head and set the mode
10871 and flushing flags now, so that if the activate function starts a
10872 thread all the flags will be in the right state.
10873 (post_activate): Renamed also. Just handle making sure streaming
10874 finishes for the deactivation case, and setting the deactivated
10876 (gst_pad_set_active): Complain loudly if deactivation fails.
10877 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10878 (gst_pad_activate_push): Adapt to pre/post_activate changes,
10879 remove the terrible hack.
10881 2005-10-11 Wim Taymans <wim@fluendo.com>
10883 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10884 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10885 (gst_bin_recalc_state), (gst_bin_change_state_func),
10886 (gst_bin_dispose), (bin_bus_handler):
10888 Prepare to make current EOS message queue more generic.
10891 * gst/gstevent.c: (gst_event_new_newsegment),
10892 (gst_event_parse_newsegment):
10894 Rename base to stream_time.
10896 * gst/gstmessage.h:
10899 2005-10-11 Wim Taymans <wim@fluendo.com>
10901 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10902 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10903 (gst_bin_change_state_func), (bin_bus_handler):
10905 Work on proper clock selection.
10907 2005-10-11 Edward Hervey <edward@fluendo.com>
10909 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
10910 * libs/gst/controller/gstcontroller.h:
10911 Added GList* version of _remove_properties() in order to be able to wrap
10914 2005-10-11 Wim Taymans <wim@fluendo.com>
10916 * docs/design/part-states.txt:
10919 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
10920 (gst_bin_change_state_func), (bin_bus_handler):
10921 Doc updates. Don't distribute the same clock over and over again.
10927 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
10928 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
10929 (gst_pad_send_event):
10931 Make probe emission threadsafe again.
10932 Register quarks and move _get_name() from utils.
10935 * gst/gstpipeline.c: (gst_pipeline_class_init),
10936 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
10937 Only redistribute the clock of it changed.
10939 * gst/gstsystemclock.h:
10944 Moved the _flow_get_name() to GstPad.
10946 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * check/gst-libs/gdp.c: (GST_START_TEST):
10949 * check/gst/gstcaps.c: (GST_START_TEST):
10950 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
10951 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
10952 (gst_dp_packet_from_caps):
10953 fix more valgrind warnings before turning up the heat
10955 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10957 * gst/parse/grammar.y:
10958 some cleanup before the hacking
10960 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10962 * gst/base/gstbasesrc.c: (gst_base_src_query):
10964 * gst/gstutils.c: (gst_guint64_to_gdouble),
10965 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
10967 externalize, basesrc uses it
10968 obviously the implementation needs testing
10970 2005-10-10 Wim Taymans <wim@fluendo.com>
10972 * tests/sched/Makefile.am:
10973 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
10974 (make_pipeline3), (make_pipeline4), (print_elem), (main):
10976 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
10978 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
10979 apparently converting from guint64 to double is not implemented
10982 2005-10-10 Wim Taymans <wim@fluendo.com>
10984 * check/Makefile.am:
10985 * check/generic/states.c: (GST_START_TEST):
10986 * check/gst/gstbin.c: (GST_START_TEST):
10987 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10988 * check/states/sinks.c: (GST_START_TEST):
10989 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
10991 Check fixes, use API as stated in design docs, remove hacks.
10993 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10994 (gst_base_sink_change_state):
10995 Catch stopping our task while we're shutting down.
10997 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
10998 (gst_bin_remove_func), (gst_bin_get_state_func),
10999 (gst_bin_recalc_state), (gst_bin_change_state_func),
11002 * gst/gstelement.c: (gst_element_init),
11003 (gst_element_get_state_func), (gst_element_abort_state),
11004 (gst_element_commit_state), (gst_element_lost_state),
11005 (gst_element_set_state), (gst_element_change_state),
11006 (gst_element_change_state_func):
11007 * gst/gstelement.h:
11008 New state change algorithm (see #318116)
11010 * gst/gstpipeline.c: (gst_pipeline_class_init),
11011 (gst_pipeline_init), (gst_pipeline_set_property),
11012 (gst_pipeline_get_property), (do_pipeline_seek),
11013 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11014 * gst/gstpipeline.h:
11015 Remove crude state change hacks.
11018 Remove crude hacks.
11020 * tools/gst-launch.c: (main):
11021 Fixes for state change. Needs some more work to fully use the
11024 2005-10-10 Andy Wingo <wingo@pobox.com>
11026 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11028 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11029 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11032 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11034 * gst/gstiterator.c: (gst_iterator_new):
11035 Fix my previous commit: GTypes passed to gst_iterator_new()
11036 can be fundamental types.
11038 2005-10-10 Wim Taymans <wim@fluendo.com>
11040 * gst/gstelement.c: (gst_element_iterate_pad_list),
11041 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11042 (gst_element_iterate_sink_pads):
11043 Use src/sink pads lists for the respective iterators instead
11046 2005-10-10 Andy Wingo <wingo@pobox.com>
11048 Merged in popt removal + GOption addition patch from Ronald, bug
11051 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11052 GstElement macros around, remove popt-related symbols, add goption
11055 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11057 * docs/gst/Makefile.am:
11058 * docs/libs/Makefile.am: No POPT_CFLAGS.
11060 * examples/manual/Makefile.am:
11061 * docs/manual/basics-init.xml: Doc updates with an example.
11063 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11064 (gst_init), (parse_one_option), (parse_goption_arg):
11065 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11066 bit of hand merging and debugging to get the GOption stuff working
11069 * tests/Makefile.am:
11070 * tools/Makefile.am:
11071 * tools/gst-inspect.c: (main):
11072 * tools/gst-launch.c: (main):
11073 * tools/gst-run.c: (main):
11074 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11076 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11078 * gst/gstiterator.c: (gst_iterator_new):
11079 Add assertions to make sure passed GType is likely to really
11080 be a GType (as the compiler won't catch it if the size and
11081 GType arguments get mixed up, see #318447).
11083 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11085 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11087 * gst/gstbin.c: (gst_bin_iterate_sorted):
11088 Pass GType and size arguments to gst_iterator_new() in the right
11089 order (maybe we should make _new() take the GType as first argument
11090 just like _new_list()?) (#318447).
11093 2005-10-10 Wim Taymans <wim@fluendo.com>
11095 * gst/gstelement.c: (gst_element_finalize):
11096 And free the GStaticRecMutex too
11098 2005-10-10 Andy Wingo <wingo@pobox.com>
11100 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11101 Allocate and free the mutex properly.
11103 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11105 (GstElement): The state_lock is now recursive. Rebuild your
11106 plugins, suckers. Old macros adapted.
11108 * docs/gst/gstreamer-sections.txt: Doc updates.
11111 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11112 (g_static_rec_cond_wait): Ported from state changes patch, while
11113 we wait on bug #317802 to be solved in a well-distributed GLib.
11115 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11116 gst_element_change_state, variable name changes.
11117 (gst_element_change_state): Split out of gst_element_set_state in
11118 preparation for the state change merge. Doesn't pay attention to
11119 the 'transition' argument.
11120 (gst_element_set_state): Updates, hopefully purely cosmetic.
11121 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11122 state change patch.
11123 (gst_element_get_state_func): Renamed from get_state, cosmetic
11126 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11128 * gst/elements/gstelements.c:
11129 * win32/GStreamer.vcproj:
11131 * win32/dirent.c: (_tseekdir):
11132 * win32/gst-inspect.vcproj:
11133 * win32/gst-launch.vcproj:
11134 * win32/gstconfig.h:
11135 * win32/gstelements.vcproj:
11136 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11137 * win32/gstreamer.def:
11138 * win32/msvc71.sln:
11139 updates for the win32 build (patch from Sebastien Moutte)
11141 2005-10-10 Andy Wingo <wingo@pobox.com>
11143 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11144 gst_bin_get_state, cleaned up (but no logic changes).
11145 (bin_element_is_sink): Comment updates.
11146 (sink_iterator_filter): Remove needless cast.
11147 (gst_bin_iterate_sinks): Doc update.
11148 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11149 cleaned up (but no logic changes).
11151 * check/states/sinks.c (test_src_sink): Cleanups from the state
11153 (test_livesrc_sink): Sync on the state.
11155 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11156 the state change patch.
11158 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11161 * check/gst/gstbin.c: Merge in some style fixes and additional
11162 checks from Wim's state change patch.
11164 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11166 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11167 (gst_type_find_helper):
11168 Check whether we have the requested data already in our list of
11169 cached buffers before pulling a new buffer; also make the buffer
11170 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11172 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11177 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11178 don't use long long, it's not portable. Replacing with
11179 gint64 seems to work; let's hope no skeletons fall out of the closet.
11181 2005-10-10 Andy Wingo <wingo@pobox.com>
11183 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11185 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11187 * docs/gst/gstreamer-sections.txt:
11192 * gst/gstmessage.c: (gst_message_parse_state_changed):
11195 more docs, fix compilation
11197 2005-10-09 Philippe Khalaf <burger@speedy.org>
11198 * gst/gstmessage.c:
11199 Fixed a few forgotten variables on previous commit
11201 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11203 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11204 Fix evil typefind crasher: getrange() might return a short
11205 buffer at the end of a file, but gst_type_find_peek() must
11206 either return the full data as requested or NULL, but
11207 never a short buffer.
11209 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11211 * gst/gstmessage.c: (gst_message_new_state_changed),
11212 (gst_message_parse_state_changed):
11213 * gst/gstmessage.h:
11214 don't use "new", it's a C++ keyword
11216 2005-10-08 Wim Taymans <wim@fluendo.com>
11218 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11219 * gst/gstelement.c: (gst_element_post_message):
11220 * gst/gstpipeline.c: (gst_pipeline_change_state):
11221 Small docs and debug updates.
11223 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11225 * docs/gst/gstreamer-sections.txt:
11226 * gst/gstelementfactory.c:
11228 * gst/gsttaglist.c:
11231 2005-10-08 Wim Taymans <wim@fluendo.com>
11233 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11234 (gst_bin_dispose), (bin_bus_handler):
11235 Fix typos, add comments.
11236 Clear EOS list when going to PAUSED from any direction and do it
11237 in a threadsafe way.
11238 Get base time in a threadsafe way too.
11239 Fix confusing debug in the change_state function.
11240 Various other small cleanups.
11242 * gst/gstelement.c: (gst_element_post_message):
11243 Fix very verbose bus posting code.
11245 * gst/gstpipeline.c: (gst_pipeline_class_init),
11246 (gst_pipeline_set_property), (gst_pipeline_get_property),
11247 (gst_pipeline_change_state):
11248 Small ARG_ -> PROP_ cleanup
11250 2005-10-08 Wim Taymans <wim@fluendo.com>
11252 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11253 Do a less CPU demanding EOS check because we can.
11255 2005-10-08 Wim Taymans <wim@fluendo.com>
11257 * libs/gst/dataprotocol/dataprotocol.c:
11258 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11259 (gst_dp_packet_from_event):
11260 * libs/gst/dataprotocol/dataprotocol.h:
11261 * libs/gst/dataprotocol/dp-private.h:
11262 It's about time we bump the version number.
11263 Since event types don't fit in the guint8 anymore describing
11264 the payload type, make payload type 16 bits wide.
11266 2005-10-08 Wim Taymans <wim@fluendo.com>
11268 * docs/design/part-TODO.txt:
11269 * docs/design/part-clocks.txt:
11270 * docs/design/part-events.txt:
11271 * docs/design/part-gstbin.txt:
11272 * docs/design/part-gstelement.txt:
11273 * docs/design/part-gstpipeline.txt:
11274 * docs/design/part-live-source.txt:
11275 * docs/design/part-messages.txt:
11276 * docs/design/part-overview.txt:
11277 * docs/design/part-states.txt:
11280 2005-10-08 Wim Taymans <wim@fluendo.com>
11284 Fix event quark registration.
11285 Add some space between events so we can insert them in the
11288 2005-10-08 Wim Taymans <wim@fluendo.com>
11290 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11291 (gst_base_sink_handle_buffer):
11292 Better log message.
11295 * gst/gstelement.h:
11298 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11299 (gst_queue_set_property), (gst_queue_get_property):
11301 Remove old unused properties.
11303 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11304 * docs/gst/gstreamer-sections.txt:
11305 * gst/gstmessage.c:
11306 * gst/gstmessage.h:
11307 * gst/gstminiobject.c:
11308 * gst/gstminiobject.h:
11312 lots of new docs and doc fixes
11314 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11316 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11318 * gst/gstregistry.c: (gst_registry_lookup_locked),
11319 (gst_registry_scan_path_level):
11320 * gst/gstregistryxml.c: (load_plugin):
11321 Only ever load one plugin for a given plugin basename.
11322 This ensures correct overriding of GST_PLUGIN_PATH over
11323 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11324 system installed plugins.
11326 2005-10-08 Wim Taymans <wim@fluendo.com>
11328 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11329 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11330 Prepare for doing QOS.
11332 2005-10-08 Wim Taymans <wim@fluendo.com>
11334 * check/gst/gstbin.c: (GST_START_TEST):
11335 * check/pipelines/cleanup.c: (GST_START_TEST):
11336 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11337 Allow new clock message too.
11339 2005-10-08 Wim Taymans <wim@fluendo.com>
11341 * gst/gstmessage.c: (gst_message_new_error),
11342 (gst_message_new_warning), (gst_message_new_tag),
11343 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11344 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11345 (gst_message_new_segment_start), (gst_message_new_segment_done),
11346 (gst_message_parse_state_changed),
11347 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11348 (gst_message_parse_new_clock):
11349 * gst/gstmessage.h:
11350 Also carry the clock in question.
11352 2005-10-08 Wim Taymans <wim@fluendo.com>
11354 * gst/gstmessage.c: (gst_message_new_custom),
11355 (gst_message_new_eos), (gst_message_new_error),
11356 (gst_message_new_warning), (gst_message_new_tag),
11357 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11358 (gst_message_new_new_clock), (gst_message_new_segment_start),
11359 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11360 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11361 * gst/gstmessage.h:
11363 Added clock related messages.
11365 * gst/gstpipeline.c: (gst_pipeline_change_state):
11366 Post message when the clock changed.
11368 * tools/gst-launch.c: (event_loop):
11371 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11373 * tools/gst-inspect.c: (print_element_properties_info):
11374 Can't pass NULL strings to g_print() on windows.
11376 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11378 * docs/Makefile.am:
11379 * docs/gst/Makefile.am:
11380 * docs/gst/gstreamer-docs.sgml:
11381 * docs/gst/running.xml:
11382 * docs/version.entities.in:
11383 add a chapter on running GStreamer.
11384 document GST_DEBUG and GST_PLUGIN* env vars
11386 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11391 remove PLUGINS_BUILDDIR stuff
11392 * gst/gst.c: (init_post):
11393 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11395 remove, it was condescending and not needed
11397 2005-10-08 Wim Taymans <wim@fluendo.com>
11399 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11400 (gst_base_sink_handle_object), (gst_base_sink_event),
11401 (gst_base_sink_wait), (gst_base_sink_handle_event),
11402 (gst_base_sink_change_state):
11403 * gst/base/gstbasesink.h:
11404 Repost EOS message while going to PLAYING if still EOS.
11405 Make sure that when receiving a FLUSH_START we don't attempt
11406 to sync on the clock anymore.
11408 2005-10-08 Wim Taymans <wim@fluendo.com>
11410 * tools/gst-launch.c: (event_loop):
11411 Better message printout.
11413 2005-10-08 Wim Taymans <wim@fluendo.com>
11415 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11416 (gst_bin_child_proxy_get_children_count):
11417 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11418 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11419 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11420 (gst_child_proxy_set_valist):
11421 * gst/parse/grammar.y:
11422 Make ChildProxy threadsafe and fix mem leaks.
11424 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11426 * gst/gst.c: (init_post):
11427 debug the GST_PLUGIN_ env vars
11429 2005-10-08 Wim Taymans <wim@fluendo.com>
11431 * check/gst/gstbin.c: (GST_START_TEST):
11432 * check/gst/gstmessage.c: (GST_START_TEST):
11433 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11434 * gst/gstelement.c: (gst_element_commit_state),
11435 (gst_element_lost_state):
11436 * gst/gstmessage.c: (gst_message_new_state_changed),
11437 (gst_message_parse_state_changed):
11438 * gst/gstmessage.h:
11439 * tools/gst-launch.c: (event_loop):
11440 Added extra field to STATE_CHANGE message with the pending
11441 state, which will be different from the new state soon.
11443 2005-10-08 Wim Taymans <wim@fluendo.com>
11445 * gst/gstbus.c: (gst_bus_pop):
11447 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11448 Small cleanups and doc updates.
11450 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11452 * gst/gst.c: (init_pre):
11453 * gst/gstbin.c: (gst_bin_add_func):
11454 log distributing clocks and base time
11455 * gst/gstregistry.c: (gst_registry_add_plugin),
11456 (gst_registry_scan_path_level), (gst_registry_scan_path):
11457 clean up the debugging output a little
11458 * gst/gstutils.c: (gst_element_state_get_name):
11459 warn about a memleak (I've actually seen this be used, though
11460 it was probably a bug)
11462 2005-10-07 Wim Taymans <wim@fluendo.com>
11464 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11465 (gst_base_src_init), (gst_base_src_default_newsegment),
11466 (gst_base_src_newsegment), (gst_base_src_do_seek),
11467 (gst_base_src_loop), (gst_base_src_start):
11468 * gst/base/gstbasesrc.h:
11469 Make the newsegment event customizable by subclasses.
11471 2005-10-07 Wim Taymans <wim@fluendo.com>
11473 * gst/gstevent.c: (gst_event_new_buffersize),
11474 (gst_event_parse_buffersize):
11476 New event for future idea.
11478 2005-10-07 Andy Wingo <wingo@pobox.com>
11480 * gst/gstelement.c (gst_element_post_message): Doc update.
11482 * docs/gst/gstreamer-sections.txt: Update.
11484 * gst/gstmessage.c (gst_message_new_application): Made into a
11485 function like honest API calls.
11486 (gst_message_new_element): New message type.
11488 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11490 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11491 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11494 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11495 NO_PREROLL from gst_element_change_state to fall through.
11497 2005-10-07 Wim Taymans <wim@fluendo.com>
11499 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11500 (gst_ghost_pad_do_activate_push):
11501 Activating a ghostpad with no internal pad in push mode
11504 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11507 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11508 Fixes compilation on Windows.
11510 2005-10-07 Michael Smith <msmith@fluendo.com>
11512 * tools/gst-inspect.c:
11513 Print out feature and plugin count at the end when printing out
11516 2005-10-04 Michael Smith <msmith@fluendo.com>
11518 * gst/gsterror.c: (_gst_stream_errors_init):
11519 Add another error string used in a few existing plugins.
11522 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11523 * tools/gst-inspect.c: (print_element_info):
11524 When a feature disappears from a plugin (and the feature exists in
11525 the cached registry file), things went horribly wrong. This isn't a
11526 complete fix, we should actually be removing the 'missing' features
11527 from the features list when we load the actual plugin. That's not
11530 2005-10-04 Johan Dahlin <johan@gnome.org>
11532 * check/gst/gstiterator.c: (GST_START_TEST):
11533 * gst/gstbin.c: (gst_bin_iterate_elements),
11534 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11535 * gst/gstelement.c: (gst_element_iterate_pads):
11536 * gst/gstformat.c: (gst_format_iterate_definitions):
11537 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11538 (gst_iterator_new_list), (gst_iterator_filter):
11539 * gst/gstiterator.h:
11540 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11541 Add a GType to GstIterator, update callsites and tests.
11543 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11545 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11546 give events a chance to be handled by event probes when the pad
11549 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11551 * gst/gstevent.c: (gst_event_type_get_name),
11552 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11554 add string representations for event types
11556 2005-10-06 Wim Taymans <wim@fluendo.com>
11558 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11559 Don't use NULL pointers.
11561 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11563 * gst/gst_private.h:
11565 * gst/gstelement.c:
11567 * gst/gstpluginfeature.c:
11568 widen the debug category in output to fit the biggest one we have
11569 add a bus category and use it
11570 play with the colors
11571 fix up some categories
11573 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11575 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11576 add push activation of sink ghost pads.
11577 Andye, please verify
11579 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11581 * gst/gstutils.c: (gst_element_link_pads):
11582 fix a bug in the case where neither element has a pad
11583 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11584 add a test for that case
11586 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11588 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11589 emit have-data before checking for peers. This allows
11590 for probe handlers to connect elements. This helps autopluggers.
11591 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11593 add six checks, linked/unlinked with no/true/false probe
11595 2005-10-04 Wim Taymans <wim@fluendo.com>
11597 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11598 (gst_fake_sink_event), (gst_fake_sink_preroll),
11599 (gst_fake_sink_render), (gst_fake_sink_change_state):
11600 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11601 (gst_fake_src_get_property), (gst_fake_src_create),
11602 (gst_fake_src_stop):
11603 * gst/elements/gstidentity.c: (gst_identity_stop):
11604 Protect last_message with lock.
11606 2005-10-04 Edward Hervey <edward@fluendo.com>
11609 Added precision in the comments for GST_FORMAT_DEFAULT
11611 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11613 * tools/gst-launch.c: (main):
11614 Don't try to run erroneous pipelines.
11616 2005-10-04 Julien MOUTTE <julien@moutte.net>
11618 * gst/gstbus.c: We don't need this header.
11620 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11623 back to development
11625 === release 0.9.3 ===
11627 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11631 Releasing 0.9.3, "Unregistered"
11633 2005-10-03 Andy Wingo <wingo@pobox.com>
11635 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11636 whereby calling a pad's activatepush() function can start a thread
11637 that starts to push or pull before the pad gets the FLUSHING flag
11638 unset. Hack around it by holding the stream lock until the flag is
11639 set. Need to replace this with a proper solution. Together with
11640 the ghost pad fixes, this fixes mp3 playing/tagreading.
11642 * docs/design/part-gstghostpad.txt: Add a note about activation of
11643 proxy pads outside of ghost pads.
11645 * gst/gstghostpad.c: Implement the ghost pad activation design.
11647 2005-10-02 Andy Wingo <wingo@pobox.com>
11649 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11650 It is volatile, after all.
11652 * docs/design/part-gstghostpad.txt: Flesh out activation with
11655 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11658 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11661 Fix (unused) AM_CONDITIONAL tests.
11663 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11665 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11667 * gst/gstutils.c: (gst_pad_query_convert):
11668 Add assertion that makes sure src_val is >=0, just like
11669 gst_query_new_convert() has. (#315895)
11671 2005-09-30 Edward Hervey <edward@fluendo.com>
11673 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11674 Let's not iterate pads we're not interested in, it avoids getting
11675 sky-high refcounts on sinkpad.
11677 2005-09-30 Wim Taymans <wim@fluendo.com>
11679 * gst/gstelement.c: (gst_element_set_state),
11680 (gst_element_change_state):
11681 Small tweak, element in ASYNC remains ASYNC.
11683 2005-09-30 Wim Taymans <wim@fluendo.com>
11685 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11686 Only error is an error.
11688 * gst/gstbin.c: (gst_bin_change_state):
11691 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11692 Also call pad_block in pad alloc.
11694 * gst/gstutils.c: (gst_flow_get_name):
11697 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11699 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11700 (gst_base_src_get_range):
11701 Fix documentation typos. Add some more debug info.
11703 2005-09-29 David Schleef <ds@schleef.org>
11705 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11706 more end-user friendly.
11707 * tools/gst-inspect.c: (main): Check if command-line argument is
11708 a file and attempt to load that file as a plugin.
11710 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11712 * check/gst/gstbin.c:
11713 * check/states/sinks.c:
11714 fix tests for the new warning
11715 * check/gst/gstpipeline.c:
11716 add a test for pipeline and bus interaction
11717 * gst/gstelement.c:
11718 elements should be NULL if they get disposed; add a warning if not
11720 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11723 for 2.6 refcounting, make debug log more correct by printing
11724 the actual refcounts at the time of swap (Wim)
11726 2005-09-29 Andy Wingo <wingo@pobox.com>
11728 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11729 removes signal watches previously added via
11730 gst_bus_add_signal_watch.
11731 (gst_bus_add_signal_watch): Don't return the source id, just store
11732 it on the bus if there wasn't an id already.
11734 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11735 add_signal_watch and remove_signal_watch.
11737 2005-09-29 Edward Hervey <edward@fluendo.com>
11739 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11740 Better if we actually iterate the list :)
11742 2005-09-29 Wim Taymans <wim@fluendo.com>
11744 * check/gst/gstbin.c: (GST_START_TEST):
11745 Change for new bus API.
11747 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11748 (send_messages), (GST_START_TEST), (gstbus_suite):
11749 Change for new bus signal API.
11751 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11752 (gst_bus_source_prepare), (gst_bus_source_check),
11753 (gst_bus_create_watch), (gst_bus_add_watch_full),
11754 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11755 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11757 Remove support for multiple GSources operating on different
11758 message types as it is too complex and unneeded when using
11760 Added support for receiving signals from the bus.
11762 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11764 * docs/libs/tmpl/gstdataprotocol.sgml:
11765 * docs/manual/advanced-dataaccess.xml:
11766 * gst/elements/gstcapsfilter.c:
11768 rename filter-caps to caps property
11770 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11772 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11773 More robust fraction string parsing.
11775 * docs/pwg/appendix-porting.xml:
11776 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11778 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11780 * gst/gstcaps.c: (gst_caps_do_simplify):
11781 Thou shalt not free a structure and then continue using it
11782 in the next loop iteration.
11784 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11786 Add test case for caps simplification.
11788 2005-09-29 Wim Taymans <wim@fluendo.com>
11790 * check/gst/gstbin.c: (GST_START_TEST):
11793 2005-09-29 Wim Taymans <wim@fluendo.com>
11795 * check/gst/gstbin.c: (GST_START_TEST):
11798 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11799 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11800 (find_element), (gst_bin_sort_iterator_next),
11801 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11802 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11803 (gst_bin_change_state), (gst_bin_dispose):
11804 A bin does not have a bus, it gets the bus from the parent.
11806 * gst/gstelement.c: (gst_element_requires_clock),
11807 (gst_element_provides_clock), (gst_element_is_indexable),
11808 (gst_element_is_locked_state), (gst_element_change_state),
11809 (gst_element_set_bus_func):
11812 * gst/gstpipeline.c: (gst_pipeline_class_init),
11813 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11814 The pipeline provides a bus.
11816 2005-09-28 Johan Dahlin <johan@gnome.org>
11818 * gst/gstmessage.c (gst_message_parse_state_changed): Use
11819 gst_structure_get_enum instead of gst_structure_get_int
11821 * gst/gststructure.c (gst_structure_get_enum): Impl.
11823 * gst/gststructure.h (gst_structure_get_enum): Add
11825 * docs/gst/gstreamer-sections.txt: Ditto
11827 * gst/gstmessage.c (gst_message_new_state_changed): Use
11828 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11829 which does introspection.
11830 Reviewed by Christian Schaller
11832 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11834 * gst/gstinfo.c: (gst_debug_log_default):
11835 don't do dummy g_strdup()s
11836 * libs/gst/controller/gstcontroller.c:
11837 (on_object_controlled_property_changed),
11838 (gst_controlled_property_new), (gst_controller_new_valist),
11839 (gst_controller_new_list),
11840 (gst_controller_remove_properties_valist), (gst_controller_set),
11841 (gst_controller_get), (gst_controller_sync_values),
11842 (gst_controller_get_value_array), (_gst_controller_class_init),
11843 (gst_controller_get_type):
11844 * libs/gst/controller/gstcontroller.h:
11845 * libs/gst/controller/gstinterpolation.c:
11846 (gst_controlled_property_find_timed_value_node):
11847 convert // to /**/ comments
11849 2005-09-28 Wim Taymans <wim@fluendo.com>
11851 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11852 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11853 (gst_bus_sync_signal_handler):
11855 Added async-message and sync-message signals to the bus.
11856 Added helper BusFunc to emit signals for all posted messages.
11858 * gst/gstmessage.c: (gst_message_type_get_name),
11859 (gst_message_type_to_quark), (gst_message_get_type):
11860 * gst/gstmessage.h:
11861 Register quarks for message names.
11863 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11865 * docs/libs/gstreamer-libs-sections.txt:
11866 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11867 (gst_controller_new_list):
11868 * libs/gst/controller/gstcontroller.h:
11869 added another constructor for language bindings
11871 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
11873 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11877 * gst/gstinfo.c: (_gst_debug_init):
11878 slightly more readable color for refcount debugging
11880 2005-09-28 Wim Taymans <wim@fluendo.com>
11882 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11883 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11884 (find_element), (gst_bin_sort_iterator_next),
11885 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11886 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11887 (gst_bin_change_state), (gst_bin_dispose):
11888 Small doc fixes. get_clock -> provide_clock.
11890 * gst/gstelement.c: (gst_element_class_init),
11891 (gst_element_provides_clock), (gst_element_provide_clock),
11892 (gst_element_get_clock), (gst_element_commit_state),
11893 (gst_element_lost_state):
11894 * gst/gstelement.h:
11895 Make get/set_clock() symetric. Add provide_clock vmethod since
11896 that is actually what this function does.
11898 * gst/gstpipeline.c: (gst_pipeline_class_init),
11899 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11900 (gst_pipeline_get_clock):
11901 get_clock -> provide_clock.
11903 2005-09-28 Andy Wingo <wingo@pobox.com>
11905 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11906 lieu of real docs...
11908 * gst/elements/gstfdsrc.c: Cleaned up a bit.
11910 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
11912 * gst/elements/gstcapsfilter.c:
11913 * gst/elements/gstfakesink.c:
11914 * gst/elements/gstfakesrc.c:
11915 * gst/elements/gstfdsink.c:
11916 * gst/elements/gstfdsrc.c:
11917 * gst/elements/gstfilesink.c:
11918 * gst/elements/gstfilesrc.c:
11919 * gst/elements/gstidentity.c:
11920 * gst/elements/gsttee.c:
11921 * gst/elements/gsttypefindelement.c:
11922 Make element details static.
11924 2005-09-28 Wim Taymans <wim@fluendo.com>
11926 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11927 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11928 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11929 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11930 (gst_bin_change_state), (gst_bin_dispose):
11931 Some documentation updates.
11932 Clean up dispose handlers.
11934 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
11935 * gst/gstpad.c: (gst_pad_dispose):
11936 Clean up dispose handler.
11938 * gst/gstpipeline.c: (gst_pipeline_change_state):
11939 Removed spurious UNLOCK.
11941 2005-09-27 Stefan Kost <ensonic@users.sf.net>
11943 * docs/gst/gstreamer-sections.txt:
11944 * gst/base/gstbasesrc.h:
11945 * gst/gstelement.h:
11949 * gst/gstpipeline.c:
11950 * gst/gstpipeline.h:
11953 added two new functions to the docs
11954 documents all undocumented GstXXXFlags
11955 completed some incomplete docs
11957 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
11959 * gst/gstbin.c: (gst_bin_dispose):
11960 * gst/gstelement.c: (gst_element_dispose):
11961 remove now useless and leaky resurrection code in dispose
11962 * gst/base/gstbasesrc.c: (gst_base_src_init):
11963 * gst/gstelementfactory.c: (gst_element_factory_create):
11964 * gst/gstobject.c: (gst_object_set_parent):
11967 2005-09-27 Wim Taymans <wim@fluendo.com>
11969 * docs/design/part-TODO.txt:
11972 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11973 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11974 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11975 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11976 (gst_bin_change_state):
11977 * gst/gstelement.h:
11978 Remove element variable, we keep element info in the iterator now.
11980 2005-09-27 Andy Wingo <wingo@pobox.com>
11982 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
11985 2005-09-27 Wim Taymans <wim@fluendo.com>
11987 * check/gst/gstbin.c: (GST_START_TEST):
11988 Enable check that works now.
11990 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
11991 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
11992 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11993 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11994 (gst_bin_change_state):
11996 Redid the state change algorithm using a topological sort algo.
11997 Handles all cases correctly.
11998 Exposed iterator for state change order.
12000 * gst/gstelement.h:
12001 Temp storage for state changes. Need to get rid of this soon.
12003 2005-09-27 Wim Taymans <wim@fluendo.com>
12005 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12006 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12007 (link_fold_func), (gst_pad_proxy_setcaps):
12008 Leak fixes, the fold functions need to unref the passed object and
12009 _get_parent_*() returns ref to parent.
12011 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12013 * check/gst/gstbuffer.c: (test_make_writable):
12014 Plug leak in test case and fix 'make check-valgrind'
12016 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12018 * gst/gstbuffer.c: (gst_subbuffer_init):
12019 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12020 works correctly in all circumstances (we could have just copied
12021 the parent buffer's readonly flag, but conceptually it seems
12022 cleaner to mark all subbuffers as read-only). (based on patch
12023 by Alessandro Decina, #314710).
12025 * check/gst/gstbuffer.c: (create_read_only_buffer),
12026 (test_make_writable), (test_subbuffer_make_writable),
12028 Add some tests for gst_buffer_make_writable().
12030 2005-09-27 Wim Taymans <wim@fluendo.com>
12032 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12033 use gst_object_has_ancestor().
12035 * gst/gstobject.c: (gst_object_has_ancestor):
12037 gst_object_has_ancestor() copied from gstbin.c as it is a
12040 * tests/instantiate/create.c: (create_all_elements):
12041 * tests/lat.c: (handoff_src), (handoff_sink):
12042 * tests/sched/runxml.c: (main):
12043 * tests/seeking/seeking1.c: (main):
12044 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12046 Fix compilation of some tests.
12048 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12051 Remove comment. GST_TYPE_G_ERROR is here to stay,
12052 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12053 (#316961, #300610).
12055 2005-09-26 Wim Taymans <wim@fluendo.com>
12057 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12058 Added check that shows error in state change order.
12060 2005-09-26 Wim Taymans <wim@fluendo.com>
12062 * gst/gstbin.c: (gst_bin_change_state):
12063 Make state change function use 3 queues again, we were
12064 adding elements in the wrong order.
12066 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12069 * gst/gstpad.c: (gst_pad_dispose):
12070 Added some debug info first.
12072 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12074 * docs/design/draft-push-pull.txt:
12075 * docs/design/part-events.txt:
12076 * docs/design/part-overview.txt:
12077 * docs/design/part-scheduling.txt:
12078 Replace all _pull_region() with _pull_range()
12080 2005-09-26 Andy Wingo <wingo@pobox.com>
12082 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12084 * check/gst-libs/controller.c: Update for controller api change.
12087 * tests/Makefile.am:
12088 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12089 over by GLib bug 118439.
12091 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12092 routines to a function.
12094 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12096 * libs/gst/controller/gsthelper.c:
12097 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12098 (gst_object_sync_values): Renamed from sink_values. Ugh.
12100 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12102 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12103 Renamed from controller_key, as it is exported.
12105 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12107 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12112 * gst/gstpadtemplate.h:
12115 * gst/gstqueryutils.c:
12116 * gst/gstqueryutils.h:
12117 remove queryutils headers after moving the two used functions
12118 to gstquery. also fixes build problem for gstsiddec
12120 2005-09-26 Michael Smith <msmith@fluendo.com>
12122 * tools/gst-launch.1.in:
12123 Correct documentation in manpage of debug syntax
12125 2005-09-26 Wim Taymans <wim@fluendo.com>
12127 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12128 (gst_base_src_is_seekable), (gst_base_src_change_state):
12129 Some more debugging info.
12131 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12133 * docs/gst/gstreamer-sections.txt:
12134 * gst/base/gstbasetransform.h:
12138 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12140 * docs/gst/.cvsignore:
12141 * docs/gst/tmpl/.cvsignore:
12142 * docs/gst/tmpl/gstpipeline.sgml:
12143 * docs/gst/tmpl/gstplugin.sgml:
12144 * gst/gstpipeline.c:
12147 inlined the last two docs files
12148 removed the tmpl directory from cvs (no more conflicts here!)
12150 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12152 * docs/gst/gstreamer-sections.txt:
12153 * docs/gst/tmpl/.cvsignore:
12154 * docs/gst/tmpl/gstpad.sgml:
12155 * docs/gst/tmpl/gstpadtemplate.sgml:
12157 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12158 (gst_pad_finalize), (gst_pad_set_pad_template):
12160 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12161 (gst_pad_template_class_init), (gst_pad_template_init),
12162 (gst_pad_template_dispose), (name_is_valid),
12163 (gst_static_pad_template_get), (gst_pad_template_new),
12164 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12165 (gst_pad_template_pad_created):
12166 * gst/gstpadtemplate.h:
12167 inlined two more docs
12168 factored gstpadtemplate out of gstpad
12170 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12172 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12173 (test_children_state_change_order_semi_sink):
12174 Fix test case: we can't rely on a fixed state change order when
12175 going from READY => PAUSED because the sink might commit its
12176 new state first when the first buffer created by the source
12177 reaches the sink before the source has finished its change state.
12178 (Test case still fails at times, see #316856, comment 5 onwards)
12180 2005-09-24 Wim Taymans <wim@fluendo.com>
12182 * docs/design/part-events.txt:
12183 * docs/design/part-gstbus.txt:
12184 * docs/design/part-gstpipeline.txt:
12185 * docs/design/part-messages.txt:
12186 * docs/design/part-overview.txt:
12187 * docs/design/part-segments.txt:
12191 * gst/gstelement.c:
12194 * gst/gstiterator.c:
12195 Various documentation updates.
12197 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12200 Well, that's embarassing. Luckily we weren't using
12201 GST_CLOCK_DIFF anywhere.
12203 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12205 * common/gtk-doc.mak:
12206 don't fail on building XML, FC4 slave shows a bunch of doc
12207 missing bits that I don't get
12209 * gst/gstpipeline.c:
12210 * gst/gststructure.c:
12213 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12215 * docs/design/part-gstbin.txt:
12216 * docs/design/part-gstbus.txt:
12218 Add blurb about how the bus goes into flushing mode and
12219 drops all messages when its bin goes from READY into NULL
12222 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12224 * docs/gst/gstreamer-sections.txt:
12225 * gst/gststructure.c: (gst_structure_get_clock_time):
12226 * gst/gststructure.h:
12227 add a method to get a GstClockTime out of a structure
12229 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12231 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12232 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12233 Added test to check state change order in bins (can still be made
12234 to fail here under heavy disk load; bails out with 'Push on pad
12235 fakesink:sink0, but it was not activated in push mode').
12237 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12238 Fix state change order when there is only a semi sink (#316856)
12240 * gst/gstbus.c: (gst_bus_class_init):
12241 Use _class_peek_parent(), not _class_ref(); fix docs to say
12242 'default main context' instead of 'mainloop' where that is
12245 * gst/gstelement.c: (gst_element_commit_state),
12246 (gst_element_set_state):
12247 Fix typos in debug messages
12249 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12252 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12253 * gst/gstpluginfeature.c:
12255 various doc updates
12256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12257 change an assert into an error until it gets fixed properly
12259 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12261 * docs/gst/gstreamer-sections.txt:
12262 * docs/gst/tmpl/.cvsignore:
12263 * docs/gst/tmpl/gstelement.sgml:
12264 * docs/gst/tmpl/gstinfo.sgml:
12265 * docs/gst/tmpl/gstobject.sgml:
12266 * gst/gstelement.c:
12267 * gst/gstelement.h:
12270 * gst/gstobject.c: (gst_object_class_init):
12272 inlined 3 more biiiig doc files and added some missing docs on the fly
12274 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12276 * check/gst/.cvsignore:
12277 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12278 * gst/gstregistryxml.c: (load_plugin),
12279 (gst_registry_xml_save_plugin):
12280 put back source in registry. add checks for find_plugin.
12281 * testsuite/states/bin.c: (assert_state), (empty_bin),
12282 (test_adding_one_element), (main):
12283 * testsuite/states/locked.c: (main):
12284 some compile/run fixes
12286 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12288 * check/gst/gstvalue.c: (GST_START_TEST):
12289 fix leaks in the test itself
12291 2005-09-22 Wim Taymans <wim@fluendo.com>
12293 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12294 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12295 (gst_base_sink_query):
12296 Prepare for more accurate position reporting and query
12299 * gst/gstelement.c: (gst_element_send_event),
12300 (gst_element_set_state):
12303 2005-09-22 Wim Taymans <wim@fluendo.com>
12305 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12306 (gst_query_parse_segment):
12308 More documentation.
12309 Add segment query for future use.
12311 2005-09-22 Wim Taymans <wim@fluendo.com>
12313 * gst/gstbin.c: (gst_bin_add_func):
12314 Some more debug info.
12316 * gst/gstelement.c: (gst_element_send_event):
12317 Simplify send_event
12319 * gst/gstelement.h:
12320 Don't know how flags got broken.
12325 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12327 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12328 Add simplistic test suite for GST_TYPE_DATE serialisation and
12331 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12333 * docs/gst/gstreamer-sections.txt:
12334 * gst/gststructure.c: (gst_structure_set_valist),
12335 (gst_structure_get_date):
12336 * gst/gststructure.h:
12337 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12338 (gst_date_copy), (gst_value_compare_date),
12339 (gst_value_serialize_date), (gst_value_deserialize_date),
12340 (gst_value_transform_date_string),
12341 (gst_value_transform_string_date), (_gst_value_initialize):
12343 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12344 bunch of utility functions along with a hack that checks that
12345 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12346 is required. Part of the grand scheme in #170777.
12348 2005-09-22 Andy Wingo <wingo@pobox.com>
12350 * gst/gstconfig.h.in: Psych out gtk-doc.
12352 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12354 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12356 * tools/gst-inspect.c (print_element_list): Plug some
12357 inconsequential leaks.
12359 * gst/gstregistry.c (gst_registry_get_default): Doc.
12361 * check/gst/gstplugin.c:
12362 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12363 * gst/gstelementfactory.c (gst_element_factory_create):
12364 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12367 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12368 (gst_plugin_feature_load): Doc, don't eat refs.
12370 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12371 (gst_plugin_list_free): Doc.
12372 (gst_plugin_load_file): Doc updates.
12374 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12375 accessors returning refcounted objects, return a ref.
12377 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12378 accessor for caps. IDEMPOTENCE. Oh yes.
12380 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12382 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12384 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12385 (_gst_debug_register_funcptr):
12386 Add mutex to serialise access to the hash table with
12387 the function pointer => function name string mapping;
12388 make that hash table static scope (#316809).
12390 * gst/registries/.cvsignore:
12391 Remove left-over file.
12393 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12395 * docs/pwg/appendix-porting.xml:
12396 And something about newsegment events and caps-on-buffers to
12397 the porting guide (feel free to improve).
12399 2005-09-21 Andy Wingo <wingo@pobox.com>
12401 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12402 data and event probes on the same pad.
12403 (test_buffer_probe_once): Test that removing probes from within
12404 the probe functions works.
12406 2005-09-21 Andy Wingo <wingo@pobox.com>
12408 * check/gst/gstutils.c: New file.
12409 (test_buffer_probe_n_times): A simple buffer probe test. More to
12412 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12413 have-data::buffer, not have-data.
12414 (gst_pad_add_event_probe): Likewise for have-data::event.
12415 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12416 peer' isn't quite right yet though.
12417 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12418 (gst_pad_remove_data_probe): Change to take the guint handler_id
12419 as their arg, not the function+data, which is more glib-like.
12421 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12422 the signal emission to indicate if the data is a buffer or an
12424 (gst_pad_get_type): Initialize buffer and event quarks.
12425 (gst_pad_class_init): have-data is now a detailed signal, yes it
12428 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12430 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12431 * gst/gstutils.c: (gst_util_set_value_from_string),
12432 (gst_util_set_object_arg):
12433 Don't put functional code in g_return_if_fail() or
12434 g_return_val_if_fail() statements, otherwise things will
12435 break when G_DISABLE_CHECKS is defined during compilation.
12437 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12439 * docs/gst/tmpl/.cvsignore:
12440 * docs/gst/tmpl/gstvalue.sgml:
12443 inlied another one and added some obvious docs
12445 2005-09-21 Wim Taymans <wim@fluendo.com>
12447 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12448 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12449 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12450 (gst_fdsrc_get_property), (gst_fdsrc_create):
12451 * gst/elements/gstfdsrc.h:
12452 Properly implement fdsrc. Removed signal and timeout,
12453 better implemented somewhere else.
12455 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12457 * docs/gst/tmpl/.cvsignore:
12458 * docs/gst/tmpl/gstimplementsinterface.sgml:
12459 * gst/gstinterface.c:
12462 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12464 * docs/gst/gstreamer-sections.txt:
12465 * docs/gst/tmpl/.cvsignore:
12466 * docs/gst/tmpl/gstenumtypes.sgml:
12467 remove obsolete doc file
12469 2005-09-21 David Schleef <ds@schleef.org>
12471 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12472 little beer, fix a little leak.
12474 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12476 * docs/gst/gstreamer-docs.sgml:
12477 * docs/gst/gstreamer-sections.txt:
12478 * docs/gst/tmpl/.cvsignore:
12482 * gst/gstelement.h:
12483 * gst/gstindex.c: (gst_index_class_init):
12485 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12486 (gst_index_factory_class_init), (gst_index_factory_init),
12487 (gst_index_factory_finalize), (gst_index_factory_new),
12488 (gst_index_factory_destroy), (gst_index_factory_find),
12489 (gst_index_factory_create), (gst_index_factory_make):
12490 * gst/gstindexfactory.h:
12491 * gst/gstpluginfeature.c:
12492 * gst/gstpluginfeature.h:
12493 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12494 more docs inlined, splitted gstindex.{c,h}
12496 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12498 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12501 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12503 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12504 Set sync to FALSE by default.
12506 2005-09-20 Wim Taymans <wim@fluendo.com>
12508 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12509 (gst_base_sink_init):
12510 Make sync property settable from subclass.
12512 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12513 (gst_fake_sink_change_state):
12514 Set sync to FALSE by default.
12516 2005-09-20 Wim Taymans <wim@fluendo.com>
12518 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12519 * tools/gst-launch.c: (main):
12520 The timeout handler should have lower priority than the source
12521 so we don't timeout before popping a message with 0 timeout.
12522 Dump error messages after failed state change.
12524 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12526 * tools/gst-inspect.c: (print_element_properties_info):
12529 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12531 * check/gst/gstevent.c:
12532 * gst/elements/gstfakesink.c:
12533 * gst/elements/gstfakesink.h:
12534 remove the sync property from fakesink.
12535 has the side effect of setting sync TRUE
12536 for fakesink, which is a change. Anyone who knows how
12537 to fix this nicely in a GObject-y way, feel free.
12539 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12541 * docs/gst/gstreamer-docs.sgml:
12542 remove probe refsection
12544 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12546 * check/Makefile.am:
12547 disable valgrinding the controller test again
12548 * docs/gst/gstreamer-sections.txt:
12549 update for api-changes
12551 2005-09-20 Wim Taymans <wim@fluendo.com>
12553 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12554 (gst_base_sink_set_property), (gst_base_sink_get_property),
12555 (gst_base_sink_do_sync):
12556 * gst/base/gstbasesink.h:
12557 Added sync property to basesink to disable clock sync.
12559 2005-09-20 Andy Wingo <wingo@pobox.com>
12561 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12562 eating the caller's refcount.
12564 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12565 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12568 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12569 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12570 of GLib 2.8 public, so we can know which refcount to check in
12573 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12574 (gst_object_init): Only set the gst refcount if we're going ahead
12575 with the refcount hack.
12577 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12579 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12580 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12581 more leaks plumbed, added more debug-logging
12585 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12587 * gst/gstmessage.c:
12588 remove include of gstmemchunk.h
12590 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12592 * gst/gstclock.c: (_gst_clock_id_free):
12593 Commit from the Political Party For More Atomic CVS Commits,
12594 so that people don't waste too much of their day fishing
12595 out obvious leaks out of massive commits.
12596 Oh, and fix a pretty damn obvious leak in the memchunk
12599 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12601 * check/Makefile.am:
12602 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12603 plug mem-leak, re-add to valgrindable tests
12605 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12608 unbreak the build for those who have chronic arthritis
12609 and typing "make check" is just too taxing on the hands
12611 2005-09-20 Andy Wingo <wingo@pobox.com>
12613 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12614 really want it out, you should fix plugins at the same time.
12616 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12619 * docs/gst/gstreamer-sections.txt:
12621 added missing symbols to api docs
12622 disable ref-count hack if we have glib >= 2.8
12624 2005-09-19 David Schleef <ds@schleef.org>
12626 * docs/gst/Makefile.am: Ignore a few more internal headers
12627 * docs/gst/gstreamer-docs.sgml: Remove old sections
12628 * docs/gst/gstreamer-sections.txt: Remove old sections
12629 * docs/gst/tmpl/gstobject.sgml: update
12630 * docs/gst/tmpl/gstplugin.sgml: update
12631 * docs/gst/tmpl/gstpluginfeature.sgml: update
12632 * docs/random/ds/0.9-suggested-changes: update.
12633 * gst/Makefile.am: remove memchunk and trashstack, since they're
12635 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12636 * gst/gst.h: don't include some headers
12637 * gst/gstchildproxy.c: add gstmarshal.h
12638 * gst/gstclock.c: Don't use memchunks
12639 * gst/gstminiobject.c: Add some docs
12640 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12641 * gst/gstobject.h: same
12642 * gst/gstplugin.c: include gstmacros.h
12643 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12644 * gst/gstquery.c: don't use memchunks
12645 * gst/gstregistry.c: rename gst_registry_deinit()
12646 * gst/gstregistry.h: same
12648 2005-09-19 David Schleef <ds@schleef.org>
12650 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12651 * docs/libs/gstreamer-libs-sections.txt:
12652 * docs/libs/tmpl/gstgetbits.sgml:
12653 * docs/libs/tmpl/gstputbits.sgml:
12655 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12657 * win32/gstenumtypes.c:
12658 * win32/gstenumtypes.h:
12661 2005-09-19 Wim Taymans <wim@fluendo.com>
12663 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12664 Automatically PAUSE and RESUME a pipeline when a flushing seek
12667 2005-09-19 Andy Wingo <wingo@pobox.com>
12669 * gst/gstregistry.h: Spacing fixen.
12671 2005-09-19 Wim Taymans <wim@fluendo.com>
12673 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12674 Handle state change failure more correctly.
12676 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12678 * check/Makefile.am:
12679 * check/pipelines/cleanup.c: (run_pipeline):
12680 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12682 enable cleanup again after fixing the leak
12684 some more info on docs
12686 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12688 * check/Makefile.am:
12689 re-enable tests now that leaks are plugged
12691 * check/gst/gstbin.c:
12692 * check/gst/gstpipeline.c:
12693 add some more tests while fixing leaks
12694 * common/check.mak:
12695 make sure binaries are uptodate when valgrinding/gdbing
12697 * gst/gstelementfactory.c:
12698 remove a ref too many, and add a FIXME for when we get
12699 round to disposing of classes
12701 fix the refcounting when loading a plugin from a file and
12702 the code pretends that the pointer is the same even though
12703 of course it can change
12704 * gst/gstpluginfeature.c:
12705 unref plugins marked cached (a bit confusing as a name)
12706 as the docs state should be done
12707 various doc additions to explain refcounting
12708 * gst/gstregistry.c:
12709 * gst/gstregistryxml.c:
12712 2005-09-19 Wim Taymans <wim@fluendo.com>
12714 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12715 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12716 (send_messages), (GST_START_TEST), (gstbus_suite):
12717 * check/gst/gstpipeline.c: (GST_START_TEST):
12718 * check/pipelines/cleanup.c: (run_pipeline):
12719 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12721 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12722 (gst_bus_source_check), (gst_bus_source_dispatch),
12723 (gst_bus_create_watch), (gst_bus_add_watch_full),
12724 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12726 * tools/gst-launch.c: (event_loop):
12727 * tools/gst-md5sum.c: (event_loop):
12728 GstBusHandler -> GstBusFunc, return value has the same meaning as
12729 any other GSource (FALSE == remove source).
12730 _add_watch() and _add_watch_full() now take a MessageType mask to
12731 only handle specific types of messages.
12732 _poll() returns the GstMessage instead of the message type to avoid
12734 _have_pending() takes a MessageType mask now too.
12735 Added testsuite for multiple bus watches.
12736 Fix testsuites and applications for new bus API.
12738 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12740 * check/Makefile.am:
12741 mark a bunch of the tests as to fix until we fix them
12743 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12745 * common/check.mak:
12746 use GST_PLUGIN settings for valgrind tests as well, so we're
12747 valgrinding the correct thing
12748 * gst/gst.c: (init_post):
12751 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12753 * gst/gst.c: (init_post), (gst_deinit):
12754 * gst/gstelementfactory.c: (gst_element_factory_class_init),
12755 (gst_element_factory_finalize), (gst_element_factory_cleanup):
12756 * gst/gstindex.c: (gst_index_factory_class_init),
12757 (gst_index_factory_finalize):
12758 * gst/gstobject.c: (gst_object_dispose):
12759 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12760 (gst_plugin_load_file), (gst_plugin_desc_free):
12761 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12762 (gst_plugin_feature_finalize):
12763 * gst/gstregistry.c: (gst_registry_class_init),
12764 (gst_registry_init), (gst_registry_finalize),
12765 (gst_registry_get_default), (gst_registry_deinit):
12766 * gst/gstregistry.h:
12767 * gst/gstregistryxml.c: (load_feature), (load_plugin):
12768 various cleanups and memleak plugging. make valgrind is happy now.
12770 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12772 * common/check.mak:
12773 add a check-valgrind target
12775 2005-09-18 David Schleef <ds@schleef.org>
12777 * tools/gst-inspect.c: Revert the GOption code.
12779 2005-09-17 David Schleef <ds@schleef.org>
12781 * check/Makefile.am: Fix environment variables.
12782 * check/gst/gstplugin.c: Fix for API changes.
12783 * tools/gst-inspect.c: Fix for API changes.
12784 * tools/gst-xmlinspect.c: Fix for API changes.
12785 * gst/gstelementfactory.c:
12788 * gst/gstpluginfeature.c:
12789 * gst/gstpluginfeature.h:
12790 * gst/gstregistry.c:
12791 * gst/gstregistry.h:
12792 * gst/gstregistryxml.c:
12793 * gst/gsttypefind.c:
12794 * gst/gsttypefindfactory.c:
12795 * gst/indexers/gstfileindex.c:
12796 * gst/indexers/gstmemindex.c:
12797 * gst/schedulers/Makefile.am:
12798 Change registry to keep track of both plugins and features,
12799 removing the feature tracking from plugins themselves.
12801 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12803 * check/Makefile.am:
12804 * tools/gst-register.1.in:
12805 remove gst-register
12807 2005-09-15 David Schleef <ds@schleef.org>
12809 * check/gst/gstplugin.c:
12810 * gst/gstelementfactory.c:
12812 * gst/gstpluginfeature.c:
12813 * gst/gstregistry.c:
12814 Getting tired of debugging. Disabled all the unreffing of
12815 plugins and features, which fixes the segfaults, but of
12816 course leaks like crazy. At least playbin works.
12818 2005-09-15 David Schleef <ds@schleef.org>
12820 * check/gst/gstplugin.c: (register_check_elements),
12821 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12823 * gst/elements/gsttypefindelement.c: Fix refcounting.
12824 * gst/gsttypefind.c:
12825 * gst/gsttypefindfactory.c:
12826 * gst/gsttypefindfactory.h:
12828 2005-09-15 David Schleef <ds@schleef.org>
12830 * gst/gstindex.c: get refcounting correct.
12831 * gst/gstregistry.c: Handle the case where a feature/plugin is
12834 2005-09-15 David Schleef <ds@schleef.org>
12836 * check/Makefile.am:
12837 * check/gst/gstplugin.c: Add test
12838 * gst/gstplugin.c: Fix problems noticed by testsuite
12840 * gst/gstregistry.c:
12841 * gst/gstregistry.h:
12843 2005-09-15 David Schleef <ds@schleef.org>
12845 * gst/gstplugin.c: Implement semi-decent recounting and locking
12846 in plugins and plugin features.
12848 * gst/gstpluginfeature.c:
12849 * gst/gstpluginfeature.h:
12850 * gst/gstregistry.c:
12852 2005-09-15 Michael Smith <msmith@fluendo.com>
12854 * gst/gstregistry.c: (gst_registry_get_feature_list):
12855 Implement this. Makes oggdemux work; decodebin still broken.
12857 2005-09-14 David Schleef <ds@schleef.org>
12859 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12861 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12862 * gst/check/Makefile.am:
12863 * libs/gst/controller/Makefile.am:
12864 * libs/gst/dataprotocol/Makefile.am:
12866 2005-09-14 David Schleef <ds@schleef.org>
12868 * configure.ac: Remove getbits library. Nothing uses it, and
12869 it should be in something like liboil if someone did want
12871 * libs/gst/Makefile.am:
12872 * libs/gst/getbits/Makefile.am:
12873 * libs/gst/getbits/gbtest.c:
12874 * libs/gst/getbits/getbits.c:
12875 * libs/gst/getbits/getbits.h:
12876 * libs/gst/getbits/gstgetbits_generic.c:
12877 * libs/gst/getbits/gstgetbits_i386.s:
12878 * libs/gst/getbits/gstgetbits_inl.h:
12880 2005-09-14 David Schleef <ds@schleef.org>
12882 * gst/Makefile.am: Dist glib-compat.h
12884 2005-09-14 David Schleef <ds@schleef.org>
12886 * configure.ac: Remove gst/registries, since it's no longer used.
12887 * gst/registries/Makefile.am:
12888 * gst/registries/gstlibxmlregistry.c:
12889 * gst/registries/gstlibxmlregistry.h:
12890 * gst/registries/gstxmlregistry.c:
12891 * gst/registries/gstxmlregistry.h:
12892 * gst/registries/registrytest.c:
12894 2005-09-14 David Schleef <ds@schleef.org>
12896 * gst/glib-compat.h:
12897 * gst/gstregistryxml.c:
12898 Convergence is near. Seriously.
12900 2005-09-14 David Schleef <ds@schleef.org>
12902 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12903 * gst/glib-compat.h:
12904 Attempt #4 to appease the buildbots.
12906 2005-09-14 David Schleef <ds@schleef.org>
12908 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12911 2005-09-14 David Schleef <ds@schleef.org>
12913 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12916 2005-09-14 David Schleef <ds@schleef.org>
12918 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
12921 2005-09-14 David Schleef <ds@schleef.org>
12923 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12924 * gst/glib-compat.h: Add some functions that are in newer versions
12925 of glib than we care to require.
12926 * gst/gstregistryxml.c: Use them.
12928 2005-09-14 David Schleef <ds@schleef.org>
12930 * po/POTFILES.in: remove gst-register.c
12932 2005-09-14 David Schleef <ds@schleef.org>
12934 * docs/gst/gstreamer-docs.sgml:
12935 * docs/gst/gstreamer-sections.txt:
12936 * docs/gst/gstreamer.types:
12937 * docs/gst/tmpl/gstelement.sgml:
12938 * docs/gst/tmpl/gstplugin.sgml:
12939 * docs/gst/tmpl/gstpluginfeature.sgml:
12940 Documentation updates for registry changes.
12942 2005-09-14 David Schleef <ds@schleef.org>
12944 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
12945 because we don't require glib-2.8.
12947 2005-09-14 David Schleef <ds@schleef.org>
12949 * gst/gstregistryxml.c: Added. Essentially moved out of the
12950 registries directory.
12952 2005-09-14 David Schleef <ds@schleef.org>
12954 * check/Makefile.am:
12955 * check/generic/states.c:
12959 * gst/gst_private.h:
12960 * gst/gstelementfactory.c:
12965 * gst/gstpluginfeature.c:
12966 * gst/gstpluginfeature.h:
12967 * gst/gstregistry.c:
12968 * gst/gstregistry.h:
12969 * gst/gstregistrypool.c: remove
12970 * gst/gstregistrypool.h: remove
12971 * gst/gsttypefind.c:
12972 * gst/gsttypefindfactory.c:
12974 * tools/Makefile.am:
12975 * tools/gst-compprep.c:
12976 * tools/gst-inspect.c:
12977 * tools/gst-register.c: remove
12978 * tools/gst-xmlinspect.c:
12979 Registry rewrite. Changes registry from being a file created
12980 by a tool into a simple cache file created automatically by
12981 libgstreamer. Removed gst-register (because it's no longer
12982 needed). Remove registry pools, because we only have one
12983 registry implementation (XML). Fix up other subsystems as
12986 2005-09-13 Michael Smith <msmith@fluendo.com>
12988 * gst/gstconfig.h.in:
12989 Don't Use windows linking attributes for MinGW. Fixes #316157
12991 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
12993 * gst/gstutils.c: (set_state_async_thread_func),
12994 (gst_element_set_state_async):
12995 Apparently people think it's better if this function doesn't
12996 try to set the state to whatever state was asked for on the first
12997 call to this function for any object. Seriously.
12999 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13001 * check/gst/gstpipeline.c: (GST_START_TEST):
13002 * docs/gst/gstreamer-sections.txt:
13003 * gst/gstutils.c: (set_state_async_thread_func),
13004 (gst_element_set_state_async):
13006 add a "gst_element_set_state_async" method that
13007 sets the state and starts a thread to make sure the state
13008 change completes as best as it can
13010 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13012 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13013 codify design+behaviour in testsuite after discussion
13015 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13017 * docs/gst/tmpl/gstelement.sgml:
13018 * docs/manual/appendix-quotes.xml:
13020 * gst/gstelement.c: (gst_element_set_state):
13023 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13025 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13026 (gst_base_transform_prepare_output_buf),
13027 (gst_base_transform_handle_buffer):
13028 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13029 (gst_capsfilter_prepare_buf):
13030 Remove the requirement for sub-classes to call the parent
13031 implementation of prepare_output_buffer with a wrapper function.
13033 * gst/gsttaglist.h:
13034 * gst/gsttagsetter.h:
13035 Fix #define wrapper
13037 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13039 * docs/gst/gstreamer-sections.txt:
13042 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13044 * docs/gst/gstreamer-sections.txt:
13045 * docs/gst/tmpl/gstelement.sgml:
13046 * docs/gst/tmpl/gstplugin.sgml:
13047 * gst/gstminiobject.c:
13049 docs now stop throwing warnings
13051 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13053 * docs/gst/gstreamer-sections.txt:
13054 * docs/gst/gstreamer.types:
13055 * docs/gst/tmpl/gstpad.sgml:
13056 * docs/gst/tmpl/gsttypes.sgml:
13057 * gst/base/gstadapter.h:
13058 * gst/base/gstbasesink.h:
13059 * gst/base/gstbasesrc.h:
13065 * gst/gstelement.h:
13067 * gst/gstmessage.h:
13069 * gst/gststructure.c:
13070 * gst/registries/gstlibxmlregistry.h:
13071 various documentation fixes
13073 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13075 * docs/gst/gstreamer-sections.txt:
13076 * docs/gst/tmpl/gstvalue.sgml:
13077 rearrange gstvalue section
13078 * gst/gstutils.c: (gst_element_state_get_name):
13080 * gst/gstvalue.c: (_gst_value_initialize):
13084 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13086 * check/gst-libs/controller.c:
13087 Header include fix.
13088 * gst/base/gstbasetransform.c:
13089 (gst_base_transform_default_prepare_buf),
13090 (gst_base_transform_handle_buffer):
13091 * gst/base/gstbasetransform.h:
13092 Some more basetransform changes and fixes to enable sub-classes
13093 that modify buffer metadata only.
13094 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13095 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13096 (gst_capsfilter_prepare_buf):
13097 If the output pad has fixed allowed caps and input buffers
13098 don't have any, set the fixed caps on outgoing buffers.
13100 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13101 * check/elements/identity.c: (GST_START_TEST):
13102 Make the error a little clearer when the test fails because
13103 identity made a copy of the buffer.
13104 * docs/gst/gstreamer-sections.txt:
13105 New symbols in gstbasetransform.h
13106 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13107 (gst_base_transform_init), (gst_base_transform_transform_size),
13108 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13109 (gst_base_transform_default_prepare_buf),
13110 (gst_base_transform_get_unit_size),
13111 (gst_base_transform_buffer_alloc),
13112 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13113 (gst_base_transform_change_state),
13114 (gst_base_transform_set_passthrough),
13115 (gst_base_transform_set_in_place),
13116 (gst_base_transform_is_in_place):
13117 * gst/base/gstbasetransform.h:
13118 Change BaseTransform to separate in_place operate from same_caps
13119 output. in_place implies that the element can perform the transform
13120 on incoming buffers in-place, even if the caps on the output are
13122 Sub-class elements can now implement special buffer allocation
13123 methods for outgoing buffers if they wish to.
13124 Big documentation addition.
13125 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13126 * gst/elements/gstelements.c:
13127 Changes for basetransform modifications.
13128 * gst/elements/Makefile.am:
13129 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13130 Compile fix. Extra debug output.
13132 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13134 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13136 add tests for valid pad naming
13137 * gst/check/gstcheck.c: (gst_check_log_message_func),
13138 (gst_check_log_critical_func):
13140 remove printing of code, it is fragile when the code contains
13141 % and the line number is enough info
13142 * gst/check/gstcheck.h:
13143 * gst/gstpad.c: (gst_pad_template_new):
13146 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13149 say what CHECK flags we use
13150 * docs/libs/gstreamer-libs.types:
13151 * libs/gst/controller/Makefile.am:
13152 * libs/gst/controller/gst-controller.c:
13153 * libs/gst/controller/gst-controller.h:
13154 * libs/gst/controller/gst-helper.c:
13155 * libs/gst/controller/gst-interpolation.c:
13156 * libs/gst/controller/gstcontroller.c:
13157 * libs/gst/controller/gsthelper.c:
13158 * libs/gst/controller/gstinterpolation.c:
13159 * tools/gst-inspect.c: (print_plugin_info):
13160 we don't use dashes in header names
13162 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13164 * check/Makefile.am:
13165 * check/gst/.cvsignore:
13166 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13167 (gst_pipeline_suite), (main):
13168 adding a test for pipelines and state changes
13169 * gst/gstutils.c: (get_state_func):
13171 * gstreamer.spec.in:
13174 2005-09-08 Michael Smith <msmith@fluendo.com>
13176 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13177 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13178 (gst_file_src_is_seekable), (gst_file_src_get_size),
13179 (gst_file_src_start):
13180 * gst/elements/gstfilesrc.h:
13181 Various fixes for unseekable, unmmapable, and non-normal files, so
13182 that fallback to read() rather than mmap() works.
13183 * gst/gstevent.c: (gst_event_new_newsegment):
13184 Allow newsegment events with segment_start == segment_end, as will
13185 correctly happen if you use filesrc on a zero-size file, for
13188 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13190 * gst/gstplugin.c: (gst_plugin_load_file):
13191 Call g_module_close when we don't load the module
13193 * gst/registries/gstlibxmlregistry.c:
13194 (gst_xml_registry_get_property):
13195 Port leak fix from 0.8
13197 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13199 * docs/gst/gstreamer-docs.sgml:
13200 * docs/gst/tmpl/.cvsignore:
13201 * docs/gst/tmpl/gsttrace.sgml:
13202 * docs/gst/tmpl/gsttrashstack.sgml:
13205 * gst/gstelement.h:
13207 * gst/gstmessage.c:
13208 * gst/gstmessage.h:
13211 * gst/gsttaginterface.c:
13212 * gst/gsttaginterface.h:
13213 * gst/gsttaglist.c:
13214 * gst/gsttaglist.h:
13215 * gst/gsttagsetter.c:
13216 * gst/gsttagsetter.h:
13219 * gst/gsttrashstack.c:
13220 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13221 inlined docs for gsttrace, gsttrashstack
13223 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13226 * gst/elements/gstbufferstore.h:
13227 * gst/elements/gsttypefindelement.c:
13228 * gst/elements/gsttypefindelement.h:
13230 * gst/gsttypefind.c:
13231 * gst/gsttypefind.h:
13232 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13233 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13234 (gst_type_find_factory_dispose),
13235 (gst_type_find_factory_unload_thyself),
13236 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13237 (gst_type_find_factory_get_caps),
13238 (gst_type_find_factory_get_extensions),
13239 (gst_type_find_factory_call_function):
13240 * gst/gsttypefindfactory.h:
13241 * gst/registries/gstlibxmlregistry.c:
13242 * gst/registries/gstxmlregistry.c:
13243 splitted gsttypefind into gsttypefind, gsttypefindfactory
13245 2005-09-07 Andy Wingo <wingo@pobox.com>
13247 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13248 condition whereby the pad's task function is entered before the
13249 pad_mode variable was set.
13251 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13253 * gst/gstpad.c: (gst_pad_alloc_buffer):
13254 Catch misbehaving pad_alloc functions that don't
13255 set up caps and do it for them.
13257 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13259 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13260 test for pipe!=NULL
13261 * docs/gst/tmpl/.cvsignore:
13262 * docs/gst/tmpl/gstmemchunk.sgml:
13263 * docs/gst/tmpl/gstparse.sgml:
13264 * docs/gst/tmpl/gsttaglist.sgml:
13265 * docs/gst/tmpl/gsttagsetter.sgml:
13266 * docs/gst/tmpl/gsttypefind.sgml:
13267 * docs/gst/tmpl/gsttypefindfactory.sgml:
13268 * gst/gstmemchunk.c:
13271 * gst/gsttaginterface.c:
13272 * gst/gsttypefind.c:
13273 * gst/gsttypefind.h:
13276 === release 0.9.2 ===
13278 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13283 releasing 0.9.2, "South"
13285 2005-09-05 Andy Wingo <wingo@pobox.com>
13287 * gst/registries/gstxmlregistry.h:
13288 * gst/registries/gstxmlregistry.c: Um... resurrect...
13290 * gst/registries/gstxmlregistry.h:
13291 * gst/registries/gstxmlregistry.c: and update to newer API.
13292 Incidentally they should be a bit faster now that they don't have
13295 2005-09-05 Andy Wingo <wingo@pobox.com>
13297 * gst/registries/gstxmlregistry.h:
13298 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13299 replaced by the libxml registry a while back
13301 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13303 * docs/gst/tmpl/gstplugin.sgml:
13304 * gst/elements/gstelements.c:
13306 * gst/gstplugin.c: (gst_plugin_register_func),
13307 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13308 (gst_plugin_get_source):
13310 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13311 (gst_xml_registry_save_plugin):
13312 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13313 (gst_xml_registry_save_plugin):
13314 * tools/gst-inspect.c: (print_plugin_info):
13315 add a "source" plugin description field, to represent the source
13316 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13317 will set it to PACKAGE, which is automake's idea of the name of
13318 the source project.
13320 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13325 * docs/Makefile.am:
13326 * docs/faq/Makefile.am:
13327 * docs/gst/tmpl/gstelement.sgml:
13328 * docs/gst/tmpl/gsttypes.sgml:
13329 * docs/htmlinstall.mak:
13330 * docs/manual/Makefile.am:
13331 * docs/pwg/Makefile.am:
13332 reorganize doc build a little
13333 split out docbook and gtk-doc stuff
13334 have two separate --enable's and enable them through autogen
13335 but disable by default in configure (to be similar to other
13337 * gstreamer.spec.in:
13338 clean up docs install
13356 translation updates
13358 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13360 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13363 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13364 (gst_fake_sink_change_state):
13365 Make state change function thread-safe.
13367 * gst/gstpad.c: (gst_pad_alloc_buffer):
13368 Set offset on generic buffer allocated by fallback.
13370 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13372 * docs/gst/gstreamer-sections.txt:
13373 * docs/gst/tmpl/gstelement.sgml:
13375 * libs/gst/controller/gst-controller.c:
13376 (gst_controlled_property_set_interpolation_mode),
13377 (gst_controlled_property_new),
13378 (gst_controller_find_controlled_property):
13379 run the wingo-magic script against the docs
13381 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13383 * docs/gst/gstreamer-docs.sgml:
13384 * docs/gst/gstreamer-sections.txt:
13385 * docs/gst/tmpl/.cvsignore:
13386 * docs/gst/tmpl/gstelementdetails.sgml:
13387 * docs/gst/tmpl/gstelementfactory.sgml:
13390 * gst/gstelementfactory.c:
13391 * gst/gstelementfactory.h:
13392 merged elementdetails docs into elementfactory docs
13395 2005-09-02 Andy Wingo <wingo@pobox.com>
13397 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13398 consider this enum an enum and not a flags.
13400 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13402 * docs/gst/gstreamer-docs.sgml:
13403 * docs/gst/tmpl/.cvsignore:
13404 * docs/gst/tmpl/gstghostpad.sgml:
13405 * docs/gst/tmpl/gstiterator.sgml:
13406 * docs/gst/tmpl/gstmacros.sgml:
13407 * docs/gst/tmpl/gstrealpad.sgml:
13408 * docs/gst/tmpl/gstregistry.sgml:
13409 * docs/gst/tmpl/gstregistrypool.sgml:
13410 * docs/gst/tmpl/gststructure.sgml:
13411 * docs/gst/tmpl/gstsystemclock.sgml:
13412 * docs/gst/tmpl/gsttrace.sgml:
13413 * gst/gstghostpad.c:
13415 * gst/gstmemchunk.c:
13416 * gst/gstmemchunk.h:
13418 * gst/gstregistry.c:
13419 * gst/gstregistrypool.c:
13420 * gst/gststructure.c:
13421 * gst/gstsystemclock.c:
13424 2005-09-02 Andy Wingo <wingo@pobox.com>
13426 * gst/gstelement.h (GstState): Renamed from GstElementState,
13427 changed to be a normal enum instead of flags.
13428 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13429 munged to be GST_STATE_CHANGE_*.
13430 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13431 work with the new state representation.
13432 (GstStateChange): New enumeration of possible state transitions.
13433 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13434 (GstElementClass::change_state): Pass the GstStateChange along as
13435 an argument. Helps language bindings, so they don't have to use
13436 tricky lock-needing macros like GST_STATE_CHANGE ().
13438 * scripts/update-states (file): New script. Run it on a file to
13439 update it for state naming and API changes. Updates files in
13442 * All files updated for the new API.
13444 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13446 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13447 * gst/gstutils.c: (gst_util_set_value_from_string),
13448 (gst_util_set_object_arg):
13449 fix a bunch of unchecked return values
13450 * tools/gst-complete.c: (main):
13451 * gstreamer.spec.in:
13454 2005-09-01 Wim Taymans <wim@fluendo.com>
13456 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13457 (gst_base_sink_event), (gst_base_sink_do_sync),
13458 (gst_base_sink_handle_event):
13459 * gst/base/gstbasesink.h:
13460 Handle newsegments more correctly.
13465 * gst/gstevent.c: (gst_event_new_newsegment):
13466 A newsegment cannot have a start_time of -1
13468 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13470 * win32/gstenumtypes.c:
13471 * win32/gstenumtypes.h:
13474 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13476 * libs/gst/controller/gst-controller.c:
13477 (gst_controlled_property_set_interpolation_mode),
13478 (gst_controlled_property_new):
13479 fixed boolean again
13481 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13483 * docs/faq/gst-uninstalled:
13488 * gst/gstutils.c: (gst_element_link_filtered):
13490 add gst_element_link_filtered
13492 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13494 * docs/gst/gstreamer-docs.sgml:
13495 * docs/gst/gstreamer-sections.txt:
13496 * docs/gst/tmpl/.cvsignore:
13497 * docs/gst/tmpl/gsterror.sgml:
13498 * docs/gst/tmpl/gstfilter.sgml:
13499 * docs/gst/tmpl/gsturihandler.sgml:
13500 * docs/gst/tmpl/gsturitype.sgml:
13501 * docs/gst/tmpl/gstutils.sgml:
13502 * docs/gst/tmpl/gstxml.sgml:
13507 * gst/gsturitype.c:
13510 inlined more docs, fixed double id-ref
13512 2005-08-31 Wim Taymans <wim@fluendo.com>
13514 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13515 (gst_base_transform_handle_buffer):
13516 Passthrough elements don't need the caps as they don't care.
13518 2005-08-31 Wim Taymans <wim@fluendo.com>
13520 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13521 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13522 Don't leak refcounts on buffers.
13524 2005-08-31 Wim Taymans <wim@fluendo.com>
13526 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13527 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13528 (gst_base_transform_chain), (gst_base_transform_change_state):
13529 * gst/base/gstbasetransform.h:
13530 Handle the case where we are not negotiated more gracefully.
13532 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13534 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13535 (gst_file_src_map_region):
13536 Set READONLY flag on mmap'ed buffers, otherwise
13537 gst_buffer_make_writable() won't work properly (#314708).
13539 2005-08-31 Wim Taymans <wim@fluendo.com>
13541 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13542 passthrough elements can even do inplace on non writable
13543 buffers (as they don't touch them).
13545 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13547 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13548 (gst_test_mono_source_set_property),
13549 (gst_test_mono_source_class_init), (GST_START_TEST),
13550 (gst_controller_suite):
13551 more tests (hehe I have the most)
13553 describe popping messages whenusing mulltiple sources
13554 * libs/gst/controller/gst-controller.c:
13555 (gst_controlled_property_set_interpolation_mode),
13556 (gst_controlled_property_new):
13557 * libs/gst/controller/gst-controller.h:
13558 * libs/gst/controller/gst-interpolation.c:
13559 implement boolean properties
13561 2005-08-31 Wim Taymans <wim@fluendo.com>
13563 * gst/gstminiobject.c: (gst_mini_object_ref):
13564 Cannot assert that the refcount has to be positive
13565 since a disposed object can be resurrected.
13567 2005-08-31 Wim Taymans <wim@fluendo.com>
13569 * gst/gstpad.c: (gst_pad_init):
13570 Revert change, need to first fix badly behaving
13573 2005-08-30 Wim Taymans <wim@fluendo.com>
13575 * check/elements/fakesrc.c: (setup_fakesrc):
13576 * check/elements/identity.c: (setup_identity):
13577 Activate pads before using them.
13579 2005-08-30 Wim Taymans <wim@fluendo.com>
13581 * gst/base/gstadapter.c: (gst_adapter_flush):
13582 Flushing out 0 bytes is ok for this function.
13584 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13585 no newsegment gives a warning and sets the start/stop to
13588 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13589 (gst_base_transform_set_passthrough):
13592 * gst/gstminiobject.c: (gst_mini_object_ref):
13593 Check refcount here too.
13595 * gst/gstpad.c: (gst_pad_init):
13596 Pads are initially flushing and refusing data.
13598 * gst/gstutils.c: (gst_element_link_pads_filtered):
13599 When adding a capsfilter element make sure it has the
13600 same state as the parent bin.
13602 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13604 * docs/gst/tmpl/.cvsignore:
13605 * docs/gst/tmpl/gstformat.sgml:
13606 * docs/gst/tmpl/gstversion.sgml:
13610 * gst/gstversion.h.in:
13611 more docs and two more inlined
13613 2005-08-30 Wim Taymans <wim@fluendo.com>
13615 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13616 Don't sync to clock.
13618 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13620 * docs/gst/gstreamer-sections.txt:
13621 ultral33t func10ns deserve to appear in the docs actually
13622 * docs/gst/tmpl/.cvsignore:
13623 * docs/gst/tmpl/gstcompat.sgml:
13624 * docs/gst/tmpl/gstconfig.sgml:
13625 * gst/check/gstcheck.c:
13627 * gst/gstconfig.h.in:
13630 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13632 * docs/gst/tmpl/.cvsignore:
13633 * docs/gst/tmpl/gstquery.sgml:
13634 * docs/gst/tmpl/gstutils.sgml:
13637 inlined and extended docs
13639 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13641 * check/gst-libs/controller.c: (GST_START_TEST),
13642 (gst_controller_suite):
13644 * docs/gst/tmpl/gstutils.sgml:
13645 * docs/libs/gstreamer-libs-sections.txt:
13646 * docs/libs/tmpl/gstdataprotocol.sgml:
13648 * examples/controller/audio-example.c: (main):
13649 controller example works now
13652 * tools/gst-inspect.c: (print_element_properties_info):
13653 show param spec flags
13655 2005-08-29 Andy Wingo <wingo@pobox.com>
13657 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13659 2005-08-28 Andy Wingo <wingo@pobox.com>
13661 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13662 as having two arguments instead of just one. Allows superclasses
13663 to access information on subclasses -- see the terrible for() loop
13664 in gtype.c:g_type_create_instance for the reason why. All callers
13667 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13669 * docs/design/part-messages.txt:
13671 * docs/gst/tmpl/.cvsignore:
13672 * docs/gst/tmpl/gstcaps.sgml:
13673 * docs/gst/tmpl/gstclock.sgml:
13679 * gst/gstmessage.c:
13680 added descriptions for bus and message
13681 inline caps and clock docs
13683 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13685 * gst/gstmessage.c:
13686 * gst/gstmessage.h:
13689 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13691 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13694 2005-08-26 Andy Wingo <wingo@pobox.com>
13696 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13697 element_set_state's return val.
13698 (test_2_elements): Add test that's been disabled for months.
13700 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13701 can-activate-pull properties.
13703 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13704 can-activate-pull properties. Implement is_seekable so fakesrc can
13705 operate in pull mode.
13707 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13709 (gst_base_sink_activate, gst_base_sink_activate_pull)
13710 (gst_base_sink_activate_push): Make activation mode choosing work.
13712 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13713 is right. Make pull mode work. Post an eos before pausing in pull
13715 (gst_base_sink_change_state): Pay attention to the core's
13716 change_state() return val.
13718 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13719 has-getrange properties. Cleanups.
13721 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13722 has_getrange and replace with can_activate_pull and
13725 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13726 locking comments. Remove has_loop, has_chain and replace with
13727 can_activate_pull and can_activate_push.
13729 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
13732 * examples/Makefile.am:
13733 * examples/metadata/Makefile.am:
13734 * examples/metadata/read-metadata.c: (message_loop),
13735 (have_pad_handler), (make_pipeline), (print_tag), (main):
13736 Add metadata reading example that loops over a list of filenames,
13737 dumping any tags found.
13739 * gst/gstbus.c: (gst_bus_dispose):
13740 * gst/gstelement.c: (gst_element_dispose):
13741 Release a few potentially-held references in dispose.
13743 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13745 * docs/gst/tmpl/gstminiobject.sgml:
13746 do *not* add tmpl/*.sgml files to CVS!
13748 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13750 * libs/gst/bytestream/.cvsignore:
13751 * libs/gst/bytestream/Makefile.am:
13752 * libs/gst/bytestream/adapter.c:
13753 * libs/gst/bytestream/adapter.h:
13754 * libs/gst/bytestream/bytestream.c:
13755 * libs/gst/bytestream/bytestream.h:
13756 * libs/gst/bytestream/filepad.c:
13757 * libs/gst/bytestream/filepad.h:
13758 removing obsolete files
13760 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13762 * docs/gst/gstreamer-docs.sgml:
13763 * docs/libs/gstreamer-libs-docs.sgml:
13764 disabed additional index entries again, as this makes docs-gen just
13765 slow and they aren't useful yet
13766 * docs/libs/gstreamer-libs-sections.txt:
13767 little -section.txt cleanup for libs
13769 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
13771 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13772 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13773 fix up some debugging
13774 (gst_base_transform_get_unit_size),
13775 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13776 (gst_base_transform_handle_buffer):
13777 * gst/base/gstbasetransform.h:
13778 handle and store timed NEWSEGMENT events so that subclasses that
13779 calculate time by counting samples have a segment_start time they
13780 need to add to their timestamps - see audioresample
13782 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13785 removed ';' from the end of macro defs
13786 * docs/gst/gstreamer-docs.sgml:
13787 * docs/gst/gstreamer-sections.txt:
13788 * docs/gst/tmpl/.cvsignore:
13790 * gst/gstelement.c: (gst_element_class_init),
13791 (gst_element_set_state), (activate_pads),
13792 (gst_element_save_thyself):
13793 * gst/gstevent.c: (gst_event_new_newsegment):
13795 * gst/gstiterator.c:
13796 * gst/gstiterator.h:
13799 * gst/gstutils.c: (gst_pad_query_convert):
13801 fixed parameter name mismatches between source, header and docs
13802 added some more docs, resolved the last batch of unused elements in
13803 docs (now someone needs to doc them)
13805 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13807 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13808 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13809 don't walk through the plugins backwards. Where is all this
13810 reversed logic coming from ?
13812 2005-08-25 Wim Taymans <wim@fluendo.com>
13814 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13815 (gst_base_transform_transform_size),
13816 (gst_base_transform_configure_caps),
13817 (gst_base_transform_get_unit_size),
13818 (gst_base_transform_buffer_alloc),
13819 (gst_base_transform_change_state):
13820 * gst/base/gstbasetransform.h:
13821 Cache caps unit_size.
13822 Make sure we cannot negotiate up and downstream at the
13825 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13827 * gst/gst.c: (init_pre), (init_post):
13828 register the installed plugin path after the env var
13829 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13830 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13831 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13832 directories, so the tests can prefer uninstalled over installed
13834 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13836 * gst/base/gstbasetransform.h:
13841 2005-08-25 Wim Taymans <wim@fluendo.com>
13843 * gst/gstbin.c: (bin_bus_handler):
13844 Be a bit more conservative about the posted message.
13846 * gst/gstbus.c: (gst_bus_post):
13847 Some cleanups, warn wrong return values.
13849 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
13851 * check/gst/gstbin.c: (GST_START_TEST):
13852 * gst/gstbin.c: (bin_bus_handler):
13853 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13854 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13855 (gst_message_new_warning), (gst_message_new_tag),
13856 (gst_message_new_state_changed), (gst_message_new_segment_start),
13857 (gst_message_new_segment_done), (gst_message_new_custom):
13858 * gst/gstmessage.h:
13859 * tools/gst-launch.c: (event_loop):
13860 * tools/gst-md5sum.c: (event_loop):
13861 Revert unpopular change for GST_MESSAGE_SRC to GObject.
13863 2005-08-25 Wim Taymans <wim@fluendo.com>
13865 * check/generic/states.c: (GST_START_TEST):
13866 Cleanup can be done at the end.
13868 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13869 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13870 (gst_task_get_state), (gst_task_start), (gst_task_pause):
13871 Oh boy.. Thanks for finding this, Thomas.
13873 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13875 * docs/gst/gstreamer.types:
13876 added missing types
13878 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13880 * docs/gst/gstreamer-docs.sgml:
13881 * docs/gst/gstreamer-sections.txt:
13882 * docs/gst/tmpl/.cvsignore:
13884 * gst/gstiterator.c:
13886 * gst/registries/gstxmlregistry.h:
13887 added missing classes and symbols (123 more to go)
13888 removed removed symbols from section file
13889 fixed many doc-comments
13891 2005-08-24 Wim Taymans <wim@fluendo.com>
13893 * check/generic/states.c: (GST_START_TEST):
13894 Make sure all tasks are stopped.
13896 * check/gst/gstbin.c: (GST_START_TEST):
13897 Unref after usage for proper valgrinding.
13899 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13900 Really wait for the task to stop before destroying the
13903 * gst/gstqueue.c: (gst_queue_sink_activate_push),
13904 (gst_queue_src_activate_push):
13905 Small cleanups. Don't stop the task when we did not start
13908 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13909 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13910 (gst_task_get_state), (gst_task_start), (gst_task_pause),
13913 Protect the stream lock with the object lock.
13914 Disallow setting the stream lock when running.
13915 Add cleanup_all to wait for the threadpool to finish.
13916 Remove code to autoallocate a mutex if none was provided.
13917 Add _join() to wait for a task to stop.
13918 Protect the thread pool with a global lock.
13920 2005-08-24 Wim Taymans <wim@fluendo.com>
13922 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13923 (gst_base_sink_get_times), (gst_base_sink_do_sync),
13924 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
13925 * gst/base/gstbasesink.h:
13926 Handle newsegment events correctly.
13927 Drop buffers out of the segment range.
13929 2005-08-22 Andy Wingo <wingo@pobox.com>
13931 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
13932 macro, implements an interface and gstimplementsinterface for a
13935 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13937 * check/Makefile.am:
13938 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
13939 add a test that does a bunch of state changes on elements
13940 needs some fixing for valgrind
13941 * check/states/sinks.c: (gst_object_suite):
13944 add prototype for gst_caps_is_equal_fixed
13946 * gst/gstregistrypool.c:
13949 2005-08-24 Andy Wingo <wingo@pobox.com>
13951 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
13952 convert a negative value. Doesn't make much sense. Mostly this is
13953 here to force callers to ensure -1 maps to -1.
13955 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
13957 * docs/pwg/advanced-types.xml:
13958 Well done to Michael for catching my deliberate introduction
13959 of this spelling mistake.
13960 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
13961 * gst/gstelement.h:
13962 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
13963 unlink pads before removing the element from the bin.
13965 2005-08-24 Andy Wingo <wingo@pobox.com>
13967 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
13968 the same thing as GST_DEBUG=*:4.
13969 (parse_debug_level, parse_debug_category): New helper parsers.
13971 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
13973 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13974 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
13975 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
13976 (gst_base_transform_buffer_alloc),
13977 (gst_base_transform_handle_buffer):
13978 use gboolean return values and pointers to size so we can use the
13979 full GST_BUFFER_SIZE range (guint) for buffer sizes
13980 use GstPadDirection for transform_caps
13981 * gst/base/gstbasetransform.h:
13982 rename get_size to get_unit_size since that's what it is
13983 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
13984 use GstPadDirection for transform_caps
13985 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
13987 cleanup and debugging
13989 2005-08-24 Stefan Kost <ensonic@users.sf.net>
13991 * gst/gstelement.c: (gst_element_class_init),
13992 (gst_element_set_state), (activate_pads),
13993 (gst_element_save_thyself):
13994 * tools/gst-compprep.c: (main):
13995 * tools/gst-inspect.c: (print_element_properties_info):
13996 * tools/gst-xmlinspect.c: (print_element_properties):
13997 Fixed long standing mem-leak
13999 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14001 * check/gst/gstbin.c: (GST_START_TEST):
14002 * gst/gstbin.c: (bin_bus_handler):
14003 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14004 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14005 (gst_message_new_warning), (gst_message_new_tag),
14006 (gst_message_new_state_changed), (gst_message_new_segment_start),
14007 (gst_message_new_segment_done), (gst_message_new_custom):
14008 * gst/gstmessage.h:
14009 * tools/gst-launch.c: (event_loop):
14010 * tools/gst-md5sum.c: (event_loop):
14011 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14012 that applications can sensibly post custom messages with references
14013 to their own objects.
14015 2005-08-24 Andy Wingo <wingo@pobox.com>
14017 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14020 2005-08-24 Wim Taymans <wim@fluendo.com>
14022 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14023 (gst_base_transform_transform_caps),
14024 (gst_base_transform_transform_size),
14025 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14026 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14027 (gst_base_transform_handle_buffer):
14028 * gst/base/gstbasetransform.h:
14029 Many fixes and new features added by Thomas. Can now also do
14030 transforms with variable sizes and a custom fixate_caps function.
14032 2005-08-24 Wim Taymans <wim@fluendo.com>
14034 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14038 Cast to ClockTime before formatting to time.
14043 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14045 * check/gst-libs/controller.c: (GST_START_TEST),
14046 (gst_controller_suite):
14047 * docs/gst/tmpl/gstcaps.sgml:
14048 * docs/gst/tmpl/gstghostpad.sgml:
14049 * docs/gst/tmpl/gstquery.sgml:
14050 * docs/gst/tmpl/gstutils.sgml:
14051 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14052 (gst_object_sink_values), (gst_object_get_value_arrays),
14053 (gst_object_get_value_array):
14054 gracefully handle helper method calls to objects that are not beeing
14055 controlled, added test case for that
14057 2005-08-23 Wim Taymans <wim@fluendo.com>
14059 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14060 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14061 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14062 (gst_event_parse_qos), (gst_event_new_seek),
14063 (gst_event_parse_seek):
14065 Some more debugging output and doc cleanups.
14067 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14068 Fix possible deadlock.
14070 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14072 * docs/gst/gstreamer-docs.sgml:
14073 * docs/gst/gstreamer-sections.txt:
14074 * docs/gst/gstreamer.types:
14075 * docs/gst/tmpl/.cvsignore:
14078 * gst/gstelement.c:
14080 added 100 symbols from gstreamer-unused.txt to the right sections
14081 fixed more broken comments
14082 added GstBus to docs
14084 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14086 * docs/gst/gstreamer-sections.txt:
14087 * docs/gst/tmpl/.cvsignore:
14088 * docs/gst/tmpl/gstbin.sgml:
14089 * docs/gst/tmpl/gstbuffer.sgml:
14090 * gst/base/gstbasesrc.c:
14091 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14094 * tools/gst-launch.1.in:
14095 inlined more doc comments, added missing comments and fixed comments
14098 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14100 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14104 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14106 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14107 * gst/gststructure.h:
14108 add a fixate function for booleans; add a FIXME that these func
14109 names should probably be gst_structure_fixate_*
14111 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14113 * docs/gst/gstreamer-docs.sgml:
14114 * docs/gst/gstreamer-sections.txt:
14116 * gst/gstbin.c: (gst_bin_get_type),
14117 (gst_bin_child_proxy_get_child_by_index),
14118 (gst_bin_child_proxy_get_children_count),
14119 (gst_bin_child_proxy_init):
14120 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14121 (gst_child_proxy_get_child_by_index),
14122 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14123 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14124 (gst_child_proxy_get), (gst_child_proxy_set_property),
14125 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14126 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14127 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14128 * gst/gstchildproxy.h:
14129 * gst/parse/grammar.y:
14130 * tools/gst-inspect.c: (print_interfaces),
14131 (print_element_properties_info), (print_element_info):
14132 ported gstchildproxy over from 0.8
14133 ported gst-inspect fixes and enhancements over from 0.8
14135 2005-08-22 Wim Taymans <wim@fluendo.com>
14137 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14138 (gst_base_transform_handle_buffer):
14139 Also call the transform function if we have ANY caps.
14141 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14144 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14146 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14147 Don't pretend to handle seek events if the source is not seekable
14149 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14151 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14152 Remove extra parameter to debug output
14154 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14155 (gst_base_src_do_seek), (gst_base_src_activate_push):
14156 Fix seek event handling.
14158 * gst/gstpipeline.c: (gst_pipeline_change_state):
14159 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14160 (gst_queue_src_activate_push):
14161 Don't start the src pad task on FLUSH_STOP if the pad
14165 2005-08-22 Wim Taymans <wim@fluendo.com>
14167 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14168 Added check for gst_static_caps_get() refcounting.
14170 2005-08-22 Wim Taymans <wim@fluendo.com>
14172 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14173 Make _static_caps_get() refcounting sane.
14175 * gst/gstelement.c: (gst_element_set_state):
14176 Add g_return_val_if_fail() to protect against segfaults.
14178 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14180 * docs/gst/tmpl/gstevent.sgml:
14183 inlined remaining docs, added missing doc comments
14185 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14187 * check/gst/gstbin.c: (GST_START_TEST):
14188 since we don't know when preroll is done, use refcount range
14190 * gst/check/gstcheck.h:
14191 add macro for checking refcount range
14193 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14195 * check/Makefile.am:
14196 clean up environment for when registry gets built versus
14197 when actual tests are run; valgrind seems to not report
14198 leaks if GST_PLUGIN_PATH is set to some specific values
14199 * check/gst/gstbin.c: (GST_START_TEST):
14200 add more refcounting checks; maybe this exposes a
14202 * common/check.mak:
14203 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14204 * gst/check/gstcheck.h:
14205 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14206 (gst_bin_change_state):
14207 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14208 add/fix debugging/whitespace
14210 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14212 * check/gst/gstevent.c: (event_probe), (test_event),
14214 Er, don't call gst_bin_watch_for_state_change you idiot.
14216 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14218 * check/Makefile.am:
14219 Use CHECK_CFLAGS and CHECK_LIBS
14220 * check/gst/gstevent.c: (event_probe), (test_event),
14223 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14224 (gst_base_src_start), (gst_base_src_stop),
14225 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14226 (gst_base_src_change_state):
14227 Sprinkle gst_base_src_stop liberally around error paths to fix
14228 problems reusing a source after failed state changes.
14229 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14230 (helper_find_suggest), (gst_type_find_helper):
14231 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14233 * docs/gst/tmpl/gstevent.sgml:
14234 Migrate part of the docs from the SGML file. Wait for ensonic to
14235 tell me how I did it wrong ;)
14236 * tools/gst-typefind.c: (main):
14237 Extra robustness to state changes between files.
14239 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14241 * check/Makefile.am:
14242 don't valgrind the controller test - it's leaking - Stefan, HELP
14243 * gst/check/gstcheck.c: (gst_check_message_error),
14244 (gst_check_chain_func), (gst_check_setup_element),
14245 (gst_check_teardown_element), (gst_check_setup_src_pad),
14246 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14247 (gst_check_teardown_sink_pad):
14248 * gst/check/gstcheck.h:
14249 add a bunch of methods to set up elements, and src and sink pads
14250 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14251 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14254 * gst/gstmessage.c:
14256 whitespace/doc fixes
14258 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14260 * gst/gstelement.h:
14261 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14262 be handled by the application and not always printed as well
14264 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14266 * check/Makefile.am:
14268 * gst/check/gstcheck.c: (gst_check_message_error):
14269 * gst/check/gstcheck.h:
14270 add a fail_unless_equals_int
14271 add fail_unless for error messages
14273 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14275 * check/Makefile.am:
14277 * common/Makefile.am:
14278 * common/check.mak:
14280 factor out some of the common stuff so we can use it
14282 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14284 * check/Makefile.am:
14285 * check/gst/gstiterator.c: (GST_START_TEST):
14286 * check/gst/gstsystemclock.c: (GST_START_TEST),
14287 (gst_systemclock_suite):
14288 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14290 valgrind more tests
14292 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14294 * check/elements/.cvsignore:
14295 * check/elements/gstfakesrc.c:
14296 rename to name of element
14297 * check/elements/identity.c: (chain_func), (event_func),
14298 (setup_identity), (cleanup_identity), (GST_START_TEST),
14299 (identity_suite), (main):
14300 add a test for identity
14301 * check/Makefile.am:
14302 * pkgconfig/Makefile.am:
14303 * pkgconfig/gstreamer-check.pc.in:
14304 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14308 move the check stuff to a library that gets installed
14309 * check/gst-libs/controller.c: (GST_START_TEST):
14310 * check/gst-libs/gdp.c:
14311 * check/gst/gst.c: (GST_START_TEST):
14312 * check/gst/gstbin.c:
14313 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14314 * check/gst/gstbus.c:
14315 * check/gst/gstcaps.c: (GST_START_TEST):
14316 * check/gst/gstelement.c:
14317 * check/gst/gstghostpad.c:
14318 * check/gst/gstiterator.c:
14319 * check/gst/gstmessage.c:
14320 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14321 * check/gst/gstobject.c:
14322 * check/gst/gstpad.c: (GST_START_TEST):
14323 * check/gst/gststructure.c: (GST_START_TEST):
14324 * check/gst/gstsystemclock.c: (GST_START_TEST),
14325 (gst_systemclock_suite):
14326 * check/gst/gsttag.c: (gst_tag_suite):
14327 * check/gst/gstvalue.c:
14328 * check/pipelines/cleanup.c:
14329 * check/pipelines/simple_launch_lines.c:
14330 * check/states/sinks.c:
14331 change include statement
14333 * docs/gst/gstreamer-sections.txt:
14334 * docs/gst/tmpl/gstpad.sgml:
14335 document more pad stuff
14336 * gst/gstminiobject.c: (gst_mini_object_ref),
14337 (gst_mini_object_unref):
14340 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14342 * docs/gst/tmpl/gst.sgml:
14344 eliminate another tmpl file, fix spelling in the long-description
14346 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14348 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14349 (test_event), (timediff), (gstevents_suite):
14350 Should fix build on 64-bit arch's
14352 2005-08-18 Andy Wingo <wingo@pobox.com>
14354 Make sure that when a pipeline goes to PLAYING, that data has
14355 actually hit the sink.
14357 * check/states/sinks.c (test_sink): A sink that doesn't get any
14358 data shouldn't return SUCCESS for going to either PLAYING or
14359 PAUSED. Test also the return values on the way back down.
14361 * gst/gstelement.c (gst_element_set_state): When changing the
14362 state of an element currently changing state asynchronously, go to
14363 lost-state after commiting the pending state. Makes future calls
14364 to get_state continue to return ASYNC.
14366 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14367 ASYNC when going to PLAYING if we still don't have preroll, as can
14368 happen with live sources.
14370 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14372 * docs/pwg/advanced-types.xml:
14373 Hack long paragraph into 2 chunks as a workaround for buggy
14374 jadetex version in sid and breezy that loops infinitely and
14377 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14379 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14380 (test_event), (timediff), (gstevents_suite):
14381 Provide more error margin in clock measurements to allow for
14382 g_get_current_time inaccuracies.
14384 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14386 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14387 (test_event), (timediff), (gstevents_suite):
14388 Fix error message output so I might be able to tell why the
14389 test works here but fails on the build farm.
14391 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14393 * check/Makefile.am:
14394 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14395 (test_event), (timediff), (gstevents_suite), (main):
14398 * docs/design/part-seeking.txt:
14399 Spelling correction
14401 * docs/gst/tmpl/gstevent.sgml:
14402 * docs/gst/tmpl/gstfakesrc.sgml:
14405 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14406 Treat a buffer-without-newsegment the same as a receiving
14407 a newsegment not in time format, and disable syncing to the clock
14410 * gst/gstbus.c: (gst_bus_set_sync_handler):
14411 Assert if anyone tries to replace the existing sync_handler for bus,
14412 as only the owner should be setting it.
14415 Have a fixed set of custom event enums with events identified by
14416 their structure name (as in 0.8), rather than a free-for-all
14417 allowing collisions between enum values from different plugins.
14419 * gst/gstpad.c: (gst_pad_class_init):
14422 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14423 Handle out-of-band downstream events from the sending thread.
14425 2005-08-17 Andy Wingo <wingo@pobox.com>
14427 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14428 play-timeout==0 to mean no timeout at all. In that case, don't
14429 bother with a get_state or a warning, just return directly, even
14432 * gst/base/gstbasetransform.c: Debug changes.
14435 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14436 ensure bins post state change messages. A bit of a hack but I can't
14437 think of a way to avoid it.
14439 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14441 2005-08-16 Andy Wingo <wingo@pobox.com>
14443 * gst/base/gstadapter.h:
14444 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14445 peek() but you own the data. Not terribly efficient atm.
14447 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14449 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14450 (gst_element_found_tags):
14452 Add two utility functions for tag handling.
14454 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14456 * docs/manual/advanced-dataaccess.xml:
14457 * docs/manual/basics-helloworld.xml:
14458 Fix docs to use _bin_add() before _link(), which fixes the examples
14459 with recent core versions (reported by Madhan Raj M
14460 <raj_madan@rediffmail.com>, #313199).
14462 2005-08-16 Wim Taymans <wim@fluendo.com>
14464 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14465 Added subtract checks.
14467 * docs/design/part-events.txt:
14468 Some more docs about newsegment
14470 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14473 * gst/gstcaps.c: (gst_caps_to_string):
14474 Add comments, cleanups.
14476 * gst/gstelement.c: (gst_element_save_thyself):
14479 * gst/gstvalue.c: (gst_value_collect_int_range),
14480 (gst_string_unwrap), (gst_value_union_int_int_range),
14481 (gst_value_union_int_range_int_range),
14482 (gst_value_intersect_int_int_range),
14483 (gst_value_intersect_int_range_int_range),
14484 (gst_value_intersect_double_double_range),
14485 (gst_value_intersect_double_range_double_range),
14486 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14487 (gst_value_subtract_int_range_int),
14488 (gst_value_subtract_double_range_double),
14489 (gst_value_subtract_double_range_double_range),
14490 (gst_value_subtract_from_list), (gst_value_subtract_list),
14491 (gst_value_can_compare), (gst_value_compare_fraction):
14492 Cleanups, add comments, remove unneeded asserts.
14494 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14496 * tools/gst-launch.c: (event_loop):
14497 don't convert NULL structures to strings
14499 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14501 * docs/gst/gstreamer-sections.txt:
14502 made some defines private
14503 * docs/gst/tmpl/gstconfig.sgml:
14504 * docs/gst/tmpl/gstqueue.sgml:
14505 * docs/gst/tmpl/gsttaglist.sgml:
14506 * docs/gst/tmpl/gsttypes.sgml:
14507 * docs/gst/tmpl/gstutils.sgml:
14508 * docs/pwg/appendix-porting.xml:
14509 * gst/base/gstbasesink.h:
14510 * gst/base/gstbasesrc.c:
14511 * gst/base/gstbasesrc.h:
14512 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14513 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14514 * gst/gstelement.c: (gst_element_class_init):
14515 * gst/gstpad.c: (gst_pad_class_init):
14516 * gst/gstqueue.c: (gst_queue_class_init):
14517 * gst/gstxml.c: (gst_xml_class_init):
14518 documented all undocumented signal inline
14519 * libs/gst/controller/gst-controller.h:
14522 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14524 * docs/pwg/appendix-porting.xml:
14525 Document _set_link_function -> _set_setcaps_function.
14527 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14529 * check/Makefile.am:
14530 add a .check target for running the check
14531 * check/gst-libs/controller.c: (GST_START_TEST):
14533 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14534 complete checks for gstbuffer; would be nice if I could get the
14535 gcov stuff to work so I can see if I actually completed gstbuffer.c
14536 * check/gstcheck.h:
14537 add ASSERT_BUFFER_REFCOUNT
14539 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14541 * docs/gst/gstreamer-sections.txt:
14542 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14544 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14545 spew out a warning if a tag that is already registered
14546 is re-registered, unless it is re-registered with a
14547 different type (#308438).
14549 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14551 * docs/pwg/appendix-porting.xml:
14552 * docs/pwg/building-state.xml:
14553 Add some paragraphs about state changes in 0.9 to the PWG
14554 and the porting guide, in particular about the new meaning
14555 of GST_STATE_PAUSED and how to write state change functions
14556 with concurrent access by multiple threads in mind.
14558 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14560 * docs/gst/gstreamer-docs.sgml:
14561 * docs/libs/gstreamer-libs-docs.sgml:
14562 added deprecation and since indexes
14563 * libs/gst/controller/gst-controller.c:
14564 * libs/gst/controller/gst-helper.c:
14568 2005-08-11 Wim Taymans <wim@fluendo.com>
14570 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14571 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14572 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14573 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14574 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14575 (gst_ghost_pad_set_target):
14576 Actually implement (re)setting the target on a ghostpad
14577 as described in the docs.
14579 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14581 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14582 Check whether GST_DEBUG_NO_COLOR environment variable is
14583 set and disable coloured debug output if that is the case.
14585 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14587 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14588 (gst_type_find_helper):
14589 The memory returned by gst_type_find_peek() needs to
14590 stay valid until the end of a typefind function, and
14591 typefind functions may keep results from different
14592 offsets around, so we can't just unref the buffer from
14593 the previous _peek(), but have to save all buffers
14594 returned by _peek() until typefinding is done and only
14597 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14599 * docs/gst/gstreamer-sections.txt:
14601 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14603 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14605 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14606 Fix a pretty good memleak.
14608 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14610 * gst/gstiterator.h:
14611 Fix wrong include and 'make distcheck'.
14613 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14615 * gst/gstbin.c: (bin_bus_handler):
14616 Use gst_element_post_message() instead.
14618 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14620 * gst/base/gstadapter.h:
14621 * gst/base/gstbasesink.h:
14622 * gst/base/gstbasesrc.h:
14623 * gst/base/gstbasetransform.h:
14624 * gst/base/gstcollectpads.h:
14625 * gst/base/gstpushsrc.h:
14626 * gst/gstiterator.h:
14627 Add padding to our base elements' class and instance structs and
14628 to GstIterator (you will need to rebuild all plugins and apps!)
14630 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14632 * gst/gstbin.c: (bin_bus_handler):
14633 Make default message forwarding from child->bus to bin->bus
14634 threadsafe and make it not emit warnings if the parent has no bus.
14636 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14638 * gst/gstelement.c: (activate_pads):
14639 On paused->ready, set pad->caps to NULL, as is the documented
14640 behaviour in this state change. Fixes playback of series of
14641 media files when visualization is enabled in Totem.
14643 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14645 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14646 Allow NULL as filter-caps (which means "any").
14648 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14650 * docs/libs/gstreamer-libs-sections.txt:
14651 * libs/gst/controller/gst-controller.c:
14652 * libs/gst/controller/gst-controller.h:
14653 * libs/gst/controller/gst-helper.c:
14654 adding more entries to the docs and fix small doc-bugs
14656 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14658 * docs/gst/gstreamer-docs.sgml:
14659 * docs/gst/gstreamer-sections.txt:
14660 * docs/gst/gstreamer.types:
14661 * docs/gst/tmpl/gstbasesink.sgml:
14662 * docs/gst/tmpl/gstbasesrc.sgml:
14663 * docs/gst/tmpl/gstbasetransform.sgml:
14664 * docs/gst/tmpl/gstfakesrc.sgml:
14665 * gst/base/gstcollectpads.c:
14666 * gst/base/gstcollectpads.h:
14667 * libs/gst/controller/gst-controller.c:
14668 * libs/gst/controller/gst-controller.h:
14669 * libs/gst/controller/gst-helper.c:
14670 * libs/gst/controller/gst-interpolation.c:
14671 * libs/gst/controller/lib.c:
14672 added long/short desc for controller docs
14673 added collectpads base class docs
14674 added correct includes to base-class docs
14676 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14678 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14679 (gst_test_mono_source_set_property),
14680 (gst_test_mono_source_class_init), (GST_START_TEST),
14681 (gst_controller_suite):
14682 * docs/gst/gstreamer-docs.sgml:
14683 * docs/gst/gstreamer-sections.txt:
14684 * docs/gst/gstreamer.types:
14685 * docs/libs/gstreamer-libs-docs.sgml:
14686 * docs/libs/gstreamer-libs-sections.txt:
14687 * gst/base/gstadapter.c:
14688 * libs/gst/controller/gst-controller.c:
14689 (gst_controlled_property_new), (gst_controlled_property_free),
14690 (gst_controller_new_valist),
14691 (gst_controller_remove_properties_valist),
14692 (gst_controller_sink_values), (_gst_controller_finalize):
14693 * libs/gst/controller/gst-controller.h:
14694 * libs/gst/controller/gst-helper.c:
14695 (gst_object_control_properties), (gst_object_uncontrol_properties),
14696 (gst_object_get_controller), (gst_object_set_controller),
14697 (gst_object_sink_values), (gst_object_get_value_arrays),
14698 (gst_object_get_value_array):
14699 more tests (and fixes) for the controller
14700 more docs for the controller
14701 integrated companies docs for the adapter
14703 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
14705 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14706 (GST_START_TEST), (fakesrc_suite):
14707 add tests for sizetype
14709 2005-08-04 Andy Wingo <wingo@pobox.com>
14711 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14712 fixes buffer_alloc proxying among other things.
14714 * gst/base/gstbasetransform.c:
14715 * gst/base/gstbasetransform.h:
14716 Revert patch to gstbasetransform from 7-28 removing
14719 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14720 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14721 Semantics changed, should return not the size of the output buffer
14722 but the byte size of a buffer with a given caps.
14724 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14726 (gst_base_transform_configure_caps): Don't set out_size here: (in,
14727 out) are not the pad caps until setcaps finishes.
14728 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14729 not-in-place case as well. Deal with changing from in-place to
14730 not-in-place within calling pad_alloc_buffer. Still a bit
14731 concerned about the overhead here...
14733 2005-08-03 Andy Wingo <wingo@pobox.com>
14735 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14736 fixating is an error.
14738 2005-08-04 Edward Hervey <edward@fluendo.com>
14740 * gst/base/gstadapter.h:
14741 Added gst_adapter_get_type() to the header
14743 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14745 * check/Makefile.am:
14746 * check/gst-libs/controller.c:
14747 * libs/gst/controller/gst-controller.c:
14748 (gst_controller_new_valist):
14749 added check test suite for the controller
14750 * gst/base/gstpushsrc.c:
14753 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14755 * docs/gst/Makefile.am:
14756 * docs/gst/gstreamer-docs.sgml:
14757 * docs/gst/gstreamer-sections.txt:
14758 * docs/gst/gstreamer.types:
14759 * docs/gst/tmpl/gstfakesrc.sgml:
14761 * gst/base/gstbasesink.c:
14762 * gst/base/gstbasesink.h:
14763 * gst/base/gstbasesrc.c:
14764 * gst/base/gstbasesrc.h:
14765 * gst/base/gstbasetransform.c:
14766 * gst/base/gstpushsrc.c:
14767 * gst/base/gstpushsrc.h:
14768 add short/long description docs to base classes
14769 add pushsrc to the docs
14770 remove consolidated doc fragments
14772 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14775 * docs/libs/Makefile.am:
14776 * docs/libs/gstreamer-libs-docs.sgml:
14777 * docs/libs/gstreamer-libs-sections.txt:
14778 * docs/libs/gstreamer-libs.types:
14779 * examples/Makefile.am:
14780 * examples/controller/.cvsignore:
14781 * examples/controller/Makefile.am:
14782 * examples/controller/audio-example.c: (main):
14783 * libs/gst/Makefile.am:
14784 * libs/gst/controller/.cvsignore:
14785 * libs/gst/controller/Makefile.am:
14786 * libs/gst/controller/gst-controller.c:
14787 (on_object_controlled_property_changed), (gst_timed_value_compare),
14788 (gst_timed_value_find),
14789 (gst_controlled_property_set_interpolation_mode),
14790 (gst_controlled_property_new), (gst_controlled_property_free),
14791 (gst_controller_find_controlled_property),
14792 (gst_controller_new_valist), (gst_controller_new),
14793 (gst_controller_remove_properties_valist),
14794 (gst_controller_remove_properties), (gst_controller_set),
14795 (gst_controller_set_from_list), (gst_controller_unset),
14796 (gst_controller_get), (gst_controller_get_all),
14797 (gst_controller_sink_values), (gst_controller_get_value_arrays),
14798 (gst_controller_get_value_array),
14799 (gst_controller_set_interpolation_mode),
14800 (_gst_controller_finalize), (_gst_controller_init),
14801 (_gst_controller_class_init), (gst_controller_get_type):
14802 * libs/gst/controller/gst-controller.h:
14803 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14804 (g_object_uncontrol_properties), (g_object_get_controller),
14805 (g_object_set_controller), (g_object_sink_values),
14806 (g_object_get_value_arrays), (g_object_get_value_array):
14807 * libs/gst/controller/gst-interpolation.c:
14808 (gst_controlled_property_find_timed_value_node),
14809 (interpolate_none_get), (interpolate_trigger_get),
14810 (interpolate_trigger_get_value_array):
14811 * libs/gst/controller/lib.c: (gst_controller_init):
14812 * pkgconfig/Makefile.am:
14813 * pkgconfig/gstreamer-control-uninstalled.pc.in:
14814 * pkgconfig/gstreamer-control.pc.in:
14815 * testsuite/Makefile.am:
14816 * testsuite/controller/.cvsignore:
14817 * testsuite/controller/Makefile.am:
14818 * testsuite/controller/interpolator.c: (main):
14819 added controller code
14820 removed dparam pc files
14822 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14823 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14824 (gst_collectpads_stop):
14825 Broadcast the condition when shutting down, to make sure we wake all
14826 threads up. Shut down pads on finalize, for safety.
14828 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14829 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14830 (gst_base_transform_handle_buffer),
14831 (gst_base_transform_change_state):
14832 Handle PAUSED->READY->PAUSED transition after negotiation
14834 * gst/gstmessage.c: (gst_message_init):
14835 Extra piece of debug for new messages.
14837 2005-08-01 Stefan Kost <ensonic@users.sf.net>
14840 * docs/gst/tmpl/gstbasesrc.sgml:
14841 * docs/gst/tmpl/gstelement.sgml:
14842 * docs/gst/tmpl/gstevent.sgml:
14843 * docs/gst/tmpl/gstfakesrc.sgml:
14844 * docs/gst/tmpl/gstformat.sgml:
14845 * docs/gst/tmpl/gstghostpad.sgml:
14846 * docs/gst/tmpl/gstpad.sgml:
14847 * docs/gst/tmpl/gstquery.sgml:
14848 * docs/gst/tmpl/gststructure.sgml:
14849 * docs/gst/tmpl/gsttaglist.sgml:
14850 * docs/gst/tmpl/gstvalue.sgml:
14851 * docs/libs/gstreamer-libs-docs.sgml:
14852 * docs/libs/gstreamer-libs-sections.txt:
14853 * docs/libs/gstreamer-libs.types:
14854 * libs/gst/Makefile.am:
14855 * libs/gst/control/.cvsignore:
14856 * libs/gst/control/Makefile.am:
14857 * libs/gst/control/control.c:
14858 * libs/gst/control/control.h:
14859 * libs/gst/control/dparam.c:
14860 * libs/gst/control/dparam.h:
14861 * libs/gst/control/dparam_smooth.c:
14862 * libs/gst/control/dparam_smooth.h:
14863 * libs/gst/control/dparamcommon.h:
14864 * libs/gst/control/dparammanager.c:
14865 * libs/gst/control/dparammanager.h:
14866 * libs/gst/control/dplinearinterp.c:
14867 * libs/gst/control/dplinearinterp.h:
14868 * libs/gst/control/unitconvert.c:
14869 * libs/gst/control/unitconvert.h:
14870 * testsuite/Makefile.am:
14871 * testsuite/dynparams/.cvsignore:
14872 * testsuite/dynparams/Makefile.am:
14873 * testsuite/dynparams/dparamstest.c:
14874 * tools/Makefile.am:
14875 * tools/gst-inspect.c: (print_element_info), (main):
14876 * tools/gst-xmlinspect.c: (print_element_info), (main):
14877 deactivate and remove dparams (libgstcontrol)
14879 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14881 * gst/elements/gsttypefindelement.c:
14882 (gst_type_find_element_have_type), (gst_type_find_element_init),
14883 (stop_typefinding), (gst_type_find_element_handle_event),
14884 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14885 * gst/elements/gsttypefindelement.h:
14886 Set caps on all outgoing buffers, not just the first one.
14888 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14890 * gst/elements/gsttypefindelement.c:
14891 (gst_type_find_element_have_type),
14892 (gst_type_find_element_check_set_buffer_caps),
14893 (gst_type_find_element_init), (stop_typefinding),
14894 (gst_type_find_element_handle_event),
14895 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14896 * gst/elements/gsttypefindelement.h:
14897 Set caps on first outgoing buffer when we've found the type.
14899 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14901 * docs/gst/gstreamer-docs.sgml:
14902 * docs/gst/gstreamer-sections.txt:
14903 * docs/gst/tmpl/gstscheduler.sgml:
14904 * docs/gst/tmpl/gstschedulerfactory.sgml:
14905 Remove some old cruft from docs.
14907 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
14910 Fix inline docs for GstPadLinkReturn.
14912 * gst/gststructure.c: (gst_structure_has_name):
14913 * gst/gststructure.h:
14914 * docs/gst/gstreamer-sections.txt:
14915 New API: gst_structure_has_name().
14917 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
14920 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
14921 and _LARGEFILE_SOURCE in config.h as required. Do not
14922 export those flags in our .pc files any longer (#142209).
14924 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
14926 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
14927 (gst_file_sink_do_seek), (gst_file_sink_event),
14928 (gst_file_sink_get_current_offset), (gst_file_sink_render):
14929 Redo seek/tell calls with large file support in mind; add some
14930 debugging messages; add log message that tells us when large
14931 file support is unavailable or not enabled for some reason.
14933 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
14934 Add log message that tells us when large file support
14935 is unavailable or not enabled for some reason.
14937 2005-07-29 Wim Taymans <wim@fluendo.com>
14939 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
14940 Added test for removing an element with ghostpad from a bin.
14941 Fixed test as current implementation does the right thing.
14943 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
14944 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
14945 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
14946 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
14947 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
14948 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
14949 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
14950 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14951 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
14952 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
14953 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
14954 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
14955 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
14956 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
14957 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
14958 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
14959 * gst/gstghostpad.h:
14960 Clean up ghostpads, remove properties for internal stuff.
14963 Prepare for switching targets, not all use cases work yet.
14965 2005-07-29 Wim Taymans <wim@fluendo.com>
14967 * docs/design/part-gstghostpad.txt:
14970 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
14971 (gst_bin_remove_func):
14972 Unlinking pads while holding the bin LOCK is not a good
14975 * gst/gstpad.c: (gst_pad_class_init),
14976 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
14977 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
14978 No prob setting template after creating the pad.
14980 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
14982 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
14983 (gst_bus_peek), (gst_bus_source_dispatch),
14984 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
14985 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
14986 gst_bus_poll may be called from other threads. Handle
14987 this nicely by not making poll_data disappear off the
14988 stack once gst_bus_poll returns.
14989 gst_bus_peek now increments the refcount on the returned
14992 2005-07-29 Wim Taymans <wim@fluendo.com>
14994 * docs/design/part-gstghostpad.txt:
14995 Overview of current GhostPad datastructures and use
14996 cases for changing the target.
14998 2005-07-28 Wim Taymans <wim@fluendo.com>
15000 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15001 Added checks for hierarchy consistency whan adding linked
15004 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15005 Added check to test element scheduling without bin/pipeline.
15007 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15008 First add elements to bin, then link.
15010 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15011 (gst_bin_remove_func):
15012 Unlink pads from elements added/removed from bin to maintain
15013 hierarchy consistency.
15015 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15017 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15018 (gst_base_transform_handle_buffer):
15019 * gst/base/gstbasetransform.h:
15020 Remove broken delay_configure (fixes renegotiation of software
15021 scaling pipelines); remove some leftover printf()s.
15023 2005-07-28 Wim Taymans <wim@fluendo.com>
15025 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15026 Added some more tests for wrong hierarchy
15028 * docs/design/part-overview.txt:
15031 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15034 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15035 (gst_element_dispose):
15036 Some more cleanups.
15038 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15039 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15040 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15041 (gst_pad_set_caps), (gst_pad_send_event):
15042 Check for correct hierarchy when linking pads. Moving to
15043 strict requirement for ghostpads when linking elements in
15047 Clean ups. Added WRONG_HIERARCHY return value.
15049 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15051 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15052 Better debug if no transform is possible.
15054 2005-07-27 Wim Taymans <wim@fluendo.com>
15056 * docs/random/wtay/network-transp:
15057 Some old doc I had.
15059 2005-07-27 Wim Taymans <wim@fluendo.com>
15061 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15062 (gst_dp_event_from_packet):
15063 Fix serialization of seek events.
15065 2005-07-27 Wim Taymans <wim@fluendo.com>
15067 * check/gst-libs/gdp.c: (GST_START_TEST):
15068 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15069 Fix compilation and fix event serialization.
15071 2005-07-27 Wim Taymans <wim@fluendo.com>
15074 * docs/design/part-TODO.txt:
15075 * docs/design/part-events.txt:
15078 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15079 (gst_base_sink_event), (gst_base_sink_do_sync),
15080 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15081 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15082 (gst_base_src_do_seek), (gst_base_src_event_handler),
15083 (gst_base_src_loop):
15084 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15085 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15086 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15087 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15088 (gst_base_transform_set_passthrough),
15089 (gst_base_transform_is_passthrough):
15090 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15091 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15097 * gst/gstelement.c: (gst_element_seek):
15098 * gst/gstelement.h:
15099 Update gst_element_seek.
15101 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15102 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15103 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15104 (gst_event_new_eos), (gst_event_new_newsegment),
15105 (gst_event_parse_newsegment), (gst_event_new_tag),
15106 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15107 (gst_event_parse_qos), (gst_event_new_seek),
15108 (gst_event_parse_seek), (gst_event_new_navigation):
15110 Make GstEvent use GstStructure. Add parsing code, make sure the
15111 API is sufficiently generic.
15112 Mark possible directions of events and serialization.
15114 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15115 (_gst_message_copy), (gst_message_new_segment_start),
15116 (gst_message_new_segment_done), (gst_message_new_custom),
15117 (gst_message_parse_segment_start),
15118 (gst_message_parse_segment_done):
15121 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15122 (gst_pad_set_caps), (gst_pad_send_event):
15123 Update for new events.
15124 Catch events sent in wrong directions.
15126 * gst/gstqueue.c: (gst_queue_link_src),
15127 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15128 (gst_queue_handle_src_query):
15133 Remove event code from this file.
15135 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15136 (gst_dp_event_from_packet):
15139 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15141 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15142 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15143 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15144 Make debugging actually useful.
15146 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15148 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15149 (gst_pad_fixate_caps):
15150 Implement default fixation once again, so that gst_pad_fixate()
15151 actually does anything at all. This probably needs to be some
15152 sort of a last resort, and use profile-based fixation first, but
15153 since that doesn't exist yet, this is the best we have. Fixes
15154 visualization in Totem.
15156 2005-07-22 Wim Taymans <wim@fluendo.com>
15158 * docs/design/part-events.txt:
15161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15162 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15163 (gst_base_sink_activate_pull):
15164 Some more comments.
15166 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15167 (gst_fake_src_create):
15168 Fix handoff marshall.
15170 * gst/elements/gstidentity.c: (gst_identity_class_init),
15171 (gst_identity_transform_ip):
15172 We're a real inplace element.
15174 * gst/gstbus.c: (gst_bus_post):
15175 Added some comments.
15177 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15178 * tests/muxing/case1.c: (main):
15179 * tests/sched/dynamic-pipeline.c: (main):
15180 * tests/sched/interrupt1.c: (main):
15181 * tests/sched/interrupt2.c: (main):
15182 * tests/sched/interrupt3.c: (main):
15183 * tests/sched/runxml.c: (main):
15184 * tests/sched/sched-stress.c: (main):
15185 * tests/seeking/seeking1.c: (event_received), (main):
15186 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15188 * tests/threadstate/threadstate3.c: (main):
15189 * tests/threadstate/threadstate4.c: (main):
15190 * tests/threadstate/threadstate5.c: (main):
15193 2005-07-21 Wim Taymans <wim@fluendo.com>
15195 * docs/design/part-seeking.txt:
15196 Some small additions.
15198 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15199 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15200 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15201 * gst/base/gstbasesink.h:
15202 discont values are gint64, handle the math correctly.
15204 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15205 Make the basesrc report error if the source pad is not linked.
15207 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15208 (gst_queue_loop), (gst_queue_handle_src_query),
15209 (gst_queue_src_activate_push):
15210 Make queue collect data even if the srcpad is not linked.
15211 Start pushing out data as soon as it is linked.
15213 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15215 Added gst_flow_get_name() to ease error reporting.
15217 2005-07-20 Wim Taymans <wim@fluendo.com>
15219 * gst/gstmessage.c: (gst_message_new_segment_start),
15220 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15221 (gst_message_parse_segment_done):
15222 * gst/gstmessage.h:
15223 Added a bunch of messages for advanced seeking.
15225 * gst/parse/grammar.y:
15226 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15227 (gst_dpman_state_changed):
15228 Fix some new-pad -> pad-added signals
15230 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15232 * docs/manual/appendix-porting.xml:
15233 * docs/pwg/appendix-porting.xml:
15234 Document new-pad/state-change signal renames and the FixedList
15237 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15239 * docs/manual/advanced-autoplugging.xml:
15240 * docs/manual/basics-helloworld.xml:
15241 * docs/manual/basics-pads.xml:
15242 * docs/random/ds/0.9-suggested-changes:
15243 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15244 * gst/gstelement.h:
15248 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15249 (gst_structure_parse_array), (gst_structure_parse_value):
15250 * gst/gstvalue.c: (gst_type_is_fixed),
15251 (gst_value_list_prepend_value), (gst_value_list_append_value),
15252 (gst_value_list_get_size), (gst_value_list_get_value),
15253 (gst_value_transform_array_string), (gst_value_serialize_array),
15254 (gst_value_deserialize_array), (gst_value_intersect_array),
15255 (gst_value_is_fixed), (_gst_value_initialize):
15257 GstElement::new-pad -> pad-added, GstElement::state-change ->
15258 state-changed, GstValueFixedList -> GstValueArray, add format and
15259 flags as their own arguments in gst_element_seek() (should improve
15260 "bindeability"), remove function generators since they don't work
15261 under a whole bunch of compilers (they were deprecated already
15264 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15266 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15267 (_gst_debug_register_funcptr):
15269 Fix illegal cast on some platforms (#309253).
15271 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15273 * gst/gstmessage.c: (gst_message_new_custom):
15274 * gst/gstmessage.h:
15275 Add _new_custom, make _new_application a macro to _new_custom.
15277 2005-07-20 Wim Taymans <wim@fluendo.com>
15279 * gst/base/gstbasesrc.c: (gst_base_src_init),
15280 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15281 * gst/base/gstbasesrc.h:
15282 Add a gboolean to decide when to push out a discont.
15284 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15285 (gst_queue_loop), (gst_queue_handle_src_query),
15286 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15287 (gst_queue_set_property), (gst_queue_get_property):
15290 * tests/threadstate/threadstate1.c: (main):
15291 Make a thread test compile and run... very silly..
15294 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15296 * docs/manual/appendix-porting.xml:
15297 Mention removal of libgstgconf-0.9.la and existence of gconf
15300 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15302 * docs/pwg/advanced-clock.xml:
15303 * docs/pwg/appendix-porting.xml:
15304 * docs/pwg/intro-preface.xml:
15305 * docs/pwg/other-base.xml:
15306 * docs/pwg/other-manager.xml:
15307 * docs/pwg/other-nton.xml:
15308 * docs/pwg/other-ntoone.xml:
15309 * docs/pwg/other-oneton.xml:
15310 * docs/pwg/pwg.xml:
15311 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15312 demuxer), remove n-to-n (was never written), fix some code examples
15313 and links and update the porting section to include all this.
15315 2005-07-19 Wim Taymans <wim@fluendo.com>
15317 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15318 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15319 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15320 (gst_queue_src_activate_push), (gst_queue_change_state),
15321 (gst_queue_get_property):
15323 Propagate GstFlowReturn more intelligently upstream and output
15324 an ERROR/EOS when streaming stopped due to fatal error.
15326 2005-07-19 Wim Taymans <wim@fluendo.com>
15328 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15329 Don't block forever for the state change to complete, the
15330 pipeline already did with a sensible timeout.
15332 2005-07-19 Wim Taymans <wim@fluendo.com>
15334 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15335 Make sure we never call the create function is we
15338 2005-07-19 Andy Wingo <wingo@pobox.com>
15340 * gst/parse/parse.l: Attempt to solve bug #172815.
15342 2005-07-19 Wim Taymans <wim@fluendo.com>
15344 * docs/design/part-clocks.txt:
15345 * docs/design/part-events.txt:
15346 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15347 Small docs updates.
15348 Only update the seeking values when we are not
15351 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15353 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15354 Oops, ignore the result of gst_pad_push_event here.
15356 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15358 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15359 (gst_base_src_activate_push):
15360 Send discont event from the loop function, as pads
15361 aren't activated yet in the activate_push handler.
15363 * gst/gstbin.c: (bin_bus_handler):
15364 Don't leak element name.
15366 2005-07-18 Andy Wingo <wingo@pobox.com>
15368 * configure.ac: Use AS_LIBTOOL_TAGS.
15370 2005-07-18 Wim Taymans <wim@fluendo.com>
15372 * docs/gst/gstreamer.types:
15373 Remove deleted types.
15375 2005-07-18 Wim Taymans <wim@fluendo.com>
15377 * check/elements/gstfakesrc.c: (GST_START_TEST):
15380 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15381 (init_popt_callback):
15383 * gst/gst_private.h:
15384 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15385 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15388 * gst/gstconfig.h.in:
15389 * gst/gstelement.c: (gst_element_class_init),
15390 (gst_element_set_base_time), (gst_element_get_base_time),
15391 (iterator_fold_with_resync), (gst_element_change_state),
15392 (gst_element_dispose), (gst_element_get_bus):
15393 * gst/gstelement.h:
15394 * gst/gstelementfactory.h:
15395 * gst/gsterror.c: (_gst_core_errors_init):
15398 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15400 * gst/gstinfo.c: (_gst_debug_init):
15401 * gst/gstmessage.c: (_gst_message_copy):
15402 * gst/gstmessage.h:
15403 * gst/gstminiobject.h:
15406 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15407 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15410 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15411 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15412 (gst_pipeline_get_last_stream_time):
15413 * gst/gstpipeline.h:
15414 * gst/gstpluginfeature.h:
15416 * gst/gstscheduler.c:
15417 * gst/gstscheduler.h:
15418 * gst/gststructure.h:
15419 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15420 (gst_task_finalize), (gst_task_func), (gst_task_create),
15421 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15422 (gst_task_stop), (gst_task_pause):
15424 * gst/gsttypefind.h:
15426 * gst/registries/gstlibxmlregistry.c: (load_feature),
15427 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15428 * gst/registries/gstxmlregistry.c:
15429 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15430 * gst/schedulers/threadscheduler.c:
15431 * libs/gst/control/dparammanager.h:
15432 * tools/gst-inspect.c: (print_element_list),
15433 (print_plugin_features), (print_element_features):
15434 * tools/gst-xmlinspect.c: (print_element_list),
15435 (print_plugin_info), (main):
15436 Removed plugable schedulers.
15437 Removed Scheduler/Manager from elements.
15438 Removed gsttypes.h, rearranged includes.
15439 Removed dependency pad<->element, element<>pipeline, and
15440 various others, fix includes.
15441 implement gst_pad_get_parent() with gst_object_get_parent()
15442 Make GstTask sefcontained.
15443 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15445 Fix endless loop in iterator_fold_with_resync.
15448 2005-07-18 Wim Taymans <wim@fluendo.com>
15454 2005-07-18 Wim Taymans <wim@fluendo.com>
15457 No more cothreads.h
15459 2005-07-18 Wim Taymans <wim@fluendo.com>
15463 Let's remove these.
15465 2005-07-18 Wim Taymans <wim@fluendo.com>
15467 * docs/design/part-dynamic.txt:
15468 * docs/design/part-events.txt:
15469 * docs/design/part-seeking.txt:
15470 Some more docs in the works.
15472 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15473 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15474 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15475 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15476 (gst_base_transform_handle_buffer),
15477 (gst_base_transform_sink_activate_push),
15478 (gst_base_transform_src_activate_pull),
15479 (gst_base_transform_set_passthrough),
15480 (gst_base_transform_is_passthrough):
15483 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15486 * gst/gstevent.c: (gst_event_finalize):
15489 * gst/gstutils.c: (gst_element_unlink),
15490 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15491 (gst_pad_proxy_setcaps):
15493 Add _get_parent_element() to get a pads parent as an element.
15495 2005-07-18 Wim Taymans <wim@fluendo.com>
15497 * check/gst/gstbin.c: (GST_START_TEST):
15500 2005-07-18 Wim Taymans <wim@fluendo.com>
15502 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15503 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15504 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15505 (gst_base_sink_event), (gst_base_sink_do_sync),
15506 (gst_base_sink_chain), (gst_base_sink_loop),
15507 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15508 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15510 Fix logic for returning ASYNC when not prerolled.
15512 2005-07-18 Wim Taymans <wim@fluendo.com>
15514 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15515 Fix nasty refcount bug.
15517 2005-07-16 Philippe Khalaf <burger@speedy.org>
15519 * gst/elements/gstfdsrc.c:
15520 * gst/elements/gstfdsrc.h:
15521 * gst/elements/gstelements.c:
15522 * gst/elements/Makefile.am:
15523 Ported fdsrc to 0.9.
15525 2005-07-16 Wim Taymans <wim@fluendo.com>
15527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15528 (gst_base_sink_do_sync):
15531 2005-07-16 Wim Taymans <wim@fluendo.com>
15533 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15534 (gst_base_sink_event), (gst_base_sink_get_times),
15535 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15536 * gst/base/gstbasesink.h:
15537 Store and use discont values when syncing buffers as described
15540 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15541 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15542 (gst_base_src_activate_push):
15543 Push discont event when starting.
15545 * gst/elements/gstidentity.c: (gst_identity_transform):
15548 * gst/gstbin.c: (gst_bin_change_state):
15549 Small cleanups in base_time distribution.
15551 * gst/gstelement.c: (gst_element_set_base_time),
15552 (gst_element_get_base_time), (gst_element_change_state):
15553 * gst/gstelement.h:
15554 Added methods for the base_time of the element.
15557 * gst/gstpipeline.c: (gst_pipeline_send_event),
15558 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15559 (gst_pipeline_get_last_stream_time):
15560 * gst/gstpipeline.h:
15562 Handle seeking as described in design doc, remove stream_time
15564 Cleanups clock and stream_time selection code. Added accessors
15565 for the stream_time.
15568 2005-07-16 Andy Wingo <wingo@pobox.com>
15570 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15573 2005-07-16 Wim Taymans <wim@fluendo.com>
15575 * check/gst/gstbin.c: (GST_START_TEST):
15576 Make elements silent as the deep_notify refs the
15577 parent, which might make the test fail.
15579 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15580 Don't hold the lock for too long.
15582 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15584 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15585 Don't unref the caps we passed to gst_caps_make_writable() after
15586 passing them. gst_caps_make_writable() will do that for us.
15588 2005-07-15 Andy Wingo <wingo@pobox.com>
15590 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15593 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15594 own marshalling function for the handoff signal. Properly type the
15595 buffer as a buffer. Fixes some warnings. Should do a more general
15597 (gst_identity_class_init): Plug into the right marshaller.
15599 2005-07-15 Wim Taymans <wim@fluendo.com>
15601 * docs/design/part-TODO.txt:
15602 * docs/design/part-clocks.txt:
15603 * docs/design/part-element-sink.txt:
15604 * docs/design/part-events.txt:
15605 * docs/design/part-gstpipeline.txt:
15606 Updated docs, mostly DISCONT related.
15608 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15610 * docs/pwg/building-pads.xml:
15611 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15613 2005-07-15 Andy Wingo <wingo@pobox.com>
15615 * tools/gst-typefind.c: Update, add copyright block.
15617 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15618 Normalize and truncate caps before fixation.
15621 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15622 discards all but the first structure from its argument.
15624 2005-07-15 Wim Taymans <wim@fluendo.com>
15626 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15627 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15628 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15629 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15630 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15631 (gst_base_transform_chain), (gst_base_transform_change_state),
15632 (gst_base_transform_set_passthrough),
15633 (gst_base_transform_is_passthrough):
15634 * gst/base/gstbasetransform.h:
15635 Make passthrough work using the bufferpools.
15636 Changed API a bit, subclasses have to write into a buffer
15637 provided by the base class.
15638 More debug info in nego functions.
15640 * gst/elements/gstidentity.c: (gst_identity_init),
15641 (gst_identity_transform):
15642 Port to new base class.
15644 2005-07-15 Wim Taymans <wim@fluendo.com>
15646 * gst/gstmessage.c: (gst_message_new_state_changed):
15647 * tools/gst-launch.c: (event_loop), (main):
15648 Totally dump messages in -launch with the -m option.
15649 Fix message name for State messages,
15651 2005-07-14 Wim Taymans <wim@fluendo.com>
15653 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15654 Post error messages on errors.
15656 2005-07-14 Wim Taymans <wim@fluendo.com>
15658 * gst/gstcaps.c: (gst_caps_do_simplify):
15662 Define error for stream stopped.
15664 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15665 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15666 Do proper return values.
15668 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15669 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15670 (gst_pad_get_range):
15671 Better return values.
15674 Reorganise return values, add macro to check for fatal errors.
15676 * gst/gstqueue.c: (gst_queue_chain):
15677 Return proper GstFlowReturn values,
15679 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
15681 * docs/gst/gstreamer-sections.txt:
15682 * docs/gst/gstreamer.types:
15683 * docs/gst/tmpl/gst.sgml:
15684 * docs/gst/tmpl/gstbasesink.sgml:
15685 * docs/gst/tmpl/gstbasesrc.sgml:
15686 * docs/gst/tmpl/gstbasetransform.sgml:
15687 * docs/gst/tmpl/gstbin.sgml:
15688 * docs/gst/tmpl/gstbuffer.sgml:
15689 * docs/gst/tmpl/gstcaps.sgml:
15690 * docs/gst/tmpl/gstclock.sgml:
15691 * docs/gst/tmpl/gstcompat.sgml:
15692 * docs/gst/tmpl/gstconfig.sgml:
15693 * docs/gst/tmpl/gstelement.sgml:
15694 * docs/gst/tmpl/gstelementdetails.sgml:
15695 * docs/gst/tmpl/gstelementfactory.sgml:
15696 * docs/gst/tmpl/gstenumtypes.sgml:
15697 * docs/gst/tmpl/gsterror.sgml:
15698 * docs/gst/tmpl/gstevent.sgml:
15699 * docs/gst/tmpl/gstfakesink.sgml:
15700 * docs/gst/tmpl/gstfakesrc.sgml:
15701 * docs/gst/tmpl/gstfilesink.sgml:
15702 * docs/gst/tmpl/gstfilesrc.sgml:
15703 * docs/gst/tmpl/gstfilter.sgml:
15704 * docs/gst/tmpl/gstformat.sgml:
15705 * docs/gst/tmpl/gstghostpad.sgml:
15706 * docs/gst/tmpl/gstimplementsinterface.sgml:
15707 * docs/gst/tmpl/gstindex.sgml:
15708 * docs/gst/tmpl/gstindexfactory.sgml:
15709 * docs/gst/tmpl/gstinfo.sgml:
15710 * docs/gst/tmpl/gstiterator.sgml:
15711 * docs/gst/tmpl/gstmacros.sgml:
15712 * docs/gst/tmpl/gstmemchunk.sgml:
15713 * docs/gst/tmpl/gstminiobject.sgml:
15714 * docs/gst/tmpl/gstobject.sgml:
15715 * docs/gst/tmpl/gstpad.sgml:
15716 * docs/gst/tmpl/gstpadtemplate.sgml:
15717 * docs/gst/tmpl/gstparse.sgml:
15718 * docs/gst/tmpl/gstpipeline.sgml:
15719 * docs/gst/tmpl/gstplugin.sgml:
15720 * docs/gst/tmpl/gstpluginfeature.sgml:
15721 * docs/gst/tmpl/gstquery.sgml:
15722 * docs/gst/tmpl/gstqueue.sgml:
15723 * docs/gst/tmpl/gstregistry.sgml:
15724 * docs/gst/tmpl/gstregistrypool.sgml:
15725 * docs/gst/tmpl/gstscheduler.sgml:
15726 * docs/gst/tmpl/gstschedulerfactory.sgml:
15727 * docs/gst/tmpl/gststructure.sgml:
15728 * docs/gst/tmpl/gstsystemclock.sgml:
15729 * docs/gst/tmpl/gsttaglist.sgml:
15730 * docs/gst/tmpl/gsttagsetter.sgml:
15731 * docs/gst/tmpl/gsttrace.sgml:
15732 * docs/gst/tmpl/gsttrashstack.sgml:
15733 * docs/gst/tmpl/gsttypefind.sgml:
15734 * docs/gst/tmpl/gsttypefindfactory.sgml:
15735 * docs/gst/tmpl/gsttypes.sgml:
15736 * docs/gst/tmpl/gsturihandler.sgml:
15737 * docs/gst/tmpl/gsturitype.sgml:
15738 * docs/gst/tmpl/gstutils.sgml:
15739 * docs/gst/tmpl/gstvalue.sgml:
15740 * docs/gst/tmpl/gstversion.sgml:
15741 * docs/gst/tmpl/gstxml.sgml:
15742 * docs/libs/tmpl/gstcontrol.sgml:
15743 * docs/libs/tmpl/gstdataprotocol.sgml:
15744 * docs/libs/tmpl/gstdparam.sgml:
15745 * docs/libs/tmpl/gstdplinint.sgml:
15746 * docs/libs/tmpl/gstdpman.sgml:
15747 * docs/libs/tmpl/gstdpsmooth.sgml:
15748 * docs/libs/tmpl/gstgetbits.sgml:
15749 * docs/libs/tmpl/gstunitconvert.sgml:
15750 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15751 (gst_push_src_base_init), (gst_push_src_class_init),
15752 (gst_push_src_init), (gst_push_src_create):
15753 * gst/base/gstpushsrc.h:
15754 * gst/elements/gstelements.c:
15755 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15756 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15757 (gst_fake_sink_init), (gst_fake_sink_set_property),
15758 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15759 (gst_fake_sink_event), (gst_fake_sink_preroll),
15760 (gst_fake_sink_render), (gst_fake_sink_change_state):
15761 * gst/elements/gstfakesink.h:
15762 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15763 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15764 (gst_fake_src_base_init), (gst_fake_src_class_init),
15765 (gst_fake_src_init), (gst_fake_src_event_handler),
15766 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15767 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15768 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15769 (gst_fake_src_create_buffer), (gst_fake_src_create),
15770 (gst_fake_src_start), (gst_fake_src_stop):
15771 * gst/elements/gstfakesrc.h:
15772 * gst/elements/gstfilesink.c: (_do_init),
15773 (gst_file_sink_base_init), (gst_file_sink_class_init),
15774 (gst_file_sink_init), (gst_file_sink_dispose),
15775 (gst_file_sink_set_location), (gst_file_sink_set_property),
15776 (gst_file_sink_get_property), (gst_file_sink_open_file),
15777 (gst_file_sink_close_file), (gst_file_sink_query),
15778 (gst_file_sink_event), (gst_file_sink_render),
15779 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15780 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15781 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15782 * gst/elements/gstfilesink.h:
15783 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15784 (gst_file_src_class_init), (gst_file_src_init),
15785 (gst_file_src_finalize), (gst_file_src_set_location),
15786 (gst_file_src_set_property), (gst_file_src_get_property),
15787 (gst_file_src_map_region), (gst_file_src_map_small_region),
15788 (gst_file_src_create_mmap), (gst_file_src_create_read),
15789 (gst_file_src_create), (gst_file_src_is_seekable),
15790 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15791 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15792 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15793 (gst_file_src_uri_handler_init):
15794 * gst/elements/gstfilesrc.h:
15795 more autistic cleanliness in functions/names/defines
15797 2005-07-13 Andy Wingo <wingo@pobox.com>
15799 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15800 source couldn't negotiate.
15802 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15806 * gst/gstutils.c (gst_element_link_pads_filtered): New old
15807 function. I am channeling Hades. Put your boots on suckers!!!
15809 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
15811 * testsuite/caps/Makefile.am:
15812 * testsuite/caps/value_compare.c:
15813 * testsuite/caps/value_intersect.c:
15814 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15815 move two testsuite apps over to the check dir
15817 2005-07-12 Wim Taymans <wim@fluendo.com>
15819 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15820 Added more debug info in the negotiate process.
15822 * gst/gstmessage.h:
15823 Prepare for segment playback.
15825 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15831 * tools/gst-launch.c: (main):
15832 NULL pipeline on errors.
15834 2005-07-12 Andy Wingo <wingo@pobox.com>
15836 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15837 not it comes from a malloc region. Make sure our copy gets freed.
15839 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15841 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15842 * check/gst/gstmessage.c: (GST_START_TEST):
15843 * check/gst/gststructure.c: (GST_START_TEST),
15844 (gst_structure_suite), (main):
15846 * gst/gstelement.c: (gst_element_message_full):
15847 clean up GError and debug string now that they get copied
15848 * gst/gstmessage.c: (gst_message_new_error),
15849 (gst_message_new_warning), (gst_message_parse_error),
15850 (gst_message_parse_warning):
15851 use GST_TYPE_G_ERROR for structure_new, and take copies of
15852 arguments, so that we don't mess up refcounting
15854 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15856 * check/Makefile.am:
15857 add per-test valgrind targets
15858 * check/gst-libs/gdp.c: (GST_START_TEST),
15859 (gst_data_protocol_suite), (main):
15862 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15864 * check/Makefile.am:
15865 instate more valgrindable tests
15866 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15867 (GST_START_TEST), (fakesrc_suite):
15868 * check/gst/gstpad.c: (GST_START_TEST):
15869 * check/gst/gststructure.c: (GST_START_TEST):
15871 * docs/gst/tmpl/gstminiobject.sgml:
15872 * gst/gstpad.c: (gst_pad_finalize):
15873 fix the static mutex leak
15875 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15877 * check/Makefile.am:
15878 add two more tests for valgrinding
15879 * check/gst/gstvalue.c: (GST_START_TEST):
15880 test refcount of deserialized buffer, found a leak
15881 * docs/gst/gstreamer-docs.sgml:
15882 * docs/gst/gstreamer-sections.txt:
15883 * docs/gst/gstreamer.types:
15884 * docs/gst/tmpl/gstminiobject.sgml:
15885 add miniobject to docs
15886 * gst/gstminiobject.c:
15888 * gst/gstvalue.c: (gst_value_deserialize_buffer),
15889 (gst_string_unwrap):
15890 fix a hard-to-find invalid write for one of the tests
15891 fix a leak for deserialized buffers
15893 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15895 * docs/pwg/advanced-events.xml:
15896 * docs/pwg/advanced-request.xml:
15897 * docs/pwg/advanced-scheduling.xml:
15898 * docs/pwg/appendix-porting.xml:
15899 * docs/pwg/building-boiler.xml:
15900 * docs/pwg/intro-preface.xml:
15901 * docs/pwg/other-ntoone.xml:
15902 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15903 of example code and explanation for pad activation, loop() and
15904 getrange() functions and a bit more. Remove old comments pointing
15906 * examples/pwg/Makefile.am:
15907 Add loop/getrange examples.
15909 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15912 check for valgrind binary + some fixes
15914 valgrind suppressions for the tests
15915 * check/Makefile.am:
15916 add a valgrind: target that valgrinds the unit tests
15917 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
15918 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
15919 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15920 * check/gst/gstghostpad.c:
15922 * check/gst/gstdata.c:
15924 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
15925 (thread_unref), (gst_mini_object_suite), (main):
15927 * gst/gst.c: (gst_deinit):
15929 add a method to clean up.
15930 * gst/gstsystemclock.c: (gst_system_clock_dispose),
15931 (gst_system_clock_obtain):
15932 allow for disposing the system clock.
15933 * tools/gst-launch.c: (main):
15936 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15938 * docs/gst/tmpl/gstbasesrc.sgml:
15939 * docs/gst/tmpl/gstfakesrc.sgml:
15940 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15941 (gst_base_src_init), (gst_base_src_set_property),
15942 (gst_base_src_get_property), (gst_base_src_get_range),
15943 (gst_base_src_start):
15944 * gst/base/gstbasesrc.h:
15945 add num-buffers property
15946 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15947 (gst_fakesrc_init), (gst_fakesrc_set_property),
15948 (gst_fakesrc_get_property), (gst_fakesrc_create),
15949 (gst_fakesrc_start):
15950 remove num-buffers property
15952 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15954 * docs/gst/gstreamer-sections.txt:
15955 * docs/gst/tmpl/gstbasesink.sgml:
15956 * docs/gst/tmpl/gstbasesrc.sgml:
15957 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15958 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15959 (gst_base_sink_finalize), (gst_base_sink_set_clock),
15960 (gst_base_sink_set_property), (gst_base_sink_get_property),
15961 (gst_base_sink_handle_object), (gst_base_sink_event),
15962 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15963 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
15964 (gst_base_sink_loop), (gst_base_sink_deactivate),
15965 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
15966 (gst_base_sink_change_state):
15967 * gst/base/gstbasesink.h:
15968 * gst/base/gstbasesrc.h:
15969 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
15970 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
15971 (gst_filesink_init):
15972 more macro splitting
15974 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15976 * gst/gstelement.c: (gst_element_get_bus):
15978 * tools/gst-launch.c: (check_intr), (event_loop):
15981 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15983 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15986 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
15988 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
15989 (gst_base_src_finalize):
15990 add finalize method and clean up properly
15991 * gst/gstpipeline.c: (gst_pipeline_dispose):
15994 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
15996 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
15998 add more things to check
15999 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16000 * gst/gstelement.c:
16003 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16005 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16006 (GST_START_TEST), (fakesrc_suite):
16007 * check/gst-libs/gdp.c: (GST_START_TEST):
16008 * check/gst/gst.c: (GST_START_TEST):
16009 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16010 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16011 * check/gst/gstbus.c: (GST_START_TEST):
16012 * check/gst/gstcaps.c: (GST_START_TEST):
16013 * check/gst/gstdata.c: (GST_START_TEST):
16014 * check/gst/gstelement.c: (GST_START_TEST):
16015 * check/gst/gstghostpad.c: (GST_START_TEST):
16016 * check/gst/gstiterator.c: (GST_START_TEST):
16017 * check/gst/gstmessage.c: (GST_START_TEST):
16018 * check/gst/gstobject.c: (GST_START_TEST):
16019 * check/gst/gstpad.c: (GST_START_TEST):
16020 * check/gst/gststructure.c: (GST_START_TEST):
16021 * check/gst/gstsystemclock.c: (GST_START_TEST),
16022 (gst_systemclock_suite):
16023 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16024 * check/gst/gstvalue.c: (GST_START_TEST):
16025 * check/pipelines/cleanup.c: (GST_START_TEST):
16026 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16027 * check/states/sinks.c: (GST_START_TEST):
16028 * check/gstcheck.c: (gst_check_init):
16029 * check/gstcheck.h:
16030 add debugging category
16031 use GST_START_TEST now, so we add a debug line
16033 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16035 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16036 add test for state change message on a bin
16037 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16039 * gst/gstbin.c: (gst_bin_init):
16040 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16041 * gst/gstelement.c: (gst_element_post_message),
16042 (gst_element_set_state):
16043 * gst/gstelementfactory.c: (gst_element_factory_create):
16044 * gst/gstmessage.c: (gst_message_new):
16045 * gst/gstscheduler.c:
16046 various debugging additions and cleanups
16048 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16050 * check/Makefile.am:
16051 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16053 adding tests for elements
16054 * gst/gstelement.c: (gst_element_dispose):
16056 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16058 * gst/registries/gstlibxmlregistry.c: (load_feature):
16059 plug more leaks. A simple gst_init() now is leakfree, yay.
16061 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16063 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16064 (gst_xml_registry_load):
16065 plug another memleak
16067 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16070 use GST_SET_ERROR_CFLAGS
16071 * docs/faq/cvs.xml:
16072 change to ERROR_CFLAGS
16074 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16077 make GST_ERROR_CFLAGS overridable and re-enable Werror
16078 * docs/faq/cvs.xml:
16079 add a note about error CFLAGS
16080 * docs/gst/tmpl/gstfakesrc.sgml:
16081 * gst/elements/gstfakesrc.c:
16082 comment out some unused code
16083 * gst/gst.c: (split_and_iterate):
16084 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16088 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16090 * common/Makefile.am:
16091 * common/gtk-doc.mak:
16092 * docs/gst/Makefile.am:
16093 factor out gtk-doc.mak
16095 2005-07-07 Wim Taymans <wim@fluendo.com>
16097 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16098 (gst_thread_scheduler_dispose):
16099 Unlock the STREAM_LOCK completely.
16101 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16103 * check/Makefile.am:
16104 * check/elements/.cvsignore:
16105 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16106 (START_TEST), (fakesrc_suite), (main):
16107 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16108 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16109 (gst_fakesrc_create), (gst_fakesrc_start):
16110 * gst/elements/gstfakesrc.h:
16111 adding a first element test
16113 2005-07-07 Andy Wingo <wingo@pobox.com>
16115 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16118 2005-07-07 Wim Taymans <wim@fluendo.com>
16124 2005-07-07 Wim Taymans <wim@fluendo.com>
16126 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16127 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16128 Allow subclasses to implement their own negotiation.
16130 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16132 * docs/design/part-gstbin.txt:
16133 * docs/design/part-gstpipeline.txt:
16134 Update design notes to reflect the movement of
16135 responsibility for bus handling from GstPipeline to
16138 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16141 Remove unnecessary queue2/3/4 examples.
16143 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16145 * examples/Makefile.am:
16146 * examples/helloworld/helloworld.c: (event_loop), (main):
16147 * examples/queue/queue.c: (event_loop), (main):
16148 * examples/queue2/queue2.c: (main):
16149 Update a couple of the examples to work again.
16151 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16152 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16153 Spelling corrections and extra debug.
16155 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16156 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16157 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16159 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16160 (gst_pipeline_change_state):
16161 * gst/gstpipeline.h:
16162 Move the bus handler for children to the GstBin, and create a
16163 separate bus for receiving messages from children to the one the
16164 bus sends 'upwards' on.
16166 2005-07-06 Wim Taymans <wim@fluendo.com>
16169 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16170 (gst_base_sink_handle_object), (gst_base_sink_loop),
16171 (gst_base_sink_change_state):
16172 * gst/base/gstbasesink.h:
16173 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16174 (gst_base_src_init), (gst_base_src_setcaps),
16175 (gst_base_src_getcaps), (gst_base_src_loop),
16176 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16177 (gst_base_src_start), (gst_base_src_change_state):
16178 * gst/base/gstbasesrc.h:
16179 Make basesrc negotiate.
16180 Handle the case where preroll fails in basesink.
16183 2005-07-06 Wim Taymans <wim@fluendo.com>
16185 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16186 Implement the fixate function.
16187 Clean up acceptcaps.
16189 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16191 * docs/pwg/building-filterfactory.xml:
16192 * docs/pwg/pwg.xml:
16193 Remove never-written filter-factory chapter; I'll add the various
16194 base classes to part 4 ("other element types") later on.
16196 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16198 * docs/pwg/advanced-negotiation.xml:
16199 * docs/pwg/building-boiler.xml:
16200 * docs/pwg/building-pads.xml:
16201 * docs/pwg/pwg.xml:
16202 * examples/pwg/Makefile.am:
16203 Add a chapter on caps negotiation, simplify the original code
16204 samples a bit w.r.t. caps negotiation, add link to the advanced
16205 section. Add a bunch of examples showing different use cases of
16206 different types of caps negotiation. Upstream renegotiation isn't
16207 fully documented yet since nobody knows how that works.
16209 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16211 * check/gst/gstpad.c:
16212 * check/gstcheck.c:
16213 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16214 if pad has no parent, return NULL as list of internal links
16216 2005-07-05 Andy Wingo <wingo@pobox.com>
16218 * gst/elements/gstfilesrc.c:
16219 * gst/elements/gstfakesrc.c:
16220 * gst/base/gstpushsrc.c:
16221 * gst/base/gstbasesrc.h:
16222 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16224 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16227 better report generation target (lcov needs a patch)
16229 2005-07-05 Andy Wingo <wingo@pobox.com>
16231 * gst/elements, testsuite: Null if we got it...
16233 2005-07-05 Wim Taymans <wim@fluendo.com>
16236 * libs/gst/dataprotocol/Makefile.am:
16237 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16238 * libs/gst/dataprotocol/dataprotocol.h:
16239 * pkgconfig/Makefile.am:
16240 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16241 * pkgconfig/gstreamer-dataprotocol.pc.in:
16242 Ported dataprotol to 0.9.
16243 Added pkgconfig files.
16245 2005-07-05 Andy Wingo <wingo@pobox.com>
16247 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16248 Default to returning TRUE for the case when tranform_caps returns
16249 a fixed caps, like for identity or volume.
16251 * check/gst/gstbus.c (pound_bus_with_messages):
16252 * check/gst/gstmessage.c (START_TEST):
16253 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16254 message API change.
16256 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16257 logic weaks here: always run transform_caps, trying passthrough
16258 operation only if the original caps intersects with the transform.
16260 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16261 source and sink caps.
16263 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16264 Intersect the peer caps with the pad template before going into
16266 (gst_base_transform_transform_caps): More debugging.
16268 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16271 2005-07-04 Edward Hervey <edward@fluendo.com>
16275 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16278 2005-07-04 Andy Wingo <wingo@pobox.com>
16280 * check/gst/gstpad.c: Only set explicit caps on pads.
16282 2005-07-01 Andy Wingo <wingo@pobox.com>
16284 * tests/network-clock.scm: Commentary update.
16286 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16287 Didn't really make sense, not implementable with basetransform,
16289 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16290 attempt at implementing the sync property, needs an unlock method.
16292 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16293 New func, by default returns the same caps (the identity
16295 (gst_base_transform_getcaps): Uses transform_caps to return
16296 something sensible.
16297 (gst_base_transform_setcaps): Complicated logic to get caps on
16298 both pads, even if they are different, and to call set_caps once
16299 for every time both pads get their caps set.
16300 (gst_base_transform_handle_buffer): Give the ref to the transform
16301 function. Allows in-place modification of the buffer.
16303 * gst/base/gstbasetransform.h (transform_caps): New class method.
16304 Given caps on one side, what can I do on the other.
16305 (set_caps): Take two caps, one for each side of the element.
16308 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16309 caps in place. This is safe because we can check the mutability of
16310 the caps, and a good idea because fixate functions are just called
16311 as a matter of last resort. (Not actually implemented.)
16312 (gst_pad_set_caps): If the caps we're setting is actually the same
16313 as the existing pad caps, just update the pointer without calling
16314 setcaps. Assert that caps is either NULL or fixed, as per the
16317 * gst/gstghostpad.c: Update for fixate changes.
16319 2005-07-02 Andy Wingo <wingo@pobox.com>
16322 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16323 two refcounts makes it immutable, which is enough. Doc more.
16325 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16327 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16328 Put the mini_object into GValue as a mini_object,
16329 not a gpointer, since that's how we declared
16332 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16334 * examples/pwg/Makefile.am:
16335 Fix buildbot again.
16337 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16339 * docs/pwg/building-testapp.xml:
16341 * examples/pwg/Makefile.am:
16344 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16347 * examples/Makefile.am:
16348 * examples/pwg/Makefile.am:
16349 * examples/pwg/extract.pl:
16350 Enable building the PWG examples.
16351 * docs/pwg/advanced-interfaces.xml:
16352 Add URI interface stub.
16353 * docs/pwg/advanced-types.xml:
16354 * docs/pwg/other-autoplugger.xml:
16355 * docs/pwg/appendix-porting.xml:
16356 * docs/pwg/pwg.xml:
16357 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16358 * docs/pwg/building-boiler.xml:
16359 * docs/pwg/building-chainfn.xml:
16360 * docs/pwg/building-pads.xml:
16361 * docs/pwg/building-props.xml:
16362 * docs/pwg/building-state.xml:
16363 * docs/pwg/building-testapp.xml:
16364 Update the building-*.xml parts for 0.9 changes. All examples
16365 code blocks compile in examples/pwg/*.
16367 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16369 * docs/manual/advanced-autoplugging.xml:
16370 * docs/manual/appendix-checklist.xml:
16371 * docs/manual/appendix-integration.xml:
16372 * docs/manual/highlevel-components.xml:
16373 Fix playbin/decodebin examples, update docs a bit, mention bus
16374 instead of signals in various places, mention kmplayer and
16375 kaffeine since they have a working GStreamer backend in the KDE
16378 2005-06-30 Wim Taymans <wim@fluendo.com>
16381 * docs/design/draft-ghostpads.txt:
16382 * docs/design/draft-push-pull.txt:
16383 * docs/design/draft-query.txt:
16384 * docs/design/part-TODO.txt:
16385 * docs/design/part-query.txt:
16386 Added CHANGES-0.9 doc, updated status of other docs.
16391 2005-06-30 Wim Taymans <wim@fluendo.com>
16393 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16394 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16395 (gst_base_sink_change_state):
16396 * gst/base/gstbasesink.h:
16397 Some tweaks, only EOS and a buffer complete a preroll.
16399 2005-06-30 Andy Wingo <wingo@pobox.com>
16401 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16402 activate_push down to the internal pad as well.
16404 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16406 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16408 * gst/gsttaginterface.c:
16409 Some documentation fixes (#307394 and #307397).
16411 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16413 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16415 * gst/gstvalue.c: (gst_value_intersect_list):
16416 Fix memleak (#309125).
16418 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16420 * docs/manual/advanced-dataaccess.xml:
16421 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16422 * docs/manual/basics-pads.xml:
16423 Add reference for filtered caps to above chapter.
16425 2005-06-30 Wim Taymans <wim@fluendo.com>
16427 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16428 (gst_bin_change_state):
16430 Lame attempt at making the state change function a bit
16433 2005-06-30 Wim Taymans <wim@fluendo.com>
16435 * docs/design/part-clocks.txt:
16436 * docs/design/part-element-sink.txt:
16437 * docs/design/part-events.txt:
16438 * docs/design/part-preroll.txt:
16439 * docs/design/part-states.txt:
16440 Some more tweeks and additions to the docs.
16442 2005-06-30 Wim Taymans <wim@fluendo.com>
16444 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16445 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16446 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16447 (gst_pad_check_pull_range), (gst_pad_get_range),
16448 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16450 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16451 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16452 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16453 (gst_pad_remove_buffer_probe):
16454 Removed atomic operations, use existing LOCK.
16455 Move exception handling out of main code path.
16457 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16459 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16460 (silly_return_true_function), (gst_pad_class_init),
16461 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16462 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16463 (gst_pad_send_event):
16464 Fix accumulator, add default value by using _emitv() instead
16465 of _emit() for signal emission.
16467 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16469 * docs/manual/advanced-dataaccess.xml:
16470 * examples/manual/Makefile.am:
16472 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16475 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16477 * gst/elements/gstfilesink.c: (gst_filesink_render):
16478 Simplify code so that we don't have to handle short
16479 writes and return GST_FLOW_ERROR if an error occured.
16481 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16483 * docs/gst/gstreamer-docs.sgml:
16484 Remove probes more.
16486 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16488 * docs/gst/gstreamer-sections.txt:
16489 * docs/gst/tmpl/gstpad.sgml:
16490 * docs/gst/tmpl/gstprobe.sgml:
16492 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16493 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16494 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16495 (gst_pad_push_event), (gst_pad_send_event):
16497 * gst/gstutils.c: (gst_pad_add_data_probe),
16498 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16499 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16500 (gst_pad_remove_buffer_probe):
16502 Remove old probes, add new g-signal-based probes and some utility
16505 2005-06-29 Edward Hervey <edward@fluendo.com>
16507 * gst/gstelementfactory.c:
16510 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16511 the definition to the header file.
16513 2005-06-29 Andy Wingo <wingo@pobox.com>
16515 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16516 plugins from the source directory.
16518 2005-06-29 Wim Taymans <wim@fluendo.com>
16520 * docs/gst/tmpl/gstbuffer.sgml:
16521 * docs/gst/tmpl/gstclock.sgml:
16522 Some fixings for blantently wrong text.
16524 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16526 * check/Makefile.am:
16527 * gst/gst.c: (add_path_func), (init_pre):
16528 * gst/gstregistry.c: (gst_registry_add_path):
16529 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16530 only scan the GST_PLUGIN_PATH locations, and not add
16533 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16535 * docs/gst/gstreamer-sections.txt:
16536 * docs/gst/tmpl/gstbasesrc.sgml:
16537 * gst/gstelement.c:
16538 * gst/gstelement.h:
16543 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16545 * docs/manual/advanced-autoplugging.xml:
16546 Fix autoplugging example.
16548 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16550 * docs/manual/advanced-autoplugging.xml:
16551 * docs/manual/mime-world.fig:
16552 Try to get autoplugging working, fix type detection. Fix text
16553 in hello-world image.
16555 2005-06-29 Wim Taymans <wim@fluendo.com>
16557 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16558 (gst_base_sink_change_state):
16562 map SIGNAL and BROADCAST to the right function.
16565 Remove redundant braces.
16567 * gst/gstpad.c: (gst_pad_set_caps):
16568 Don't call setcaps function when reseting caps to NULL.
16570 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16571 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16572 (gst_system_clock_id_unschedule):
16573 Use BROADCAST as this is what we do.
16575 2005-06-29 Wim Taymans <wim@fluendo.com>
16577 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16578 We are actually prerolling before commiting the state
16581 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16583 * docs/manual/advanced-clocks.xml:
16584 * docs/manual/advanced-interfaces.xml:
16585 * docs/manual/advanced-metadata.xml:
16586 * docs/manual/advanced-position.xml:
16587 * docs/manual/advanced-schedulers.xml:
16588 * docs/manual/advanced-threads.xml:
16589 * docs/manual/appendix-porting.xml:
16590 * docs/manual/basics-bins.xml:
16591 * docs/manual/basics-bus.xml:
16592 * docs/manual/basics-elements.xml:
16593 * docs/manual/basics-helloworld.xml:
16594 * docs/manual/basics-pads.xml:
16595 * docs/manual/highlevel-components.xml:
16596 * docs/manual/manual.xml:
16597 * docs/manual/thread.fig:
16598 Update (until threads/scheduling) Application Development Manual;
16599 remove GstThread, add GstBus, add simple porting checklist, add
16600 documentation for tag writing, clocks, make all examples until this
16601 part compile and run.
16602 * examples/manual/Makefile.am:
16603 Update from changes to Application Development Manual; add bus
16604 example, remove thread example.
16606 2005-06-28 Wim Taymans <wim@fluendo.com>
16608 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16609 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16610 (gst_bus_source_dispatch):
16611 Add debugging messages.
16612 Make internal methods static.
16613 Handle the case where the bus is flushed in the handler.
16615 * gst/gstelement.c: (gst_element_get_bus):
16616 Fix refcount in _get_bus();
16618 * gst/gstpipeline.c: (gst_pipeline_change_state),
16619 (gst_pipeline_get_clock_func):
16620 Clock refcounting fixes.
16621 Handle the case where preroll timed out more gracefully.
16623 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16624 Clean up the internal thread in dispose. This is needed
16625 for subclasses that actually get disposed.
16627 * gst/schedulers/threadscheduler.c:
16628 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16629 (gst_thread_scheduler_dispose):
16630 Free thread pool in dispose.
16632 2005-06-28 Andy Wingo <wingo@pobox.com>
16634 * tests/network-clock-utils.scm (debug, print-event): New utils.
16636 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16637 (*packet-loss*): Unified loss probability.
16638 (network-time): Report out-of-band events.
16640 * tests/plot-data: Add support for out-of-band events. Hack it
16641 into this script instead of passing it down the pipe; should fix
16644 2005-06-28 Wim Taymans <wim@fluendo.com>
16646 * docs/gst/gstreamer.types:
16647 * docs/gst/tmpl/gstbasesrc.sgml:
16648 * docs/gst/tmpl/gstpad.sgml:
16651 2005-06-28 Wim Taymans <wim@fluendo.com>
16653 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16654 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16655 (gst_proxy_pad_do_fixatecaps):
16656 Correctly proxy the check_pull_range function.
16658 2005-06-28 Andy Wingo <wingo@pobox.com>
16660 * tests/network-clock.scm: Removed need for slib.
16662 2005-06-28 Wim Taymans <wim@fluendo.com>
16664 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16665 (gst_basesink_preroll_queue_flush):
16666 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16667 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16668 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16669 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16670 (gst_proxy_pad_set_property):
16673 * gst/gstqueue.c: (gst_queue_init):
16674 The deprecated pad loop function is removed now.
16676 2005-06-28 Andy Wingo <wingo@pobox.com>
16678 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16679 New parameters, simulate network packet loss.
16681 * tests/network-clock-utils.scm: Initialize the RNG.
16683 2005-06-28 Wim Taymans <wim@fluendo.com>
16685 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16686 (gst_basesink_event), (gst_basesink_deactivate):
16687 Flushing the preroll queue always needs to unlock the waiters.
16689 2005-06-28 Edward Hervey <edward@fluendo.com>
16691 * gst/gstpipeline.c: (gst_pipeline_send_event):
16692 Wheen a seek was successful on a pipeline, set the stream_time to the
16693 seek offset in order to have a synchronized stream_time.
16695 2005-06-28 Wim Taymans <wim@fluendo.com>
16697 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16698 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16699 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16700 (gst_proxy_pad_do_fixatecaps):
16701 Call wrapper function instead of just calling the function
16702 pointers. This takes care of any locking and whatmore.
16704 2005-06-28 Wim Taymans <wim@fluendo.com>
16706 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16707 (gst_pad_pull_range):
16709 CONNECTED -> LINKED.
16711 2005-06-28 Andy Wingo <wingo@pobox.com>
16713 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16714 source-munging commit!!!
16716 * gst/gstobject.c (gst_object_unref, gst_object_ref)
16717 (gst_object_sink): Take gpointer arguments, not GstObject --
16718 avoids casts. Like GLib.
16720 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16723 2005-06-27 Andy Wingo <wingo@pobox.com>
16725 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16728 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16729 returns a sorted copy of the trace list.
16730 (gst_alloc_trace_print_live): New API, only prints traces with
16731 live objects. Sort the list.
16732 (gst_alloc_trace_print_all): Sort the list.
16733 (gst_alloc_trace_print): Align columns.
16735 * gst/elements/gstttypefindelement.c:
16736 * gst/elements/gsttee.c:
16737 * gst/base/gstbasesrc.c:
16738 * gst/base/gstbasesink.c:
16739 * gst/base/gstbasetransform.c:
16740 * gst/gstqueue.c: Adapt for pad activation changes.
16742 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16744 (gst_pipeline_dispose): Drop ref on sched.
16746 * gst/gstpad.c (gst_pad_init): Set the default activate func.
16747 (gst_pad_activate_default): Push mode by default.
16748 (pre_activate_switch, post_activate_switch): New stubs, things to
16749 do before and after switching activation modes on pads.
16750 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16751 the pad's activate function to choose which mode to activate.
16752 Shortcut on deactivation and call the right function directly.
16753 (gst_pad_activate_pull): New API, (de)activates a pad in pull
16755 (gst_pad_activate_push): New API, same for push mode.
16756 (gst_pad_set_activate_function)
16757 (gst_pad_set_activatepull_function)
16758 (gst_pad_set_activatepush_function): Setters for new API.
16760 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16761 Trace all miniobjects.
16762 (gst_mini_object_make_writable): Unref the arg if we copy, like
16763 gst_caps_make_writable.
16765 * gst/gstmessage.c (_gst_message_initialize): No trace init.
16767 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
16768 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16769 Adapt for new pad API.
16771 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16773 * gst/gstelement.h:
16774 * gst/gstelement.c (gst_element_iterate_src_pads)
16775 (gst_element_iterate_sink_pads): New API functions.
16777 * gst/gstelement.c (iterator_fold_with_resync): New utility,
16778 should fold into gstiterator.c in some form.
16779 (gst_element_pads_activate): Simplified via use of fold and
16780 delegation of decisions to gstpad->activate.
16782 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16785 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16786 class once in init, like gstmessage. Didn't run into this issue
16787 but it seems correct. Don't initialize a trace, gstminiobject does
16790 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16791 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16793 (assert_live_count): New util function, uses alloc traces to check
16796 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16797 To be modified when unlink drops the internal pad.
16799 2005-06-27 Wim Taymans <wim@fluendo.com>
16801 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16802 (gst_bin_change_state):
16803 Cleanup the get_state() function a little, make sure it
16804 iterates the same set of elements.
16805 Added stub iterate_state_order().
16807 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
16809 * docs/gst/gstreamer-docs.sgml:
16810 * docs/gst/gstreamer-sections.txt:
16811 * docs/gst/gstreamer.types:
16812 * docs/gst/tmpl/gstbasesink.sgml:
16813 * docs/gst/tmpl/gstbasesrc.sgml:
16814 * docs/gst/tmpl/gstbasetransform.sgml:
16815 * docs/gst/tmpl/gstelement.sgml:
16816 * docs/gst/tmpl/gstiterator.sgml:
16817 * gst/base/gstbasesrc.c:
16818 * gst/base/gstbasesrc.h:
16819 * gst/base/gstbasetransform.h:
16820 * gst/gstelement.c:
16821 * gst/gstiterator.h:
16822 adding basetransform and iterator docs
16824 2005-06-27 Andy Wingo <wingo@pobox.com>
16826 * docs/design/part-activation.txt: Notes on how activation should
16827 work -- not quite implemented yet.
16829 2005-06-25 Wim Taymans <wim@fluendo.com>
16831 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16832 At least get the chain function correct, needs more
16835 2005-06-25 Wim Taymans <wim@fluendo.com>
16837 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16838 (gst_basesink_handle_object), (gst_basesink_event),
16839 (gst_basesink_do_sync), (gst_basesink_handle_event),
16840 (gst_basesink_change_state):
16842 Right, two problems here: ghostpads don't take locks and
16843 glib _rec_mutex_lock_full() with depth==0 still locks.
16844 Catch illegal locking and g_warn them.
16846 2005-06-25 Wim Taymans <wim@fluendo.com>
16848 * check/states/sinks.c: (START_TEST), (gst_object_suite):
16849 Have to check for completion now...
16851 2005-06-25 Wim Taymans <wim@fluendo.com>
16853 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16854 (gst_basesink_handle_object), (gst_basesink_event),
16855 (gst_basesink_do_sync), (gst_basesink_handle_event),
16856 (gst_basesink_change_state):
16858 Unlock STREAM_LOCK whatever the recursion was.
16860 2005-06-25 Wim Taymans <wim@fluendo.com>
16862 * gst/base/gstbasesink.c: (gst_basesink_set_property),
16863 (gst_basesink_preroll_queue_empty),
16864 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16865 (gst_basesink_event), (gst_basesink_do_sync),
16866 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16867 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16868 (gst_basesink_change_state):
16869 Reworked the base sink, handle event and buffer serialisation
16870 correctly and removed possible deadlock.
16871 Handle EOS correctly.
16873 2005-06-25 Wim Taymans <wim@fluendo.com>
16875 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16876 (gst_pipeline_change_state):
16877 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16878 Allow elements to post EOS in the state change function.
16879 Fix up -launch, make it exit the poll loop when the
16880 pipeline actually changed state.
16881 Fix up warning parsing in -launch.
16883 2005-06-25 Wim Taymans <wim@fluendo.com>
16885 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16886 (gst_tee_sink_activate):
16887 Core takes STREAM_LOCK for us now.
16889 2005-06-25 Wim Taymans <wim@fluendo.com>
16891 * gst/gstelement.c: (gst_element_get_state_func),
16892 (gst_element_set_state):
16893 * gst/gstelement.h:
16894 * gst/gstmessage.c: (gst_message_parse_error),
16895 (gst_message_parse_warning):
16896 Keep track of current target state while performing a state
16897 change so that subclasses can do something interesting.
16898 Fix parsing of warning/error messages when GError is NULL.
16900 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
16902 * docs/gst/Makefile.am:
16903 * docs/gst/gstreamer-docs.sgml:
16904 * docs/gst/gstreamer-sections.txt:
16905 * docs/gst/gstreamer.types:
16906 * docs/gst/tmpl/gstbasesink.sgml:
16907 * docs/gst/tmpl/gstbasesrc.sgml:
16908 * docs/gst/tmpl/gstbin.sgml:
16909 * docs/gst/tmpl/gstcompat.sgml:
16910 * docs/gst/tmpl/gstfakesink.sgml:
16911 * docs/gst/tmpl/gstfakesrc.sgml:
16912 * docs/gst/tmpl/gstfilesink.sgml:
16913 * docs/gst/tmpl/gstfilesrc.sgml:
16914 * docs/gst/tmpl/gstindex.sgml:
16915 * docs/manual/appendix-quotes.xml:
16916 * gst/base/gstbasesrc.h:
16917 * gst/elements/gstfakesrc.h:
16918 * gst/gstmessage.h:
16919 start pulling in base classes and elements in our docs
16921 2005-06-24 Stefan Kost <ensonic@users.sf.net>
16923 * docs/gst/Makefile.am:
16924 * docs/libs/Makefile.am:
16925 fixed make distcheck with gtk-doc 1.3
16927 2005-06-23 Wim Taymans <wim@fluendo.com>
16929 * gst/gstelement.c: (gst_element_get_state_func),
16930 (gst_element_set_state), (gst_element_change_state):
16931 When the state did not change, also report NO_PREROLL
16934 2005-06-23 Wim Taymans <wim@fluendo.com>
16936 * gst/gstpad.c: (gst_pad_event_default):
16937 * gst/gstqueue.c: (gst_queue_loop):
16938 No unsafe task pausing please.
16940 2005-06-23 Wim Taymans <wim@fluendo.com>
16942 * gst/schedulers/threadscheduler.c:
16943 (gst_thread_scheduler_task_start),
16944 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
16945 Ref the task before pushing it on the threadpool. This
16946 makes sure that we have a ref when the threadfunction is
16949 2005-06-23 Andy Wingo <wingo@pobox.com>
16951 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
16952 offset is greater than the file's size.
16954 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
16955 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
16956 * gst/gstobject.c (gst_object_class_init): Make the class lock
16957 recursive. Wim won't let me drop deep_notify. Decodebin works
16958 again, whoopdy doo.
16960 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
16961 internal pad, and hacks accordingly. Doesn't do it on the target
16962 pad because we change its caps. Probably catches all cases of
16964 (gst_ghost_pad_set_property): Connect to notify::caps as
16967 * tests/network-clock.scm (plot-simulation): Pipe data to the
16968 elite python skript.
16970 * tests/network-clock-utils.scm (define-parameter): New macro,
16971 defines a parameter that can be set via the command line.
16972 (set-parameter!, parse-parameter-arguments): Command line args
16975 * tests/plot-data: Simple matplotlib-based plotter, takes input on
16978 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
16980 * gst/elements/gsttypefindelement.c:
16981 (gst_type_find_element_handle_event):
16982 Don't restart typefinding on a discont.
16983 * gst/gstelement.c: (gst_element_set_state):
16984 Debug spelling fix.
16985 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
16986 Allow changing mode of an active pad.
16987 Debug output fixes.
16988 * gst/registries/gstlibxmlregistry.c: (load_feature):
16989 Don't cast a static pad template to a normal pad template.
16991 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
16993 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
16994 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
16995 remove gst_strtoll completely, since it didn't actually do
16996 anything more than what g_ascii_strtoull already does.
16997 check for range errors when deserializing
16998 do a cast for the unsigned cases; but further fixing needs
16999 a decision on what the interpretation of "(int)" and
17000 deserialization should be for values that fall outside the
17001 type's boundaries (ie, refuse, or interpret as casting)
17003 2005-06-23 Wim Taymans <wim@fluendo.com>
17005 * check/Makefile.am:
17006 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17007 * docs/design/part-live-source.txt:
17008 * docs/design/part-states.txt:
17009 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17010 (gst_basesrc_set_live), (gst_basesrc_is_live),
17011 (gst_basesrc_get_range), (gst_basesrc_activate),
17012 (gst_basesrc_change_state):
17013 * gst/base/gstbasesrc.h:
17014 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17015 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17016 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17017 * gst/gstelement.c: (gst_element_get_state_func),
17018 (gst_element_set_state):
17019 * gst/gstelement.h:
17021 * tools/gst-launch.c: (event_loop), (main):
17022 Added support for live sources and other elements that
17024 Updated design docs, added live-source design doc.
17025 Implemented live source functionality in basesrc
17026 Fix error condition in _bin_get_state()
17027 Implement live source handling in -launch.
17028 Added check for live sources.
17029 Fixed case in GstBin where elements were changed state
17033 2005-06-23 Andy Wingo <wingo@pobox.com>
17035 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17036 borken refcounting.
17038 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17039 gst_caps_replace takes care of this for us.
17041 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17042 gst_pad_set_caps on the target, not just its setcaps() function.
17044 * tests/network-clock.scm:
17045 * tests/network-clock-utils.scm: A network clock simulator.
17046 Something of an algorithmic testbed before doing something in C.
17048 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17050 * check/Makefile.am:
17051 * check/gst/capslist.h:
17052 copy over from 0.8, and add two with bitmasks specified with
17054 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17055 add test to parse everything from capslist.h
17056 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17058 add test for structure deserialization
17059 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17060 add tests for deserialization of strings to int types
17061 * gst/gststructure.c: (gst_structure_nth_field_name):
17062 * gst/gststructure.h:
17063 add a way to get the name of a field referenced by index
17064 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17065 instead of checking if the resulting long long lies between
17066 min and max, we check if the long long would fit into
17067 a number of bytes for the final type.
17068 This fixes cases where a string represents 2^32 - 1, which
17069 when cast to int would be the (valid) -1, but is bigger than
17072 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17074 * gst/parse/grammar.y:
17075 add a log line for type deserialization
17077 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17079 * check/gst/gstvalue.c: (START_TEST):
17080 * gst/gstvalue.c: (gst_value_deserialize):
17081 return long long, not int, so gint64 deserialization actually
17082 works. Is there any flag that makes the compiler check this ?
17085 2005-06-22 Wim Taymans <wim@fluendo.com>
17088 Added convenience macros for setting buffers in GValue.
17090 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17092 * check/gst/.cvsignore:
17093 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17094 add a test deserializing int64, and comment part out because
17097 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17099 * check/Makefile.am:
17100 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17101 * testsuite/Makefile.am:
17102 * testsuite/caps/Makefile.am:
17103 * testsuite/caps/value_serialize.c:
17104 * testsuite/test_gst_init.c:
17105 move a value_serialize test over
17107 2005-06-20 Wim Taymans <wim@fluendo.com>
17112 * gst/gstvalue.c: (gst_value_compare_buffer),
17113 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17114 (gst_value_compare_flags), (gst_value_serialize_flags),
17115 (gst_value_deserialize_flags), (_gst_value_initialize):
17116 Fix serialisation of buffers, they are not boxed types anymore
17118 2005-06-20 Wim Taymans <wim@fluendo.com>
17120 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17121 Testcase to show error in buffer-on-caps serialisation.
17123 2005-06-20 Andy Wingo <wingo@pobox.com>
17125 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17126 will be adding to later.
17128 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17129 if its socks fill with rocks.
17130 (gst_system_clock_obtain): Set the name on object construction.
17131 Avoid double-checked locking.
17133 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17135 * gst/gsturi.c: (gst_element_make_from_uri):
17136 Fix potential endless loop.
17138 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17140 * check/Makefile.am:
17142 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17144 move over from testsuite dir and clean up
17147 * testsuite/Makefile.am:
17148 * testsuite/tags/.cvsignore:
17149 * testsuite/tags/Makefile.am:
17150 * testsuite/tags/merge.c:
17151 remove testsuite/tags
17153 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17155 * docs/gst/gstreamer-sections.txt:
17156 * docs/gst/tmpl/gstenumtypes.sgml:
17157 * win32/gstenumtypes.c:
17158 clean up documentation build a little
17160 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17162 * check/gstcheck.h:
17163 add macros for checking refcounts on objects and caps
17164 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17165 add some more unit tests
17166 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17167 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17168 fix leaked refcounts (I hope :)) so unittest works
17172 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17174 * configure.ac: back to HEAD
17176 === release 0.9.1 ===
17178 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17184 2005-06-17 Andy Wingo <wingo@pobox.com>
17186 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17187 assert; it's always possible that the pad gets deactivated in
17188 between the checks in gstpad.c and the implementation. Rely on
17189 finish_preroll() to return a FLUSHING or similar instead of on the
17192 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17193 clock and post an EOS message if we come out of finish_preroll in
17196 2005-06-16 David Schleef <ds@schleef.org>
17198 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17199 (gst_capsfilter_set_property): Allow NULL as possible value
17200 for filter_caps property, indicating GST_CAPS_ANY.
17202 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17204 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17206 * gst/schedulers/Makefile.am:
17208 * gstreamer.spec.in:
17211 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17213 * gstreamer.spec.in:
17216 2005-06-08 Andy Wingo <wingo@pobox.com>
17218 * gst/gstutils.c: RPAD fixes all around.
17219 (gst_element_link_pads): Refcounting fixes.
17221 * tools/gst-inspect.c:
17222 * tools/gst-xmlinspect.c:
17224 * gst/base/gsttypefindhelper.c:
17225 * gst/base/gstbasesink.c:
17226 * gst/gstqueue.c: RPAD fixes.
17228 * gst/gstghostpad.h:
17229 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17230 pads. The tricky thing is they provide both source and sink
17231 interfaces, since they proxy the internal pad for the external
17232 pad, and vice versa. Implement with lower-level ProxyPad objects,
17233 with the interior proxy pad as a child of the exterior ghost pad.
17234 Should write a doc on this.
17236 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17237 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17240 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17241 pads are real pads. No ghost pads in this file. Not documenting
17242 the myriad s/RPAD/PAD/ and REALIZE fixes.
17243 (gst_pad_class_init): Add properties for "direction" and
17244 "template". Both are construct-only, so they can't change during
17245 the life of the pad. Fixes properly deriving from GstPad.
17246 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17247 derived objects, just set properties when creating the objects via
17249 (gst_pad_get_parent): Implement as a function, return NULL if the
17250 parent is not an element.
17251 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17252 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17254 * gst/gstobject.c (gst_object_class_init): Make name a construct
17255 property. Don't set it in the object init.
17257 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17258 with UNKNOWN direction.
17259 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17260 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17261 (gst_element_remove_pad): Remove ghost-pad special cases.
17262 (gst_element_pads_activate): Remove rpad cruft.
17264 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17265 catch the pad's-parent-not-an-element case.
17267 * gst/gst.h: Include gstghostpad.h.
17269 * gst/gst.c (init_post): No more real, ghost pads.
17271 * gst/Makefile.am: Add gstghostpad.[ch].
17273 * check/Makefile.am:
17274 * check/gst/gstbin.c:
17275 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17276 into a bin creates ghost pads, and that the refcounts are right.
17277 Partly moved from gstbin.c.
17279 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17281 * check/gst-libs/.cvsignore:
17282 * check/gst/.cvsignore:
17283 * check/pipelines/.cvsignore:
17285 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17286 (START_TEST), (cleanup_suite), (main):
17287 add some tests related to cleanup after running pipelines
17289 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17291 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17292 add a testsuite for GstBuffer
17294 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17296 * gst/gstminiobject.h:
17297 add defines for accessing the refcount
17299 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17301 * Makefile.am: added support for html unit test coverage reports
17303 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17305 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17306 Free existing caps if the capsfilter changes. Add a FIXME about
17307 setting those caps on the pads.
17309 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17310 Before adding a ghost pad to a parent bin, check that there isn't
17311 already one for the element on the bin. Prevents infinite recursion
17312 when using decodebin in parse pipelines. Andy says he'll rewrite the
17313 way this works anyway, so ignore the hack.
17315 2005-06-02 Andy Wingo <wingo@pobox.com>
17317 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17318 file size, pass it on to the type find helper.
17320 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17321 segment_start and segment_end properly according to the seek
17322 method. Segment_end is still a bit flaky because offset can be
17323 negative for CUR and END cases, but it takes -1 as an "unset"
17326 2005-06-02 Wim Taymans <wim@fluendo.com>
17328 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17329 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17330 (gst_basesink_activate):
17331 * gst/base/gstbasesink.h:
17332 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17333 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17334 (gst_pad_query), (gst_pad_start_task):
17336 * gst/gstqueue.c: (gst_queue_bufferalloc),
17337 (gst_queue_handle_sink_event), (gst_queue_chain):
17338 Bufferalloc: return GstFlowReturn to more accuratly report
17339 why allocation failed.
17341 2005-06-02 Wim Taymans <wim@fluendo.com>
17343 * gst/gstpipeline.c: (gst_pipeline_send_event):
17344 Take snapshot of state without blocking.
17346 2005-06-02 Wim Taymans <wim@fluendo.com>
17348 * docs/design/part-TODO.txt:
17349 * docs/design/part-caps.txt:
17350 * docs/design/part-clocks.txt:
17351 * docs/design/part-negotiation.txt:
17352 * docs/design/part-preroll.txt:
17355 2005-05-30 Wim Taymans <wim@fluendo.com>
17357 * gst/elements/gstidentity.c: (gst_identity_event),
17358 (gst_identity_transform), (gst_identity_get_property):
17359 Protect last_message property as it is accessed from
17362 2005-05-30 Wim Taymans <wim@fluendo.com>
17364 * gst/gstelement.c: (gst_element_init),
17365 (gst_element_pads_activate), (gst_element_change_state):
17366 Slicker pad activation code.
17368 2005-05-30 Wim Taymans <wim@fluendo.com>
17371 * gst/gstelement.h:
17372 * gst/gstelementfactory.h:
17374 Move elementfactory methods to separate .h file.
17376 2005-05-30 Wim Taymans <wim@fluendo.com>
17378 * docs/design/part-overview.txt:
17379 * gst/gstsystemclock.h:
17380 Small typo fixes, doc updates.
17382 2005-05-30 Wim Taymans <wim@fluendo.com>
17384 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17385 (init_popt_callback):
17386 Remove cpu-opt flag.
17388 2005-05-30 Wim Taymans <wim@fluendo.com>
17390 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17391 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17393 Avoid typechecking in places where not needed.
17394 Added accessor for malloc_data.
17396 2005-05-30 Wim Taymans <wim@fluendo.com>
17398 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17399 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17400 (gst_pad_configure_sink), (gst_pad_configure_src),
17401 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17402 (gst_pad_start_task):
17403 Propagate errors from _set_caps() in configure_src/sink
17404 functions instead of returning TRUE.
17405 FLUSH events can travel up and downstream
17408 2005-05-30 Wim Taymans <wim@fluendo.com>
17410 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17411 (gst_basesink_activate):
17412 Handle EOS in preroll.
17414 2005-05-30 Wim Taymans <wim@fluendo.com>
17416 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17417 (gst_queue_loop), (gst_queue_handle_src_event):
17418 Remove old pieces of code
17419 Flushing the queue in an upstream event is a very bad idea.
17421 2005-05-26 Andy Wingo <wingo@pobox.com>
17423 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17424 gst_value_set_mini_object so as to add a ref on the object (which
17425 will be removed when the value is unset).
17427 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17428 arg type in ::handoff.
17430 * gst/gstelement.c (gst_element_change_state): Also deactivate
17431 pads in READY->NULL, just in case the element didn't make it to
17432 PAUSED. Wingo tested, Wim approved.
17434 2005-05-26 Wim Taymans <wim@fluendo.com>
17436 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17437 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17438 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17439 A flushing pad cannot be used to alloc_buffer from.
17441 2005-05-26 Wim Taymans <wim@fluendo.com>
17443 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17444 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17445 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17446 (gst_bus_create_watch), (gst_bus_add_watch_full):
17448 Implement a real GSource and use g_main_context_wakeup() to
17449 signal new messages instead of the socketpair.
17451 2005-05-25 Wim Taymans <wim@fluendo.com>
17453 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17454 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17455 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17456 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17457 (gst_pad_send_event), (gst_pad_start_task):
17458 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17459 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17460 (gst_queue_sink_activate), (gst_queue_src_activate),
17461 (gst_queue_change_state):
17463 Fix state changes for non sinks. We now change sinks, then elements
17464 with unconnected srcpads, then the rest.
17465 More efficient queue unlocking in flush and state changes.
17466 Set the pad activate mode even if it does not have an activate
17469 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17471 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17472 Don't go in pull mode for non-seekable sources.
17473 * gst/elements/gsttypefindelement.h:
17474 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17475 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17476 (free_entry), (stop_typefinding),
17477 (gst_type_find_element_handle_event), (find_peek),
17478 (gst_type_find_element_chain), (do_pull_typefind),
17479 (gst_type_find_element_change_state):
17480 Allow typefinding (w/o seeking) in push-mode, simplified version
17481 of what was in 0.8.
17482 * gst/gstutils.c: (gst_buffer_join):
17484 gst_buffer_join() from 0.8.
17486 2005-05-25 Wim Taymans <wim@fluendo.com>
17488 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17489 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17490 (gst_pad_send_event), (gst_pad_start_task):
17491 Disable attempt at mode switching until it is figured out.
17493 2005-05-25 Wim Taymans <wim@fluendo.com>
17495 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17496 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17497 (gst_basesink_finish_preroll), (gst_basesink_chain),
17498 (gst_basesink_loop), (gst_basesink_activate),
17499 (gst_basesink_change_state):
17500 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17501 (gst_basesrc_get_range), (gst_basesrc_loop),
17502 (gst_basesrc_activate):
17503 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17504 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17505 (gst_real_pad_init), (gst_real_pad_set_property),
17506 (gst_real_pad_get_property), (gst_pad_set_active),
17507 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17508 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17509 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17510 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17511 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17512 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17513 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17514 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17515 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17516 (gst_pad_stop_task):
17518 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17519 (gst_queue_loop), (gst_queue_src_activate):
17520 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17521 (gst_task_get_state):
17523 * gst/schedulers/threadscheduler.c:
17524 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17525 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17527 Remove ACTIVE pad flag, use FLUSHING everywhere
17528 Added _pad_chain(), _pad_get_range() to call chain/getrange
17530 Add locks around IS_FLUSHING when reading.
17531 Take STREAM lock in chain(), get_range() functions so plugins
17532 don't need to take it anymore.
17536 2005-05-25 Wim Taymans <wim@fluendo.com>
17538 * tools/gst-launch.c: (event_loop):
17539 Unref message after using its contents instead of
17542 2005-05-24 Wim Taymans <wim@fluendo.com>
17544 * docs/design/draft-ghostpads.txt:
17545 * docs/design/draft-push-pull.txt:
17546 * docs/design/draft-query.txt:
17547 * docs/design/part-overview.txt:
17548 Docs updates, added general overview doc.
17550 2005-05-21 David Schleef <ds@schleef.org>
17552 * docs/gst/tmpl/old/GstBin.sgml:
17553 * docs/gst/tmpl/old/GstBuffer.sgml:
17554 * docs/gst/tmpl/old/GstCaps.sgml:
17555 * docs/gst/tmpl/old/GstClock.sgml:
17556 * docs/gst/tmpl/old/GstCompat.sgml:
17557 * docs/gst/tmpl/old/GstData.sgml:
17558 * docs/gst/tmpl/old/GstElement.sgml:
17559 * docs/gst/tmpl/old/GstEvent.sgml:
17560 * docs/gst/tmpl/old/GstIndex.sgml:
17561 * docs/gst/tmpl/old/GstStructure.sgml:
17562 * docs/gst/tmpl/old/GstTag.sgml:
17563 * docs/gst/tmpl/old/cothreads.sgml:
17564 * docs/gst/tmpl/old/cothreads_compat.sgml:
17565 * docs/gst/tmpl/old/gettext.sgml:
17566 * docs/gst/tmpl/old/gobject2gtk.sgml:
17567 * docs/gst/tmpl/old/grammar.tab.sgml:
17568 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17569 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17570 * docs/gst/tmpl/old/gst_private.sgml:
17571 * docs/gst/tmpl/old/gstaggregator.sgml:
17572 * docs/gst/tmpl/old/gstarch.sgml:
17573 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17574 * docs/gst/tmpl/old/gstbufferstore.sgml:
17575 * docs/gst/tmpl/old/gstdata_private.sgml:
17576 * docs/gst/tmpl/old/gstdisksink.sgml:
17577 * docs/gst/tmpl/old/gstdisksrc.sgml:
17578 * docs/gst/tmpl/old/gstelementfactory.sgml:
17579 * docs/gst/tmpl/old/gstextratypes.sgml:
17580 * docs/gst/tmpl/old/gstfakesink.sgml:
17581 * docs/gst/tmpl/old/gstfakesrc.sgml:
17582 * docs/gst/tmpl/old/gstfdsink.sgml:
17583 * docs/gst/tmpl/old/gstfdsrc.sgml:
17584 * docs/gst/tmpl/old/gstfilesink.sgml:
17585 * docs/gst/tmpl/old/gstfilesrc.sgml:
17586 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17587 * docs/gst/tmpl/old/gstidentity.sgml:
17588 * docs/gst/tmpl/old/gstindexfactory.sgml:
17589 * docs/gst/tmpl/old/gstmarshal.sgml:
17590 * docs/gst/tmpl/old/gstmd5sink.sgml:
17591 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17592 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17593 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17594 * docs/gst/tmpl/old/gstpipefilter.sgml:
17595 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17596 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17597 * docs/gst/tmpl/old/gstshaper.sgml:
17598 * docs/gst/tmpl/old/gstspider.sgml:
17599 * docs/gst/tmpl/old/gstspideridentity.sgml:
17600 * docs/gst/tmpl/old/gststatistics.sgml:
17601 * docs/gst/tmpl/old/gsttee.sgml:
17602 * docs/gst/tmpl/old/gsttimecache.sgml:
17603 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17604 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17605 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17606 * docs/gst/tmpl/old/types.sgml:
17607 I didn't intend to add these or check them in.
17609 2005-05-19 David Schleef <ds@schleef.org>
17611 * configure.ac: Use -no-common everywhere. In a sane world, it
17612 would be the default in libtool, because without it, you can't
17613 build DLLs on Windows.
17614 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17615 * docs/gst/gstreamer-sections.txt:
17616 * docs/gst/tmpl/gstcpu.sgml:
17617 * docs/gst/tmpl/gstdata.sgml:
17618 * docs/gst/tmpl/gstthread.sgml:
17620 2005-05-19 David Schleef <ds@schleef.org>
17622 * gst/gstminiobject.c: (gst_value_set_mini_object),
17623 (gst_value_take_mini_object), (gst_value_get_mini_object):
17624 * gst/gstminiobject.h: Add GValue set/get functions.
17626 2005-05-19 Wim Taymans <wim@fluendo.com>
17628 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17629 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17630 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17632 * gst/gstbus.c: (gst_bus_post):
17633 * gst/gstelement.c: (gst_element_get_random_pad):
17634 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17635 Make subbufer unref the parent in finalize.
17636 some more debugging info.
17639 2005-05-19 Wim Taymans <wim@fluendo.com>
17641 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17642 (gst_basesink_init), (gst_basesink_finalize),
17643 (gst_basesink_activate), (gst_basesink_change_state):
17644 Don't free preroll queue too early.
17646 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17650 Hi, I'm outdated. Please shoot me.
17652 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17654 * gst/gstpipeline.c: (gst_pipeline_send_event):
17655 Do not access variables after they have been deleted.
17657 2005-05-19 Wim Taymans <wim@fluendo.com>
17659 * tools/gst-inspect.c: (print_plugin_features):
17660 A plugin feature does unfortunatly not use the
17663 2005-05-18 Wim Taymans <wim@fluendo.com>
17665 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17666 Port _span() functions to new subbuffers.
17668 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17670 * gst/gstbin.c: (gst_bin_add_func):
17671 Fix clock settery in bins when adding kids after the clock has
17674 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17676 * gst/elements/gstidentity.c: (gst_identity_class_init):
17677 Workaround until signals support GstMiniObject.
17679 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
17682 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17684 2005-05-18 Wim Taymans <wim@fluendo.com>
17686 * gst/base/Makefile.am:
17687 * gst/base/gstadapter.c: (gst_adapter_base_init),
17688 (gst_adapter_class_init), (gst_adapter_init),
17689 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17690 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17691 (gst_adapter_flush), (gst_adapter_available),
17692 (gst_adapter_available_fast):
17693 * gst/base/gstadapter.h:
17694 Ported and added adapter to the base classes.
17696 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17699 * gst/gstmessage.c:
17700 Make sure the class is reffed/unreffed once before threads can be
17701 used. Fixes #304551.
17703 2005-05-17 Wim Taymans <wim@fluendo.com>
17705 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17706 (gst_basesink_chain_unlocked), (gst_basesink_activate):
17707 * gst/gstminiobject.c: (gst_mini_object_get_type),
17708 (gst_mini_object_free):
17709 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17710 (gst_pad_push), (gst_pad_push_event):
17711 * gst/gstqueue.c: (gst_queue_change_state):
17712 Don't queue buffers in basesink when we are flushing.
17713 Unref buffer when flushing in basesink.
17714 Flush queue when going to READY
17715 Unref buffer when _push() returns an error.
17716 Don't free MiniObject instance when refcount is incremented
17717 in _finalize() so that we can recover objects.
17719 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
17721 * docs/manual/advanced-schedulers.xml:
17722 * docs/manual/appendix-checklist.xml:
17723 * docs/pwg/advanced-clock.xml:
17724 * docs/pwg/advanced-interfaces.xml:
17725 * docs/pwg/advanced-request.xml:
17726 * docs/pwg/advanced-types.xml:
17727 * docs/pwg/intro-preface.xml:
17728 * examples/plugins/example.c: (gst_example_get_type),
17729 (gst_example_class_init), (gst_example_chain),
17730 (gst_example_set_property), (gst_example_get_property),
17731 (gst_example_change_state), (plugin_init):
17732 * examples/plugins/example.h:
17735 2005-05-17 Wim Taymans <wim@fluendo.com>
17737 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17738 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17739 * gst/gstqueue.c: (gst_queue_change_state):
17740 Clear queue when going to READY.
17741 Remove IN_SETCAPS flag too.
17743 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
17745 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17746 Remove implicit cast from gboolean to GstElementStateReturn;
17747 make sure we still return failure in paused => ready case if
17748 the parent class fails to change state and our own stop
17751 2005-05-17 Wim Taymans <wim@fluendo.com>
17753 * tools/gst-launch.c: (event_loop):
17754 Message was unreffed too soon.
17756 2005-05-16 Andy Wingo <wingo@pobox.com>
17758 * gst/gstbin.c (sink_iterator_filter): Err... um...
17760 * check/gst/gstbin.c (test_ghost_pads): New test for the
17761 ghosting-if-elements-not-in-same-bin behavior.
17763 2005-05-16 David Schleef <ds@schleef.org>
17765 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17766 accessing refcount directly.
17768 2005-05-15 David Schleef <ds@schleef.org>
17770 * check/Makefile.am: remove GstData checks
17771 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17772 * gst/Makefile.am: add miniobject, remove data
17773 * gst/gst.h: add miniobject, remove data
17774 * gst/gstdata.c: remove
17775 * gst/gstdata.h: remove
17776 * gst/gstdata_private.h: remove
17777 * gst/gsttypes.h: remove GstEvent and GstMessage
17778 * gst/gstelement.c: (gst_element_post_message): fix for API changes
17779 * gst/gstmarshal.list: change BOXED -> OBJECT
17781 Implement GstMiniObject.
17782 * gst/gstminiobject.c:
17783 * gst/gstminiobject.h:
17785 Modify to be subclasses of GstMiniObject.
17786 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17787 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17788 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17789 (gst_subbuffer_get_type), (gst_subbuffer_init),
17790 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17793 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17794 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17795 (_gst_event_copy), (gst_event_new):
17797 * gst/gstmessage.c: (_gst_message_initialize),
17798 (gst_message_get_type), (gst_message_class_init),
17799 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17800 (gst_message_new), (gst_message_new_error),
17801 (gst_message_new_warning), (gst_message_new_tag),
17802 (gst_message_new_state_changed), (gst_message_new_application):
17803 * gst/gstmessage.h:
17804 * gst/gstprobe.c: (gst_probe_perform),
17805 (gst_probe_dispatcher_dispatch):
17807 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17808 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17809 (_gst_query_copy), (gst_query_new):
17811 Update elements for GstData -> GstMiniObject changes
17813 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17814 (gst_queue_chain), (gst_queue_loop):
17815 * gst/elements/gstbufferstore.c:
17816 (gst_buffer_store_add_buffer_func),
17817 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17818 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17819 (gst_fakesink_render):
17820 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17821 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17822 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17823 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17824 (gst_filesrc_create_read):
17825 * gst/elements/gstidentity.c: (gst_identity_class_init):
17826 * gst/elements/gsttypefindelement.c:
17827 (gst_type_find_element_src_event), (free_entry_buffers),
17828 (gst_type_find_element_handle_event):
17829 * libs/gst/dataprotocol/dataprotocol.c:
17830 (gst_dp_header_from_buffer):
17831 * libs/gst/dataprotocol/dataprotocol.h:
17832 * libs/gst/dataprotocol/dp-private.h:
17834 2005-05-15 David Schleef <ds@schleef.org>
17836 * gst/elements/gstelements.c: Don't include headers that were
17839 2005-05-15 David Schleef <ds@schleef.org>
17841 * gst/elements/Makefile.am: Remove some elements that don't
17842 need to be in the core (or even exist at all).
17843 * gst/elements/gstaggregator.c:
17844 * gst/elements/gstaggregator.h:
17845 * gst/elements/gstmd5sink.c:
17846 * gst/elements/gstmd5sink.h:
17847 * gst/elements/gstmultifilesrc.c:
17848 * gst/elements/gstmultifilesrc.h:
17849 * gst/elements/gstpipefilter.c:
17850 * gst/elements/gstpipefilter.h:
17851 * gst/elements/gstshaper.c:
17852 * gst/elements/gstshaper.h:
17853 * gst/elements/gststatistics.c:
17854 * gst/elements/gststatistics.h:
17855 * po/POTFILES.in: Remove above files.
17857 2005-05-14 Andy Wingo <wingo@pobox.com>
17859 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17860 so as to get the refs right.
17861 (sink_iterator_filter): New function, wraps bin_element_is_sink,
17862 unreffing objects that don't pass the filter.
17864 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17865 gst_element_set_bus.
17866 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17867 normal cases, this will destroy the bus.
17869 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17872 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17875 2005-05-13 Andy Wingo <wingo@pobox.com>
17877 * gst/gstutils.c (gst_element_link_pads): Instead of calling
17878 gst_pad_link, call pad_link_maybe_ghosting,
17879 (pad_link_maybe_ghosting): Links pads, making sure that the
17880 elements being linked are in the same bin.
17881 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17882 Helpers for pad_link_maybe_ghosting.
17884 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17887 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17889 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17891 * docs/design/part-element-source.txt:
17894 2005-05-12 Wim Taymans <wim@fluendo.com>
17896 * gst/base/gstbasesink.c: (gst_basesink_init),
17897 (gst_basesink_activate):
17898 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17899 (gst_basesrc_is_seekable):
17900 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17901 (bin_element_is_sink), (gst_bin_change_state):
17902 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17903 * gst/gstelement.h:
17904 Identify sinks by their flag to avoid overly complicated
17906 Do state changes even for elements not reachable from the
17908 BaseSink is a sink now :)
17909 Some more debugging info in the basesrc.
17912 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17914 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17915 Implement _query on a bin, similar to _send_event.
17917 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
17919 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
17920 Discont event offset format should be GST_FORMAT_BYTES,
17921 not GST_FORMAT_TIME.
17923 2005-05-12 Wim Taymans <wim@fluendo.com>
17925 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
17926 Same fix as Ronald's but without the signal.
17928 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17930 * gst/gstutils.c: (gst_element_query_position):
17931 No, an element is not a pad.
17933 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17935 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
17936 (gst_bin_get_state):
17937 If a child is removed from a bin while we remove the child from
17938 the bin and while we're retrieving its state, signal this to the
17939 get_state function so we abort the wait (instead of waiting for
17940 a timeout) and can immediately re-iterate over all other elements.
17942 2005-05-12 Wim Taymans <wim@fluendo.com>
17944 * gst/base/Makefile.am:
17945 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
17946 (gst_basesrc_start):
17947 * gst/base/gstbasesrc.h:
17948 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
17949 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
17950 (gst_pushsrc_init), (gst_pushsrc_create):
17951 * gst/base/gstpushsrc.h:
17952 Added is_seekable to BaseSrc
17953 Added simple PushSrc.
17955 2005-05-11 Wim Taymans <wim@fluendo.com>
17957 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17958 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17959 (gst_element_link_pads), (gst_element_query_position),
17960 (gst_element_query_convert), (intersect_caps_func),
17961 (gst_pad_query_position), (gst_pad_query_convert):
17962 Fix refcounting in utils function.
17963 No point in trying to activate a pad when it's added, it could
17964 be added from the state change function and then we deadlock, the
17965 element has to decide what to do.
17967 2005-05-10 Andy Wingo <wingo@pobox.com>
17969 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
17970 *all* the arguments.
17972 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
17973 stream lock if it's a FLUSH_DONE; normal flushes don't get the
17974 lock (according to the docs -- if this is wrong change the docs).
17976 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
17977 flush messages in the NULL state.
17979 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
17980 message immediately and return.
17981 (gst_bus_set_flushing): New function. If a bus is flushing, it
17982 flushes out any queued messages and immediately unrefs new
17983 messages. This is so when an element goes to NULL, all of the
17984 unhandled messages coming from it can be freed, and their
17985 references to the element dropped. In other words: message source
17986 ref considered harmful :P
17988 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
17989 we're finished with it.
17991 * gst/gstmessage.c (gst_message_new_state_changed):
17993 2005-05-10 Wim Taymans <wim@fluendo.com>
17995 * gst/gstvalue.c: (gst_value_compare_flags),
17996 (gst_value_serialize_flags), (gst_value_deserialize_flags),
17997 (_gst_value_initialize):
17998 Added flags serialize/deserialize/compare code.
18000 2005-05-09 Andy Wingo <wingo@pobox.com>
18002 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18003 Intersect the peer's caps with our caps.
18005 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18007 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18008 * gst/elements/gsttypefindelement.c: (find_peek):
18009 Handle negative offsets better. Fixes decodebin.
18011 2005-05-09 Wim Taymans <wim@fluendo.com>
18013 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18014 (gst_base_transform_event):
18015 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18016 Implement accept_caps.
18017 Fix silly lock/unlock mismatch in base class.
18019 2005-05-09 Wim Taymans <wim@fluendo.com>
18021 * docs/design/draft-push-pull.txt:
18022 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18023 * gst/elements/gstfilesink.c: (gst_filesink_init),
18024 (gst_filesink_query):
18025 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18026 (gst_type_find_handle_src_query), (find_element_get_length):
18027 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18028 * gst/gstelement.h:
18029 * gst/gstmessage.c:
18030 * gst/gstmessage.h:
18031 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18032 (gst_real_pad_get_caps_unlocked),
18033 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18034 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18035 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18036 (gst_real_pad_dispose), (gst_real_pad_finalize),
18037 (gst_pad_load_and_link), (gst_pad_save_thyself),
18038 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18039 (gst_pad_check_pull_range), (gst_pad_pull_range),
18040 (gst_pad_template_get_type), (gst_pad_template_class_init),
18041 (gst_pad_template_init), (gst_pad_template_dispose),
18042 (name_is_valid), (gst_static_pad_template_get),
18043 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18044 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18045 (gst_pad_get_element_private), (gst_pad_start_task),
18046 (gst_pad_pause_task), (gst_pad_stop_task),
18047 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18048 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18049 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18050 (gst_ghost_pad_new):
18052 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18053 (gst_query_new_position), (gst_query_set_position),
18054 (gst_query_parse_position), (gst_query_new_convert),
18055 (gst_query_set_convert), (gst_query_parse_convert):
18057 * gst/gstqueryutils.c:
18058 * gst/gstqueryutils.h:
18059 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18060 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18061 (gst_queue_handle_src_query):
18062 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18063 (gst_element_query_position), (gst_element_query_convert),
18064 (intersect_caps_func), (gst_pad_query_position),
18065 (gst_pad_query_convert):
18067 * tools/gst-inspect.c: (print_pad_info):
18068 * tools/gst-xmlinspect.c: (print_element_info):
18069 Remove old query functions. Ported old code.
18070 Added position/convert helper functions to gstutils.
18071 Reordered gstpad.c code, grouping relevant things.
18072 Remove gst_message_new(), always need to speficy a specific
18076 2005-05-09 Andy Wingo <wingo@pobox.com>
18078 * gst/gstiterator.h: Add some includes.
18080 * gst/gstqueryutils.h: Include more headers.
18083 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18084 some uses of gst_pad_query.
18086 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18087 NULL out parameters.
18088 (gst_query_new_position): New proc, allocates a new position
18091 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18092 gstqueryutils.c to the build.
18094 * gst/gststructure.c (gst_structure_set_valist): Implement with
18095 the generic G_VALUE_COLLECT.
18097 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18099 * gst/Makefile.am: (gst_headers):
18100 Added gstqueryutils.h to the list of headers to install, that was
18101 a 'nachty' move wingo :)
18103 2005-05-06 Andy Wingo <wingo@pobox.com>
18106 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18107 GstData, init a memchunk.
18108 (standard_definitions): Add a few query types, deprecate a few.
18109 (gst_query_get_type): New proc.
18110 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18112 (gst_query_new_application, gst_query_get_structure): New public
18115 * docs/design/draft-query.txt: Removed LINKS from the query types,
18116 because all the rest can be dispatched to other pads -- seemed
18117 ugly to have a query that couldn't be dispatched. internal_links
18118 is fine as a pad method.
18120 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18121 in gstpad.c, but maintain binary compatibility for the moment.
18122 Will fix before 0.9 is out.
18124 * gst/gstqueryutils.c:
18125 * gst/gstqueryutils.h: New files, implement 3 methods for each
18126 query type: parse_query, parse_response, and set. Probably need an
18129 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18131 * gst/elements/gstfilesink.c (gst_filesink_query2):
18132 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18133 query_types, and formats methods.
18135 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18136 (gst_pad_set_query2_function): New functions.
18137 (gst_real_pad_init): Set query2_default as the default query2
18138 function. Basically just dispatches to internally linked pads.
18142 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18143 without using the atomic operations. Only one thread can possibly
18144 be accessing the data at this point. Changed so as to avoid
18145 gst_atomic operations.
18147 2005-05-06 Wim Taymans <wim@fluendo.com>
18149 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18150 Also set caps if we use the fallback buffer alloc.
18152 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18154 * docs/gst/Makefile.am:
18155 * docs/gst/gstreamer-docs.sgml:
18156 * docs/gst/gstreamer-sections.txt:
18157 * docs/gst/tmpl/gstatomic.sgml:
18158 * docs/gst/tmpl/gstmemchunk.sgml:
18159 * testsuite/elements/struct_i386.h:
18160 * win32/GStreamer.vcproj:
18162 Purge GstAtomic stuff from docs and win32 makefiles as well
18164 2005-05-06 Wim Taymans <wim@fluendo.com>
18166 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18167 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18168 * gst/gstpad.c: (gst_pad_peer_get_caps):
18169 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18170 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18171 (gst_queue_src_activate), (gst_queue_change_state):
18173 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18174 (intersect_caps_func):
18175 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18176 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18177 Some fixes for the peer_get_caps() change.
18179 2005-05-06 Wim Taymans <wim@fluendo.com>
18181 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18182 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18183 (gst_basesink_activate):
18184 Actually do something with error codes returned from the push
18187 2005-05-06 Wim Taymans <wim@fluendo.com>
18189 * docs/design/part-element-sink.txt:
18190 * docs/design/part-element-source.txt:
18191 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18192 (gst_basesink_event), (gst_basesink_activate):
18193 * gst/base/gstbasesink.h:
18194 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18195 (gst_basesrc_activate):
18196 * gst/base/gstbasesrc.h:
18197 * gst/gstelement.c: (gst_element_pads_activate):
18198 Some more documentation.
18199 Fixed scheduling decision in _pads_activate().
18201 2005-05-05 Andy Wingo <wingo@pobox.com>
18203 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18206 2005-05-05 Wim Taymans <wim@fluendo.com>
18208 * gst/base/Makefile.am:
18209 * gst/base/gstbasesink.h:
18210 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18211 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18212 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18213 (gst_collectpads_class_init), (gst_collectpads_init),
18214 (gst_collectpads_finalize), (gst_collectpads_new),
18215 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18216 (find_pad), (gst_collectpads_remove_pad),
18217 (gst_collectpads_is_active), (gst_collectpads_collect),
18218 (gst_collectpads_collect_range), (gst_collectpads_start),
18219 (gst_collectpads_stop), (gst_collectpads_peek),
18220 (gst_collectpads_pop), (gst_collectpads_available),
18221 (gst_collectpads_read), (gst_collectpads_flush),
18222 (gst_collectpads_chain):
18223 * gst/base/gstcollectpads.h:
18224 * gst/elements/Makefile.am:
18225 * gst/elements/gstelements.c:
18226 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18227 (gst_fakesink_get_times), (gst_fakesink_event),
18228 (gst_fakesink_preroll), (gst_fakesink_render):
18229 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18230 (gst_filesink_init), (gst_filesink_set_location),
18231 (gst_filesink_open_file), (gst_filesink_close_file),
18232 (gst_filesink_pad_query), (gst_filesink_event),
18233 (gst_filesink_render), (gst_filesink_change_state):
18234 * gst/elements/gstfilesink.h:
18235 Added object to help in making collect pad based elements.
18237 Make event function in sink baseclass return gboolean.
18239 2005-05-05 Wim Taymans <wim@fluendo.com>
18241 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18242 (gst_bin_get_by_name):
18244 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18245 (gst_clock_finalize):
18246 * gst/gstdata.c: (gst_data_replace):
18248 * gst/gstelement.c: (gst_element_request_pad),
18249 (gst_element_pads_activate):
18250 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18251 (gst_object_unref):
18252 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18253 (gst_pad_set_checkgetrange_function),
18254 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18255 (gst_pad_check_pull_range), (gst_pad_pull_range),
18256 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18257 (gst_pad_pause_task), (gst_pad_stop_task):
18258 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18259 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18260 Fix name lookup in GstBin.
18261 Added _data_replace() function and _buffer_replace()
18262 Use finalize method to clean up clock.
18263 Fix refcounting on request pads.
18264 Fix pad schedule mode error.
18265 Some more object refcounting debug info,
18268 2005-05-04 Andy Wingo <wingo@pobox.com>
18270 * check/Makefile.am:
18271 * docs/gst/tmpl/gstatomic.sgml:
18272 * docs/gst/tmpl/gstplugin.sgml:
18273 * gst/base/gstbasesink.c: (gst_basesink_activate):
18274 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18275 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18276 (gst_basesrc_query), (gst_basesrc_set_property),
18277 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18278 (gst_basesrc_activate):
18279 * gst/base/gstbasesrc.h:
18280 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18281 (gst_base_transform_src_activate):
18282 * gst/elements/gstelements.c:
18283 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18284 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18285 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18286 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18287 (gst_type_find_element_checkgetrange),
18288 (gst_type_find_element_activate):
18289 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18290 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18291 (gst_caps_load_thyself):
18292 * gst/gstelement.c: (gst_element_pads_activate),
18293 (gst_element_save_thyself), (gst_element_restore_thyself):
18294 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18295 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18297 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18298 (gst_xml_parse_file), (gst_xml_parse_memory),
18299 (gst_xml_get_element), (gst_xml_make_element):
18300 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18301 (_file_index_id_save_xml), (gst_file_index_commit):
18302 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18303 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18305 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18306 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18307 * tools/gst-complete.c: (main):
18308 * tools/gst-compprep.c: (main):
18309 * tools/gst-inspect.c: (print_element_properties_info):
18310 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18311 * tools/gst-xmlinspect.c: (print_element_properties):
18314 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * gst/gstplugin.c: (gst_plugin_check_module),
18317 (gst_plugin_check_file), (gst_plugin_load_file):
18318 apply patch from #172526 to make register work on MacOSX
18320 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18322 * docs/gst/tmpl/gstconfig.sgml:
18323 * gst/gstconfig.h.in:
18324 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18325 * testsuite/debug/printf_extension.c: (main):
18326 Do not use GST_PTR_FORMAT on pointers to types with
18327 sizeof < sizeof(gpointer). Fixes test on 64-bit
18328 * testsuite/elements/property.h:
18329 use correct printf format
18331 2005-05-02 Wim Taymans <wim@fluendo.com>
18333 * docs/design/draft-push-pull.txt:
18334 * docs/design/draft-query.txt:
18335 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18336 (gst_basesrc_start):
18337 Added draft for new query API.
18338 Added draft for better selecting scheduling methods.
18339 Make basesrc ignore length if the subclass does not support
18342 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18345 possible fixes for automake-1.5 - _LIBADD is reserved
18347 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18349 * docs/faq/Makefile.am:
18350 * docs/manual/Makefile.am:
18351 * docs/manuals.mak:
18352 * docs/pwg/Makefile.am:
18354 possible fixes for automake-1.5
18356 2005-04-28 Wim Taymans <wim@fluendo.com>
18358 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18359 (gst_basesink_pad_getcaps), (gst_basesink_init),
18360 (gst_basesink_do_sync):
18361 * gst/gstclock.c: (gst_clock_entry_new):
18362 * gst/gstevent.c: (gst_event_discont_get_value):
18363 * gst/gstpipeline.c: (pipeline_bus_handler),
18364 (gst_pipeline_change_state):
18365 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18366 Better debugging of clocking info.
18367 Allow NULL values when getting discont values.
18369 2005-04-27 Wim Taymans <wim@fluendo.com>
18371 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18372 * check/gst/gstpad.c: (gst_pad_suite):
18373 Increase timeout for checks.
18375 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18377 * check/Makefile.am:
18378 fix the broken rule for cleanup. Apparently this rule is
18379 only needed on FC2, so maybe this warrants further autotool
18382 2005-04-26 Wim Taymans <wim@fluendo.com>
18384 * gst/gsttrashstack.h:
18385 Ooohh. a nasty one! After having a failed pop() from the stack,
18386 it's possible that the stack is empty. In that case, don't
18387 follow the NULL pointer.
18389 2005-04-25 Wim Taymans <wim@fluendo.com>
18391 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18392 (gst_pad_set_checkgetrange_function),
18393 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18394 (gst_pad_check_pull_range), (gst_pad_pull_range),
18395 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18396 (gst_pad_pause_task), (gst_pad_stop_task):
18397 * gst/gstplugin.c: (gst_plugin_load):
18399 Remove gst_library_load as it does more harm than good with
18400 the new g_module flags.
18401 Revert bogus caps template check in pad linking, pad caps
18402 are important when linking not the template, which is more
18403 general than the current caps.
18405 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18407 * gst/autoplug/.cvsignore:
18408 * gst/autoplug/Makefile.am:
18409 * gst/autoplug/gstsearchfuncs.c:
18410 * gst/autoplug/gstsearchfuncs.h:
18411 * gst/autoplug/gstspider.c:
18412 * gst/autoplug/gstspider.h:
18413 * gst/autoplug/gstspideridentity.c:
18414 * gst/autoplug/gstspideridentity.h:
18415 * gst/autoplug/spidertest.c:
18418 2005-04-25 Wim Taymans <wim@fluendo.com>
18420 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18421 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18422 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18423 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18425 Added stubs for unimplemented functions.
18427 2005-04-24 David Schleef <ds@schleef.org>
18429 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18432 2005-04-24 David Schleef <ds@schleef.org>
18434 Convert everything from GstAtomicInt to g_atomic_int_*, and
18439 * gst/gstatomic_impl.h:
18447 * gst/gstdata_private.h:
18451 * gst/gstmessage.c:
18454 * gst/gststructure.c:
18455 * gst/gststructure.h:
18456 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18459 2005-04-24 David Schleef <ds@schleef.org>
18461 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18462 make the regressions tests work. Remove some code that is no
18464 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18465 Disable warning for pads without templates.
18467 2005-04-24 David Schleef <ds@schleef.org>
18469 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18470 functions that handle filtered links.
18471 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18473 * gst/gstutils.c: Fix/remove utility functions that handle
18476 * gst/gstvalue.c: Add serialization/deserialization of caps
18477 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18478 requires fixing so that the filter caps notation creates
18479 a capsfilter element and sets the filter_caps property. I
18480 think everyone probably wants to keep the shorthand notation.
18481 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18482 * docs/gst/tmpl/gstpad.sgml:
18484 * gst/elements/gstelements.c: Register capsfilter element.
18485 * gst/Makefile.am: fix spacing
18486 * docs/random/ds/0.9-suggested-changes: random
18488 2005-04-23 David Schleef <ds@schleef.org>
18490 * gst/elements/Makefile.am:
18491 * gst/elements/gstcapsfilter.c: New element that acts like an
18492 identity, but filters caps. Will eventually replace filtered
18493 caps in pad linking.
18494 * gst/gstutils.c: (gst_element_create_all_pads): New function
18495 to create all the ALWAYS pads that are registered with an
18496 element class. This functionality should eventually be
18497 merged in with GstElement initialization.
18499 * testsuite/trigger/README: part of trigger test code that should
18500 have been checked in a long time ago.
18502 2005-04-23 David Schleef <ds@schleef.org>
18504 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18505 needed with new versions of libtool (nobody will confirm this),
18506 and hard to carry around.
18507 * gst/autoplug/Makefile.am:
18508 * gst/base/Makefile.am:
18509 * gst/elements/Makefile.am:
18510 * gst/indexers/Makefile.am:
18511 * gst/schedulers/Makefile.am:
18512 * libs/gst/bytestream/Makefile.am:
18513 * libs/gst/control/Makefile.am:
18514 * libs/gst/dataprotocol/Makefile.am:
18515 * libs/gst/getbits/Makefile.am:
18517 2005-04-21 Wim Taymans <wim@fluendo.com>
18519 * docs/design/draft-push-pull.txt:
18520 * docs/design/part-MT-refcounting.txt:
18521 * docs/design/part-TODO.txt:
18522 * docs/design/part-caps.txt:
18523 * docs/design/part-events.txt:
18524 * docs/design/part-gstbus.txt:
18525 * docs/design/part-gstpipeline.txt:
18526 * docs/design/part-messages.txt:
18527 * docs/design/part-push-pull.txt:
18528 * docs/design/part-query.txt:
18531 2005-04-21 Wim Taymans <wim@fluendo.com>
18533 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18534 (gst_message_new), (gst_message_new_error),
18535 (gst_message_new_warning), (gst_message_new_tag),
18536 (gst_message_new_state_changed), (gst_message_new_application),
18537 (gst_message_get_structure):
18538 * gst/gstmessage.h:
18539 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18540 (gst_structure_copy_conditional):
18541 Use parent refcount in GstMessage to ensure GstStructure
18543 Cleaned up headers a bit.
18546 2005-04-20 Wim Taymans <wim@fluendo.com>
18548 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18549 (gst_basesink_pad_getcaps), (gst_basesink_init),
18550 (gst_basesink_chain_unlocked):
18551 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18552 (gst_type_find_helper):
18553 * gst/elements/gsttypefindelement.c:
18554 (gst_type_find_element_have_type), (gst_type_find_element_init),
18555 (stop_typefinding), (gst_type_find_element_handle_event),
18556 (find_suggest), (gst_type_find_element_chain),
18557 (gst_type_find_element_checkgetrange),
18558 (gst_type_find_element_getrange), (do_typefind),
18559 (gst_type_find_element_activate):
18560 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18561 (gst_buffer_default_free), (gst_buffer_default_copy),
18562 (gst_buffer_set_caps):
18563 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18564 (gst_caps_replace):
18565 * gst/gstmessage.c: (gst_message_new),
18566 (gst_message_new_state_changed):
18567 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18568 (gst_pad_set_checkgetrange_function),
18569 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18570 (gst_pad_set_caps), (gst_pad_check_pull_range),
18571 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18573 * gst/gsttypefind.c: (gst_type_find_register):
18574 Make gst_caps_replace() work like other _replace() functions.
18575 Use _caps_replace() where possible.
18576 Make sure _message_new() initialises its field.
18577 Add gst_static_pad_template_get_caps()
18580 2005-04-18 Andy Wingo <wingo@pobox.com>
18582 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18583 on the peer, not the pad. I think that was a typo. Pass an extra
18584 arg to see if random access is possible. Activate the pads as
18585 PULL_RANGE if possible.
18587 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18589 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18590 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18593 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18595 * docs/faq/using.xml:
18596 Add note on gstreamer-properties (#154996).
18598 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18600 * docs/random/bbb/optional-properties:
18601 Some analysis on optional properties.
18603 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18605 * docs/gst/tmpl/gstelementfactory.sgml:
18606 * gst/gstelement.h:
18607 * gst/gstelementfactory.c: (gst_element_factory_init),
18608 (gst_element_factory_cleanup), (gst_element_register),
18609 (__gst_element_factory_add_static_pad_template),
18610 (gst_element_factory_get_static_pad_templates),
18611 (gst_element_factory_can_src_caps),
18612 (gst_element_factory_can_sink_caps):
18613 * gst/registries/Makefile.am:
18614 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18615 (gst_xml_registry_class_init), (gst_xml_registry_init),
18616 (gst_xml_registry_new), (gst_xml_registry_set_property),
18617 (gst_xml_registry_get_property), (get_time), (make_dir),
18618 (gst_xml_registry_get_perms_func),
18619 (plugin_times_older_than_recurse), (plugin_times_older_than),
18620 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18621 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18622 (add_to_char_array), (read_string), (read_uint), (read_enum),
18623 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18624 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18625 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18626 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18627 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18628 (gst_xml_registry_rebuild):
18629 * gst/registries/gstlibxmlregistry.h:
18630 * tools/gst-compprep.c: (main):
18631 * tools/gst-inspect.c: (print_pad_templates_info):
18632 * tools/gst-xmlinspect.c: (print_element_info):
18633 Use libxml2 for registry parsing, use staticpadtemplates in
18634 elementfactories. Makes gst_init() +/- 10x faster.
18636 2005-04-12 Wim Taymans <wim@fluendo.com>
18638 * gst/base/Makefile.am:
18639 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18640 (gst_basesink_pad_getcaps), (gst_basesink_init),
18641 (gst_basesink_event), (gst_basesink_change_state):
18642 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18643 (gst_basesrc_init), (gst_basesrc_query),
18644 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18645 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18646 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18647 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18648 (gst_basesrc_stop), (gst_basesrc_activate),
18649 (gst_basesrc_change_state):
18650 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18651 (helper_find_suggest), (gst_type_find_helper):
18652 * gst/base/gsttypefindhelper.h:
18653 * gst/elements/Makefile.am:
18654 * gst/elements/gstelements.c:
18655 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18656 (gst_fakesink_get_times), (gst_fakesink_event),
18657 (gst_fakesink_preroll), (gst_fakesink_render):
18658 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18659 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18660 (gst_fakesrc_get_property), (gst_fakesrc_create),
18661 (gst_fakesrc_start), (gst_fakesrc_stop):
18662 * gst/elements/gstfakesrc.h:
18663 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18664 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18665 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18666 (gst_filesrc_create_read), (gst_filesrc_create),
18667 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18668 (gst_filesrc_start):
18669 * gst/elements/gsttypefindelement.c:
18670 (gst_type_find_element_have_type), (gst_type_find_element_init),
18671 (start_typefinding), (stop_typefinding), (push_buffer_store),
18672 (gst_type_find_element_handle_event),
18673 (gst_type_find_element_chain),
18674 (gst_type_find_element_checkgetrange),
18675 (gst_type_find_element_getrange), (do_typefind),
18676 (gst_type_find_element_activate),
18677 (gst_type_find_element_change_state):
18678 * gst/elements/gsttypefindelement.h:
18679 * gst/gstpipeline.c: (pipeline_bus_handler):
18680 Added typefind helper.
18681 Small preroll fix in the base sink.
18682 Disable typefind code in basesrc.
18683 Crude port of typefindelement.
18687 2005-04-11 Wim Taymans <wim@fluendo.com>
18689 * check/gst/gstbus.c: (gstbus_suite):
18690 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18691 * check/gstcheck.h:
18692 Fix up the timeout so that the test does not fail.
18694 2005-04-06 Wim Taymans <wim@fluendo.com>
18697 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18698 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18699 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18700 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18701 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18702 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18703 (gst_basesrc_stop), (gst_basesrc_activate),
18704 (gst_basesrc_change_state), (basesrc_find_peek),
18705 (basesrc_find_suggest), (gst_basesrc_type_find):
18706 * gst/base/gstbasesrc.h:
18707 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18708 (gst_filesrc_class_init), (gst_filesrc_init),
18709 (gst_filesrc_finalize), (gst_filesrc_set_location),
18710 (gst_filesrc_set_property), (gst_filesrc_get_property),
18711 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18712 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18713 (gst_filesrc_create_read), (gst_filesrc_create),
18714 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18715 * gst/elements/gstfilesrc.h:
18716 * gst/gstelement.c: (gst_element_get_state_func),
18717 (gst_element_lost_state), (gst_element_pads_activate):
18718 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18719 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18720 (gst_pad_pull_range):
18722 More work on the generic source base class, implement seeking,
18724 Make filesrc extend the base source class.
18725 Added gst_pad_set_checkgetrange_function to GstPad.
18727 2005-04-06 Andy Wingo <wingo@pobox.com>
18729 * pkgconfig/gstreamer-base.pc.in:
18730 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18732 * pkgconfig/Makefile.am:
18733 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18735 2005-04-04 Wim Taymans <wim@fluendo.com>
18737 * gst/base/Makefile.am:
18739 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18740 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18741 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18742 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18743 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18744 (gst_basesrc_base_init), (gst_basesrc_class_init),
18745 (gst_basesrc_init), (gst_basesrc_get_formats),
18746 (gst_basesrc_get_query_types), (gst_basesrc_query),
18747 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18748 (gst_basesrc_set_property), (gst_basesrc_get_property),
18749 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18750 (gst_basesrc_loop), (gst_basesrc_activate),
18751 (gst_basesrc_change_state):
18752 * gst/base/gstbasesrc.h:
18753 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18754 (gst_fakesrc_class_init), (gst_fakesrc_init),
18755 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18756 (gst_fakesrc_get_property), (gst_fakesrc_create):
18757 * gst/elements/gstfakesrc.h:
18758 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18759 (gst_filesrc_open_file), (gst_filesrc_loop),
18760 (gst_filesrc_activate), (filesrc_find_peek),
18761 (gst_filesrc_type_find):
18762 Made base source class, make fakesrc extend it.
18763 Add comments to basesink class.
18764 Some filesrc cleanup.
18766 2005-03-31 David Schleef <ds@schleef.org>
18768 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18769 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18770 expected to link against libgstreamer.
18771 * gst/base/Makefile.am: link against libgstreamer
18772 * gst/elements/Makefile.am: same
18774 2005-03-31 Andy Wingo <wingo@pobox.com>
18776 * tests/instantiate/Makefile.am:
18777 * tests/instantiate/caps.c: Add test to test speed of caps copy
18780 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18781 GMemChunk to be fair.
18783 * gst/gsttrashstack.h: Remove warning about using the fallback
18784 trash stack implementation, it's still faster than malloc.
18786 2005-03-30 Andy Wingo <wingo@pobox.com>
18788 * tests/complexity.c: Add a copyright.
18790 2005-03-31 Wim Taymans <wim@fluendo.com>
18792 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18793 (gst_base_transform_class_init), (gst_base_transform_init),
18794 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18795 (gst_base_transform_get_property),
18796 (gst_base_transform_sink_activate),
18797 (gst_base_transform_src_activate),
18798 (gst_base_transform_change_state):
18799 * gst/base/gstbasetransform.h:
18800 * gst/elements/gstidentity.c: (gst_identity_class_init),
18801 (gst_identity_event), (gst_identity_check_perfect),
18802 (gst_identity_transform), (gst_identity_start),
18803 (gst_identity_stop):
18804 Added start/stop methods to transform base class so subclasses
18805 don't need to deal with state changes even.
18807 2005-03-31 Wim Taymans <wim@fluendo.com>
18809 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18810 (gst_event_new_discontinuous), (gst_event_discont_get_value):
18812 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18813 (gst_pad_pull_range):
18814 Added rate to the discont event to prepare for variable speed
18815 and reverse playback.
18817 2005-03-29 David Schleef <ds@schleef.org>
18820 * testsuite/trigger/Makefile.am:
18821 * testsuite/trigger/trigger.c: A little example program to show
18822 how trigger-based elements can work.
18824 2005-03-29 Wim Taymans <wim@fluendo.com>
18826 * gst/base/Makefile.am:
18828 * gst/base/gstbasesink.c: (gst_basesink_get_type),
18829 (gst_basesink_base_init), (gst_basesink_class_init),
18830 (gst_basesink_pad_getcaps), (gst_basesink_init),
18831 (gst_basesink_activate), (gst_basesink_change_state):
18832 * gst/base/gstbasesink.h:
18833 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18834 (gst_base_transform_base_init), (gst_base_transform_finalize),
18835 (gst_base_transform_class_init), (gst_base_transform_init),
18836 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18837 (gst_base_transform_event), (gst_base_transform_getrange),
18838 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18839 (gst_base_transform_set_property),
18840 (gst_base_transform_get_property),
18841 (gst_base_transform_sink_activate),
18842 (gst_base_transform_src_activate),
18843 (gst_base_transform_change_state):
18844 * gst/base/gstbasetransform.h:
18845 * gst/elements/gstidentity.c: (gst_identity_finalize),
18846 (gst_identity_class_init), (gst_identity_init),
18847 (gst_identity_event), (gst_identity_check_perfect),
18848 (gst_identity_transform), (gst_identity_set_property),
18849 (gst_identity_get_property), (gst_identity_change_state):
18850 * gst/elements/gstidentity.h:
18851 * gst/gstelement.c: (gst_element_get_state_func),
18852 (gst_element_lost_state), (gst_element_pads_activate):
18853 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18854 (gst_pad_check_pull_range), (gst_pad_pull_range):
18856 Simplify pad activation.
18857 Added function to check if pull_range can be performed.
18858 Error out when pulling inactive or flushing pads.
18859 Removed const from refcounted types as it does not make sense.
18860 Simplify pad templates in basesink
18861 Added base class for simple 1-to-1 transforms.
18862 Make identity subclass the base transform.
18864 2005-03-29 Andy Wingo <wingo@pobox.com>
18866 * docs/libs/gstreamer-libs-overrides.txt:
18867 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18868 really don't understand what's going on, but like whatever. I want
18871 * docs/gst/Makefile.am:
18872 * docs/libs/Makefile.am: Dist the overrides files.
18874 * check/Makefile.am (clean-local): Remove .libs directories.
18876 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18877 elements to EXTRA_DIST, so po/ files are happy.
18879 * po/POTFILES.in: Er, remove it here.
18881 * po/POTFILES: Remove gstspider.c.
18883 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18885 * docs/libs/gstreamer-libs-docs.sgml:
18886 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18889 * tests/complexity.c (main): Set the length of the preroll queue
18890 on the sinks to prevent a lockup.
18892 * libs/gst/dataprotocol/Makefile.am:
18893 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18894 the same as the one in check/gst-libs/gdp.c.
18896 * po/, docs/gst/: Commit automatic changes to docs and po files.
18898 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18899 the versioned libgstbase.
18901 * check/Makefile.am: Depend on an unversioned gst-register, seems
18902 to make autoconf happier.
18904 * gst/base/Makefile.am: Make libgstbase a versioned lib.
18906 2005-03-28 Wim Taymans <wim@fluendo.com>
18909 * docs/design/part-gstelement.txt:
18910 * docs/design/part-negotiation.txt:
18911 * docs/design/part-preroll.txt:
18912 * docs/design/part-scheduling.txt:
18913 * docs/design/part-states.txt:
18915 * gst/base/Makefile.am:
18917 * gst/base/gstbasesink.c: (gst_basesink_get_template),
18918 (gst_basesink_base_init), (gst_basesink_class_init),
18919 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18920 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18921 (gst_basesink_set_pad_functions),
18922 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
18923 (gst_basesink_set_property), (gst_basesink_get_property),
18924 (gst_base_sink_get_template), (gst_base_sink_get_caps),
18925 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
18926 (gst_basesink_preroll_queue_push),
18927 (gst_basesink_preroll_queue_empty),
18928 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
18929 (gst_basesink_event), (gst_basesink_get_times),
18930 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
18931 (gst_basesink_chain_unlocked), (gst_basesink_chain),
18932 (gst_basesink_loop), (gst_basesink_activate),
18933 (gst_basesink_change_state):
18934 * gst/base/gstbasesink.h:
18935 * gst/elements/Makefile.am:
18936 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
18937 (gst_fakesink_class_init), (gst_fakesink_init),
18938 (gst_fakesink_set_property), (gst_fakesink_get_property),
18939 (gst_fakesink_get_times), (gst_fakesink_event),
18940 (gst_fakesink_preroll), (gst_fakesink_render),
18941 (gst_fakesink_change_state):
18942 * gst/elements/gstfakesink.h:
18943 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18944 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
18945 * gst/gstelement.c: (gst_element_add_pad),
18946 (gst_element_get_state_func), (gst_element_abort_state),
18947 (gst_element_commit_state), (gst_element_lost_state),
18948 (gst_element_set_state), (gst_element_pads_activate):
18949 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
18950 * gst/gstpipeline.c: (gst_pipeline_send_event),
18951 (gst_pipeline_change_state):
18952 Added state change code.
18953 Added/updated docs.
18954 Added sink base class, make fakesink extend the base class.
18955 Small cleanups in GstPipeline.
18957 2005-03-26 David Schleef <ds@schleef.org>
18959 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
18960 is broken and should be implemented in a different library.
18961 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
18962 * gst/gst.h: remove gstcpu.h
18963 * gst/gstcpu.c: remove
18964 * gst/gstcpu.h: remove
18965 * gst/Makefile.am.future: Remove this file. It's ancient.
18967 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18969 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
18970 (gst_bin_send_event):
18971 Add default event/set_manager handlers. The set_manager handler
18972 takes care that the manager is distributed over kids that were
18973 already in the bin before the manager was set. The event handler
18974 is a utility virtual function that sends the event over all sinks,
18975 so that gst_element_send_event (bin, event); has the expected
18977 * gst/gstpad.c: (gst_pad_event_default):
18978 Re-install default event handling for discontinuities, so that
18979 seeking works without requiring hacks in applications or extra
18981 * gst/gstpipeline.c: (gst_pipeline_class_init),
18982 (gst_pipeline_send_event):
18983 Half hack, half utility: set a pipeline to PAUSED for seek events,
18984 since that is the only way we can guarantee a/v sync. Means that
18985 you can do gst_element_seek (pipeline, method, pos); on a pipeline
18986 and it "just works".
18988 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18990 * gst/gstpipeline.c: (gst_pipeline_use_clock):
18991 Lock/unlock mismatch.
18993 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
18995 * docs/faq/gst-uninstalled:
18996 add gst-plugins-base
18997 * docs/gst/Makefile.am:
18998 don't error out until docs are fixed
18999 * docs/gst/gstreamer.types:
19002 2005-03-22 Wim Taymans <wim@fluendo.com>
19004 * check/Makefile.am:
19005 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19006 * gst/gststructure.c: (gst_structure_set_valist),
19007 (gst_structure_copy_conditional):
19008 Activated more tests.
19009 Added message test.
19010 Added G_TYPE_POINTER to GstStructure.
19013 2005-03-22 Wim Taymans <wim@fluendo.com>
19015 * docs/design/part-TODO.txt:
19016 * docs/design/part-events.txt:
19017 * docs/design/part-gstbin.txt:
19018 * docs/design/part-gstbus.txt:
19019 * docs/design/part-gstpipeline.txt:
19020 * docs/design/part-messages.txt:
19022 * gst/gstmessage.c:
19025 2005-03-21 Wim Taymans <wim@fluendo.com>
19027 * gst/gstbus.c: (gst_bus_post):
19028 Fix copy-and-paste error.
19030 2005-03-21 Wim Taymans <wim@fluendo.com>
19032 * check/Makefile.am:
19034 * gst/elements/Makefile.am:
19035 * gst/elements/gstelements.c:
19036 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19037 (gst_fakesink_event), (gst_fakesink_chain):
19038 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19039 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19040 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19041 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19042 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19043 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19044 (gst_fakesrc_loop), (gst_fakesrc_activate),
19045 (gst_fakesrc_change_state):
19046 * gst/elements/gstfakesrc.h:
19047 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19048 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19049 (gst_filesrc_open_file), (gst_filesrc_loop),
19050 (gst_filesrc_activate), (gst_filesrc_change_state),
19051 (filesrc_find_peek), (filesrc_find_suggest),
19052 (gst_filesrc_type_find):
19053 * gst/elements/gstidentity.c: (gst_identity_finalize),
19054 (gst_identity_class_init), (gst_identity_init),
19055 (gst_identity_proxy_getcaps), (identity_queue_push),
19056 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19057 (gst_identity_getrange), (gst_identity_chain),
19058 (gst_identity_sink_loop), (gst_identity_src_loop),
19059 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19060 (gst_identity_set_property), (gst_identity_get_property),
19061 (gst_identity_change_state):
19062 * gst/elements/gstidentity.h:
19063 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19064 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19065 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19066 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19067 (gst_tee_sink_activate):
19068 * gst/elements/gsttee.h:
19069 * gst/gst.c: (gst_register_core_elements), (init_post):
19071 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19072 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19073 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19074 (gst_bin_change_state):
19076 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19077 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19078 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19079 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19080 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19081 (bus_watch_callback), (bus_watch_destroy),
19082 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19083 (poll_timeout), (gst_bus_poll):
19087 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19088 (gst_element_post_message), (gst_element_message_full),
19089 (gst_element_get_state_func), (gst_element_get_state),
19090 (gst_element_abort_state), (gst_element_commit_state),
19091 (gst_element_lost_state), (gst_element_set_state),
19092 (gst_element_pads_activate), (gst_element_change_state),
19093 (gst_element_dispose), (gst_element_set_manager_func),
19094 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19095 (gst_element_set_manager), (gst_element_get_manager),
19096 (gst_element_set_bus), (gst_element_get_bus),
19097 (gst_element_set_scheduler), (gst_element_get_scheduler):
19098 * gst/gstelement.h:
19099 * gst/gstevent.c: (gst_event_new_segment_seek),
19100 (gst_event_new_flush):
19102 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19103 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19104 (gst_message_new_eos), (gst_message_new_error),
19105 (gst_message_new_warning), (gst_message_new_tag),
19106 (gst_message_new_state_changed), (gst_message_new_application),
19107 (gst_message_get_structure), (gst_message_parse_tag),
19108 (gst_message_parse_state_changed), (gst_message_parse_error),
19109 (gst_message_parse_warning):
19110 * gst/gstmessage.h:
19111 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19112 (gst_real_pad_set_property), (gst_pad_set_active),
19113 (gst_pad_is_active), (gst_pad_set_blocked_async),
19114 (gst_pad_set_blocked), (gst_pad_is_blocked),
19115 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19116 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19117 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19118 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19119 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19120 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19121 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19122 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19123 (gst_pad_set_caps), (gst_pad_configure_sink),
19124 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19125 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19126 (gst_real_pad_dispose), (gst_real_pad_finalize),
19127 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19128 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19129 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19131 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19132 (pipeline_bus_handler), (gst_pipeline_change_state),
19133 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19134 * gst/gstpipeline.h:
19136 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19137 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19138 (gst_queue_link_src), (gst_queue_bufferalloc),
19139 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19140 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19141 (gst_queue_loop), (gst_queue_handle_src_event),
19142 (gst_queue_handle_src_query), (gst_queue_src_activate),
19143 (gst_queue_change_state):
19145 * gst/gstscheduler.c: (gst_scheduler_init),
19146 (gst_scheduler_dispose), (gst_scheduler_create_task),
19147 (gst_scheduler_factory_create):
19148 * gst/gstscheduler.h:
19149 * gst/gststructure.c: (gst_structure_get_type),
19150 (gst_structure_copy_conditional):
19151 * gst/gststructure.h:
19152 * gst/gsttaginterface.h:
19153 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19154 (gst_task_init), (gst_task_dispose), (gst_task_create),
19155 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19161 * gst/schedulers/Makefile.am:
19162 * gst/schedulers/cothreads_compat.h:
19163 * gst/schedulers/entryscheduler.c:
19164 * gst/schedulers/faircothreads.c:
19165 * gst/schedulers/faircothreads.h:
19166 * gst/schedulers/fairscheduler.c:
19167 * gst/schedulers/gstbasicscheduler.c:
19168 * gst/schedulers/gstoptimalscheduler.c:
19169 * gst/schedulers/gthread-cothreads.h:
19170 * gst/schedulers/threadscheduler.c:
19171 (gst_thread_scheduler_task_get_type),
19172 (gst_thread_scheduler_task_class_init),
19173 (gst_thread_scheduler_task_init),
19174 (gst_thread_scheduler_task_start),
19175 (gst_thread_scheduler_task_stop),
19176 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19177 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19178 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19179 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19181 * libs/gst/Makefile.am:
19182 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19183 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19184 (gst_file_pad_parent_set):
19185 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19186 (gst_dp_event_from_packet):
19187 * tests/complexity.c: (main):
19188 * tests/mass_elements.c: (main):
19189 * testsuite/states/locked.c: (message_received), (main):
19190 * testsuite/states/parent.c: (main):
19191 * tools/gst-inspect.c: (print_element_flag_info),
19192 (print_implementation_info), (print_pad_info):
19193 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19195 * tools/gst-md5sum.c: (event_loop), (main):
19196 * tools/gst-typefind.c: (main):
19197 * tools/gst-xmlinspect.c: (print_element_info):
19199 Added GstBus for mainloop integration.
19200 Added GstMessage for sending notifications on the bus.
19201 Added GstTask as an abstraction for pipeline entry points.
19203 Removed Schedulers.
19204 Simplified GstQueue for multithreaded core.
19205 Made _link threadsafe, removed old capsnego.
19206 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19207 Added pad blocking functions.
19208 Reworked scheduling functions in GstPad to prepare for
19209 scheduling updates soon.
19210 Moved events out of data stream.
19211 Simplified GstEvent types.
19212 Added return values to push/pull.
19213 Removed clocking from GstElement.
19214 Added prototypes for state change function for next merge.
19215 Removed iterate from bins and state change management.
19216 Fixed some elements, disabled others for now.
19217 Fixed -inspect and -launch.
19218 Added check for GstBus.
19220 2005-03-10 Wim Taymans <wim@fluendo.com>
19222 * docs/design/part-MT-refcounting.txt:
19223 * docs/design/part-clocks.txt:
19224 * docs/design/part-gstelement.txt:
19225 * docs/design/part-gstobject.txt:
19226 * docs/design/part-standards.txt:
19227 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19228 (gst_bin_remove_func), (gst_bin_remove):
19232 * testsuite/clock/clock1.c: (main):
19233 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19235 * testsuite/dlopen/loadgst.c: (do_test):
19236 * testsuite/refcounting/bin.c: (add_remove_test1),
19237 (add_remove_test2), (main):
19238 * testsuite/refcounting/element.c: (main):
19239 * testsuite/refcounting/element_pad.c: (main):
19240 * testsuite/refcounting/pad.c: (main):
19241 * tools/gst-launch.c: (sigint_handler_sighandler):
19242 * tools/gst-typefind.c: (main):
19244 Added doc about clock.
19245 removed gst_bin_iterate_recurse_up(), marked methods
19247 Fix more testsuites.
19249 2005-03-09 Wim Taymans <wim@fluendo.com>
19251 * gst/gstpad.c: (gst_pad_get_direction),
19252 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19253 (gst_pad_collect_valist):
19254 * testsuite/bins/interface.c: (main):
19255 * testsuite/caps/audioscale.c: (test_caps):
19256 * testsuite/caps/caps.c: (test1), (test2), (test3):
19257 * testsuite/caps/deserialize.c: (main):
19258 * testsuite/caps/enumcaps.c: (main):
19259 * testsuite/caps/filtercaps.c: (main):
19260 * testsuite/caps/intersect2.c: (main):
19261 * testsuite/caps/random.c: (main):
19262 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19263 * testsuite/caps/sets.c: (check_caps):
19264 * testsuite/caps/simplify.c: (check_caps), (main):
19265 * testsuite/caps/subtract.c: (check_caps):
19266 Fix _pad_get_direction wrt ghostpads.
19267 Fix caps testsuite.
19269 2005-03-09 Wim Taymans <wim@fluendo.com>
19271 * check/Makefile.am:
19272 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19273 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19274 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19275 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19276 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19277 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19278 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19279 (bin_element_is_sink), (gst_bin_iterate_sinks),
19280 (gst_bin_iterate_all_by_interface):
19282 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19283 (gst_element_change_state), (gst_element_dispose),
19284 (gst_element_finalize), (gst_element_set_loop_function):
19285 * gst/gstelement.h:
19286 * gst/gstiterator.c: (find_custom_fold_func):
19287 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19288 (gst_pad_collectv), (gst_pad_collect_valist),
19289 (gst_pad_template_new):
19290 * gst/gstpipeline.c: (gst_pipeline_class_init),
19291 (gst_pipeline_dispose), (gst_pipeline_set_property),
19292 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19293 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19294 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19296 * gst/schedulers/entryscheduler.c:
19297 * gst/schedulers/gstbasicscheduler.c:
19298 (gst_basic_scheduler_cothreaded_chain),
19299 (gst_basic_scheduler_chain_add_element):
19300 * testsuite/bins/interface.c: (main):
19302 Added GstSystemClock test.
19303 Implemented clock distribution code in GstBin.
19304 Implemented iterate sinks method for future use.
19305 Rearranged gstelement.h
19306 Fix GstIterator comparison bug.
19307 Moved some code to GstPipeline, mostly clocking related.
19309 2005-03-09 Wim Taymans <wim@fluendo.com>
19312 * gst/gst_private.h:
19313 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19314 (gst_bin_remove_func), (gst_bin_remove),
19315 (gst_bin_get_by_name_recurse_up):
19316 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19317 (gst_clock_id_compare_func), (gst_clock_id_wait),
19318 (gst_clock_id_wait_async), (gst_clock_init),
19319 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19320 * gst/gstelement.h:
19321 * gst/gstinfo.c: (_gst_debug_init):
19323 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19324 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19326 Bump version number, we're now 0.9.0
19327 Add future debugging category.
19328 Fix NULL _unref() in _get_by_name_recurse_up
19329 Rearrange gstpad.h.
19332 2005-03-08 Wim Taymans <wim@fluendo.com>
19334 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19335 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19336 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19337 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19338 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19339 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19340 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19341 * gst/elements/gstidentity.c: (gst_identity_class_init):
19342 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19343 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19344 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19345 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19346 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19348 * gst/gstelement.c: (gst_element_class_init),
19349 (gst_element_base_class_init), (gst_element_init),
19350 (gst_element_get_random_pad), (gst_element_wait_state_change),
19351 (gst_element_change_state), (gst_element_dispose),
19352 (gst_element_finalize), (gst_element_set_loop_function):
19353 * gst/gstelement.h:
19354 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19355 * gst/gstthread.c: (gst_thread_class_init),
19356 (gst_thread_release_children_locks), (gst_thread_change_state):
19357 * gst/schedulers/gstbasicscheduler.c:
19358 (gst_basic_scheduler_loopfunc_wrapper),
19359 (gst_basic_scheduler_chain_wrapper),
19360 (gst_basic_scheduler_src_wrapper),
19361 (gst_basic_scheduler_remove_element):
19362 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19363 Remove threadsafe properties. Fix elements because GObject
19364 complains when installing a property before declaring a
19365 set/get_property handler.
19366 Rearrange gstelement.h file, use STATE macros for state locks.
19367 Free mutexes in the finalize method instead of dispose.
19369 2005-03-08 Wim Taymans <wim@fluendo.com>
19371 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19372 * gst/gstthread.c: (gst_thread_release_children_locks):
19373 Added parentage check.
19374 Fix build og GstThread again.
19376 2005-03-08 Wim Taymans <wim@fluendo.com>
19378 * docs/design/part-MT-refcounting.txt:
19379 * docs/design/part-conventions.txt:
19380 * docs/design/part-gstobject.txt:
19381 * docs/design/part-relations.txt:
19382 * docs/design/part-standards.txt:
19383 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19384 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19385 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19386 (gst_bin_iterate_all_by_interface):
19389 * gst/gstelement.c: (gst_element_class_init),
19390 (gst_element_change_state), (gst_element_set_loop_function):
19391 * gst/gstelement.h:
19392 * gst/gstiterator.c:
19393 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19394 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19395 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19396 (gst_object_set_parent), (gst_object_unparent),
19397 (gst_object_check_uniqueness):
19399 Docs updates, clean up some headers.
19401 2005-03-07 Wim Taymans <wim@fluendo.com>
19403 * check/.cvsignore:
19404 * check/Makefile.am:
19405 * check/gst-libs/.cvsignore:
19406 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19407 * check/gst/.cvsignore:
19408 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19409 (START_TEST), (gstbus_suite), (main):
19410 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19411 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19412 (gst_data_suite), (main):
19413 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19414 (add_fold_func), (gstiterator_suite), (main):
19415 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19416 (thread_name_object), (thread_name_object_default),
19417 (gst_object_name_compare), (gst_object_suite), (main):
19418 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19419 (gst_pad_suite), (main):
19420 * check/gstcheck.c: (gst_check_log_message_func),
19421 (gst_check_log_critical_func), (gst_check_init):
19422 * check/gstcheck.h:
19423 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19424 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19427 2005-03-07 Wim Taymans <wim@fluendo.com>
19429 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19430 (gst_list_iterator_next), (gst_list_iterator_resync),
19431 (gst_list_iterator_free), (gst_iterator_new_list),
19432 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19433 (gst_iterator_free), (gst_iterator_push), (filter_next),
19434 (filter_resync), (filter_uninit), (filter_free),
19435 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19436 (gst_iterator_foreach), (find_custom_fold_func),
19437 (gst_iterator_find_custom):
19438 * gst/gstiterator.h:
19439 Added missing files.
19441 2005-03-07 Wim Taymans <wim@fluendo.com>
19445 * docs/design/part-MT-refcounting.txt:
19446 * docs/design/part-conventions.txt:
19447 * docs/design/part-gstobject.txt:
19448 * docs/design/part-relations.txt:
19449 * examples/mixer/mixer.c: (main):
19450 * examples/thread/thread.c: (eos), (main):
19452 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19453 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19454 (gst_spider_plug_from_srcpad):
19455 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19456 (gst_spider_identity_change_state),
19457 (gst_spider_identity_sink_loop_type_finding):
19458 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19459 * gst/elements/gstidentity.c: (gst_identity_init):
19460 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19461 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19462 * gst/elements/gsttypefindelement.c: (free_entry):
19465 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19466 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19467 (gst_bin_set_index), (gst_bin_set_element_sched),
19468 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19469 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19470 (gst_bin_iterate_elements), (iterate_child_recurse),
19471 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19472 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19473 (compare_interface), (gst_bin_get_by_interface),
19474 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19476 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19477 (gst_buffer_default_free), (gst_buffer_default_copy),
19478 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19479 (gst_buffer_create_sub):
19481 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19482 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19483 (gst_caps_unref), (gst_static_caps_get),
19484 (gst_caps_remove_and_get_structure), (gst_caps_append),
19485 (gst_caps_append_structure), (gst_caps_remove_structure),
19486 (gst_caps_copy_nth), (gst_caps_set_simple),
19487 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19488 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19489 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19490 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19491 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19492 (gst_caps_structure_figure_out_union),
19493 (gst_caps_switch_structures), (gst_caps_do_simplify),
19494 (gst_caps_replace), (gst_caps_from_string),
19495 (gst_caps_copy_conditional):
19497 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19498 (_gst_clock_id_free), (gst_clock_id_unref),
19499 (gst_clock_id_compare_func), (gst_clock_id_wait),
19500 (gst_clock_id_wait_async), (gst_clock_class_init),
19501 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19502 (gst_clock_get_time), (gst_clock_set_time_adjust),
19503 (gst_clock_set_property), (gst_clock_get_property):
19506 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19507 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19509 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19510 (gst_element_requires_clock), (gst_element_provides_clock),
19511 (gst_element_set_clock), (gst_element_clock_wait),
19512 (gst_element_wait), (gst_element_set_time_delay),
19513 (gst_element_is_indexable), (gst_element_add_pad),
19514 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19515 (pad_compare_name), (gst_element_get_static_pad),
19516 (gst_element_request_pad), (gst_element_get_request_pad),
19517 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19518 (gst_element_class_get_pad_template_list),
19519 (gst_element_class_get_pad_template), (gst_element_error_func),
19520 (gst_element_get_random_pad), (gst_element_get_event_masks),
19521 (gst_element_send_event), (gst_element_seek),
19522 (gst_element_get_query_types), (gst_element_query),
19523 (gst_element_get_formats), (gst_element_convert),
19524 (gst_element_is_locked_state), (gst_element_set_locked_state),
19525 (gst_element_sync_state_with_parent), (gst_element_change_state),
19526 (gst_element_finalize), (gst_element_yield),
19527 (gst_element_interrupt), (gst_element_set_scheduler),
19528 (gst_element_get_scheduler), (gst_element_set_loop_function):
19529 * gst/gstelement.h:
19531 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19532 (gst_format_get_by_nick), (gst_format_get_details),
19533 (gst_format_iterate_definitions):
19535 * gst/gstindex.c: (gst_index_gtype_resolver):
19538 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19539 (gst_mem_chunk_free):
19540 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19541 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19542 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19543 (gst_object_dispatch_properties_changed),
19544 (gst_object_set_name_default), (gst_object_set_name),
19545 (gst_object_get_name), (gst_object_set_name_prefix),
19546 (gst_object_get_name_prefix), (gst_object_set_parent),
19547 (gst_object_get_parent), (gst_object_unparent),
19548 (gst_object_check_uniqueness), (gst_object_save_thyself),
19549 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19550 (gst_object_set_property), (gst_object_get_property),
19551 (gst_object_get_path_string):
19553 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19554 (gst_real_pad_init), (gst_real_pad_get_property),
19555 (gst_pad_custom_new), (gst_pad_get_direction),
19556 (gst_pad_set_active), (gst_pad_is_active),
19557 (gst_pad_set_event_function), (gst_pad_is_linked),
19558 (gst_pad_link_free), (gst_pad_link_intersect),
19559 (gst_pad_link_fixate), (gst_pad_set_caps),
19560 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19561 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19562 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19563 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19564 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19565 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19566 (gst_pad_realize), (gst_pad_get_allowed_caps),
19567 (gst_real_pad_dispose), (gst_real_pad_finalize),
19568 (gst_pad_collectv), (gst_pad_collect_valist),
19569 (gst_pad_template_dispose), (gst_pad_template_new),
19570 (gst_pad_get_internal_links):
19572 * gst/gstpipeline.c: (gst_pipeline_dispose),
19573 (gst_pipeline_change_state):
19574 * gst/gstpipeline.h:
19576 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19577 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19578 * gst/gstpluginfeature.h:
19579 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19580 * gst/gstquery.c: (_gst_query_type_initialize),
19581 (gst_query_type_register), (gst_query_type_get_by_nick),
19582 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19584 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19585 * gst/gstscheduler.c: (gst_scheduler_add_element),
19586 (gst_scheduler_factory_create):
19587 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19588 (gst_structure_free), (gst_structure_set_name),
19589 (gst_structure_id_set_value), (gst_structure_set_value),
19590 (gst_structure_set_valist), (gst_structure_remove_field),
19591 (gst_structure_remove_fields),
19592 (gst_structure_remove_fields_valist),
19593 (gst_structure_remove_all_fields), (gst_structure_foreach),
19594 (gst_structure_map_in_place),
19595 (gst_caps_structure_fixate_field_nearest_int),
19596 (gst_caps_structure_fixate_field_nearest_double):
19597 * gst/gststructure.h:
19598 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19599 (gst_system_clock_init), (gst_system_clock_dispose),
19600 (gst_system_clock_async_thread),
19601 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19602 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19603 * gst/gstsystemclock.h:
19604 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19605 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19606 * gst/gsttaginterface.c:
19607 * gst/gstthread.c: (gst_thread_dispose),
19608 (gst_thread_release_children_locks), (gst_thread_change_state),
19609 (gst_thread_main_loop):
19610 * gst/gsttrashstack.h:
19611 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19613 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19614 (gst_element_request_pad), (gst_element_get_pad_from_template),
19615 (gst_element_request_compatible_pad),
19616 (gst_element_get_compatible_pad_filtered),
19617 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19618 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19619 (gst_element_link_many), (gst_element_link),
19620 (gst_element_link_pads), (gst_element_unlink_pads),
19621 (gst_element_unlink_many), (gst_element_unlink),
19622 (gst_pad_can_link_filtered), (gst_pad_can_link),
19623 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19624 (gst_object_default_error), (gst_bin_add_many),
19625 (gst_bin_remove_many), (gst_element_populate_std_props),
19626 (gst_element_class_install_std_props), (gst_buffer_merge),
19627 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19628 (link_fold_func), (gst_pad_proxy_setcaps):
19630 * gst/gstvalue.c: (gst_value_deserialize_string):
19631 * gst/parse/grammar.y:
19632 * gst/schedulers/gstbasicscheduler.c:
19633 (gst_basic_scheduler_cothreaded_chain),
19634 (gst_basic_scheduler_chain_recursive_add),
19635 (gst_basic_scheduler_pad_link):
19636 * gst/schedulers/gstoptimalscheduler.c:
19637 (get_group_schedule_function),
19638 (gst_opt_scheduler_state_transition),
19639 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19640 * libs/gst/bytestream/bytestream.c:
19641 * libs/gst/dataprotocol/dataprotocol.c:
19642 (gst_dp_header_from_buffer):
19645 * tests/threadstate/threadstate2.c: (eos):
19646 * tools/gst-compprep.c: (main):
19647 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19648 (print_pad_info), (print_children_info):
19649 * tools/gst-launch.c: (idle_func), (main):
19650 * tools/gst-md5sum.c: (idle_func), (main):
19651 * tools/gst-xmlinspect.c: (print_element_info):
19652 First THREADED backport attempt, focusing on adding locks and
19653 making sure the API is threadsafe. Needs more work. More docs
19656 2005-02-24 Andy Wingo <wingo@pobox.com>
19658 * tests/bench-complexity.scm:
19659 * tests/complexity.gnuplot: New files, good for running complexity
19662 * tests/Makefile.am:
19663 * tests/complexity.c: New test, sets up N elements, at each level
19664 teeing into M streams per element. Eeeenteresting.
19666 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19667 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19668 running bench-mass_elements.scm.
19670 * tests/bench-mass_elements.scm: New script, runs mass_elements
19671 for various numbers of identities, outputting the results to a
19672 file. Requires guile 1.6. Just for testing.
19674 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19676 * gst/schedulers/fairscheduler.c:
19677 compile with debug disabled
19679 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
19682 hunting season on 0.9 is now OPEN