1 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/gstelementfactory.c:
4 Fix typo in docs blurb.
6 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
8 * gst/gsturi.c: (search_by_entry):
9 Don't assert/crash here if a uri handler doesn't return any
10 supported protocols. The list of protocols could be generated
11 dynamically at runtime or at plugin registration, and an error
12 in the underlying library shouldn't be fatal (#353301).
14 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
17 Fix warning if HAVE_PRINTF_EXTENSION is undefined
18 (spotted by Peter Kjellerstedt).
20 2006-09-23 Wim Taymans <wim@fluendo.com>
22 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
24 * libs/gst/base/gstbasesrc.c:
25 (gst_base_src_default_check_get_range), (gst_base_src_start),
26 (gst_base_src_activate_push), (gst_base_src_activate_pull),
27 (gst_base_src_change_state):
28 Match _start/_stop calls in the activate functions. Remove redundant
29 _stop call from the state change function. Fixes #356910.
30 Turn failure DEBUG into ERROR.
32 2006-09-22 Wim Taymans <wim@fluendo.com>
34 * docs/design/part-buffering.txt:
35 * gst/gstmessage.c: (gst_message_new_buffering),
36 (gst_message_parse_buffering):
37 Update docs about buffering.
39 * docs/design/part-trickmodes.txt:
42 2006-09-22 Stefan Kost <ensonic@users.sf.net>
44 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
45 (gst_controller_new_list):
46 Ref instances when returning them again (fixes #357180)
48 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
50 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
51 Don't forget to release proxy lock when there's an error.
53 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
56 Add extra initialisers for Caps things, to fix some plugin warnings
59 2006-09-18 Wim Taymans <wim@fluendo.com>
61 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
62 Also set template on the internal pad so that a getcaps from the
63 target pad returns the template caps.
65 2006-09-18 Wim Taymans <wim@fluendo.com>
67 * gst/gstelement.c: (gst_element_post_message),
68 (gst_element_dispose):
69 Use _DEBUG_OBJECT some more.
71 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
74 * tools/gst-launch.c: (main):
75 If the toplevel element is not a GstPipeline, it must be put in a
76 pipeline so that a bus and clock is selected.
78 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
80 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
81 JITTER, RATE, and LATENCY query should be handled by the
82 default case and not by the CONVERT query code.
84 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
86 * gst/gstformat.c: (gst_format_register):
87 Fix locking order (must take lock before using n_values).
89 * gst/gstvalue.c: (gst_value_serialize_enum),
90 (gst_value_deserialize_enum_iter_cmp),
91 (gst_value_deserialize_enum):
92 Fix serialisation/deserialisation of custom registered GstFormats.
94 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
95 Unit test for custom format serialisation/deserialisation.
97 2006-09-17 Stefan Kost <ensonic@users.sf.net>
99 * docs/pwg/building-boiler.xml:
100 * plugins/elements/gstcapsfilter.c:
101 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
104 2006-09-16 Edward Hervey <edward@fluendo.com>
106 * libs/gst/base/gstbasetransform.c:
107 (gst_base_transform_buffer_alloc):
108 Check if requested caps are the same as the sinks caps IF
109 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
111 This fixes the renegotiation issues stated in #352827.
113 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
116 * docs/manual/advanced-autoplugging.xml:
117 * tests/examples/Makefile.am:
118 * tests/examples/manual/.cvsignore:
119 * tests/examples/manual/Makefile.am:
120 * tests/examples/manual/extract.pl:
121 Extract the manual examples again like we used to do.
124 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
126 * win32/common/config.h:
129 2006-09-16 Stefan Kost <ensonic@users.sf.net>
132 Documents how to receive errors.
134 2006-09-15 Wim Taymans <wim@fluendo.com>
136 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
137 (event_loop), (main):
138 Added some comments here and there.
139 Post an application message when an interrupt is caught instead of doing
140 an uncontrolled state change.
141 Clean up the event loop.
142 Handle buffering messages, pause/resume the pipeline.
143 Make shutdown because of an interrupt more reliable.
145 2006-09-15 Wim Taymans <wim@fluendo.com>
147 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
148 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
149 (gst_base_sink_preroll_object):
150 Make sure that our internal state is correct when we commit our state
151 asynchronously. This solves a race where a state change to PLAYING
152 could cause the sink to remain blocked in preroll in some situations.
154 2006-09-15 Wim Taymans <wim@fluendo.com>
156 * tools/gst-inspect.c: (print_element_properties_info),
158 List flags as hex so it's easier to deal with.
160 2006-09-15 Wim Taymans <wim@fluendo.com>
162 * docs/libs/gstreamer-libs-sections.txt:
163 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
164 (gst_base_sink_do_sync):
165 * libs/gst/base/gstbasesink.h:
166 Expose logic to wait for preroll so that subclasses such as audiosink
167 can also use this method.
168 API: gst_base_sink_wait_preroll()
170 2006-09-15 Wim Taymans <wim@fluendo.com>
172 * gst/gstobject.c: (gst_object_set_parent):
173 * gst/gstpipeline.c: (do_pipeline_seek):
174 Small cleanups in docs and code.
176 * gst/gstsegment.c: (gst_segment_clip):
177 * tests/check/gst/gstsegment.c: (GST_START_TEST):
178 if stop == start and start is in the segment, no clipping should be
179 done. Also add a test for this.
181 2006-09-15 Wim Taymans <wim@fluendo.com>
183 * docs/design/part-buffering.txt:
184 * docs/gst/gstreamer-sections.txt:
185 * gst/gstmessage.c: (gst_message_new_buffering),
186 (gst_message_parse_buffering):
188 Added methods to create and parse BUFFERING messages.
189 Added preliminary docs about buffering.
190 API: gst_message_new_buffering
191 API: gst_message_parse_buffering
193 2006-09-06 Wim Taymans <wim@fluendo.com>
196 Update documentation.
198 * gst/gstelement.c: (gst_element_class_init),
199 (gst_element_release_request_pad), (gst_element_set_clock),
200 (gst_element_get_index), (gst_element_add_pad),
201 (gst_element_remove_pad), (gst_element_get_random_pad),
202 (gst_element_send_event), (gst_element_get_query_types),
203 (gst_element_query), (gst_element_post_message),
204 (gst_element_message_full), (gst_element_continue_state),
205 (gst_element_lost_state), (gst_element_save_thyself),
206 (gst_element_restore_thyself):
207 Documentation updates.
208 Rename last bit of the new-pad -> pad-added signal rename.
209 Fix the case where an element query would only work if the source
211 Avoid some useless type checking in message handling.
216 Documentation updates.
218 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
220 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
221 add an INFO line for when we actually update the fd
223 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
228 === release 0.10.10 ===
230 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
233 releasing 0.10.10, "Pais"
235 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
237 * docs/manual/advanced-position.xml:
238 Fix typo in sample code.
240 2006-09-05 Wim Taymans <wim@fluendo.com>
242 * libs/gst/net/gstnetclientclock.c: (inet_aton),
243 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
244 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
245 * libs/gst/net/gstnetclientclock.h:
246 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
247 * libs/gst/net/gstnettimepacket.h:
248 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
249 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
250 (gst_net_time_provider_thread), (gst_net_time_provider_new):
251 * libs/gst/net/gstnettimeprovider.h:
252 Make stuff compile on windows. Fixes #345295.
254 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
256 * gst/gst.c: (ensure_current_registry_forking):
257 Print better details when child was terminated by signal.
259 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
261 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
262 Print a warning rather than g_assert() if a plugin feature
263 is a URI handler but returns no protocols (#353976).
265 2006-09-02 Stefan Kost <ensonic@users.sf.net>
267 * docs/random/moving-plugins:
270 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
272 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
273 Fix locking order, handle NULL function values properly.
278 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
279 Initialise variable before using it and fix debug statement to
280 print the address of the function rather than the address of the
281 variable on the stack holding the address of the function.
283 2006-09-01 Wim Taymans <wim@fluendo.com>
285 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
286 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
287 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
288 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
289 (gst_ghost_pad_parent_unset),
290 (gst_ghost_pad_internal_do_activate_push),
291 (gst_ghost_pad_internal_do_activate_pull),
292 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
293 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
294 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
295 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
296 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
297 (gst_ghost_pad_new_no_target_from_template),
298 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
300 Avoid needless typechecking in macros.
301 Since the internal pad is always present and never changes, there is
302 no need to locking or ref when retrieving it.
303 Improve debugging a bit.
304 Handle link errors when setting the target. Fixes #341029.
306 2006-09-01 Wim Taymans <wim@fluendo.com>
308 * docs/libs/gstreamer-libs-sections.txt:
309 * docs/plugins/gstreamer-plugins-sections.txt:
312 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
313 (gst_collect_pads_event):
314 * libs/gst/base/gstcollectpads.h:
315 Documentation updates.
316 Free queued buffer when removing a pad.
318 2006-08-31 Michael Smith <msmith@fluendo.com>
320 * gst/gstutils.c: (gst_element_link_pads),
321 (gst_element_link_pads_filtered):
322 Ensure that we set a capsfilter to NULL if we failed to link it
323 when doing filtered linking, to avoid criticals.
325 No need to check for unreffing srcpad, which is explicly NULLed
326 above (a trivial code cleanup).
328 2006-08-31 Wim Taymans <wim@fluendo.com>
330 * docs/design/part-gstghostpad.txt:
331 Update ascii art in documentation.
333 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
334 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
335 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
336 (gst_ghost_pad_internal_do_activate_push),
337 (gst_ghost_pad_internal_do_activate_pull),
338 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
339 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
340 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
341 (gst_ghost_pad_set_target):
342 Small cleanups and leak fixes.
343 Remove some checks now that the internal pad is never NULL.
344 Fix the case where linking pads without a target would create nasty
345 criticals. Fixes #341029.
346 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
347 value of _set_target().
349 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
350 (gst_ghost_pad_suite):
351 Some more tests for creating and linking untargeted ghostpads.
353 2006-08-31 Edward Hervey <edward@fluendo.com>
355 * docs/gst/gstreamer-sections.txt:
356 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
357 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
358 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
359 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
360 (gst_ghost_pad_new_from_template),
361 (gst_ghost_pad_new_no_target_from_template):
363 Refactored *_new() functions.
364 Templates are now used as a g_object_new() parameter.
365 Use template in _do_getcaps() if we don't have a target.
366 Small documentation cleanups.
367 Added two new constructors:
368 gst_ghost_pad_new_from_template()
369 gst_ghost_pad_new_no_target_from_template()
370 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
371 (gst_ghost_pad_suite):
372 Added tests for new ghostpad instanciation functions.
374 API additions: gst_ghost_pad_new_from_template,
375 gst_ghost_pad_new_no_target_from_template
377 2006-08-30 Stefan Kost <ensonic@users.sf.net>
379 * docs/random/ensonic/profiling.txt:
380 Ideas about qos profiling.
382 2006-08-29 Wim Taymans <wim@fluendo.com>
384 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
388 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
391 Improve and detypofy docs.
393 * tests/check/Makefile.am:
394 * tests/check/gst/.cvsignore:
395 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
396 Add a basic test suite for GstXML.
398 2006-08-29 Wim Taymans <wim@fluendo.com>
400 * gst/gstelement.c: (activate_pads), (clear_caps),
401 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
402 Clear the pad caps when the element shut down all of the pads and
403 is not streaming data that could modify the caps.
406 2006-08-28 Michael Smith <msmith@fluendo.com>
408 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
409 Revert previous change; I misunderstood single-segment mode.
411 2006-08-28 Michael Smith <msmith@fluendo.com>
413 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
414 Unset DISCONT on buffers when using single-segment mode.
416 2006-08-28 Wim Taymans <wim@fluendo.com>
418 * gst/gstcaps.c: (gst_caps_merge_structure):
420 Fix docs and indentation again.
422 * tests/check/gst/gstquery.c: (GST_START_TEST):
423 Fix leak in tests and add some more tests.
425 2006-08-28 Edward Hervey <edward@fluendo.com>
427 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
428 Inform GstSegment of the last stop position in order for the current
429 segment to have a proper duration if it doesn't have a specific stop
430 position from which a duration could be calculated.
431 This bug was noticeable when a non-flushing, non-update new segment was
432 followed by another segment (all buffers from the new segment were being
435 2006-08-28 Wim Taymans <wim@fluendo.com>
437 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
438 Small comment update.
440 * plugins/elements/gstidentity.c: (gst_identity_class_init),
441 (gst_identity_transform_ip):
442 Drop-probability is broken, mention this in the code with a
443 FIXME and also in the property description.
444 Make silent also be silent about the drop messages.
446 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
448 * docs/manual/appendix-win32.xml:
449 Remove mention of popt, we don't depend on that any
450 longer (#353136). Add some comments pointing out that
451 this section is slightly outdated.
453 2006-08-28 Wim Taymans <wim@fluendo.com>
455 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
457 * gst/gstquery.c: (gst_query_new_segment):
458 * tests/check/gst/gstquery.c: (GST_START_TEST):
459 Initialize variables when creating a new segment query.
462 2006-08-28 Wim Taymans <wim@fluendo.com>
464 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
466 * gst/gstelement.c: (gst_element_get_bus):
467 * tests/check/gst/gstelement.c: (GST_START_TEST):
468 Check for NULL before _reffing the bus. Fixes #353122.
470 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
472 * docs/manual/basics-bus.xml:
473 Docs update: fix wrong callback return value explanation; add
474 some lines about the implicit relationship between main loop
475 and main context; remove duplicate main loop variable declaration.
477 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
479 * tests/check/gst/gstcaps.c: (GST_START_TEST):
480 Don't leak caps in unit test; add a few more simple
483 2006-08-24 Stefan Kost <ensonic@users.sf.net>
485 * docs/gst/gstreamer-sections.txt:
486 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
487 (gst_caps_structure_is_subset), (gst_caps_merge),
488 (gst_caps_merge_structure):
490 * libs/gst/base/gstbasetransform.c:
491 (gst_base_transform_transform_caps):
492 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
493 implement caps merging (fixes #352580)
495 2006-08-23 Stefan Kost <ensonic@users.sf.net>
498 * tools/gst-plot-timeline.py:
499 add debug-log plotting developer tool (#340674)
501 2006-08-23 Wim Taymans <wim@fluendo.com>
503 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
505 Improve debugging for task functions.
507 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
508 (gst_task_start), (gst_task_pause), (gst_task_join):
509 Make sure that the task function started and finished after a
511 Don't try to push the task function on the threadpool multiple
513 Improve the g_warning message with some useful suggestions
514 about how to fix the problem.
516 2006-08-23 Wim Taymans <wim@fluendo.com>
518 * gst/gstutils.c: (gst_pad_proxy_getcaps):
519 Handle RESYNC correctly in _proxy_getcaps.
521 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
523 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
524 (gst_xml_parse_memory), (gst_xml_get_element):
525 Chain up to parent class in dispose function and also
526 unref the elements in the toplevel_elements GList.
527 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
528 Always return a reference in gst_xml_get_element() rather
531 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
532 Don't leak GstXml object.
534 2006-08-21 Stefan Kost <ensonic@users.sf.net>
536 * docs/gst/gstreamer-sections.txt:
537 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
540 * libs/gst/base/gstbasetransform.c:
541 (gst_base_transform_transform_caps):
542 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
545 2006-08-21 Edward Hervey <edward@fluendo.com>
547 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
548 Implement GObject::dispose virtual method in GstXML so we can free the
551 2006-08-21 Wim Taymans <wim@fluendo.com>
553 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
554 (gst_buffer_create_sub):
555 Copy duration/offset_end/caps when creating a subbuffer of the
557 Make the subbuffer read-only when we make the metadata writable for
560 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
561 Added check for metadata copy when creating subbuffers.
563 2006-08-21 Edward Hervey <edward@fluendo.com>
565 * libs/gst/base/gstbasetransform.c:
566 (gst_base_transform_buffer_alloc):
567 Only call downstream buffer_alloc if transform element is passthrough
568 or always_in_place. Closes #350449.
570 2006-08-20 Stefan Kost <ensonic@users.sf.net>
573 ChangeLog surgery to add comments to previous changes
575 2006-08-20 Stefan Kost <ensonic@users.sf.net>
580 * gst/gstpad.c: (gst_pad_set_active):
581 Be more verbose in the log
583 * libs/gst/base/gstbasetransform.c:
584 (gst_base_transform_transform_caps):
585 Simplify caps to get rid of duplicates, fixes #345444
587 2006-08-20 Stefan Kost <ensonic@users.sf.net>
591 Use these optimizations only internally.
593 2006-08-20 Stefan Kost <ensonic@users.sf.net>
595 * gst/gstvalue.c: (gst_value_compare_list),
596 (gst_value_compare_fraction_range),
597 (gst_value_intersect_fraction_fraction_range),
598 (gst_value_intersect_fraction_range_fraction_range),
599 (gst_value_subtract_fraction_fraction_range),
600 (gst_value_subtract_fraction_range_fraction_range),
601 (gst_value_get_compare_func), (gst_value_compare),
602 (gst_value_compare_with_func):
604 Saves the expensive lookup of the compare function in many cases
607 2006-08-18 Edward Hervey <edward@fluendo.com>
609 * tests/check/gst/gstinfo.c: (gst_info_suite):
610 Disable test that require gstdebug if it wasn't built in core.
612 2006-08-18 Stefan Kost <ensonic@users.sf.net>
614 * docs/random/ensonic/logging.txt:
617 * gst/gstinfo.c: (gst_debug_log_default):
618 reorder fields, save some columns, add optional color codes for log
621 2006-08-18 Stefan Kost <ensonic@users.sf.net>
623 * docs/random/ensonic/logging.txt:
624 add ideas about making the logs a bit more useful
626 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
628 * docs/pwg/advanced-events.xml:
629 * docs/pwg/titlepage.xml:
630 Update for 0.10 API (#340627). Add myself
633 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
635 * docs/libs/gstreamer-libs-docs.sgml:
636 * docs/libs/gstreamer-libs-sections.txt:
637 * libs/gst/check/gstbufferstraw.c:
638 Make gstcheck stuff show up in docs (still needs to
639 be documented properly though).
641 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
643 * docs/gst/gstreamer-sections.txt:
645 * gst/gst.c: (init_post):
647 * gst/gstquark.c: (_priv_gst_quarks_initialize):
649 * gst/gstquery.c: (gst_query_new_position),
650 (gst_query_set_position), (gst_query_parse_position),
651 (gst_query_new_duration), (gst_query_set_duration),
652 (gst_query_parse_duration), (gst_query_new_convert),
653 (gst_query_set_convert), (gst_query_parse_convert),
654 (gst_query_new_segment), (gst_query_set_segment),
655 (gst_query_parse_segment), (gst_query_new_seeking),
656 (gst_query_set_seeking), (gst_query_parse_seeking):
657 Add internal helpers for pre-registering quarks from static strings
658 and using the quark values directly instead of looking them up when
659 creating and parsing queries. Can be used for event construction too.
662 2006-08-16 Wim Taymans <wim@fluendo.com>
667 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
669 * gst/gstutils.c: (gst_util_set_value_from_string):
670 Fix memleak (#351502).
672 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
673 Add unit test for most of gst_util_set_value_from_string()
674 (not that one would want to encourage use of this function).
676 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
678 * libs/gst/check/gstcheck.h:
679 Use const gchar * variables in fail_unless_equals_string
680 macro to avoid compiler warnings (and don't use tabs for
683 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
685 * tools/gst-launch.c: (print_tag):
686 More space on the left for the tag names, to cater
687 for the 'extended comment' tag (not touching the
688 string for the first line since it's translated).
690 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
692 * libs/gst/check/gstcheck.h:
693 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
694 print something when they fail.
696 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
698 * docs/gst/gstreamer-sections.txt:
699 * gst/gsttaglist.c: (_gst_tag_initialize):
701 API: add GST_TAG_EXTENDED_COMMENT (#350935).
702 Also change merge function for GST_TAG_COMMENT to
705 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
707 * gst/gstinfo.c: (gst_debug_print_object):
708 Make GST_PTR_FORMAT print messages as well.
710 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
711 (GST_START_TEST), (gst_info_suite):
714 2006-08-14 Edward Hervey <edward@fluendo.com>
716 * gst/gstelementfactory.c: (gst_element_register):
717 If the GstElementClass doesn't have a GstElementDetails with all fields
718 filled up correctly (longname, description AND author), then error out
719 nicely instead of crashing.
721 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
723 * gst/gststructure.c:
724 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
727 Expand on the difference between arrays and lists as we use them.
729 2006-08-14 Wim Taymans <wim@fluendo.com>
731 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
732 If the parent state change function failed, don't assume we can safely
733 stop the source, this will be done when the pads are deactivated.
735 2006-08-14 Wim Taymans <wim@fluendo.com>
738 * gst/gsttask.c: (gst_task_join):
741 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
743 When pad (de)activation failed for some reason, restore the old
744 activation mode and set the pad to flushing instead of assuming the
746 If the _task_join() failed, reinstall the task on the pad so that it can
747 be stopped later and return an error.
749 2006-08-11 Andy Wingo <wingo@pobox.com>
752 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
753 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
754 is only for users of API that don't want to see deprecated
755 functions in the headers; people that want to compile out
756 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
757 CFLAGS. Fixes the build of multifdsink, or will soon..
759 2006-08-11 Wim Taymans <wim@fluendo.com>
761 * docs/gst/gstreamer-sections.txt:
762 Add GstClockClass vmethod docs.
765 Mark #endif with comment for associated #if
767 * gst/gstclock.c: (gst_clock_id_wait):
769 Add vmethod wait_jitter to avoid an unneeded _get_time() for
770 most clock implementations.
772 Flesh out docs about resolution methods.
773 API: GstClockClass::wait_jitter
775 * gst/gstsystemclock.c: (gst_system_clock_class_init),
776 (gst_system_clock_async_thread),
777 (gst_system_clock_id_wait_jitter_unlocked),
778 (gst_system_clock_id_wait_jitter):
779 Use base class wait_jitter variant for improved performance
780 due to less clock polling.
782 2006-08-11 Edward Hervey <edward@fluendo.com>
784 * gst/gst.c: (gst_init_check), (init_post):
785 Set gst as being initialized before scanning/updating the registry,
786 since there might be my python plugin loader that calls gst_init() and
787 we don't want to loop back in.
790 2006-08-11 Wim Taymans <wim@fluendo.com>
792 * docs/design/part-qos.txt:
793 Bring docs in line with the code. Mostly the sign of the jitter was
794 wrong in the docs. Fixes #349943.
797 Fix the docs for the jitter.
799 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
800 (gst_event_parse_tag), (gst_event_new_buffer_size),
801 (gst_event_parse_buffer_size), (gst_event_parse_qos),
802 (gst_event_new_seek), (gst_event_parse_seek),
803 (gst_event_new_navigation):
804 Make sure the GstStructure has no parent when creating custom
806 Add some more argument checking so that we avoid 0.0 rates.
807 Flesh out the docs for the QoS event some more.
809 2006-08-11 Wim Taymans <wim@fluendo.com>
811 * docs/gst/gstreamer-sections.txt:
812 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
813 (ensure_current_registry_forking), (ensure_current_registry),
814 (parse_one_option), (parse_goption_arg), (gst_deinit),
815 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
818 Added API and command line option to disable registry forking in
819 addition to the environment variable.
820 Constify some static arrays.
821 Added some more debug.
823 API: gst_registry_fork_is_enabled()
824 API: gst_registry_fork_set_enabled()
825 API: --gst-disable-registry-fork command line option
828 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
830 * gst/gst.c: (gst_init):
831 Fix typo in error message.
833 2006-08-10 Stefan Kost <ensonic@users.sf.net>
835 * libs/gst/controller/gstcontroller.h:
836 fix ABI size-correction
838 * tests/check/libs/gdp.c: (gst_dp_suite):
839 make tests that use deprecated API conditional
841 2006-08-10 Stefan Kost <ensonic@users.sf.net>
843 * docs/libs/gstreamer-libs-sections.txt:
844 * libs/gst/controller/gstcontroller.c:
845 (_gst_controller_get_property), (_gst_controller_set_property),
846 (_gst_controller_init), (_gst_controller_class_init):
847 * libs/gst/controller/gstcontroller.h:
848 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
849 (gst_object_set_control_rate):
850 API: add gst_object_{s,g}et_control_rate(), add private data section,
853 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
854 * libs/gst/dataprotocol/dataprotocol.h:
855 add deprecation guards to make gtk-doc happy and allow disabling cruft
857 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
859 * tests/check/Makefile.am:
860 * tests/check/gst/.cvsignore:
861 Let's enable the new unit test as well.
863 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
866 * docs/gst/gstreamer-sections.txt:
867 * gst/gstconfig.h.in:
868 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
869 (_gst_info_printf_extension_ptr),
870 (_gst_info_printf_extension_segment):
871 API: add GST_SEGMENT_FORMAT, which is a printf extension we
872 register that lets us easily dump GstSegments into debug
875 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
876 (info_segment_format_printf_extension), (gst_info_suite):
877 Add simple unit test that logs a bunch of different segments (not
878 valgrinded at the moment because of leaks in
879 gst_debug_add_log_function).
881 2006-08-09 Edward Hervey <edward@fluendo.com>
883 * libs/gst/base/gstbasetransform.c:
884 (gst_base_transform_buffer_alloc):
885 Even if we can't figure out the proper format to request downstream,
886 call buffer_alloc() downstream with the input parameters without setting
887 the caps on the srcpad. This will force negotiation in the chain
891 2006-08-08 Edward Hervey <edward@fluendo.com>
893 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
894 Unlinking from a pad without a target is now a perfectly valid case
895 which should NOT raise an assertion.
896 This case would happen if a linked ghostpad its target set to NULL after
897 it was previously linked.
899 2006-08-08 Edward Hervey <edward@fluendo.com>
901 * tests/check/libs/gdp.c:
902 Also comment out the test (see below).
904 2006-08-08 Edward Hervey <edward@fluendo.com>
906 * tests/check/libs/gdp.c: (gst_dp_suite):
907 Use the architecture information from config.h and not gcc macros
908 in order to properly disable a test that fails on PPC64.
910 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
912 * gst/gstelement.c: (gst_element_remove_pad):
913 Don't crash printing the warning if the pad has no parent.
915 2006-08-02 Wim Taymans <wim@fluendo.com>
917 * libs/gst/dataprotocol/dataprotocol.c:
918 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
919 (gst_dp_crc), (gst_dp_header_payload_length),
920 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
921 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
922 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
923 (gst_dp_event_from_packet), (gst_dp_validate_header),
924 (gst_dp_validate_payload):
925 Make debug category static
926 Constify the crc table.
927 Do some more arg checking in public functions.
928 Fix some docs and do some small cleanups.
930 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
931 Add some more checks to see if GDP deals with bogus input.
933 2006-07-31 Wim Taymans <wim@fluendo.com>
935 * gst/gstvalue.c: (gst_value_compare_list):
936 Fix GstValueList comparison code. Fixes #347293.
938 * tests/check/gst/gstvalue.c: (GST_START_TEST):
939 Check to test GstValueList comparison.
941 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
943 * gst/gstelementfactory.c: (gst_element_factory_create):
944 Remove unnecessary ref/unref pair
946 * gst/parse/grammar.y:
947 Make sure to free the parse buffer on all code paths.
948 Move a g_free up to the error handler where it's easier to see.
950 * tests/check/gst/gstevent.c: (test_event):
951 Extending timeout for downstream travelling events to 10 seconds to
952 hopefully avoid intermittent failure on the buildbots.
954 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
955 Don't manually set the state of the src element - it will happen as a
956 natural consequence of the pipeline changing state, and that way it
957 will do it in the right order too.
959 2006-07-31 Wim Taymans <wim@fluendo.com>
961 * libs/gst/base/gstbasetransform.c:
962 (gst_base_transform_buffer_alloc):
963 Use OBJECT_LOCK and refcounting to get the pad caps in the
964 buffer_alloc function because the caps could change while we are
965 busy with them. Fixes #349105
967 2006-07-31 Wim Taymans <wim@fluendo.com>
969 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
970 Protect _PAD_CAPS with OBJECT_LOCK.
972 2006-07-31 Wim Taymans <wim@fluendo.com>
974 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
975 (gst_pad_get_property), (gst_pad_activate_pull),
976 (gst_pad_activate_push), (gst_pad_set_blocked_async),
977 (gst_pad_set_activate_function),
978 (gst_pad_set_activatepull_function),
979 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
980 (gst_pad_set_getrange_function),
981 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
982 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
983 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
984 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
985 (gst_pad_set_acceptcaps_function),
986 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
987 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
988 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
989 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
990 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
991 (gst_pad_configure_sink), (gst_pad_configure_src),
992 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
993 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
994 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
995 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
996 (gst_pad_send_event):
997 Use _DEBUG_OBJECT when it makes sense.
998 Protect GST_PAD_CAPS with the OBJECT_LOCK.
999 Small cleanups and code reflows.
1000 Avoid caps refcounting in _accept_caps.
1001 Refactor alloc_buffer so that the code performed on the peer is in a
1002 separate function. Also if the pad does not implement a buffer alloc
1003 function, we should still check if the pad is flushing before falling
1004 back to the default allocator.
1006 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1008 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1009 Make all uses of identity and fakesink have silent=true to avoid
1010 serialising every passing data structure, which is breaking tests
1011 on FC4 for some unknown reason.
1013 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1015 * gst/parse/Makefile.am:
1016 * gst/parse/grammar.y:
1017 * gst/parse/parse.l:
1018 Reverted previous patch as it required to bump the flex dependency to
1019 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1021 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1023 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1025 * gst/parse/Makefile.am:
1026 * gst/parse/grammar.y:
1027 * gst/parse/parse.l:
1028 push & pop the state of the lexer for reentrant use case
1031 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1033 * libs/gst/base/gstbasesrc.h:
1034 Note in the docs that the ::newsegment vfunc is not actually used by
1037 2006-07-28 Wim Taymans <wim@fluendo.com>
1039 * libs/gst/base/gstcollectpads.c:
1040 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1041 (gst_collect_pads_clear), (gst_collect_pads_flush),
1042 (gst_collect_pads_event), (gst_collect_pads_chain):
1043 When flushing a pad, also clear the queued buffer so that we don't
1044 accidentally use it when we shouldn't.
1045 Fix leaks by inreffing incomming buffer.
1046 Flush out queued buffers in case of errors.
1049 2006-07-28 Wim Taymans <wim@fluendo.com>
1051 * docs/random/phonon-gst:
1052 Random notes about a Phonon backend.
1054 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1056 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1058 * tests/check/libs/gdp.c: (gst_dp_suite):
1059 Take a whack at fixing the ppc compile using a different define to
1060 disable the broken test.
1062 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1063 Remove excess g_print()
1065 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1067 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1068 Oops, meant to uncomment this line too to dampen the noise a bit.
1070 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1072 * gst/parse/grammar.y:
1073 * gst/parse/parse.l:
1074 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1075 (GST_START_TEST), (parse_suite):
1076 Fix some of the leaks exposed by extending the parse-launch testsuite,
1077 and move the 3 I can't figure out into a separate test that won't run
1078 the pipelines unless the appropriate line is uncommented.
1080 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1082 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1083 Requesting 0 bytes before the end of the file should result in
1084 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1087 2006-07-27 Wim Taymans <wim@fluendo.com>
1089 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1090 Fix useless assert, a uint is always positive.
1092 * gst/gststructure.c: (gst_structure_nth_field_name),
1093 (gst_structure_foreach), (gst_structure_map_in_place):
1094 Check input arguments for public functions to avoid obvious crashes.
1096 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1097 * plugins/elements/gstfakesink.h:
1098 Do less useless typechecking.
1100 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1102 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1103 Do not use mmap() by default since there are a number of error
1104 conditions that we would like to handle in a non-fatal way that
1105 will result in a SIGBUS if we use mmap(). Examples: external
1106 devices (USB harddrive, portable music player) being unplugged
1107 while in use; file on mounted CD/DVD that can't be read because
1108 the medium is partly damaged. Fixes #348455 and #348475.
1110 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1113 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1116 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1118 * gst/gstregistry.c:
1119 Move big documentation comment into class section header, so that it
1120 appears in the API docs.
1122 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1124 * docs/gst/gstreamer-sections.txt:
1125 Oops. Commit the docs additions too for new API.
1126 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1128 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1130 * gst/gststructure.c: (gst_structure_id_set),
1131 (gst_structure_id_set_valist):
1132 * gst/gststructure.h:
1133 Add API for setting values into structures without performing
1134 a quark lookup, if the appropriate quark is already known.
1136 API: gst_structure_id_set
1137 API: gst_structure_id_set_valist
1139 * gst/parse/grammar.y:
1140 * gst/parse/parse.l:
1141 Remove some dead code shown by the coverage information.
1142 Don't throw a critical g_warning when encountering a syntax error,
1143 just warn and let the normal error path handle it.
1145 * plugins/elements/gstelements.c:
1146 Bump the rank of filesink up to PRIMARY so that it is preferred over
1147 gnomevfssink for file:// sink uri's
1149 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1150 (GST_START_TEST), (run_delayed_test),
1151 (gst_parse_test_element_base_init),
1152 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1153 (gst_parse_test_element_change_state),
1154 (gst_register_parse_element), (parse_suite):
1155 Beef up the tests for parse syntax to check that more error cases
1156 fail as they are supposed to. Increases the test coverage a bit.
1158 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1160 * docs/manual/basics-elements.xml:
1161 Fix gst_element_link() example.
1164 Mention in API docs that one should usually gst_bin_add()
1165 elements to a bin or pipeline before doing the linking.
1167 2006-07-26 Wim Taymans <wim@fluendo.com>
1169 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1170 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1171 Avoid function call for known types by keeping the buffer and
1172 subbuffer GType global.
1174 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1175 Random silly optimisations in read() path.
1177 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1179 * tools/gst-launch.c: (main):
1180 If the top-level of the parse is a normal bin, it doesn't do the
1181 right logic to run as a top-level element, so place it inside a
1184 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1186 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1187 Remove superfluous g_object_notify() calls, GObject does
1188 that for us automatically.
1190 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1193 on Win32, use dllspec to export the debug category symbols
1195 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1197 * gst/gsttaglist.c: (_gst_tag_initialize):
1198 Allow more than one GST_TAG_IMAGE per taglist.
1200 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1202 * gst/gstminiobject.c:
1204 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1205 (gst_fd_src_create):
1206 log recurring events at LOG level
1207 add more debug for when the fd gets set
1209 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1211 * gst/gstparse.c: (gst_parse_launch):
1212 Also remove reentrance checks if flex is MT safe (#348179)
1213 Fix my empty ChangeLog entry below
1215 2006-07-21 Andy Wingo <wingo@pobox.com>
1217 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1219 * libs/gst/check/Makefile.am
1220 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1221 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1222 * libs/gst/check/gstbufferstraw.h:
1223 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1224 functions, thus proving I am still a GStreamer haxor. OK I wrote
1225 them a long time ago, but anyways.
1227 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1230 * gst/gstparse.c: (gst_parse_launch):
1231 Check for flex version and omit mutex if we have a MT save flex
1234 2006-07-21 Wim Taymans <wim@fluendo.com>
1236 * gst/gstparse.c: (gst_parse_launch):
1237 Protect recursive calls to _parse with a recursive mutex
1240 2006-07-21 Wim Taymans <wim@fluendo.com>
1242 * tests/check/gst/gstpad.c: (GST_START_TEST):
1245 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1247 * gst/gstparse.c: (gst_parse_launch):
1248 Do not hang on recursive usage of gst_parse_launch()
1250 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1253 Add some more docs, comments and FIXME 0.11s here and there
1254 and also fix some typos.
1256 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1259 Convert tabs to spaces for better readability.
1261 2006-07-20 Edward Hervey <edward@fluendo.com>
1263 * tests/check/libs/gdp.c: (gst_dp_suite):
1264 the test_buffer test fails at line 140 on ppc64 at the following
1266 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1267 GST_BUFFER_FLAG_IN_CAPS),
1268 "GST_BUFFER_IN_CAPS flag should have been copied !");
1269 See bug #348114 for more details.
1271 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1273 * docs/pwg/advanced-scheduling.xml:
1275 Fix typos (#348000).
1277 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1279 * docs/pwg/intro-basics.xml:
1280 Fix wrong links (#347927).
1282 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1284 * gst/gstregistry.h:
1285 * gst/gstregistryxml.c: (load_feature),
1286 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1287 * win32/common/config.h:
1288 make --disable-index work (#342564)
1290 2006-07-18 Wim Taymans <wim@fluendo.com>
1292 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1296 The attached patch adds two missing defines to gsttrace.h when tracing
1297 is disabled. It also corrects one existing define.
1300 2006-07-17 Wim Taymans <wim@fluendo.com>
1302 * docs/gst/gstreamer-sections.txt:
1303 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1305 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1306 Add two functions to check and change the SIGSEGV behaviour
1307 when loading plugins.
1308 Don't mess with the SIGSEGV handler when we were told not to.
1310 API: gst_segtrap_is_enabled
1311 API: gst_segtrap_set_enabled
1313 2006-07-14 Wim Taymans <wim@fluendo.com>
1315 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1316 * tests/check/elements/filesrc.c: (GST_START_TEST):
1317 Revert fix for regression in #347408 after release.
1319 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1321 Patch by: Antoine Tremblay <hexa00 at gmail com>
1323 * gst/gstutils.c: (gst_element_unlink):
1324 Free iterator when done (#347311).
1326 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1327 And add a test case for this.
1329 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1332 Bump nano back to CVS
1334 === release 0.10.9 ===
1336 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1339 releasing 0.10.9, "On the road again"
1341 2006-07-13 Wim Taymans <wim@fluendo.com>
1343 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1344 * tests/check/elements/filesrc.c: (GST_START_TEST):
1345 Revert pull-0 fix for release. Disable check. Fixes #347408.
1347 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1349 * libs/gst/dataprotocol/dataprotocol.c:
1350 (gst_dp_event_from_packet_1_0):
1351 Fixes #347337: failure to deserialize event packets with
1352 empty payload (only event type)
1354 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1357 do not install a .c file in the header directory
1359 2006-07-13 Edward Hervey <edward@fluendo.com>
1361 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1362 GhostPad no longer implicitely use the padtemplates of the targets.
1365 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1367 * gst/gstvalue.c: (gst_value_compare_list),
1368 (gst_value_compare_array), (_gst_value_initialize):
1369 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1370 Make GstValueArray comparison be order dependent as designed.
1371 Add checks for value lists and value array comparisons.
1374 2006-07-11 Edward Hervey <edward@fluendo.com>
1376 * gst/gstbin.c: (activate_pads),
1377 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1378 (gst_bin_change_state_func):
1379 (de)activate src pads before calling state_change on the childs.
1380 This is to avoid the case where a src ghostpad is blocked (holding the
1381 stream lock), which would block the deactivation of the ghostpad's
1383 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1384 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1385 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1386 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1387 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1388 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1389 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1390 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1391 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1392 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1393 (gst_ghost_pad_class_init),
1394 (gst_ghost_pad_internal_do_activate_push),
1395 (gst_ghost_pad_internal_do_activate_pull),
1396 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1397 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1398 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1399 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1400 GhostPads now create their internal GstProxyPad at creation (and not
1401 when they're linked, as it was being done previously).
1402 The internal and target pads are linked straight away.
1403 The data will also travel through the other pad in order to make
1404 pad blocking and probes non-hackish (the probe/block now really happens
1405 on the GhostPad and not on the target).
1406 * gst/gstpad.c: (gst_pad_set_blocked_async),
1407 (gst_pad_link_prepare), (gst_pad_push_event):
1408 Remove previous ghostpad cruft.
1409 * gst/gstutils.c: (gst_pad_add_data_probe),
1410 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1411 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1412 (gst_pad_remove_buffer_probe):
1413 Remove previous ghost pad cruft.
1414 Added more detailed debug statements.
1415 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1416 Fix the testsuite for refcounting changes.
1417 The comments about who has references were correct, but the refcount
1418 being checked wasn't the same (!?!).
1422 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1424 * docs/gst/gstreamer-sections.txt:
1425 * gst/gstconfig.h.in:
1426 More docs for configuration options, add docs to gtk-doc.
1428 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1431 * gst/gstconfig.h.in:
1432 * win32/common/config.h:
1433 Fix build when disabling tracing (fixes #344016). Also start to document
1434 the defines that disable the sub-systems.
1436 2006-07-10 Edward Hervey <edward@fluendo.com>
1438 * gst/gst.c: (ensure_current_registry_forking):
1439 let's make valgrind happy...
1441 2006-07-09 Wim Taymans <wim@fluendo.com>
1443 * gst/gstelement.c: (activate_pads),
1444 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1445 Better pad activation code: Reset the collect value too on resync.
1448 2006-07-09 Wim Taymans <wim@fluendo.com>
1450 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1451 (gst_pad_activate_push):
1452 Use some more macros where it makes sense.
1453 Allow pad mode switching instead of asserting. When a pad
1454 is activated in one mode and we activate it in another,
1455 deactivate it first before activating it in a different mode.
1458 2006-07-08 Andy Wingo <wingo@pobox.com>
1460 * tools/gst-launch.c (main): Handle err == NULL.
1462 * gst/gst.c (init_post, ensure_current_registry)
1463 (ensure_current_registry_forking)
1464 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1465 factoring out the registry scanning into separate functions. Don't
1466 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1467 Better environment var name/interface suggestions accepted.
1469 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1471 * gst/gstobject.c: (gst_object_set_name_default),
1472 (gst_object_set_name):
1473 Random micro-optimisation: don't use a hash table
1474 with strings as keys and the usual strdup/strcmp
1475 involved, but rather just use the GQuark of the
1476 type name as key, since it needs to be looked up
1477 anyway to get the type name string.
1479 * tests/check/gst/gstobject.c: (GST_START_TEST):
1482 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1484 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1485 (gst_bin_iterate_all_by_interface):
1486 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1487 GTypes are gulongs and thus the top 4 bytes might be cut
1488 off on some platforms when doing GPOINTER_TO_INT, leading
1489 to invalid GTypes and bad things happening (see RH bug #179654).
1490 Also add a check to make sure the type passed in is really
1493 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1498 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1502 * gst-element-check.m4:
1503 * gst-element-check.m4.in:
1504 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1505 instead of the unversioned gst-inspect (#324176, #168659).
1507 2006-07-06 Wim Taymans <wim@fluendo.com>
1510 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1513 2006-07-06 Wim Taymans <wim@fluendo.com>
1515 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1516 (gst_base_src_wait), (gst_base_src_update_length),
1517 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1518 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1519 (gst_base_src_loop), (gst_base_src_start),
1520 (gst_base_src_activate_pull):
1522 blocksize == 0 now means the default blocksize when working in push
1524 Remove some pointless asserts in _wait function.
1525 Fix offset/length calculations and EOS handling. We can now pull 0
1526 bytes as well, which is allowed.
1527 use _check_get_range() to decide if we can operate in _pull based
1529 Fix refcounting leak when check_get_range function was not
1531 API GstBaseSrc::blocksize range can be 0 too now (default)
1533 * tests/check/elements/filesrc.c: (GST_START_TEST),
1535 Added check to test _get_range() behaviour.
1537 2006-07-06 Wim Taymans <wim@fluendo.com>
1539 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1540 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1541 (gst_pad_pull_range):
1543 Lots of comments and docs added to the pad functions.
1544 Flesh out the expected behaviour of the get_range() functions.
1546 2006-07-06 Wim Taymans <wim@fluendo.com>
1551 * gst/gstiterator.h:
1555 Remove comma at end of enumerator list.
1557 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1559 * win32/common/libgstbase.def:
1560 * win32/common/libgstdataprotocol.def:
1561 * win32/common/libsgtreamer.def:
1562 Add new exported functions.
1564 2006-07-05 Wim Taymans <wim@fluendo.com>
1566 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1567 Add some more docs here and there.
1569 2006-07-05 Wim Taymans <wim@fluendo.com>
1571 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1572 (gst_base_sink_loop), (gst_base_sink_get_position):
1573 When operating in pull mode update the offset so that we
1576 2006-07-05 Wim Taymans <wim@fluendo.com>
1578 * gst/gstregistryxml.c: (read_string):
1579 Avoid strdup. (will happen in libxml, but hey!)
1584 2006-07-05 Wim Taymans <wim@fluendo.com>
1586 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1587 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1589 No point in checking if the size of the subbuffer > 0, the
1590 code handles it correclty as demonstrated by unit test.
1591 Also add a unit test for the zero sized _new_and_alloc and
1592 _copy. Fixes #346663.
1594 2006-07-05 Wim Taymans <wim@fluendo.com>
1596 * libs/gst/base/gstbasetransform.c:
1597 (gst_base_transform_prepare_output_buffer),
1598 (gst_base_transform_buffer_alloc),
1599 (gst_base_transform_handle_buffer):
1600 Make sure the buffer we pass to transform_ip has a refcount of
1601 1 and thus is writable. Fixes #343196
1603 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1605 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1606 (gst_file_src_init), (gst_file_src_set_property),
1607 (gst_file_src_get_property), (gst_file_src_map_region):
1608 * plugins/elements/gstfilesrc.h:
1609 Add "sequential" property, off by default, to use madvise and hint
1610 to the kernel that sequential access is desired.
1611 Touch all retrieved pages by default to ensure they are pulled
1612 into memory. (Closes #345720)
1614 2006-07-03 Wim Taymans <wim@fluendo.com>
1616 * docs/design/part-block.txt:
1617 * docs/design/part-dynamic.txt:
1620 2006-07-03 Wim Taymans <wim@fluendo.com>
1622 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1623 (gst_caps_unref), (gst_static_caps_get),
1624 (gst_caps_append_structure):
1625 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1626 Use GSlice when the glib we build against is >= 2.10
1628 2006-07-03 Wim Taymans <wim@fluendo.com>
1630 * gst/gstelement.c: (gst_element_pads_activate):
1631 Small cleanup in pad activation code.
1633 2006-07-03 Wim Taymans <wim@fluendo.com>
1635 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1637 * gst/gst-i18n-app.h:
1638 * gst/gst-i18n-lib.h:
1639 * tools/gst-inspect.c: (print_signal_info):
1640 The attached patch will make the inclusion of gettext.h unconditional in
1641 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1642 libintl.h in tools/gst-inspect.c.
1643 This allows use of --disable-nls again and fixes #344642.
1645 2006-07-03 Edward Hervey <edward@fluendo.com>
1647 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1648 Implement pad blocking on events according to part-block.txt.
1649 More comments on behaviour.
1650 * tests/check/gst/gstevent.c: (test_event):
1651 Send event to peer pad of blocked pad (else it will block).
1653 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1655 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1656 (gst_check_run_suite):
1657 if we get the wrong message, give us the types as string
1658 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1660 * tests/check/elements/filesrc.c: (GST_START_TEST):
1661 add a test for trying to open a non-existing file
1663 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1665 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1666 add a test for adding self
1668 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1670 * libs/gst/check/gstcheck.h:
1671 add some assert_ as alias for fail_unless_*
1672 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1673 increase test coverage
1675 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1678 include lcov.mak for lcov coverage generation
1679 * tools/Makefile.am:
1682 2006-07-02 Edward Hervey <edward@fluendo.com>
1684 * tests/check/elements/.cvsignore:
1687 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1690 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1691 * tests/check/Makefile.am:
1694 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1696 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1697 remove gst_caps_simplify; it was not declared and not used
1698 and deprecated in 0.8
1700 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1702 * docs/faq/gst-uninstalled:
1703 don't put empty paths on PYTHONPATH
1704 * docs/gst/gstreamer-sections.txt:
1705 remove some symbols that are not there
1707 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1709 * gst/gstcaps.c: (gst_caps_compare_structures):
1711 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1712 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1715 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1717 * libs/gst/dataprotocol/Makefile.am:
1718 build dataprotocol test by linking to the lib, instead of
1719 compiling the source, so we get coverage
1720 * tests/check/Makefile.am:
1721 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1722 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1723 add a test for filesrc
1725 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1727 * tests/check/gst/gststructure.c: (GST_START_TEST),
1728 (gst_structure_suite):
1729 Push coverage from 59.04% to 70.00%
1731 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1733 * tests/check/Makefile.am:
1734 gst-inspect every element; this makes sure that we also get
1735 coverage on element's get/set functions
1737 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1740 set CFLAGS and friends to -O0 if gcov is being used
1743 * libs/gst/base/Makefile.am:
1744 * libs/gst/check/Makefile.am:
1745 * libs/gst/controller/Makefile.am:
1746 * libs/gst/dataprotocol/Makefile.am:
1747 * libs/gst/net/Makefile.am:
1748 * plugins/elements/Makefile.am:
1749 * plugins/indexers/Makefile.am:
1750 add makefile rules to generate gcov data and clean up
1751 * tests/check/Makefile.am:
1752 add a coverage target that generates an html overview
1755 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1757 * tests/check/elements/fakesink.c:
1758 * tests/check/elements/fakesrc.c:
1759 * tests/check/elements/fdsrc.c:
1760 * tests/check/elements/identity.c:
1761 * tests/check/generic/sinks.c: (gst_sinks_suite):
1762 * tests/check/generic/states.c:
1763 * tests/check/gst/gst.c:
1764 * tests/check/gst/gstabi.c:
1765 * tests/check/gst/gstbin.c:
1766 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1767 * tests/check/gst/gstbus.c: (gst_bus_suite):
1768 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1769 * tests/check/gst/gstelement.c:
1770 * tests/check/gst/gstevent.c: (gst_event_suite):
1771 * tests/check/gst/gstghostpad.c:
1772 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1773 * tests/check/gst/gstmessage.c: (gst_message_suite):
1774 * tests/check/gst/gstminiobject.c:
1775 * tests/check/gst/gstobject.c:
1776 * tests/check/gst/gstpad.c:
1777 * tests/check/gst/gstpipeline.c:
1778 * tests/check/gst/gstplugin.c:
1779 * tests/check/gst/gstquery.c: (gst_query_suite):
1780 * tests/check/gst/gstsegment.c: (gst_segment_suite):
1781 * tests/check/gst/gststructure.c:
1782 * tests/check/gst/gstsystemclock.c:
1783 * tests/check/gst/gsttag.c:
1784 * tests/check/gst/gsttask.c: (gst_task_suite):
1785 * tests/check/gst/gstutils.c:
1786 * tests/check/gst/gstvalue.c:
1787 * tests/check/libs/adapter.c:
1788 * tests/check/libs/basesrc.c:
1789 * tests/check/libs/collectpads.c:
1790 * tests/check/libs/controller.c:
1791 * tests/check/libs/gdp.c: (gst_dp_suite):
1792 * tests/check/libs/gstnetclientclock.c:
1793 * tests/check/libs/gstnettimeprovider.c:
1794 * tests/check/libs/libsabi.c: (libsabi_suite):
1795 * tests/check/libs/typefindhelper.c:
1796 * tests/check/pipelines/cleanup.c:
1797 * tests/check/pipelines/parse-launch.c:
1798 * tests/check/pipelines/simple-launch-lines.c:
1799 * tests/check/pipelines/stress.c: (stress_suite):
1802 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1804 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1805 * libs/gst/check/gstcheck.h:
1806 create a macro and function so that the simple unit test
1807 case can be just one macro to create main()
1809 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
1811 * gst/gstbin.c: (gst_bin_restore_thyself):
1812 * gst/gstxml.c: (gst_xml_make_element):
1813 Fix deserialisation from XML. Set parent manually
1814 instead of using gst_bin_add(), since gst_bin_add()
1815 will unlink all pads of the element being added.
1818 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
1820 Patch by: Peter Kjellerstedt <pkj at axis com>
1822 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1823 Fix missing g_strdup() and double free when using the
1824 --gst-plugin-load command line option (#346097).
1826 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1829 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1831 * libs/gst/net/gstnetclientclock.c:
1832 * libs/gst/net/gstnettimeprovider.c:
1833 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
1835 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1837 * docs/manual/advanced-dataaccess.xml:
1838 Fix buffer probe example compilation in
1841 2006-06-22 Edward Hervey <edward@fluendo.com>
1843 * gst/gstelement.c: (gst_element_pads_activate):
1844 We need to deactivate src pads first and then sink pads.
1845 The reason is the src pads might be blocking while holding the streaming
1846 lock, so we need to deactivate them first so that deactivating the sink
1847 pads doesn't block (since it will require the streaming lock).
1849 2006-06-22 Wim Taymans <wim@fluendo.com>
1851 * libs/gst/base/gstbasetransform.c:
1852 (gst_base_transform_buffer_alloc):
1853 Forgot to remove two unneeded unrefs.
1854 Simplify a check _is_equal allready checks the obvious case.
1856 2006-06-22 Wim Taymans <wim@fluendo.com>
1858 * docs/design/part-block.txt:
1859 Some docs about what pad_block should do.
1861 2006-06-22 Wim Taymans <wim@fluendo.com>
1863 * gst/gstcaps.c: (gst_caps_replace):
1864 Fix crasher when passed NULL. Doc clarification.
1865 Optimize for the trivial case.
1867 * gst/gstpipeline.c: (gst_pipeline_change_state):
1870 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1871 Small documentation cleanup.
1873 * libs/gst/base/gstbasetransform.c:
1874 (gst_base_transform_buffer_alloc):
1875 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
1876 is what we need and it avoids a whole lot of redundant
1877 refcount operations.
1879 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
1881 Patch by: Philip Jägenstedt <philip at lysator liu se>
1883 * docs/manual/advanced-dataaccess.xml:
1884 Fix 'Embedding static elements' section to use
1885 GST_PLUGIN_DEFINE_STATIC (#345607).
1887 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1889 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
1890 Attempt to 'fix' spuriously failing test case: it seems like the
1891 timeout of half a second is simply too small when the system is under
1892 load otherwise, and the timeout doesn't really seem to serve any
1893 particular purpose here. Give the pipeline a few seconds to preroll
1894 first, and then give it another half a second to go from PAUSED to
1895 PLAYING and marshal the message into the main thread.
1897 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1899 * tools/gst-feedback-m.m:
1900 Don't only use unversioned tools, try versioned tools as well
1903 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
1905 * gst/gstbus.c: (gst_bus_class_init):
1906 Fix some typos, make docs more explicit.
1908 2006-06-20 Wim Taymans <wim@fluendo.com>
1910 * tests/check/gst/gstghostpad.c: (block_callback),
1911 (GST_START_TEST), (gst_ghost_pad_suite):
1912 Added some more ghostpad tests, mainly blocking
1915 2006-06-16 Wim Taymans <wim@fluendo.com>
1917 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
1918 (gst_file_sink_close_file), (gst_file_sink_do_seek),
1919 (gst_file_sink_event), (gst_file_sink_render):
1920 * plugins/elements/gstfilesink.h:
1921 Check if we can seek in the file instead of assuming
1922 we always can. Post an error when we are asked to seek in a
1923 non-seekable file (like a fifo). Fixes #343312.
1926 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1928 * tools/gst-launch.1.in:
1929 Un-garble (fourcc) bit in filtered caps section.
1931 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
1933 * docs/manual/advanced-autoplugging.xml:
1934 * docs/manual/basics-helloworld.xml:
1935 * docs/manual/highlevel-components.xml:
1936 Don't leak bus reference in sample code.
1938 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
1941 Add default for new --enable-plugin-docs switch.
1944 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
1948 Use new ENABLE_PLUGIN_DOCS conditional.
1950 2006-06-14 Wim Taymans <wim@fluendo.com>
1952 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
1953 Make it clear with a FIXME and a real define what the #if 0
1954 previously disabled.
1956 2006-06-14 Wim Taymans <wim@fluendo.com>
1958 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1959 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
1960 * libs/gst/base/gstbasetransform.c:
1961 (gst_base_transform_sink_eventfunc):
1962 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1963 Don't randomly and silently reset a segment when the format
1964 changes as this is a bug somewhere upstream. Fixes #330379.
1966 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
1968 Patch by: Wouter Paesen <wouter at kangaroot net>
1970 * libs/gst/controller/gstcontroller.c:
1971 (gst_controlled_property_new):
1972 Fix controlling of float properties (#344849).
1974 * tests/check/libs/controller.c:
1975 (gst_test_mono_source_get_property),
1976 (gst_test_mono_source_set_property),
1977 (gst_test_mono_source_class_init), (GST_START_TEST):
1978 While we're at it, add some float stuff to unit test.
1980 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
1983 * docs/images/gdp-header.svg:
1985 * docs/libs/Makefile.am:
1986 * docs/libs/gdp-header.png:
1987 * libs/gst/dataprotocol/dataprotocol.c:
1988 add it to the API docs
1989 * docs/manual/intro-motivation.xml:
1992 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
1994 * gst/gst.c: (scan_and_update_registry), (init_post):
1995 If the fork()'ed child process can't write the updated registry cache
1996 file to disk for some reason, make it exit with a failure exit code,
1997 so that the parent can then re-scan the plugins itself and update the
1998 registry structures in memory and work with that (rather than failing
1999 when creating elements because seemingly no plugins are available).
2000 Refactor registry scanning code into separate function for this and
2001 also separate fork() and non-fork() code paths. Fixes #344748.
2003 2006-06-13 Wim Taymans <wim@fluendo.com>
2005 * docs/manual/advanced-dataaccess.xml:
2006 Fix wrong PluginDesc. Fixes #344755.
2008 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2010 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2011 Fix silly bug that prevented us from creating
2012 ~/.gstreamer-0.10 and writing the registry in one
2013 go (the first call to g_mkstemp() would overwrite the
2014 placeholder in the template string, so the second call
2015 to g_mkstemp() after creating the missing directory
2016 would then error out with 'invalid argument').
2018 2006-06-13 Edward Hervey <edward@fluendo.com>
2020 * gst/gst.c: (init_post):
2023 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2025 * gst/glib-compat-private.h:
2026 * gst/glib-compat.c:
2027 * gst/glib-compat.h:
2028 * gst/gstvalue.c: (gst_value_serialize_flags):
2029 remove GLib 2.6 compatibility code
2031 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2033 * gst/parse/Makefile.am:
2034 Fix build with 'make -j N' even more (#340016).
2036 2006-06-12 Wim Taymans <wim@fluendo.com>
2038 * docs/gst/gstreamer-sections.txt:
2041 2006-06-12 Wim Taymans <wim@fluendo.com>
2043 * gst/gstsegment.c: (gst_segment_set_duration),
2044 (gst_segment_set_last_stop), (gst_segment_set_seek),
2045 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2046 (gst_segment_to_running_time), (gst_segment_clip):
2047 Use G_UNLIKELY to help the compiler a bit.
2049 2006-06-12 Wim Taymans <wim@fluendo.com>
2051 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2053 * gst/gstevent.c: (gst_event_get_type):
2055 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2057 constify quark registration strings. Fixes #344115
2058 Avoid unneeded type checking is _pad_push() by internally
2059 calling gst_pad_chain_unchecked().
2061 2006-06-12 Wim Taymans <wim@fluendo.com>
2063 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2064 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2065 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2066 (gst_buffer_is_span_fast), (gst_buffer_span):
2067 Init _type for consistency.
2068 Use _FLAGS macro to avoid type check.
2069 Avoid unneeded type checks in subbufer code.
2071 2006-06-12 Wim Taymans <wim@fluendo.com>
2073 * gst/gst.c: (gst_debug_help):
2074 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2075 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2076 (gst_plugin_feature_list_free):
2077 * gst/gstregistry.c: (gst_registry_add_plugin),
2078 (gst_registry_add_feature), (gst_registry_plugin_filter),
2079 (gst_registry_feature_filter), (gst_registry_find_plugin),
2080 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2081 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2082 * gst/gstregistryxml.c: (load_feature),
2083 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2084 * gst/gstminiobject.c: (gst_mini_object_unref),
2085 (gst_mini_object_replace), (gst_value_mini_object_free),
2086 (gst_value_mini_object_copy):
2087 Use _CAST macros to avoid unneeded type checking.
2088 Added some more G_UNLIKELY.
2090 2006-06-12 Wim Taymans <wim@fluendo.com>
2093 Avoid unneeded type checking.
2094 API: GST_BUFFER_IS_DISCONT
2096 * gst/gstminiobject.h:
2097 Avoid type check in flag accessor.
2099 * gst/gstelementfactory.h:
2101 * gst/gstpluginfeature.h:
2103 API: GST_ELEMENT_FACTORY_CAST
2104 API: GST_PLUGIN_CAST
2105 API: GST_PLUGIN_FEATURE_CAST
2107 2006-06-12 Wim Taymans <wim@fluendo.com>
2109 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2111 Add G_UNLIKELY in type registration.
2112 Avoid type check in _ref/_unref since that is also
2115 2006-06-12 Wim Taymans <wim@fluendo.com>
2117 * gst/gsterror.c: (gst_g_error_get_type):
2118 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2119 (gst_static_pad_template_get_type):
2120 * gst/gsttaglist.c: (gst_tag_list_get_type):
2121 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2122 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2123 * gst/gsturi.c: (gst_uri_handler_get_type):
2124 * gst/gstvalue.c: (gst_date_get_type):
2125 * gst/gstxml.c: (gst_xml_get_type):
2126 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2127 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2128 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2129 Add G_UNLIKELY in type registration.
2131 2006-06-12 Wim Taymans <wim@fluendo.com>
2133 * tools/gst-inspect.c: (print_signal_info):
2134 Properly print enum values.
2136 2006-06-12 Wim Taymans <wim@fluendo.com>
2138 * gst/gstinfo.c: (gst_debug_set_active),
2139 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2141 Add some G_[UN]LIKELY.
2142 Maintain __gst_debug_min to avoid formatting the arguments of
2143 debug messages that will be dropped anyway to avoid a lot of
2144 overhead from the debugging system.
2146 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2150 add missing files containing translatable strings, tell intltool about
2153 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2155 * tests/check/libs/.cvsignore:
2156 add test-binary to ignore list
2158 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2160 * docs/libs/gstreamer-libs-docs.sgml:
2161 reorder (put dp into a chapter) and indent
2163 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2168 === release 0.10.8 ===
2170 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2173 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2175 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2177 * gst/gst.c: (init_post):
2178 move pid declaration to declaration block
2180 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2182 * gst/gst.c: (init_post):
2183 use _exit() instead of exit() in our forked child; this ensures
2184 that none of the registered exit handlers from whatever is using
2185 GStreamer get executed. This fixes gnome-mixer-applet failing
2186 to load, because ORBit would shut down.
2187 Spotted by: Edward Hervey <edward@fluendo.com>
2188 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2191 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2196 === release 0.10.7 ===
2198 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2201 releasing 0.10.7, "Soepeke, ik zie ou"
2203 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2226 * win32/common/config.h:
2229 2006-06-07 Wim Taymans <wim@fluendo.com>
2231 * gst/gstindex.c: (gst_index_gtype_resolver):
2232 * tools/gst-xmlinspect.c: (print_plugin_info):
2233 Fix leak spotted by coverity checker. Fixes #343827
2234 Fix another other leak found by paolo borelli.
2236 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2238 * libs/gst/dataprotocol/dataprotocol.c:
2239 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2240 (gst_dp_version_get_type), (gst_dp_init),
2241 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2242 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2243 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2244 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2245 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2246 (gst_dp_packetizer_free):
2247 * libs/gst/dataprotocol/dataprotocol.h:
2248 API: add a GstDPPacketizer object, and create/free functions
2249 API: add GstDPVersion enum
2250 Add 1.0 event function that uses the string serialization
2251 Serialize more useful buffer flags
2254 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2256 * tests/check/Makefile.am:
2257 * tests/check/gst/gstabi.c:
2258 * tests/check/gst/struct_ppc64.h:
2259 * tests/check/libs/libsabi.c:
2260 * tests/check/libs/struct_ppc64.h:
2261 add ppc64 structure sizes
2263 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2265 * tests/check/Makefile.am:
2266 * tests/check/gst/gstabi.c:
2267 * tests/check/gst/struct_x86_64.h:
2268 * tests/check/libs/libsabi.c:
2269 * tests/check/libs/struct_x86_64.h:
2270 generate and add structure size lists for x86_64
2272 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2274 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2275 * libs/gst/check/gstcheck.h:
2276 factor out the method from tests that checks size of structures,
2277 and add code to generate the header containing these sizes
2278 * tests/check/gst/gstabi.c: (GST_START_TEST):
2279 * tests/check/gst/struct_i386.h:
2280 * tests/check/libs/libsabi.c: (GST_START_TEST):
2281 * tests/check/libs/struct_i386.h:
2284 2006-06-06 Michael Smith <msmith@fluendo.com>
2287 Don't use c++-style comments, fixes #343929
2289 2006-06-05 Edward Hervey <edward@fluendo.com>
2292 plugin_paths is not used if we build without registry support.
2294 * gst/gstsegment.c: (gst_segment_copy):
2295 _copy() was always returning NULL...
2297 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2299 * libs/gst/dataprotocol/dataprotocol.c:
2300 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2301 (gst_dp_packet_from_event):
2304 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2306 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2307 make sure we unset caps
2309 2006-06-02 Michael Smith <msmith@fluendo.com>
2311 * libs/gst/check/gstcheck.c: (gst_check_init),
2312 (gst_check_chain_func):
2313 * libs/gst/check/gstcheck.h:
2314 Add a cond/mutex to the check support lib, signal this whenever we
2315 add to the buffers list. This will allow tests to not busy-wait on
2318 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2320 * libs/gst/dataprotocol/dataprotocol.c:
2321 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2322 (gst_dp_packet_from_event):
2323 factor out some common header init code
2325 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2327 * docs/libs/gstreamer-libs-sections.txt:
2328 * docs/libs/tmpl/gstdataprotocol.sgml:
2329 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2330 * libs/gst/dataprotocol/dataprotocol.h:
2331 API: make gst_dp_crc() public
2333 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2335 * plugins/indexers/gstindexers.c: (plugin_init):
2336 conditionally register fileindexer (fixes #343598)
2338 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2340 * gst/gsttagsetter.h:
2341 Can't cast ifaces to a class
2343 * libs/gst/net/gstnetclientclock.h:
2344 * libs/gst/net/gstnettimeprovider.h:
2345 * plugins/elements/gstfakesink.h:
2346 * plugins/elements/gstfakesrc.h:
2347 * plugins/elements/gstfdsink.h:
2348 * plugins/elements/gstfdsrc.h:
2349 * plugins/elements/gstfilesink.h:
2350 * plugins/elements/gstfilesrc.h:
2351 * plugins/elements/gstidentity.h:
2352 * plugins/elements/gstqueue.h:
2353 * plugins/elements/gsttee.h:
2354 * plugins/indexers/gstfileindex.c:
2355 * plugins/indexers/gstmemindex.c:
2356 * tests/old/examples/plugins/example.h:
2357 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2359 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2361 * libs/gst/dataprotocol/dataprotocol.c:
2362 (gst_dp_header_from_buffer):
2363 make sure we zero the whole ABI-compatible area
2365 2006-06-01 Wim Taymans <wim@fluendo.com>
2367 Patch by: Alessandro Decina <alessandro at nnva dot org>
2369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2370 Make sure the EOS flag is cleared from pads after a flush
2371 or stop. Fixes #343538.
2373 * tests/check/libs/collectpads.c: (GST_START_TEST),
2374 (gst_collect_pads_suite):
2375 Added test for collectpads reusage after EOS.
2377 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2380 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2381 * win32/common/libgstbase.def:
2382 export gst_collect_pads_set_flushing
2383 * win32/common/libgstreamer.def:
2384 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2385 gst_value_fraction_multiply
2386 * win32/vs6/gst_inspect.dsp:
2387 add a link to intl.lib
2389 2006-05-30 Wim Taymans <wim@fluendo.com>
2391 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2392 (gst_collect_pads_chain):
2393 Handle the case where a pad is removed from the collection
2394 that could cause the other pads to become collectable.
2396 2006-05-30 Wim Taymans <wim@fluendo.com>
2399 Clarify the use of _release_request_pad() and
2400 _get_request_pad() a bit better.
2402 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2403 (gst_adapter_take_buffer):
2404 Fix some doc and comment typos.
2406 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2408 * docs/gst/gstreamer-sections.txt:
2409 * docs/libs/gstreamer-libs-sections.txt:
2410 add declared symbols
2412 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2414 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2415 Add debug that can be enabled using a #define at the top of the file,
2416 for dumping stats about how late/early we were when waking up from
2417 waiting on the clock.
2419 2006-05-30 Wim Taymans <wim@fluendo.com>
2421 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2422 When rebuilding the pad list, don't leak the previous list.
2424 2006-05-30 Wim Taymans <wim@fluendo.com>
2426 Patch by: Lutz Mueller <lutz at topfrose dot de>
2428 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2429 (gst_base_src_get_query_types), (gst_base_src_update_length):
2430 Publish supported query types.
2431 Update last_stop field in get_range mode so the position
2432 query works. Fixes #342321.
2434 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2436 * docs/gst/gstreamer-sections.txt:
2437 * gst/gsttaglist.c: (_gst_tag_initialize):
2439 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2441 2006-05-30 Wim Taymans <wim@fluendo.com>
2443 Patch by: Alessandro Decina <alessandro at nnva dot org>
2445 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2446 Unlock mutex when removing an unknown pad.
2449 * tests/check/Makefile.am:
2450 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2451 (push_event), (setup), (teardown), (GST_START_TEST),
2452 (gst_collect_pads_suite), (main):
2453 Added collecpads check, disabled for now as check crashes for
2456 2006-05-29 Wim Taymans <wim@fluendo.com>
2458 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2459 Don't leak pads lists.
2461 2006-05-29 Wim Taymans <wim@fluendo.com>
2463 * docs/libs/gstreamer-libs-sections.txt:
2464 * libs/gst/base/gstcollectpads.c:
2465 (gst_collect_pads_set_flushing_unlocked),
2466 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2467 (gst_collect_pads_stop):
2468 * libs/gst/base/gstcollectpads.h:
2469 API: gst_collect_pads_set_flushing()
2470 Added api to set the pads to flushing, useful for seeking
2471 code in elements using collectpads.
2472 Clear segment when receiving a flush.
2474 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2476 * gst/gst.c: (add_path_func), (init_post):
2477 Don't scan registry paths passed via --gst-plugin-path immediately
2478 (will crash, because absolutely nothing is set up and no types are
2479 registered etc.); do this later in init_post(). Fixes #343057.
2481 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2483 * gst/gst.c: (init_post):
2484 if we have fork, fork while reading/rebuilding the registry
2485 so the parent doesn't take the hit of having all plugins loaded
2486 in memory. Fixes #342777.
2488 Check if we have fork()
2489 * win32/common/config.h.in:
2492 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2494 * plugins/elements/gstelements.c:
2495 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2496 (gst_file_src_init), (gst_file_src_set_property),
2497 (gst_file_src_get_property), (gst_file_src_start):
2498 * plugins/elements/gstfilesrc.h:
2499 API: GstFileSrc::use-mmap
2501 Add a use-mmap property to enable easier testing of all code paths.
2502 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2503 in the absence of gnomevfssrc. (Closes #340501)
2505 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2507 * tools/gst-inspect.c:
2508 Add missing include, removes warning of ngettext not being defined on
2511 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2513 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2514 Handle NULL input and output pointers silently as a failed conversion,
2515 rather than g_warnings.
2517 2006-05-25 Wim Taymans <wim@fluendo.com>
2519 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2520 Initialize variable before using. Fixes #342820.
2522 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2524 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2525 Fix off-by-one bug that would only allow peeks of N-1 bytes
2526 from the start even if the buffer to typefind on contains
2527 in fact N bytes of data (makes vorbis typefinding from a
2528 vorbis identification header buffer work).
2530 * tests/check/Makefile.am:
2531 * tests/check/libs/.cvsignore:
2532 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2533 (gst_typefindhelper_suite), (main), (foobar_typefind),
2535 Add very basic unit test for gst_type_find_helper_for_buffer()
2536 that checks for the problem fixed above.
2538 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2540 * tools/gst-inspect.c: (print_interfaces),
2541 (print_element_properties_info), (print_element_list), (main):
2542 add more translatable strings
2544 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2546 Patch by: Julien Moutte <julien at moutte net>
2548 * docs/gst/gstreamer-sections.txt:
2549 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2551 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2552 (gst_fake_sink_preroll):
2553 * plugins/elements/gstfakesink.h:
2554 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2556 2006-05-23 Wim Taymans <wim@fluendo.com>
2558 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2560 Added _CUSTOM error and success GstFlowReturn that can be
2561 used be elements internally.
2562 Added macro to check for SUCCESS flowreturns.
2563 API: GST_FLOW_CUSTOM_SUCCESS
2564 API: GST_FLOW_CUSTOM_ERROR
2565 API: GST_FLOW_IS_SUCCESS
2567 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2568 Added check for GstFlowReturn sanity.
2570 2006-05-23 Wim Taymans <wim@fluendo.com>
2572 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2574 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2575 (gst_collect_pads_event):
2576 clear/reset segment info in FLUSH_STOP.
2579 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2582 (gst_collect_pads_check_collected):
2583 Flush queued buffer on _stop(), fixes playing again (#342454)
2585 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2587 * tests/check/gst/gststructure.c: (GST_START_TEST),
2588 (gst_structure_suite):
2589 add a test for a complete structure
2591 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2593 * docs/faq/developing.xml:
2595 * docs/faq/troubleshooting.xml:
2596 * docs/faq/using.xml:
2597 Some minor FAQ updates that won't change the fact that
2598 our FAQ is badly structured, full of information hardly
2599 anyone new to GStreamer needs to know and lacking lots
2600 of information people constantly ask for.
2602 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2604 * gst/gstpad.c: (gst_pad_set_caps):
2605 Short-circuit gst_pad_set_caps if setting the existing
2606 caps pointer again, and avoid printing debug and
2607 reffing/unreffing the caps.
2609 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2610 There's actually no need to set the caps before pushing -
2611 the acceptcaps method will handle it anyway.
2613 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2615 * docs/gst/gstreamer-sections.txt:
2616 * win32/common/libgstreamer.def:
2617 * gst/gstutils.c: (gst_element_seek_simple):
2619 API: add gst_element_seek_simple() (#342238).
2621 2006-05-18 Edward Hervey <edward@fluendo.com>
2623 * gst/gsttypefind.c: (gst_type_find_get_type):
2624 * gst/gsttypefind.h:
2625 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2626 registered for GstTypeFind pointers. This allows wrapping the structure
2627 in bindings (i.e. gst-python).
2629 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2631 * gst/gsttagsetter.c:
2632 Docs additions and fixes (see #339918).
2634 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2636 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2637 The caps intersection algorithm can produce multiple copies of the
2638 caps. Until that is fixed, we need to simplify the result to be
2639 sure whether the allowed caps are fixed or not.
2641 * plugins/elements/gstqueue.c: (gst_queue_init),
2642 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2643 (gst_queue_push_one):
2644 Proxied buffer alloc should not set the caps on the source pad.
2645 When pushing buffers, we always accept the caps change that triggers.
2646 This prevents negotiation errors caused by caps changing mid-stream
2647 and then being refused on our source pad (because upstream is now
2648 refusing those caps).
2650 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2652 * tests/examples/helloworld/helloworld.c: (main):
2653 Must plug audioconvert and audioresample between decoder
2656 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2658 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2659 (load_feature), (load_plugin):
2660 Allow empty strings for some of the plugin fields so we don't
2661 drop valid plugin entries that were written out correctly
2664 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2666 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2667 Use g_remove and g_rename instead of remove and rename that don't
2668 handle utf8 characters. rename was failing for users who had specific
2669 characters in their name then the registry was built at each
2671 * win32/vs6/gst_inspect.dsp:
2672 * win32/vs6/gst_launch.dsp:
2673 * win32/vs6/libgstbase.dsp:
2674 * win32/vs6/libgstcoreelements.dsp:
2675 * win32/vs6/libgstreamer.dsp:
2676 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2677 build of libgstreamer and clean unused libraries in projects link
2680 2006-05-17 Edward Hervey <edward@fluendo.com>
2682 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2683 The queue is not responsible for pushing an EOS when receiving a fatal
2684 flow error. It's up to the real element driving the pipeline to do that.
2686 2006-05-16 Edward Hervey <edward@fluendo.com>
2688 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2689 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2690 buffer returned a fatal error. It should just send an EOS and stop
2692 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2693 when pushing buffers on the queue and will be able to handle the event.
2695 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2697 * docs/manual/basics-bins.xml:
2698 * docs/manual/basics-init.xml:
2699 Fix typos and minor errors in sample code (#341856).
2701 2006-05-16 Wim Taymans <wim@fluendo.com>
2703 * docs/design/part-qos.txt:
2704 Fix indexes in formulas to make more sense.
2706 2006-05-15 Wim Taymans <wim@fluendo.com>
2708 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2709 Don't report POSITION based on clock time if sync is
2712 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2715 Add cast to make compiler happy - refcount variable was a gint
2716 in GstObject but is a guint in GObject and g_atomic_int_get()
2719 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2721 * gst/parse/Makefile.am:
2722 chain commands using &&, which also makes parallel make work
2724 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2726 * docs/gst/gstreamer-sections.txt:
2732 === release 0.10.6 ===
2734 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2737 releasing 0.10.6, "Take the cannoli"
2739 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2741 * tools/gst-launch.c: (print_tag):
2742 Fix use of uninitialized variable in the hypothetical
2743 case that some broken plugin creates a GST_TAG_IMAGE
2744 tag containing a NULL buffer (#341667).
2746 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2748 * tools/gst-launch.c: (print_tag):
2749 Print something more intelligible for image tags when
2750 using the -t switch (#341556).
2752 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2757 define GST_MAJORMINOR so we have it available in win32/common/config.h
2758 Possibly remove it from our Makefile.am files later
2759 * win32/common/config.h:
2760 * win32/common/config.h.in:
2761 added GST_MAJORMINOR
2762 * win32/common/gstenumtypes.c: (register_gst_resource_error):
2763 * win32/common/gstversion.h:
2766 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
2769 Update win32 files listing.
2770 * win32/common/gstversion.h:
2771 Add GST_MAJORMINOR definition.
2772 * win32/common/libgstreamer.def:
2773 Add new exported functions.
2775 2006-05-12 Michael Smith <msmith@fluendo.com>
2777 * gst/gstplugin.c: (gst_plugin_load_file):
2778 If an so file has no plugin entry point, unload the module.
2780 2006-05-11 Wim Taymans <wim@fluendo.com>
2782 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2783 (gst_queue_set_property):
2784 Don't forget to signal the _chain or _loop function
2785 when the queue size or thresholds change since that might
2786 cause them to make progres again.
2788 2006-05-11 Stefan Kost <ensonic@users.sf.net>
2790 * gst/gstclock.c: (gst_clock_class_init):
2791 * gst/gstindex.c: (gst_index_class_init):
2792 * gst/gstobject.c: (gst_object_class_init):
2793 * gst/gstpad.c: (gst_pad_class_init):
2794 * gst/gstpipeline.c: (gst_pipeline_class_init):
2795 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2796 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2797 * libs/gst/base/gstbasetransform.c:
2798 (gst_base_transform_class_init):
2799 * libs/gst/net/gstnetclientclock.c:
2800 (gst_net_client_clock_class_init):
2801 * libs/gst/net/gstnettimeprovider.c:
2802 (gst_net_time_provider_class_init):
2803 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2804 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2805 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2806 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2807 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2808 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2809 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2810 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2811 * plugins/elements/gsttee.c: (gst_tee_class_init):
2812 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2813 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2814 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2816 2006-05-11 Wim Taymans <wim@fluendo.com>
2818 * gst/gstbuffer.c: (_gst_buffer_initialize):
2819 Register subbufer along with the buffer type so that
2820 it does not accidentally gets registered from N
2821 different streaming threads in a non threadsafe way.
2823 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2828 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2829 gst_event_ref() and gst_message_ref() functions again
2830 (ugly hack, please do fix if there's a better way besides
2831 overrides.txt, which doesn't seem to work).
2833 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2835 * libs/gst/check/gstcheck.h:
2836 add an assert for setting state to avoid lots of repetitive code
2839 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2841 * gst/gstvalue.c: (gst_value_serialize_flags):
2842 fix a leak if no flags are set
2843 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2846 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2848 * docs/manual/basics-pads.xml:
2849 Expand a bit on caps and filtered links and update
2850 examples that were still using the no longer existing
2851 gst_pad_link_filtered() (#338206).
2853 2006-05-10 Wim Taymans <wim@fluendo.com>
2855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2856 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
2857 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2858 (gst_collect_pads_stop):
2859 * libs/gst/base/gstcollectpads.h:
2860 No need to call _stop in _finalize.
2861 Iterate the main pad list in _finalize.
2862 Added some more debug.
2863 Free lists and data in the right order.
2864 Also free data whem doing _remove_pad when stopped for
2865 backward compatibility protect ::started with PAD_LOCK as
2868 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2870 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
2871 (gst_structure_parse_value):
2873 rename a method so that it actually says what it does better
2875 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
2877 * gst/gstevent.c: (_gst_event_initialize):
2878 * gst/gstformat.c: (_gst_format_initialize):
2879 make sure some essential types used by events are registered
2880 as part of gst_init()
2881 * gst/gstvalue.c: (gst_value_serialize_flags):
2882 if no flags are set, serialize them to a value that represents NONE
2883 so that deserializing them works
2884 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2885 add tests for serialization and deserialization of flags
2887 2006-05-10 Wim Taymans <wim@fluendo.com>
2889 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
2890 (gst_collect_pads_collect_range), (gst_collect_pads_available),
2891 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
2892 (gst_collect_pads_event), (gst_collect_pads_chain):
2895 Catch and return errors from the collect function
2896 Refuse data on eos pads.
2898 2006-05-10 Edward Hervey <edward@fluendo.com>
2900 * gst/gstinterface.h:
2901 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
2902 GInterface type checking.
2903 They were previously using non-defined macros.
2905 2006-05-09 Wim Taymans <wim@fluendo.com>
2907 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
2908 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
2909 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
2910 (gst_collect_pads_start), (gst_collect_pads_stop),
2911 (gst_collect_pads_peek), (gst_collect_pads_pop),
2912 (gst_collect_pads_available), (gst_collect_pads_read),
2913 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
2914 (gst_collect_pads_is_collected), (gst_collect_pads_event),
2915 (gst_collect_pads_chain):
2916 * libs/gst/base/gstcollectpads.h:
2917 Clean up the mess that is collectpads, add comments and
2918 FIXMEs where needed.
2919 Maintain a separate pad list so we can add pads while
2920 collecting the other ones. For this we need a new separate
2922 Fix memory leak in finalize.
2923 Refactor some weird code to set/unset pad flushing flags, mark
2925 Don't crash in _available, _read, _flush when we're EOS.
2927 * tests/check/libs/.cvsignore:
2928 Ignore adapter check binary.
2930 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2932 * gst/gstindex.c: (gst_index_resolver_get_type):
2933 * plugins/elements/gstfakesink.c:
2934 (gst_fake_sink_state_error_get_type):
2935 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2936 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
2937 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
2938 Const-ify GEnumValue arrays.
2940 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2942 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2943 Add test case for flags + gst_buffer_make_metadata_writable().
2945 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2947 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
2948 gst_buffer_make_metadata_writable() should maintain the
2949 buffer flags (those that make sense at least) (see #340859).
2951 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2953 * tools/gst-inspect.c:
2954 * tools/gst-launch.c:
2955 * tools/gst-typefind.c:
2956 * tools/gst-xmlinspect.c:
2958 Fix up includes: need to include stdlib.h in tools.h for exit().
2960 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
2962 * gst/gsttaglist.c: (_gst_tag_initialize):
2964 API: add GST_TAG_IMAGE tag (#340721).
2966 2006-05-08 Wim Taymans <wim@fluendo.com>
2969 Added some docs for the segment query.
2971 2006-05-08 Wim Taymans <wim@fluendo.com>
2973 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2974 (gst_base_src_loop), (gst_base_src_change_state):
2975 Always push non-flushing serialized events in the streaming
2978 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
2980 * gst/gsterror.c: (_gst_stream_errors_init):
2981 Add a missing error string.
2983 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
2985 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
2986 Add applied_rate to the debug
2988 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
2989 Copy applied_rate into the outgoing NEWSEGMENT event
2991 2006-05-08 Wim Taymans <wim@fluendo.com>
2993 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
2995 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
2996 (gst_base_sink_change_state):
2997 call ::unlock before taking the PREROLL_LOCK so we can safely
2998 handle elements that lock in ::render.
3001 2006-05-08 Edward Hervey <edward@fluendo.com>
3003 * autogen.sh: (CONFIGURE_DEF_OPT):
3004 Darwin's libtoolize is in fact called glibtoolize.
3005 Adding glibtoolize to the list of accepted names for libtoolize.
3007 2006-05-08 Wim Taymans <wim@fluendo.com>
3009 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3010 Unify error handling, don't post an error message
3011 when a push() returns EOS but perform our normal EOS
3012 handling code. Fixes #340772.
3014 2006-05-08 Wim Taymans <wim@fluendo.com>
3016 * docs/design/part-overview.txt:
3017 Make upsteam/downstream concepts more clear.
3018 Give an example of serialized/non-serialized events.
3020 * docs/design/part-events.txt:
3021 * docs/design/part-streams.txt:
3022 Mention applied_rate.
3024 * docs/design/part-trickmodes.txt:
3025 Mention applied rate, flesh out some more use cases.
3027 * gst/gstevent.c: (gst_event_new_new_segment),
3028 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3029 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3030 (gst_event_parse_tag), (gst_event_new_buffer_size),
3031 (gst_event_parse_buffer_size), (gst_event_new_qos),
3032 (gst_event_parse_qos), (gst_event_parse_seek),
3033 (gst_event_new_navigation):
3035 Add applied_rate field to NEWSEGMENT event.
3036 API: gst_event_new_new_segment_full()
3037 API: gst_event_parse_new_segment_full()
3039 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3040 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3041 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3043 Add applied_rate to GstSegment structure.
3044 Make calculation of stream_time and running_time more correct
3045 wrt rate/applied_rate.
3047 API: GstSegment::applied_rate field
3048 API: gst_segment_set_newsegment_full();
3050 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3051 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3052 * libs/gst/base/gstbasetransform.c:
3053 (gst_base_transform_sink_eventfunc),
3054 (gst_base_transform_handle_buffer):
3055 Parse and use applied_rate in the GstSegment field.
3057 * tests/check/gst/gstevent.c: (GST_START_TEST):
3058 Add check for applied_rate field.
3060 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3061 (gstsegments_suite):
3062 Add more checks for various GstSegment operations.
3064 2006-05-08 Wim Taymans <wim@fluendo.com>
3066 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3067 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3068 (gst_base_sink_get_position), (gst_base_sink_change_state):
3069 Store the sync time of the buffer end position separatly in a
3070 new variable eos_rtime so we can properly sync the EOS event.
3072 Fix the docs for gst_base_sink_set_qos_enabled().
3073 Don't set segment start to invalid value when we receive a
3074 non TIME newsegment.
3075 get closer to handling position reporting for negative rates
3078 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3081 Docs about how to print caps for debug purposes.
3083 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3084 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3086 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3089 use full enum names and preprend a '%' in docs strings to make recent
3090 gtk-doc turn that into a link
3092 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3094 * docs/manual/basics-bins.xml:
3095 * docs/manual/basics-bus.xml:
3096 * docs/manual/basics-pads.xml:
3097 Some typo fixes, some additions, some clarifications.
3099 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3101 * tools/gst-inspect.c: (main):
3102 * tools/gst-launch.c: (main):
3103 * tools/gst-run.c: (main):
3104 * tools/gst-typefind.c: (main):
3105 * tools/gst-xmlinspect.c: (main):
3106 Use the string passed to g_option_context_new() for
3107 what it's intended for - the program name is already
3110 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3112 * tools/Makefile.am:
3113 * tools/gst-inspect.c: (main):
3114 * tools/gst-launch.c: (main):
3115 * tools/gst-xmlinspect.c: (main):
3117 Add back --version command line option (#340460).
3119 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3120 Add --version option and use GOption for argument parsing; refactor a
3121 bit; accept directories as arguments and recurse into them; lastly,
3122 print a decent error message when things go wrong.
3124 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3126 * docs/manual/basics-bins.xml:
3127 Don't mention GstThread (#340611)
3128 * docs/manual/basics-elements.xml:
3129 Update link to GObject tutorial (#340607)
3131 2006-05-05 Wim Taymans <wim@fluendo.com>
3134 * gst/gstminiobject.c:
3135 Add note about refcounting and miniobject/buffer writeability
3136 to docs. Fixes #340604
3138 * gst/gstelementfactory.h:
3139 Added some explanation about @klass.
3141 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3143 * docs/manual/intro-motivation.xml:
3144 * docs/manual/manual.xml:
3145 Avoid CORBA & Bonobo references (#340598)
3147 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3149 * docs/manual/basics-bus.xml:
3150 * docs/manual/basics-pads.xml:
3151 Fix up some inaccuracies and omissions (#340609)
3153 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3155 * gst/gstghostpad.c:
3156 Small typo in docs (#340625)
3158 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3160 * gst/parse/Makefile.am:
3161 Make 'make -j' proof (see #340698).
3163 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3166 Require GLib-2.8 here as well.
3168 2006-05-05 Wim Taymans <wim@fluendo.com>
3170 * gst/glib-compat.c:
3171 * gst/gst.c: (init_pre):
3172 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3173 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3174 (gst_object_dispatch_properties_changed):
3176 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3177 * gst/gststructure.c: (gst_structure_set_valist):
3178 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3179 Remove pre glib2.8 compatibility, fixes #340508
3181 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3184 Mention type of tags in doc blurbs.
3186 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3188 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3189 (gst_pad_configure_src), (gst_pad_push):
3190 Restore acceptcaps checking behaviour now that good plugins have
3193 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3195 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3206 * gst/parse/Makefile.am:
3207 * libs/gst/base/gstadapter.c:
3208 * libs/gst/base/gstbasesrc.c:
3209 * libs/gst/base/gstpushsrc.c:
3210 * libs/gst/base/gsttypefindhelper.c:
3211 * plugins/elements/gstfakesrc.c:
3212 * plugins/elements/gstidentity.c:
3213 Make sure gstprivate.h and/or config.h are
3214 always included first, otherwise some of our
3215 defines (like _FILE_OFFSET_BITS) might be
3216 redefined in the system headers. Fixes build
3217 on opensolaris (#340016).
3219 2006-05-04 Wim Taymans <wim@fluendo.com>
3221 * docs/libs/gstreamer-libs-sections.txt:
3222 API: addition: gst_adapter_take_buffer()
3224 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3225 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3226 (gst_adapter_available_fast):
3227 * libs/gst/base/gstadapter.h:
3228 Prepare for optimizing the hell out of this hugely inefficient
3230 Added gst_adapter_take_buffer() so we can at least start thinking
3231 about subbuffering and merging.
3232 Added some comments.
3234 * tests/check/Makefile.am:
3235 * tests/check/libs/adapter.c: (GST_START_TEST),
3236 (gst_adapter_suite), (main):
3237 Added GstAdapter check.
3239 2006-05-04 Wim Taymans <wim@fluendo.com>
3241 * docs/design/part-overview.txt:
3242 Fix some typos, add blurb about buffer flags.
3244 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3246 * docs/libs/gstreamer-libs-sections.txt:
3247 make sure GstBaseTransformClass shows up in the docs
3248 * libs/gst/base/gstbasetransform.c:
3249 * libs/gst/base/gstbasetransform.h:
3250 move docs so gtk-doc picks it up now
3252 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3254 * docs/libs/gstreamer-libs-sections.txt:
3255 add missing symbols to docs
3257 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3259 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3260 back out the newsegment handling change, see #340060 for ongoing
3263 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3265 * tools/gst-run.c: (get_candidates), (main):
3266 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3267 work); fix typo in error message. Fixes #340079.
3269 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3271 * common/Makefile.am:
3273 * docs/faq/Makefile.am:
3274 * docs/gst/Makefile.am:
3275 * docs/libs/Makefile.am:
3276 * docs/manual/Makefile.am:
3277 * docs/plugins/Makefile.am:
3278 * docs/pwg/Makefile.am:
3279 * docs/slides/Makefile.am:
3281 * common/upload.mak:
3282 move upload.mak to common
3284 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3286 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3287 add more asserts on refcounts
3288 do more cleanup at end of tests
3289 fix test leaks showing in FC5
3291 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3293 * plugins/elements/gsttypefindelement.c:
3294 (gst_type_find_element_handle_event):
3295 reverted wrong change and reflowed code to avoid others falling into
3298 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3300 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3301 fix changelog entry about last collectpads change,
3302 add notes about proper fix
3304 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3307 * gst/gstregistry.c: (gst_registry_scan_path_level),
3308 (gst_registry_scan_path):
3309 * gst/gstregistry.h:
3310 only write out registry if it has changed, fixes #338339
3312 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3315 * gst/gstpipeline.c:
3316 * plugins/elements/gstcapsfilter.c:
3317 * plugins/elements/gstfakesink.c:
3318 * plugins/elements/gstfakesrc.c:
3319 * plugins/elements/gstfdsink.c:
3320 * plugins/elements/gstfdsrc.c:
3321 * plugins/elements/gstfilesink.c:
3322 * plugins/elements/gstfilesrc.c:
3323 * plugins/elements/gstidentity.c:
3324 * plugins/elements/gstqueue.c:
3325 * plugins/elements/gsttee.c:
3326 * plugins/elements/gsttypefindelement.c:
3327 (gst_type_find_element_handle_event):
3328 make GstElementDetails const
3330 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3332 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3333 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3334 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3335 more detailed debug and formatting cleanup,
3336 forward newsegments to src-pad (so that e.g. adder not eats them)
3338 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3340 * gst/gstutils.c: (gst_element_link_pads):
3343 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3345 * libs/gst/controller/gstcontroller.c:
3346 (gst_controller_sync_values):
3348 * tests/check/libs/controller.c: (GST_START_TEST),
3349 (gst_controller_suite):
3350 a new test for live value handling
3352 2006-04-28 Wim Taymans <wim@fluendo.com>
3354 * gst/gstutils.c: (push_and_ref):
3355 Added some more docs.
3356 Fix refcount issue whith gst_element_found_tags() helper
3357 function. Fixes #338335
3359 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3360 Added testsuite for gst_element_found_tags().
3362 2006-04-28 Michael Smith <msmith@fluendo.com>
3364 * gst/gstvalue.c: (gst_value_serialize_flags):
3365 Avoid NULL dereference when trying to serialize flags containing
3368 2006-04-28 Michael Smith <msmith@fluendo.com>
3370 * plugins/elements/gsttypefindelement.c:
3371 (gst_type_find_element_handle_event):
3372 If we get EOS before any data is accumulated, don't use
3373 uninitialised local variables.
3375 2006-04-28 Michael Smith <msmith@fluendo.com>
3377 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3378 (gst_dp_event_from_packet):
3379 Fixes in reading/writing events over GDP (not currently used?) -
3380 dereferencing NULL events for unknown/invalid event types, memory
3381 leak, and change g_warning to GST_WARNING.
3383 2006-04-28 Wim Taymans <wim@fluendo.com>
3385 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3386 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3387 (gst_base_sink_get_position), (gst_base_sink_change_state):
3388 When frame dropping is enabled, we should not ignore frames
3390 Update some documentation.
3392 2006-04-28 Wim Taymans <wim@fluendo.com>
3394 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3395 (gst_base_src_send_event), (gst_base_src_change_state):
3396 Documentation updates.
3398 2006-04-28 Wim Taymans <wim@fluendo.com>
3400 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3401 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3402 handle EAGAIN, EINTR and short writes correctly. Also clean
3403 up some error cases, avoid a deadlock on bad file descriptors and
3404 use GST_DEBUG_OBJECT.
3407 2006-04-28 Wim Taymans <wim@fluendo.com>
3409 * gst/gstvalue.c: (gst_value_serialize_buffer),
3410 (gst_value_deserialize_buffer):
3411 Don't try to serialize a GValue with a NULL buffer.
3414 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3415 Added check for serialisation of NULL buffers.
3417 2006-04-28 Wim Taymans <wim@fluendo.com>
3419 * gst/gstminiobject.c: (gst_value_take_mini_object):
3420 Taking a NULL miniobject is valid, fix the case where
3421 we try to unref the NULL miniobject.
3423 2006-04-28 Wim Taymans <wim@fluendo.com>
3425 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3427 * gst/gstbin.c: (gst_bin_handle_message_func):
3429 Don't leak bin refcount when a state recalc is
3430 in progress and we delay another one #339808.
3432 2006-04-28 Wim Taymans <wim@fluendo.com>
3434 * docs/design/part-TODO.txt:
3435 Mention QoS as an ongoing work item.
3437 * docs/design/part-buffering.txt:
3438 New doc about buffering that needs to be fleshed out
3441 * docs/design/part-qos.txt:
3442 More QoS policy for decoders/demuxers/transforms
3444 * docs/design/part-trickmodes.txt:
3447 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3452 === release 0.10.5 ===
3454 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3457 releasing 0.10.5, "Fogo"
3459 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3461 patch by: Wim Taymans
3463 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3464 (gst_pad_configure_src), (gst_pad_push):
3465 * gst/gstpipeline.c: (gst_pipeline_init):
3466 Fix internal data flow errors. Fixes #338711.
3468 2006-04-12 Wim Taymans <wim@fluendo.com>
3470 * tests/check/gst/gstelement.c: (GST_START_TEST):
3471 Don't leak the factory.
3473 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3476 * win32/common/config.h:
3479 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3481 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3482 (gst_controller_unset_all):
3483 Free allocated GstTimedValues when freeing list nodes.
3484 Should fix leaks 'make check-valgrind' complains about.
3486 * win32/common/libgstcontroller.def:
3487 Add gst_controller_unset_all.
3489 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3491 * docs/libs/gstreamer-libs-sections.txt:
3492 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3493 (gst_controller_unset_all):
3494 * libs/gst/controller/gstcontroller.h:
3495 API: Added new method gst_controller_unset_all()
3496 fixed gst_controller_unset()
3497 * tests/check/libs/controller.c: (GST_START_TEST),
3498 (gst_controller_suite):
3499 Added two testcases for new and fixed method
3501 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3503 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3504 MSG_DONTWAIT is not defined on Cygwin, so work
3505 around that (fixes #317048).
3507 2006-04-11 Wim Taymans <wim@fluendo.com>
3509 * gst/gstelementfactory.c: (gst_element_register),
3510 (gst_element_factory_create), (gst_element_factory_make):
3513 Updated docs (Fixes #131079)
3515 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3518 * tests/check/gst/gstelement.c: (GST_START_TEST),
3519 (gst_element_suite):
3520 Added testcase for elementfactory class field.
3522 2006-04-10 Wim Taymans <wim@fluendo.com>
3525 Added some more docs.
3527 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3528 (gst_base_sink_reset_qos):
3529 Calculate more accurate rate values.
3531 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3533 * gst/gst_private.h:
3534 add a new #ifdef to use __declspec(dllimport) only for
3535 other modules and not for gstreamer core
3536 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3537 use gst_guint64_to_gdouble for conversion
3538 * win32/common/libgstreamer.def:
3539 add new exported functions
3540 * win32/vs6/gst_inspect.dsp:
3541 * win32/vs6/gst_launch.dsp:
3542 * win32/vs6/libgstbase.dsp:
3543 * win32/vs6/libgstcontroller.dsp:
3544 * win32/vs6/libgstcoreelements.dsp:
3545 * win32/vs6/libgstdataprotocol.dsp:
3546 * win32/vs6/libgstnet.dsp:
3547 update project files
3549 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3551 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3552 * gst/gstclock.c: (gst_clock_class_init):
3553 * gst/gstelement.c: (gst_element_class_init):
3554 * gst/gstindex.c: (gst_index_class_init):
3555 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3556 * gst/gstobject.c: (gst_object_class_init),
3557 (gst_signal_object_class_init):
3558 * gst/gstpad.c: (gst_pad_class_init):
3559 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3560 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3561 * gst/gstregistry.c: (gst_registry_class_init):
3562 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3563 * gst/gsttask.c: (gst_task_class_init):
3564 * gst/gstxml.c: (gst_xml_class_init):
3565 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3566 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3567 (gst_base_src_loop):
3568 * libs/gst/controller/gstcontroller.c:/
3569 (_gst_controller_class_init):
3570 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3571 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3572 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3573 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3574 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3575 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3577 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3579 * gst/gstpad.c: (gst_pad_link):
3580 Must set peer pads before calling the link function, otherwise
3581 a task started from a link function might get a flow-not-linked
3582 result when trying to push because the other thread where the
3583 linking happens hasn't had a chance to set the peers yet. This
3584 might happen for example when a queue gets linked to a downstream
3585 element, as queue starts a streaming task when its source pad
3586 gets linked. Happens in real life when playing back flac/musepack
3587 files in playbin (#332390).
3589 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3593 * libs/gst/base/gstadapter.h:
3594 * libs/gst/base/gstbasesink.h:
3595 * libs/gst/base/gstbasesrc.h:
3596 * libs/gst/base/gstbasetransform.h:
3597 * libs/gst/base/gstcollectpads.h:
3598 * libs/gst/base/gstpushsrc.h:
3599 Fix broken GObject macros
3601 2006-04-07 Wim Taymans <wim@fluendo.com>
3603 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3604 Initialize start and stop times, thanks valgrind.
3606 2006-04-07 Wim Taymans <wim@fluendo.com>
3608 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3609 Be a bit nicer to badly behaving upstream elements that expect
3610 us to deal with non TIME segments and timestamps (such as fakesrc
3613 2006-04-07 Wim Taymans <wim@fluendo.com>
3616 Small documentation clarification about the signal watch.
3618 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3619 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3620 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3621 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3622 (gst_base_sink_get_position_last),
3623 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3624 Convert and store timestamps in stream time and running time, the
3625 raw timestamps are not usefull, also document this better.
3626 Use different window sizes for good and bad QoS observations so
3627 we react to badness a little quicker.
3628 Keep track of the amount of rendered and dropped buffers.
3629 Send QoS timestamps in running time.
3631 * libs/gst/base/gstbasetransform.c:
3632 (gst_base_transform_sink_eventfunc),
3633 (gst_base_transform_handle_buffer):
3634 Compare QoS timestamps against running time.
3636 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3641 2006-04-06 Michael Smith <msmith@fluendo.com>
3643 * gst/gstpad.c: (gst_pad_set_property):
3644 Use g_value_get_object() instead of g_value_dup_gst_object(),
3645 to avoid double-reffing the pad template (which we then sink,
3646 so this worked previously if (and only if) the pad template
3649 * gst/gstpadtemplate.c: (gst_pad_template_init),
3650 (gst_pad_template_pad_created):
3651 Never return floating references to pad templates, create
3652 them as initially-sunken.
3654 Document an extra function (and make this stop sinking our
3655 pad template, since that is now guaranteed to do nothing,
3656 since we created it sunken).
3658 * gst/gstghostpad.c:
3661 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3663 * gst/gstinfo.c: (__gst_in_valgrind):
3666 * plugins/elements/gsttypefindelement.c:
3667 (gst_type_find_element_chain):
3668 Don't leak buffer caps.
3670 2006-04-06 Michael Smith <msmith@fluendo.com>
3672 * gst/parse/grammar.y:
3673 Fix a leak in parse-launch for any source-or-sink named element
3676 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3677 Unref the pipeline if it exists after we've failed parsing.
3679 2006-04-05 Michael Smith <msmith@fluendo.com>
3681 * gst/gstpipeline.c: (gst_pipeline_init):
3682 When we create a pipeline bus, initially create it in flushing mode.
3683 Fixes leaks in at least one test, and makes a new pipeline work the
3684 same as one that has gone to READY and then back to NULL.
3689 2006-04-05 Michael Smith <msmith@fluendo.com>
3691 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3692 Unref a pad we reffed.
3693 * tests/check/gst/gstutils.c: (GST_START_TEST):
3696 2006-04-05 Michael Smith <msmith@fluendo.com>
3698 * gst/gstquery.c: (gst_query_set_formats),
3699 (gst_query_set_formatsv):
3700 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3702 2006-04-05 Michael Smith <msmith@fluendo.com>
3704 * tests/check/generic/sinks.c: (GST_START_TEST):
3705 Fix a variety of memleaks in sinks check, which are only sometimes
3706 shown by running the tests under valgrind (weird?).
3708 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3710 * docs/version.entities.in:
3711 Fix the substituted entity name after thomas' changes on the
3714 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3716 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3719 2006-04-05 Andy Wingo <wingo@pobox.com>
3721 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3723 * libs/gst/base/gstbasetransform.c
3724 (gst_base_transform_sink_eventfunc): When resetting our segment on
3725 FLUSH_STOP, also update the flag saying we haven't seen a
3728 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3730 Patch by: Paolo Borelli <pborelli at katamail dot com>
3732 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3733 (gst_plugin_check_license):
3734 minor clean-ups: G_DEFINE_TYPE already takes care of the
3735 parent_class stuff, no need to do it twice. Mark array of
3736 license strings as constant. (#337103)
3738 2006-04-04 Michael Smith <msmith@fluendo.com>
3740 * tools/gst-inspect.c: (print_element_list):
3741 Free the right plugin list; fixes a memory leak.
3743 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3745 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3747 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3748 Don't error out on empty buffers (#336945).
3750 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3752 * docs/libs/gstreamer-libs-sections.txt:
3754 * libs/gst/base/gstbasesink.c:
3755 * libs/gst/base/gstbasesink.h:
3756 * libs/gst/base/gstbasesrc.c:
3757 * libs/gst/base/gstbasesrc.h:
3758 Documentation updates. Make BaseSink and BaseSrc docs contain the
3759 class structure so that people can actually see the prototypes for
3760 virtual functions they're supposed to be overriding.
3762 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3764 * plugins/elements/gsttypefindelement.c:
3765 (gst_type_find_element_chain):
3766 More debug info; when skipping typefinding, send cached
3767 events in all cases.
3769 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
3772 use new AS_VERSION and AS_NANO macros
3773 * gst/gst-i18n-lib.h:
3776 * gst/gstversion.h.in:
3777 * win32/common/config.h:
3778 * win32/common/config.h.in:
3781 2006-03-31 Michael Smith <msmith@fluendo.com>
3783 * plugins/elements/gsttypefindelement.c:
3784 (gst_type_find_element_chain):
3785 Do not typefind content if the buffers already have caps.
3786 Neccesary for icydemux (#333657), and the right thing to do anyway.
3788 2006-03-30 Wim Taymans <wim@fluendo.com>
3790 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3791 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3792 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3793 (gst_base_sink_record_qos_observation),
3794 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3795 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3796 (gst_base_sink_change_state):
3797 More QoS measurements as described in the design doc.
3798 Get rid of ringbuffer with observations, running average is
3799 more simple and equally good.
3800 Calculates valid proportion now.
3801 Added beginning of flood measurement.
3803 2006-03-29 Wim Taymans <wim@fluendo.com>
3805 * docs/design/part-qos.txt:
3807 Small documentation updates and additions.
3809 2006-03-29 Wim Taymans <wim@fluendo.com>
3811 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3812 (gst_base_src_send_event), (gst_base_src_loop),
3813 (gst_base_src_change_state):
3814 Perform the EOS logic when we reach the segment stop position.
3815 Fix compilation on gcc4.1
3817 2006-03-29 Wim Taymans <wim@fluendo.com>
3819 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3821 * plugins/elements/gstqueue.c: (gst_queue_init),
3822 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3823 (gst_queue_set_property):
3824 * plugins/elements/gstqueue.h:
3825 In queue, when EOS is received, if minimum threshold > max_size -
3826 current_level, there is chance that queue blocks forever in conditional
3827 item del wait. This is because the queue is not emptied completely due
3828 to minimum threshold. Here is another approach. Instead of setting
3829 cur_levels to max in EOS, just zero all minimum threshold levels. This
3830 should make sure that queue gives out all data. When going to READY
3831 (stop) state, just reset the original minimum threshold levels.
3834 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
3836 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
3837 (gst_type_find_element_handle_event),
3838 (gst_type_find_element_send_cached_events),
3839 (gst_type_find_element_change_state):
3840 * plugins/elements/gsttypefindelement.h:
3841 When typefinding is done in push mode, we should cache
3842 events we receive during typefinding instead of just
3843 dropping them (e.g. newsegment, custom events from
3844 dvdreadsrc etc.) and then send them out once we've
3845 determined the type of the stream (and decodebin
3846 has had a chance to plug in a decoder/demuxer).
3848 2006-03-27 Wim Taymans <wim@fluendo.com>
3850 * docs/design/part-qos.txt:
3853 2006-03-27 Wim Taymans <wim@fluendo.com>
3855 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
3857 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3858 (gst_base_src_send_event), (gst_base_src_change_state):
3859 Handle element seek correctly when we are streaming.
3862 2006-03-24 Michael Smith <msmith@fluendo.com>
3864 * docs/faq/gst-uninstalled:
3865 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
3866 allow you to correctly run intalled applications built against old
3867 core, using plugins that require updated core (e.g. running
3868 installed totem against a full uninstalled gstreamer stack)
3870 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3872 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3875 2006-03-24 Wim Taymans <wim@fluendo.com>
3877 * docs/gst/gstreamer-sections.txt:
3878 Rearrange the order of the methods so that related methods
3879 are grouped together in sections.
3881 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3884 Little clarification in the docs
3886 2006-03-24 Stefan Kost <ensonic@users.sf.net>
3890 * plugins/elements/gstidentity.c:
3891 * plugins/elements/gstqueue.c:
3892 * plugins/elements/gsttee.c:
3893 * plugins/elements/gsttypefindelement.c:
3894 GST_ELEMENT_DETAILS formatting
3896 2006-03-24 Wim Taymans <wim@fluendo.com>
3898 * libs/gst/base/gstbasesink.h:
3899 Only add fields, not insert or we break ABI.
3901 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3903 * win32/common/libgstbase.def:
3904 * win32/common/libgstreamer.def:
3905 Update, add recently added functions.
3907 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3909 * docs/gst/gstreamer-sections.txt:
3910 * gst/gstutils.c: (gst_pad_query_peer_position),
3911 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
3913 API: add some new utility functions:
3914 - gst_pad_query_peer_position()
3915 - gst_pad_query_peer_duration()
3916 - gst_pad_query_peer_convert()
3918 2006-03-23 Wim Taymans <wim@fluendo.com>
3920 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3921 (gst_base_sink_init), (gst_base_sink_finalize),
3922 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
3923 (gst_base_sink_set_property), (gst_base_sink_get_property),
3924 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
3925 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3926 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
3927 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3928 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3929 (gst_base_sink_preroll_object), (gst_base_sink_event),
3930 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
3931 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3932 (gst_base_sink_query), (gst_base_sink_change_state):
3933 Decouple max-lateness and the fact that QoS messages are generated
3934 with a new property (qos).
3935 added API: GstBaseSink::async_play()
3936 Add vmethod so subclasses can be notified of ASYNC playing
3938 Collect timestamp start and stop to report better current
3939 position in EOS/PLAYING/PAUSED/READY/NULL.
3940 Refactor QoS/frame dropping and other measurements.
3941 API: GstBaseSrc::qos
3944 * libs/gst/base/gstbasesink.h:
3945 Added Private struct.
3946 API: gst_base_sink_set_qos_enabled()
3947 API: gst_base_sink_is_qos_enabled()
3949 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
3951 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3952 If compiling against GLib-2.8 or newer, try to read the
3953 registry file using GMappedFile first before falling back
3954 to fopen() + fread() (#332151).
3956 2006-03-22 Wim Taymans <wim@fluendo.com>
3958 * gst/gstinfo.c: (gst_debug_set_active),
3959 (gst_debug_category_set_threshold):
3960 Disable debugging unless explicitly activated.
3963 2006-03-22 Wim Taymans <wim@fluendo.com>
3965 * gst/gstelement.c: (gst_element_set_locked_state),
3966 (gst_element_dispose):
3967 Cleanup the error case.
3969 * gst/gstobject.c: (gst_object_dispose):
3970 print a critical when some object was disposed with
3971 a parent, also revive the object since it might
3974 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
3976 * tools/gst-launch.1.in:
3979 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3982 * tests/check/Makefile.am:
3983 disable some tests when we don't have a registry
3984 * tests/check/gst/gstutils.c: (gst_utils_suite):
3985 don't build the part that needs parsing
3987 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
3990 * tests/examples/Makefile.am:
3991 fix --disable-parse build
3993 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
3995 * tools/gst-feedback.1.in:
3996 Fix typo: s/feeback/feedback/ (#133494).
3998 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4000 * tools/Makefile.am:
4001 * tools/gst-launch.1.in:
4002 Add FILES section and correct entry about GST_REGISTRY_PATH
4003 environment variable (#133495; #133494).
4005 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4007 * tools/Makefile.am:
4008 * tools/gst-md5sum.1.in:
4009 * tools/gst-md5sum.c:
4010 Remove gst-md5sum and man page (the md5sink element
4011 required was removed ages ago)
4013 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4015 * gst/gststructure.c: (gst_structure_id_set_value):
4016 Make sure that string fields in structures/taglists
4017 contain valid UTF-8 - we don't want to pass rubbish to
4018 applications because of a buggy plugin (cp. #334167).
4020 2006-03-21 Edward Hervey <edward@fluendo.com>
4022 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4023 (gst_bin_handle_message_func):
4024 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4025 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4026 (gst_element_set_bus_func):
4027 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4028 * gst/gstminiobject.c: (gst_value_set_mini_object),
4029 (gst_value_take_mini_object):
4030 * gst/gstpad.c: (gst_pad_set_pad_template):
4031 * gst/gstpipeline.c: (gst_pipeline_dispose),
4032 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4033 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4034 (gst_collect_pads_chain):
4035 * libs/gst/net/gstnettimeprovider.c:
4036 (gst_net_time_provider_set_property):
4037 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4038 It's in fact all issues with gst_*object_replace().
4040 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4042 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4044 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4045 * pkgconfig/gstreamer-check.pc.in:
4046 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4048 2006-03-21 Edward Hervey <edward@fluendo.com>
4053 gst_[buffer|event|message]_ref() macros are replaced by a static
4054 inline functions because gcc-4.1 will about if the return value
4056 * tests/check/gst/gstevent.c: (event_probe):
4057 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4059 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4062 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4063 the type' case. (Closes: #335195 for now). In the future, when we
4064 depend on GLib 2.10, we could also intern the type name using
4065 g_intern_static_string()
4067 2006-03-20 Wim Taymans <wim@fluendo.com>
4069 * gst/gstbin.c: (gst_bin_handle_message_func),
4070 (bin_query_max_init), (bin_query_position_fold),
4071 (bin_query_position_done), (gst_bin_query):
4072 Position query should also take max of all streams.
4074 2006-03-20 Wim Taymans <wim@fluendo.com>
4076 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4077 (gst_fake_src_finalize):
4078 Fix leaks in fakesrc.
4080 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4081 Fix leaks in the testcase.
4083 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4085 * gst/gst_private.h:
4086 add win32 specific import decoration(__declspec(dllimport))
4087 for all extern GstDebugCategory * variables
4088 * win32/common/libgstbase.def:
4089 * win32/common/libgstcontroller.def:
4090 * win32/common/libgstreamer.def:
4091 Add some exports, remove empty lines
4092 * win32/common/libgstdataprotocol.def:
4093 * win32/common/libgstdataprotocol.dsp:
4094 * win32/common/libgstnet.def:
4095 * win32/common/libgstnet.dsp:
4096 new project files and exportation files added
4098 2006-03-19 Wim Taymans <wim@fluendo.com>
4100 * tests/check/libs/basesrc.c: (eos_event_counter):
4101 Use proper return value for probe.
4103 2006-03-17 Wim Taymans <wim@fluendo.com>
4105 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4107 Don't leak buffers, caps and pads on negotiation errors.
4109 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4112 * docs/faq/dependencies.xml:
4113 * docs/faq/developing.xml:
4115 * docs/faq/general.xml:
4116 * docs/faq/getting.xml:
4117 * docs/faq/legal.xml:
4118 * docs/faq/troubleshooting.xml:
4119 * docs/faq/using.xml:
4120 Faq review and update.
4122 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4124 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4126 Don't pound the cpu to pieces by checking get_caps when accept_caps
4127 is called with the same caps as the pad already has.
4128 Use GST_DEBUG_OBJECT when outputting caps change information.
4130 2006-03-15 Wim Taymans <wim@fluendo.com>
4132 * gst/gstclock.c: (gst_clock_class_init):
4135 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4140 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4141 (gst_pad_accept_caps), (gst_pad_configure_sink),
4142 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4143 Make the default acceptcaps behaviour be to check the requested
4144 caps against the gst_pad_get_caps output.
4146 Ensure that gst_pad_accept_caps is used to check caps when a pad
4147 doesn't have a setcaps function, so that pads automatically refuse
4148 caps that they don't allow in their pad template. (Fixes #332986)
4150 When a buffer with attached caps is pushed, ensure that the source
4151 pad receives those caps even if the element didn't call
4152 gst_pad_set_caps first.
4154 2006-03-15 Wim Taymans <wim@fluendo.com>
4156 * libs/gst/base/gstadapter.c:
4159 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4161 * win32/common/libgstbase.def:
4162 * win32/common/libgstcontroller.def:
4163 * win32/common/libgstreamer.def:
4164 Add a whole bunch of missing functions (#334434).
4166 2006-03-14 Wim Taymans <wim@fluendo.com>
4168 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4169 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4170 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4171 Better debug info when we receive a segment event.
4172 Reorganize a bit so we can pass the get_times() results around.
4173 Use the segment format when calculating the running time.
4174 Don't do QoS is sync is disabled or we have no clock or the
4175 element does not want us to sync to the clock.
4176 Don't drop buffers if QoS is disabled for now.
4178 2006-03-14 Wim Taymans <wim@fluendo.com>
4180 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4181 Marked the stats property as unimplemented so people don't get
4183 Add debug message when regression goes wrong.
4184 Added some more docs.
4186 2006-03-14 Wim Taymans <wim@fluendo.com>
4188 * gst/gstsegment.c: (gst_segment_to_stream_time):
4189 Return correct return type in case of errors.
4191 2006-03-14 Wim Taymans <wim@fluendo.com>
4193 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4194 Don't segfault on invalid formats.
4196 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4198 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4199 Can't use gst_segment_to_running_time() when the segment
4200 is not in GST_TIME_FORMAT (like with filesink, for example).
4201 Stops flac encoding pipelines from spewing critical warnings
4204 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4206 * gst/gstpipeline.c: (gst_pipeline_class_init):
4207 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4209 * plugins/elements/gsttypefindelement.c:
4210 (gst_type_find_element_handle_event):
4211 Don't try to typefind empty streams.
4213 2006-03-14 Wim Taymans <wim@fluendo.com>
4215 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4216 (gst_base_sink_do_qos):
4217 Separate QoS calculation.
4218 Only drop buffers when lateness is bigger than the
4219 duration of the buffer.
4221 2006-03-13 Wim Taymans <wim@fluendo.com>
4223 * gst/gstpipeline.c: (gst_pipeline_set_property),
4224 (gst_pipeline_get_property), (do_pipeline_seek),
4225 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4226 (gst_pipeline_get_delay):
4227 Don't deadlock when reading properties.
4229 2006-03-13 Wim Taymans <wim@fluendo.com>
4231 * libs/gst/base/gstbasetransform.c:
4232 (gst_base_transform_class_init), (gst_base_transform_init),
4233 (gst_base_transform_sink_event),
4234 (gst_base_transform_sink_eventfunc),
4235 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4236 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4237 (gst_base_transform_set_property),
4238 (gst_base_transform_get_property),
4239 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4240 (gst_base_transform_set_qos_enabled),
4241 (gst_base_transform_is_qos_enabled):
4242 * libs/gst/base/gstbasetransform.h:
4243 Make basetransform virtual method for src events too.
4244 Handle QOS in basetransform.
4245 API: gst_base_transform_update_qos()
4246 API: gst_base_transform_set_qos_enabled()
4247 API: gst_base_transform_is_qos_enabled()
4249 2006-03-13 Wim Taymans <wim@fluendo.com>
4251 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4252 (gst_base_sink_do_sync):
4254 Use QOS debug category.
4256 2006-03-13 Wim Taymans <wim@fluendo.com>
4258 * plugins/elements/gstqueue.c:
4259 Very small doc update.
4261 2006-03-13 Wim Taymans <wim@fluendo.com>
4263 * gst/gst_private.h:
4264 * gst/gstinfo.c: (_gst_debug_init):
4265 Added QOS debug category
4267 2006-03-13 Wim Taymans <wim@fluendo.com>
4269 * docs/gst/gstreamer-sections.txt:
4270 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4272 * gst/gstbus.c: (gst_bus_class_init):
4275 * gst/gstelement.c: (gst_element_set_locked_state):
4277 Documentation updates.
4279 * gst/gstpipeline.c: (gst_pipeline_get_type),
4280 (gst_pipeline_class_init), (gst_pipeline_init),
4281 (gst_pipeline_dispose), (gst_pipeline_set_property),
4282 (gst_pipeline_get_property), (do_pipeline_seek),
4283 (gst_pipeline_send_event), (gst_pipeline_change_state),
4284 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4285 (gst_pipeline_get_delay):
4286 * gst/gstpipeline.h:
4287 Added methods for setting the delay.
4288 API: gst_pipeline_set_delay()
4289 API: gst_pipeline_get_delay()
4290 Add pipeline debug category
4293 Don't reset stream time when seek failed.
4295 2006-03-13 Wim Taymans <wim@fluendo.com>
4297 * docs/design/draft-klass.txt:
4298 * docs/design/part-clocks.txt:
4299 * docs/design/part-events.txt:
4300 * docs/design/part-gstbin.txt:
4301 * docs/design/part-gstpipeline.txt:
4302 * docs/design/part-messages.txt:
4303 * docs/design/part-negotiation.txt:
4304 * docs/design/part-overview.txt:
4305 * docs/design/part-preroll.txt:
4306 * docs/design/part-seeking.txt:
4307 * docs/design/part-states.txt:
4308 * docs/design/part-streams.txt:
4309 Documentation updates.
4311 2006-03-12 Julien MOUTTE <julien@moutte.net>
4313 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4314 us to leak strings...
4316 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4318 * libs/gst/net/gstnettimeprovider.c:
4320 * win32/common/config.h:
4323 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4325 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4328 Don't check for libgnomeui (leftover from old examples
4329 that aren't built or disted any longer) (#334303).
4331 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4333 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4334 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4335 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4336 there's no space left on the device.
4338 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4341 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4342 to cast the input to GstClockTime before comparing with
4343 another GstClockTime value.
4345 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4350 === release 0.10.4 ===
4352 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4355 releasing 0.10.4, "Light"
4357 2006-03-10 Michael Smith <msmith@fluendo.com>
4359 * libs/gst/dataprotocol/dataprotocol.c:
4360 Fix docs for dataprocotol to not get the return types completely
4361 wrong for a few functions.
4363 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4365 * docs/gst/gstreamer-sections.txt:
4366 * gst/gstpipeline.c: (gst_pipeline_class_init),
4367 (gst_pipeline_init), (gst_pipeline_set_property),
4368 (gst_pipeline_get_property), (gst_pipeline_change_state),
4369 (gst_pipeline_set_auto_flush_bus),
4370 (gst_pipeline_get_auto_flush_bus):
4371 * gst/gstpipeline.h:
4372 Add new API: gst_pipeline_set_auto_flush_bus() and
4373 gst_pipeline_get_auto_flush_bus() to disable automatic
4374 flushing of the pipeline's GstBus when going from READY
4375 to NULL state (#332045).
4377 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4379 * docs/gst/gstreamer-sections.txt:
4380 * gst/gsturi.c: (gst_uri_has_protocol):
4382 Add new API: gst_uri_has_protocol() (#333779).
4384 2006-03-09 Wim Taymans <wim@fluendo.com>
4386 * gst/gstclock.c: (gst_clock_entry_new),
4387 (gst_clock_id_compare_func), (gst_clock_id_wait),
4388 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4389 (gst_clock_init), (gst_clock_get_internal_time),
4390 (gst_clock_set_master), (do_linear_regression),
4391 (gst_clock_add_observation), (gst_clock_set_property):
4395 Fix a possible segfault when the window-size is made smaller.
4396 Calculate jitter before performing the clock wait. Ideally
4397 the clock implementation should calculate jitter but we need
4398 API breakage for that.
4400 * gst/gstsystemclock.c: (gst_system_clock_init):
4403 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4404 Remove leftover else
4406 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4407 (gst_systemclock_suite):
4408 Added check to test GST_CLOCK_DIFF.
4410 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4412 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4413 (gst_type_find_helper_get_range):
4414 If we are provided with the size, we should implement
4415 GstTypeFind::get_length, so that typefind functions who
4416 want to can actually peek at the middle of a file.
4418 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4420 * docs/manual/advanced-dataaccess.xml:
4421 Add some very very basic error checking.
4423 * docs/pwg/appendix-checklist.xml:
4424 Some updates to the list of things to check when writing an element.
4426 2006-03-08 Wim Taymans <wim@fluendo.com>
4428 * docs/design/part-element-transform.txt:
4429 Added some docs about the design of tranform elements.
4431 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4432 (gst_base_src_loop), (gst_base_src_change_state):
4433 Mark buffers with the DISCONT flag.
4435 2006-03-08 Michael Smith <msmith@fluendo.com>
4437 * gst/gstregistry.h:
4438 * gst/gstregistryxml.c: (gst_registry_save),
4439 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4440 (gst_registry_xml_save_pad_template),
4441 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4442 (gst_registry_xml_write_cache):
4443 Rewrite registry-saving to avoid race conditions and check for
4446 2006-03-08 Wim Taymans <wim@fluendo.com>
4448 * libs/gst/base/gstbasetransform.c:
4449 (gst_base_transform_transform_caps),
4450 (gst_base_transform_transform_size),
4451 (gst_base_transform_prepare_output_buffer),
4452 (gst_base_transform_get_unit_size),
4453 (gst_base_transform_buffer_alloc),
4454 (gst_base_transform_handle_buffer),
4455 (gst_base_transform_change_state):
4456 Cleanups, separate normal flow from errors, add sensible
4458 Don't try to renegotiate when allocating an output buffer.
4459 Also copy DISCONT buffer flag when copying a buffer.
4460 Reset the transform after we finish streaming, not during.
4462 2006-03-08 Wim Taymans <wim@fluendo.com>
4464 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4465 Use last buffer timestamp in qos message.
4467 2006-03-07 Wim Taymans <wim@fluendo.com>
4469 Patch by: Christophe Fergeau
4471 * docs/pwg/advanced-tagging.xml:
4472 * docs/pwg/building-pads.xml:
4475 2006-03-07 Wim Taymans <wim@fluendo.com>
4477 * docs/libs/gstreamer-libs-sections.txt:
4478 Added basesink new methods.
4482 Docs updates. Flesh out the QoS docs.
4484 * libs/gst/base/gstadapter.c:
4485 Small doc clarification about ownership and flushing.
4487 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4488 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4489 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4490 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4491 * libs/gst/base/gstbasesink.h:
4493 Added new methods to allow subclass to control max-lateness
4495 Generate very basic QoS events based on last sync observation.
4496 Updated docs, fix typo, added some QoS blurb.
4498 * libs/gst/base/gstbasesrc.c:
4499 Remove obsolete _get_state() calls from docs.
4501 2006-03-07 Wim Taymans <wim@fluendo.com>
4503 * docs/libs/gstreamer-libs-sections.txt:
4504 * libs/gst/base/gstbasetransform.h:
4505 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4506 Fix docs for GstBaseSrc.
4508 2006-03-07 Wim Taymans <wim@fluendo.com>
4510 * docs/gst/gstreamer-sections.txt:
4513 * libs/gst/base/gstbasetransform.h:
4514 Small documentation fixes.
4516 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4519 Document thread-unsafety of gst_value_register_foo_func()
4520 when used at the same time as gst_value_foo() (#322628).
4522 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4524 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4525 (gst_push_src_check_get_range):
4526 Push sources don't support pull mode by default.
4528 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4530 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4531 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4532 (gst_base_src_default_check_get_range):
4533 * libs/gst/base/gstbasesrc.h:
4534 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4535 provide default implementation, and rename
4536 gst_base_src_check_get_range() to
4537 gst_base_src_pad_check_get_range() for clarity.
4539 2006-03-06 Wim Taymans <wim@fluendo.com>
4541 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4542 Make property overridable.
4544 2006-03-06 Wim Taymans <wim@fluendo.com>
4546 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4547 (gst_base_sink_init), (gst_base_sink_set_property),
4548 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4549 * libs/gst/base/gstbasesink.h:
4550 API addition: Make max-lateness a property.
4552 2006-03-06 Wim Taymans <wim@fluendo.com>
4554 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4555 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4556 Don't ever draw a frame that is >10ms late.
4558 2006-03-06 Michael Smith <msmith@fluendo.com>
4560 * gst/gstmessage.c: (_gst_message_copy):
4561 When copying a message, set the parent_refcount of the enclosed
4562 structure to point at the copy, not the original message.
4564 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4566 Patch by: Christophe Fergeau
4569 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4570 usable in c++ code (#333417)
4572 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4575 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4577 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4579 * libs/gst/base/gstbasetransform.c:
4580 (gst_base_transform_transform_caps):
4581 Make sure caps are writable before passing them to
4584 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4587 Fix some minor docs errors.
4589 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4591 Patch by: Ross Burton <ross at burtonini dot com>
4593 * gst/gsterror.c: (_gst_resource_errors_init):
4595 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4597 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4600 Add a check and output a g_warning when GStreamer is built
4601 against GLib 2.6 but running against 2.8 or higher, and vice
4602 versa. (Closes: #323542)
4604 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4606 * gst/parse/parse.l:
4607 Commit patch for parse_launch syntax from #331255. Removes
4608 support for quoted strings and mimetypes when writing filtered
4609 caps. See the bug report for more details - I'm pretty sure this
4610 obscure feature is not in use by _anyone_ anywhere.
4612 With this simple change, the size of the gstreamer.so here
4613 drops from 2193KB to 1565KB.
4615 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4617 * plugins/elements/gsttypefindelement.h:
4618 * plugins/elements/gsttypefindelement.c:
4619 (gst_type_find_element_src_event), (start_typefinding),
4620 (stop_typefinding), (gst_type_find_element_handle_event),
4621 (gst_type_find_element_chain),
4622 (gst_type_find_element_chain_do_typefinding):
4623 Use gst_type_find_helper_for_buffer() for chain-based
4626 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4628 * plugins/elements/gsttypefindelement.c:
4629 (gst_type_find_element_class_init),
4630 (gst_type_find_element_set_property),
4631 (gst_type_find_element_get_property):
4632 Deprecate "maximum" property (not only was it only taken into
4633 account for typefinding in push-mode anyway, it also was never
4634 actually possible to set it in the first place because the
4635 property was registered with the numeric property ID for the
4636 "minimum" property). Register "maximum" property correctly,
4637 for the sake of future copy'n'pasters. Remove some cruft
4638 from property get/set functions.
4640 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4642 * plugins/elements/gsttypefindelement.c:
4643 (gst_type_find_element_activate):
4644 Use gst_type_find_helper_get_range() here, so we
4645 can honour the "minimum" property and also emit
4646 the signal with the correct probability of the found caps.
4648 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4650 * docs/libs/gstreamer-libs-sections.txt:
4651 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4652 (helper_find_suggest), (gst_type_find_helper_get_range),
4653 (gst_type_find_helper):
4654 * libs/gst/base/gsttypefindhelper.h:
4655 New API: gst_type_find_helper_get_range() (#333042).
4657 2006-03-02 Michael Smith <msmith@fluendo.com>
4659 * gst/gstregistryxml.c: (load_feature):
4660 Asserting on a failure to read part of the registry is Not Cool.
4661 Just log a warning and return NULL (which is already handled)
4663 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4665 * win32/common/libgstbase.def:
4666 added export of gst_type_find_helper_for_buffer
4667 * win32/common/libgstbase.def:
4668 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4669 gst_ghost_pad_get_target
4671 2006-02-28 Wim Taymans <wim@fluendo.com>
4673 * docs/design/draft-klass.txt:
4675 Added Connector to mark elements that are only used to
4676 allow pipeline connections.
4677 Moved Debug to extra feature since most of them are
4678 functionally something else.
4680 2006-02-28 Wim Taymans <wim@fluendo.com>
4682 * docs/design/draft-klass.txt:
4683 Some updates and clarifications.
4685 2006-02-28 Wim Taymans <wim@fluendo.com>
4687 * docs/design/draft-klass.txt:
4688 Proposal for klass field values.
4690 * docs/design/part-streams.txt:
4691 Start of a doc describing stream anatomy.
4693 2006-02-28 Wim Taymans <wim@fluendo.com>
4695 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4696 Help the compiler a bit with type registration.
4697 Use existing forward cod path instead of duplicating it when
4700 * gst/gstbus.c: (gst_bus_get_type):
4701 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4702 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4703 * gst/gstclock.c: (gst_clock_get_type):
4704 * gst/gstelement.c: (gst_element_get_type),
4705 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4706 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4707 * gst/gstminiobject.c: (gst_mini_object_get_type):
4708 * gst/gstpad.c: (gst_pad_get_type):
4709 * gst/gstsegment.c: (gst_segment_get_type):
4710 * gst/gststructure.c: (gst_structure_get_type):
4711 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4712 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4714 Help compiler with type registration.
4716 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4719 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4721 * plugins/elements/gsttypefindelement.c:
4722 (gst_type_find_element_handle_event):
4723 When we get an EOS event and have not found a type yet
4724 (most likely because we had not yet accumulated
4725 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4726 type given the data we have so far. Fixes typefinding
4727 for very short streams again, most notably quicktime
4728 redirections as used on Apple's trailer site (#331701).
4730 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4732 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4733 (gst_type_find_helper):
4734 Try typefinding factories with the highest rank first.
4736 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4738 * docs/libs/gstreamer-libs-docs.sgml:
4739 * docs/libs/gstreamer-libs-sections.txt:
4740 * libs/gst/base/gsttypefindhelper.c:
4741 Add section for typefind helper and add documentation
4742 for the old and the new function.
4744 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4746 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4747 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4748 (gst_type_find_helper_for_buffer):
4749 * libs/gst/base/gsttypefindhelper.h:
4750 New API: gst_type_find_helper_for_buffer() (#332723).
4752 2006-02-27 Michael Smith <msmith@fluendo.com>
4754 Patch by: Loïc Minier
4758 * docs/slides/Makefile.am:
4759 prevent CVS directories getting disted.
4761 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4763 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4764 Use the REFCOUNTING category for caps refcounting.
4766 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4768 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4769 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4771 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4773 * plugins/elements/gsttypefindelement.c:
4774 (gst_type_find_element_activate):
4775 Use gst_pad_check_pull_range() before _activate_pull()
4776 to avoid unnecessary open/close (see #331690).
4778 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4781 Docs enhancement: make it crystal clear what the
4782 gst_pad_add_*_probe() callbacks should look like.
4784 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4786 * libs/gst/base/gstbasesrc.c:
4787 Document how applications can stop recording from
4788 live sources (see #330996).
4790 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4792 * tests/check/Makefile.am:
4793 * tests/check/libs/basesrc.c: (eos_event_counter),
4794 (basesrc_eos_events_pull), (basesrc_eos_events_push),
4795 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4796 (gst_basesrc_suite), (main):
4797 ... and add some tests for the base source EOS stuff.
4799 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4801 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4802 Test case originally showed the problem fixed below,
4803 but was then amended. Add checks back at the place
4804 where they used to be.
4806 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4808 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4809 (gst_base_src_init), (gst_base_src_loop),
4810 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4811 (gst_base_src_change_state):
4812 * libs/gst/base/gstbasesrc.h:
4813 Don't unconditionally send EOS when going from PAUSED to
4814 READY state, esp. make sure we don't send two EOS events
4815 in some cases (e.g. one when reaching EOS and one when
4816 going from PAUSED to READY). Also, we don't want to send
4817 EOS events when operating in pull mode. However, we do
4818 want to send an EOS event when shutting down a live
4819 source explicitly, for example (fixes #330996).
4821 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4823 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4824 Update src->read_position after a seek when not using mmap.
4825 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4827 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
4833 Make things work with --disable-parse as they do with
4834 --disable-load-save - the symbols involved disappear, but the
4835 header is still installed and GST_DISABLE_PARSE is included via
4838 2006-02-20 Julien MOUTTE <julien@moutte.net>
4840 * libs/gst/base/gstbasetransform.c:
4841 (gst_base_transform_change_state): Fix a stupid bug. I was
4842 sure I compiled that.
4844 2006-02-20 Julien MOUTTE <julien@moutte.net>
4846 * gst/gstpad.c: (gst_pad_set_blocked_async):
4847 * gst/gstutils.c: (gst_pad_add_data_probe),
4848 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4849 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4850 (gst_pad_remove_buffer_probe): Make those function act on the
4851 ghostpad target when it's a ghostpad. (Closes #331727)
4853 2006-02-20 Julien MOUTTE <julien@moutte.net>
4855 * libs/gst/base/gstbasetransform.c:
4856 (gst_base_transform_change_state): Make basetransform reusable.
4859 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
4861 * docs/random/release:
4862 Move the current documentation of how to do a release to the top
4865 * gst/gstbin.c: (gst_bin_class_init),
4866 (gst_bin_handle_message_func):
4867 Allow multiple state-recalculation threads. (Closes #328873)
4869 2006-02-19 Julien MOUTTE <julien@moutte.net>
4871 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
4872 * gst/gstpad.c: (gst_pad_set_event_function),
4873 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4874 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
4875 2 strings. You can't use the STR_NULL macro on that.
4877 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
4879 * gst/gstpad.c: (gst_pad_set_event_function),
4880 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
4881 (gst_pad_set_getcaps_function)
4882 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
4883 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
4884 So now, we can use --gst-debug-level=5 on Windows
4885 * win32/common/libgstcontroller.def:
4886 Added export of gst_controller_init
4887 * win32/vs6/libgstcontroller.dsp:
4888 Fixed Release post build configuration
4890 2006-02-17 Wim Taymans <wim@fluendo.com>
4892 * tests/check/gst/gstquery.c: (GST_START_TEST):
4893 Added another check.
4895 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
4897 * plugins/elements/gsttypefindelement.c: (find_peek):
4898 We can do peeks at non-zero offsets, as long as they
4899 fall within the buffer we have.
4901 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
4903 * tests/check/Makefile.am:
4904 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
4905 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
4906 (parse_suite), (main):
4907 Add testsuite for parse launch syntax
4909 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
4911 * plugins/elements/gsttypefindelement.c:
4912 (gst_type_find_element_chain):
4913 When typefinding is unsuccessful in the chain function, don't
4914 error out immediately. Only error out with NO_CAPS_FOUND if
4915 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
4916 otherwise simply wait for more data so we can try typefinding
4917 again with more data later. Also, don't attempt to typefind
4918 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
4919 this should improve typefinding from network sources where the
4920 size of the first buffer can be somewhat random.
4922 2006-02-14 Wim Taymans <wim@fluendo.com>
4924 * docs/gst/gstreamer-sections.txt:
4925 * gst/gstpadtemplate.c:
4926 * gst/gstpadtemplate.h:
4927 Fix padtemplate docs, fixes #328805.
4929 2006-02-14 Wim Taymans <wim@fluendo.com>
4931 * tools/gst-launch.c: (main):
4932 NO_PREROLL is not an ERROR so don't send confusing messages
4935 2006-02-14 Wim Taymans <wim@fluendo.com>
4937 Patch by: Torsten Schoenfeld
4939 * gst/gstregistry.c: (gst_registry_get_default),
4940 (_gst_registry_cleanup):
4941 Protect default registry with lock and ref/sink it.
4944 2006-02-14 Wim Taymans <wim@fluendo.com>
4947 * gst/gstquery.c: (gst_query_list_add_format),
4948 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4949 (gst_query_parse_formats_nth):
4950 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4953 2006-02-14 Wim Taymans <wim@fluendo.com>
4955 * docs/gst/gstreamer-sections.txt:
4956 Reworked query docs.
4958 * gst/gstquery.c: (gst_query_new_formats),
4959 (gst_query_list_add_format), (gst_query_set_formats),
4960 (gst_query_set_formatsv), (gst_query_parse_formats_length),
4961 (gst_query_parse_formats_nth):
4963 Flesh out formats query, added some new methods.
4964 Fix part of #324398.
4966 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
4967 Added query creation tests.
4969 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
4971 * gst/gstpad.c: (fixate_value):
4972 Add a default fixation for fraction lists.
4974 2006-02-13 Wim Taymans <wim@fluendo.com>
4976 * gst/gsttask.c: (gst_task_init), (gst_task_func),
4977 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
4980 Detect and warn for obvious deadlocks. fixes #320340
4981 Fix error case where lock was not released.
4983 * tests/check/Makefile.am:
4984 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
4985 (task_func), (gst_element_suite), (main):
4988 2006-02-13 Wim Taymans <wim@fluendo.com>
4990 * docs/gst/gstreamer-sections.txt:
4992 Add new functions to docs.
4994 2006-02-13 Wim Taymans <wim@fluendo.com>
4996 * docs/design/part-TODO.txt:
4997 Updated TODO list, basesrc supports seeking to non-bytes
5000 * docs/design/part-element-sink.txt:
5003 * gst/gstbin.c: (bin_replace_message),
5004 (gst_bin_handle_message_func):
5005 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5006 * gst/gstevent.c: (gst_event_finalize):
5007 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5008 (gst_pad_send_event):
5009 Use shiny new _TYPE_NAME macros.
5011 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5012 Move debug statement up.
5014 * gst/gstelement.c: (gst_element_set_locked_state):
5017 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5019 * docs/gst/gstreamer-sections.txt:
5022 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5023 macros (#330906). Also, document the already existing
5024 GST_QUERY_TYPE macro.
5026 2006-02-13 Wim Taymans <wim@fluendo.com>
5028 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5029 (event_probe), (GST_START_TEST):
5030 Only events up to the pipeline EOS are counted, there are
5031 some more when going to NULL currently which we don't care
5034 2006-02-13 Wim Taymans <wim@fluendo.com>
5036 * gst/gstpad.c: (gst_pad_send_event):
5037 Correctly check flushing and emit probes. fixes #330125
5039 2006-02-10 Andy Wingo <wingo@pobox.com>
5041 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5043 (gst_bus_init): Cache the location of the private data in the
5045 (gst_bus_enable_sync_message_emission)
5046 (gst_bus_disable_sync_message_emission): Implement new public
5048 (gst_bus_post): Emit the sync-message signal if the user asked for
5051 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5052 location of the bus-private structure.
5053 (gst_bus_enable_sync_message_emission)
5054 (gst_bus_disable_sync_message_emission): API addition
5056 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5058 Patch by: Vincent Torri
5060 * docs/pwg/building-boiler.xml:
5061 PWG patch from #326800
5063 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5067 * docs/design/Makefile.am:
5070 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5075 === release 0.10.3 ===
5077 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5080 releasing 0.10.3, "Like a virgin"
5082 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5085 2nd prerelease of 0.10.3
5086 Bump libtool versioning.
5088 2006-02-07 Andy Wingo <wingo@pobox.com>
5090 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5091 update last_stop if we're in TIME format and the timestamp is
5094 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5095 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5096 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5097 If we get a new newsegment with a different format, adapt
5100 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5101 of 0. Not a problem, really.
5103 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5106 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5111 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5114 project files updated to the default vs7 configuration
5115 * win32/common/libgstbase.def:
5116 * win32/common/libgstreamer.def:
5118 removed empty lines,
5119 sorted all exported symbols alphabetically
5120 * win32/common/dirent.c:
5121 * win32/common/dirent.h:
5122 * win32/common/gchar.h:
5123 use windows line end.
5125 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5127 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5128 Send EOS event when stopping.
5130 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5133 Tell folks what to do if the plugin-foobar.xml file
5134 hasn't been generated for a newly-added plugin.
5136 2006-02-05 Julien MOUTTE <julien@moutte.net>
5138 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5139 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5140 (gst_collect_pads_start), (gst_collect_pads_stop),
5141 (gst_collect_pads_event): Collectpads now holds a reference
5142 to the GstPad that was added. Indeed we don't want to look
5143 at pads that might just go away with no warning...
5145 2006-02-05 Julien MOUTTE <julien@moutte.net>
5147 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5148 (gst_collect_pads_start), (gst_collect_pads_stop),
5149 (gst_collect_pads_event), (gst_collect_pads_chain):
5150 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5151 Mark Nauwelaerts's patch on bug #328491.
5153 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5155 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5157 Add some simple tests for gst_parse_bin_from_description() and
5158 gst_bin_find_unconnected_pad() (#329069).
5160 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5162 * tools/gst-launch.c: (event_loop), (main):
5163 Catch errors during preroll (#320084).
5165 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5167 * plugins/elements/gsttypefindelement.c:
5168 (gst_type_find_element_activate):
5169 Post TYPE_NOT_FOUND error message when typefinding
5170 is unsuccessful in the activate function as well.
5172 2006-02-02 Wim Taymans <wim@fluendo.com>
5174 * docs/design/part-element-sink.txt:
5177 2006-02-02 Wim Taymans <wim@fluendo.com>
5179 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5180 (gst_base_sink_render_object),
5181 (gst_base_sink_queue_object_unlocked):
5182 Only keep track of prerollable items when we are
5184 Before rendering after preroll, always check if we
5186 Added some more debugging.
5188 2006-02-02 Wim Taymans <wim@fluendo.com>
5190 * gst/gstelement.c: (gst_element_continue_state),
5191 (gst_element_set_state_func), (gst_element_change_state):
5192 Fixed #326576, been running this for quite some time with
5193 no regressions at all.
5195 2006-02-02 Wim Taymans <wim@fluendo.com>
5198 Added more suppressions
5200 2006-02-02 Wim Taymans <wim@fluendo.com>
5202 * docs/design/part-element-sink.txt:
5205 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5206 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5207 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5208 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5209 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5210 (gst_base_sink_preroll_object),
5211 (gst_base_sink_queue_object_unlocked),
5212 (gst_base_sink_queue_object), (gst_base_sink_event),
5213 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5214 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5215 (gst_base_sink_get_position), (gst_base_sink_change_state):
5216 * libs/gst/base/gstbasesink.h:
5217 Totally refactored matching the design doc.
5218 Use two segments, one to clip incomming buffers and another to
5220 Handle queueing correctly, bypass the queue when playing.
5221 Make EOS cancelable.
5222 Handle errors correctly when operating in pull based mode.
5224 * tests/check/elements/fakesink.c: (GST_START_TEST),
5226 Added new check for sinks.
5228 2006-02-02 Wim Taymans <wim@fluendo.com>
5230 * gst/gstsegment.c: (gst_segment_clip):
5231 No reason to refuse to clip when start == -1
5233 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5236 * docs/manual/intro-basics.xml:
5237 * docs/manual/intro-preface.xml:
5238 * docs/manual/manual.xml:
5239 * docs/pwg/advanced-dparams.xml:
5240 * docs/pwg/intro-basics.xml:
5241 * docs/pwg/intro-preface.xml:
5243 describe dparams (controller) for plugins
5244 unify docs a little more
5246 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5248 * docs/gst/gstreamer-sections.txt:
5249 * gst/gstutils.c: (element_find_unconnected_pad),
5250 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5252 Add new API: gst_parse_bin_from_description() and
5253 gst_bin_find_unconnected_pad() (#329069).
5255 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5257 * docs/manual/README:
5258 uncover a nasty detail of the docs build
5260 2006-01-31 Wim Taymans <wim@fluendo.com>
5262 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5263 Don't cache duration messages if we're not going to use or
5266 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5268 * docs/manual/advanced-dparams.xml:
5269 * docs/pwg/advanced-dparams.xml:
5273 * libs/gst/controller/lib.c: (gst_controller_init):
5276 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5278 * gst/gstelement.c: (gst_element_message_full):
5279 also show file/line/func if no additional debug was given
5281 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5283 * win32/vs7/grammar.vcproj:
5284 activate copy of autogenerated files for Release mode
5286 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5288 * win32/common/libgstreamer.def:
5289 export gst_value_compare
5291 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5293 * plugins/elements/Makefile.am:
5294 * plugins/elements/gstelements.c:
5295 * plugins/elements/gstfdsink.c: (_do_init),
5296 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5297 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5298 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5299 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5300 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5301 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5302 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5303 * plugins/elements/gstfdsink.h:
5304 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5306 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5308 * docs/manual/advanced-dparams.xml:
5310 * docs/manual/advanced-position.xml:
5311 * docs/manual/basics-init.xml:
5312 * docs/manual/manual.xml:
5313 * docs/manual/titlepage.xml:
5315 * docs/pwg/titlepage.xml:
5316 cleanup xml (more to come)
5317 * libs/gst/controller/gstcontroller.c:
5320 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5322 * win32/vs6/grammar.dsp:
5323 add autogen of gstmarshal.c,h for Release mode
5325 2006-01-30 Wim Taymans <wim@fluendo.com>
5327 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5328 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5329 (gst_base_sink_handle_object), (gst_base_sink_event),
5330 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5331 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5332 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5333 (gst_base_sink_deactivate), (gst_base_sink_activate),
5334 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5335 (gst_base_sink_query), (gst_base_sink_change_state):
5336 Basesink cleanups, remove some old code.
5337 Handle the case where a subclass can preroll in the render
5338 method (mostly audiosinks).
5340 Remove some locks around variables that are now protected
5341 with the PREROLL_LOCK (clock_id, flushing, ..).
5342 Optimize position query some more, do correct locking.
5343 Remove old code to push queue in state change, this is not
5344 needed anymore since preroll blocks on all prerollable items
5346 Almost implemented as described in design doc.
5348 2006-01-30 Wim Taymans <wim@fluendo.com>
5350 * tests/check/gst/gstbin.c: (GST_START_TEST):
5351 Wait for refcount to settle down before checking.
5353 2006-01-30 Wim Taymans <wim@fluendo.com>
5355 * docs/design/part-element-sink.txt:
5356 Pseudo code overview of desired sink behaviour regarding
5359 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5360 * win32/vs6/grammar.dsp:
5361 fix some bugs in Release mode for autogenerated files
5363 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5364 * win32/common/libgstbase.def:
5365 * win32/common/libgstreamer.def:
5366 export some new symbols: gst_base_src_set_format,
5367 gst_iterator_next, gst_structure_set_valist
5369 2006-01-29 Julien MOUTTE <julien@moutte.net>
5371 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5372 Set pad functions unconditionally. Fixes #329105.
5374 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5376 add vs8 project files created by Sergey Scobich
5378 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5380 * gst/gstutils.c: (gst_element_unlink_pads):
5381 Don't leak pad references.
5383 * tests/check/elements/fakesink.c: (GST_START_TEST):
5384 * tests/check/generic/sinks.c: (GST_START_TEST):
5385 * tests/check/generic/states.c: (GST_START_TEST):
5386 * tests/check/gst/gstbin.c: (GST_START_TEST):
5387 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5388 * tests/check/gst/gstelement.c: (GST_START_TEST):
5389 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5390 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5391 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5392 Fix a bunch of leaks. Make generic/sinks.c
5393 use a bit less cpu by slowing the buffer rate
5394 between fakesrc and fakesink.
5396 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5398 * gst/gstelement.c: (gst_element_send_event):
5401 * gst/gstiterator.c:
5402 * gst/gstiterator.h:
5403 * gst/gstpad.c: (gst_pad_send_event):
5404 * gst/gststructure.c:
5408 * libs/gst/base/gstadapter.c:
5409 doc fixes, to link to function, just write gst_cool_function(), don't
5412 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5414 * plugins/elements/gsttee.c: (gst_tee_do_push),
5415 (gst_tee_handle_buffer):
5416 Always prefer an actual return value from a src
5417 pad in place of NOT_LINKED. This means we return
5418 WRONG_STATE when all src pads are WRONG_STATE
5419 instead of NOT_LINKED.
5421 Lock when replacing the last message to prevent
5422 racing with the get_property method.
5426 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5428 * tests/check/Makefile.am:
5429 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5431 Add a very simple check that should have caught the memleak I fixed
5432 last night (if not for the slice allocator hiding it)
5434 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5436 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5437 (gst_bin_remove_func), (gst_bin_handle_message_func),
5438 (bin_query_duration_fold), (bin_query_generic_fold):
5439 Clean up references to the clock provider when disposed or when
5440 handling a clock-lost message from it.
5442 Unref sinks when performing a query via gst_iterator_fold, as the
5443 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5445 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5446 (gst_clock_set_master):
5447 Drop our reference to the master clock, if any, when we are disposed.
5449 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5450 Chain up in dispose.
5452 2006-01-26 Wim Taymans <wim@fluendo.com>
5454 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5457 2006-01-26 Julien MOUTTE <julien@moutte.net>
5459 * plugins/elements/gsttee.c: (gst_tee_do_push),
5460 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5461 handles pad being NOT_LINKED or in WRONG_STATE.
5463 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5468 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5471 remove obsolete entry
5473 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5475 * docs/gst/gstreamer-sections.txt:
5476 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5477 (gst_bin_iterate_sources), (gst_bin_send_event):
5479 * gst/gstelement.c: (gst_element_send_event):
5481 * gst/gstpad.c: (gst_pad_send_event):
5482 added code for downstream events, reviewed docs in gstevent.c
5484 2006-01-25 Julien MOUTTE <julien@moutte.net>
5486 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5487 We only query position using the clock in the playing state.
5488 Query peer in the other cases.
5489 * win32/common/config.h: Updates.
5491 2006-01-24 Wim Taymans <wim@fluendo.com>
5493 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5494 A clock entry that is scheduled for the exact time of the
5495 clock is still in time.
5497 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5498 (gst_base_sink_do_sync):
5499 Add some more debug info.
5501 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5504 Add new vs7 project files and solution.
5506 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5509 all files removed as they were out-dated.
5511 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5513 * docs/random/release:
5515 * gst/gstbin.c: (gst_bin_init):
5516 * gst/gstbus.c: (gst_bus_new):
5518 * gst/gstpipeline.c: (gst_pipeline_init):
5519 use gst_bus_new(), improve logging, fix docs
5520 * win32/common/config.h:
5521 update for cvs build
5523 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5526 up required version of automake to 1.7
5528 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5530 * win32/common/libgstreamer.def:
5531 export gst_buffer_is_metadata_writable
5533 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5535 * docs/gst/gstreamer-sections.txt:
5537 Add gst_event_replace() (#327001)
5539 2006-01-20 Wim Taymans <wim@fluendo.com>
5541 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5542 Make it actually compile too..
5544 2006-01-20 Wim Taymans <wim@fluendo.com>
5547 Clarify behaviour of _is_equal() when passing NULL parameters.
5549 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5551 Cleanups. Don't unref NULL caps.
5552 When setting the same caps, protect caps of the pad with
5554 Use full functionality of _is_equal() when comparing caps.
5556 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5558 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5559 Don't loop infinitely if there are no buffers to present. Partially
5560 fixes #327197, but collectpads is just broken for reusing elements
5561 to do multiple encodes atm.
5563 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5565 * tools/gst-inspect.c: (print_element_features):
5566 * tools/gst-xmlinspect.c: (main):
5567 URL_HANDLER is not a plugin feature we can search for in
5570 2006-01-19 Edward Hervey <edward@fluendo.com>
5572 * gst/gstelement.c: (gst_element_pads_activate):
5573 When activating, do src pads first, then sink pads.
5574 When de-activating, do sink pads first, then src pads.
5576 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5578 * docs/gst/gstreamer-sections.txt:
5579 Add gst_index_add_associationv to the docs
5581 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5586 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5587 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5588 Do some refactoring. Doesn't actually change functionality,
5589 but makes landing the DRAIN event easier later.
5591 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5593 * docs/pwg/advanced-scheduling.xml:
5594 Update from 0.9.x to 0.10 API and make example a bit
5597 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5599 * docs/gst/gstreamer-sections.txt:
5600 Add gst_buffer_(is|make)_metadata_writable methods.
5602 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5604 * docs/design/part-sparsestreams.txt:
5605 Update sparse streams doc, hopefully for greater clarity
5607 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5609 * docs/design/part-events.txt:
5610 Remove mention of FILLER events.
5613 * docs/design/part-sparsestreams.txt:
5614 Write some things about using NEWSEGMENT to keep sparse streams
5617 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5619 * gst/gstbin.c: (gst_bin_dispose):
5620 Guard gst_object_unref call against a NULL object (dispose
5621 can theoretically be called multiple times).
5623 2006-01-18 Wim Taymans <wim@fluendo.com>
5625 * gst/gstbin.c: (gst_bin_element_set_state):
5626 * gst/gstclock.c: (gst_clock_id_wait):
5627 Added some more debug info.
5629 * libs/gst/base/gstadapter.c:
5632 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5633 (gst_base_sink_do_sync), (gst_base_sink_chain):
5634 Added some comments.
5636 2006-01-18 Wim Taymans <wim@fluendo.com>
5638 * tests/check/Makefile.am:
5639 * tests/check/elements/fakesink.c: (chain_async_buffer),
5640 (chain_async), (chain_async_return), (GST_START_TEST),
5641 (fakesink_suite), (main):
5642 Added fakesink test that checks prerolling and clipping
5645 * tests/check/gst/gstutils.c: (GST_START_TEST):
5646 Make check run faster so that buildbots don't timeout.
5648 2006-01-18 Wim Taymans <wim@fluendo.com>
5650 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5651 (gst_base_sink_do_sync):
5653 When the sink finishes blocking on the preroll buffer, it can
5654 immediatly render it instead of rendering when the next buffer
5657 2006-01-18 Wim Taymans <wim@fluendo.com>
5659 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5660 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5661 (gst_base_sink_chain):
5663 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5664 Don't store _last_stop if the buffer is dropped.
5666 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5668 * plugins/elements/gsttypefindelement.c:
5669 (gst_type_find_element_class_init):
5670 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5671 object method handler that sets the caps on the pad and we want
5672 that to happen before we emit the signal (fixes e.g. feeding a
5673 plain text file to decodebin).
5675 2006-01-18 Christian Schaller <Christian@fluendo.com>
5677 * gst/gstplugin.c: Add MPL and Proprietary as license options
5679 2006-01-18 Andy Wingo <wingo@pobox.com>
5681 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5682 symbol was exported before, it appears this was just an oversight.
5684 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5686 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5687 prototype to gint. OK since this prototype was not in the header.
5689 2006-01-17 Andy Wingo <wingo@pobox.com>
5691 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5692 registry while we remove plugins.
5694 * tools/gst-inspect.c (print_element_info): Don't unref the
5695 factory arg, that should be the responsibility of whatever code
5696 received the ref. Fixes a double-free when called from
5697 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5698 (main): Unref the factory if we have one.
5699 (print_element_list): No change -- relies on the
5700 plugin_feature_list_free to free the list of features.
5702 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5704 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5705 (gst_buffer_make_metadata_writable):
5707 * libs/gst/base/gstbasetransform.c:
5708 (gst_base_transform_prepare_output_buf):
5709 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5710 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5711 Replace gst_buffer_(make|is)_metadata_writable patch now
5712 that the release is out.
5714 2006-01-17 Andy Wingo <wingo@pobox.com>
5716 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5717 in the present tense without reference to versions.
5719 * gst/gstregistry.c (gst_registry_add_plugin)
5720 (gst_registry_remove_plugin, gst_registry_remove_feature)
5721 (gst_registry_find_feature, gst_registry_get_feature_list)
5722 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5723 (gst_registry_lookup, gst_registry_scan_path)
5724 (_gst_registry_remove_cache_plugins)
5725 (gst_registry_get_feature_list_by_plugin): Add argument
5728 === release 0.10.2 ===
5730 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5733 releasing 0.10.2, "If man is five"
5735 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5739 * libs/gst/base/gstbasetransform.c:
5740 (gst_base_transform_prepare_output_buf):
5741 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5742 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5743 Back out patch until after the release.
5745 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5747 * gst/gstminiobject.c:
5748 Spelling fix in docs.
5749 * ChangeLog - remove conflict indicator
5751 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5753 Reviewed By: Andy Wingo
5755 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5756 (gst_buffer_make_metadata_writable):
5758 Add gst_buffer_(is|make)_metadata_writable as analogues of
5759 gst_buffer_(is|make)_writable.
5761 * libs/gst/base/gstbasetransform.c:
5762 (gst_base_transform_prepare_output_buf):
5763 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5764 Use name gst_buffer_(is|make)_metadata_writable functions.
5766 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5767 Test gst_buffer_(is|make)_metadata_writable
5771 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
5773 * docs/manual/Makefile.am:
5774 don't do parallel make
5777 * win32/common/config.h.in:
5778 add generations for HOST_CPU and GST_MAJORMINOR
5779 * win32/common/config.h:
5780 commit generated result
5782 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
5784 * docs/manual/appendix-integration.xml:
5785 Update GNOME integration section to use gst_init_get_option_group()
5786 instead of the old popt stuff (#322911). Also, GNOME applications
5787 should now use gconf*sink and gconf*src instead of the old gconf
5790 2006-01-13 Stefan Kost <ensonic@users.sf.net>
5793 * docs/gst/gstreamer-docs.sgml:
5794 * docs/gst/gstreamer-sections.txt:
5795 * docs/libs/gstreamer-libs-sections.txt:
5796 add new API entries to the docs
5797 * libs/gst/controller/Makefile.am:
5798 * libs/gst/controller/gstcontroller.c:
5799 * libs/gst/controller/gstcontroller.h:
5800 * libs/gst/controller/gstcontrollerprivate.h:
5801 * libs/gst/controller/gsthelper.c:
5802 * libs/gst/controller/gstinterpolation.c:
5803 move private structs to private header
5805 gstreamer-0.7 -> gstreamer-0.10
5806 * tests/check/libs/struct_i386.h:
5807 remove private structs
5809 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5811 * plugins/indexers/Makefile.am:
5812 Fixes as part of #317048
5814 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5816 * plugins/indexers/Makefile.am:
5817 fix #316086 - compilation when mmap is missing
5819 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
5821 * libs/gst/base/gstbasesink.c:
5822 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
5823 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5824 * win32/common/config.h:
5825 added some defines GST_MAJORMINOR and HOST_CPU
5826 * win32/common/libgstbase.def:
5827 * win32/common/libgstreamer.def:
5828 added some exported functions.
5830 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5832 * libs/gst/controller/gstcontroller.c:
5833 (gst_controlled_property_set_interpolation_mode),
5834 (gst_controlled_property_new):
5835 * libs/gst/controller/gstcontroller.h:
5836 * libs/gst/controller/gstinterpolation.c:
5837 (interpolate_none_get_string_value_array):
5838 make G_TYPE_STRING controlable
5840 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5843 * tools/gst-feedback.1.in:
5844 * tools/gst-inspect.1.in:
5845 * tools/gst-launch.1.in:
5846 * tools/gst-md5sum.1.in:
5847 * tools/gst-typefind.1.in:
5848 * tools/gst-xmlinspect.1.in:
5849 * tools/gst-xmllaunch.1.in:
5850 cleanup man-pages, remove reference to gst-register, document env-vars
5852 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
5854 * gst/gstbuffer.c: (gst_buffer_span):
5855 gst_buffer_span should copy the timestamp of the first buffer
5856 if they were both originally overlapping subbuffers of the
5857 same parent, using the same logic as the 'slow copy' case.
5859 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
5861 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
5862 Need to awaken ALL the pads when we pop a buffer, otherwise
5863 collectpads only works when there is 2 input streams.
5865 2006-01-11 Stefan Kost <ensonic@users.sf.net>
5867 * docs/random/ensonic/media-device-daemon.txt:
5870 fix doc example, add clarification
5871 * tools/gst-launch.1.in:
5872 add initial info about GST_PLUGIN_PATH, needs more work
5874 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
5876 * docs/manual/basics-bins.xml:
5877 * docs/manual/basics-elements.xml:
5878 * docs/manual/intro-basics.xml:
5879 Some more minor docs additions and updates.
5881 2006-01-11 Wim Taymans <wim@fluendo.com>
5883 * docs/manual/basics-bins.xml:
5884 * docs/manual/basics-elements.xml:
5885 Some small fixes as pointed out by Ser-ver on IRC.
5887 2006-01-10 Edward Hervey <edward@fluendo.com>
5889 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5890 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
5891 the single-segment mode.
5893 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
5895 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5897 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
5898 (gst_base_src_perform_seek), (gst_base_src_send_event),
5899 (gst_base_src_set_property), (gst_base_src_get_property),
5900 (gst_base_src_loop), (gst_base_src_start),
5901 (gst_base_src_activate_push):
5902 * libs/gst/base/gstbasesrc.h:
5903 Name (private) union; makes Sun's Forte compiler happy (#324900).
5905 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
5908 gst-register is gone.
5910 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
5912 * gst/gstvalue.c: (_gst_value_initialize):
5913 make the G_TYPE_DATE instantiation work if debug is disabled
5915 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
5917 * gst/gstmessage.c: (gst_message_parse_tag),
5918 (gst_message_parse_error), (gst_message_parse_warning):
5919 Don't crash when return location for error/warning debug
5920 string is NULL; add fact that return locations can be
5921 NULL to docs where appropriate.
5923 2006-01-05 Wim Taymans <wim@fluendo.com>
5925 * gst/gstplugin.c: (gst_plugin_load_file):
5926 Replace strdup by g_strdup.
5928 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5930 * docs/pwg/advanced-types.xml:
5933 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
5935 submitted by: Abel Cheung
5939 Added Chinese (traditional) translation
5941 2006-01-04 Wim Taymans <wim@fluendo.com>
5943 * docs/manual/basics-pads.xml:
5944 * docs/plugins/Makefile.am:
5945 * docs/plugins/gstreamer-plugins-docs.sgml:
5946 * docs/plugins/gstreamer-plugins-sections.txt:
5947 * docs/pwg/advanced-clock.xml:
5948 * docs/pwg/advanced-scheduling.xml:
5949 * docs/pwg/advanced-types.xml:
5950 * plugins/elements/gstfdsink.c:
5951 * plugins/elements/gstfdsrc.c:
5952 * plugins/elements/gstfdsrc.h:
5953 * plugins/elements/gstidentity.c: (gst_identity_class_init):
5954 * plugins/elements/gstidentity.h:
5955 * plugins/elements/gstqueue.h:
5956 * plugins/elements/gsttee.c:
5957 * plugins/elements/gsttee.h:
5958 * plugins/elements/gsttypefindelement.c:
5959 (gst_type_find_element_class_init):
5960 * plugins/elements/gsttypefindelement.h:
5961 Small updates to various docs.
5962 Added core plugins to docs.
5964 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5967 add a suppression for liboil's uninitialized variable
5969 2006-01-02 James Livingston <jrl at ids dot org dot au>
5971 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5974 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
5975 macro, so that gcc doesn't complain if the -Wmissing-prototypes
5976 compiler switch is being used (#325429).
5978 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
5980 * gst/gstbin.c: (gst_bin_query):
5981 Disable duration query caching in bins until it gets
5982 fixed (see #324807).
5984 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5986 * tools/gst-inspect.c: (print_element_properties_info):
5987 Handle properties of POINTER and BOXED type.
5989 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
5991 * gst/gst.c: (init_post):
5992 Init tags stuff and some other things before loading
5993 any static plugins (there may be other static plugins
5994 than just the GStreamer ones, and they may want to
5995 register their own tags or formats or whatever, and
5996 preferably without segfaulting).
5998 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
5999 Print at least a warning in the debug logs if we drop a
6000 query just because we don't know how to adjust the value
6001 in the particular format.
6003 2005-12-24 David Schleef <ds@schleef.org>
6005 * tools/gstreamer-completion:
6006 Replacement for gst-complete written in sh and sed. Only
6007 completes names of features, but that's 90% of what I want
6008 it for. Properties are not available in registry.xml. (Maybe
6011 === release 0.10.1 ===
6013 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6016 releasing 0.10.1, "Nollaig chridheil"
6018 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6021 Add missing quote, should be make ERROR_CFLAGS="".
6023 2005-12-20 Wim Taymans <wim@fluendo.com>
6025 * docs/design/part-trickmodes.txt:
6026 More documentation on trickmodes.
6028 2005-12-20 Edward Hervey <edward@fluendo.com>
6030 * gst/gstcaps.c: (gst_static_caps_get_type):
6032 API addition: GST_TYPE_STATIC_CAPS
6033 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6034 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6035 * gst/gstpadtemplate.h:
6036 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6037 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6040 2005-12-18 Wim Taymans <wim@fluendo.com>
6042 * libs/gst/base/gstadapter.c:
6043 * libs/gst/base/gstadapter.h:
6044 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6045 (gst_base_sink_get_position):
6046 * libs/gst/base/gstbasesink.h:
6047 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6048 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6049 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6050 (gst_base_src_send_event), (gst_base_src_update_length),
6051 (gst_base_src_get_range), (gst_base_src_loop),
6052 (gst_base_src_start):
6053 * libs/gst/base/gstbasesrc.h:
6054 * libs/gst/base/gstbasetransform.h:
6055 * libs/gst/base/gstcollectpads.h:
6056 * libs/gst/base/gstpushsrc.c:
6057 * libs/gst/base/gstpushsrc.h:
6058 * libs/gst/dataprotocol/dataprotocol.c:
6059 * libs/gst/dataprotocol/dataprotocol.h:
6060 * libs/gst/net/gstnetclientclock.h:
6061 * libs/gst/net/gstnettimeprovider.h:
6062 Documentation updates.
6064 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6066 * docs/manual/basics-helloworld.xml:
6067 Remove superfluous closing bracket in helloworld example.
6069 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6071 * tools/gst-launch.1.in:
6072 Update gst-launch man page; add a section with useful
6073 environment variables. Fixes #323882.
6075 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6078 * gst/gst_private.h:
6079 change some char* into char[]
6081 2005-12-16 Wim Taymans <wim@fluendo.com>
6083 * gst/gstregistryxml.c: (load_feature):
6085 Don't use g_object_unref on GstObjects so that we avoid
6086 leaks on unsafe glibs.
6088 2005-12-16 Wim Taymans <wim@fluendo.com>
6090 * gst/gstbin.c: (gst_bin_recalc_state):
6093 2005-12-16 Wim Taymans <wim@fluendo.com>
6096 Added make forever target for check.
6098 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6100 * gst/gst.c: (init_post):
6101 make the registry cache file HOST_CPU-dependent
6103 2005-12-16 Andy Wingo <wingo@pobox.com>
6105 * plugins/elements/gstbufferstore.c
6106 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6109 * tests/check/gst/gstobject.c
6110 (test_fake_object_name_threaded_unique): Pay attention to
6111 g_list_sort return value.
6113 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6115 * tools/gst-feedback-m.m:
6116 Update for 0.9/0.10 (fixes #323870).
6118 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6120 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6121 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6123 * tests/check/gst/gstminiobject.c: (my_foo_init),
6124 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6125 (test_value_collection), (gst_mini_object_suite):
6126 Add test to ensure refcounts end up as expected when passing
6127 GstMiniObjects through g_object_get() and g_object_set().
6129 2005-12-14 Julien MOUTTE <julien@moutte.net>
6131 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6132 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6133 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6134 of collectpads. This version removes a lot of races without
6135 touching API/ABI. Yay !
6137 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6139 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6140 Don't allow activation of a srcpad in pull_range if it has no
6142 Change some debug statements to be a little clearer
6144 * plugins/elements/gsttypefindelement.c:
6145 (gst_type_find_handle_src_query):
6146 Check that we have a peer before executing queries thereupon.
6148 * tests/examples/metadata/read-metadata.c: (message_loop):
6149 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6150 immediately return us any available message with 0 timeout.
6152 2005-12-12 Michael Smith <msmith@fluendo.com>
6154 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6155 Don't unref factories after calling them.
6156 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6157 * plugins/elements/gsttypefindelement.c:
6158 (gst_type_find_element_chain):
6159 Free lists of factories after using them. Fixing typefinding memory
6162 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6164 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6165 (gst_plugin_feature_load):
6166 more meaningful debug output
6168 * tests/Makefile.am:
6169 * tests/old/examples/Makefile.am:
6170 make make distcheck happy again
6172 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6174 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6175 Catch the special case where we are operating chain-based,
6176 but the downstream peer pad has no chain function. Emit a
6177 custom error message in this case instead of letting the
6178 core generate one implying that this is some sort of core
6179 bug. It's not, it just means that whatever got plugged
6180 into the pipeline downstream when we announced the type
6181 can only operate pull-based, while our source can only
6182 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6183 Error string has not been marked for translation yet, as
6184 it probably needs some more work first.
6186 (gst_type_find_element_get_best_possibility):
6187 Add helper function to find the best of all available
6188 found possibilities that qualify given the min. threshold.
6190 (gst_type_find_element_handle_event):
6191 Fix the case where we get an EOS while still in TYPEFIND
6192 mode (we want to chose the best of all possible types,
6193 not just the first type that happens to be in our unsorted
6194 list of possible types).
6196 (gst_type_find_element_chain):
6197 Make sure we return GST_FLOW_ERROR when we errored out
6198 in stop_typefinding(); also, don't just find the best of
6199 all found type entries and then use the last examined
6200 type entry, but actually use the best entry.
6202 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6204 * tests/examples/typefind/typefind.c: (type_found):
6205 * tests/examples/xml/runxml.c: (xml_loaded):
6206 More gcc4 fixes and a mem leak fix.
6208 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6210 * tests/examples/xml/createxml.c: (object_saved):
6213 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6215 * tests/Makefile.am:
6216 enable the examples even more
6218 2005-12-12 Andy Wingo <wingo@pobox.com>
6220 * libs/gst/net/gstnettimeprovider.c
6221 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6222 (gst_net_time_provider_set_property)
6223 (gst_net_time_provider_get_property):
6224 API addition: Export "active" as a GObject property.
6225 (gst_net_time_provider_thread): Only respond to time queries if
6226 the time provider is active.
6228 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6229 NetTimeProvider, preserving binary compat.
6231 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6233 * tests/examples/controller/audio-example.c: (main):
6234 * tests/examples/launch/Makefile.am:
6235 convert comments again
6237 2005-12-12 Wim Taymans <wim@fluendo.com>
6239 * libs/gst/base/gstpushsrc.c:
6242 2005-12-12 Wim Taymans <wim@fluendo.com>
6244 * docs/libs/gstreamer-libs-sections.txt:
6245 Added new symbol to docs.
6247 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6248 (gst_base_src_init), (gst_base_src_set_format),
6249 (gst_base_src_default_query), (gst_base_src_query),
6250 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6251 (gst_base_src_perform_seek), (gst_base_src_send_event),
6252 (gst_base_src_default_event), (gst_base_src_event_handler),
6253 (gst_base_src_set_property), (gst_base_src_get_property),
6254 (gst_base_src_wait), (gst_base_src_do_sync),
6255 (gst_base_src_update_length), (gst_base_src_get_range),
6256 (gst_base_src_check_get_range), (gst_base_src_loop),
6257 (gst_base_src_default_negotiate), (gst_base_src_start),
6258 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6259 (gst_base_src_change_state):
6260 * libs/gst/base/gstbasesrc.h:
6261 Implement seeking to other formats than _BYTES.
6262 Implement more seeking methods correctly.
6264 Added query vmethod.
6265 Added do_seek vmethod to make life easier for subclasses
6267 API addition: gst_base_src_set_format()
6269 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6271 * tests/examples/Makefile.am:
6274 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6277 * docs/random/ensonic/media-device-daemon.txt:
6278 * tests/examples/controller/.cvsignore:
6279 * tests/examples/controller/Makefile.am:
6280 * tests/examples/controller/audio-example.c: (main):
6281 * tests/examples/helloworld/.cvsignore:
6282 * tests/examples/helloworld/Makefile.am:
6283 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6284 * tests/examples/launch/.cvsignore:
6285 * tests/examples/launch/Makefile.am:
6286 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6287 * tests/examples/metadata/.cvsignore:
6288 * tests/examples/metadata/Makefile.am:
6289 * tests/examples/metadata/read-metadata.c: (message_loop),
6290 (make_pipeline), (print_tag), (main):
6291 * tests/examples/queue/.cvsignore:
6292 * tests/examples/queue/Makefile.am:
6293 * tests/examples/queue/queue.c: (event_loop), (main):
6294 * tests/examples/typefind/.cvsignore:
6295 * tests/examples/typefind/Makefile.am:
6296 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6298 * tests/examples/xml/.cvsignore:
6299 * tests/examples/xml/Makefile.am:
6300 * tests/examples/xml/createxml.c: (object_saved), (main):
6301 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6302 * tests/old/examples/Makefile.am:
6303 * tests/old/examples/TODO:
6304 * tests/old/examples/controller/.cvsignore:
6305 * tests/old/examples/controller/Makefile.am:
6306 * tests/old/examples/controller/audio-example.c:
6307 * tests/old/examples/helloworld/.cvsignore:
6308 * tests/old/examples/helloworld/Makefile.am:
6309 * tests/old/examples/helloworld/helloworld.c:
6310 * tests/old/examples/launch/.cvsignore:
6311 * tests/old/examples/launch/Makefile.am:
6312 * tests/old/examples/launch/mp3parselaunch.c:
6313 * tests/old/examples/launch/mp3play:
6314 * tests/old/examples/manual/Makefile.am:
6315 * tests/old/examples/metadata/Makefile.am:
6316 * tests/old/examples/metadata/read-metadata.c:
6317 * tests/old/examples/queue/.cvsignore:
6318 * tests/old/examples/queue/Makefile.am:
6319 * tests/old/examples/queue/queue.c:
6320 * tests/old/examples/typefind/.cvsignore:
6321 * tests/old/examples/typefind/Makefile.am:
6322 * tests/old/examples/typefind/typefind.c:
6323 * tests/old/examples/xml/.cvsignore:
6324 * tests/old/examples/xml/Makefile.am:
6325 * tests/old/examples/xml/createxml.c:
6326 * tests/old/examples/xml/runxml.c:
6327 applied some simple fixing to some examples
6328 re-enabled the working examples
6330 2005-12-12 Wim Taymans <wim@fluendo.com>
6332 * gst/gstsegment.c: (gst_segment_init),
6333 (gst_segment_set_last_stop), (gst_segment_set_seek),
6334 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6335 (gst_segment_to_running_time):
6336 Added more documentation.
6337 Make sure the last_pos value is updated properly.
6338 Make sure to_stream_time and to_running_time don't
6339 operate on wrong values.
6341 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6344 2005-12-12 Michael Smith <msmith@fluendo.com>
6346 * plugins/elements/gsttypefindelement.c: (free_entry),
6347 (gst_type_find_element_chain):
6348 Now that we're not leaking factories, make sure we keep references
6349 to them while we need them.
6351 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6353 * tests/check/gst/struct_i386.h:
6354 ifdef out the XML structs
6356 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6358 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6359 floor is not needed, F is always positive; this obviates the
6360 need for adding -lm when building without libxml
6362 2005-12-12 Wim Taymans <wim@fluendo.com>
6364 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6365 Take current playback rate into account when reporting
6368 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6370 * docs/manual/mime-world.fig:
6371 Let's try this again, this time with a file that is
6372 actually in XFig format.
6374 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6376 * docs/manual/mime-world.fig:
6377 Add audioconvert element to diagram so that it
6378 matches the text and the code (fixes #319526).
6380 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6382 * docs/pwg/building-chainfn.xml:
6383 * docs/pwg/building-pads.xml:
6384 * docs/pwg/building-state.xml:
6385 * docs/pwg/other-source.xml:
6386 Update state change stuff for 0.10 (fixes #322969).
6388 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6390 * docs/manual/advanced-dataaccess.xml:
6391 * docs/manual/appendix-checklist.xml:
6392 * docs/manual/appendix-programs.xml:
6393 * docs/manual/basics-pads.xml:
6394 * docs/manual/highlevel-components.xml:
6395 * docs/manual/manual.xml:
6396 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6397 add converters in front of pipelines; remove curly
6398 brackets for threads stuff, they no longer exist; use
6399 GST_TYPE_FRACTION for framerates; update some pieces of
6400 code to 0.10, but there's plenty more to do.
6402 * docs/manual/appendix-porting.xml:
6403 Expand on asynchroneous state changes; s/0.9/0.10/;
6404 mention disappearance of gst_init_get_popt_table()
6407 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6409 * docs/faq/using.xml:
6410 Spider no longer exists, and neither does gst-launch-ext.
6411 Update examples to use decodebin and playbin and put
6412 converters in front of sinks (fixes #323726).
6414 2005-12-09 Michael Smith <msmith@fluendo.com>
6416 * plugins/elements/gsttypefindelement.c: (find_peek),
6417 (gst_type_find_element_chain):
6418 Fix leaking element factories in typefinding.
6419 Fix problem where we forgot about a probable type on non-seekable
6420 files, and thus later mis-typefound it.
6422 2005-12-09 Michael Smith <msmith@fluendo.com>
6424 * common/m4/gst-makecontext.m4:
6425 * common/m4/gst-mcsc.m4:
6427 * win32/common/config.h:
6428 * win32/common/config.h.in:
6429 Remove makecontext stuff; not used in 0.10 and causes problems on
6430 HPUX according to bug #322441
6432 2005-12-07 Wim Taymans <wim@fluendo.com>
6434 * tests/check/Makefile.am:
6435 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6437 * tests/check/libs/struct_i386.h:
6438 Added ABI check for libs
6440 2005-12-07 Wim Taymans <wim@fluendo.com>
6442 * tests/check/Makefile.am:
6443 And add the struct_i386.h to dist.
6445 2005-12-07 Wim Taymans <wim@fluendo.com>
6447 * tests/check/Makefile.am:
6448 * tests/check/gst/.cvsignore:
6449 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6451 * tests/check/gst/struct_i386.h:
6452 Added check for ABI compatibility.
6454 2005-12-07 Wim Taymans <wim@fluendo.com>
6456 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6457 (gst_fake_src_get_times), (gst_fake_src_create):
6458 Fix broken sync option, fixes #323259
6460 2005-12-07 Wim Taymans <wim@fluendo.com>
6465 * gst/gstcaps.c: (gst_caps_is_equal):
6466 Don't assert on NULL <--> X. Fixes #323260
6468 * gst/gstminiobject.c: (gst_mini_object_replace):
6469 If we're doing atomic operations, we might just as well use
6470 the proper way to get an atomic pointer.
6472 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6475 2005-12-07 Michael Smith <msmith@fluendo.com>
6477 * gst/parse/grammar.y:
6478 Remove handling of { } for threads.
6480 2005-12-06 David Schleef <ds@schleef.org>
6482 * libs/gst/base/gstbasetransform.c: speling fix.
6484 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6486 * docs/libs/tmpl/gstdataprotocol.sgml:
6487 * docs/random/omega/testing/gstobject.c:
6491 * gst/gstelementfactory.c:
6494 * gst/gstghostpad.c:
6496 * gst/gstpadtemplate.c:
6497 * gst/gstregistryxml.c:
6499 * gst/gsttagsetter.c:
6500 * gst/gsttypefind.c:
6502 * libs/gst/base/gstbasesrc.c:
6503 * libs/gst/net/gstnetclientclock.c:
6504 * libs/gst/net/gstnettimeprovider.c:
6505 * plugins/elements/gstfakesrc.c:
6506 * plugins/elements/gstfdsrc.c:
6507 * plugins/elements/gstfilesrc.c:
6508 * plugins/elements/gstidentity.c:
6509 * plugins/elements/gstqueue.c:
6510 * plugins/elements/gsttypefindelement.c:
6511 * plugins/indexers/gstfileindex.c:
6512 * plugins/indexers/gstmemindex.c:
6513 * tests/check/gst/gsttag.c:
6514 * tests/old/examples/cutter/cutter.c:
6515 * tests/old/examples/mixer/mixer.c:
6516 * tests/old/examples/xml/runxml.c: (main):
6517 * tests/old/testsuite/caps/normalisation.c:
6518 * tests/old/testsuite/debug/global.c:
6519 * tests/old/testsuite/parse/parse1.c:
6520 * tools/gst-xmlinspect.c:
6521 * win32/common/dirent.c:
6524 === release 0.10.0 ===
6526 2005-12-05 <thomas (at) apestaart (dot) org>
6529 releasing 0.10.0, "Maroilles"
6531 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6533 submitted by: Funda Wang <fundawang@linux.net.cn>
6537 added Chinese (Traditional) translation
6539 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6541 * docs/gst/gstreamer-sections.txt:
6542 * docs/libs/tmpl/gstdataprotocol.sgml:
6543 * docs/random/thomasvs/TODO:
6548 2005-12-05 Andy Wingo <wingo@pobox.com>
6550 patch by: Wim Taymans <wim@fluendo.com>
6552 * libs/gst/base/gstbasetransform.c
6553 (gst_base_transform_prepare_output_buf)
6554 (gst_base_transform_buffer_alloc):
6555 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6556 alloc_buffer_and_set_caps.
6558 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6559 set_caps on the source pad.
6560 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6561 alloc_buffer used to do. Fixes #322874.
6563 * docs/gst/gstreamer-sections.txt:
6564 * docs/design/part-negotiation.txt:
6565 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6568 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6570 patch by: Sebastien Moutte
6573 * win32/common/config.h.in:
6574 * win32/vs6/libgstcontroller.dsp:
6577 2005-12-05 Wim Taymans <wim@fluendo.com>
6579 * gst/gstcaps.c: (gst_caps_is_equal):
6580 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6581 (gst_fake_src_create):
6582 Back out previous code changes, leave doc updates, file bugs
6585 2005-12-05 Wim Taymans <wim@fluendo.com>
6587 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6588 (gst_fake_src_get_times), (gst_fake_src_create):
6589 * plugins/elements/gstfakesrc.h:
6590 Fix broken sync code.
6592 2005-12-05 Wim Taymans <wim@fluendo.com>
6594 * gst/gstcaps.c: (gst_caps_is_equal):
6595 Comparing NULL against !NULL yields different caps, not a
6598 2005-12-05 Wim Taymans <wim@fluendo.com>
6600 * gst/gstpipeline.c:
6601 Fix small typo in docs.
6603 2005-12-05 Andy Wingo <wingo@pobox.com>
6605 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6607 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6608 registries/plugins with a MAJORMINOR one.
6609 (plugin_desc): Rename library from gstcoreleements to
6610 staticelements. Fixes #323222.
6612 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6614 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6615 Change debug category to 'collectpads' from 'collect_pads'
6618 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6620 patch by: Sebastien Moutte
6622 * libs/gst/controller/gstinterpolation.c:
6623 use convert function for uint64/double
6624 * win32/vs6/libgstcontroller.dsp:
6627 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6629 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6630 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6632 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6633 add tests that seem to show that the guint64/gdouble conversions
6636 2005-12-02 Wim Taymans <wim@fluendo.com>
6638 * gst/gstregistry.c: (gst_registry_add_path):
6639 * gst/gstregistry.h:
6640 * gst/gstregistryxml.c:
6643 2005-12-02 Wim Taymans <wim@fluendo.com>
6645 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6646 (gst_util_uint64_scale_int):
6649 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6652 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6655 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6658 * win32/common/config.h:
6659 * win32/vs6/gstreamer.dsw:
6660 * win32/vs6/libgstcoreelements.dsp:
6661 * win32/vs6/libgstelements.dsp:
6662 renamed core elements plugin
6664 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6666 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6668 do piece-wise major/minor comparison so 0.9 < 0.10
6669 also allow .exe extensions for tools
6671 2005-12-02 Michael Smith <msmith@fluendo.com>
6674 Escape a % to make gtkdoc happier; bug 322958.
6676 === release 0.9.7 ===
6678 2005-12-01 <thomas (at) apestaart (dot) org>
6681 releasing 0.9.7, "My Dog Has No Nose"
6683 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6685 * common/gst-xmlinspect.py:
6687 * docs/libs/tmpl/gstdataprotocol.sgml:
6688 * docs/random/release:
6707 * win32/common/config.h:
6708 * win32/common/config.h.in:
6709 * win32/vs6/gst_inspect.dsp:
6710 * win32/vs6/gst_launch.dsp:
6711 * win32/vs6/libgstbase.dsp:
6712 * win32/vs6/libgstelements.dsp:
6713 * win32/vs6/libgstreamer.dsp:
6714 * win32/vs7/GStreamer.vcproj:
6715 * win32/vs7/gst-inspect.vcproj:
6716 * win32/vs7/gst-launch.vcproj:
6717 * win32/vs7/libgstbase.vcproj:
6718 bump GST_MAJORMINOR to 0.10
6719 reset libtool version
6721 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6725 Added Bulgarian translation by (Alexander Shopov)
6727 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6729 * tests/check/gst/gstplugin.c:
6732 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6734 * common/gst-xmlinspect.py:
6735 * common/gtk-doc-plugins.mak:
6738 * docs/gst/Makefile.am:
6739 * docs/gst/gstreamer-docs.sgml:
6740 * docs/gst/gstreamer-sections.txt:
6741 * docs/gst/gstreamer.types:
6742 * docs/gst/gstreamer.types.in:
6743 * docs/plugins/Makefile.am:
6744 * docs/plugins/gstreamer-plugins-docs.sgml:
6745 * docs/plugins/gstreamer-plugins-sections.txt:
6746 * docs/plugins/gstreamer-plugins.types:
6747 * docs/plugins/inspect.stamp:
6748 * docs/plugins/inspect/plugin-coreelements.xml:
6749 * docs/plugins/inspect/plugin-coreindexers.xml:
6750 * docs/plugins/scanobj-build.stamp:
6751 * gstreamer.spec.in:
6752 * plugins/elements/Makefile.am:
6753 * plugins/elements/gstelements.c:
6754 * plugins/elements/gstfakesink.c:
6755 * plugins/elements/gstfakesrc.c:
6756 * plugins/elements/gstfilesink.c:
6757 * plugins/elements/gstfilesrc.c:
6758 * plugins/elements/gstqueue.c:
6759 * plugins/indexers/Makefile.am:
6760 * plugins/indexers/gstindexers.c:
6761 document core plugins in a separate document just like all the
6763 rename these plugins to something starting with core
6765 2005-12-01 Andy Wingo <wingo@pobox.com>
6767 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6768 padding here before, but it missed the commit.
6770 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6772 * libs/gst/controller/gstinterpolation.c:
6773 whitespace prices have crashed, we should feel free to use some now
6774 use gst_guint64_to_gdouble
6776 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6778 * libs/gst/controller/gstcontroller.c:
6779 * libs/gst/controller/gsthelper.c:
6780 * libs/gst/controller/gstinterpolation.c:
6781 * libs/gst/controller/lib.c:
6782 wrap config.h include
6784 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6786 * docs/gst/gstreamer-sections.txt:
6789 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6791 * plugins/elements/gstelements.c:
6792 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6793 (gst_fd_sink__class_init), (gst_fd_sink__init),
6794 (gst_fd_sink__chain), (gst_fd_sink__set_property),
6795 (gst_fd_sink__get_property):
6796 * plugins/elements/gstfdsink.h:
6797 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6798 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6799 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6800 (gst_fd_src_unlock), (gst_fd_src_set_property),
6801 (gst_fd_src_get_property), (gst_fd_src_create),
6802 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6803 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6804 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6805 (gst_fd_src_uri_handler_init):
6806 * plugins/elements/gstfdsrc.h:
6807 * plugins/elements/gstqueue.c: (gst_queue_get_type):
6810 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6812 * docs/gst/Makefile.am:
6813 * docs/gst/gstreamer.types.in:
6817 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6823 * gst/gstregistry.h:
6824 * tests/benchmarks/complexity.c:
6825 * tests/benchmarks/mass-elements.c:
6826 * tests/check/Makefile.am:
6827 * tools/Makefile.am:
6828 * tools/gst-inspect.c:
6829 * tools/gst-xmlinspect.c:
6830 various fixes to make
6831 --disable-nls --disable-registry --disable-loadsave
6832 --disable-parse --disable-gst-debug
6833 work and get the core .so down to 360444 bytes after stripping
6835 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6840 * docs/random/thomasvs/TODO:
6841 * tests/Makefile.am:
6845 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6847 * win32/GStreamer.vcproj:
6850 * win32/Makefile.inspect:
6851 * win32/Makefile.launch:
6852 * win32/Makefile.register:
6854 * win32/gst-inspect.vcproj:
6855 * win32/gst-launch.vcproj:
6856 * win32/gst-register.vcproj:
6857 * win32/gstelements.vcproj:
6858 * win32/gstgetbits.def:
6859 * win32/gstgetbits.vcproj:
6860 * win32/gstreamer-dbg.def:
6861 * win32/gstreamer.def:
6862 * win32/libgstbase.def:
6863 * win32/libgstbase.vcproj:
6864 * win32/link_oldruntime.c:
6869 move even more stuff, win32/ is nice and clean now
6871 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6873 * libs/gst/control/.cvsignore:
6878 * win32/gstbytestream.def:
6879 * win32/gstbytestream.vcproj:
6880 * win32/gstconfig.h:
6881 * win32/gstenumtypes.c:
6882 * win32/gstenumtypes.h:
6883 * win32/gstoptimalscheduler.vcproj:
6884 * win32/gstversion.h:
6886 * win32/testsuite/bins.vcproj:
6887 * win32/testsuite/bytestream.vcproj:
6888 * win32/testsuite/caps.vcproj:
6889 * win32/testsuite/cleanup.vcproj:
6890 * win32/testsuite/clock.vcproj:
6891 * win32/testsuite/debug.vcproj:
6892 * win32/testsuite/dlopen.vcproj:
6893 * win32/testsuite/dynparams.vcproj:
6894 * win32/testsuite/elements.vcproj:
6895 * win32/testsuite/ghostpads.vcproj:
6896 * win32/testsuite/indexers.vcproj:
6897 * win32/testsuite/negotiation.vcproj:
6898 * win32/testsuite/parse.vcproj:
6899 * win32/testsuite/plugin.vcproj:
6900 * win32/testsuite/refcounting.vcproj:
6901 * win32/testsuite/schedulers.vcproj:
6902 * win32/testsuite/states.vcproj:
6903 * win32/testsuite/tags.vcproj:
6904 * win32/testsuite/threads.vcproj:
6905 remove old win32 stuff that isn't maintained and should be
6908 2005-11-30 Andy Wingo <wingo@pobox.com>
6910 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
6911 loading the gst.interfaces python module bork.
6913 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
6914 available since GLib 2.2. Fixes #318031.
6916 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6920 * check/Makefile.am:
6921 * check/elements/.cvsignore:
6922 * check/elements/fakesrc.c:
6923 * check/elements/fdsrc.c:
6924 * check/elements/identity.c:
6925 * check/generic/.cvsignore:
6926 * check/generic/states.c:
6927 * check/gst-libs/.cvsignore:
6928 * check/gst-libs/controller.c:
6929 * check/gst-libs/gdp.c:
6930 * check/gst/.cvsignore:
6931 * check/gst/capslist.h:
6933 * check/gst/gstbin.c:
6934 * check/gst/gstbuffer.c:
6935 * check/gst/gstbus.c:
6936 * check/gst/gstcaps.c:
6937 * check/gst/gstelement.c:
6938 * check/gst/gstevent.c:
6939 * check/gst/gstghostpad.c:
6940 * check/gst/gstiterator.c:
6941 * check/gst/gstmessage.c:
6942 * check/gst/gstminiobject.c:
6943 * check/gst/gstobject.c:
6944 * check/gst/gstpad.c:
6945 * check/gst/gstpipeline.c:
6946 * check/gst/gstplugin.c:
6947 * check/gst/gstsegment.c:
6948 * check/gst/gststructure.c:
6949 * check/gst/gstsystemclock.c:
6950 * check/gst/gsttag.c:
6951 * check/gst/gstutils.c:
6952 * check/gst/gstvalue.c:
6953 * check/net/.cvsignore:
6954 * check/net/gstnetclientclock.c:
6955 * check/net/gstnettimeprovider.c:
6956 * check/pipelines/.cvsignore:
6957 * check/pipelines/cleanup.c:
6958 * check/pipelines/simple_launch_lines.c:
6959 * check/pipelines/stress.c:
6960 * check/states/.cvsignore:
6961 * check/states/sinks.c:
6963 * examples/Makefile.am:
6964 * examples/appreader/.cvsignore:
6965 * examples/appreader/Makefile.am:
6966 * examples/appreader/appreader.c:
6967 * examples/controller/.cvsignore:
6968 * examples/controller/Makefile.am:
6969 * examples/controller/audio-example.c:
6970 * examples/cutter/.cvsignore:
6971 * examples/cutter/Makefile.am:
6972 * examples/cutter/cutter.c:
6973 * examples/cutter/cutter.h:
6974 * examples/events/Makefile.am:
6975 * examples/events/seek.c:
6976 * examples/helloworld/.cvsignore:
6977 * examples/helloworld/Makefile.am:
6978 * examples/helloworld/helloworld.c:
6979 * examples/helloworld2/.cvsignore:
6980 * examples/helloworld2/Makefile.am:
6981 * examples/helloworld2/helloworld2.c:
6982 * examples/launch/.cvsignore:
6983 * examples/launch/Makefile.am:
6984 * examples/launch/mp3parselaunch.c:
6985 * examples/launch/mp3play:
6986 * examples/manual/.cvsignore:
6987 * examples/manual/Makefile.am:
6988 * examples/manual/extract.pl:
6989 * examples/metadata/Makefile.am:
6990 * examples/metadata/read-metadata.c:
6991 * examples/mixer/.cvsignore:
6992 * examples/mixer/Makefile.am:
6993 * examples/mixer/mixer.c:
6994 * examples/mixer/mixer.h:
6995 * examples/pingpong/.cvsignore:
6996 * examples/pingpong/Makefile.am:
6997 * examples/pingpong/pingpong.c:
6998 * examples/plugins/.cvsignore:
6999 * examples/plugins/Makefile.am:
7000 * examples/plugins/example.c:
7001 * examples/plugins/example.h:
7002 * examples/pwg/.cvsignore:
7003 * examples/pwg/Makefile.am:
7004 * examples/pwg/extract.pl:
7005 * examples/queue/.cvsignore:
7006 * examples/queue/Makefile.am:
7007 * examples/queue/queue.c:
7008 * examples/queue2/.cvsignore:
7009 * examples/queue2/Makefile.am:
7010 * examples/queue2/queue2.c:
7011 * examples/queue3/.cvsignore:
7012 * examples/queue3/Makefile.am:
7013 * examples/queue3/queue3.c:
7014 * examples/queue4/.cvsignore:
7015 * examples/queue4/Makefile.am:
7016 * examples/queue4/queue4.c:
7017 * examples/retag/.cvsignore:
7018 * examples/retag/Makefile.am:
7019 * examples/retag/retag.c:
7020 * examples/retag/transcode.c:
7021 * examples/thread/.cvsignore:
7022 * examples/thread/Makefile.am:
7023 * examples/thread/thread.c:
7024 * examples/typefind/.cvsignore:
7025 * examples/typefind/Makefile.am:
7026 * examples/typefind/typefind.c:
7027 * examples/xml/.cvsignore:
7028 * examples/xml/Makefile.am:
7029 * examples/xml/createxml.c:
7030 * examples/xml/runxml.c:
7031 * tests/Makefile.am:
7032 * tests/check/Makefile.am:
7033 * testsuite/.cvsignore:
7034 * testsuite/Makefile.am:
7036 * testsuite/caps/.cvsignore:
7037 * testsuite/caps/Makefile.am:
7038 * testsuite/caps/app_fixate.c:
7039 * testsuite/caps/audioscale.c:
7040 * testsuite/caps/caps.c:
7041 * testsuite/caps/caps.h:
7042 * testsuite/caps/caps_strings:
7043 * testsuite/caps/compatibility.c:
7044 * testsuite/caps/deserialize.c:
7045 * testsuite/caps/enumcaps.c:
7046 * testsuite/caps/eratosthenes.c:
7047 * testsuite/caps/filtercaps.c:
7048 * testsuite/caps/fixed.c:
7049 * testsuite/caps/fraction-convert.c:
7050 * testsuite/caps/fraction-multiply-and-zero.c:
7051 * testsuite/caps/intersect2.c:
7052 * testsuite/caps/intersection.c:
7053 * testsuite/caps/normalisation.c:
7054 * testsuite/caps/random.c:
7055 * testsuite/caps/renegotiate.c:
7056 * testsuite/caps/sets.c:
7057 * testsuite/caps/simplify.c:
7058 * testsuite/caps/string-conversions.c:
7059 * testsuite/caps/structure.c:
7060 * testsuite/caps/subtract.c:
7061 * testsuite/caps/union.c:
7062 * testsuite/debug/.cvsignore:
7063 * testsuite/debug/Makefile.am:
7064 * testsuite/debug/category.c:
7065 * testsuite/debug/commandline.c:
7066 * testsuite/debug/global.c:
7067 * testsuite/debug/output.c:
7068 * testsuite/debug/printf_extension.c:
7069 * testsuite/dlopen/.cvsignore:
7070 * testsuite/dlopen/Makefile.am:
7071 * testsuite/dlopen/dlopen_gst.c:
7072 * testsuite/dlopen/loadgst.c:
7073 * testsuite/elements/.cvsignore:
7074 * testsuite/elements/Makefile.am:
7075 * testsuite/elements/gst-inspect-check.in:
7076 * testsuite/elements/struct_i386.h:
7077 * testsuite/elements/struct_size.c:
7078 * testsuite/indexers/.cvsignore:
7079 * testsuite/indexers/Makefile.am:
7080 * testsuite/indexers/cache1.c:
7081 * testsuite/indexers/indexdump.c:
7082 * testsuite/parse/.cvsignore:
7083 * testsuite/parse/Makefile.am:
7084 * testsuite/parse/parse1.c:
7085 * testsuite/parse/parse2.c:
7086 * testsuite/plugin/.cvsignore:
7087 * testsuite/plugin/Makefile.am:
7088 * testsuite/plugin/README:
7089 * testsuite/plugin/dynamic.c:
7090 * testsuite/plugin/linked.c:
7091 * testsuite/plugin/loading.c:
7092 * testsuite/plugin/registry.c:
7093 * testsuite/plugin/static.c:
7094 * testsuite/plugin/static2.c:
7095 * testsuite/plugin/testplugin.c:
7096 * testsuite/plugin/testplugin2.c:
7097 * testsuite/plugin/testplugin2_s.c:
7098 * testsuite/plugin/testplugin_s.c:
7099 * testsuite/refcounting/.cvsignore:
7100 * testsuite/refcounting/Makefile.am:
7101 * testsuite/refcounting/bin.c:
7102 * testsuite/refcounting/element.c:
7103 * testsuite/refcounting/element_pad.c:
7104 * testsuite/refcounting/mainloop.c:
7105 * testsuite/refcounting/mem.c:
7106 * testsuite/refcounting/mem.h:
7107 * testsuite/refcounting/object.c:
7108 * testsuite/refcounting/pad.c:
7109 * testsuite/refcounting/sched.c:
7110 * testsuite/refcounting/thread.c:
7111 * testsuite/states/.cvsignore:
7112 * testsuite/states/Makefile.am:
7113 * testsuite/states/bin.c:
7114 * testsuite/states/locked.c:
7115 * testsuite/states/parent.c:
7116 * testsuite/threads/.cvsignore:
7117 * testsuite/threads/159566.c:
7118 * testsuite/threads/159852.c:
7119 * testsuite/threads/Makefile.am:
7120 * testsuite/threads/queue.c:
7121 * testsuite/threads/signals.c:
7122 * testsuite/threads/staticrec.c:
7123 * testsuite/threads/thread.c:
7124 * testsuite/threads/threadb.c:
7125 * testsuite/threads/threadc.c:
7126 * testsuite/threads/threadd.c:
7127 * testsuite/threads/threade.c:
7128 * testsuite/threads/threadf.c:
7129 * testsuite/threads/threadg.c:
7130 * testsuite/threads/threadh.c:
7131 * testsuite/threads/threadi.c:
7132 move all of these under tests
7134 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7137 * tests/Makefile.am:
7140 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7142 * docs/gst/gstreamer-sections.txt:
7143 * tests/sched/.cvsignore:
7144 * tests/sched/Makefile.am:
7145 * tests/sched/cases/(fs-fs).xml:
7146 * tests/sched/cases/(fs-i-fs).xml:
7147 * tests/sched/cases/(fs-i-i-fs).xml:
7148 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7149 * tests/sched/dynamic-pipeline.c:
7150 * tests/sched/interrupt1.c:
7151 * tests/sched/interrupt2.c:
7152 * tests/sched/interrupt3.c:
7153 * tests/sched/runtestcases:
7154 * tests/sched/runxml.c:
7155 * tests/sched/sched-stress.c:
7156 * tests/sched/sort.c:
7157 * tests/sched/testcases:
7158 * tests/sched/testcases1.tc:
7159 * tests/seeking/.cvsignore:
7160 * tests/seeking/Makefile.am:
7161 * tests/seeking/seeking1.c:
7162 * tests/threadstate/.cvsignore:
7163 * tests/threadstate/Makefile.am:
7164 * tests/threadstate/test1.c:
7165 * tests/threadstate/test2.c:
7166 * tests/threadstate/threadstate1.c:
7167 * tests/threadstate/threadstate2.c:
7168 * tests/threadstate/threadstate3.c:
7169 * tests/threadstate/threadstate4.c:
7170 * tests/threadstate/threadstate5.c:
7171 remove obsolete tests
7173 * tests/bench-complexity.scm:
7174 * tests/bench-mass_elements.scm:
7175 * tests/complexity.c:
7176 * tests/complexity.gnuplot:
7177 * tests/instantiate/.cvsignore:
7178 * tests/instantiate/Makefile.am:
7179 * tests/instantiate/caps.c:
7180 * tests/mass_elements.c:
7181 * tests/network-clock-utils.scm:
7182 * tests/network-clock.scm:
7184 First pass at cleaning up tests/ dir before moving the rest
7185 Combined with CVS surgery
7187 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7190 queue has moved, update
7192 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7194 * docs/gst/gstreamer-sections.txt:
7195 remove double entries from the docs
7196 * gst/gst_private.h:
7197 * gst/gstinfo.c: (_gst_debug_init):
7198 remove the THREAD debug category
7202 * docs/gst/gstreamer.types:
7203 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7204 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7205 completely move queue and fix up debugging categories
7207 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7209 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7210 make initialization portable, using LL is not
7212 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7214 * win32/common/gstconfig.h:
7217 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7219 * win32/common/libgstreamer.def:
7220 rename symbols; sort base section
7222 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7224 * gst/gstclock.c: (do_linear_regression):
7225 remove crack non-portable handrolled DEBUG macro
7227 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7229 * docs/random/release:
7231 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7232 (gst_object_flags_get_type), (register_gst_bin_flags),
7233 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7234 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7235 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7236 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7237 (gst_caps_flags_get_type), (register_gst_clock_return),
7238 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7239 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7240 (gst_clock_flags_get_type), (register_gst_state),
7241 (gst_state_get_type), (register_gst_state_change_return),
7242 (gst_state_change_return_get_type), (register_gst_state_change),
7243 (gst_state_change_get_type), (register_gst_element_flags),
7244 (gst_element_flags_get_type), (register_gst_core_error),
7245 (gst_core_error_get_type), (register_gst_library_error),
7246 (gst_library_error_get_type), (register_gst_resource_error),
7247 (gst_resource_error_get_type), (register_gst_stream_error),
7248 (gst_stream_error_get_type), (register_gst_event_type_flags),
7249 (gst_event_type_flags_get_type), (register_gst_event_type),
7250 (gst_event_type_get_type), (register_gst_seek_type),
7251 (gst_seek_type_get_type), (register_gst_seek_flags),
7252 (gst_seek_flags_get_type), (register_gst_format),
7253 (gst_format_get_type), (register_gst_index_certainty),
7254 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7255 (gst_index_entry_type_get_type),
7256 (register_gst_index_lookup_method),
7257 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7258 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7259 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7260 (gst_index_flags_get_type), (register_gst_debug_level),
7261 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7262 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7263 (gst_iterator_result_get_type), (register_gst_iterator_item),
7264 (gst_iterator_item_get_type), (register_gst_message_type),
7265 (gst_message_type_get_type), (register_gst_mini_object_flags),
7266 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7267 (gst_pad_link_return_get_type), (register_gst_flow_return),
7268 (gst_flow_return_get_type), (register_gst_activate_mode),
7269 (gst_activate_mode_get_type), (register_gst_pad_direction),
7270 (gst_pad_direction_get_type), (register_gst_pad_flags),
7271 (gst_pad_flags_get_type), (register_gst_pad_presence),
7272 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7273 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7274 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7275 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7276 (gst_plugin_flags_get_type), (register_gst_rank),
7277 (gst_rank_get_type), (register_gst_query_type),
7278 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7279 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7280 (gst_tag_flag_get_type), (register_gst_task_state),
7281 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7282 (gst_alloc_trace_flags_get_type),
7283 (register_gst_type_find_probability),
7284 (gst_type_find_probability_get_type), (register_gst_uri_type),
7285 (gst_uri_type_get_type), (register_gst_parse_error),
7286 (gst_parse_error_get_type):
7287 * win32/common/gstenumtypes.h:
7288 * win32/common/gstversion.h:
7289 update visual studio generated files
7291 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7293 * win32/vs6/libgstbase.dsp:
7294 * win32/vs6/libgstelements.dsp:
7295 update project files for new locations
7297 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7302 reinstate and update
7307 * docs/random/LICENSE:
7310 2005-11-30 Edward Hervey <edward@fluendo.com>
7312 * gst/gsttypefind.c: (gst_type_find_register):
7313 * gst/gsttypefind.h:
7314 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7315 (gst_type_find_factory_dispose):
7316 * gst/gsttypefindfactory.h:
7317 Fix memory leak in GstTypeFindFactory.
7319 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7322 * plugins/elements/Makefile.am:
7323 * plugins/elements/gstelements.c:
7324 * plugins/elements/gstqueue.c:
7325 move queue from core to the elements plugin
7327 2005-11-29 Andy Wingo <wingo@pobox.com>
7329 * libs/gst/base/gstbasetransform.h:
7330 * libs/gst/base/gstbasesrc.h:
7331 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7333 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7334 of pointers by which to pad very extensible base classes (like the
7335 ones in libs/gst/base).
7337 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7339 * docs/gst/gstreamer-docs.sgml:
7340 * docs/gst/gstreamer-sections.txt:
7341 * docs/libs/gstreamer-libs-docs.sgml:
7342 * docs/libs/gstreamer-libs-sections.txt:
7343 moving documentation from core to lib
7345 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7347 * check/Makefile.am:
7349 * docs/gst/Makefile.am:
7351 * gst/base/.cvsignore:
7352 * gst/base/Makefile.am:
7354 * gst/base/gstadapter.c:
7355 * gst/base/gstadapter.h:
7356 * gst/base/gstbasesink.c:
7357 * gst/base/gstbasesink.h:
7358 * gst/base/gstbasesrc.c:
7359 * gst/base/gstbasesrc.h:
7360 * gst/base/gstbasetransform.c:
7361 * gst/base/gstbasetransform.h:
7362 * gst/base/gstcollectpads.c:
7363 * gst/base/gstcollectpads.h:
7364 * gst/base/gstpushsrc.c:
7365 * gst/base/gstpushsrc.h:
7366 * gst/base/gsttypefindhelper.c:
7367 * gst/base/gsttypefindhelper.h:
7368 * gst/check/Makefile.am:
7369 * gst/check/gstcheck.c:
7370 * gst/check/gstcheck.h:
7371 * gst/net/Makefile.am:
7373 * gst/net/gstnetclientclock.c:
7374 * gst/net/gstnetclientclock.h:
7375 * gst/net/gstnettimepacket.c:
7376 * gst/net/gstnettimepacket.h:
7377 * gst/net/gstnettimeprovider.c:
7378 * gst/net/gstnettimeprovider.h:
7379 * libs/gst/Makefile.am:
7380 * libs/gst/base/Makefile.am:
7381 * libs/gst/base/gstbasetransform.c:
7382 * libs/gst/check/Makefile.am:
7383 * plugins/elements/Makefile.am:
7385 CVS surgery + support to move base, check, and net out of gst
7388 2005-11-29 Andy Wingo <wingo@pobox.com>
7390 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7392 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7395 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7397 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7399 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7401 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7402 padding; reduces object size by about 30%. We don't expect
7403 anything else to go into gstobject.
7405 * gst/gstminiobject.h (struct _GstMiniObject)
7406 (struct _GstMiniObjectClass): Only one pointer of padding; the
7407 payload is only a pointer and two ints anyway. For the class there
7408 are only two methods as well.
7410 * gst/gstelement.h (struct _GstElementClass): Removed
7411 the state_changed signal callback, it is not used.
7413 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7415 * docs/gst/gstreamer.types:
7416 fix includes, though they are a little dinky
7418 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7420 * check/Makefile.am:
7421 look in the right place for elements, a lot more chance of
7424 remove indexers and elements subdirs
7425 * plugins/Makefile.am:
7426 make indexers conditional
7428 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7432 * plugins/elements/Makefile.am:
7433 * plugins/elements/gstcapsfilter.c:
7434 * plugins/elements/gstfilesink.c:
7435 * plugins/elements/gstfilesrc.c:
7436 * plugins/elements/gstidentity.c:
7437 * plugins/indexers/Makefile.am:
7438 do CVS surgery and related build fixery to move elements
7439 and indexers in a new gstreamer/plugins directory, out of the
7442 2005-11-29 Andy Wingo <wingo@pobox.com>
7444 * check/Makefile.am:
7445 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7446 * pkgconfig/gstreamer-net.pc.in:
7447 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7450 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7452 * tools/Makefile.am:
7453 * tools/gst-complete.1.in:
7454 * tools/gst-complete.c:
7455 * tools/gst-compprep.1.in:
7456 * tools/gst-compprep.c:
7457 removing -compprep and -complete
7459 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7461 * gst/gstevent.c: (gst_event_new_new_segment),
7462 (gst_event_parse_new_segment):
7464 fix #320529 - clean up new_segment API and structure.
7465 Let's hope everyone was using the methods, and not the structure.
7467 2005-11-29 Edward Hervey <edward@fluendo.com>
7469 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7470 (gst_base_sink_event), (gst_base_sink_do_sync),
7471 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7472 Properly handle non GST_FORMAT_TIME segment
7473 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7474 Properly handle non GST_FORMAT_TIME segment
7476 This function is valid if the accumulator is 0 and the format
7477 is different from the requested format.
7479 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7481 * docs/gst/gstreamer-sections.txt:
7482 Add gst_query_new_seeking and gst_query_parse_seeking to the
7485 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7487 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7488 Treat a pad alloc with new caps the same as if we were not
7489 negotiated, in order to allow a changing upstream output
7490 to produce a new format of data.
7492 2005-11-29 Edward Hervey <edward@fluendo.com>
7494 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7495 (gst_base_transform_event), (gst_base_transform_eventfunc):
7496 The event virtual method is now properly implemented, with a default
7498 Sub classes should call the parent_class event method. They should
7499 return FALSE if they had a problem handling the given event, or don't
7500 want GstBaseTransform to send that even downstream
7501 * gst/elements/gstidentity.c: (gst_identity_class_init),
7502 (gst_identity_init), (gst_identity_event),
7503 (gst_identity_transform_ip), (gst_identity_set_property),
7504 (gst_identity_get_property):
7505 * gst/elements/gstidentity.h:
7506 Added the single-segment boolean property.
7507 If set to TRUE, it will output a single segment of data, starting from
7508 0, will eat up all incoming newsegment, and modify the timestamp of the
7511 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7513 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7514 Don't ref NULL target pad (#322751). Improve docs.
7516 2005-11-29 Michael Smith <msmith@fluendo.com>
7518 * gst/gstregistryxml.c: (load_plugin):
7519 Don't crash if we failed to load a feature from a plugin.
7521 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7523 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7525 use more check API and less GLib API
7527 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7530 don't run checks if we don't have check
7532 remove the registry when running make torture
7533 * docs/gst/gstreamer-sections.txt:
7534 remove second multiply
7535 * gst/gstqueue.c: (gst_queue_loop):
7536 fix a compile warning when disabling debug
7538 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7541 Hey! Let's print the pad name if the pointer != NULL instead
7542 of when it == NULL :-)
7544 2005-11-28 Wim Taymans <wim@fluendo.com>
7546 * check/gst/gstutils.c: (GST_START_TEST):
7547 Updated check, add some scaling accuracy checking code.
7549 * gst/gstutils.c: (gst_util_div128_64),
7550 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7551 (gst_util_uint64_scale_int):
7552 Fix 6 times faster division code. Optimize for common
7553 1/1 and less common X/1 cases.
7555 2005-11-28 Wim Taymans <wim@fluendo.com>
7557 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7560 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7561 (do_linear_regression), (gst_clock_add_observation):
7563 Release lock when the clock cannot be slaved.
7564 Catch the case where the regression returned an invalid denominator.
7566 * gst/gstutils.c: (gst_util_div128_64_iterate),
7567 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7568 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7569 Add protentially more performant non-iterative 128/64 divide function
7570 that unfortunatly does not work yet.
7571 Shortcut the trivial 0/X = 0 case.
7572 Remove the warnings on overflow.
7574 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7576 * gst/gstplugin.c: (gst_plugin_register_func):
7577 everything causing a plugin not to load should be at least a WARNING
7579 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7581 * docs/random/ensonic/dparams.txt:
7582 some TODOs for the next dev cycle
7583 * libs/gst/controller/gstcontroller.c:
7584 (gst_controlled_property_set_interpolation_mode),
7585 (gst_controlled_property_new):
7586 * libs/gst/controller/gstcontroller.h:
7587 use base type to assign acccessor functions
7589 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7591 * check/Makefile.am:
7592 Oops, that should have been top_srcdir
7594 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7596 * check/Makefile.am:
7597 * check/elements/fdsrc.c: (GST_START_TEST):
7598 Use a cmdline define to specify the location of a file to use for
7599 testing, to avoid breaking distcheck.
7601 2005-11-28 Andy Wingo <wingo@pobox.com>
7603 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7605 2005-11-28 Edward Hervey <edward@fluendo.com>
7607 * tools/gst-launch.c: (main):
7608 Clarify the output strings, makes it easier to translate.
7611 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7614 don't try and build net if we don't even have <sys/socket.h>
7616 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7618 * check/Makefile.am:
7619 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7620 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7621 Add tests for fdsrc seekability
7623 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7624 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7625 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7626 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7627 * gst/elements/gstfdsrc.h:
7628 fdsrc should not be a 'live' source.
7629 Implement seeking on seekable fd's.
7631 * gst/gstquery.c: (gst_query_new_seeking),
7632 (gst_query_parse_seeking):
7634 Implement SEEKING query functions:
7635 *_new_seeking and *_parse_seeking
7637 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7639 * gst/gstelement.c: (gst_element_dispose):
7642 * gst/gstiterator.c:
7643 * gst/gststructure.c:
7646 * libs/gst/controller/gstcontroller.c:
7647 (gst_controlled_property_set_interpolation_mode):
7648 * libs/gst/controller/gstcontroller.h:
7649 * libs/gst/controller/gstinterpolation.c:
7650 (interpolate_none_get_enum_value_array):
7651 support controlling enums
7653 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7656 Improve documentation for gst_value_union().
7659 Change return value for union, intersect and subtract functions
7660 from gint to gboolean.
7662 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7664 * gst/gstvalue.c: (gst_value_serialize_any_list),
7665 (gst_value_transform_any_list_string),
7666 (gst_value_deserialize_list), (gst_value_deserialize_array),
7667 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7668 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7669 (gst_value_set_fraction_range_full),
7670 (gst_value_deserialize_fraction_range),
7671 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7672 (gst_value_deserialize_boolean),
7673 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7674 (gst_value_serialize_float), (gst_value_deserialize_float),
7675 (gst_string_wrap), (gst_value_deserialize_string),
7676 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7677 (gst_value_union_int_range_int_range),
7678 (gst_value_intersect_int_range_int_range),
7679 (gst_value_intersect_double_range_double_range),
7680 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7681 (gst_value_subtract_int_range_int_range),
7682 (gst_value_subtract_double_double_range),
7683 (gst_value_subtract_double_range_double_range),
7684 (gst_value_deserialize_fraction):
7686 Use gint, gdouble and gchar in our API instead of int, double and
7687 char (and make usage in gstvalue.c more consistent).
7689 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7691 * check/Makefile.am:
7692 * libs/gst/controller/Makefile.am:
7693 * libs/gst/dataprotocol/Makefile.am:
7694 fix up Makefile.am and remove GST_ENABLE_NEW
7696 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7700 * gst/base/Makefile.am:
7701 * gst/check/Makefile.am:
7702 * gst/elements/Makefile.am:
7703 * gst/net/Makefile.am:
7704 update LDFLAGS use some more
7706 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7708 * common/m4/gst-doc.m4:
7711 2005-11-26 Edward Hervey <edward@fluendo.com>
7713 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7714 This shouldn't issue a g_warning since it returns NULL if it
7715 couldn't find the plugin, and all functions using this behave
7716 properly on a NULL return. Switching to a GST_WARNING.
7718 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7720 * gst/gstbin.c: (gst_bin_handle_message_func):
7721 Don't leak clock messages.
7723 2005-11-25 Wim Taymans <wim@fluendo.com>
7725 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7726 (gst_util_uint64_scale_int):
7727 Optimisations, remove unneeded vars.
7729 2005-11-25 Wim Taymans <wim@fluendo.com>
7731 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7732 Added more checks for the high precision uint64 cases.
7734 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7735 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7736 Implement high precision (guint64 * guint64) / guint64.
7738 2005-11-24 Wim Taymans <wim@fluendo.com>
7740 * gst/base/gstbasesrc.c: (gst_base_src_query):
7741 Fix wrong percentage query.
7743 * gst/gstutils.c: (gst_util_uint64_scale),
7744 (gst_util_uint64_scale_int):
7745 Add some more common cases that can be handled
7746 efficiently to _scale.
7748 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7750 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7751 (gst_mini_object_suite):
7752 don't use check calls from threads; check probably isn't
7753 threadsafe and using a lock to make it threadsafe would
7754 defeat the purpose of this check
7755 * gst/check/gstcheck.c:
7756 * gst/check/gstcheck.h:
7757 use GST_DEBUG some more
7759 2005-11-24 Wim Taymans <wim@fluendo.com>
7761 * gst/gstutils.c: (gst_util_uint64_scale),
7762 (gst_util_uint64_scale_int):
7763 Chain trivial case to _scale_int.
7765 2005-11-24 Wim Taymans <wim@fluendo.com>
7767 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7768 Added test for scaling.
7773 * gst/gstutils.c: (gst_util_uint64_scale_int):
7774 Implemented high precision scaling code.
7776 2005-11-24 Stefan Kost <ensonic@users.sf.net>
7779 do not crash on pad==NULL
7781 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7783 Patch by: Stefan Kost
7785 * common/gtk-doc.mak:
7786 * docs/gst/Makefile.am:
7787 * docs/libs/Makefile.am:
7788 Fix distcheck issues for the libraries docs build
7791 2005-11-24 Michael Smith <msmith@fluendo.com>
7793 * docs/manual/basics-helloworld.xml:
7794 Fix bug #315027: memory leak in example code in docs.
7796 2005-11-24 Michael Smith <msmith@fluendo.com>
7798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7799 Unlock the PREROLL_LOCK in a failure case.
7801 2005-11-24 Wim Taymans <wim@fluendo.com>
7803 * docs/gst/gstreamer-sections.txt:
7804 * gst/base/gstadapter.h:
7805 * gst/base/gstbasesink.h:
7806 * gst/base/gstbasesrc.h:
7807 * gst/base/gstbasetransform.h:
7808 * gst/base/gstpushsrc.h:
7809 * gst/elements/gstfakesink.h:
7810 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7811 * gst/elements/gstfakesrc.h:
7812 * gst/elements/gstfilesink.h:
7813 * gst/elements/gstfilesrc.h:
7816 * gst/gstbuffer.c: (_gst_buffer_copy):
7819 * gst/gstchildproxy.c:
7822 * gst/gstelementfactory.c:
7823 * gst/gstelementfactory.h:
7825 * gst/gstghostpad.h:
7827 * gst/gstinterface.h:
7828 * gst/gstminiobject.c:
7829 * gst/gstminiobject.h:
7832 * gst/gstpadtemplate.h:
7833 * gst/gstpipeline.h:
7834 * gst/gstpluginfeature.h:
7839 * gst/gsttagsetter.c:
7840 * gst/gsttagsetter.h:
7843 * gst/gsttypefind.h:
7846 * gst/net/gstnetclientclock.c:
7847 * gst/net/gstnetclientclock.h:
7848 * gst/net/gstnettimepacket.c:
7849 * gst/net/gstnettimeprovider.c:
7850 * gst/net/gstnettimeprovider.h:
7853 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7855 * configure.ac: back to HEAD
7857 === release 0.9.6 ===
7859 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7862 releasing 0.9.6, "Always On Time"
7864 2005-11-23 Wim Taymans <wim@fluendo.com>
7866 * docs/gst/gstreamer-sections.txt:
7867 * gst/glib-compat.c:
7868 * gst/gsttagsetter.c:
7870 * gst/net/gstnetclientclock.c:
7871 * gst/net/gstnettimepacket.h:
7874 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
7876 * docs/faq/using.xml:
7877 * docs/libs/tmpl/gstcontrol.sgml:
7878 * docs/manual/advanced-dparams.xml:
7879 * docs/manual/appendix-checklist.xml:
7880 * docs/manual/basics-elements.xml:
7881 * docs/pwg/other-source.xml:
7882 * docs/random/moving-plugins:
7884 * tools/gst-launch.1.in:
7885 remove mentions of sinesrc
7887 2005-11-23 Michael Smith <msmith@fluendo.com>
7889 * docs/gst/gstreamer-sections.txt:
7890 Update for new API and API changes.
7892 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
7894 Documentation typo fix.
7895 * gst/net/gstnettimepacket.c:
7896 Documentation fixes for arguments.
7898 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
7900 * gst/gststructure.c: (gst_structure_get_fraction),
7901 (gst_structure_parse_value),
7902 (gst_structure_fixate_field_nearest_fraction):
7903 * gst/gststructure.h:
7904 * gst/gstutils.c: (gst_util_uint64_scale_int):
7906 * scripts/update-funcnames:
7908 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
7909 Make gst_structure_fixate_field_nearest_fraction take a numerator
7910 and denominator argument instead of a GValue
7911 add gst_structure_get_fraction helper function.
7913 2005-11-23 Wim Taymans <wim@fluendo.com>
7915 * docs/design/part-TODO.txt:
7918 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
7919 * gst/net/gstnetclientclock.h:
7920 Use parent fields for timeout and window_size.
7922 2005-11-23 Andy Wingo <wingo@pobox.com>
7924 * check/net/gstnetclientclock.c (test_functioning): Adjust to
7925 rate_num/rate_denom change.
7927 * gst/net/gstnetclientclock.c
7928 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
7929 OBJECT_LOCK. Don't call add_observation with the lock.
7931 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
7933 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
7935 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
7936 deal with rate as a fraction whose numerator and denominator are
7937 GstClockTime values.
7938 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
7939 master; the other fields are protected by the SLAVE_LOCK.
7940 (do_linear_regression): Note that this must be called with the
7942 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
7943 OBJECT_LOCK. Call set_calibration instead of touching the
7945 (gst_clock_set_property, gst_clock_get_property): Protect
7946 master/slave parameters with the SLAVE_LOCK.
7948 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
7949 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
7950 note that all of the instance variables that add_observation and
7951 the set_master functions use are protected by that lock and not
7953 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
7955 * gst/gstclock.c (gst_clock_add_observation): No longer requires
7956 the caller to take the object lock.
7958 2005-11-23 Wim Taymans <wim@fluendo.com>
7960 * gst/gsterror.c: (_gst_core_errors_init):
7962 Add error for clock stuff.
7964 * gst/gstpipeline.c: (gst_pipeline_change_state),
7965 (gst_pipeline_set_clock):
7966 Post clock error when clock cannot be used in a pipeline.
7968 2005-11-23 Stefan Kost <ensonic@users.sf.net>
7970 * docs/gst/gstreamer-sections.txt:
7971 make two symbols from gstinfo private for the docs
7972 * gst/base/gstcollectpads.h:
7974 fix doc typos, update docs
7976 2005-11-22 Wim Taymans <wim@fluendo.com>
7978 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
7979 (gst_base_sink_wait), (gst_base_sink_do_sync),
7980 (gst_base_sink_handle_event):
7981 * gst/base/gstbasesink.h:
7982 No need to store the clock, the parent element class already
7985 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
7986 Updates for clock_set returning a gboolean
7988 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
7989 (gst_clock_id_wait_async), (gst_clock_class_init),
7990 (gst_clock_init), (gst_clock_finalize),
7991 (gst_clock_get_internal_time), (gst_clock_get_time),
7992 (gst_clock_slave_callback), (gst_clock_set_master),
7993 (gst_clock_get_master), (do_linear_regression),
7994 (gst_clock_add_observation), (gst_clock_set_property),
7995 (gst_clock_get_property):
7997 Implement master/slave. When setting a clock as a slave, a
7998 periodic timeout is scheduled to sample master and slave times.
7999 Then the slave clock is recalibrated to match offset and rate
8000 of the master clock.
8001 Update logging a bit.
8002 Add flag so that a clock can state that is cannot be slaved to
8005 * gst/gstelement.c: (gst_element_set_clock):
8007 The set clock returns a gboolean for when an element cannot
8008 deal with the selected clock in the pipeline.
8010 * gst/gstpipeline.c: (gst_pipeline_change_state),
8011 (gst_pipeline_set_clock):
8012 * gst/gstpipeline.h:
8013 Handle the case where the selected clock cannot be set on
8016 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8017 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8018 (gst_net_client_clock_set_property),
8019 (gst_net_client_clock_get_property),
8020 (gst_net_client_clock_observe_times):
8021 * gst/net/gstnetclientclock.h:
8022 Use regression code in GstClock parent, remove duplicated
8025 2005-11-22 Michael Smith <msmith@fluendo.com>
8027 * gst/gstutils.c: (gst_util_clock_time_scale):
8029 * docs/gst/gstreamer-sections.txt:
8030 Rename method to have extra underscore.
8032 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8034 * gst/elements/Makefile.am:
8035 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8036 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8037 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8038 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8039 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8040 * gst/elements/gstfakesrc.h:
8041 * gst/gstqueue.c: (queue_leaky_get_type):
8042 correctly fix GEnumValues so that nick is the short lowercase
8044 * tools/gst-inspect.c: (print_element_properties_info):
8045 also show the nick, since it's useful to use from parse_launch
8049 2005-11-22 Michael Smith <msmith@fluendo.com>
8051 * gst/gstutils.c: (gst_util_clocktime_scale):
8053 * docs/gst/gstreamer-sections.txt:
8054 Add util method for scaling a clocktime by a fraction. Useful
8055 implementation is left as an exercise for the reader.
8057 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8059 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8060 If needed, allocate storage in the destination value during
8063 2005-11-22 Edward Hervey <edward@fluendo.com>
8065 * docs/gst/gstreamer-sections.txt:
8070 * gst/gstutils.c: (gst_util_set_object_arg):
8071 * tools/gst-compprep.c: (main):
8072 * tools/gst-inspect.c: (print_element_properties_info):
8073 Removed GstURI, closes bug #321061
8075 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8077 * check/gst/gststructure.c: (GST_START_TEST):
8078 * gst/gststructure.c: (gst_structure_parse_value):
8079 Oops, broke automatic string type parsing.
8080 Add a test to catch it in future.
8082 2005-11-22 Andy Wingo <wingo@pobox.com>
8084 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8085 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8086 Actually rename the function implementations. Grr.
8088 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8090 * check/gst/capslist.h:
8092 * check/gst/gststructure.c: (GST_START_TEST),
8093 (gst_structure_suite):
8094 Test automatic value type detection in gst_structure_from_string.
8095 * gst/gststructure.c: (gst_structure_parse_value):
8096 Add fraction as a type we try and guess automatically in
8097 caps/structure strings.
8099 2005-11-22 Andy Wingo <wingo@pobox.com>
8101 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8103 * gst/gsttagsetter.h:
8104 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8105 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8106 (gst_tag_setter_add_tag_valist)
8107 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8108 _add_values, _add_valist, and _add_valist_values. Since this is an
8109 interface the function suffixes should be more explicit so
8110 language binding don't end up with element.add_valist ->
8111 gst_tag_setter_add_valist, for example. Fixes #322069.
8113 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8115 * check/gst/gstcaps.c: (GST_START_TEST):
8116 Extend caps string tests to check that a caps to string
8117 conversion is reversible and produces the same caps.
8119 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8120 Output "fraction" as the generic type fraction range, so caps
8121 serialisation and deserialisation works.
8122 * check/gst/capslist.h:
8123 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8124 Support 'MIN' and 'MAX' for deserialising fractions.
8126 2005-11-22 Andy Wingo <wingo@pobox.com>
8128 * gst/gstevent.h (gst_event_new_new_segment)
8129 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8130 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8131 Renamed from *_newsegment, *_buffersize, *_notarget.
8133 * scripts/update-funcnames: New script, performs the changes
8136 2005-11-22 Wim Taymans <wim@fluendo.com>
8138 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8139 Make sure the GstFlowReturn is returned.
8141 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8142 (gst_bus_add_signal_watch):
8144 add gst_bus_add_signal_watch_full.
8146 * gst/gstplugin.c: (gst_plugin_load_file):
8147 Small style cleanup.
8149 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8151 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8152 Block the fakesrc srcpad when we send an event, to avoid
8153 contention on the stream_lock causing random test failures.
8155 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8157 * check/gst/gstvalue.c: (GST_START_TEST):
8158 * gst/gstvalue.c: (gst_value_fraction_subtract):
8161 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8164 include "gstchildproxy.h"
8165 * gst/gstchildproxy.h:
8166 * libs/gst/controller/gstcontroller.h:
8167 use G_GNUC_NULL_TERMINATED
8169 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8171 * check/gst/capslist.h:
8172 * check/gst/gstcaps.c: (GST_START_TEST):
8173 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8174 * gst/gststructure.c: (gst_structure_parse_range),
8175 (gst_structure_fixate_field_nearest_fraction):
8176 * gst/gststructure.h:
8177 * gst/gstvalue.c: (gst_value_init_fraction_range),
8178 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8179 (gst_value_collect_fraction_range),
8180 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8181 (gst_value_set_fraction_range_full),
8182 (gst_value_get_fraction_range_min),
8183 (gst_value_get_fraction_range_max),
8184 (gst_value_serialize_fraction_range),
8185 (gst_value_transform_fraction_range_string),
8186 (gst_value_compare_fraction_range),
8187 (gst_value_deserialize_fraction_range),
8188 (gst_value_intersect_fraction_fraction_range),
8189 (gst_value_intersect_fraction_range_fraction_range),
8190 (gst_value_subtract_fraction_fraction_range),
8191 (gst_value_subtract_fraction_range_fraction),
8192 (gst_value_subtract_fraction_range_fraction_range),
8193 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8194 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8195 (gst_value_transform_string_fraction), (_gst_value_initialize):
8197 Implement fraction ranges and extend GstFraction to support
8198 arithmetic subtraction, as well as deserialization from integer
8199 strings such as "100"
8200 Add a testsuite as for int and double range set operations
8202 2005-11-21 Andy Wingo <wingo@pobox.com>
8206 * gst/gststructure.h: Add glib-compat.h.
8208 2005-11-21 Wim Taymans <wim@fluendo.com>
8210 * gst/gstbin.c: (gst_bin_change_state_func):
8213 2005-11-21 Wim Taymans <wim@fluendo.com>
8216 And add a nice define too.
8218 2005-11-21 Wim Taymans <wim@fluendo.com>
8220 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8221 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8222 (gst_segment_set_duration), (gst_segment_set_last_stop),
8223 (gst_segment_set_seek), (gst_segment_set_newsegment),
8224 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8227 Make binding friendly.
8229 2005-11-21 Andy Wingo <wingo@pobox.com>
8231 * gst/gsttagsetter.h:
8233 * gst/gststructure.h:
8235 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8238 * gst/gsterror.c (_gst_core_errors_init):
8239 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8242 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8243 (noinst_HEADERS): noinst the -private.
8245 2005-11-21 Michael Smith <msmith@fluendo.com>
8248 * gst/gstregistry.h:
8249 Remove unimplemented declarations for which we can see no sensible
8252 2005-11-21 Andy Wingo <wingo@pobox.com>
8254 * gst/gst.h: Include glib-compat.h.
8256 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8258 * gst/glib-compat.c: Include the public and the private header.
8260 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8264 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8266 * check/gst/gstevent.c (create_custom_events): Check that
8267 FLUSH_STOP is serialized.
8269 * check/elements/identity.c (event_func):
8270 * check/elements/fakesrc.c (event_func): No stream lock, the core
8273 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8274 stream lock taking, yay.
8276 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8277 ensure that core takes the stream lock.
8279 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8282 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8283 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8284 it already. For the flush start we do take it though so we get the
8285 right preroll state change messages.
8287 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8288 the stream lock here, the core does it for us.
8290 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8291 GST_STREAM_GET_LOCK.
8292 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8293 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8294 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8295 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8296 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8297 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8299 * gst/gstpad.c: Update for stream lock name change.
8301 * gst/base/gstbasesink.c: Update for preroll lock name change.
8303 2005-11-21 Wim Taymans <wim@fluendo.com>
8305 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8306 (gst_clock_get_master):
8308 * gst/gstsystemclock.c: (gst_system_clock_init):
8309 Convert Clock flags to object flags.
8310 Added methods to manage master/slave clocks.
8312 2005-11-21 Wim Taymans <wim@fluendo.com>
8314 * check/gst/gstsegment.c: (GST_START_TEST):
8315 * docs/design/part-TODO.txt:
8316 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8317 (gst_base_sink_event), (gst_base_sink_do_sync),
8318 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8319 (gst_base_sink_query), (gst_base_sink_change_state):
8320 * gst/base/gstbasesink.h:
8321 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8322 (gst_base_src_default_newsegment),
8323 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8324 (gst_base_src_get_range), (gst_base_src_loop),
8325 (gst_base_src_change_state):
8326 * gst/base/gstbasesrc.h:
8327 * gst/base/gstbasetransform.c:
8328 (gst_base_transform_prepare_output_buf),
8329 (gst_base_transform_event), (gst_base_transform_change_state):
8330 * gst/base/gstbasetransform.h:
8331 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8332 (gst_collect_pads_event):
8333 * gst/base/gstcollectpads.h:
8334 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8335 (gst_fake_src_create):
8336 * gst/elements/gstfakesrc.h:
8337 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8338 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8339 (gst_segment_set_last_stop), (gst_segment_set_seek),
8340 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8341 (gst_segment_to_running_time), (gst_segment_clip):
8343 More segment updates, replace code in plugins with segment
8346 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8348 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8349 Don't ignore sscanf results
8351 2005-11-21 Andy Wingo <wingo@pobox.com>
8353 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8356 * *.c: Ran scripts/update-macros. Oh yes.
8358 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8359 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8362 * scripts/update-macros: New script. Run it on your files to
8363 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8366 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8368 * docs/gst/Makefile.am:
8369 * docs/gst/gstreamer-docs.sgml:
8370 * docs/gst/gstreamer-sections.txt:
8371 * docs/gst/gstreamer.types:
8373 more docs fixes, add new api to the docs
8375 2005-11-21 Andy Wingo <wingo@pobox.com>
8377 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8378 state_broadcast call.
8380 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8382 2005-11-21 Julien MOUTTE <julien@moutte.net>
8384 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8385 function calls for arrays.
8387 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8389 * docs/random/ensonic/media-device-daemon.txt:
8390 wild idea, can this be done?
8391 * docs/gst/gstreamer-sections.txt:
8396 * gst/gstpluginfeature.c:
8400 doc fixes and additions
8402 2005-11-21 Andy Wingo <wingo@pobox.com>
8404 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8405 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8406 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8407 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8408 private to the basesrc implementation.
8410 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8411 behalf of event function if necessary. It should no longer be
8412 necessary to take the stream lock in pad's event functions. Fixes
8415 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8416 * docs/gst/gstreamer-sections.txt:
8417 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8418 (gst_structure_fixate_field_nearest_double),
8419 (gst_structure_fixate_field_boolean):
8420 * gst/gststructure.h:
8421 * win32/common/libgstreamer.def:
8422 * win32/gstreamer.def:
8424 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8427 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8429 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8430 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8431 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8432 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8433 (gst_fdsrc_uri_handler_init):
8434 * gst/elements/gstfdsrc.h:
8435 Port fd:// URI handler from 0.8 to fdsrc
8437 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8439 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8440 (gst_value_serialize_fourcc):
8442 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8443 consistent with our other format defines (#320324).
8445 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8447 * gst/gstvalue.c: (gst_value_is_fixed):
8448 Revert previous commit. Value lists are by definition
8449 not fixed, as they are a list of possible values.
8451 2005-11-21 Andy Wingo <wingo@pobox.com>
8453 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8454 during the stable series if we need it. Fixes #319178.
8456 * gst/gstevent.c (gst_event_new_filler): Removed.
8458 * check/gst/gstevent.c: Update comment about filler events.
8460 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8462 * gst/gstvalue.c: (gst_value_is_fixed):
8463 Should handle both value arrays and value lists.
8465 2005-11-21 Andy Wingo <wingo@pobox.com>
8467 patch by: Alessandro Dessina <alessandro nnva org>
8469 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8470 functions to access arrays. Fixes #321962.
8472 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8474 * docs/gst/gstreamer.types:
8475 gst_collectpads_get_type => gst_collect_pads_get_type.
8477 * gst/base/gstbasetransform.c:
8478 Remove unused SIGNAL_HANDOFF enum.
8480 2005-11-21 Andy Wingo <wingo@pobox.com>
8482 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8483 the event type (upstream, downstream, serialized). Renamed
8484 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8485 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8486 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8488 * gst/gstevent.c: Update for new CUSTOM event names.
8490 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8493 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8496 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8498 * docs/gst/gstreamer-sections.txt:
8499 * win32/common/libgstbase.def:
8500 * win32/libgstbase.def:
8501 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8502 (gst_collect_pads_class_init), (gst_collect_pads_init),
8503 (gst_collect_pads_finalize), (gst_collect_pads_new),
8504 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8505 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8506 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8507 (gst_collect_pads_start), (gst_collect_pads_stop),
8508 (gst_collect_pads_peek), (gst_collect_pads_pop),
8509 (gst_collect_pads_available), (gst_collect_pads_read),
8510 (gst_collect_pads_flush), (gst_collect_pads_event),
8511 (gst_collect_pads_chain):
8512 * gst/base/gstcollectpads.h:
8513 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8514 unimplemented functions as unimplemented. Add padding to
8515 GstCollectData. (#320766, #320423)
8517 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8520 Improve docs for DURATION message (usage of duration parameter)
8523 2005-11-20 Wim Taymans <wim@fluendo.com>
8525 * check/Makefile.am:
8526 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8530 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8531 (gst_segment_set_seek), (gst_segment_set_newsegment),
8532 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8535 Added segment helper structure and methods. Not fully implemented
8537 Added segment check.
8539 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8541 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8542 Add a deserialisation test for fractions
8543 * examples/metadata/read-metadata.c: (message_loop),
8544 (make_pipeline), (main):
8545 Fix up metadata reading sample.
8546 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8548 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8549 Don't try and fixate empty caps
8550 * gst/gst_private.h:
8551 Wrap in G_BEGIN_DECLS/G_END_DECLS
8552 * gst/gstvalue.c: (gst_value_collect_fraction),
8553 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8554 (gst_value_transform_string_fraction),
8555 (gst_value_compare_fraction):
8556 Add some extra guards to ensure that we don't end up
8557 with an invalid denominator of 0 in a gstfraction and
8558 that fractions always get reduced.
8560 2005-11-20 Wim Taymans <wim@fluendo.com>
8562 * docs/gst/gstreamer-sections.txt:
8573 2005-11-20 Wim Taymans <wim@fluendo.com>
8575 * docs/design/part-TODO.txt:
8577 Make a proper enum of the flag.
8579 2005-11-19 Wim Taymans <wim@fluendo.com>
8581 * docs/design/part-TODO.txt:
8582 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8583 (gst_format_to_quark), (gst_format_register):
8585 * gst/gstquery.c: (_gst_query_initialize),
8586 (gst_query_type_get_name), (gst_query_type_to_quark),
8587 (gst_query_type_register):
8589 Add type to quark and type to string conversions.
8591 2005-11-19 Andy Wingo <wingo@pobox.com>
8593 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8596 2005-11-19 Wim Taymans <wim@fluendo.com>
8598 * docs/design/part-TODO.txt:
8599 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8600 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8601 (gst_bin_handle_message_func):
8603 Make message handling overridable.
8605 2005-11-19 Andy Wingo <wingo@pobox.com>
8607 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8610 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8612 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8613 is a GstClockTime. Fixes #321710.
8615 * gst/gstclock.h (GstClock): Remove offset property. Add
8616 internal_calibration and external_calibration. Fix padding. Pad
8617 also by GstClockTime so we don't run into problems.
8619 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8620 (gst_clock_get_rate_offset): Remove.
8621 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8624 * gst/gstutils.c (g_static_rec_cond_wait)
8625 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8627 * gst/gstbin.c: Remove terrible continue_state prototype.
8629 * gst/gstelement.h (gst_element_continue_state): Make public.
8632 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8633 by continue_state. Fixes #319389.
8635 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8636 Really fixes #168438. However I don't see anywhere where the
8637 filter function is called... stupid GStreamer...
8639 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8640 don't have a dispose function, so it won't get called when the
8641 object is unreffed, but oh well!
8643 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8644 allows a destroy function to be set so user_data can be freed.
8646 (gst_index_set_filter): Call gst_index_set_filter_full.
8648 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8650 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8651 string should produce an error, given the lack of a way to
8652 represent NULL strings. Fixes #165650.
8655 * gst/gstvalue.c (gst_value_array_append_value)
8656 (gst_value_array_prepend_value, gst_value_array_get_size)
8657 (gst_value_array_get_value): New API, copied from
8658 gst_value_list_*, only operates on arrays.
8659 (gst_value_list_append_value, gst_value_list_prepend_value)
8660 (gst_value_list_concat, gst_value_list_get_size)
8661 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8663 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8664 init_list, because it works on both.
8665 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8666 (gst_value_copy_list_or_array): Renamed from copy_list.
8667 (gst_value_free_list_or_array): Renamed from free_list.
8668 (gst_value_collect_list_or_array): Renamed from collect_list.
8669 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8670 (gst_value_list_or_array_peek_pointer): Renamed from
8672 (_gst_value_array_value_table, _gst_value_list_value_table):
8673 Update value table functions.
8674 (gst_value_compare_list_or_array): Renamed from compare_list.
8676 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8680 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8681 GstTagList*. Fixes #143472.
8683 * gst/gststructure.h: Clarify what the foreach/map functions can
8684 or can't do to their arguments.
8686 2005-11-18 Wim Taymans <wim@fluendo.com>
8688 * gst/gstclock.c: (gst_clock_set_calibration),
8689 (gst_clock_get_calibration):
8691 Calibration can be set with internal time equal to current
8694 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8700 2005-11-18 Andy Wingo <wingo@pobox.com>
8703 * pkgconfig/gstreamer-net.pc.in:
8704 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8705 * pkgconfig/Makefile.am: Add net pkgconfig files.
8707 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8710 * gst/gstghostpad.c:
8716 2005-11-18 Andy Wingo <wingo@pobox.com>
8718 * gst/net/gstnetclientclock.c: Turn off debugging.
8720 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8721 times connverge somewhat. Can't make a real test.
8723 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8724 integer arithmetic. Return the minimum of the domain, which can be
8725 set as "internal" for gst_clock_set_calibration.
8726 (gst_net_client_clock_observe_times): Call _set_calibration.
8727 (gst_net_client_clock_new): Call _set_calibration instead of
8730 * check/net/gstnetclientclock.c (test_functioning): Use the right
8734 * gst/gstclock.c (gst_clock_get_calibration)
8735 (gst_clock_set_calibration): New functions, obsolete the ones I
8736 added yesterday. Doh. Precision issues mean we have to extrapolate
8737 from a point in the more recent past than 1970.
8738 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8740 (gst_clock_adjust_unlocked): Use the right calibration data.
8742 2005-11-18 Edward Hervey <edward@fluendo.com>
8744 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8745 Also reset the ->current_* values in READY->PAUSED
8747 2005-11-18 Andy Wingo <wingo@pobox.com>
8749 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8750 Whoops, check the right fd. Also add some debugging.
8751 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8752 (do_linear_regression): Add a crapload of debugging. Subtract off
8753 the minimum values from the input series to discard unneeded bits.
8754 Use only int arithmetic. There is still double arithmetic when
8755 calculating the intercept that needs fixing. Return boolean to
8756 indicate success; FALSE would mean the domain or range is too
8757 great. Still needs fixes.
8759 2005-11-18 Wim Taymans <wim@fluendo.com>
8761 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8762 For the current position in stream time, we need to subtract
8765 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8766 Release lock before calling the callback function of async
8769 2005-11-18 Andy Wingo <wingo@pobox.com>
8771 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8772 Port goes all the way to MAXUINT16.
8774 * gst/net/gstnettimeprovider.c: Make the port range the same as
8775 for the kernel: 0 assigns, otherwise ports are less than
8778 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8781 * check/net/gstnetclientclock.c (test_functioning): Add the start
8784 2005-11-18 Wim Taymans <wim@fluendo.com>
8786 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8787 (gst_bin_remove_func), (bin_bus_handler):
8789 Removing a clock provider from a bin, triggers a clock lost message
8790 so that a new clock will be selected.
8791 Adding a clock to a bin triggers a clock provider message.
8792 Make sure we reselect a clock when we received a clock lost message.
8793 Keep a reference to the element that provided the clock.
8795 2005-11-18 Andy Wingo <wingo@pobox.com>
8797 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8798 the clock initially so it produces values around the base time.
8799 (gst_net_client_clock_class_init): Typo fix.
8800 (gst_net_client_clock_thread): Add note on when the socket gets
8803 2005-11-17 Wim Taymans <wim@fluendo.com>
8805 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8806 Free remote and local time arrays.
8808 2005-11-17 Wim Taymans <wim@fluendo.com>
8810 * gst/net/gstnetclientclock.c: (do_linear_regression),
8811 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8812 Fix compilation, uninitialized vars and a forgotten continue.
8814 2005-11-17 Andy Wingo <wingo@pobox.com>
8816 * check/Makefile.am (check_PROGRAMS):
8817 * check/net/gstnetclientclock.c: Add a most minimal test for the
8818 net client clock. More to come later.
8821 * gst/net/Makefile.am: Add netclientclock.
8823 * gst/net/gstnetclientclock.h:
8824 * gst/net/gstnetclientclock.c: New files, implement an untested
8825 GstClock that takes its time from a network time provider.
8826 Implements the algorithm in network-clock.scm.
8828 * tests/network-clock.scm (*window-size*): Rename from
8830 * tests/network-clock.scm (network-time):
8831 * tests/network-clock-utils.scm (q-push): Update callers.
8833 2005-11-17 Wim Taymans <wim@fluendo.com>
8835 * gst/gstbin.c: (gst_bin_provide_clock_func),
8836 (gst_bin_sort_iterator_new):
8837 And unref the child too..
8839 2005-11-17 Wim Taymans <wim@fluendo.com>
8841 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
8842 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
8843 Refactor the sort iterator so it can be used while holding the
8845 Make clock selection select a clock closest to the source.
8847 2005-11-17 Michael Smith <msmith@fluendo.com>
8849 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
8850 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
8852 Anonymous structs are a gcc (and some other compilers) extension, so
8853 don't use them. Since this is only for ABI-compatibility, and our
8854 API/ABI freeze is over in a few days, this whole thing will only
8855 last a few days, so don't bother trying to think up a meaningful
8856 name for the struct.
8858 2005-11-17 Andy Wingo <wingo@pobox.com>
8860 * gst/gstclock.h (GstClock): Add rate and offset properties,
8861 preserving ABI stability. Add rate/offset accessors. Will file bug
8862 for the freeze break.
8864 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
8865 and offset, trying to keep precision and avoiding
8867 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
8868 functions. Make gst_clock_set_time_adjust obsolete.
8869 (gst_clock_set_time_adjust): Note that this function is obsolete.
8872 * gst/base/gstbasetransform.h: Make the ABI-stability hack
8873 greppable by using GST_PADDING-1+1.
8875 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
8877 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8879 * gst/gstmessage.c: (gst_message_parse_clock_lost):
8880 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
8882 * gst/gstpadtemplate.h:
8883 * gst/gstpluginfeature.h:
8884 Don't use c++ style comments in headers (#321638).
8886 2005-11-16 Andy Wingo <wingo@pobox.com>
8888 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
8891 * check/net/gstnettimeprovider.c: Check to see that the time
8892 provider actually provides times. Works, yo!
8894 2005-11-16 Wim Taymans <wim@fluendo.com>
8896 * check/Makefile.am:
8899 * check/elements/fakesrc.c: (GST_START_TEST):
8900 Set element to NULL before disposing it.
8902 2005-11-16 Andy Wingo <wingo@pobox.com>
8904 * gst/net/Makefile.am:
8906 * gst/net/gstnettimeprovider.c:
8907 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
8908 provider, include it from gstnet.h, and add it to the build.
8910 * gst/net/gstnettimepacket.h:
8911 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
8912 sending and receiving.
8914 2005-11-16 Wim Taymans <wim@fluendo.com>
8916 * check/Makefile.am:
8917 Enable valgrind check.
8919 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
8920 (gst_fake_src_alloc_buffer):
8923 2005-11-16 Wim Taymans <wim@fluendo.com>
8925 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
8926 Call parent finalize too.
8928 2005-11-16 Wim Taymans <wim@fluendo.com>
8930 * check/Makefile.am:
8931 Enable valgrind check that should work fine now.
8933 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
8934 * gst/gstqueue.c: (gst_queue_init):
8935 Fix memleaks in pad allocation.
8937 2005-11-16 Andy Wingo <wingo@pobox.com>
8939 * gst/net/Makefile.am:
8940 * gst/net/gstnet.h: New part of core to hold network elements and
8941 objects. Put in core because it exposes API that applications want
8942 to use. The library is named libgstnet-tempname right now because
8943 of the existing libgstnet in gst-plugins-base. Solution is
8944 probably to rename the one in plugins-base; will file a bug for
8947 * gst/net/gstnettimeprovider.c:
8948 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
8949 get_time call over the network.
8952 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
8954 * check/Makefile.am:
8955 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
8956 get additions shortly.
8958 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8960 * gst/gstpad.c: (gst_pad_new_from_static_template):
8962 add gst_pad_new_from_static_template functions
8963 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
8964 (gst_check_setup_sink_pad):
8965 * gst/elements/gsttee.c: (gst_tee_init):
8968 2005-11-16 Wim Taymans <wim@fluendo.com>
8970 * gst/gstpad.c: (gst_pad_pause_task):
8971 Removed warning, it's not really an error either.
8973 2005-11-16 Wim Taymans <wim@fluendo.com>
8975 * gst/base/gstbasetransform.c:
8976 (gst_base_transform_prepare_output_buf),
8977 (gst_base_transform_event):
8978 Check if the caps are NULL, this can happen if the element
8979 is shutting down and the pad caps are set to NULL.
8981 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8983 * gst/elements/gsttee.c: (gst_tee_init):
8984 fix pad template leak in tee
8986 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8988 * gst/glib-compat.c: (g_value_dup_gst_object):
8989 * gst/glib-compat.h:
8990 * gst/gstpad.c: (gst_pad_set_property):
8991 use gst_object_ref when setting the pad template; this will
8992 trigger the pad template leaks on GLib 2.6 and the slaves
8994 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
8996 * gst/glib-compat.c: (gst_flags_get_first_value):
8997 * gst/glib-compat.h:
8998 * gst/gstregistryxml.c:
8999 remove functions copied from GLib 2.6
9001 2005-11-16 Michael Smith <msmith@fluendo.com>
9004 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9005 do, but only breaks with newer valgrind versions. We're not a
9006 valgrind tool, we have no link-time dependencies on libcoregrind.
9008 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9010 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9015 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9017 * gst/base/gstbasesrc.c: (gst_base_src_init):
9018 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9019 * gst/gstqueue.c: (gst_queue_init):
9020 * gst/gstregistryxml.c: (load_feature):
9021 Revert all these unrefs, they don't even pass make check !
9023 2005-11-15 Johan Dahlin <johan@gnome.org>
9025 * gst/base/gstbasesrc.c: (gst_base_src_init):
9026 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9027 * gst/gstqueue.c: (gst_queue_init):
9028 Free pad templates, fixes a couple of leaks.
9030 2005-11-15 Daniel Fischer <dan at f3c dot com>
9032 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9034 * gst/gstpad.c: (gst_pad_get_property):
9035 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9036 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9039 2005-11-15 Wim Taymans <wim@fluendo.com>
9044 2005-11-15 Andy Wingo <wingo@pobox.com>
9046 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9048 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9049 using GST_CLOCK_TIME_NONE to disable base time management.
9050 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9051 time if it was NONE before.
9052 (gst_pipeline_change_state): Only munge the base time if
9053 stream_time != GST_CLOCK_TIME_NONE.
9055 * check/gst/gstpipeline.c (test_base_time): Punt around the
9056 problem of the probe not being called, because that's not the
9057 issue I'm looking at. Add a check that setting stream_time to NONE
9058 disables base time management.
9060 2005-11-15 Wim Taymans <wim@fluendo.com>
9062 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9063 segment_stop == -1 at startup.
9065 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9066 (gst_base_transform_change_state):
9067 Init segment values at start.
9069 2005-11-15 Wim Taymans <wim@fluendo.com>
9071 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9072 0 segment values are 0 in any format.
9074 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9075 * gst/base/gstbasetransform.h:
9076 Parse newsegment correctly in basetransform
9078 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9079 Sync to clock using updated segment values.
9081 2005-11-15 Andy Wingo <wingo@pobox.com>
9083 * check/gst/gstpipeline.c (test_base_time): Add check that the
9084 base time and stream time are reset correctly.
9086 2005-11-15 Wim Taymans <wim@fluendo.com>
9088 * docs/design/part-TODO.txt:
9089 Some more TODO items.
9091 2005-11-15 Andy Wingo <wingo@pobox.com>
9093 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9094 error if the user selected "no clock" as the clocking method.
9096 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9097 timestamps with live capture.
9099 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9100 is 0 but we are a live source, timestamp the buffers using the
9103 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9105 * docs/gst/gstreamer-sections.txt:
9107 * gst/gstghostpad.c:
9112 2005-11-14 Wim Taymans <wim@fluendo.com>
9115 add suppressions from Wim's Debian machine
9117 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9120 add suppressions from Andy's AMD64 Ubuntu machine
9122 2005-11-14 Andy Wingo <wingo@pobox.com>
9124 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9125 STATE_LOCK not necessary. Fixes #311489.
9127 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9130 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9131 this function is not implemented.
9133 2005-11-14 Julien MOUTTE <julien@moutte.net>
9135 * gst/base/gstbasetransform.c:
9136 (gst_base_transform_prepare_output_buf):
9137 Ref the source pad caps while we need them.
9140 2005-11-11 Wim Taymans <wim@fluendo.com>
9142 * docs/gst/gstreamer-sections.txt:
9143 Added some docs for GstCollectData.
9145 * gst/base/gstadapter.c:
9146 Some small code example fix.
9148 * gst/base/gstcollectpads.c:
9149 * gst/base/gstcollectpads.h:
9152 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9154 * configure.ac: back to HEAD
9156 === release 0.9.5 ===
9158 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9161 releasing 0.9.5, "Bike Lunch Day"
9163 2005-11-11 Wim Taymans <wim@fluendo.com>
9165 * gst/gstbuffer.c: (_gst_buffer_copy):
9168 * gst/gstcaps.c: (gst_caps_is_equal):
9170 Make _is_equal fast in the trivial cases.
9172 * gst/gstminiobject.c:
9173 * gst/gstminiobject.h:
9174 More docs. Spifify .h file.
9179 2005-11-11 Wim Taymans <wim@fluendo.com>
9181 * gst/base/gstbasetransform.c:
9182 (gst_base_transform_prepare_output_buf),
9183 (gst_base_transform_handle_buffer):
9185 If we're processing a buffer and need to allocate an output
9186 buffer, we cannot accept a format change. If we did get a
9187 format change, we have to alloc a buffer ourselves of the
9190 2005-11-11 Wim Taymans <wim@fluendo.com>
9192 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9193 While checking the flag for reentrancy in the gstcaps function
9194 is nice to detect recursive invocations, it also makes it
9195 impossible to call getcaps from multiple threads, which must be
9196 possible. So, checking for recursive calls has to go.
9198 2005-11-11 Michael Smith <msmith@fluendo.com>
9200 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9201 Don't sync on buffers that fall partially outside our current
9202 segment. Prevents an assertion failure/abort playing some files.
9204 2005-11-10 Andy Wingo <wingo@pobox.com>
9206 * check/gst/gstbin.c (test_message_state_changed_children): Style
9209 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9210 gst_bus_poll with the signal watch. Ensures that poll and a signal
9211 watch see the same messages.
9213 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9214 a poll and a watch at the same time get the same messages.
9216 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9218 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9219 * gst/gstcaps.c: (gst_caps_intersect):
9220 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9221 and it's not needed.
9223 2005-11-10 Wim Taymans <wim@fluendo.com>
9225 * docs/design/part-TODO.txt:
9228 2005-11-10 Wim Taymans <wim@fluendo.com>
9230 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9231 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9232 (gst_base_src_do_sync), (gst_base_src_get_range):
9233 Implement clock sync in base class.
9235 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9237 patch by: Tim-Philipp Müller <tim at centricular dot net>
9239 * gst/gststructure.c: (gst_structure_parse_field),
9240 (gst_structure_from_string):
9241 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9242 so that gst_parse_launch() can deal with spaces in filtered link
9243 caps (fixes #164479)
9244 * check/gst/capslist.h:
9245 * check/gst/gststructure.c: (GST_START_TEST):
9246 add unit tests for this change
9248 2005-11-10 Wim Taymans <wim@fluendo.com>
9250 * docs/gst/gstreamer-sections.txt:
9253 Fix docs, move some STATE macros to private.
9255 2005-11-10 Wim Taymans <wim@fluendo.com>
9257 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9258 Added check for bug #317341
9262 Some more spiffifying.
9264 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9265 Call peer linkfunction if we are a source pad. Totally fixes
9269 Update docs, source pads should call the peer linkfunction
9270 so they can atomically perform the pad link.
9272 2005-11-09 Wim Taymans <wim@fluendo.com>
9276 Uber-spiffy-spiffify some more.
9278 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9280 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9281 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9282 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9283 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9284 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9285 * gst/gstpad.c: (gst_pad_init):
9286 Use GST_DEBUG_FUNCPTR() more extensively.
9288 2005-11-09 Wim Taymans <wim@fluendo.com>
9290 * gst/gstobject.c: (gst_object_class_init):
9292 Documentation fixes.
9294 2005-11-09 Edward Hervey <edward@fluendo.com>
9296 * gst/gsttypefindfactory.c:
9299 2005-11-09 Edward Hervey <edward@fluendo.com>
9301 * gst/base/gsttypefindhelper.c:
9302 * gst/gsttypefind.c:
9303 * gst/gsttypefind.h:
9306 2005-11-09 Wim Taymans <wim@fluendo.com>
9308 * gst/gstiterator.c:
9315 2005-11-09 Wim Taymans <wim@fluendo.com>
9321 2005-11-09 Wim Taymans <wim@fluendo.com>
9323 * docs/gst/gstreamer-sections.txt:
9324 Moved the message async delivery private lock and cond
9325 to the private section.
9331 2005-11-09 Edward Hervey <edward@fluendo.com>
9333 * docs/gst/gstreamer-sections.txt:
9336 Document GstURIHandler
9338 2005-11-09 Wim Taymans <wim@fluendo.com>
9340 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9341 (gst_iterator_find_custom):
9342 * gst/gstiterator.h:
9345 2005-11-09 Wim Taymans <wim@fluendo.com>
9348 Document another field.
9350 * gst/gststructure.c:
9351 * gst/gststructure.h:
9354 2005-11-09 Wim Taymans <wim@fluendo.com>
9359 2005-11-09 Wim Taymans <wim@fluendo.com>
9361 * docs/gst/gstreamer-sections.txt:
9362 Added some new macros.
9369 2005-11-09 Wim Taymans <wim@fluendo.com>
9371 * docs/design/part-TODO.txt:
9372 Some more items for the TODO
9378 2005-11-09 Andy Wingo <wingo@pobox.com>
9380 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9381 to work on something else now tho...
9383 * gst/base/gstadapter.c: More adapter docs.
9385 * gst/elements/gstfilesink.c (gst_file_sink_start)
9386 (gst_file_sink_stop): New functions, replace the state change
9388 (gst_file_sink_class_init): Hook up the start and stop functions.
9389 (gst_file_sink_base_init): Don't set the state change handler any
9390 more. It was a bit ugly too, being set from here...
9391 (gst_file_sink_get_property, gst_file_sink_set_property):
9393 (gst_file_sink_set_location): More robust check that doesn't call
9396 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9398 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9399 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9401 2005-11-08 Wim Taymans <wim@fluendo.com>
9403 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9404 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9405 (gst_base_sink_chain), (gst_base_sink_change_state):
9406 * gst/base/gstbasesink.h:
9407 * gst/base/gstbasesrc.h:
9410 Avoid excessive typechecking in macros.
9412 * gst/gstminiobject.c: (gst_mini_object_get_type),
9413 (gst_mini_object_init), (gst_mini_object_new),
9414 (gst_mini_object_free):
9415 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9416 (gst_object_finalize):
9417 Remove cruft code, optimize alloc_trace.
9419 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9421 * docs/faq/gst-uninstalled:
9422 fix up PS1 for systems that try to reset it
9424 2005-11-07 Wim Taymans <wim@fluendo.com>
9426 * gst/base/gstbasesrc.c: (gst_base_src_init),
9427 (gst_base_src_get_range):
9428 Set the segment_end to -1 initially. Fixed typefind.
9430 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9432 * gst/base/gstadapter.c:
9433 Debug category should be 'adapter', not 'GstAdapter'.
9435 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9436 (gst_collectpads_class_init), (gst_collectpads_init),
9437 (gst_collectpads_peek), (gst_collectpads_pop),
9438 (gst_collectpads_event), (gst_collectpads_chain):
9439 Add debug category and some debugging output. Use boilerplate
9440 macros. Remove some extraneous words from docs.
9442 2005-11-05 Andy Wingo <wingo@pobox.com>
9444 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9447 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9449 * docs/gst/gstreamer-sections.txt:
9452 * gst/gstminiobject.h:
9457 2005-11-04 Wim Taymans <wim@fluendo.com>
9459 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9460 Small update to stop at the configured segment_end
9463 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9465 * gst/gstregistry.c:
9466 * gst/gstregistry.h:
9469 2005-11-04 Edward Hervey <edward@fluendo.com>
9471 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9472 Check if we are doing a segment seek and have arrived at the
9473 end of that segment.
9475 2005-11-04 Wim Taymans <wim@fluendo.com>
9477 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9478 Don't leak a mutex unlock in case of an error.
9483 2005-11-04 Wim Taymans <wim@fluendo.com>
9485 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9487 Get the context to wake up only once.
9489 2005-11-03 Wim Taymans <wim@fluendo.com>
9491 * check/states/sinks.c: (GST_START_TEST):
9492 Uncomment fixed check.
9494 * docs/design/part-TODO.txt:
9497 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9498 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9499 (gst_base_sink_get_position):
9500 If we are going to PLAYING, post the right pending state
9501 when we post the intermediate paused message.
9503 * gst/gstelement.c: (gst_element_continue_state),
9504 (gst_element_set_state_func), (gst_element_change_state):
9505 Don't post state changes that were between the same state
9508 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9510 * docs/gst/gstreamer-sections.txt:
9513 * gst/gstminiobject.h:
9516 more docs and doc style fixes
9518 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9520 * docs/gst/gstreamer-sections.txt:
9522 * gst/gstminiobject.c:
9525 2005-11-03 Andy Wingo <wingo@pobox.com>
9527 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9528 state-changed messages actually have the right order and the right
9531 2005-11-03 Wim Taymans <wim@fluendo.com>
9533 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9534 Added some more checks. Specifically the case where NO_PREROLL
9535 elements are in the pipeline.
9537 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9538 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9539 (gst_base_sink_get_position):
9540 Post READY->PAUSED state change messages too.
9541 Fix bug where VOID was posted as pending state...
9543 * gst/gstbin.c: (gst_bin_recalc_state):
9544 use _element_continue_state() to continue the state change.
9546 * gst/gstelement.c: (gst_element_continue_state),
9547 (gst_element_commit_state), (gst_element_set_state_func),
9548 (gst_element_change_state), (gst_element_change_state_func):
9549 Lots of state change cleanups, assign the STATE_RETURN in
9550 a new continue_state() function that also propagates the
9551 last return value from a state change to the app.
9552 Update some debug statements with proper category.
9554 2005-11-03 Wim Taymans <wim@fluendo.com>
9556 * docs/design/part-events.txt:
9557 * docs/design/part-gstpipeline.txt:
9558 * docs/design/part-messages.txt:
9559 * docs/design/part-overview.txt:
9560 * docs/design/part-seeking.txt:
9561 * docs/design/part-states.txt:
9562 * docs/design/part-trickmodes.txt:
9563 * docs/manual/advanced-position.xml:
9567 People think !! is ugly, this looks better.
9569 * gst/gstpad.c: (gst_pad_set_blocked_async):
9570 Remove !! since it's fixed elsewhere now.
9572 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9574 * gst/gstminiobject.h:
9576 Add !! to _FLAG_IS_SET macros to make the result boolean.
9578 2005-11-03 Edward Hervey <edward@fluendo.com>
9580 * gst/gstpad.c: (gst_pad_set_blocked_async):
9581 comparing a flag and a gboolean rarely returns coherent results...
9582 Added two characters (!!) to make that work correctly.
9584 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9586 * gst/gstbus.c: (gst_bus_class_init):
9589 * gst/gstqueue.c: (gst_queue_loop):
9590 Don't assume a miniobject that isn't a buffer is an
9591 event (it could be that there is a refcounting
9592 problem somewhere and the pointer is stale and
9593 refers to an already destroyed miniobject).
9595 2005-11-03 Julien MOUTTE <julien@moutte.net>
9597 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9599 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9601 * docs/manual/advanced-position.xml:
9602 Update seek example and explanations to current 0.9 API.
9604 * gst/elements/gsttypefindelement.c:
9605 (gst_type_find_element_activate):
9606 Remove FIXME comment now that the found caps
9609 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9611 * gst/gstregistryxml.c: (load_feature):
9612 Add another GST_STR_NULL instance
9614 2005-11-02 Edward Hervey <edward@fluendo.com>
9616 * gst/gstpad.c: (handle_pad_block):
9617 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9619 2005-11-02 Wim Taymans <wim@fluendo.com>
9624 * gst/gstelement.c: (gst_element_commit_state):
9625 Remove unused value.
9627 * gst/gstiterator.c:
9628 Mention that the returned element is reffed in the docs.
9630 2005-11-02 Wim Taymans <wim@fluendo.com>
9632 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9633 (gst_pad_push), (gst_pad_push_event):
9634 Unlock blocked pads when they are flushed.
9636 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9639 * docs/gst/gstreamer-sections.txt:
9642 * gst/gstregistry.c: (gst_registry_scan_path_level):
9643 fix for a nasty little missed situation where an installed plug-in
9644 which was in the cache did not get overridden by an uninstalled one
9645 which was earlier in the plugin path because the newly created plugin
9646 for the uninstalled one (not in the registry) didn't get its
9647 ->registered set to TRUE
9649 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9651 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9652 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9653 (gst_collectpads_is_active), (gst_collectpads_collect),
9654 (gst_collectpads_collect_range), (gst_collectpads_start),
9655 (gst_collectpads_stop), (gst_collectpads_peek),
9656 (gst_collectpads_pop), (gst_collectpads_available),
9657 (gst_collectpads_read), (gst_collectpads_flush):
9658 Guard public API with assertions.
9661 Fix docs for gst_pad_set_link_function().
9663 2005-11-02 Johan Dahlin <johan@gnome.org>
9665 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9666 Unref found_caps after we used it.
9668 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9670 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9671 Don't try to ref NULL.
9673 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9675 * win32/common/config.h.in:
9676 provide a GST_FUNCTION that just gives a string for now
9678 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9680 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9681 (gst_object_flags_get_type), (register_gst_bin_flags),
9682 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9683 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9684 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9685 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9686 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9687 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9688 (gst_clock_flags_get_type), (register_gst_state),
9689 (gst_state_get_type), (register_gst_state_change_return),
9690 (gst_state_change_return_get_type), (register_gst_state_change),
9691 (gst_state_change_get_type), (register_gst_element_flags),
9692 (gst_element_flags_get_type), (register_gst_core_error),
9693 (gst_core_error_get_type), (register_gst_library_error),
9694 (gst_library_error_get_type), (register_gst_resource_error),
9695 (gst_resource_error_get_type), (register_gst_stream_error),
9696 (gst_stream_error_get_type), (register_gst_event_type),
9697 (gst_event_type_get_type), (register_gst_seek_type),
9698 (gst_seek_type_get_type), (register_gst_seek_flags),
9699 (gst_seek_flags_get_type), (register_gst_format),
9700 (gst_format_get_type), (register_gst_index_certainty),
9701 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9702 (gst_index_entry_type_get_type),
9703 (register_gst_index_lookup_method),
9704 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9705 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9706 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9707 (gst_index_flags_get_type), (register_gst_debug_level),
9708 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9709 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9710 (gst_iterator_result_get_type), (register_gst_iterator_item),
9711 (gst_iterator_item_get_type), (register_gst_message_type),
9712 (gst_message_type_get_type), (register_gst_mini_object_flags),
9713 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9714 (gst_pad_link_return_get_type), (register_gst_flow_return),
9715 (gst_flow_return_get_type), (register_gst_activate_mode),
9716 (gst_activate_mode_get_type), (register_gst_pad_direction),
9717 (gst_pad_direction_get_type), (register_gst_pad_flags),
9718 (gst_pad_flags_get_type), (register_gst_pad_presence),
9719 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9720 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9721 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9722 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9723 (gst_plugin_flags_get_type), (register_gst_rank),
9724 (gst_rank_get_type), (register_gst_query_type),
9725 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9726 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9727 (gst_tag_flag_get_type), (register_gst_task_state),
9728 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9729 (gst_alloc_trace_flags_get_type),
9730 (register_gst_type_find_probability),
9731 (gst_type_find_probability_get_type), (register_gst_uri_type),
9732 (gst_uri_type_get_type), (register_gst_parse_error),
9733 (gst_parse_error_get_type):
9734 * win32/common/gstversion.h:
9737 2005-11-01 Luca Ognibene <luogni@tin.it>
9740 fix docs. popt is dead, long live GOption.
9742 2005-10-31 Wim Taymans <wim@fluendo.com>
9747 2005-10-31 Andy Wingo <wingo@pobox.com>
9751 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9753 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9754 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9755 the possibility of deadlocks here if code calling notify() or
9756 set() has a lock that can be taken in another notify handler (ABBA
9757 with class lock and e.g. python GIL state lock).
9759 2005-10-28 Julien MOUTTE <julien@moutte.net>
9761 * gst/gstbus.c: Doc updates.
9763 2005-10-28 Wim Taymans <wim@fluendo.com>
9765 * docs/design/part-TODO.txt:
9766 * gst/gstiterator.c:
9767 * gst/gstsystemclock.c:
9768 * gst/gstsystemclock.h:
9771 2005-10-28 Edward Hervey <edward@fluendo.com>
9773 * docs/gst/gstreamer-docs.sgml:
9774 * docs/gst/gstreamer-sections.txt:
9775 the GstURIType documentation page is private, it only defines GstURIType
9776 which should be defined in the GstURIHandler page
9778 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
9780 * gst/gstbin.c: (gst_bin_class_init):
9783 Documentation updates.
9785 2005-10-28 Wim Taymans <wim@fluendo.com>
9787 * docs/gst/gstreamer-sections.txt:
9790 Documented the clocks.
9792 2005-10-28 Stefan Kost <ensonic@users.sf.net>
9794 * docs/gst/gstreamer-sections.txt:
9795 move some macros to private sections
9796 * gst/gstminiobject.c:
9797 * gst/gstminiobject.h:
9798 add descriptions provided by ds and some more
9800 mark macro as to be removed
9802 2005-10-28 Wim Taymans <wim@fluendo.com>
9804 * docs/design/part-TODO.txt:
9805 Add an item to TODO.
9807 * gst/gstiterator.c: (gst_iterator_fold),
9808 (gst_iterator_find_custom):
9809 * gst/gstiterator.h:
9812 2005-10-28 Wim Taymans <wim@fluendo.com>
9814 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9815 (gst_base_transform_init):
9818 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9819 An EOS event marks the queue as completely filled.
9821 2005-10-27 Wim Taymans <wim@fluendo.com>
9823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9824 (gst_base_sink_do_sync), (gst_base_sink_get_position):
9825 Some more debugging.
9827 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9828 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9829 (gst_base_transform_event), (gst_base_transform_getrange),
9830 (gst_base_transform_chain):
9831 * gst/base/gstbasetransform.h:
9833 Protect transform and concurrent buffer alloc with a new lock.
9834 Try not to break ABI/API.
9836 2005-10-27 Wim Taymans <wim@fluendo.com>
9838 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9839 (gst_base_src_init), (gst_base_src_query),
9840 (gst_base_src_default_newsegment),
9841 (gst_base_src_configure_segment), (gst_base_src_do_seek),
9842 (gst_base_src_send_event), (gst_base_src_event_handler),
9843 (gst_base_src_pad_get_range), (gst_base_src_loop),
9844 (gst_base_src_unlock), (gst_base_src_default_negotiate),
9845 (gst_base_src_start), (gst_base_src_deactivate),
9846 (gst_base_src_activate_push), (gst_base_src_change_state):
9847 Move some stuff around and cleanup things.
9849 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
9851 * gst/base/gstbasesrc.c: (gst_base_src_query):
9852 Add missing break statements.
9854 2005-10-27 Wim Taymans <wim@fluendo.com>
9856 * check/gst/gstbin.c: (GST_START_TEST):
9857 An extra refcount is taken in basesrc.
9859 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
9860 (gst_base_src_get_range), (gst_base_src_pad_get_range),
9861 (gst_base_src_loop):
9862 Small cleanups, check for flushing after being unlocked from the
9863 LIVE_LOCK. take refcounts correctly (not yet everywhere).
9864 Don't send out EOS when going to READY.
9866 2005-10-27 Wim Taymans <wim@fluendo.com>
9868 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9869 (gst_base_sink_get_position):
9872 * gst/gstbin.c: (message_check), (bin_replace_message),
9873 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9874 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9875 (bin_query_duration_init), (bin_query_duration_fold),
9876 (bin_query_duration_done), (bin_query_generic_fold),
9878 * tools/gst-launch.c: (main):
9881 2005-10-26 Stefan Kost <ensonic@users.sf.net>
9883 * examples/controller/audio-example.c: (main):
9884 * examples/queue/queue.c: (event_loop):
9885 * gst/base/gstbasetransform.h:
9886 * gst/gstelement.c: (gst_element_send_event):
9888 * gst/gstpad.c: (gst_pad_send_event):
9891 changing log priority in error situations
9893 2005-10-25 Wim Taymans <wim@fluendo.com>
9895 * gst/gstbin.c: (message_check), (bin_replace_message),
9896 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9897 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9898 (bin_query_duration_init), (bin_query_duration_fold),
9899 (bin_query_duration_done), (bin_query_generic_fold),
9901 Some doc and debug updates.
9902 Cache previously requested query DURATION for speed. invalidate
9903 cached duration if element posts a DURATION message.
9905 2005-10-25 Wim Taymans <wim@fluendo.com>
9907 * docs/design/part-TODO.txt:
9910 * gst/gstbin.c: (message_check), (bin_replace_message),
9911 (bin_remove_messages), (is_eos), (gst_bin_add_func),
9912 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
9913 (bin_query_duration_init), (bin_query_duration_fold),
9914 (bin_query_duration_done), (bin_query_generic_fold),
9916 Handle SEGMENT_START/DONE messages correctly.
9917 More evolved query algorithm that handles duration queries
9920 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
9921 (gst_element_get_state_func), (gst_element_abort_state),
9922 (gst_element_commit_state), (gst_element_lost_state):
9923 Some more debugging.
9928 2005-10-25 Wim Taymans <wim@fluendo.com>
9930 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9931 Don't use invalid stream_time.
9933 * gst/gstevent.c: (gst_event_new_newsegment):
9934 stream_time in newsegment cannot be undefined.
9936 2005-10-24 Wim Taymans <wim@fluendo.com>
9941 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9943 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
9945 2005-10-24 Stefan Kost <ensonic@users.sf.net>
9947 * docs/libs/tmpl/gstdparam.sgml:
9948 * docs/libs/tmpl/gstdplinint.sgml:
9949 * docs/libs/tmpl/gstdpman.sgml:
9950 * docs/libs/tmpl/gstdpsmooth.sgml:
9951 * docs/libs/tmpl/gstunitconvert.sgml:
9954 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
9959 === release 0.9.4 ===
9961 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9964 releasing 0.9.4, "Tyrannosaurus Rex"
9966 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
9968 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
9969 (gst_file_sink_get_current_offset):
9970 Use fseeko() and ftello() if available. When falling back on
9971 lseek() to get the current offset, fflush() first to make sure
9972 everything is up-to-date and we get the right offset.
9974 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
9976 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9977 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9978 * gst/gsterror.c: (_gst_stream_errors_init):
9980 * gst/gstqueue.c: (gst_queue_loop):
9982 remove prematurely added error category and clean up the instances
9984 2005-10-21 Wim Taymans <wim@fluendo.com>
9986 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9987 (gst_base_sink_get_position), (gst_base_sink_query),
9988 (gst_base_sink_change_state):
9989 Simply set the right flag when going to playing, that's all
9990 we need to do instead of calling a function inside the object
9991 lock (that could take the lock as well and deadlock)
9993 2005-10-21 Wim Taymans <wim@fluendo.com>
9995 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
9996 (gst_base_src_loop):
9997 Don't warn, the peer element knows what to do best when
9998 the seek failed, it might try something else.
10000 2005-10-21 Wim Taymans <wim@fluendo.com>
10002 * gst/base/gstbasesrc.c: (gst_base_src_init),
10003 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10006 2005-10-21 Wim Taymans <wim@fluendo.com>
10008 * docs/design/part-segments.txt:
10011 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10012 Correctly set caps, even on the subbufer.
10014 2005-10-21 Wim Taymans <wim@fluendo.com>
10016 * docs/gst/gstreamer-docs.sgml:
10017 * docs/gst/gstreamer-sections.txt:
10018 * gst/gstelement.h:
10021 * gst/gstmessage.h:
10024 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10028 And 2% more doc coverage.
10030 2005-10-21 Andy Wingo <wingo@pobox.com>
10032 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10033 position reporting.
10035 2005-10-20 Wim Taymans <wim@fluendo.com>
10037 * gst/gsterror.c: (gst_error_get_message):
10040 * gst/gststructure.c:
10045 2005-10-20 Wim Taymans <wim@fluendo.com>
10050 Another 1% more coverage.
10052 2005-10-20 Wim Taymans <wim@fluendo.com>
10054 * docs/gst/gstreamer-sections.txt:
10055 * gst/gstelement.c: (gst_element_get_state_func),
10056 (gst_element_abort_state), (gst_element_commit_state),
10057 (gst_element_lost_state):
10059 * gst/gstquery.c: (gst_query_set_position),
10060 (gst_query_parse_position), (gst_query_set_duration),
10061 (gst_query_parse_duration), (gst_query_new_convert):
10063 Yay! 1% more docs coverage.
10065 2005-10-20 Wim Taymans <wim@fluendo.com>
10068 * gst/gstquery.c: (gst_query_set_position),
10069 (gst_query_parse_position), (gst_query_set_duration),
10070 (gst_query_parse_duration), (gst_query_new_convert):
10072 * gst/gstutils.c: (gst_element_query_convert):
10074 Docs and consistency fixes.
10076 2005-10-20 Wim Taymans <wim@fluendo.com>
10082 2005-10-20 Wim Taymans <wim@fluendo.com>
10084 * gst/gstbin.c: (message_check), (bin_replace_message),
10085 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10086 (update_degree), (gst_bin_sort_iterator_next),
10087 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10088 Reworked the message handling a bit, cache the messages instead of
10089 only the senders. alows us to do more in the future.
10091 2005-10-20 Wim Taymans <wim@fluendo.com>
10093 * docs/design/part-TODO.txt:
10096 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10097 (gst_base_sink_query):
10098 Don't use clock time to report position when in EOS.
10100 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10102 * tools/gst-inspect.c: (print_interfaces),
10103 (print_element_properties_info), (print_element_info):
10104 Fix interface output with gst-inspect -a; don't print
10105 newlines after double/float properties.
10107 2005-10-20 Wim Taymans <wim@fluendo.com>
10109 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10110 (gst_base_sink_query):
10111 Speed up current position calculation.
10113 * gst/base/gstbasesrc.c: (gst_base_src_query),
10114 (gst_base_src_default_newsegment):
10115 Correctly set stream position in newsegment.
10117 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10118 (update_degree), (gst_bin_sort_iterator_next),
10119 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10120 * gst/gstmessage.c: (gst_message_new_custom):
10121 Clean up debugging info
10123 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10124 (gst_queue_loop), (gst_queue_handle_src_query):
10127 2005-10-19 Wim Taymans <wim@fluendo.com>
10129 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10130 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10131 Fix query handling again.
10133 2005-10-19 Wim Taymans <wim@fluendo.com>
10135 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10136 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10137 * gst/base/gstbasesrc.c: (gst_base_src_query):
10138 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10139 * gst/elements/gsttypefindelement.c:
10140 (gst_type_find_handle_src_query), (find_element_get_length),
10141 (gst_type_find_element_activate):
10144 * gst/gstquery.c: (gst_query_new_position),
10145 (gst_query_set_position), (gst_query_parse_position),
10146 (gst_query_new_duration), (gst_query_set_duration),
10147 (gst_query_parse_duration), (gst_query_set_segment),
10148 (gst_query_parse_segment):
10150 Bundling query position/duration is not a good idea since duration
10151 does not change much and we don't want to recalculate it for every
10152 position query, so they are separated again..
10153 Base value in segment query is not needed.
10155 * gst/gstqueue.c: (gst_queue_handle_src_query):
10156 * gst/gstutils.c: (gst_element_query_position),
10157 (gst_element_query_duration), (gst_pad_query_position),
10158 (gst_pad_query_duration):
10160 Updates for query API change.
10161 Added some docs here and there.
10163 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10165 * check/gst/gstbin.c: (GST_START_TEST):
10166 * check/gst/gstghostpad.c: (GST_START_TEST):
10167 * check/pipelines/cleanup.c: (GST_START_TEST):
10168 wait on thread to die so we can check refcount correctly
10170 2005-10-18 Wim Taymans <wim@fluendo.com>
10172 * check/pipelines/stress.c: (GST_START_TEST):
10173 Make check a little more time consuming.
10175 2005-10-18 Wim Taymans <wim@fluendo.com>
10177 * check/Makefile.am:
10178 * check/pipelines/stress.c: (GST_START_TEST),
10179 (simple_launch_lines_suite), (main):
10180 Small state change torture test.
10182 * docs/design/part-states.txt:
10183 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10184 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10185 (gst_base_sink_change_state):
10186 Never take state lock from streaming thread, clean up ugly
10187 hacks. Unfortunatly core does not yet support nice ways to
10188 async commit state.
10190 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10192 Start state recalc if a STATE_DIRTY message is posted, but only
10193 on the toplevel bin.
10195 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10196 (gst_element_get_state_func), (gst_element_abort_state),
10197 (gst_element_commit_state), (gst_element_lost_state),
10198 (gst_element_set_state_func), (gst_element_change_state):
10199 * gst/gstelement.h:
10200 State variables are now protected with the LOCK, the state
10201 lock is only used to serialize _set_state().
10203 2005-10-18 Wim Taymans <wim@fluendo.com>
10205 * check/gst/gstbin.c: (GST_START_TEST):
10206 * check/gst/gstmessage.c: (GST_START_TEST):
10207 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10208 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10210 * gst/gstelement.c: (gst_element_abort_state),
10211 (gst_element_commit_state), (gst_element_lost_state):
10212 * gst/gstmessage.c: (gst_message_new_state_changed),
10213 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10214 (gst_message_new_segment_done), (gst_message_new_duration),
10215 (gst_message_parse_state_changed),
10216 (gst_message_parse_segment_start),
10217 (gst_message_parse_segment_done), (gst_message_parse_duration):
10218 * gst/gstmessage.h:
10219 * tools/gst-launch.c: (event_loop):
10220 Seriously, this is better than a previous commit as we only need
10221 to notify the fact that an element changed state in a streaming
10222 thread, marking the state of the parents dirty, hence the
10223 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10226 2005-10-18 Wim Taymans <wim@fluendo.com>
10228 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10229 (gst_bin_recalc_func):
10230 * gst/gstelement.c: (gst_element_set_clock),
10231 (gst_element_abort_state), (gst_element_lost_state):
10232 Cleanups, prepare for state change fixes.
10234 2005-10-18 Wim Taymans <wim@fluendo.com>
10237 * gst/gstelement.c: (gst_element_class_init),
10238 (gst_element_set_state), (gst_element_set_state_func):
10239 * gst/gstelement.h:
10240 Pending ABI changes.
10241 GThreadPool in GstBinClass to monitor async state changes.
10242 state_cookie in GstElement to detect concurrent gst/set state.
10243 set_state is now virtual too in case a very complicated element
10244 has to be constructed.
10246 2005-10-18 Wim Taymans <wim@fluendo.com>
10248 * check/gst/gstbin.c: (GST_START_TEST):
10249 * check/gst/gstmessage.c: (GST_START_TEST):
10250 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10251 * gst/gstbin.c: (bin_bus_handler):
10252 * gst/gstelement.c: (gst_element_commit_state),
10253 (gst_element_lost_state):
10254 * gst/gstmessage.c: (gst_message_new_state_changed),
10255 (gst_message_new_segment_start), (gst_message_new_segment_done),
10256 (gst_message_new_duration), (gst_message_parse_state_changed),
10257 (gst_message_parse_segment_start),
10258 (gst_message_parse_segment_done), (gst_message_parse_duration):
10259 * gst/gstmessage.h:
10260 * tools/gst-launch.c: (event_loop):
10261 Make messages future proof.
10262 state-change gets a flag if it was a message comming from the
10264 segment-start/stop can also be specified in other formats.
10265 A message to notify an app that a pipeline changed playback
10267 Also fix a GstMessage leak in -launch
10269 2005-10-18 Andy Wingo <wingo@pobox.com>
10271 * gst/gstelement.c (gst_element_dispose): More helpful message.
10273 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10275 reviewed by: <delete if not using a buddy>
10277 * common/gtk-doc.mak:
10279 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10281 * gst/gstregistry.c: (gst_registry_scan_path_level):
10282 unref a plug-in we get that was already initialized
10284 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10286 * docs/gst/gstreamer-sections.txt:
10287 * docs/libs/gstreamer-libs-sections.txt:
10288 * gst/gstelement.h:
10289 add new api entries
10290 hide internal macro
10292 2005-10-17 Andy Wingo <wingo@pobox.com>
10294 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10297 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10299 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10301 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10302 (gst_element_get_state_func): Better debug message.
10303 (gst_element_commit_state): s/INFO/DEBUG/.
10304 (gst_element_lost_state, gst_element_change_state):
10306 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10307 (gst_message_new_custom): s/INFO/LOG/.
10309 2005-10-17 Michael Smith <msmith@fluendo.com>
10311 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10312 Check if end time is valid using end time, not start time.
10314 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10316 * check/gst-libs/controller.c: (GST_START_TEST),
10317 (gst_controller_suite):
10318 * libs/gst/controller/gstcontroller.c:
10319 (gst_controlled_property_set_interpolation_mode):
10320 * libs/gst/controller/gstcontroller.h:
10321 * libs/gst/controller/gstinterpolation.c:
10322 * testsuite/controller/.cvsignore:
10323 * testsuite/controller/Makefile.am:
10324 * testsuite/controller/interpolator.c:
10325 merge controller testsuites
10327 remove mem-chunk from docs
10329 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10331 * gst/gstmemchunk.c:
10332 * gst/gstmemchunk.h:
10333 * gst/gsttrashstack.c:
10334 * gst/gsttrashstack.h:
10335 out. get out. you're fired. to the Attic !
10337 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10339 * gst/gstcaps.c: (gst_caps_intersect):
10340 fix signedness issues in a (hopefully) correct way
10341 * gst/gstelement.c: (gst_element_pads_activate):
10343 * gst/gstobject.c: (gst_object_set_parent):
10346 2005-10-17 Julien MOUTTE <julien@moutte.net>
10348 * gst/gstvalue.h: Fix prototypes.
10350 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10352 * docs/gst/gstreamer-sections.txt:
10353 * gst/gst.c: (gst_version_string):
10355 * gst/gstversion.h.in:
10356 * win32/common/libgstreamer.def:
10357 add gst_version_string ()
10359 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10363 * gst/gst.c: (init_post):
10364 * win32/common/config.h.in:
10366 * gst/gstcaps.c: (gst_caps_intersect):
10367 use gint64, the range could be bigger than a guint
10369 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10372 document potential problem in 2038
10374 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10376 * gst/gstcaps.c: (gst_caps_intersect):
10377 Fix guint j diving under 0
10379 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10382 * win32/common/config.h:
10383 * win32/common/config.h.in:
10384 check for process.h, declares getpid() on Windows
10386 include process.h if we have it
10387 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10388 * gst/gstmemchunk.h:
10389 fix signedness issues
10390 * win32/common/libgstreamer.def:
10393 2005-10-16 Julien MOUTTE <julien@moutte.net>
10395 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10396 fix. Because of unsigned ints, caps intersection was going nuts and
10397 trying to access structures with G_MAXUINT index. That fixes
10398 videotestsrc ! ffmpegcolorspace ! fakesink
10399 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10402 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10405 use the gettext macro
10406 * gst/elements/gstelements.c:
10408 * gst/indexers/gstindexers.c:
10409 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10410 * win32/common/config.h:
10412 * win32/common/config.h.in:
10413 add the template to generate config.h
10414 * win32/common/gstenumtypes.c:
10415 * win32/common/gstversion.h:
10418 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10420 * gst/gst.c: (gst_version):
10421 * gst/gstversion.h.in:
10424 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10427 Oops, add missing closing bracket.
10429 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10432 use common m4's for argument checking
10434 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10436 * docs/gst/gstreamer-sections.txt:
10438 Add GST_EVENT_TYPE_NAME() macro.
10440 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10443 * gst/gstpluginfeature.c:
10445 privatize more symbols
10447 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10450 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10451 everything that uses GStreamer API should have the includes
10453 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10455 * docs/gst/gstreamer-sections.txt:
10456 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10458 give each value a _get_type, removes the DATA exports
10460 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10464 remove _gst_registry_auto_load, not used anymore
10465 * gst/gstbin.c: (gst_bin_get_type):
10467 * gst/gstelement.c: (gst_element_get_type):
10468 * gst/gstelement.h:
10469 * gst/gstobject.c: (gst_object_get_type):
10471 * gst/gstpad.c: (gst_pad_get_type):
10473 make _get_type functions similar, fixes data export from library
10475 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10478 correctly make conditionals
10479 * gst/elements/Makefile.am:
10480 * gst/elements/gstelements.c:
10481 fix typo causing fdsrc not to build
10483 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10485 * testsuite/Makefile.am:
10486 * testsuite/bytestream/.cvsignore:
10487 * testsuite/bytestream/Makefile.am:
10488 * testsuite/bytestream/filepadsink.c:
10489 * testsuite/bytestream/gstbstest.c:
10490 * testsuite/bytestream/test1.c:
10491 * testsuite/bytestream/testfile1:
10492 * testsuite/caps/normalisation.c:
10493 * testsuite/caps/random.c: (main):
10494 * testsuite/cleanup/.cvsignore:
10495 * testsuite/cleanup/Makefile.am:
10496 * testsuite/cleanup/cleanup1.c:
10497 * testsuite/cleanup/cleanup2.c:
10498 * testsuite/cleanup/cleanup3.c:
10499 * testsuite/cleanup/cleanup4.c:
10500 * testsuite/cleanup/cleanup5.c:
10501 * testsuite/controller/interpolator.c:
10502 * testsuite/debug/printf_extension.c: (main):
10503 * testsuite/elements/tee.c:
10504 * testsuite/negotiation/.cvsignore:
10505 * testsuite/negotiation/Makefile.am:
10506 * testsuite/negotiation/pad_link.c:
10507 * testsuite/pad/Makefile.am:
10508 * testsuite/pad/chainnopull.c:
10509 * testsuite/pad/getnopush.c:
10510 * testsuite/pad/link.c:
10511 * testsuite/refcounting/sched.c: (create_pipeline):
10512 * testsuite/registry/Makefile.am:
10513 * testsuite/registry/gst-print-formats.c:
10514 * testsuite/schedulers/.cvsignore:
10515 * testsuite/schedulers/142183-2.c:
10516 * testsuite/schedulers/142183.c:
10517 * testsuite/schedulers/143777-2.c:
10518 * testsuite/schedulers/143777.c:
10519 * testsuite/schedulers/147713.c:
10520 * testsuite/schedulers/147819.c:
10521 * testsuite/schedulers/147894-2.c:
10522 * testsuite/schedulers/147894.c:
10523 * testsuite/schedulers/Makefile.am:
10524 * testsuite/schedulers/group_link.c:
10525 * testsuite/schedulers/queue_link.c:
10526 * testsuite/schedulers/relink.c:
10527 * testsuite/schedulers/unlink.c:
10528 * testsuite/schedulers/unref.c:
10529 * testsuite/schedulers/useless_iteration.c:
10530 * testsuite/states/bin.c:
10531 clean out/remove some stuff from the testsuite directories
10533 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10536 check for some headers
10537 * gst/elements/Makefile.am:
10538 * gst/elements/gstelements.c:
10539 don't compile fdsrc without sys/socket.h
10540 * gst/indexers/Makefile.am:
10541 * gst/indexers/gstindexers.c: (plugin_init):
10542 don't compile fileindex without mmap
10544 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10551 * check/Makefile.am:
10552 * docs/gst/Makefile.am:
10553 * examples/helloworld/Makefile.am:
10555 * gst/base/Makefile.am:
10556 * gst/check/Makefile.am:
10557 * gst/elements/Makefile.am:
10558 * gst/indexers/Makefile.am:
10559 * gst/parse/Makefile.am:
10560 * libs/gst/controller/Makefile.am:
10561 * libs/gst/dataprotocol/Makefile.am:
10562 * examples/helloworld/helloworld.c: (event_loop):
10563 compile fixes, though it's not being compiled currently
10565 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10567 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10568 Add some simple tests for the new taglist date API.
10570 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10572 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10573 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10574 Beautify 'last-message' output: print 'none' for buffer timestamps
10575 and durations if none is set; improve alignment with next messages.
10577 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10579 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10580 * gst/gstpluginfeature.h:
10581 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10582 * gst/gstregistry.h:
10583 * docs/gst/gstreamer-sections.txt:
10584 Add new API to check plugin feature version requirements.
10586 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10587 Some basic tests for the above.
10589 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10591 * gst/gststructure.c: (gst_structure_to_string):
10592 guard against NULL printf - happens when for example
10593 a message structure with GstClock gets serialized
10595 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10597 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10598 Fix presumable copy'n'pasto.
10600 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10602 * gst/elements/gstfakesrc.h:
10603 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10604 * gst/elements/gsttypefindelement.c:
10605 fix some signedness
10606 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10607 I wonder if this could actually write +2GB files before
10609 2005-10-13 Andy Wingo <wingo@pobox.com>
10611 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10612 Fix Timmeke Waymans bug.
10613 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10614 string of the proper length to gst_caps_from_string. There's a
10615 potential for, before this fix, that this could cause someone
10616 connecting over the network to cause a segfault if the payload is
10617 not NUL-terminated.
10619 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10621 * docs/design/draft-push-pull.txt:
10622 * docs/design/part-overview.txt:
10623 * docs/random/TODO-pre-0.9:
10624 * docs/random/old/ChangeLog.gstreamer:
10625 * gst/base/gstpushsrc.c:
10629 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10631 * gst/glib-compat.c: (gst_flags_get_first_value):
10632 * gst/glib-compat.h:
10633 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10634 (gst_value_compare_double), (gst_value_serialize_flags):
10635 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10638 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10641 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10643 * tools/gst-launch.c: (event_loop):
10644 print out clock nicely
10646 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10648 * docs/gst/gstreamer-sections.txt:
10649 * gst/gsttaglist.h:
10650 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10651 (gst_tag_list_get_date_index):
10652 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10653 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10655 2005-10-13 Julien MOUTTE <julien@moutte.net>
10657 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10658 (gst_collectpads_chain):
10659 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10662 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10664 * docs/gst/gstreamer-sections.txt:
10667 * tools/gst-inspect.c: (main):
10668 * tools/gst-launch.c: (main):
10669 * tools/gst-run.c: (main):
10670 * tools/gst-xmlinspect.c: (main):
10671 fix GOption context leaks
10674 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10678 * win32/common/config.h:
10680 * win32/vs6/grammar.dsp:
10681 * win32/vs6/libgstelements.dsp:
10682 * win32/vs6/libgstreamer.dsp:
10685 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10687 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10688 * gst/base/gstbasesrc.c: (gst_base_src_query):
10689 fix more guint64<->gdouble conversions
10691 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10694 add win32-update target
10695 * win32/common/gstconfig.h:
10696 * win32/common/gstenumtypes.c:
10697 * win32/common/gstenumtypes.h:
10698 * win32/common/gstversion.h:
10699 add files that visual studio can't generate
10701 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10704 add a win32-update target
10707 2005-10-12 Wim Taymans <wim@fluendo.com>
10709 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10710 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10711 * gst/gstelement.c: (gst_element_commit_state),
10712 (gst_element_set_state):
10713 Protect flags with proper lock.
10714 unref provided cached clock in dispose.
10716 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10719 * gst/gstminiobject.h:
10721 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10722 removed unused flags from miniobject
10725 2005-10-12 Wim Taymans <wim@fluendo.com>
10727 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10728 (gst_file_sink_event), (gst_file_sink_render):
10729 Flush before seeking.
10731 2005-10-12 Andy Wingo <wingo@pobox.com>
10733 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10734 always been the case.
10736 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10738 * check/gst/gstbin.c: (GST_START_TEST):
10739 * docs/gst/gstreamer-sections.txt:
10740 * gst/base/gstbasesink.c: (gst_base_sink_init):
10741 * gst/base/gstbasesrc.c: (gst_base_src_init),
10742 (gst_base_src_get_range), (gst_base_src_check_get_range),
10743 (gst_base_src_start), (gst_base_src_stop):
10744 * gst/base/gstbasesrc.h:
10745 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10746 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10747 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10751 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10753 * gst/gstelement.c: (gst_element_is_locked_state),
10754 (gst_element_set_locked_state), (gst_element_commit_state),
10755 (gst_element_set_state):
10756 * gst/gstelement.h:
10757 * gst/gstindex.c: (gst_index_init):
10759 * gst/gstminiobject.h:
10760 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10761 (gst_object_set_parent):
10763 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10764 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10766 * gst/gstpadtemplate.h:
10767 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10768 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10769 * gst/gstpipeline.h:
10770 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10771 (gst_file_index_commit):
10772 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10773 * testsuite/pad/link.c: (gst_test_src_init),
10774 (gst_test_filter_init), (gst_test_sink_init):
10775 * testsuite/states/locked.c: (main):
10776 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10777 moved bitshift from macro to enum definition
10779 2005-10-12 Wim Taymans <wim@fluendo.com>
10781 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10782 * gst/elements/gstfilesink.c: (gst_file_sink_event),
10783 (gst_file_sink_render):
10784 Some more debugging info.
10786 2005-10-12 Wim Taymans <wim@fluendo.com>
10788 * docs/design/part-states.txt:
10789 * tools/gst-launch.c: (main):
10791 Revert non-intentional change.
10793 2005-10-12 Wim Taymans <wim@fluendo.com>
10795 * check/gst/gstbin.c: (GST_START_TEST):
10796 * check/gst/gstelement.c: (GST_START_TEST):
10797 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10798 * check/gst/gstghostpad.c: (GST_START_TEST):
10799 * check/gst/gstpipeline.c: (GST_START_TEST):
10800 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10801 * check/states/sinks.c: (GST_START_TEST):
10802 * gst/elements/gsttypefindelement.c: (stop_typefinding):
10803 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10804 (gst_bin_remove_func), (gst_bin_get_state_func),
10805 (gst_bin_recalc_state), (gst_bin_change_state_func),
10807 * gst/gstelement.c: (gst_element_get_state_func),
10808 (gst_element_get_state), (gst_element_abort_state),
10809 (gst_element_commit_state), (gst_element_set_state),
10810 (gst_element_change_state), (gst_element_change_state_func):
10811 * gst/gstelement.h:
10812 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10813 (gst_pipeline_provide_clock_func):
10814 * gst/gstutils.c: (gst_element_link_pads_filtered):
10815 * tools/gst-launch.c: (main):
10816 * tools/gst-typefind.c: (main):
10817 Use GstClockTime in _get_state() instead of GTimeVal.
10818 Remove old code in gstutils.c
10820 2005-10-12 Andy Wingo <wingo@pobox.com>
10822 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10825 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10826 there is no task. Shouldn't affect any code, as nothing in our
10827 plugins checks this return value.
10828 (gst_pad_stop_task): Also take the stream lock if the pad has no
10829 task. Docs updated.
10831 2005-10-12 Wim Taymans <wim@fluendo.com>
10833 * gst/gstpad.c: (pre_activate), (post_activate),
10834 (gst_pad_activate_pull), (gst_pad_activate_push):
10835 Cleanup activation code. Reset old state if
10838 2005-10-12 Wim Taymans <wim@fluendo.com>
10840 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10841 (gst_base_sink_change_state):
10842 No need to prerol after receiving EOS.
10844 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
10845 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
10846 * gst/elements/gstidentity.c: (gst_identity_event):
10847 Print events more verbosely.
10849 2005-10-12 Wim Taymans <wim@fluendo.com>
10851 * check/Makefile.am:
10852 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10853 * check/states/sinks2.c:
10854 Moved sinks2 testcode in sinks check.
10856 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10857 (gst_bin_remove_func), (gst_bin_recalc_state),
10858 (gst_bin_change_state_func), (bin_bus_handler):
10859 Fix potential race condition when _get_state() iterated over an
10860 ASYNC element right before it posted a state completion.
10863 Do proper cast here.
10865 * gst/gstevent.c: (gst_event_new_newsegment),
10866 (gst_event_parse_newsegment):
10867 A playback rate of 0.0 is not allowed.
10869 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10871 * win32/common/config.h:
10872 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
10873 (_trewinddir), (_ttelldir), (_tseekdir):
10874 * win32/common/dirent.h:
10875 * win32/common/gtchar.h:
10876 * win32/common/libgstbase.def:
10877 * win32/common/libgstreamer.def:
10878 * win32/vs6/grammar.dsp:
10879 * win32/vs6/gst_inspect.dsp:
10880 * win32/vs6/gst_launch.dsp:
10881 * win32/vs6/gstreamer.dsw:
10882 * win32/vs6/libgstbase.dsp:
10883 * win32/vs6/libgstelements.dsp:
10884 * win32/vs6/libgstreamer.dsp:
10885 Visual Studio 6 project files, and a new common directory.
10888 2005-10-11 Wim Taymans <wim@fluendo.com>
10890 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10891 (gst_base_sink_do_sync), (gst_base_sink_query),
10892 (gst_base_sink_change_state):
10893 * gst/base/gstbasesink.h:
10894 Correctly parse newsegment info.
10896 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10898 * gst/gst.c: (init_post):
10899 split plugin paths correctly
10901 2005-10-11 Wim Taymans <wim@fluendo.com>
10903 * check/gst/gstevent.c: (GST_START_TEST):
10904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10905 (gst_base_sink_change_state):
10906 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
10907 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10908 * gst/elements/gstfilesink.c: (gst_file_sink_event):
10909 * gst/gstevent.c: (gst_event_new_newsegment),
10910 (gst_event_parse_newsegment):
10912 Added extra flag to newsegment for future API freeze.
10913 Updated check and base elements.
10915 2005-10-11 Julien MOUTTE <julien@moutte.net>
10917 * gst/base/gstcollectpads.c: (gst_collectpads_init),
10918 (gst_collectpads_add_pad), (gst_collectpads_pop),
10919 (gst_collectpads_event), (gst_collectpads_chain):
10920 * gst/base/gstcollectpads.h: Handle EOS correctly.
10922 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10924 * tools/gst-launch.c: (main):
10925 more null protecting
10927 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10929 * gst/gst-i18n-lib.h:
10930 check for ENABLE_NLS, not GETTEXT_PACKAGE
10931 * gst/gstregistry.c: (gst_registry_add_plugin),
10932 (gst_registry_scan_path_level),
10933 (_gst_registry_remove_cache_plugins):
10934 protect possibly NULL strings
10935 * gst/parse/types.h:
10936 config.h already included before
10937 * tools/gst-inspect.c: (main):
10938 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
10939 check for ENABLE_NLS, not GETTEXT_PACKAGE
10940 * tools/gst-launch.c: (main):
10941 check for ENABLE_NLS, not GETTEXT_PACKAGE
10943 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
10946 if we don't have glib, fail before testing 2.8
10947 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
10948 fix a leak, should fix plugins-base testsuite
10950 2005-10-11 Andy Wingo <wingo@pobox.com>
10952 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
10953 take the mode we're going to as an arg. Go head and set the mode
10954 and flushing flags now, so that if the activate function starts a
10955 thread all the flags will be in the right state.
10956 (post_activate): Renamed also. Just handle making sure streaming
10957 finishes for the deactivation case, and setting the deactivated
10959 (gst_pad_set_active): Complain loudly if deactivation fails.
10960 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
10961 (gst_pad_activate_push): Adapt to pre/post_activate changes,
10962 remove the terrible hack.
10964 2005-10-11 Wim Taymans <wim@fluendo.com>
10966 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10967 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
10968 (gst_bin_recalc_state), (gst_bin_change_state_func),
10969 (gst_bin_dispose), (bin_bus_handler):
10971 Prepare to make current EOS message queue more generic.
10974 * gst/gstevent.c: (gst_event_new_newsegment),
10975 (gst_event_parse_newsegment):
10977 Rename base to stream_time.
10979 * gst/gstmessage.h:
10982 2005-10-11 Wim Taymans <wim@fluendo.com>
10984 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
10985 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
10986 (gst_bin_change_state_func), (bin_bus_handler):
10988 Work on proper clock selection.
10990 2005-10-11 Edward Hervey <edward@fluendo.com>
10992 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
10993 * libs/gst/controller/gstcontroller.h:
10994 Added GList* version of _remove_properties() in order to be able to wrap
10997 2005-10-11 Wim Taymans <wim@fluendo.com>
10999 * docs/design/part-states.txt:
11002 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11003 (gst_bin_change_state_func), (bin_bus_handler):
11004 Doc updates. Don't distribute the same clock over and over again.
11010 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11011 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11012 (gst_pad_send_event):
11014 Make probe emission threadsafe again.
11015 Register quarks and move _get_name() from utils.
11018 * gst/gstpipeline.c: (gst_pipeline_class_init),
11019 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11020 Only redistribute the clock of it changed.
11022 * gst/gstsystemclock.h:
11027 Moved the _flow_get_name() to GstPad.
11029 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11031 * check/gst-libs/gdp.c: (GST_START_TEST):
11032 * check/gst/gstcaps.c: (GST_START_TEST):
11033 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11034 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11035 (gst_dp_packet_from_caps):
11036 fix more valgrind warnings before turning up the heat
11038 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11040 * gst/parse/grammar.y:
11041 some cleanup before the hacking
11043 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11045 * gst/base/gstbasesrc.c: (gst_base_src_query):
11047 * gst/gstutils.c: (gst_guint64_to_gdouble),
11048 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11050 externalize, basesrc uses it
11051 obviously the implementation needs testing
11053 2005-10-10 Wim Taymans <wim@fluendo.com>
11055 * tests/sched/Makefile.am:
11056 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11057 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11059 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11061 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11062 apparently converting from guint64 to double is not implemented
11065 2005-10-10 Wim Taymans <wim@fluendo.com>
11067 * check/Makefile.am:
11068 * check/generic/states.c: (GST_START_TEST):
11069 * check/gst/gstbin.c: (GST_START_TEST):
11070 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11071 * check/states/sinks.c: (GST_START_TEST):
11072 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11074 Check fixes, use API as stated in design docs, remove hacks.
11076 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11077 (gst_base_sink_change_state):
11078 Catch stopping our task while we're shutting down.
11080 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11081 (gst_bin_remove_func), (gst_bin_get_state_func),
11082 (gst_bin_recalc_state), (gst_bin_change_state_func),
11085 * gst/gstelement.c: (gst_element_init),
11086 (gst_element_get_state_func), (gst_element_abort_state),
11087 (gst_element_commit_state), (gst_element_lost_state),
11088 (gst_element_set_state), (gst_element_change_state),
11089 (gst_element_change_state_func):
11090 * gst/gstelement.h:
11091 New state change algorithm (see #318116)
11093 * gst/gstpipeline.c: (gst_pipeline_class_init),
11094 (gst_pipeline_init), (gst_pipeline_set_property),
11095 (gst_pipeline_get_property), (do_pipeline_seek),
11096 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11097 * gst/gstpipeline.h:
11098 Remove crude state change hacks.
11101 Remove crude hacks.
11103 * tools/gst-launch.c: (main):
11104 Fixes for state change. Needs some more work to fully use the
11107 2005-10-10 Andy Wingo <wingo@pobox.com>
11109 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11111 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11112 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11115 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11117 * gst/gstiterator.c: (gst_iterator_new):
11118 Fix my previous commit: GTypes passed to gst_iterator_new()
11119 can be fundamental types.
11121 2005-10-10 Wim Taymans <wim@fluendo.com>
11123 * gst/gstelement.c: (gst_element_iterate_pad_list),
11124 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11125 (gst_element_iterate_sink_pads):
11126 Use src/sink pads lists for the respective iterators instead
11129 2005-10-10 Andy Wingo <wingo@pobox.com>
11131 Merged in popt removal + GOption addition patch from Ronald, bug
11134 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11135 GstElement macros around, remove popt-related symbols, add goption
11138 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11140 * docs/gst/Makefile.am:
11141 * docs/libs/Makefile.am: No POPT_CFLAGS.
11143 * examples/manual/Makefile.am:
11144 * docs/manual/basics-init.xml: Doc updates with an example.
11146 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11147 (gst_init), (parse_one_option), (parse_goption_arg):
11148 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11149 bit of hand merging and debugging to get the GOption stuff working
11152 * tests/Makefile.am:
11153 * tools/Makefile.am:
11154 * tools/gst-inspect.c: (main):
11155 * tools/gst-launch.c: (main):
11156 * tools/gst-run.c: (main):
11157 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11159 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11161 * gst/gstiterator.c: (gst_iterator_new):
11162 Add assertions to make sure passed GType is likely to really
11163 be a GType (as the compiler won't catch it if the size and
11164 GType arguments get mixed up, see #318447).
11166 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11168 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11170 * gst/gstbin.c: (gst_bin_iterate_sorted):
11171 Pass GType and size arguments to gst_iterator_new() in the right
11172 order (maybe we should make _new() take the GType as first argument
11173 just like _new_list()?) (#318447).
11176 2005-10-10 Wim Taymans <wim@fluendo.com>
11178 * gst/gstelement.c: (gst_element_finalize):
11179 And free the GStaticRecMutex too
11181 2005-10-10 Andy Wingo <wingo@pobox.com>
11183 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11184 Allocate and free the mutex properly.
11186 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11188 (GstElement): The state_lock is now recursive. Rebuild your
11189 plugins, suckers. Old macros adapted.
11191 * docs/gst/gstreamer-sections.txt: Doc updates.
11194 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11195 (g_static_rec_cond_wait): Ported from state changes patch, while
11196 we wait on bug #317802 to be solved in a well-distributed GLib.
11198 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11199 gst_element_change_state, variable name changes.
11200 (gst_element_change_state): Split out of gst_element_set_state in
11201 preparation for the state change merge. Doesn't pay attention to
11202 the 'transition' argument.
11203 (gst_element_set_state): Updates, hopefully purely cosmetic.
11204 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11205 state change patch.
11206 (gst_element_get_state_func): Renamed from get_state, cosmetic
11209 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11211 * gst/elements/gstelements.c:
11212 * win32/GStreamer.vcproj:
11214 * win32/dirent.c: (_tseekdir):
11215 * win32/gst-inspect.vcproj:
11216 * win32/gst-launch.vcproj:
11217 * win32/gstconfig.h:
11218 * win32/gstelements.vcproj:
11219 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11220 * win32/gstreamer.def:
11221 * win32/msvc71.sln:
11222 updates for the win32 build (patch from Sebastien Moutte)
11224 2005-10-10 Andy Wingo <wingo@pobox.com>
11226 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11227 gst_bin_get_state, cleaned up (but no logic changes).
11228 (bin_element_is_sink): Comment updates.
11229 (sink_iterator_filter): Remove needless cast.
11230 (gst_bin_iterate_sinks): Doc update.
11231 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11232 cleaned up (but no logic changes).
11234 * check/states/sinks.c (test_src_sink): Cleanups from the state
11236 (test_livesrc_sink): Sync on the state.
11238 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11239 the state change patch.
11241 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11244 * check/gst/gstbin.c: Merge in some style fixes and additional
11245 checks from Wim's state change patch.
11247 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11249 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11250 (gst_type_find_helper):
11251 Check whether we have the requested data already in our list of
11252 cached buffers before pulling a new buffer; also make the buffer
11253 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11255 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11260 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11261 don't use long long, it's not portable. Replacing with
11262 gint64 seems to work; let's hope no skeletons fall out of the closet.
11264 2005-10-10 Andy Wingo <wingo@pobox.com>
11266 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11268 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11270 * docs/gst/gstreamer-sections.txt:
11275 * gst/gstmessage.c: (gst_message_parse_state_changed):
11278 more docs, fix compilation
11280 2005-10-09 Philippe Khalaf <burger@speedy.org>
11281 * gst/gstmessage.c:
11282 Fixed a few forgotten variables on previous commit
11284 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11286 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11287 Fix evil typefind crasher: getrange() might return a short
11288 buffer at the end of a file, but gst_type_find_peek() must
11289 either return the full data as requested or NULL, but
11290 never a short buffer.
11292 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11294 * gst/gstmessage.c: (gst_message_new_state_changed),
11295 (gst_message_parse_state_changed):
11296 * gst/gstmessage.h:
11297 don't use "new", it's a C++ keyword
11299 2005-10-08 Wim Taymans <wim@fluendo.com>
11301 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11302 * gst/gstelement.c: (gst_element_post_message):
11303 * gst/gstpipeline.c: (gst_pipeline_change_state):
11304 Small docs and debug updates.
11306 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11308 * docs/gst/gstreamer-sections.txt:
11309 * gst/gstelementfactory.c:
11311 * gst/gsttaglist.c:
11314 2005-10-08 Wim Taymans <wim@fluendo.com>
11316 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11317 (gst_bin_dispose), (bin_bus_handler):
11318 Fix typos, add comments.
11319 Clear EOS list when going to PAUSED from any direction and do it
11320 in a threadsafe way.
11321 Get base time in a threadsafe way too.
11322 Fix confusing debug in the change_state function.
11323 Various other small cleanups.
11325 * gst/gstelement.c: (gst_element_post_message):
11326 Fix very verbose bus posting code.
11328 * gst/gstpipeline.c: (gst_pipeline_class_init),
11329 (gst_pipeline_set_property), (gst_pipeline_get_property),
11330 (gst_pipeline_change_state):
11331 Small ARG_ -> PROP_ cleanup
11333 2005-10-08 Wim Taymans <wim@fluendo.com>
11335 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11336 Do a less CPU demanding EOS check because we can.
11338 2005-10-08 Wim Taymans <wim@fluendo.com>
11340 * libs/gst/dataprotocol/dataprotocol.c:
11341 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11342 (gst_dp_packet_from_event):
11343 * libs/gst/dataprotocol/dataprotocol.h:
11344 * libs/gst/dataprotocol/dp-private.h:
11345 It's about time we bump the version number.
11346 Since event types don't fit in the guint8 anymore describing
11347 the payload type, make payload type 16 bits wide.
11349 2005-10-08 Wim Taymans <wim@fluendo.com>
11351 * docs/design/part-TODO.txt:
11352 * docs/design/part-clocks.txt:
11353 * docs/design/part-events.txt:
11354 * docs/design/part-gstbin.txt:
11355 * docs/design/part-gstelement.txt:
11356 * docs/design/part-gstpipeline.txt:
11357 * docs/design/part-live-source.txt:
11358 * docs/design/part-messages.txt:
11359 * docs/design/part-overview.txt:
11360 * docs/design/part-states.txt:
11363 2005-10-08 Wim Taymans <wim@fluendo.com>
11367 Fix event quark registration.
11368 Add some space between events so we can insert them in the
11371 2005-10-08 Wim Taymans <wim@fluendo.com>
11373 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11374 (gst_base_sink_handle_buffer):
11375 Better log message.
11378 * gst/gstelement.h:
11381 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11382 (gst_queue_set_property), (gst_queue_get_property):
11384 Remove old unused properties.
11386 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11387 * docs/gst/gstreamer-sections.txt:
11388 * gst/gstmessage.c:
11389 * gst/gstmessage.h:
11390 * gst/gstminiobject.c:
11391 * gst/gstminiobject.h:
11395 lots of new docs and doc fixes
11397 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11399 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11401 * gst/gstregistry.c: (gst_registry_lookup_locked),
11402 (gst_registry_scan_path_level):
11403 * gst/gstregistryxml.c: (load_plugin):
11404 Only ever load one plugin for a given plugin basename.
11405 This ensures correct overriding of GST_PLUGIN_PATH over
11406 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11407 system installed plugins.
11409 2005-10-08 Wim Taymans <wim@fluendo.com>
11411 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11412 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11413 Prepare for doing QOS.
11415 2005-10-08 Wim Taymans <wim@fluendo.com>
11417 * check/gst/gstbin.c: (GST_START_TEST):
11418 * check/pipelines/cleanup.c: (GST_START_TEST):
11419 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11420 Allow new clock message too.
11422 2005-10-08 Wim Taymans <wim@fluendo.com>
11424 * gst/gstmessage.c: (gst_message_new_error),
11425 (gst_message_new_warning), (gst_message_new_tag),
11426 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11427 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11428 (gst_message_new_segment_start), (gst_message_new_segment_done),
11429 (gst_message_parse_state_changed),
11430 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11431 (gst_message_parse_new_clock):
11432 * gst/gstmessage.h:
11433 Also carry the clock in question.
11435 2005-10-08 Wim Taymans <wim@fluendo.com>
11437 * gst/gstmessage.c: (gst_message_new_custom),
11438 (gst_message_new_eos), (gst_message_new_error),
11439 (gst_message_new_warning), (gst_message_new_tag),
11440 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11441 (gst_message_new_new_clock), (gst_message_new_segment_start),
11442 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11443 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11444 * gst/gstmessage.h:
11446 Added clock related messages.
11448 * gst/gstpipeline.c: (gst_pipeline_change_state):
11449 Post message when the clock changed.
11451 * tools/gst-launch.c: (event_loop):
11454 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11456 * tools/gst-inspect.c: (print_element_properties_info):
11457 Can't pass NULL strings to g_print() on windows.
11459 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11461 * docs/Makefile.am:
11462 * docs/gst/Makefile.am:
11463 * docs/gst/gstreamer-docs.sgml:
11464 * docs/gst/running.xml:
11465 * docs/version.entities.in:
11466 add a chapter on running GStreamer.
11467 document GST_DEBUG and GST_PLUGIN* env vars
11469 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11474 remove PLUGINS_BUILDDIR stuff
11475 * gst/gst.c: (init_post):
11476 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11478 remove, it was condescending and not needed
11480 2005-10-08 Wim Taymans <wim@fluendo.com>
11482 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11483 (gst_base_sink_handle_object), (gst_base_sink_event),
11484 (gst_base_sink_wait), (gst_base_sink_handle_event),
11485 (gst_base_sink_change_state):
11486 * gst/base/gstbasesink.h:
11487 Repost EOS message while going to PLAYING if still EOS.
11488 Make sure that when receiving a FLUSH_START we don't attempt
11489 to sync on the clock anymore.
11491 2005-10-08 Wim Taymans <wim@fluendo.com>
11493 * tools/gst-launch.c: (event_loop):
11494 Better message printout.
11496 2005-10-08 Wim Taymans <wim@fluendo.com>
11498 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11499 (gst_bin_child_proxy_get_children_count):
11500 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11501 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11502 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11503 (gst_child_proxy_set_valist):
11504 * gst/parse/grammar.y:
11505 Make ChildProxy threadsafe and fix mem leaks.
11507 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11509 * gst/gst.c: (init_post):
11510 debug the GST_PLUGIN_ env vars
11512 2005-10-08 Wim Taymans <wim@fluendo.com>
11514 * check/gst/gstbin.c: (GST_START_TEST):
11515 * check/gst/gstmessage.c: (GST_START_TEST):
11516 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11517 * gst/gstelement.c: (gst_element_commit_state),
11518 (gst_element_lost_state):
11519 * gst/gstmessage.c: (gst_message_new_state_changed),
11520 (gst_message_parse_state_changed):
11521 * gst/gstmessage.h:
11522 * tools/gst-launch.c: (event_loop):
11523 Added extra field to STATE_CHANGE message with the pending
11524 state, which will be different from the new state soon.
11526 2005-10-08 Wim Taymans <wim@fluendo.com>
11528 * gst/gstbus.c: (gst_bus_pop):
11530 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11531 Small cleanups and doc updates.
11533 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11535 * gst/gst.c: (init_pre):
11536 * gst/gstbin.c: (gst_bin_add_func):
11537 log distributing clocks and base time
11538 * gst/gstregistry.c: (gst_registry_add_plugin),
11539 (gst_registry_scan_path_level), (gst_registry_scan_path):
11540 clean up the debugging output a little
11541 * gst/gstutils.c: (gst_element_state_get_name):
11542 warn about a memleak (I've actually seen this be used, though
11543 it was probably a bug)
11545 2005-10-07 Wim Taymans <wim@fluendo.com>
11547 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11548 (gst_base_src_init), (gst_base_src_default_newsegment),
11549 (gst_base_src_newsegment), (gst_base_src_do_seek),
11550 (gst_base_src_loop), (gst_base_src_start):
11551 * gst/base/gstbasesrc.h:
11552 Make the newsegment event customizable by subclasses.
11554 2005-10-07 Wim Taymans <wim@fluendo.com>
11556 * gst/gstevent.c: (gst_event_new_buffersize),
11557 (gst_event_parse_buffersize):
11559 New event for future idea.
11561 2005-10-07 Andy Wingo <wingo@pobox.com>
11563 * gst/gstelement.c (gst_element_post_message): Doc update.
11565 * docs/gst/gstreamer-sections.txt: Update.
11567 * gst/gstmessage.c (gst_message_new_application): Made into a
11568 function like honest API calls.
11569 (gst_message_new_element): New message type.
11571 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11573 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11574 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11577 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11578 NO_PREROLL from gst_element_change_state to fall through.
11580 2005-10-07 Wim Taymans <wim@fluendo.com>
11582 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11583 (gst_ghost_pad_do_activate_push):
11584 Activating a ghostpad with no internal pad in push mode
11587 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11590 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11591 Fixes compilation on Windows.
11593 2005-10-07 Michael Smith <msmith@fluendo.com>
11595 * tools/gst-inspect.c:
11596 Print out feature and plugin count at the end when printing out
11599 2005-10-04 Michael Smith <msmith@fluendo.com>
11601 * gst/gsterror.c: (_gst_stream_errors_init):
11602 Add another error string used in a few existing plugins.
11605 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11606 * tools/gst-inspect.c: (print_element_info):
11607 When a feature disappears from a plugin (and the feature exists in
11608 the cached registry file), things went horribly wrong. This isn't a
11609 complete fix, we should actually be removing the 'missing' features
11610 from the features list when we load the actual plugin. That's not
11613 2005-10-04 Johan Dahlin <johan@gnome.org>
11615 * check/gst/gstiterator.c: (GST_START_TEST):
11616 * gst/gstbin.c: (gst_bin_iterate_elements),
11617 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11618 * gst/gstelement.c: (gst_element_iterate_pads):
11619 * gst/gstformat.c: (gst_format_iterate_definitions):
11620 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11621 (gst_iterator_new_list), (gst_iterator_filter):
11622 * gst/gstiterator.h:
11623 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11624 Add a GType to GstIterator, update callsites and tests.
11626 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11628 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11629 give events a chance to be handled by event probes when the pad
11632 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11634 * gst/gstevent.c: (gst_event_type_get_name),
11635 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11637 add string representations for event types
11639 2005-10-06 Wim Taymans <wim@fluendo.com>
11641 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11642 Don't use NULL pointers.
11644 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11646 * gst/gst_private.h:
11648 * gst/gstelement.c:
11650 * gst/gstpluginfeature.c:
11651 widen the debug category in output to fit the biggest one we have
11652 add a bus category and use it
11653 play with the colors
11654 fix up some categories
11656 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11658 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11659 add push activation of sink ghost pads.
11660 Andye, please verify
11662 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11664 * gst/gstutils.c: (gst_element_link_pads):
11665 fix a bug in the case where neither element has a pad
11666 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11667 add a test for that case
11669 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11671 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11672 emit have-data before checking for peers. This allows
11673 for probe handlers to connect elements. This helps autopluggers.
11674 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11676 add six checks, linked/unlinked with no/true/false probe
11678 2005-10-04 Wim Taymans <wim@fluendo.com>
11680 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11681 (gst_fake_sink_event), (gst_fake_sink_preroll),
11682 (gst_fake_sink_render), (gst_fake_sink_change_state):
11683 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11684 (gst_fake_src_get_property), (gst_fake_src_create),
11685 (gst_fake_src_stop):
11686 * gst/elements/gstidentity.c: (gst_identity_stop):
11687 Protect last_message with lock.
11689 2005-10-04 Edward Hervey <edward@fluendo.com>
11692 Added precision in the comments for GST_FORMAT_DEFAULT
11694 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11696 * tools/gst-launch.c: (main):
11697 Don't try to run erroneous pipelines.
11699 2005-10-04 Julien MOUTTE <julien@moutte.net>
11701 * gst/gstbus.c: We don't need this header.
11703 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11706 back to development
11708 === release 0.9.3 ===
11710 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11714 Releasing 0.9.3, "Unregistered"
11716 2005-10-03 Andy Wingo <wingo@pobox.com>
11718 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11719 whereby calling a pad's activatepush() function can start a thread
11720 that starts to push or pull before the pad gets the FLUSHING flag
11721 unset. Hack around it by holding the stream lock until the flag is
11722 set. Need to replace this with a proper solution. Together with
11723 the ghost pad fixes, this fixes mp3 playing/tagreading.
11725 * docs/design/part-gstghostpad.txt: Add a note about activation of
11726 proxy pads outside of ghost pads.
11728 * gst/gstghostpad.c: Implement the ghost pad activation design.
11730 2005-10-02 Andy Wingo <wingo@pobox.com>
11732 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11733 It is volatile, after all.
11735 * docs/design/part-gstghostpad.txt: Flesh out activation with
11738 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11741 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11744 Fix (unused) AM_CONDITIONAL tests.
11746 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11748 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11750 * gst/gstutils.c: (gst_pad_query_convert):
11751 Add assertion that makes sure src_val is >=0, just like
11752 gst_query_new_convert() has. (#315895)
11754 2005-09-30 Edward Hervey <edward@fluendo.com>
11756 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11757 Let's not iterate pads we're not interested in, it avoids getting
11758 sky-high refcounts on sinkpad.
11760 2005-09-30 Wim Taymans <wim@fluendo.com>
11762 * gst/gstelement.c: (gst_element_set_state),
11763 (gst_element_change_state):
11764 Small tweak, element in ASYNC remains ASYNC.
11766 2005-09-30 Wim Taymans <wim@fluendo.com>
11768 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11769 Only error is an error.
11771 * gst/gstbin.c: (gst_bin_change_state):
11774 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11775 Also call pad_block in pad alloc.
11777 * gst/gstutils.c: (gst_flow_get_name):
11780 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11782 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11783 (gst_base_src_get_range):
11784 Fix documentation typos. Add some more debug info.
11786 2005-09-29 David Schleef <ds@schleef.org>
11788 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11789 more end-user friendly.
11790 * tools/gst-inspect.c: (main): Check if command-line argument is
11791 a file and attempt to load that file as a plugin.
11793 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11795 * check/gst/gstbin.c:
11796 * check/states/sinks.c:
11797 fix tests for the new warning
11798 * check/gst/gstpipeline.c:
11799 add a test for pipeline and bus interaction
11800 * gst/gstelement.c:
11801 elements should be NULL if they get disposed; add a warning if not
11803 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11806 for 2.6 refcounting, make debug log more correct by printing
11807 the actual refcounts at the time of swap (Wim)
11809 2005-09-29 Andy Wingo <wingo@pobox.com>
11811 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11812 removes signal watches previously added via
11813 gst_bus_add_signal_watch.
11814 (gst_bus_add_signal_watch): Don't return the source id, just store
11815 it on the bus if there wasn't an id already.
11817 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11818 add_signal_watch and remove_signal_watch.
11820 2005-09-29 Edward Hervey <edward@fluendo.com>
11822 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11823 Better if we actually iterate the list :)
11825 2005-09-29 Wim Taymans <wim@fluendo.com>
11827 * check/gst/gstbin.c: (GST_START_TEST):
11828 Change for new bus API.
11830 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11831 (send_messages), (GST_START_TEST), (gstbus_suite):
11832 Change for new bus signal API.
11834 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
11835 (gst_bus_source_prepare), (gst_bus_source_check),
11836 (gst_bus_create_watch), (gst_bus_add_watch_full),
11837 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
11838 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
11840 Remove support for multiple GSources operating on different
11841 message types as it is too complex and unneeded when using
11843 Added support for receiving signals from the bus.
11845 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11847 * docs/libs/tmpl/gstdataprotocol.sgml:
11848 * docs/manual/advanced-dataaccess.xml:
11849 * gst/elements/gstcapsfilter.c:
11851 rename filter-caps to caps property
11853 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11855 * gst/gstvalue.c: (gst_value_deserialize_fraction):
11856 More robust fraction string parsing.
11858 * docs/pwg/appendix-porting.xml:
11859 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
11861 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11863 * gst/gstcaps.c: (gst_caps_do_simplify):
11864 Thou shalt not free a structure and then continue using it
11865 in the next loop iteration.
11867 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
11869 Add test case for caps simplification.
11871 2005-09-29 Wim Taymans <wim@fluendo.com>
11873 * check/gst/gstbin.c: (GST_START_TEST):
11876 2005-09-29 Wim Taymans <wim@fluendo.com>
11878 * check/gst/gstbin.c: (GST_START_TEST):
11881 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
11882 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11883 (find_element), (gst_bin_sort_iterator_next),
11884 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11885 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11886 (gst_bin_change_state), (gst_bin_dispose):
11887 A bin does not have a bus, it gets the bus from the parent.
11889 * gst/gstelement.c: (gst_element_requires_clock),
11890 (gst_element_provides_clock), (gst_element_is_indexable),
11891 (gst_element_is_locked_state), (gst_element_change_state),
11892 (gst_element_set_bus_func):
11895 * gst/gstpipeline.c: (gst_pipeline_class_init),
11896 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
11897 The pipeline provides a bus.
11899 2005-09-28 Johan Dahlin <johan@gnome.org>
11901 * gst/gstmessage.c (gst_message_parse_state_changed): Use
11902 gst_structure_get_enum instead of gst_structure_get_int
11904 * gst/gststructure.c (gst_structure_get_enum): Impl.
11906 * gst/gststructure.h (gst_structure_get_enum): Add
11908 * docs/gst/gstreamer-sections.txt: Ditto
11910 * gst/gstmessage.c (gst_message_new_state_changed): Use
11911 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
11912 which does introspection.
11913 Reviewed by Christian Schaller
11915 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11917 * gst/gstinfo.c: (gst_debug_log_default):
11918 don't do dummy g_strdup()s
11919 * libs/gst/controller/gstcontroller.c:
11920 (on_object_controlled_property_changed),
11921 (gst_controlled_property_new), (gst_controller_new_valist),
11922 (gst_controller_new_list),
11923 (gst_controller_remove_properties_valist), (gst_controller_set),
11924 (gst_controller_get), (gst_controller_sync_values),
11925 (gst_controller_get_value_array), (_gst_controller_class_init),
11926 (gst_controller_get_type):
11927 * libs/gst/controller/gstcontroller.h:
11928 * libs/gst/controller/gstinterpolation.c:
11929 (gst_controlled_property_find_timed_value_node):
11930 convert // to /**/ comments
11932 2005-09-28 Wim Taymans <wim@fluendo.com>
11934 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
11935 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
11936 (gst_bus_sync_signal_handler):
11938 Added async-message and sync-message signals to the bus.
11939 Added helper BusFunc to emit signals for all posted messages.
11941 * gst/gstmessage.c: (gst_message_type_get_name),
11942 (gst_message_type_to_quark), (gst_message_get_type):
11943 * gst/gstmessage.h:
11944 Register quarks for message names.
11946 2005-09-28 Stefan Kost <ensonic@users.sf.net>
11948 * docs/libs/gstreamer-libs-sections.txt:
11949 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
11950 (gst_controller_new_list):
11951 * libs/gst/controller/gstcontroller.h:
11952 added another constructor for language bindings
11954 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
11956 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11960 * gst/gstinfo.c: (_gst_debug_init):
11961 slightly more readable color for refcount debugging
11963 2005-09-28 Wim Taymans <wim@fluendo.com>
11965 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
11966 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
11967 (find_element), (gst_bin_sort_iterator_next),
11968 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
11969 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
11970 (gst_bin_change_state), (gst_bin_dispose):
11971 Small doc fixes. get_clock -> provide_clock.
11973 * gst/gstelement.c: (gst_element_class_init),
11974 (gst_element_provides_clock), (gst_element_provide_clock),
11975 (gst_element_get_clock), (gst_element_commit_state),
11976 (gst_element_lost_state):
11977 * gst/gstelement.h:
11978 Make get/set_clock() symetric. Add provide_clock vmethod since
11979 that is actually what this function does.
11981 * gst/gstpipeline.c: (gst_pipeline_class_init),
11982 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
11983 (gst_pipeline_get_clock):
11984 get_clock -> provide_clock.
11986 2005-09-28 Andy Wingo <wingo@pobox.com>
11988 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
11989 lieu of real docs...
11991 * gst/elements/gstfdsrc.c: Cleaned up a bit.
11993 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
11995 * gst/elements/gstcapsfilter.c:
11996 * gst/elements/gstfakesink.c:
11997 * gst/elements/gstfakesrc.c:
11998 * gst/elements/gstfdsink.c:
11999 * gst/elements/gstfdsrc.c:
12000 * gst/elements/gstfilesink.c:
12001 * gst/elements/gstfilesrc.c:
12002 * gst/elements/gstidentity.c:
12003 * gst/elements/gsttee.c:
12004 * gst/elements/gsttypefindelement.c:
12005 Make element details static.
12007 2005-09-28 Wim Taymans <wim@fluendo.com>
12009 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12010 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12011 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12012 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12013 (gst_bin_change_state), (gst_bin_dispose):
12014 Some documentation updates.
12015 Clean up dispose handlers.
12017 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12018 * gst/gstpad.c: (gst_pad_dispose):
12019 Clean up dispose handler.
12021 * gst/gstpipeline.c: (gst_pipeline_change_state):
12022 Removed spurious UNLOCK.
12024 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12026 * docs/gst/gstreamer-sections.txt:
12027 * gst/base/gstbasesrc.h:
12028 * gst/gstelement.h:
12032 * gst/gstpipeline.c:
12033 * gst/gstpipeline.h:
12036 added two new functions to the docs
12037 documents all undocumented GstXXXFlags
12038 completed some incomplete docs
12040 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12042 * gst/gstbin.c: (gst_bin_dispose):
12043 * gst/gstelement.c: (gst_element_dispose):
12044 remove now useless and leaky resurrection code in dispose
12045 * gst/base/gstbasesrc.c: (gst_base_src_init):
12046 * gst/gstelementfactory.c: (gst_element_factory_create):
12047 * gst/gstobject.c: (gst_object_set_parent):
12050 2005-09-27 Wim Taymans <wim@fluendo.com>
12052 * docs/design/part-TODO.txt:
12055 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12056 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12057 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12058 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12059 (gst_bin_change_state):
12060 * gst/gstelement.h:
12061 Remove element variable, we keep element info in the iterator now.
12063 2005-09-27 Andy Wingo <wingo@pobox.com>
12065 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12068 2005-09-27 Wim Taymans <wim@fluendo.com>
12070 * check/gst/gstbin.c: (GST_START_TEST):
12071 Enable check that works now.
12073 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12074 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12075 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12076 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12077 (gst_bin_change_state):
12079 Redid the state change algorithm using a topological sort algo.
12080 Handles all cases correctly.
12081 Exposed iterator for state change order.
12083 * gst/gstelement.h:
12084 Temp storage for state changes. Need to get rid of this soon.
12086 2005-09-27 Wim Taymans <wim@fluendo.com>
12088 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12089 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12090 (link_fold_func), (gst_pad_proxy_setcaps):
12091 Leak fixes, the fold functions need to unref the passed object and
12092 _get_parent_*() returns ref to parent.
12094 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12096 * check/gst/gstbuffer.c: (test_make_writable):
12097 Plug leak in test case and fix 'make check-valgrind'
12099 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12101 * gst/gstbuffer.c: (gst_subbuffer_init):
12102 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12103 works correctly in all circumstances (we could have just copied
12104 the parent buffer's readonly flag, but conceptually it seems
12105 cleaner to mark all subbuffers as read-only). (based on patch
12106 by Alessandro Decina, #314710).
12108 * check/gst/gstbuffer.c: (create_read_only_buffer),
12109 (test_make_writable), (test_subbuffer_make_writable),
12111 Add some tests for gst_buffer_make_writable().
12113 2005-09-27 Wim Taymans <wim@fluendo.com>
12115 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12116 use gst_object_has_ancestor().
12118 * gst/gstobject.c: (gst_object_has_ancestor):
12120 gst_object_has_ancestor() copied from gstbin.c as it is a
12123 * tests/instantiate/create.c: (create_all_elements):
12124 * tests/lat.c: (handoff_src), (handoff_sink):
12125 * tests/sched/runxml.c: (main):
12126 * tests/seeking/seeking1.c: (main):
12127 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12129 Fix compilation of some tests.
12131 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12134 Remove comment. GST_TYPE_G_ERROR is here to stay,
12135 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12136 (#316961, #300610).
12138 2005-09-26 Wim Taymans <wim@fluendo.com>
12140 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12141 Added check that shows error in state change order.
12143 2005-09-26 Wim Taymans <wim@fluendo.com>
12145 * gst/gstbin.c: (gst_bin_change_state):
12146 Make state change function use 3 queues again, we were
12147 adding elements in the wrong order.
12149 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12152 * gst/gstpad.c: (gst_pad_dispose):
12153 Added some debug info first.
12155 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12157 * docs/design/draft-push-pull.txt:
12158 * docs/design/part-events.txt:
12159 * docs/design/part-overview.txt:
12160 * docs/design/part-scheduling.txt:
12161 Replace all _pull_region() with _pull_range()
12163 2005-09-26 Andy Wingo <wingo@pobox.com>
12165 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12167 * check/gst-libs/controller.c: Update for controller api change.
12170 * tests/Makefile.am:
12171 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12172 over by GLib bug 118439.
12174 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12175 routines to a function.
12177 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12179 * libs/gst/controller/gsthelper.c:
12180 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12181 (gst_object_sync_values): Renamed from sink_values. Ugh.
12183 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12185 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12186 Renamed from controller_key, as it is exported.
12188 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12190 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12195 * gst/gstpadtemplate.h:
12198 * gst/gstqueryutils.c:
12199 * gst/gstqueryutils.h:
12200 remove queryutils headers after moving the two used functions
12201 to gstquery. also fixes build problem for gstsiddec
12203 2005-09-26 Michael Smith <msmith@fluendo.com>
12205 * tools/gst-launch.1.in:
12206 Correct documentation in manpage of debug syntax
12208 2005-09-26 Wim Taymans <wim@fluendo.com>
12210 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12211 (gst_base_src_is_seekable), (gst_base_src_change_state):
12212 Some more debugging info.
12214 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12216 * docs/gst/gstreamer-sections.txt:
12217 * gst/base/gstbasetransform.h:
12221 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12223 * docs/gst/.cvsignore:
12224 * docs/gst/tmpl/.cvsignore:
12225 * docs/gst/tmpl/gstpipeline.sgml:
12226 * docs/gst/tmpl/gstplugin.sgml:
12227 * gst/gstpipeline.c:
12230 inlined the last two docs files
12231 removed the tmpl directory from cvs (no more conflicts here!)
12233 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12235 * docs/gst/gstreamer-sections.txt:
12236 * docs/gst/tmpl/.cvsignore:
12237 * docs/gst/tmpl/gstpad.sgml:
12238 * docs/gst/tmpl/gstpadtemplate.sgml:
12240 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12241 (gst_pad_finalize), (gst_pad_set_pad_template):
12243 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12244 (gst_pad_template_class_init), (gst_pad_template_init),
12245 (gst_pad_template_dispose), (name_is_valid),
12246 (gst_static_pad_template_get), (gst_pad_template_new),
12247 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12248 (gst_pad_template_pad_created):
12249 * gst/gstpadtemplate.h:
12250 inlined two more docs
12251 factored gstpadtemplate out of gstpad
12253 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12255 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12256 (test_children_state_change_order_semi_sink):
12257 Fix test case: we can't rely on a fixed state change order when
12258 going from READY => PAUSED because the sink might commit its
12259 new state first when the first buffer created by the source
12260 reaches the sink before the source has finished its change state.
12261 (Test case still fails at times, see #316856, comment 5 onwards)
12263 2005-09-24 Wim Taymans <wim@fluendo.com>
12265 * docs/design/part-events.txt:
12266 * docs/design/part-gstbus.txt:
12267 * docs/design/part-gstpipeline.txt:
12268 * docs/design/part-messages.txt:
12269 * docs/design/part-overview.txt:
12270 * docs/design/part-segments.txt:
12274 * gst/gstelement.c:
12277 * gst/gstiterator.c:
12278 Various documentation updates.
12280 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12283 Well, that's embarassing. Luckily we weren't using
12284 GST_CLOCK_DIFF anywhere.
12286 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12288 * common/gtk-doc.mak:
12289 don't fail on building XML, FC4 slave shows a bunch of doc
12290 missing bits that I don't get
12292 * gst/gstpipeline.c:
12293 * gst/gststructure.c:
12296 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12298 * docs/design/part-gstbin.txt:
12299 * docs/design/part-gstbus.txt:
12301 Add blurb about how the bus goes into flushing mode and
12302 drops all messages when its bin goes from READY into NULL
12305 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * docs/gst/gstreamer-sections.txt:
12308 * gst/gststructure.c: (gst_structure_get_clock_time):
12309 * gst/gststructure.h:
12310 add a method to get a GstClockTime out of a structure
12312 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12314 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12315 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12316 Added test to check state change order in bins (can still be made
12317 to fail here under heavy disk load; bails out with 'Push on pad
12318 fakesink:sink0, but it was not activated in push mode').
12320 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12321 Fix state change order when there is only a semi sink (#316856)
12323 * gst/gstbus.c: (gst_bus_class_init):
12324 Use _class_peek_parent(), not _class_ref(); fix docs to say
12325 'default main context' instead of 'mainloop' where that is
12328 * gst/gstelement.c: (gst_element_commit_state),
12329 (gst_element_set_state):
12330 Fix typos in debug messages
12332 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12335 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12336 * gst/gstpluginfeature.c:
12338 various doc updates
12339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12340 change an assert into an error until it gets fixed properly
12342 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12344 * docs/gst/gstreamer-sections.txt:
12345 * docs/gst/tmpl/.cvsignore:
12346 * docs/gst/tmpl/gstelement.sgml:
12347 * docs/gst/tmpl/gstinfo.sgml:
12348 * docs/gst/tmpl/gstobject.sgml:
12349 * gst/gstelement.c:
12350 * gst/gstelement.h:
12353 * gst/gstobject.c: (gst_object_class_init):
12355 inlined 3 more biiiig doc files and added some missing docs on the fly
12357 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12359 * check/gst/.cvsignore:
12360 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12361 * gst/gstregistryxml.c: (load_plugin),
12362 (gst_registry_xml_save_plugin):
12363 put back source in registry. add checks for find_plugin.
12364 * testsuite/states/bin.c: (assert_state), (empty_bin),
12365 (test_adding_one_element), (main):
12366 * testsuite/states/locked.c: (main):
12367 some compile/run fixes
12369 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12371 * check/gst/gstvalue.c: (GST_START_TEST):
12372 fix leaks in the test itself
12374 2005-09-22 Wim Taymans <wim@fluendo.com>
12376 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12377 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12378 (gst_base_sink_query):
12379 Prepare for more accurate position reporting and query
12382 * gst/gstelement.c: (gst_element_send_event),
12383 (gst_element_set_state):
12386 2005-09-22 Wim Taymans <wim@fluendo.com>
12388 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12389 (gst_query_parse_segment):
12391 More documentation.
12392 Add segment query for future use.
12394 2005-09-22 Wim Taymans <wim@fluendo.com>
12396 * gst/gstbin.c: (gst_bin_add_func):
12397 Some more debug info.
12399 * gst/gstelement.c: (gst_element_send_event):
12400 Simplify send_event
12402 * gst/gstelement.h:
12403 Don't know how flags got broken.
12408 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12410 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12411 Add simplistic test suite for GST_TYPE_DATE serialisation and
12414 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12416 * docs/gst/gstreamer-sections.txt:
12417 * gst/gststructure.c: (gst_structure_set_valist),
12418 (gst_structure_get_date):
12419 * gst/gststructure.h:
12420 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12421 (gst_date_copy), (gst_value_compare_date),
12422 (gst_value_serialize_date), (gst_value_deserialize_date),
12423 (gst_value_transform_date_string),
12424 (gst_value_transform_string_date), (_gst_value_initialize):
12426 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12427 bunch of utility functions along with a hack that checks that
12428 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12429 is required. Part of the grand scheme in #170777.
12431 2005-09-22 Andy Wingo <wingo@pobox.com>
12433 * gst/gstconfig.h.in: Psych out gtk-doc.
12435 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12437 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12439 * tools/gst-inspect.c (print_element_list): Plug some
12440 inconsequential leaks.
12442 * gst/gstregistry.c (gst_registry_get_default): Doc.
12444 * check/gst/gstplugin.c:
12445 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12446 * gst/gstelementfactory.c (gst_element_factory_create):
12447 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12450 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12451 (gst_plugin_feature_load): Doc, don't eat refs.
12453 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12454 (gst_plugin_list_free): Doc.
12455 (gst_plugin_load_file): Doc updates.
12457 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12458 accessors returning refcounted objects, return a ref.
12460 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12461 accessor for caps. IDEMPOTENCE. Oh yes.
12463 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12465 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12467 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12468 (_gst_debug_register_funcptr):
12469 Add mutex to serialise access to the hash table with
12470 the function pointer => function name string mapping;
12471 make that hash table static scope (#316809).
12473 * gst/registries/.cvsignore:
12474 Remove left-over file.
12476 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12478 * docs/pwg/appendix-porting.xml:
12479 And something about newsegment events and caps-on-buffers to
12480 the porting guide (feel free to improve).
12482 2005-09-21 Andy Wingo <wingo@pobox.com>
12484 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12485 data and event probes on the same pad.
12486 (test_buffer_probe_once): Test that removing probes from within
12487 the probe functions works.
12489 2005-09-21 Andy Wingo <wingo@pobox.com>
12491 * check/gst/gstutils.c: New file.
12492 (test_buffer_probe_n_times): A simple buffer probe test. More to
12495 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12496 have-data::buffer, not have-data.
12497 (gst_pad_add_event_probe): Likewise for have-data::event.
12498 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12499 peer' isn't quite right yet though.
12500 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12501 (gst_pad_remove_data_probe): Change to take the guint handler_id
12502 as their arg, not the function+data, which is more glib-like.
12504 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12505 the signal emission to indicate if the data is a buffer or an
12507 (gst_pad_get_type): Initialize buffer and event quarks.
12508 (gst_pad_class_init): have-data is now a detailed signal, yes it
12511 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12513 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12514 * gst/gstutils.c: (gst_util_set_value_from_string),
12515 (gst_util_set_object_arg):
12516 Don't put functional code in g_return_if_fail() or
12517 g_return_val_if_fail() statements, otherwise things will
12518 break when G_DISABLE_CHECKS is defined during compilation.
12520 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12522 * docs/gst/tmpl/.cvsignore:
12523 * docs/gst/tmpl/gstvalue.sgml:
12526 inlied another one and added some obvious docs
12528 2005-09-21 Wim Taymans <wim@fluendo.com>
12530 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12531 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12532 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12533 (gst_fdsrc_get_property), (gst_fdsrc_create):
12534 * gst/elements/gstfdsrc.h:
12535 Properly implement fdsrc. Removed signal and timeout,
12536 better implemented somewhere else.
12538 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12540 * docs/gst/tmpl/.cvsignore:
12541 * docs/gst/tmpl/gstimplementsinterface.sgml:
12542 * gst/gstinterface.c:
12545 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12547 * docs/gst/gstreamer-sections.txt:
12548 * docs/gst/tmpl/.cvsignore:
12549 * docs/gst/tmpl/gstenumtypes.sgml:
12550 remove obsolete doc file
12552 2005-09-21 David Schleef <ds@schleef.org>
12554 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12555 little beer, fix a little leak.
12557 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12559 * docs/gst/gstreamer-docs.sgml:
12560 * docs/gst/gstreamer-sections.txt:
12561 * docs/gst/tmpl/.cvsignore:
12565 * gst/gstelement.h:
12566 * gst/gstindex.c: (gst_index_class_init):
12568 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12569 (gst_index_factory_class_init), (gst_index_factory_init),
12570 (gst_index_factory_finalize), (gst_index_factory_new),
12571 (gst_index_factory_destroy), (gst_index_factory_find),
12572 (gst_index_factory_create), (gst_index_factory_make):
12573 * gst/gstindexfactory.h:
12574 * gst/gstpluginfeature.c:
12575 * gst/gstpluginfeature.h:
12576 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12577 more docs inlined, splitted gstindex.{c,h}
12579 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12581 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12584 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12586 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12587 Set sync to FALSE by default.
12589 2005-09-20 Wim Taymans <wim@fluendo.com>
12591 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12592 (gst_base_sink_init):
12593 Make sync property settable from subclass.
12595 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12596 (gst_fake_sink_change_state):
12597 Set sync to FALSE by default.
12599 2005-09-20 Wim Taymans <wim@fluendo.com>
12601 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12602 * tools/gst-launch.c: (main):
12603 The timeout handler should have lower priority than the source
12604 so we don't timeout before popping a message with 0 timeout.
12605 Dump error messages after failed state change.
12607 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12609 * tools/gst-inspect.c: (print_element_properties_info):
12612 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12614 * check/gst/gstevent.c:
12615 * gst/elements/gstfakesink.c:
12616 * gst/elements/gstfakesink.h:
12617 remove the sync property from fakesink.
12618 has the side effect of setting sync TRUE
12619 for fakesink, which is a change. Anyone who knows how
12620 to fix this nicely in a GObject-y way, feel free.
12622 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12624 * docs/gst/gstreamer-docs.sgml:
12625 remove probe refsection
12627 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12629 * check/Makefile.am:
12630 disable valgrinding the controller test again
12631 * docs/gst/gstreamer-sections.txt:
12632 update for api-changes
12634 2005-09-20 Wim Taymans <wim@fluendo.com>
12636 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12637 (gst_base_sink_set_property), (gst_base_sink_get_property),
12638 (gst_base_sink_do_sync):
12639 * gst/base/gstbasesink.h:
12640 Added sync property to basesink to disable clock sync.
12642 2005-09-20 Andy Wingo <wingo@pobox.com>
12644 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12645 eating the caller's refcount.
12647 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12648 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12651 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12652 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12653 of GLib 2.8 public, so we can know which refcount to check in
12656 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12657 (gst_object_init): Only set the gst refcount if we're going ahead
12658 with the refcount hack.
12660 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12662 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12663 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12664 more leaks plumbed, added more debug-logging
12668 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12670 * gst/gstmessage.c:
12671 remove include of gstmemchunk.h
12673 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12675 * gst/gstclock.c: (_gst_clock_id_free):
12676 Commit from the Political Party For More Atomic CVS Commits,
12677 so that people don't waste too much of their day fishing
12678 out obvious leaks out of massive commits.
12679 Oh, and fix a pretty damn obvious leak in the memchunk
12682 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12684 * check/Makefile.am:
12685 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12686 plug mem-leak, re-add to valgrindable tests
12688 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12691 unbreak the build for those who have chronic arthritis
12692 and typing "make check" is just too taxing on the hands
12694 2005-09-20 Andy Wingo <wingo@pobox.com>
12696 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12697 really want it out, you should fix plugins at the same time.
12699 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12702 * docs/gst/gstreamer-sections.txt:
12704 added missing symbols to api docs
12705 disable ref-count hack if we have glib >= 2.8
12707 2005-09-19 David Schleef <ds@schleef.org>
12709 * docs/gst/Makefile.am: Ignore a few more internal headers
12710 * docs/gst/gstreamer-docs.sgml: Remove old sections
12711 * docs/gst/gstreamer-sections.txt: Remove old sections
12712 * docs/gst/tmpl/gstobject.sgml: update
12713 * docs/gst/tmpl/gstplugin.sgml: update
12714 * docs/gst/tmpl/gstpluginfeature.sgml: update
12715 * docs/random/ds/0.9-suggested-changes: update.
12716 * gst/Makefile.am: remove memchunk and trashstack, since they're
12718 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12719 * gst/gst.h: don't include some headers
12720 * gst/gstchildproxy.c: add gstmarshal.h
12721 * gst/gstclock.c: Don't use memchunks
12722 * gst/gstminiobject.c: Add some docs
12723 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12724 * gst/gstobject.h: same
12725 * gst/gstplugin.c: include gstmacros.h
12726 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12727 * gst/gstquery.c: don't use memchunks
12728 * gst/gstregistry.c: rename gst_registry_deinit()
12729 * gst/gstregistry.h: same
12731 2005-09-19 David Schleef <ds@schleef.org>
12733 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12734 * docs/libs/gstreamer-libs-sections.txt:
12735 * docs/libs/tmpl/gstgetbits.sgml:
12736 * docs/libs/tmpl/gstputbits.sgml:
12738 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12740 * win32/gstenumtypes.c:
12741 * win32/gstenumtypes.h:
12744 2005-09-19 Wim Taymans <wim@fluendo.com>
12746 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12747 Automatically PAUSE and RESUME a pipeline when a flushing seek
12750 2005-09-19 Andy Wingo <wingo@pobox.com>
12752 * gst/gstregistry.h: Spacing fixen.
12754 2005-09-19 Wim Taymans <wim@fluendo.com>
12756 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12757 Handle state change failure more correctly.
12759 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12761 * check/Makefile.am:
12762 * check/pipelines/cleanup.c: (run_pipeline):
12763 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12765 enable cleanup again after fixing the leak
12767 some more info on docs
12769 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12771 * check/Makefile.am:
12772 re-enable tests now that leaks are plugged
12774 * check/gst/gstbin.c:
12775 * check/gst/gstpipeline.c:
12776 add some more tests while fixing leaks
12777 * common/check.mak:
12778 make sure binaries are uptodate when valgrinding/gdbing
12780 * gst/gstelementfactory.c:
12781 remove a ref too many, and add a FIXME for when we get
12782 round to disposing of classes
12784 fix the refcounting when loading a plugin from a file and
12785 the code pretends that the pointer is the same even though
12786 of course it can change
12787 * gst/gstpluginfeature.c:
12788 unref plugins marked cached (a bit confusing as a name)
12789 as the docs state should be done
12790 various doc additions to explain refcounting
12791 * gst/gstregistry.c:
12792 * gst/gstregistryxml.c:
12795 2005-09-19 Wim Taymans <wim@fluendo.com>
12797 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12798 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12799 (send_messages), (GST_START_TEST), (gstbus_suite):
12800 * check/gst/gstpipeline.c: (GST_START_TEST):
12801 * check/pipelines/cleanup.c: (run_pipeline):
12802 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12804 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12805 (gst_bus_source_check), (gst_bus_source_dispatch),
12806 (gst_bus_create_watch), (gst_bus_add_watch_full),
12807 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12809 * tools/gst-launch.c: (event_loop):
12810 * tools/gst-md5sum.c: (event_loop):
12811 GstBusHandler -> GstBusFunc, return value has the same meaning as
12812 any other GSource (FALSE == remove source).
12813 _add_watch() and _add_watch_full() now take a MessageType mask to
12814 only handle specific types of messages.
12815 _poll() returns the GstMessage instead of the message type to avoid
12817 _have_pending() takes a MessageType mask now too.
12818 Added testsuite for multiple bus watches.
12819 Fix testsuites and applications for new bus API.
12821 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12823 * check/Makefile.am:
12824 mark a bunch of the tests as to fix until we fix them
12826 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12828 * common/check.mak:
12829 use GST_PLUGIN settings for valgrind tests as well, so we're
12830 valgrinding the correct thing
12831 * gst/gst.c: (init_post):
12834 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12836 * gst/gst.c: (init_post), (gst_deinit):
12837 * gst/gstelementfactory.c: (gst_element_factory_class_init),
12838 (gst_element_factory_finalize), (gst_element_factory_cleanup):
12839 * gst/gstindex.c: (gst_index_factory_class_init),
12840 (gst_index_factory_finalize):
12841 * gst/gstobject.c: (gst_object_dispose):
12842 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
12843 (gst_plugin_load_file), (gst_plugin_desc_free):
12844 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
12845 (gst_plugin_feature_finalize):
12846 * gst/gstregistry.c: (gst_registry_class_init),
12847 (gst_registry_init), (gst_registry_finalize),
12848 (gst_registry_get_default), (gst_registry_deinit):
12849 * gst/gstregistry.h:
12850 * gst/gstregistryxml.c: (load_feature), (load_plugin):
12851 various cleanups and memleak plugging. make valgrind is happy now.
12853 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12855 * common/check.mak:
12856 add a check-valgrind target
12858 2005-09-18 David Schleef <ds@schleef.org>
12860 * tools/gst-inspect.c: Revert the GOption code.
12862 2005-09-17 David Schleef <ds@schleef.org>
12864 * check/Makefile.am: Fix environment variables.
12865 * check/gst/gstplugin.c: Fix for API changes.
12866 * tools/gst-inspect.c: Fix for API changes.
12867 * tools/gst-xmlinspect.c: Fix for API changes.
12868 * gst/gstelementfactory.c:
12871 * gst/gstpluginfeature.c:
12872 * gst/gstpluginfeature.h:
12873 * gst/gstregistry.c:
12874 * gst/gstregistry.h:
12875 * gst/gstregistryxml.c:
12876 * gst/gsttypefind.c:
12877 * gst/gsttypefindfactory.c:
12878 * gst/indexers/gstfileindex.c:
12879 * gst/indexers/gstmemindex.c:
12880 * gst/schedulers/Makefile.am:
12881 Change registry to keep track of both plugins and features,
12882 removing the feature tracking from plugins themselves.
12884 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
12886 * check/Makefile.am:
12887 * tools/gst-register.1.in:
12888 remove gst-register
12890 2005-09-15 David Schleef <ds@schleef.org>
12892 * check/gst/gstplugin.c:
12893 * gst/gstelementfactory.c:
12895 * gst/gstpluginfeature.c:
12896 * gst/gstregistry.c:
12897 Getting tired of debugging. Disabled all the unreffing of
12898 plugins and features, which fixes the segfaults, but of
12899 course leaks like crazy. At least playbin works.
12901 2005-09-15 David Schleef <ds@schleef.org>
12903 * check/gst/gstplugin.c: (register_check_elements),
12904 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
12906 * gst/elements/gsttypefindelement.c: Fix refcounting.
12907 * gst/gsttypefind.c:
12908 * gst/gsttypefindfactory.c:
12909 * gst/gsttypefindfactory.h:
12911 2005-09-15 David Schleef <ds@schleef.org>
12913 * gst/gstindex.c: get refcounting correct.
12914 * gst/gstregistry.c: Handle the case where a feature/plugin is
12917 2005-09-15 David Schleef <ds@schleef.org>
12919 * check/Makefile.am:
12920 * check/gst/gstplugin.c: Add test
12921 * gst/gstplugin.c: Fix problems noticed by testsuite
12923 * gst/gstregistry.c:
12924 * gst/gstregistry.h:
12926 2005-09-15 David Schleef <ds@schleef.org>
12928 * gst/gstplugin.c: Implement semi-decent recounting and locking
12929 in plugins and plugin features.
12931 * gst/gstpluginfeature.c:
12932 * gst/gstpluginfeature.h:
12933 * gst/gstregistry.c:
12935 2005-09-15 Michael Smith <msmith@fluendo.com>
12937 * gst/gstregistry.c: (gst_registry_get_feature_list):
12938 Implement this. Makes oggdemux work; decodebin still broken.
12940 2005-09-14 David Schleef <ds@schleef.org>
12942 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
12944 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
12945 * gst/check/Makefile.am:
12946 * libs/gst/controller/Makefile.am:
12947 * libs/gst/dataprotocol/Makefile.am:
12949 2005-09-14 David Schleef <ds@schleef.org>
12951 * configure.ac: Remove getbits library. Nothing uses it, and
12952 it should be in something like liboil if someone did want
12954 * libs/gst/Makefile.am:
12955 * libs/gst/getbits/Makefile.am:
12956 * libs/gst/getbits/gbtest.c:
12957 * libs/gst/getbits/getbits.c:
12958 * libs/gst/getbits/getbits.h:
12959 * libs/gst/getbits/gstgetbits_generic.c:
12960 * libs/gst/getbits/gstgetbits_i386.s:
12961 * libs/gst/getbits/gstgetbits_inl.h:
12963 2005-09-14 David Schleef <ds@schleef.org>
12965 * gst/Makefile.am: Dist glib-compat.h
12967 2005-09-14 David Schleef <ds@schleef.org>
12969 * configure.ac: Remove gst/registries, since it's no longer used.
12970 * gst/registries/Makefile.am:
12971 * gst/registries/gstlibxmlregistry.c:
12972 * gst/registries/gstlibxmlregistry.h:
12973 * gst/registries/gstxmlregistry.c:
12974 * gst/registries/gstxmlregistry.h:
12975 * gst/registries/registrytest.c:
12977 2005-09-14 David Schleef <ds@schleef.org>
12979 * gst/glib-compat.h:
12980 * gst/gstregistryxml.c:
12981 Convergence is near. Seriously.
12983 2005-09-14 David Schleef <ds@schleef.org>
12985 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12986 * gst/glib-compat.h:
12987 Attempt #4 to appease the buildbots.
12989 2005-09-14 David Schleef <ds@schleef.org>
12991 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12994 2005-09-14 David Schleef <ds@schleef.org>
12996 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
12999 2005-09-14 David Schleef <ds@schleef.org>
13001 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13004 2005-09-14 David Schleef <ds@schleef.org>
13006 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13007 * gst/glib-compat.h: Add some functions that are in newer versions
13008 of glib than we care to require.
13009 * gst/gstregistryxml.c: Use them.
13011 2005-09-14 David Schleef <ds@schleef.org>
13013 * po/POTFILES.in: remove gst-register.c
13015 2005-09-14 David Schleef <ds@schleef.org>
13017 * docs/gst/gstreamer-docs.sgml:
13018 * docs/gst/gstreamer-sections.txt:
13019 * docs/gst/gstreamer.types:
13020 * docs/gst/tmpl/gstelement.sgml:
13021 * docs/gst/tmpl/gstplugin.sgml:
13022 * docs/gst/tmpl/gstpluginfeature.sgml:
13023 Documentation updates for registry changes.
13025 2005-09-14 David Schleef <ds@schleef.org>
13027 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13028 because we don't require glib-2.8.
13030 2005-09-14 David Schleef <ds@schleef.org>
13032 * gst/gstregistryxml.c: Added. Essentially moved out of the
13033 registries directory.
13035 2005-09-14 David Schleef <ds@schleef.org>
13037 * check/Makefile.am:
13038 * check/generic/states.c:
13042 * gst/gst_private.h:
13043 * gst/gstelementfactory.c:
13048 * gst/gstpluginfeature.c:
13049 * gst/gstpluginfeature.h:
13050 * gst/gstregistry.c:
13051 * gst/gstregistry.h:
13052 * gst/gstregistrypool.c: remove
13053 * gst/gstregistrypool.h: remove
13054 * gst/gsttypefind.c:
13055 * gst/gsttypefindfactory.c:
13057 * tools/Makefile.am:
13058 * tools/gst-compprep.c:
13059 * tools/gst-inspect.c:
13060 * tools/gst-register.c: remove
13061 * tools/gst-xmlinspect.c:
13062 Registry rewrite. Changes registry from being a file created
13063 by a tool into a simple cache file created automatically by
13064 libgstreamer. Removed gst-register (because it's no longer
13065 needed). Remove registry pools, because we only have one
13066 registry implementation (XML). Fix up other subsystems as
13069 2005-09-13 Michael Smith <msmith@fluendo.com>
13071 * gst/gstconfig.h.in:
13072 Don't Use windows linking attributes for MinGW. Fixes #316157
13074 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13076 * gst/gstutils.c: (set_state_async_thread_func),
13077 (gst_element_set_state_async):
13078 Apparently people think it's better if this function doesn't
13079 try to set the state to whatever state was asked for on the first
13080 call to this function for any object. Seriously.
13082 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13084 * check/gst/gstpipeline.c: (GST_START_TEST):
13085 * docs/gst/gstreamer-sections.txt:
13086 * gst/gstutils.c: (set_state_async_thread_func),
13087 (gst_element_set_state_async):
13089 add a "gst_element_set_state_async" method that
13090 sets the state and starts a thread to make sure the state
13091 change completes as best as it can
13093 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13095 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13096 codify design+behaviour in testsuite after discussion
13098 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13100 * docs/gst/tmpl/gstelement.sgml:
13101 * docs/manual/appendix-quotes.xml:
13103 * gst/gstelement.c: (gst_element_set_state):
13106 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13108 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13109 (gst_base_transform_prepare_output_buf),
13110 (gst_base_transform_handle_buffer):
13111 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13112 (gst_capsfilter_prepare_buf):
13113 Remove the requirement for sub-classes to call the parent
13114 implementation of prepare_output_buffer with a wrapper function.
13116 * gst/gsttaglist.h:
13117 * gst/gsttagsetter.h:
13118 Fix #define wrapper
13120 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13122 * docs/gst/gstreamer-sections.txt:
13125 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13127 * docs/gst/gstreamer-sections.txt:
13128 * docs/gst/tmpl/gstelement.sgml:
13129 * docs/gst/tmpl/gstplugin.sgml:
13130 * gst/gstminiobject.c:
13132 docs now stop throwing warnings
13134 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13136 * docs/gst/gstreamer-sections.txt:
13137 * docs/gst/gstreamer.types:
13138 * docs/gst/tmpl/gstpad.sgml:
13139 * docs/gst/tmpl/gsttypes.sgml:
13140 * gst/base/gstadapter.h:
13141 * gst/base/gstbasesink.h:
13142 * gst/base/gstbasesrc.h:
13148 * gst/gstelement.h:
13150 * gst/gstmessage.h:
13152 * gst/gststructure.c:
13153 * gst/registries/gstlibxmlregistry.h:
13154 various documentation fixes
13156 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13158 * docs/gst/gstreamer-sections.txt:
13159 * docs/gst/tmpl/gstvalue.sgml:
13160 rearrange gstvalue section
13161 * gst/gstutils.c: (gst_element_state_get_name):
13163 * gst/gstvalue.c: (_gst_value_initialize):
13167 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13169 * check/gst-libs/controller.c:
13170 Header include fix.
13171 * gst/base/gstbasetransform.c:
13172 (gst_base_transform_default_prepare_buf),
13173 (gst_base_transform_handle_buffer):
13174 * gst/base/gstbasetransform.h:
13175 Some more basetransform changes and fixes to enable sub-classes
13176 that modify buffer metadata only.
13177 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13178 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13179 (gst_capsfilter_prepare_buf):
13180 If the output pad has fixed allowed caps and input buffers
13181 don't have any, set the fixed caps on outgoing buffers.
13183 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13184 * check/elements/identity.c: (GST_START_TEST):
13185 Make the error a little clearer when the test fails because
13186 identity made a copy of the buffer.
13187 * docs/gst/gstreamer-sections.txt:
13188 New symbols in gstbasetransform.h
13189 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13190 (gst_base_transform_init), (gst_base_transform_transform_size),
13191 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13192 (gst_base_transform_default_prepare_buf),
13193 (gst_base_transform_get_unit_size),
13194 (gst_base_transform_buffer_alloc),
13195 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13196 (gst_base_transform_change_state),
13197 (gst_base_transform_set_passthrough),
13198 (gst_base_transform_set_in_place),
13199 (gst_base_transform_is_in_place):
13200 * gst/base/gstbasetransform.h:
13201 Change BaseTransform to separate in_place operate from same_caps
13202 output. in_place implies that the element can perform the transform
13203 on incoming buffers in-place, even if the caps on the output are
13205 Sub-class elements can now implement special buffer allocation
13206 methods for outgoing buffers if they wish to.
13207 Big documentation addition.
13208 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13209 * gst/elements/gstelements.c:
13210 Changes for basetransform modifications.
13211 * gst/elements/Makefile.am:
13212 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13213 Compile fix. Extra debug output.
13215 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13217 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13219 add tests for valid pad naming
13220 * gst/check/gstcheck.c: (gst_check_log_message_func),
13221 (gst_check_log_critical_func):
13223 remove printing of code, it is fragile when the code contains
13224 % and the line number is enough info
13225 * gst/check/gstcheck.h:
13226 * gst/gstpad.c: (gst_pad_template_new):
13229 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13232 say what CHECK flags we use
13233 * docs/libs/gstreamer-libs.types:
13234 * libs/gst/controller/Makefile.am:
13235 * libs/gst/controller/gst-controller.c:
13236 * libs/gst/controller/gst-controller.h:
13237 * libs/gst/controller/gst-helper.c:
13238 * libs/gst/controller/gst-interpolation.c:
13239 * libs/gst/controller/gstcontroller.c:
13240 * libs/gst/controller/gsthelper.c:
13241 * libs/gst/controller/gstinterpolation.c:
13242 * tools/gst-inspect.c: (print_plugin_info):
13243 we don't use dashes in header names
13245 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13247 * check/Makefile.am:
13248 * check/gst/.cvsignore:
13249 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13250 (gst_pipeline_suite), (main):
13251 adding a test for pipelines and state changes
13252 * gst/gstutils.c: (get_state_func):
13254 * gstreamer.spec.in:
13257 2005-09-08 Michael Smith <msmith@fluendo.com>
13259 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13260 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13261 (gst_file_src_is_seekable), (gst_file_src_get_size),
13262 (gst_file_src_start):
13263 * gst/elements/gstfilesrc.h:
13264 Various fixes for unseekable, unmmapable, and non-normal files, so
13265 that fallback to read() rather than mmap() works.
13266 * gst/gstevent.c: (gst_event_new_newsegment):
13267 Allow newsegment events with segment_start == segment_end, as will
13268 correctly happen if you use filesrc on a zero-size file, for
13271 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13273 * gst/gstplugin.c: (gst_plugin_load_file):
13274 Call g_module_close when we don't load the module
13276 * gst/registries/gstlibxmlregistry.c:
13277 (gst_xml_registry_get_property):
13278 Port leak fix from 0.8
13280 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13282 * docs/gst/gstreamer-docs.sgml:
13283 * docs/gst/tmpl/.cvsignore:
13284 * docs/gst/tmpl/gsttrace.sgml:
13285 * docs/gst/tmpl/gsttrashstack.sgml:
13288 * gst/gstelement.h:
13290 * gst/gstmessage.c:
13291 * gst/gstmessage.h:
13294 * gst/gsttaginterface.c:
13295 * gst/gsttaginterface.h:
13296 * gst/gsttaglist.c:
13297 * gst/gsttaglist.h:
13298 * gst/gsttagsetter.c:
13299 * gst/gsttagsetter.h:
13302 * gst/gsttrashstack.c:
13303 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13304 inlined docs for gsttrace, gsttrashstack
13306 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13309 * gst/elements/gstbufferstore.h:
13310 * gst/elements/gsttypefindelement.c:
13311 * gst/elements/gsttypefindelement.h:
13313 * gst/gsttypefind.c:
13314 * gst/gsttypefind.h:
13315 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13316 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13317 (gst_type_find_factory_dispose),
13318 (gst_type_find_factory_unload_thyself),
13319 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13320 (gst_type_find_factory_get_caps),
13321 (gst_type_find_factory_get_extensions),
13322 (gst_type_find_factory_call_function):
13323 * gst/gsttypefindfactory.h:
13324 * gst/registries/gstlibxmlregistry.c:
13325 * gst/registries/gstxmlregistry.c:
13326 splitted gsttypefind into gsttypefind, gsttypefindfactory
13328 2005-09-07 Andy Wingo <wingo@pobox.com>
13330 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13331 condition whereby the pad's task function is entered before the
13332 pad_mode variable was set.
13334 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13336 * gst/gstpad.c: (gst_pad_alloc_buffer):
13337 Catch misbehaving pad_alloc functions that don't
13338 set up caps and do it for them.
13340 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13342 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13343 test for pipe!=NULL
13344 * docs/gst/tmpl/.cvsignore:
13345 * docs/gst/tmpl/gstmemchunk.sgml:
13346 * docs/gst/tmpl/gstparse.sgml:
13347 * docs/gst/tmpl/gsttaglist.sgml:
13348 * docs/gst/tmpl/gsttagsetter.sgml:
13349 * docs/gst/tmpl/gsttypefind.sgml:
13350 * docs/gst/tmpl/gsttypefindfactory.sgml:
13351 * gst/gstmemchunk.c:
13354 * gst/gsttaginterface.c:
13355 * gst/gsttypefind.c:
13356 * gst/gsttypefind.h:
13359 === release 0.9.2 ===
13361 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13366 releasing 0.9.2, "South"
13368 2005-09-05 Andy Wingo <wingo@pobox.com>
13370 * gst/registries/gstxmlregistry.h:
13371 * gst/registries/gstxmlregistry.c: Um... resurrect...
13373 * gst/registries/gstxmlregistry.h:
13374 * gst/registries/gstxmlregistry.c: and update to newer API.
13375 Incidentally they should be a bit faster now that they don't have
13378 2005-09-05 Andy Wingo <wingo@pobox.com>
13380 * gst/registries/gstxmlregistry.h:
13381 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13382 replaced by the libxml registry a while back
13384 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13386 * docs/gst/tmpl/gstplugin.sgml:
13387 * gst/elements/gstelements.c:
13389 * gst/gstplugin.c: (gst_plugin_register_func),
13390 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13391 (gst_plugin_get_source):
13393 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13394 (gst_xml_registry_save_plugin):
13395 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13396 (gst_xml_registry_save_plugin):
13397 * tools/gst-inspect.c: (print_plugin_info):
13398 add a "source" plugin description field, to represent the source
13399 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13400 will set it to PACKAGE, which is automake's idea of the name of
13401 the source project.
13403 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13408 * docs/Makefile.am:
13409 * docs/faq/Makefile.am:
13410 * docs/gst/tmpl/gstelement.sgml:
13411 * docs/gst/tmpl/gsttypes.sgml:
13412 * docs/htmlinstall.mak:
13413 * docs/manual/Makefile.am:
13414 * docs/pwg/Makefile.am:
13415 reorganize doc build a little
13416 split out docbook and gtk-doc stuff
13417 have two separate --enable's and enable them through autogen
13418 but disable by default in configure (to be similar to other
13420 * gstreamer.spec.in:
13421 clean up docs install
13439 translation updates
13441 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13443 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13446 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13447 (gst_fake_sink_change_state):
13448 Make state change function thread-safe.
13450 * gst/gstpad.c: (gst_pad_alloc_buffer):
13451 Set offset on generic buffer allocated by fallback.
13453 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13455 * docs/gst/gstreamer-sections.txt:
13456 * docs/gst/tmpl/gstelement.sgml:
13458 * libs/gst/controller/gst-controller.c:
13459 (gst_controlled_property_set_interpolation_mode),
13460 (gst_controlled_property_new),
13461 (gst_controller_find_controlled_property):
13462 run the wingo-magic script against the docs
13464 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13466 * docs/gst/gstreamer-docs.sgml:
13467 * docs/gst/gstreamer-sections.txt:
13468 * docs/gst/tmpl/.cvsignore:
13469 * docs/gst/tmpl/gstelementdetails.sgml:
13470 * docs/gst/tmpl/gstelementfactory.sgml:
13473 * gst/gstelementfactory.c:
13474 * gst/gstelementfactory.h:
13475 merged elementdetails docs into elementfactory docs
13478 2005-09-02 Andy Wingo <wingo@pobox.com>
13480 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13481 consider this enum an enum and not a flags.
13483 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13485 * docs/gst/gstreamer-docs.sgml:
13486 * docs/gst/tmpl/.cvsignore:
13487 * docs/gst/tmpl/gstghostpad.sgml:
13488 * docs/gst/tmpl/gstiterator.sgml:
13489 * docs/gst/tmpl/gstmacros.sgml:
13490 * docs/gst/tmpl/gstrealpad.sgml:
13491 * docs/gst/tmpl/gstregistry.sgml:
13492 * docs/gst/tmpl/gstregistrypool.sgml:
13493 * docs/gst/tmpl/gststructure.sgml:
13494 * docs/gst/tmpl/gstsystemclock.sgml:
13495 * docs/gst/tmpl/gsttrace.sgml:
13496 * gst/gstghostpad.c:
13498 * gst/gstmemchunk.c:
13499 * gst/gstmemchunk.h:
13501 * gst/gstregistry.c:
13502 * gst/gstregistrypool.c:
13503 * gst/gststructure.c:
13504 * gst/gstsystemclock.c:
13507 2005-09-02 Andy Wingo <wingo@pobox.com>
13509 * gst/gstelement.h (GstState): Renamed from GstElementState,
13510 changed to be a normal enum instead of flags.
13511 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13512 munged to be GST_STATE_CHANGE_*.
13513 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13514 work with the new state representation.
13515 (GstStateChange): New enumeration of possible state transitions.
13516 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13517 (GstElementClass::change_state): Pass the GstStateChange along as
13518 an argument. Helps language bindings, so they don't have to use
13519 tricky lock-needing macros like GST_STATE_CHANGE ().
13521 * scripts/update-states (file): New script. Run it on a file to
13522 update it for state naming and API changes. Updates files in
13525 * All files updated for the new API.
13527 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13529 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13530 * gst/gstutils.c: (gst_util_set_value_from_string),
13531 (gst_util_set_object_arg):
13532 fix a bunch of unchecked return values
13533 * tools/gst-complete.c: (main):
13534 * gstreamer.spec.in:
13537 2005-09-01 Wim Taymans <wim@fluendo.com>
13539 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13540 (gst_base_sink_event), (gst_base_sink_do_sync),
13541 (gst_base_sink_handle_event):
13542 * gst/base/gstbasesink.h:
13543 Handle newsegments more correctly.
13548 * gst/gstevent.c: (gst_event_new_newsegment):
13549 A newsegment cannot have a start_time of -1
13551 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13553 * win32/gstenumtypes.c:
13554 * win32/gstenumtypes.h:
13557 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13559 * libs/gst/controller/gst-controller.c:
13560 (gst_controlled_property_set_interpolation_mode),
13561 (gst_controlled_property_new):
13562 fixed boolean again
13564 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13566 * docs/faq/gst-uninstalled:
13571 * gst/gstutils.c: (gst_element_link_filtered):
13573 add gst_element_link_filtered
13575 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13577 * docs/gst/gstreamer-docs.sgml:
13578 * docs/gst/gstreamer-sections.txt:
13579 * docs/gst/tmpl/.cvsignore:
13580 * docs/gst/tmpl/gsterror.sgml:
13581 * docs/gst/tmpl/gstfilter.sgml:
13582 * docs/gst/tmpl/gsturihandler.sgml:
13583 * docs/gst/tmpl/gsturitype.sgml:
13584 * docs/gst/tmpl/gstutils.sgml:
13585 * docs/gst/tmpl/gstxml.sgml:
13590 * gst/gsturitype.c:
13593 inlined more docs, fixed double id-ref
13595 2005-08-31 Wim Taymans <wim@fluendo.com>
13597 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13598 (gst_base_transform_handle_buffer):
13599 Passthrough elements don't need the caps as they don't care.
13601 2005-08-31 Wim Taymans <wim@fluendo.com>
13603 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13604 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13605 Don't leak refcounts on buffers.
13607 2005-08-31 Wim Taymans <wim@fluendo.com>
13609 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13610 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13611 (gst_base_transform_chain), (gst_base_transform_change_state):
13612 * gst/base/gstbasetransform.h:
13613 Handle the case where we are not negotiated more gracefully.
13615 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13617 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13618 (gst_file_src_map_region):
13619 Set READONLY flag on mmap'ed buffers, otherwise
13620 gst_buffer_make_writable() won't work properly (#314708).
13622 2005-08-31 Wim Taymans <wim@fluendo.com>
13624 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13625 passthrough elements can even do inplace on non writable
13626 buffers (as they don't touch them).
13628 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13630 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13631 (gst_test_mono_source_set_property),
13632 (gst_test_mono_source_class_init), (GST_START_TEST),
13633 (gst_controller_suite):
13634 more tests (hehe I have the most)
13636 describe popping messages whenusing mulltiple sources
13637 * libs/gst/controller/gst-controller.c:
13638 (gst_controlled_property_set_interpolation_mode),
13639 (gst_controlled_property_new):
13640 * libs/gst/controller/gst-controller.h:
13641 * libs/gst/controller/gst-interpolation.c:
13642 implement boolean properties
13644 2005-08-31 Wim Taymans <wim@fluendo.com>
13646 * gst/gstminiobject.c: (gst_mini_object_ref):
13647 Cannot assert that the refcount has to be positive
13648 since a disposed object can be resurrected.
13650 2005-08-31 Wim Taymans <wim@fluendo.com>
13652 * gst/gstpad.c: (gst_pad_init):
13653 Revert change, need to first fix badly behaving
13656 2005-08-30 Wim Taymans <wim@fluendo.com>
13658 * check/elements/fakesrc.c: (setup_fakesrc):
13659 * check/elements/identity.c: (setup_identity):
13660 Activate pads before using them.
13662 2005-08-30 Wim Taymans <wim@fluendo.com>
13664 * gst/base/gstadapter.c: (gst_adapter_flush):
13665 Flushing out 0 bytes is ok for this function.
13667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13668 no newsegment gives a warning and sets the start/stop to
13671 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13672 (gst_base_transform_set_passthrough):
13675 * gst/gstminiobject.c: (gst_mini_object_ref):
13676 Check refcount here too.
13678 * gst/gstpad.c: (gst_pad_init):
13679 Pads are initially flushing and refusing data.
13681 * gst/gstutils.c: (gst_element_link_pads_filtered):
13682 When adding a capsfilter element make sure it has the
13683 same state as the parent bin.
13685 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13687 * docs/gst/tmpl/.cvsignore:
13688 * docs/gst/tmpl/gstformat.sgml:
13689 * docs/gst/tmpl/gstversion.sgml:
13693 * gst/gstversion.h.in:
13694 more docs and two more inlined
13696 2005-08-30 Wim Taymans <wim@fluendo.com>
13698 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13699 Don't sync to clock.
13701 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13703 * docs/gst/gstreamer-sections.txt:
13704 ultral33t func10ns deserve to appear in the docs actually
13705 * docs/gst/tmpl/.cvsignore:
13706 * docs/gst/tmpl/gstcompat.sgml:
13707 * docs/gst/tmpl/gstconfig.sgml:
13708 * gst/check/gstcheck.c:
13710 * gst/gstconfig.h.in:
13713 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13715 * docs/gst/tmpl/.cvsignore:
13716 * docs/gst/tmpl/gstquery.sgml:
13717 * docs/gst/tmpl/gstutils.sgml:
13720 inlined and extended docs
13722 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13724 * check/gst-libs/controller.c: (GST_START_TEST),
13725 (gst_controller_suite):
13727 * docs/gst/tmpl/gstutils.sgml:
13728 * docs/libs/gstreamer-libs-sections.txt:
13729 * docs/libs/tmpl/gstdataprotocol.sgml:
13731 * examples/controller/audio-example.c: (main):
13732 controller example works now
13735 * tools/gst-inspect.c: (print_element_properties_info):
13736 show param spec flags
13738 2005-08-29 Andy Wingo <wingo@pobox.com>
13740 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13742 2005-08-28 Andy Wingo <wingo@pobox.com>
13744 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13745 as having two arguments instead of just one. Allows superclasses
13746 to access information on subclasses -- see the terrible for() loop
13747 in gtype.c:g_type_create_instance for the reason why. All callers
13750 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13752 * docs/design/part-messages.txt:
13754 * docs/gst/tmpl/.cvsignore:
13755 * docs/gst/tmpl/gstcaps.sgml:
13756 * docs/gst/tmpl/gstclock.sgml:
13762 * gst/gstmessage.c:
13763 added descriptions for bus and message
13764 inline caps and clock docs
13766 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13768 * gst/gstmessage.c:
13769 * gst/gstmessage.h:
13772 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13774 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13777 2005-08-26 Andy Wingo <wingo@pobox.com>
13779 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13780 element_set_state's return val.
13781 (test_2_elements): Add test that's been disabled for months.
13783 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13784 can-activate-pull properties.
13786 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13787 can-activate-pull properties. Implement is_seekable so fakesrc can
13788 operate in pull mode.
13790 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13792 (gst_base_sink_activate, gst_base_sink_activate_pull)
13793 (gst_base_sink_activate_push): Make activation mode choosing work.
13795 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13796 is right. Make pull mode work. Post an eos before pausing in pull
13798 (gst_base_sink_change_state): Pay attention to the core's
13799 change_state() return val.
13801 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13802 has-getrange properties. Cleanups.
13804 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13805 has_getrange and replace with can_activate_pull and
13808 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13809 locking comments. Remove has_loop, has_chain and replace with
13810 can_activate_pull and can_activate_push.
13812 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
13815 * examples/Makefile.am:
13816 * examples/metadata/Makefile.am:
13817 * examples/metadata/read-metadata.c: (message_loop),
13818 (have_pad_handler), (make_pipeline), (print_tag), (main):
13819 Add metadata reading example that loops over a list of filenames,
13820 dumping any tags found.
13822 * gst/gstbus.c: (gst_bus_dispose):
13823 * gst/gstelement.c: (gst_element_dispose):
13824 Release a few potentially-held references in dispose.
13826 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13828 * docs/gst/tmpl/gstminiobject.sgml:
13829 do *not* add tmpl/*.sgml files to CVS!
13831 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13833 * libs/gst/bytestream/.cvsignore:
13834 * libs/gst/bytestream/Makefile.am:
13835 * libs/gst/bytestream/adapter.c:
13836 * libs/gst/bytestream/adapter.h:
13837 * libs/gst/bytestream/bytestream.c:
13838 * libs/gst/bytestream/bytestream.h:
13839 * libs/gst/bytestream/filepad.c:
13840 * libs/gst/bytestream/filepad.h:
13841 removing obsolete files
13843 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13845 * docs/gst/gstreamer-docs.sgml:
13846 * docs/libs/gstreamer-libs-docs.sgml:
13847 disabed additional index entries again, as this makes docs-gen just
13848 slow and they aren't useful yet
13849 * docs/libs/gstreamer-libs-sections.txt:
13850 little -section.txt cleanup for libs
13852 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
13854 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13855 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
13856 fix up some debugging
13857 (gst_base_transform_get_unit_size),
13858 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13859 (gst_base_transform_handle_buffer):
13860 * gst/base/gstbasetransform.h:
13861 handle and store timed NEWSEGMENT events so that subclasses that
13862 calculate time by counting samples have a segment_start time they
13863 need to add to their timestamps - see audioresample
13865 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13868 removed ';' from the end of macro defs
13869 * docs/gst/gstreamer-docs.sgml:
13870 * docs/gst/gstreamer-sections.txt:
13871 * docs/gst/tmpl/.cvsignore:
13873 * gst/gstelement.c: (gst_element_class_init),
13874 (gst_element_set_state), (activate_pads),
13875 (gst_element_save_thyself):
13876 * gst/gstevent.c: (gst_event_new_newsegment):
13878 * gst/gstiterator.c:
13879 * gst/gstiterator.h:
13882 * gst/gstutils.c: (gst_pad_query_convert):
13884 fixed parameter name mismatches between source, header and docs
13885 added some more docs, resolved the last batch of unused elements in
13886 docs (now someone needs to doc them)
13888 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13890 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
13891 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
13892 don't walk through the plugins backwards. Where is all this
13893 reversed logic coming from ?
13895 2005-08-25 Wim Taymans <wim@fluendo.com>
13897 * gst/base/gstbasetransform.c: (gst_base_transform_init),
13898 (gst_base_transform_transform_size),
13899 (gst_base_transform_configure_caps),
13900 (gst_base_transform_get_unit_size),
13901 (gst_base_transform_buffer_alloc),
13902 (gst_base_transform_change_state):
13903 * gst/base/gstbasetransform.h:
13904 Cache caps unit_size.
13905 Make sure we cannot negotiate up and downstream at the
13908 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13910 * gst/gst.c: (init_pre), (init_post):
13911 register the installed plugin path after the env var
13912 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
13913 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
13914 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
13915 directories, so the tests can prefer uninstalled over installed
13917 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
13919 * gst/base/gstbasetransform.h:
13924 2005-08-25 Wim Taymans <wim@fluendo.com>
13926 * gst/gstbin.c: (bin_bus_handler):
13927 Be a bit more conservative about the posted message.
13929 * gst/gstbus.c: (gst_bus_post):
13930 Some cleanups, warn wrong return values.
13932 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
13934 * check/gst/gstbin.c: (GST_START_TEST):
13935 * gst/gstbin.c: (bin_bus_handler):
13936 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
13937 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
13938 (gst_message_new_warning), (gst_message_new_tag),
13939 (gst_message_new_state_changed), (gst_message_new_segment_start),
13940 (gst_message_new_segment_done), (gst_message_new_custom):
13941 * gst/gstmessage.h:
13942 * tools/gst-launch.c: (event_loop):
13943 * tools/gst-md5sum.c: (event_loop):
13944 Revert unpopular change for GST_MESSAGE_SRC to GObject.
13946 2005-08-25 Wim Taymans <wim@fluendo.com>
13948 * check/generic/states.c: (GST_START_TEST):
13949 Cleanup can be done at the end.
13951 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
13952 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13953 (gst_task_get_state), (gst_task_start), (gst_task_pause):
13954 Oh boy.. Thanks for finding this, Thomas.
13956 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13958 * docs/gst/gstreamer.types:
13959 added missing types
13961 2005-08-25 Stefan Kost <ensonic@users.sf.net>
13963 * docs/gst/gstreamer-docs.sgml:
13964 * docs/gst/gstreamer-sections.txt:
13965 * docs/gst/tmpl/.cvsignore:
13967 * gst/gstiterator.c:
13969 * gst/registries/gstxmlregistry.h:
13970 added missing classes and symbols (123 more to go)
13971 removed removed symbols from section file
13972 fixed many doc-comments
13974 2005-08-24 Wim Taymans <wim@fluendo.com>
13976 * check/generic/states.c: (GST_START_TEST):
13977 Make sure all tasks are stopped.
13979 * check/gst/gstbin.c: (GST_START_TEST):
13980 Unref after usage for proper valgrinding.
13982 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
13983 Really wait for the task to stop before destroying the
13986 * gst/gstqueue.c: (gst_queue_sink_activate_push),
13987 (gst_queue_src_activate_push):
13988 Small cleanups. Don't stop the task when we did not start
13991 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
13992 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
13993 (gst_task_get_state), (gst_task_start), (gst_task_pause),
13996 Protect the stream lock with the object lock.
13997 Disallow setting the stream lock when running.
13998 Add cleanup_all to wait for the threadpool to finish.
13999 Remove code to autoallocate a mutex if none was provided.
14000 Add _join() to wait for a task to stop.
14001 Protect the thread pool with a global lock.
14003 2005-08-24 Wim Taymans <wim@fluendo.com>
14005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14006 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14007 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14008 * gst/base/gstbasesink.h:
14009 Handle newsegment events correctly.
14010 Drop buffers out of the segment range.
14012 2005-08-22 Andy Wingo <wingo@pobox.com>
14014 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14015 macro, implements an interface and gstimplementsinterface for a
14018 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14020 * check/Makefile.am:
14021 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14022 add a test that does a bunch of state changes on elements
14023 needs some fixing for valgrind
14024 * check/states/sinks.c: (gst_object_suite):
14027 add prototype for gst_caps_is_equal_fixed
14029 * gst/gstregistrypool.c:
14032 2005-08-24 Andy Wingo <wingo@pobox.com>
14034 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14035 convert a negative value. Doesn't make much sense. Mostly this is
14036 here to force callers to ensure -1 maps to -1.
14038 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14040 * docs/pwg/advanced-types.xml:
14041 Well done to Michael for catching my deliberate introduction
14042 of this spelling mistake.
14043 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14044 * gst/gstelement.h:
14045 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14046 unlink pads before removing the element from the bin.
14048 2005-08-24 Andy Wingo <wingo@pobox.com>
14050 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14051 the same thing as GST_DEBUG=*:4.
14052 (parse_debug_level, parse_debug_category): New helper parsers.
14054 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14056 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14057 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14058 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14059 (gst_base_transform_buffer_alloc),
14060 (gst_base_transform_handle_buffer):
14061 use gboolean return values and pointers to size so we can use the
14062 full GST_BUFFER_SIZE range (guint) for buffer sizes
14063 use GstPadDirection for transform_caps
14064 * gst/base/gstbasetransform.h:
14065 rename get_size to get_unit_size since that's what it is
14066 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14067 use GstPadDirection for transform_caps
14068 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14070 cleanup and debugging
14072 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14074 * gst/gstelement.c: (gst_element_class_init),
14075 (gst_element_set_state), (activate_pads),
14076 (gst_element_save_thyself):
14077 * tools/gst-compprep.c: (main):
14078 * tools/gst-inspect.c: (print_element_properties_info):
14079 * tools/gst-xmlinspect.c: (print_element_properties):
14080 Fixed long standing mem-leak
14082 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14084 * check/gst/gstbin.c: (GST_START_TEST):
14085 * gst/gstbin.c: (bin_bus_handler):
14086 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14087 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14088 (gst_message_new_warning), (gst_message_new_tag),
14089 (gst_message_new_state_changed), (gst_message_new_segment_start),
14090 (gst_message_new_segment_done), (gst_message_new_custom):
14091 * gst/gstmessage.h:
14092 * tools/gst-launch.c: (event_loop):
14093 * tools/gst-md5sum.c: (event_loop):
14094 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14095 that applications can sensibly post custom messages with references
14096 to their own objects.
14098 2005-08-24 Andy Wingo <wingo@pobox.com>
14100 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14103 2005-08-24 Wim Taymans <wim@fluendo.com>
14105 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14106 (gst_base_transform_transform_caps),
14107 (gst_base_transform_transform_size),
14108 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14109 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14110 (gst_base_transform_handle_buffer):
14111 * gst/base/gstbasetransform.h:
14112 Many fixes and new features added by Thomas. Can now also do
14113 transforms with variable sizes and a custom fixate_caps function.
14115 2005-08-24 Wim Taymans <wim@fluendo.com>
14117 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14121 Cast to ClockTime before formatting to time.
14126 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14128 * check/gst-libs/controller.c: (GST_START_TEST),
14129 (gst_controller_suite):
14130 * docs/gst/tmpl/gstcaps.sgml:
14131 * docs/gst/tmpl/gstghostpad.sgml:
14132 * docs/gst/tmpl/gstquery.sgml:
14133 * docs/gst/tmpl/gstutils.sgml:
14134 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14135 (gst_object_sink_values), (gst_object_get_value_arrays),
14136 (gst_object_get_value_array):
14137 gracefully handle helper method calls to objects that are not beeing
14138 controlled, added test case for that
14140 2005-08-23 Wim Taymans <wim@fluendo.com>
14142 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14143 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14144 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14145 (gst_event_parse_qos), (gst_event_new_seek),
14146 (gst_event_parse_seek):
14148 Some more debugging output and doc cleanups.
14150 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14151 Fix possible deadlock.
14153 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14155 * docs/gst/gstreamer-docs.sgml:
14156 * docs/gst/gstreamer-sections.txt:
14157 * docs/gst/gstreamer.types:
14158 * docs/gst/tmpl/.cvsignore:
14161 * gst/gstelement.c:
14163 added 100 symbols from gstreamer-unused.txt to the right sections
14164 fixed more broken comments
14165 added GstBus to docs
14167 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14169 * docs/gst/gstreamer-sections.txt:
14170 * docs/gst/tmpl/.cvsignore:
14171 * docs/gst/tmpl/gstbin.sgml:
14172 * docs/gst/tmpl/gstbuffer.sgml:
14173 * gst/base/gstbasesrc.c:
14174 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14177 * tools/gst-launch.1.in:
14178 inlined more doc comments, added missing comments and fixed comments
14181 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14183 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14187 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14189 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14190 * gst/gststructure.h:
14191 add a fixate function for booleans; add a FIXME that these func
14192 names should probably be gst_structure_fixate_*
14194 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14196 * docs/gst/gstreamer-docs.sgml:
14197 * docs/gst/gstreamer-sections.txt:
14199 * gst/gstbin.c: (gst_bin_get_type),
14200 (gst_bin_child_proxy_get_child_by_index),
14201 (gst_bin_child_proxy_get_children_count),
14202 (gst_bin_child_proxy_init):
14203 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14204 (gst_child_proxy_get_child_by_index),
14205 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14206 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14207 (gst_child_proxy_get), (gst_child_proxy_set_property),
14208 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14209 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14210 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14211 * gst/gstchildproxy.h:
14212 * gst/parse/grammar.y:
14213 * tools/gst-inspect.c: (print_interfaces),
14214 (print_element_properties_info), (print_element_info):
14215 ported gstchildproxy over from 0.8
14216 ported gst-inspect fixes and enhancements over from 0.8
14218 2005-08-22 Wim Taymans <wim@fluendo.com>
14220 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14221 (gst_base_transform_handle_buffer):
14222 Also call the transform function if we have ANY caps.
14224 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14227 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14229 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14230 Don't pretend to handle seek events if the source is not seekable
14232 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14235 Remove extra parameter to debug output
14237 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14238 (gst_base_src_do_seek), (gst_base_src_activate_push):
14239 Fix seek event handling.
14241 * gst/gstpipeline.c: (gst_pipeline_change_state):
14242 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14243 (gst_queue_src_activate_push):
14244 Don't start the src pad task on FLUSH_STOP if the pad
14248 2005-08-22 Wim Taymans <wim@fluendo.com>
14250 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14251 Added check for gst_static_caps_get() refcounting.
14253 2005-08-22 Wim Taymans <wim@fluendo.com>
14255 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14256 Make _static_caps_get() refcounting sane.
14258 * gst/gstelement.c: (gst_element_set_state):
14259 Add g_return_val_if_fail() to protect against segfaults.
14261 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14263 * docs/gst/tmpl/gstevent.sgml:
14266 inlined remaining docs, added missing doc comments
14268 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14270 * check/gst/gstbin.c: (GST_START_TEST):
14271 since we don't know when preroll is done, use refcount range
14273 * gst/check/gstcheck.h:
14274 add macro for checking refcount range
14276 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14278 * check/Makefile.am:
14279 clean up environment for when registry gets built versus
14280 when actual tests are run; valgrind seems to not report
14281 leaks if GST_PLUGIN_PATH is set to some specific values
14282 * check/gst/gstbin.c: (GST_START_TEST):
14283 add more refcounting checks; maybe this exposes a
14285 * common/check.mak:
14286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14287 * gst/check/gstcheck.h:
14288 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14289 (gst_bin_change_state):
14290 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14291 add/fix debugging/whitespace
14293 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14295 * check/gst/gstevent.c: (event_probe), (test_event),
14297 Er, don't call gst_bin_watch_for_state_change you idiot.
14299 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14301 * check/Makefile.am:
14302 Use CHECK_CFLAGS and CHECK_LIBS
14303 * check/gst/gstevent.c: (event_probe), (test_event),
14306 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14307 (gst_base_src_start), (gst_base_src_stop),
14308 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14309 (gst_base_src_change_state):
14310 Sprinkle gst_base_src_stop liberally around error paths to fix
14311 problems reusing a source after failed state changes.
14312 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14313 (helper_find_suggest), (gst_type_find_helper):
14314 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14316 * docs/gst/tmpl/gstevent.sgml:
14317 Migrate part of the docs from the SGML file. Wait for ensonic to
14318 tell me how I did it wrong ;)
14319 * tools/gst-typefind.c: (main):
14320 Extra robustness to state changes between files.
14322 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14324 * check/Makefile.am:
14325 don't valgrind the controller test - it's leaking - Stefan, HELP
14326 * gst/check/gstcheck.c: (gst_check_message_error),
14327 (gst_check_chain_func), (gst_check_setup_element),
14328 (gst_check_teardown_element), (gst_check_setup_src_pad),
14329 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14330 (gst_check_teardown_sink_pad):
14331 * gst/check/gstcheck.h:
14332 add a bunch of methods to set up elements, and src and sink pads
14333 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14334 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14337 * gst/gstmessage.c:
14339 whitespace/doc fixes
14341 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14343 * gst/gstelement.h:
14344 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14345 be handled by the application and not always printed as well
14347 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14349 * check/Makefile.am:
14351 * gst/check/gstcheck.c: (gst_check_message_error):
14352 * gst/check/gstcheck.h:
14353 add a fail_unless_equals_int
14354 add fail_unless for error messages
14356 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14358 * check/Makefile.am:
14360 * common/Makefile.am:
14361 * common/check.mak:
14363 factor out some of the common stuff so we can use it
14365 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14367 * check/Makefile.am:
14368 * check/gst/gstiterator.c: (GST_START_TEST):
14369 * check/gst/gstsystemclock.c: (GST_START_TEST),
14370 (gst_systemclock_suite):
14371 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14373 valgrind more tests
14375 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14377 * check/elements/.cvsignore:
14378 * check/elements/gstfakesrc.c:
14379 rename to name of element
14380 * check/elements/identity.c: (chain_func), (event_func),
14381 (setup_identity), (cleanup_identity), (GST_START_TEST),
14382 (identity_suite), (main):
14383 add a test for identity
14384 * check/Makefile.am:
14385 * pkgconfig/Makefile.am:
14386 * pkgconfig/gstreamer-check.pc.in:
14387 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14391 move the check stuff to a library that gets installed
14392 * check/gst-libs/controller.c: (GST_START_TEST):
14393 * check/gst-libs/gdp.c:
14394 * check/gst/gst.c: (GST_START_TEST):
14395 * check/gst/gstbin.c:
14396 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14397 * check/gst/gstbus.c:
14398 * check/gst/gstcaps.c: (GST_START_TEST):
14399 * check/gst/gstelement.c:
14400 * check/gst/gstghostpad.c:
14401 * check/gst/gstiterator.c:
14402 * check/gst/gstmessage.c:
14403 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14404 * check/gst/gstobject.c:
14405 * check/gst/gstpad.c: (GST_START_TEST):
14406 * check/gst/gststructure.c: (GST_START_TEST):
14407 * check/gst/gstsystemclock.c: (GST_START_TEST),
14408 (gst_systemclock_suite):
14409 * check/gst/gsttag.c: (gst_tag_suite):
14410 * check/gst/gstvalue.c:
14411 * check/pipelines/cleanup.c:
14412 * check/pipelines/simple_launch_lines.c:
14413 * check/states/sinks.c:
14414 change include statement
14416 * docs/gst/gstreamer-sections.txt:
14417 * docs/gst/tmpl/gstpad.sgml:
14418 document more pad stuff
14419 * gst/gstminiobject.c: (gst_mini_object_ref),
14420 (gst_mini_object_unref):
14423 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14425 * docs/gst/tmpl/gst.sgml:
14427 eliminate another tmpl file, fix spelling in the long-description
14429 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14431 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14432 (test_event), (timediff), (gstevents_suite):
14433 Should fix build on 64-bit arch's
14435 2005-08-18 Andy Wingo <wingo@pobox.com>
14437 Make sure that when a pipeline goes to PLAYING, that data has
14438 actually hit the sink.
14440 * check/states/sinks.c (test_sink): A sink that doesn't get any
14441 data shouldn't return SUCCESS for going to either PLAYING or
14442 PAUSED. Test also the return values on the way back down.
14444 * gst/gstelement.c (gst_element_set_state): When changing the
14445 state of an element currently changing state asynchronously, go to
14446 lost-state after commiting the pending state. Makes future calls
14447 to get_state continue to return ASYNC.
14449 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14450 ASYNC when going to PLAYING if we still don't have preroll, as can
14451 happen with live sources.
14453 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14455 * docs/pwg/advanced-types.xml:
14456 Hack long paragraph into 2 chunks as a workaround for buggy
14457 jadetex version in sid and breezy that loops infinitely and
14460 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14462 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14463 (test_event), (timediff), (gstevents_suite):
14464 Provide more error margin in clock measurements to allow for
14465 g_get_current_time inaccuracies.
14467 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14469 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14470 (test_event), (timediff), (gstevents_suite):
14471 Fix error message output so I might be able to tell why the
14472 test works here but fails on the build farm.
14474 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14476 * check/Makefile.am:
14477 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14478 (test_event), (timediff), (gstevents_suite), (main):
14481 * docs/design/part-seeking.txt:
14482 Spelling correction
14484 * docs/gst/tmpl/gstevent.sgml:
14485 * docs/gst/tmpl/gstfakesrc.sgml:
14488 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14489 Treat a buffer-without-newsegment the same as a receiving
14490 a newsegment not in time format, and disable syncing to the clock
14493 * gst/gstbus.c: (gst_bus_set_sync_handler):
14494 Assert if anyone tries to replace the existing sync_handler for bus,
14495 as only the owner should be setting it.
14498 Have a fixed set of custom event enums with events identified by
14499 their structure name (as in 0.8), rather than a free-for-all
14500 allowing collisions between enum values from different plugins.
14502 * gst/gstpad.c: (gst_pad_class_init):
14505 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14506 Handle out-of-band downstream events from the sending thread.
14508 2005-08-17 Andy Wingo <wingo@pobox.com>
14510 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14511 play-timeout==0 to mean no timeout at all. In that case, don't
14512 bother with a get_state or a warning, just return directly, even
14515 * gst/base/gstbasetransform.c: Debug changes.
14518 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14519 ensure bins post state change messages. A bit of a hack but I can't
14520 think of a way to avoid it.
14522 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14524 2005-08-16 Andy Wingo <wingo@pobox.com>
14526 * gst/base/gstadapter.h:
14527 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14528 peek() but you own the data. Not terribly efficient atm.
14530 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14532 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14533 (gst_element_found_tags):
14535 Add two utility functions for tag handling.
14537 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14539 * docs/manual/advanced-dataaccess.xml:
14540 * docs/manual/basics-helloworld.xml:
14541 Fix docs to use _bin_add() before _link(), which fixes the examples
14542 with recent core versions (reported by Madhan Raj M
14543 <raj_madan@rediffmail.com>, #313199).
14545 2005-08-16 Wim Taymans <wim@fluendo.com>
14547 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14548 Added subtract checks.
14550 * docs/design/part-events.txt:
14551 Some more docs about newsegment
14553 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14556 * gst/gstcaps.c: (gst_caps_to_string):
14557 Add comments, cleanups.
14559 * gst/gstelement.c: (gst_element_save_thyself):
14562 * gst/gstvalue.c: (gst_value_collect_int_range),
14563 (gst_string_unwrap), (gst_value_union_int_int_range),
14564 (gst_value_union_int_range_int_range),
14565 (gst_value_intersect_int_int_range),
14566 (gst_value_intersect_int_range_int_range),
14567 (gst_value_intersect_double_double_range),
14568 (gst_value_intersect_double_range_double_range),
14569 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14570 (gst_value_subtract_int_range_int),
14571 (gst_value_subtract_double_range_double),
14572 (gst_value_subtract_double_range_double_range),
14573 (gst_value_subtract_from_list), (gst_value_subtract_list),
14574 (gst_value_can_compare), (gst_value_compare_fraction):
14575 Cleanups, add comments, remove unneeded asserts.
14577 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14579 * tools/gst-launch.c: (event_loop):
14580 don't convert NULL structures to strings
14582 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14584 * docs/gst/gstreamer-sections.txt:
14585 made some defines private
14586 * docs/gst/tmpl/gstconfig.sgml:
14587 * docs/gst/tmpl/gstqueue.sgml:
14588 * docs/gst/tmpl/gsttaglist.sgml:
14589 * docs/gst/tmpl/gsttypes.sgml:
14590 * docs/gst/tmpl/gstutils.sgml:
14591 * docs/pwg/appendix-porting.xml:
14592 * gst/base/gstbasesink.h:
14593 * gst/base/gstbasesrc.c:
14594 * gst/base/gstbasesrc.h:
14595 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14596 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14597 * gst/gstelement.c: (gst_element_class_init):
14598 * gst/gstpad.c: (gst_pad_class_init):
14599 * gst/gstqueue.c: (gst_queue_class_init):
14600 * gst/gstxml.c: (gst_xml_class_init):
14601 documented all undocumented signal inline
14602 * libs/gst/controller/gst-controller.h:
14605 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14607 * docs/pwg/appendix-porting.xml:
14608 Document _set_link_function -> _set_setcaps_function.
14610 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14612 * check/Makefile.am:
14613 add a .check target for running the check
14614 * check/gst-libs/controller.c: (GST_START_TEST):
14616 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14617 complete checks for gstbuffer; would be nice if I could get the
14618 gcov stuff to work so I can see if I actually completed gstbuffer.c
14619 * check/gstcheck.h:
14620 add ASSERT_BUFFER_REFCOUNT
14622 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14624 * docs/gst/gstreamer-sections.txt:
14625 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14627 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14628 spew out a warning if a tag that is already registered
14629 is re-registered, unless it is re-registered with a
14630 different type (#308438).
14632 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14634 * docs/pwg/appendix-porting.xml:
14635 * docs/pwg/building-state.xml:
14636 Add some paragraphs about state changes in 0.9 to the PWG
14637 and the porting guide, in particular about the new meaning
14638 of GST_STATE_PAUSED and how to write state change functions
14639 with concurrent access by multiple threads in mind.
14641 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14643 * docs/gst/gstreamer-docs.sgml:
14644 * docs/libs/gstreamer-libs-docs.sgml:
14645 added deprecation and since indexes
14646 * libs/gst/controller/gst-controller.c:
14647 * libs/gst/controller/gst-helper.c:
14651 2005-08-11 Wim Taymans <wim@fluendo.com>
14653 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14654 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14655 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14656 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14657 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14658 (gst_ghost_pad_set_target):
14659 Actually implement (re)setting the target on a ghostpad
14660 as described in the docs.
14662 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14664 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14665 Check whether GST_DEBUG_NO_COLOR environment variable is
14666 set and disable coloured debug output if that is the case.
14668 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14670 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14671 (gst_type_find_helper):
14672 The memory returned by gst_type_find_peek() needs to
14673 stay valid until the end of a typefind function, and
14674 typefind functions may keep results from different
14675 offsets around, so we can't just unref the buffer from
14676 the previous _peek(), but have to save all buffers
14677 returned by _peek() until typefinding is done and only
14680 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14682 * docs/gst/gstreamer-sections.txt:
14684 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14686 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14688 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14689 Fix a pretty good memleak.
14691 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14693 * gst/gstiterator.h:
14694 Fix wrong include and 'make distcheck'.
14696 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14698 * gst/gstbin.c: (bin_bus_handler):
14699 Use gst_element_post_message() instead.
14701 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14703 * gst/base/gstadapter.h:
14704 * gst/base/gstbasesink.h:
14705 * gst/base/gstbasesrc.h:
14706 * gst/base/gstbasetransform.h:
14707 * gst/base/gstcollectpads.h:
14708 * gst/base/gstpushsrc.h:
14709 * gst/gstiterator.h:
14710 Add padding to our base elements' class and instance structs and
14711 to GstIterator (you will need to rebuild all plugins and apps!)
14713 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14715 * gst/gstbin.c: (bin_bus_handler):
14716 Make default message forwarding from child->bus to bin->bus
14717 threadsafe and make it not emit warnings if the parent has no bus.
14719 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14721 * gst/gstelement.c: (activate_pads):
14722 On paused->ready, set pad->caps to NULL, as is the documented
14723 behaviour in this state change. Fixes playback of series of
14724 media files when visualization is enabled in Totem.
14726 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14728 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14729 Allow NULL as filter-caps (which means "any").
14731 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14733 * docs/libs/gstreamer-libs-sections.txt:
14734 * libs/gst/controller/gst-controller.c:
14735 * libs/gst/controller/gst-controller.h:
14736 * libs/gst/controller/gst-helper.c:
14737 adding more entries to the docs and fix small doc-bugs
14739 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14741 * docs/gst/gstreamer-docs.sgml:
14742 * docs/gst/gstreamer-sections.txt:
14743 * docs/gst/gstreamer.types:
14744 * docs/gst/tmpl/gstbasesink.sgml:
14745 * docs/gst/tmpl/gstbasesrc.sgml:
14746 * docs/gst/tmpl/gstbasetransform.sgml:
14747 * docs/gst/tmpl/gstfakesrc.sgml:
14748 * gst/base/gstcollectpads.c:
14749 * gst/base/gstcollectpads.h:
14750 * libs/gst/controller/gst-controller.c:
14751 * libs/gst/controller/gst-controller.h:
14752 * libs/gst/controller/gst-helper.c:
14753 * libs/gst/controller/gst-interpolation.c:
14754 * libs/gst/controller/lib.c:
14755 added long/short desc for controller docs
14756 added collectpads base class docs
14757 added correct includes to base-class docs
14759 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14761 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14762 (gst_test_mono_source_set_property),
14763 (gst_test_mono_source_class_init), (GST_START_TEST),
14764 (gst_controller_suite):
14765 * docs/gst/gstreamer-docs.sgml:
14766 * docs/gst/gstreamer-sections.txt:
14767 * docs/gst/gstreamer.types:
14768 * docs/libs/gstreamer-libs-docs.sgml:
14769 * docs/libs/gstreamer-libs-sections.txt:
14770 * gst/base/gstadapter.c:
14771 * libs/gst/controller/gst-controller.c:
14772 (gst_controlled_property_new), (gst_controlled_property_free),
14773 (gst_controller_new_valist),
14774 (gst_controller_remove_properties_valist),
14775 (gst_controller_sink_values), (_gst_controller_finalize):
14776 * libs/gst/controller/gst-controller.h:
14777 * libs/gst/controller/gst-helper.c:
14778 (gst_object_control_properties), (gst_object_uncontrol_properties),
14779 (gst_object_get_controller), (gst_object_set_controller),
14780 (gst_object_sink_values), (gst_object_get_value_arrays),
14781 (gst_object_get_value_array):
14782 more tests (and fixes) for the controller
14783 more docs for the controller
14784 integrated companies docs for the adapter
14786 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
14788 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14789 (GST_START_TEST), (fakesrc_suite):
14790 add tests for sizetype
14792 2005-08-04 Andy Wingo <wingo@pobox.com>
14794 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14795 fixes buffer_alloc proxying among other things.
14797 * gst/base/gstbasetransform.c:
14798 * gst/base/gstbasetransform.h:
14799 Revert patch to gstbasetransform from 7-28 removing
14802 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14803 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14804 Semantics changed, should return not the size of the output buffer
14805 but the byte size of a buffer with a given caps.
14807 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14809 (gst_base_transform_configure_caps): Don't set out_size here: (in,
14810 out) are not the pad caps until setcaps finishes.
14811 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14812 not-in-place case as well. Deal with changing from in-place to
14813 not-in-place within calling pad_alloc_buffer. Still a bit
14814 concerned about the overhead here...
14816 2005-08-03 Andy Wingo <wingo@pobox.com>
14818 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14819 fixating is an error.
14821 2005-08-04 Edward Hervey <edward@fluendo.com>
14823 * gst/base/gstadapter.h:
14824 Added gst_adapter_get_type() to the header
14826 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14828 * check/Makefile.am:
14829 * check/gst-libs/controller.c:
14830 * libs/gst/controller/gst-controller.c:
14831 (gst_controller_new_valist):
14832 added check test suite for the controller
14833 * gst/base/gstpushsrc.c:
14836 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14838 * docs/gst/Makefile.am:
14839 * docs/gst/gstreamer-docs.sgml:
14840 * docs/gst/gstreamer-sections.txt:
14841 * docs/gst/gstreamer.types:
14842 * docs/gst/tmpl/gstfakesrc.sgml:
14844 * gst/base/gstbasesink.c:
14845 * gst/base/gstbasesink.h:
14846 * gst/base/gstbasesrc.c:
14847 * gst/base/gstbasesrc.h:
14848 * gst/base/gstbasetransform.c:
14849 * gst/base/gstpushsrc.c:
14850 * gst/base/gstpushsrc.h:
14851 add short/long description docs to base classes
14852 add pushsrc to the docs
14853 remove consolidated doc fragments
14855 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14858 * docs/libs/Makefile.am:
14859 * docs/libs/gstreamer-libs-docs.sgml:
14860 * docs/libs/gstreamer-libs-sections.txt:
14861 * docs/libs/gstreamer-libs.types:
14862 * examples/Makefile.am:
14863 * examples/controller/.cvsignore:
14864 * examples/controller/Makefile.am:
14865 * examples/controller/audio-example.c: (main):
14866 * libs/gst/Makefile.am:
14867 * libs/gst/controller/.cvsignore:
14868 * libs/gst/controller/Makefile.am:
14869 * libs/gst/controller/gst-controller.c:
14870 (on_object_controlled_property_changed), (gst_timed_value_compare),
14871 (gst_timed_value_find),
14872 (gst_controlled_property_set_interpolation_mode),
14873 (gst_controlled_property_new), (gst_controlled_property_free),
14874 (gst_controller_find_controlled_property),
14875 (gst_controller_new_valist), (gst_controller_new),
14876 (gst_controller_remove_properties_valist),
14877 (gst_controller_remove_properties), (gst_controller_set),
14878 (gst_controller_set_from_list), (gst_controller_unset),
14879 (gst_controller_get), (gst_controller_get_all),
14880 (gst_controller_sink_values), (gst_controller_get_value_arrays),
14881 (gst_controller_get_value_array),
14882 (gst_controller_set_interpolation_mode),
14883 (_gst_controller_finalize), (_gst_controller_init),
14884 (_gst_controller_class_init), (gst_controller_get_type):
14885 * libs/gst/controller/gst-controller.h:
14886 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
14887 (g_object_uncontrol_properties), (g_object_get_controller),
14888 (g_object_set_controller), (g_object_sink_values),
14889 (g_object_get_value_arrays), (g_object_get_value_array):
14890 * libs/gst/controller/gst-interpolation.c:
14891 (gst_controlled_property_find_timed_value_node),
14892 (interpolate_none_get), (interpolate_trigger_get),
14893 (interpolate_trigger_get_value_array):
14894 * libs/gst/controller/lib.c: (gst_controller_init):
14895 * pkgconfig/Makefile.am:
14896 * pkgconfig/gstreamer-control-uninstalled.pc.in:
14897 * pkgconfig/gstreamer-control.pc.in:
14898 * testsuite/Makefile.am:
14899 * testsuite/controller/.cvsignore:
14900 * testsuite/controller/Makefile.am:
14901 * testsuite/controller/interpolator.c: (main):
14902 added controller code
14903 removed dparam pc files
14905 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14906 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
14907 (gst_collectpads_stop):
14908 Broadcast the condition when shutting down, to make sure we wake all
14909 threads up. Shut down pads on finalize, for safety.
14911 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
14912 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14913 (gst_base_transform_handle_buffer),
14914 (gst_base_transform_change_state):
14915 Handle PAUSED->READY->PAUSED transition after negotiation
14917 * gst/gstmessage.c: (gst_message_init):
14918 Extra piece of debug for new messages.
14920 2005-08-01 Stefan Kost <ensonic@users.sf.net>
14923 * docs/gst/tmpl/gstbasesrc.sgml:
14924 * docs/gst/tmpl/gstelement.sgml:
14925 * docs/gst/tmpl/gstevent.sgml:
14926 * docs/gst/tmpl/gstfakesrc.sgml:
14927 * docs/gst/tmpl/gstformat.sgml:
14928 * docs/gst/tmpl/gstghostpad.sgml:
14929 * docs/gst/tmpl/gstpad.sgml:
14930 * docs/gst/tmpl/gstquery.sgml:
14931 * docs/gst/tmpl/gststructure.sgml:
14932 * docs/gst/tmpl/gsttaglist.sgml:
14933 * docs/gst/tmpl/gstvalue.sgml:
14934 * docs/libs/gstreamer-libs-docs.sgml:
14935 * docs/libs/gstreamer-libs-sections.txt:
14936 * docs/libs/gstreamer-libs.types:
14937 * libs/gst/Makefile.am:
14938 * libs/gst/control/.cvsignore:
14939 * libs/gst/control/Makefile.am:
14940 * libs/gst/control/control.c:
14941 * libs/gst/control/control.h:
14942 * libs/gst/control/dparam.c:
14943 * libs/gst/control/dparam.h:
14944 * libs/gst/control/dparam_smooth.c:
14945 * libs/gst/control/dparam_smooth.h:
14946 * libs/gst/control/dparamcommon.h:
14947 * libs/gst/control/dparammanager.c:
14948 * libs/gst/control/dparammanager.h:
14949 * libs/gst/control/dplinearinterp.c:
14950 * libs/gst/control/dplinearinterp.h:
14951 * libs/gst/control/unitconvert.c:
14952 * libs/gst/control/unitconvert.h:
14953 * testsuite/Makefile.am:
14954 * testsuite/dynparams/.cvsignore:
14955 * testsuite/dynparams/Makefile.am:
14956 * testsuite/dynparams/dparamstest.c:
14957 * tools/Makefile.am:
14958 * tools/gst-inspect.c: (print_element_info), (main):
14959 * tools/gst-xmlinspect.c: (print_element_info), (main):
14960 deactivate and remove dparams (libgstcontrol)
14962 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14964 * gst/elements/gsttypefindelement.c:
14965 (gst_type_find_element_have_type), (gst_type_find_element_init),
14966 (stop_typefinding), (gst_type_find_element_handle_event),
14967 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14968 * gst/elements/gsttypefindelement.h:
14969 Set caps on all outgoing buffers, not just the first one.
14971 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14973 * gst/elements/gsttypefindelement.c:
14974 (gst_type_find_element_have_type),
14975 (gst_type_find_element_check_set_buffer_caps),
14976 (gst_type_find_element_init), (stop_typefinding),
14977 (gst_type_find_element_handle_event),
14978 (gst_type_find_element_chain), (gst_type_find_element_getrange):
14979 * gst/elements/gsttypefindelement.h:
14980 Set caps on first outgoing buffer when we've found the type.
14982 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
14984 * docs/gst/gstreamer-docs.sgml:
14985 * docs/gst/gstreamer-sections.txt:
14986 * docs/gst/tmpl/gstscheduler.sgml:
14987 * docs/gst/tmpl/gstschedulerfactory.sgml:
14988 Remove some old cruft from docs.
14990 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
14993 Fix inline docs for GstPadLinkReturn.
14995 * gst/gststructure.c: (gst_structure_has_name):
14996 * gst/gststructure.h:
14997 * docs/gst/gstreamer-sections.txt:
14998 New API: gst_structure_has_name().
15000 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15003 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15004 and _LARGEFILE_SOURCE in config.h as required. Do not
15005 export those flags in our .pc files any longer (#142209).
15007 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15009 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15010 (gst_file_sink_do_seek), (gst_file_sink_event),
15011 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15012 Redo seek/tell calls with large file support in mind; add some
15013 debugging messages; add log message that tells us when large
15014 file support is unavailable or not enabled for some reason.
15016 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15017 Add log message that tells us when large file support
15018 is unavailable or not enabled for some reason.
15020 2005-07-29 Wim Taymans <wim@fluendo.com>
15022 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15023 Added test for removing an element with ghostpad from a bin.
15024 Fixed test as current implementation does the right thing.
15026 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15027 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15028 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15029 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15030 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15031 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15032 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15033 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15034 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15035 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15036 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15037 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15038 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15039 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15040 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15041 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15042 * gst/gstghostpad.h:
15043 Clean up ghostpads, remove properties for internal stuff.
15046 Prepare for switching targets, not all use cases work yet.
15048 2005-07-29 Wim Taymans <wim@fluendo.com>
15050 * docs/design/part-gstghostpad.txt:
15053 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15054 (gst_bin_remove_func):
15055 Unlinking pads while holding the bin LOCK is not a good
15058 * gst/gstpad.c: (gst_pad_class_init),
15059 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15060 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15061 No prob setting template after creating the pad.
15063 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15065 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15066 (gst_bus_peek), (gst_bus_source_dispatch),
15067 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15068 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15069 gst_bus_poll may be called from other threads. Handle
15070 this nicely by not making poll_data disappear off the
15071 stack once gst_bus_poll returns.
15072 gst_bus_peek now increments the refcount on the returned
15075 2005-07-29 Wim Taymans <wim@fluendo.com>
15077 * docs/design/part-gstghostpad.txt:
15078 Overview of current GhostPad datastructures and use
15079 cases for changing the target.
15081 2005-07-28 Wim Taymans <wim@fluendo.com>
15083 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15084 Added checks for hierarchy consistency whan adding linked
15087 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15088 Added check to test element scheduling without bin/pipeline.
15090 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15091 First add elements to bin, then link.
15093 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15094 (gst_bin_remove_func):
15095 Unlink pads from elements added/removed from bin to maintain
15096 hierarchy consistency.
15098 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15100 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15101 (gst_base_transform_handle_buffer):
15102 * gst/base/gstbasetransform.h:
15103 Remove broken delay_configure (fixes renegotiation of software
15104 scaling pipelines); remove some leftover printf()s.
15106 2005-07-28 Wim Taymans <wim@fluendo.com>
15108 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15109 Added some more tests for wrong hierarchy
15111 * docs/design/part-overview.txt:
15114 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15117 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15118 (gst_element_dispose):
15119 Some more cleanups.
15121 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15122 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15123 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15124 (gst_pad_set_caps), (gst_pad_send_event):
15125 Check for correct hierarchy when linking pads. Moving to
15126 strict requirement for ghostpads when linking elements in
15130 Clean ups. Added WRONG_HIERARCHY return value.
15132 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15134 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15135 Better debug if no transform is possible.
15137 2005-07-27 Wim Taymans <wim@fluendo.com>
15139 * docs/random/wtay/network-transp:
15140 Some old doc I had.
15142 2005-07-27 Wim Taymans <wim@fluendo.com>
15144 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15145 (gst_dp_event_from_packet):
15146 Fix serialization of seek events.
15148 2005-07-27 Wim Taymans <wim@fluendo.com>
15150 * check/gst-libs/gdp.c: (GST_START_TEST):
15151 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15152 Fix compilation and fix event serialization.
15154 2005-07-27 Wim Taymans <wim@fluendo.com>
15157 * docs/design/part-TODO.txt:
15158 * docs/design/part-events.txt:
15161 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15162 (gst_base_sink_event), (gst_base_sink_do_sync),
15163 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15164 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15165 (gst_base_src_do_seek), (gst_base_src_event_handler),
15166 (gst_base_src_loop):
15167 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15168 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15169 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15170 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15171 (gst_base_transform_set_passthrough),
15172 (gst_base_transform_is_passthrough):
15173 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15174 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15180 * gst/gstelement.c: (gst_element_seek):
15181 * gst/gstelement.h:
15182 Update gst_element_seek.
15184 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15185 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15186 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15187 (gst_event_new_eos), (gst_event_new_newsegment),
15188 (gst_event_parse_newsegment), (gst_event_new_tag),
15189 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15190 (gst_event_parse_qos), (gst_event_new_seek),
15191 (gst_event_parse_seek), (gst_event_new_navigation):
15193 Make GstEvent use GstStructure. Add parsing code, make sure the
15194 API is sufficiently generic.
15195 Mark possible directions of events and serialization.
15197 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15198 (_gst_message_copy), (gst_message_new_segment_start),
15199 (gst_message_new_segment_done), (gst_message_new_custom),
15200 (gst_message_parse_segment_start),
15201 (gst_message_parse_segment_done):
15204 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15205 (gst_pad_set_caps), (gst_pad_send_event):
15206 Update for new events.
15207 Catch events sent in wrong directions.
15209 * gst/gstqueue.c: (gst_queue_link_src),
15210 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15211 (gst_queue_handle_src_query):
15216 Remove event code from this file.
15218 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15219 (gst_dp_event_from_packet):
15222 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15224 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15225 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15226 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15227 Make debugging actually useful.
15229 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15231 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15232 (gst_pad_fixate_caps):
15233 Implement default fixation once again, so that gst_pad_fixate()
15234 actually does anything at all. This probably needs to be some
15235 sort of a last resort, and use profile-based fixation first, but
15236 since that doesn't exist yet, this is the best we have. Fixes
15237 visualization in Totem.
15239 2005-07-22 Wim Taymans <wim@fluendo.com>
15241 * docs/design/part-events.txt:
15244 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15245 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15246 (gst_base_sink_activate_pull):
15247 Some more comments.
15249 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15250 (gst_fake_src_create):
15251 Fix handoff marshall.
15253 * gst/elements/gstidentity.c: (gst_identity_class_init),
15254 (gst_identity_transform_ip):
15255 We're a real inplace element.
15257 * gst/gstbus.c: (gst_bus_post):
15258 Added some comments.
15260 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15261 * tests/muxing/case1.c: (main):
15262 * tests/sched/dynamic-pipeline.c: (main):
15263 * tests/sched/interrupt1.c: (main):
15264 * tests/sched/interrupt2.c: (main):
15265 * tests/sched/interrupt3.c: (main):
15266 * tests/sched/runxml.c: (main):
15267 * tests/sched/sched-stress.c: (main):
15268 * tests/seeking/seeking1.c: (event_received), (main):
15269 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15271 * tests/threadstate/threadstate3.c: (main):
15272 * tests/threadstate/threadstate4.c: (main):
15273 * tests/threadstate/threadstate5.c: (main):
15276 2005-07-21 Wim Taymans <wim@fluendo.com>
15278 * docs/design/part-seeking.txt:
15279 Some small additions.
15281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15282 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15283 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15284 * gst/base/gstbasesink.h:
15285 discont values are gint64, handle the math correctly.
15287 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15288 Make the basesrc report error if the source pad is not linked.
15290 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15291 (gst_queue_loop), (gst_queue_handle_src_query),
15292 (gst_queue_src_activate_push):
15293 Make queue collect data even if the srcpad is not linked.
15294 Start pushing out data as soon as it is linked.
15296 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15298 Added gst_flow_get_name() to ease error reporting.
15300 2005-07-20 Wim Taymans <wim@fluendo.com>
15302 * gst/gstmessage.c: (gst_message_new_segment_start),
15303 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15304 (gst_message_parse_segment_done):
15305 * gst/gstmessage.h:
15306 Added a bunch of messages for advanced seeking.
15308 * gst/parse/grammar.y:
15309 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15310 (gst_dpman_state_changed):
15311 Fix some new-pad -> pad-added signals
15313 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15315 * docs/manual/appendix-porting.xml:
15316 * docs/pwg/appendix-porting.xml:
15317 Document new-pad/state-change signal renames and the FixedList
15320 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15322 * docs/manual/advanced-autoplugging.xml:
15323 * docs/manual/basics-helloworld.xml:
15324 * docs/manual/basics-pads.xml:
15325 * docs/random/ds/0.9-suggested-changes:
15326 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15327 * gst/gstelement.h:
15331 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15332 (gst_structure_parse_array), (gst_structure_parse_value):
15333 * gst/gstvalue.c: (gst_type_is_fixed),
15334 (gst_value_list_prepend_value), (gst_value_list_append_value),
15335 (gst_value_list_get_size), (gst_value_list_get_value),
15336 (gst_value_transform_array_string), (gst_value_serialize_array),
15337 (gst_value_deserialize_array), (gst_value_intersect_array),
15338 (gst_value_is_fixed), (_gst_value_initialize):
15340 GstElement::new-pad -> pad-added, GstElement::state-change ->
15341 state-changed, GstValueFixedList -> GstValueArray, add format and
15342 flags as their own arguments in gst_element_seek() (should improve
15343 "bindeability"), remove function generators since they don't work
15344 under a whole bunch of compilers (they were deprecated already
15347 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15349 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15350 (_gst_debug_register_funcptr):
15352 Fix illegal cast on some platforms (#309253).
15354 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15356 * gst/gstmessage.c: (gst_message_new_custom):
15357 * gst/gstmessage.h:
15358 Add _new_custom, make _new_application a macro to _new_custom.
15360 2005-07-20 Wim Taymans <wim@fluendo.com>
15362 * gst/base/gstbasesrc.c: (gst_base_src_init),
15363 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15364 * gst/base/gstbasesrc.h:
15365 Add a gboolean to decide when to push out a discont.
15367 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15368 (gst_queue_loop), (gst_queue_handle_src_query),
15369 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15370 (gst_queue_set_property), (gst_queue_get_property):
15373 * tests/threadstate/threadstate1.c: (main):
15374 Make a thread test compile and run... very silly..
15377 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15379 * docs/manual/appendix-porting.xml:
15380 Mention removal of libgstgconf-0.9.la and existence of gconf
15383 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15385 * docs/pwg/advanced-clock.xml:
15386 * docs/pwg/appendix-porting.xml:
15387 * docs/pwg/intro-preface.xml:
15388 * docs/pwg/other-base.xml:
15389 * docs/pwg/other-manager.xml:
15390 * docs/pwg/other-nton.xml:
15391 * docs/pwg/other-ntoone.xml:
15392 * docs/pwg/other-oneton.xml:
15393 * docs/pwg/pwg.xml:
15394 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15395 demuxer), remove n-to-n (was never written), fix some code examples
15396 and links and update the porting section to include all this.
15398 2005-07-19 Wim Taymans <wim@fluendo.com>
15400 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15401 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15402 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15403 (gst_queue_src_activate_push), (gst_queue_change_state),
15404 (gst_queue_get_property):
15406 Propagate GstFlowReturn more intelligently upstream and output
15407 an ERROR/EOS when streaming stopped due to fatal error.
15409 2005-07-19 Wim Taymans <wim@fluendo.com>
15411 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15412 Don't block forever for the state change to complete, the
15413 pipeline already did with a sensible timeout.
15415 2005-07-19 Wim Taymans <wim@fluendo.com>
15417 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15418 Make sure we never call the create function is we
15421 2005-07-19 Andy Wingo <wingo@pobox.com>
15423 * gst/parse/parse.l: Attempt to solve bug #172815.
15425 2005-07-19 Wim Taymans <wim@fluendo.com>
15427 * docs/design/part-clocks.txt:
15428 * docs/design/part-events.txt:
15429 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15430 Small docs updates.
15431 Only update the seeking values when we are not
15434 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15436 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15437 Oops, ignore the result of gst_pad_push_event here.
15439 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15441 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15442 (gst_base_src_activate_push):
15443 Send discont event from the loop function, as pads
15444 aren't activated yet in the activate_push handler.
15446 * gst/gstbin.c: (bin_bus_handler):
15447 Don't leak element name.
15449 2005-07-18 Andy Wingo <wingo@pobox.com>
15451 * configure.ac: Use AS_LIBTOOL_TAGS.
15453 2005-07-18 Wim Taymans <wim@fluendo.com>
15455 * docs/gst/gstreamer.types:
15456 Remove deleted types.
15458 2005-07-18 Wim Taymans <wim@fluendo.com>
15460 * check/elements/gstfakesrc.c: (GST_START_TEST):
15463 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15464 (init_popt_callback):
15466 * gst/gst_private.h:
15467 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15468 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15471 * gst/gstconfig.h.in:
15472 * gst/gstelement.c: (gst_element_class_init),
15473 (gst_element_set_base_time), (gst_element_get_base_time),
15474 (iterator_fold_with_resync), (gst_element_change_state),
15475 (gst_element_dispose), (gst_element_get_bus):
15476 * gst/gstelement.h:
15477 * gst/gstelementfactory.h:
15478 * gst/gsterror.c: (_gst_core_errors_init):
15481 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15483 * gst/gstinfo.c: (_gst_debug_init):
15484 * gst/gstmessage.c: (_gst_message_copy):
15485 * gst/gstmessage.h:
15486 * gst/gstminiobject.h:
15489 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15490 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15493 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15494 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15495 (gst_pipeline_get_last_stream_time):
15496 * gst/gstpipeline.h:
15497 * gst/gstpluginfeature.h:
15499 * gst/gstscheduler.c:
15500 * gst/gstscheduler.h:
15501 * gst/gststructure.h:
15502 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15503 (gst_task_finalize), (gst_task_func), (gst_task_create),
15504 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15505 (gst_task_stop), (gst_task_pause):
15507 * gst/gsttypefind.h:
15509 * gst/registries/gstlibxmlregistry.c: (load_feature),
15510 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15511 * gst/registries/gstxmlregistry.c:
15512 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15513 * gst/schedulers/threadscheduler.c:
15514 * libs/gst/control/dparammanager.h:
15515 * tools/gst-inspect.c: (print_element_list),
15516 (print_plugin_features), (print_element_features):
15517 * tools/gst-xmlinspect.c: (print_element_list),
15518 (print_plugin_info), (main):
15519 Removed plugable schedulers.
15520 Removed Scheduler/Manager from elements.
15521 Removed gsttypes.h, rearranged includes.
15522 Removed dependency pad<->element, element<>pipeline, and
15523 various others, fix includes.
15524 implement gst_pad_get_parent() with gst_object_get_parent()
15525 Make GstTask sefcontained.
15526 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15528 Fix endless loop in iterator_fold_with_resync.
15531 2005-07-18 Wim Taymans <wim@fluendo.com>
15537 2005-07-18 Wim Taymans <wim@fluendo.com>
15540 No more cothreads.h
15542 2005-07-18 Wim Taymans <wim@fluendo.com>
15546 Let's remove these.
15548 2005-07-18 Wim Taymans <wim@fluendo.com>
15550 * docs/design/part-dynamic.txt:
15551 * docs/design/part-events.txt:
15552 * docs/design/part-seeking.txt:
15553 Some more docs in the works.
15555 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15556 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15557 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15558 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15559 (gst_base_transform_handle_buffer),
15560 (gst_base_transform_sink_activate_push),
15561 (gst_base_transform_src_activate_pull),
15562 (gst_base_transform_set_passthrough),
15563 (gst_base_transform_is_passthrough):
15566 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15569 * gst/gstevent.c: (gst_event_finalize):
15572 * gst/gstutils.c: (gst_element_unlink),
15573 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15574 (gst_pad_proxy_setcaps):
15576 Add _get_parent_element() to get a pads parent as an element.
15578 2005-07-18 Wim Taymans <wim@fluendo.com>
15580 * check/gst/gstbin.c: (GST_START_TEST):
15583 2005-07-18 Wim Taymans <wim@fluendo.com>
15585 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15586 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15587 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15588 (gst_base_sink_event), (gst_base_sink_do_sync),
15589 (gst_base_sink_chain), (gst_base_sink_loop),
15590 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15591 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15593 Fix logic for returning ASYNC when not prerolled.
15595 2005-07-18 Wim Taymans <wim@fluendo.com>
15597 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15598 Fix nasty refcount bug.
15600 2005-07-16 Philippe Khalaf <burger@speedy.org>
15602 * gst/elements/gstfdsrc.c:
15603 * gst/elements/gstfdsrc.h:
15604 * gst/elements/gstelements.c:
15605 * gst/elements/Makefile.am:
15606 Ported fdsrc to 0.9.
15608 2005-07-16 Wim Taymans <wim@fluendo.com>
15610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15611 (gst_base_sink_do_sync):
15614 2005-07-16 Wim Taymans <wim@fluendo.com>
15616 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15617 (gst_base_sink_event), (gst_base_sink_get_times),
15618 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15619 * gst/base/gstbasesink.h:
15620 Store and use discont values when syncing buffers as described
15623 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15624 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15625 (gst_base_src_activate_push):
15626 Push discont event when starting.
15628 * gst/elements/gstidentity.c: (gst_identity_transform):
15631 * gst/gstbin.c: (gst_bin_change_state):
15632 Small cleanups in base_time distribution.
15634 * gst/gstelement.c: (gst_element_set_base_time),
15635 (gst_element_get_base_time), (gst_element_change_state):
15636 * gst/gstelement.h:
15637 Added methods for the base_time of the element.
15640 * gst/gstpipeline.c: (gst_pipeline_send_event),
15641 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15642 (gst_pipeline_get_last_stream_time):
15643 * gst/gstpipeline.h:
15645 Handle seeking as described in design doc, remove stream_time
15647 Cleanups clock and stream_time selection code. Added accessors
15648 for the stream_time.
15651 2005-07-16 Andy Wingo <wingo@pobox.com>
15653 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15656 2005-07-16 Wim Taymans <wim@fluendo.com>
15658 * check/gst/gstbin.c: (GST_START_TEST):
15659 Make elements silent as the deep_notify refs the
15660 parent, which might make the test fail.
15662 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15663 Don't hold the lock for too long.
15665 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15667 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15668 Don't unref the caps we passed to gst_caps_make_writable() after
15669 passing them. gst_caps_make_writable() will do that for us.
15671 2005-07-15 Andy Wingo <wingo@pobox.com>
15673 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15676 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15677 own marshalling function for the handoff signal. Properly type the
15678 buffer as a buffer. Fixes some warnings. Should do a more general
15680 (gst_identity_class_init): Plug into the right marshaller.
15682 2005-07-15 Wim Taymans <wim@fluendo.com>
15684 * docs/design/part-TODO.txt:
15685 * docs/design/part-clocks.txt:
15686 * docs/design/part-element-sink.txt:
15687 * docs/design/part-events.txt:
15688 * docs/design/part-gstpipeline.txt:
15689 Updated docs, mostly DISCONT related.
15691 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15693 * docs/pwg/building-pads.xml:
15694 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15696 2005-07-15 Andy Wingo <wingo@pobox.com>
15698 * tools/gst-typefind.c: Update, add copyright block.
15700 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15701 Normalize and truncate caps before fixation.
15704 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15705 discards all but the first structure from its argument.
15707 2005-07-15 Wim Taymans <wim@fluendo.com>
15709 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15710 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15711 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15712 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15713 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15714 (gst_base_transform_chain), (gst_base_transform_change_state),
15715 (gst_base_transform_set_passthrough),
15716 (gst_base_transform_is_passthrough):
15717 * gst/base/gstbasetransform.h:
15718 Make passthrough work using the bufferpools.
15719 Changed API a bit, subclasses have to write into a buffer
15720 provided by the base class.
15721 More debug info in nego functions.
15723 * gst/elements/gstidentity.c: (gst_identity_init),
15724 (gst_identity_transform):
15725 Port to new base class.
15727 2005-07-15 Wim Taymans <wim@fluendo.com>
15729 * gst/gstmessage.c: (gst_message_new_state_changed):
15730 * tools/gst-launch.c: (event_loop), (main):
15731 Totally dump messages in -launch with the -m option.
15732 Fix message name for State messages,
15734 2005-07-14 Wim Taymans <wim@fluendo.com>
15736 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15737 Post error messages on errors.
15739 2005-07-14 Wim Taymans <wim@fluendo.com>
15741 * gst/gstcaps.c: (gst_caps_do_simplify):
15745 Define error for stream stopped.
15747 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15748 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15749 Do proper return values.
15751 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15752 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15753 (gst_pad_get_range):
15754 Better return values.
15757 Reorganise return values, add macro to check for fatal errors.
15759 * gst/gstqueue.c: (gst_queue_chain):
15760 Return proper GstFlowReturn values,
15762 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
15764 * docs/gst/gstreamer-sections.txt:
15765 * docs/gst/gstreamer.types:
15766 * docs/gst/tmpl/gst.sgml:
15767 * docs/gst/tmpl/gstbasesink.sgml:
15768 * docs/gst/tmpl/gstbasesrc.sgml:
15769 * docs/gst/tmpl/gstbasetransform.sgml:
15770 * docs/gst/tmpl/gstbin.sgml:
15771 * docs/gst/tmpl/gstbuffer.sgml:
15772 * docs/gst/tmpl/gstcaps.sgml:
15773 * docs/gst/tmpl/gstclock.sgml:
15774 * docs/gst/tmpl/gstcompat.sgml:
15775 * docs/gst/tmpl/gstconfig.sgml:
15776 * docs/gst/tmpl/gstelement.sgml:
15777 * docs/gst/tmpl/gstelementdetails.sgml:
15778 * docs/gst/tmpl/gstelementfactory.sgml:
15779 * docs/gst/tmpl/gstenumtypes.sgml:
15780 * docs/gst/tmpl/gsterror.sgml:
15781 * docs/gst/tmpl/gstevent.sgml:
15782 * docs/gst/tmpl/gstfakesink.sgml:
15783 * docs/gst/tmpl/gstfakesrc.sgml:
15784 * docs/gst/tmpl/gstfilesink.sgml:
15785 * docs/gst/tmpl/gstfilesrc.sgml:
15786 * docs/gst/tmpl/gstfilter.sgml:
15787 * docs/gst/tmpl/gstformat.sgml:
15788 * docs/gst/tmpl/gstghostpad.sgml:
15789 * docs/gst/tmpl/gstimplementsinterface.sgml:
15790 * docs/gst/tmpl/gstindex.sgml:
15791 * docs/gst/tmpl/gstindexfactory.sgml:
15792 * docs/gst/tmpl/gstinfo.sgml:
15793 * docs/gst/tmpl/gstiterator.sgml:
15794 * docs/gst/tmpl/gstmacros.sgml:
15795 * docs/gst/tmpl/gstmemchunk.sgml:
15796 * docs/gst/tmpl/gstminiobject.sgml:
15797 * docs/gst/tmpl/gstobject.sgml:
15798 * docs/gst/tmpl/gstpad.sgml:
15799 * docs/gst/tmpl/gstpadtemplate.sgml:
15800 * docs/gst/tmpl/gstparse.sgml:
15801 * docs/gst/tmpl/gstpipeline.sgml:
15802 * docs/gst/tmpl/gstplugin.sgml:
15803 * docs/gst/tmpl/gstpluginfeature.sgml:
15804 * docs/gst/tmpl/gstquery.sgml:
15805 * docs/gst/tmpl/gstqueue.sgml:
15806 * docs/gst/tmpl/gstregistry.sgml:
15807 * docs/gst/tmpl/gstregistrypool.sgml:
15808 * docs/gst/tmpl/gstscheduler.sgml:
15809 * docs/gst/tmpl/gstschedulerfactory.sgml:
15810 * docs/gst/tmpl/gststructure.sgml:
15811 * docs/gst/tmpl/gstsystemclock.sgml:
15812 * docs/gst/tmpl/gsttaglist.sgml:
15813 * docs/gst/tmpl/gsttagsetter.sgml:
15814 * docs/gst/tmpl/gsttrace.sgml:
15815 * docs/gst/tmpl/gsttrashstack.sgml:
15816 * docs/gst/tmpl/gsttypefind.sgml:
15817 * docs/gst/tmpl/gsttypefindfactory.sgml:
15818 * docs/gst/tmpl/gsttypes.sgml:
15819 * docs/gst/tmpl/gsturihandler.sgml:
15820 * docs/gst/tmpl/gsturitype.sgml:
15821 * docs/gst/tmpl/gstutils.sgml:
15822 * docs/gst/tmpl/gstvalue.sgml:
15823 * docs/gst/tmpl/gstversion.sgml:
15824 * docs/gst/tmpl/gstxml.sgml:
15825 * docs/libs/tmpl/gstcontrol.sgml:
15826 * docs/libs/tmpl/gstdataprotocol.sgml:
15827 * docs/libs/tmpl/gstdparam.sgml:
15828 * docs/libs/tmpl/gstdplinint.sgml:
15829 * docs/libs/tmpl/gstdpman.sgml:
15830 * docs/libs/tmpl/gstdpsmooth.sgml:
15831 * docs/libs/tmpl/gstgetbits.sgml:
15832 * docs/libs/tmpl/gstunitconvert.sgml:
15833 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
15834 (gst_push_src_base_init), (gst_push_src_class_init),
15835 (gst_push_src_init), (gst_push_src_create):
15836 * gst/base/gstpushsrc.h:
15837 * gst/elements/gstelements.c:
15838 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
15839 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
15840 (gst_fake_sink_init), (gst_fake_sink_set_property),
15841 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
15842 (gst_fake_sink_event), (gst_fake_sink_preroll),
15843 (gst_fake_sink_render), (gst_fake_sink_change_state):
15844 * gst/elements/gstfakesink.h:
15845 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15846 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15847 (gst_fake_src_base_init), (gst_fake_src_class_init),
15848 (gst_fake_src_init), (gst_fake_src_event_handler),
15849 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
15850 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
15851 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
15852 (gst_fake_src_create_buffer), (gst_fake_src_create),
15853 (gst_fake_src_start), (gst_fake_src_stop):
15854 * gst/elements/gstfakesrc.h:
15855 * gst/elements/gstfilesink.c: (_do_init),
15856 (gst_file_sink_base_init), (gst_file_sink_class_init),
15857 (gst_file_sink_init), (gst_file_sink_dispose),
15858 (gst_file_sink_set_location), (gst_file_sink_set_property),
15859 (gst_file_sink_get_property), (gst_file_sink_open_file),
15860 (gst_file_sink_close_file), (gst_file_sink_query),
15861 (gst_file_sink_event), (gst_file_sink_render),
15862 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
15863 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
15864 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
15865 * gst/elements/gstfilesink.h:
15866 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
15867 (gst_file_src_class_init), (gst_file_src_init),
15868 (gst_file_src_finalize), (gst_file_src_set_location),
15869 (gst_file_src_set_property), (gst_file_src_get_property),
15870 (gst_file_src_map_region), (gst_file_src_map_small_region),
15871 (gst_file_src_create_mmap), (gst_file_src_create_read),
15872 (gst_file_src_create), (gst_file_src_is_seekable),
15873 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
15874 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
15875 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
15876 (gst_file_src_uri_handler_init):
15877 * gst/elements/gstfilesrc.h:
15878 more autistic cleanliness in functions/names/defines
15880 2005-07-13 Andy Wingo <wingo@pobox.com>
15882 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
15883 source couldn't negotiate.
15885 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
15889 * gst/gstutils.c (gst_element_link_pads_filtered): New old
15890 function. I am channeling Hades. Put your boots on suckers!!!
15892 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
15894 * testsuite/caps/Makefile.am:
15895 * testsuite/caps/value_compare.c:
15896 * testsuite/caps/value_intersect.c:
15897 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15898 move two testsuite apps over to the check dir
15900 2005-07-12 Wim Taymans <wim@fluendo.com>
15902 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15903 Added more debug info in the negotiate process.
15905 * gst/gstmessage.h:
15906 Prepare for segment playback.
15908 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
15914 * tools/gst-launch.c: (main):
15915 NULL pipeline on errors.
15917 2005-07-12 Andy Wingo <wingo@pobox.com>
15919 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
15920 not it comes from a malloc region. Make sure our copy gets freed.
15922 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15924 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15925 * check/gst/gstmessage.c: (GST_START_TEST):
15926 * check/gst/gststructure.c: (GST_START_TEST),
15927 (gst_structure_suite), (main):
15929 * gst/gstelement.c: (gst_element_message_full):
15930 clean up GError and debug string now that they get copied
15931 * gst/gstmessage.c: (gst_message_new_error),
15932 (gst_message_new_warning), (gst_message_parse_error),
15933 (gst_message_parse_warning):
15934 use GST_TYPE_G_ERROR for structure_new, and take copies of
15935 arguments, so that we don't mess up refcounting
15937 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15939 * check/Makefile.am:
15940 add per-test valgrind targets
15941 * check/gst-libs/gdp.c: (GST_START_TEST),
15942 (gst_data_protocol_suite), (main):
15945 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
15947 * check/Makefile.am:
15948 instate more valgrindable tests
15949 * check/elements/gstfakesrc.c: (chain_func), (event_func),
15950 (GST_START_TEST), (fakesrc_suite):
15951 * check/gst/gstpad.c: (GST_START_TEST):
15952 * check/gst/gststructure.c: (GST_START_TEST):
15954 * docs/gst/tmpl/gstminiobject.sgml:
15955 * gst/gstpad.c: (gst_pad_finalize):
15956 fix the static mutex leak
15958 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15960 * check/Makefile.am:
15961 add two more tests for valgrinding
15962 * check/gst/gstvalue.c: (GST_START_TEST):
15963 test refcount of deserialized buffer, found a leak
15964 * docs/gst/gstreamer-docs.sgml:
15965 * docs/gst/gstreamer-sections.txt:
15966 * docs/gst/gstreamer.types:
15967 * docs/gst/tmpl/gstminiobject.sgml:
15968 add miniobject to docs
15969 * gst/gstminiobject.c:
15971 * gst/gstvalue.c: (gst_value_deserialize_buffer),
15972 (gst_string_unwrap):
15973 fix a hard-to-find invalid write for one of the tests
15974 fix a leak for deserialized buffers
15976 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15978 * docs/pwg/advanced-events.xml:
15979 * docs/pwg/advanced-request.xml:
15980 * docs/pwg/advanced-scheduling.xml:
15981 * docs/pwg/appendix-porting.xml:
15982 * docs/pwg/building-boiler.xml:
15983 * docs/pwg/intro-preface.xml:
15984 * docs/pwg/other-ntoone.xml:
15985 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
15986 of example code and explanation for pad activation, loop() and
15987 getrange() functions and a bit more. Remove old comments pointing
15989 * examples/pwg/Makefile.am:
15990 Add loop/getrange examples.
15992 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
15995 check for valgrind binary + some fixes
15997 valgrind suppressions for the tests
15998 * check/Makefile.am:
15999 add a valgrind: target that valgrinds the unit tests
16000 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16001 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16002 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16003 * check/gst/gstghostpad.c:
16005 * check/gst/gstdata.c:
16007 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16008 (thread_unref), (gst_mini_object_suite), (main):
16010 * gst/gst.c: (gst_deinit):
16012 add a method to clean up.
16013 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16014 (gst_system_clock_obtain):
16015 allow for disposing the system clock.
16016 * tools/gst-launch.c: (main):
16019 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16021 * docs/gst/tmpl/gstbasesrc.sgml:
16022 * docs/gst/tmpl/gstfakesrc.sgml:
16023 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16024 (gst_base_src_init), (gst_base_src_set_property),
16025 (gst_base_src_get_property), (gst_base_src_get_range),
16026 (gst_base_src_start):
16027 * gst/base/gstbasesrc.h:
16028 add num-buffers property
16029 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16030 (gst_fakesrc_init), (gst_fakesrc_set_property),
16031 (gst_fakesrc_get_property), (gst_fakesrc_create),
16032 (gst_fakesrc_start):
16033 remove num-buffers property
16035 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16037 * docs/gst/gstreamer-sections.txt:
16038 * docs/gst/tmpl/gstbasesink.sgml:
16039 * docs/gst/tmpl/gstbasesrc.sgml:
16040 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16041 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16042 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16043 (gst_base_sink_set_property), (gst_base_sink_get_property),
16044 (gst_base_sink_handle_object), (gst_base_sink_event),
16045 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16046 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16047 (gst_base_sink_loop), (gst_base_sink_deactivate),
16048 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16049 (gst_base_sink_change_state):
16050 * gst/base/gstbasesink.h:
16051 * gst/base/gstbasesrc.h:
16052 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16053 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16054 (gst_filesink_init):
16055 more macro splitting
16057 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16059 * gst/gstelement.c: (gst_element_get_bus):
16061 * tools/gst-launch.c: (check_intr), (event_loop):
16064 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16066 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16069 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16071 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16072 (gst_base_src_finalize):
16073 add finalize method and clean up properly
16074 * gst/gstpipeline.c: (gst_pipeline_dispose):
16077 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16079 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16081 add more things to check
16082 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16083 * gst/gstelement.c:
16086 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16088 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16089 (GST_START_TEST), (fakesrc_suite):
16090 * check/gst-libs/gdp.c: (GST_START_TEST):
16091 * check/gst/gst.c: (GST_START_TEST):
16092 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16093 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16094 * check/gst/gstbus.c: (GST_START_TEST):
16095 * check/gst/gstcaps.c: (GST_START_TEST):
16096 * check/gst/gstdata.c: (GST_START_TEST):
16097 * check/gst/gstelement.c: (GST_START_TEST):
16098 * check/gst/gstghostpad.c: (GST_START_TEST):
16099 * check/gst/gstiterator.c: (GST_START_TEST):
16100 * check/gst/gstmessage.c: (GST_START_TEST):
16101 * check/gst/gstobject.c: (GST_START_TEST):
16102 * check/gst/gstpad.c: (GST_START_TEST):
16103 * check/gst/gststructure.c: (GST_START_TEST):
16104 * check/gst/gstsystemclock.c: (GST_START_TEST),
16105 (gst_systemclock_suite):
16106 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16107 * check/gst/gstvalue.c: (GST_START_TEST):
16108 * check/pipelines/cleanup.c: (GST_START_TEST):
16109 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16110 * check/states/sinks.c: (GST_START_TEST):
16111 * check/gstcheck.c: (gst_check_init):
16112 * check/gstcheck.h:
16113 add debugging category
16114 use GST_START_TEST now, so we add a debug line
16116 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16118 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16119 add test for state change message on a bin
16120 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16122 * gst/gstbin.c: (gst_bin_init):
16123 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16124 * gst/gstelement.c: (gst_element_post_message),
16125 (gst_element_set_state):
16126 * gst/gstelementfactory.c: (gst_element_factory_create):
16127 * gst/gstmessage.c: (gst_message_new):
16128 * gst/gstscheduler.c:
16129 various debugging additions and cleanups
16131 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16133 * check/Makefile.am:
16134 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16136 adding tests for elements
16137 * gst/gstelement.c: (gst_element_dispose):
16139 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16141 * gst/registries/gstlibxmlregistry.c: (load_feature):
16142 plug more leaks. A simple gst_init() now is leakfree, yay.
16144 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16146 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16147 (gst_xml_registry_load):
16148 plug another memleak
16150 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16153 use GST_SET_ERROR_CFLAGS
16154 * docs/faq/cvs.xml:
16155 change to ERROR_CFLAGS
16157 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16160 make GST_ERROR_CFLAGS overridable and re-enable Werror
16161 * docs/faq/cvs.xml:
16162 add a note about error CFLAGS
16163 * docs/gst/tmpl/gstfakesrc.sgml:
16164 * gst/elements/gstfakesrc.c:
16165 comment out some unused code
16166 * gst/gst.c: (split_and_iterate):
16167 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16171 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16173 * common/Makefile.am:
16174 * common/gtk-doc.mak:
16175 * docs/gst/Makefile.am:
16176 factor out gtk-doc.mak
16178 2005-07-07 Wim Taymans <wim@fluendo.com>
16180 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16181 (gst_thread_scheduler_dispose):
16182 Unlock the STREAM_LOCK completely.
16184 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16186 * check/Makefile.am:
16187 * check/elements/.cvsignore:
16188 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16189 (START_TEST), (fakesrc_suite), (main):
16190 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16191 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16192 (gst_fakesrc_create), (gst_fakesrc_start):
16193 * gst/elements/gstfakesrc.h:
16194 adding a first element test
16196 2005-07-07 Andy Wingo <wingo@pobox.com>
16198 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16201 2005-07-07 Wim Taymans <wim@fluendo.com>
16207 2005-07-07 Wim Taymans <wim@fluendo.com>
16209 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16210 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16211 Allow subclasses to implement their own negotiation.
16213 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16215 * docs/design/part-gstbin.txt:
16216 * docs/design/part-gstpipeline.txt:
16217 Update design notes to reflect the movement of
16218 responsibility for bus handling from GstPipeline to
16221 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16224 Remove unnecessary queue2/3/4 examples.
16226 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16228 * examples/Makefile.am:
16229 * examples/helloworld/helloworld.c: (event_loop), (main):
16230 * examples/queue/queue.c: (event_loop), (main):
16231 * examples/queue2/queue2.c: (main):
16232 Update a couple of the examples to work again.
16234 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16235 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16236 Spelling corrections and extra debug.
16238 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16239 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16240 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16242 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16243 (gst_pipeline_change_state):
16244 * gst/gstpipeline.h:
16245 Move the bus handler for children to the GstBin, and create a
16246 separate bus for receiving messages from children to the one the
16247 bus sends 'upwards' on.
16249 2005-07-06 Wim Taymans <wim@fluendo.com>
16252 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16253 (gst_base_sink_handle_object), (gst_base_sink_loop),
16254 (gst_base_sink_change_state):
16255 * gst/base/gstbasesink.h:
16256 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16257 (gst_base_src_init), (gst_base_src_setcaps),
16258 (gst_base_src_getcaps), (gst_base_src_loop),
16259 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16260 (gst_base_src_start), (gst_base_src_change_state):
16261 * gst/base/gstbasesrc.h:
16262 Make basesrc negotiate.
16263 Handle the case where preroll fails in basesink.
16266 2005-07-06 Wim Taymans <wim@fluendo.com>
16268 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16269 Implement the fixate function.
16270 Clean up acceptcaps.
16272 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16274 * docs/pwg/building-filterfactory.xml:
16275 * docs/pwg/pwg.xml:
16276 Remove never-written filter-factory chapter; I'll add the various
16277 base classes to part 4 ("other element types") later on.
16279 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16281 * docs/pwg/advanced-negotiation.xml:
16282 * docs/pwg/building-boiler.xml:
16283 * docs/pwg/building-pads.xml:
16284 * docs/pwg/pwg.xml:
16285 * examples/pwg/Makefile.am:
16286 Add a chapter on caps negotiation, simplify the original code
16287 samples a bit w.r.t. caps negotiation, add link to the advanced
16288 section. Add a bunch of examples showing different use cases of
16289 different types of caps negotiation. Upstream renegotiation isn't
16290 fully documented yet since nobody knows how that works.
16292 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16294 * check/gst/gstpad.c:
16295 * check/gstcheck.c:
16296 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16297 if pad has no parent, return NULL as list of internal links
16299 2005-07-05 Andy Wingo <wingo@pobox.com>
16301 * gst/elements/gstfilesrc.c:
16302 * gst/elements/gstfakesrc.c:
16303 * gst/base/gstpushsrc.c:
16304 * gst/base/gstbasesrc.h:
16305 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16307 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16310 better report generation target (lcov needs a patch)
16312 2005-07-05 Andy Wingo <wingo@pobox.com>
16314 * gst/elements, testsuite: Null if we got it...
16316 2005-07-05 Wim Taymans <wim@fluendo.com>
16319 * libs/gst/dataprotocol/Makefile.am:
16320 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16321 * libs/gst/dataprotocol/dataprotocol.h:
16322 * pkgconfig/Makefile.am:
16323 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16324 * pkgconfig/gstreamer-dataprotocol.pc.in:
16325 Ported dataprotol to 0.9.
16326 Added pkgconfig files.
16328 2005-07-05 Andy Wingo <wingo@pobox.com>
16330 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16331 Default to returning TRUE for the case when tranform_caps returns
16332 a fixed caps, like for identity or volume.
16334 * check/gst/gstbus.c (pound_bus_with_messages):
16335 * check/gst/gstmessage.c (START_TEST):
16336 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16337 message API change.
16339 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16340 logic weaks here: always run transform_caps, trying passthrough
16341 operation only if the original caps intersects with the transform.
16343 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16344 source and sink caps.
16346 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16347 Intersect the peer caps with the pad template before going into
16349 (gst_base_transform_transform_caps): More debugging.
16351 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16354 2005-07-04 Edward Hervey <edward@fluendo.com>
16358 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16361 2005-07-04 Andy Wingo <wingo@pobox.com>
16363 * check/gst/gstpad.c: Only set explicit caps on pads.
16365 2005-07-01 Andy Wingo <wingo@pobox.com>
16367 * tests/network-clock.scm: Commentary update.
16369 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16370 Didn't really make sense, not implementable with basetransform,
16372 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16373 attempt at implementing the sync property, needs an unlock method.
16375 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16376 New func, by default returns the same caps (the identity
16378 (gst_base_transform_getcaps): Uses transform_caps to return
16379 something sensible.
16380 (gst_base_transform_setcaps): Complicated logic to get caps on
16381 both pads, even if they are different, and to call set_caps once
16382 for every time both pads get their caps set.
16383 (gst_base_transform_handle_buffer): Give the ref to the transform
16384 function. Allows in-place modification of the buffer.
16386 * gst/base/gstbasetransform.h (transform_caps): New class method.
16387 Given caps on one side, what can I do on the other.
16388 (set_caps): Take two caps, one for each side of the element.
16391 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16392 caps in place. This is safe because we can check the mutability of
16393 the caps, and a good idea because fixate functions are just called
16394 as a matter of last resort. (Not actually implemented.)
16395 (gst_pad_set_caps): If the caps we're setting is actually the same
16396 as the existing pad caps, just update the pointer without calling
16397 setcaps. Assert that caps is either NULL or fixed, as per the
16400 * gst/gstghostpad.c: Update for fixate changes.
16402 2005-07-02 Andy Wingo <wingo@pobox.com>
16405 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16406 two refcounts makes it immutable, which is enough. Doc more.
16408 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16410 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16411 Put the mini_object into GValue as a mini_object,
16412 not a gpointer, since that's how we declared
16415 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16417 * examples/pwg/Makefile.am:
16418 Fix buildbot again.
16420 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16422 * docs/pwg/building-testapp.xml:
16424 * examples/pwg/Makefile.am:
16427 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16430 * examples/Makefile.am:
16431 * examples/pwg/Makefile.am:
16432 * examples/pwg/extract.pl:
16433 Enable building the PWG examples.
16434 * docs/pwg/advanced-interfaces.xml:
16435 Add URI interface stub.
16436 * docs/pwg/advanced-types.xml:
16437 * docs/pwg/other-autoplugger.xml:
16438 * docs/pwg/appendix-porting.xml:
16439 * docs/pwg/pwg.xml:
16440 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16441 * docs/pwg/building-boiler.xml:
16442 * docs/pwg/building-chainfn.xml:
16443 * docs/pwg/building-pads.xml:
16444 * docs/pwg/building-props.xml:
16445 * docs/pwg/building-state.xml:
16446 * docs/pwg/building-testapp.xml:
16447 Update the building-*.xml parts for 0.9 changes. All examples
16448 code blocks compile in examples/pwg/*.
16450 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16452 * docs/manual/advanced-autoplugging.xml:
16453 * docs/manual/appendix-checklist.xml:
16454 * docs/manual/appendix-integration.xml:
16455 * docs/manual/highlevel-components.xml:
16456 Fix playbin/decodebin examples, update docs a bit, mention bus
16457 instead of signals in various places, mention kmplayer and
16458 kaffeine since they have a working GStreamer backend in the KDE
16461 2005-06-30 Wim Taymans <wim@fluendo.com>
16464 * docs/design/draft-ghostpads.txt:
16465 * docs/design/draft-push-pull.txt:
16466 * docs/design/draft-query.txt:
16467 * docs/design/part-TODO.txt:
16468 * docs/design/part-query.txt:
16469 Added CHANGES-0.9 doc, updated status of other docs.
16474 2005-06-30 Wim Taymans <wim@fluendo.com>
16476 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16477 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16478 (gst_base_sink_change_state):
16479 * gst/base/gstbasesink.h:
16480 Some tweaks, only EOS and a buffer complete a preroll.
16482 2005-06-30 Andy Wingo <wingo@pobox.com>
16484 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16485 activate_push down to the internal pad as well.
16487 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16489 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16491 * gst/gsttaginterface.c:
16492 Some documentation fixes (#307394 and #307397).
16494 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16496 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16498 * gst/gstvalue.c: (gst_value_intersect_list):
16499 Fix memleak (#309125).
16501 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16503 * docs/manual/advanced-dataaccess.xml:
16504 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16505 * docs/manual/basics-pads.xml:
16506 Add reference for filtered caps to above chapter.
16508 2005-06-30 Wim Taymans <wim@fluendo.com>
16510 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16511 (gst_bin_change_state):
16513 Lame attempt at making the state change function a bit
16516 2005-06-30 Wim Taymans <wim@fluendo.com>
16518 * docs/design/part-clocks.txt:
16519 * docs/design/part-element-sink.txt:
16520 * docs/design/part-events.txt:
16521 * docs/design/part-preroll.txt:
16522 * docs/design/part-states.txt:
16523 Some more tweeks and additions to the docs.
16525 2005-06-30 Wim Taymans <wim@fluendo.com>
16527 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16528 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16529 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16530 (gst_pad_check_pull_range), (gst_pad_get_range),
16531 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16533 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16534 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16535 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16536 (gst_pad_remove_buffer_probe):
16537 Removed atomic operations, use existing LOCK.
16538 Move exception handling out of main code path.
16540 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16542 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16543 (silly_return_true_function), (gst_pad_class_init),
16544 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16545 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16546 (gst_pad_send_event):
16547 Fix accumulator, add default value by using _emitv() instead
16548 of _emit() for signal emission.
16550 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16552 * docs/manual/advanced-dataaccess.xml:
16553 * examples/manual/Makefile.am:
16555 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16558 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16560 * gst/elements/gstfilesink.c: (gst_filesink_render):
16561 Simplify code so that we don't have to handle short
16562 writes and return GST_FLOW_ERROR if an error occured.
16564 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16566 * docs/gst/gstreamer-docs.sgml:
16567 Remove probes more.
16569 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16571 * docs/gst/gstreamer-sections.txt:
16572 * docs/gst/tmpl/gstpad.sgml:
16573 * docs/gst/tmpl/gstprobe.sgml:
16575 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16576 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16577 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16578 (gst_pad_push_event), (gst_pad_send_event):
16580 * gst/gstutils.c: (gst_pad_add_data_probe),
16581 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16582 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16583 (gst_pad_remove_buffer_probe):
16585 Remove old probes, add new g-signal-based probes and some utility
16588 2005-06-29 Edward Hervey <edward@fluendo.com>
16590 * gst/gstelementfactory.c:
16593 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16594 the definition to the header file.
16596 2005-06-29 Andy Wingo <wingo@pobox.com>
16598 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16599 plugins from the source directory.
16601 2005-06-29 Wim Taymans <wim@fluendo.com>
16603 * docs/gst/tmpl/gstbuffer.sgml:
16604 * docs/gst/tmpl/gstclock.sgml:
16605 Some fixings for blantently wrong text.
16607 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16609 * check/Makefile.am:
16610 * gst/gst.c: (add_path_func), (init_pre):
16611 * gst/gstregistry.c: (gst_registry_add_path):
16612 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16613 only scan the GST_PLUGIN_PATH locations, and not add
16616 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16618 * docs/gst/gstreamer-sections.txt:
16619 * docs/gst/tmpl/gstbasesrc.sgml:
16620 * gst/gstelement.c:
16621 * gst/gstelement.h:
16626 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16628 * docs/manual/advanced-autoplugging.xml:
16629 Fix autoplugging example.
16631 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16633 * docs/manual/advanced-autoplugging.xml:
16634 * docs/manual/mime-world.fig:
16635 Try to get autoplugging working, fix type detection. Fix text
16636 in hello-world image.
16638 2005-06-29 Wim Taymans <wim@fluendo.com>
16640 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16641 (gst_base_sink_change_state):
16645 map SIGNAL and BROADCAST to the right function.
16648 Remove redundant braces.
16650 * gst/gstpad.c: (gst_pad_set_caps):
16651 Don't call setcaps function when reseting caps to NULL.
16653 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16654 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16655 (gst_system_clock_id_unschedule):
16656 Use BROADCAST as this is what we do.
16658 2005-06-29 Wim Taymans <wim@fluendo.com>
16660 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16661 We are actually prerolling before commiting the state
16664 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16666 * docs/manual/advanced-clocks.xml:
16667 * docs/manual/advanced-interfaces.xml:
16668 * docs/manual/advanced-metadata.xml:
16669 * docs/manual/advanced-position.xml:
16670 * docs/manual/advanced-schedulers.xml:
16671 * docs/manual/advanced-threads.xml:
16672 * docs/manual/appendix-porting.xml:
16673 * docs/manual/basics-bins.xml:
16674 * docs/manual/basics-bus.xml:
16675 * docs/manual/basics-elements.xml:
16676 * docs/manual/basics-helloworld.xml:
16677 * docs/manual/basics-pads.xml:
16678 * docs/manual/highlevel-components.xml:
16679 * docs/manual/manual.xml:
16680 * docs/manual/thread.fig:
16681 Update (until threads/scheduling) Application Development Manual;
16682 remove GstThread, add GstBus, add simple porting checklist, add
16683 documentation for tag writing, clocks, make all examples until this
16684 part compile and run.
16685 * examples/manual/Makefile.am:
16686 Update from changes to Application Development Manual; add bus
16687 example, remove thread example.
16689 2005-06-28 Wim Taymans <wim@fluendo.com>
16691 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16692 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16693 (gst_bus_source_dispatch):
16694 Add debugging messages.
16695 Make internal methods static.
16696 Handle the case where the bus is flushed in the handler.
16698 * gst/gstelement.c: (gst_element_get_bus):
16699 Fix refcount in _get_bus();
16701 * gst/gstpipeline.c: (gst_pipeline_change_state),
16702 (gst_pipeline_get_clock_func):
16703 Clock refcounting fixes.
16704 Handle the case where preroll timed out more gracefully.
16706 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16707 Clean up the internal thread in dispose. This is needed
16708 for subclasses that actually get disposed.
16710 * gst/schedulers/threadscheduler.c:
16711 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16712 (gst_thread_scheduler_dispose):
16713 Free thread pool in dispose.
16715 2005-06-28 Andy Wingo <wingo@pobox.com>
16717 * tests/network-clock-utils.scm (debug, print-event): New utils.
16719 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16720 (*packet-loss*): Unified loss probability.
16721 (network-time): Report out-of-band events.
16723 * tests/plot-data: Add support for out-of-band events. Hack it
16724 into this script instead of passing it down the pipe; should fix
16727 2005-06-28 Wim Taymans <wim@fluendo.com>
16729 * docs/gst/gstreamer.types:
16730 * docs/gst/tmpl/gstbasesrc.sgml:
16731 * docs/gst/tmpl/gstpad.sgml:
16734 2005-06-28 Wim Taymans <wim@fluendo.com>
16736 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16737 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16738 (gst_proxy_pad_do_fixatecaps):
16739 Correctly proxy the check_pull_range function.
16741 2005-06-28 Andy Wingo <wingo@pobox.com>
16743 * tests/network-clock.scm: Removed need for slib.
16745 2005-06-28 Wim Taymans <wim@fluendo.com>
16747 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16748 (gst_basesink_preroll_queue_flush):
16749 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16750 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16751 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16752 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16753 (gst_proxy_pad_set_property):
16756 * gst/gstqueue.c: (gst_queue_init):
16757 The deprecated pad loop function is removed now.
16759 2005-06-28 Andy Wingo <wingo@pobox.com>
16761 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16762 New parameters, simulate network packet loss.
16764 * tests/network-clock-utils.scm: Initialize the RNG.
16766 2005-06-28 Wim Taymans <wim@fluendo.com>
16768 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16769 (gst_basesink_event), (gst_basesink_deactivate):
16770 Flushing the preroll queue always needs to unlock the waiters.
16772 2005-06-28 Edward Hervey <edward@fluendo.com>
16774 * gst/gstpipeline.c: (gst_pipeline_send_event):
16775 Wheen a seek was successful on a pipeline, set the stream_time to the
16776 seek offset in order to have a synchronized stream_time.
16778 2005-06-28 Wim Taymans <wim@fluendo.com>
16780 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16781 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16782 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16783 (gst_proxy_pad_do_fixatecaps):
16784 Call wrapper function instead of just calling the function
16785 pointers. This takes care of any locking and whatmore.
16787 2005-06-28 Wim Taymans <wim@fluendo.com>
16789 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16790 (gst_pad_pull_range):
16792 CONNECTED -> LINKED.
16794 2005-06-28 Andy Wingo <wingo@pobox.com>
16796 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16797 source-munging commit!!!
16799 * gst/gstobject.c (gst_object_unref, gst_object_ref)
16800 (gst_object_sink): Take gpointer arguments, not GstObject --
16801 avoids casts. Like GLib.
16803 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16806 2005-06-27 Andy Wingo <wingo@pobox.com>
16808 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16811 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16812 returns a sorted copy of the trace list.
16813 (gst_alloc_trace_print_live): New API, only prints traces with
16814 live objects. Sort the list.
16815 (gst_alloc_trace_print_all): Sort the list.
16816 (gst_alloc_trace_print): Align columns.
16818 * gst/elements/gstttypefindelement.c:
16819 * gst/elements/gsttee.c:
16820 * gst/base/gstbasesrc.c:
16821 * gst/base/gstbasesink.c:
16822 * gst/base/gstbasetransform.c:
16823 * gst/gstqueue.c: Adapt for pad activation changes.
16825 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16827 (gst_pipeline_dispose): Drop ref on sched.
16829 * gst/gstpad.c (gst_pad_init): Set the default activate func.
16830 (gst_pad_activate_default): Push mode by default.
16831 (pre_activate_switch, post_activate_switch): New stubs, things to
16832 do before and after switching activation modes on pads.
16833 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
16834 the pad's activate function to choose which mode to activate.
16835 Shortcut on deactivation and call the right function directly.
16836 (gst_pad_activate_pull): New API, (de)activates a pad in pull
16838 (gst_pad_activate_push): New API, same for push mode.
16839 (gst_pad_set_activate_function)
16840 (gst_pad_set_activatepull_function)
16841 (gst_pad_set_activatepush_function): Setters for new API.
16843 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
16844 Trace all miniobjects.
16845 (gst_mini_object_make_writable): Unref the arg if we copy, like
16846 gst_caps_make_writable.
16848 * gst/gstmessage.c (_gst_message_initialize): No trace init.
16850 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
16851 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
16852 Adapt for new pad API.
16854 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
16856 * gst/gstelement.h:
16857 * gst/gstelement.c (gst_element_iterate_src_pads)
16858 (gst_element_iterate_sink_pads): New API functions.
16860 * gst/gstelement.c (iterator_fold_with_resync): New utility,
16861 should fold into gstiterator.c in some form.
16862 (gst_element_pads_activate): Simplified via use of fold and
16863 delegation of decisions to gstpad->activate.
16865 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
16868 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
16869 class once in init, like gstmessage. Didn't run into this issue
16870 but it seems correct. Don't initialize a trace, gstminiobject does
16873 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
16874 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
16876 (assert_live_count): New util function, uses alloc traces to check
16879 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
16880 To be modified when unlink drops the internal pad.
16882 2005-06-27 Wim Taymans <wim@fluendo.com>
16884 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
16885 (gst_bin_change_state):
16886 Cleanup the get_state() function a little, make sure it
16887 iterates the same set of elements.
16888 Added stub iterate_state_order().
16890 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
16892 * docs/gst/gstreamer-docs.sgml:
16893 * docs/gst/gstreamer-sections.txt:
16894 * docs/gst/gstreamer.types:
16895 * docs/gst/tmpl/gstbasesink.sgml:
16896 * docs/gst/tmpl/gstbasesrc.sgml:
16897 * docs/gst/tmpl/gstbasetransform.sgml:
16898 * docs/gst/tmpl/gstelement.sgml:
16899 * docs/gst/tmpl/gstiterator.sgml:
16900 * gst/base/gstbasesrc.c:
16901 * gst/base/gstbasesrc.h:
16902 * gst/base/gstbasetransform.h:
16903 * gst/gstelement.c:
16904 * gst/gstiterator.h:
16905 adding basetransform and iterator docs
16907 2005-06-27 Andy Wingo <wingo@pobox.com>
16909 * docs/design/part-activation.txt: Notes on how activation should
16910 work -- not quite implemented yet.
16912 2005-06-25 Wim Taymans <wim@fluendo.com>
16914 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
16915 At least get the chain function correct, needs more
16918 2005-06-25 Wim Taymans <wim@fluendo.com>
16920 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16921 (gst_basesink_handle_object), (gst_basesink_event),
16922 (gst_basesink_do_sync), (gst_basesink_handle_event),
16923 (gst_basesink_change_state):
16925 Right, two problems here: ghostpads don't take locks and
16926 glib _rec_mutex_lock_full() with depth==0 still locks.
16927 Catch illegal locking and g_warn them.
16929 2005-06-25 Wim Taymans <wim@fluendo.com>
16931 * check/states/sinks.c: (START_TEST), (gst_object_suite):
16932 Have to check for completion now...
16934 2005-06-25 Wim Taymans <wim@fluendo.com>
16936 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16937 (gst_basesink_handle_object), (gst_basesink_event),
16938 (gst_basesink_do_sync), (gst_basesink_handle_event),
16939 (gst_basesink_change_state):
16941 Unlock STREAM_LOCK whatever the recursion was.
16943 2005-06-25 Wim Taymans <wim@fluendo.com>
16945 * gst/base/gstbasesink.c: (gst_basesink_set_property),
16946 (gst_basesink_preroll_queue_empty),
16947 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
16948 (gst_basesink_event), (gst_basesink_do_sync),
16949 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
16950 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
16951 (gst_basesink_change_state):
16952 Reworked the base sink, handle event and buffer serialisation
16953 correctly and removed possible deadlock.
16954 Handle EOS correctly.
16956 2005-06-25 Wim Taymans <wim@fluendo.com>
16958 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
16959 (gst_pipeline_change_state):
16960 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16961 Allow elements to post EOS in the state change function.
16962 Fix up -launch, make it exit the poll loop when the
16963 pipeline actually changed state.
16964 Fix up warning parsing in -launch.
16966 2005-06-25 Wim Taymans <wim@fluendo.com>
16968 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
16969 (gst_tee_sink_activate):
16970 Core takes STREAM_LOCK for us now.
16972 2005-06-25 Wim Taymans <wim@fluendo.com>
16974 * gst/gstelement.c: (gst_element_get_state_func),
16975 (gst_element_set_state):
16976 * gst/gstelement.h:
16977 * gst/gstmessage.c: (gst_message_parse_error),
16978 (gst_message_parse_warning):
16979 Keep track of current target state while performing a state
16980 change so that subclasses can do something interesting.
16981 Fix parsing of warning/error messages when GError is NULL.
16983 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
16985 * docs/gst/Makefile.am:
16986 * docs/gst/gstreamer-docs.sgml:
16987 * docs/gst/gstreamer-sections.txt:
16988 * docs/gst/gstreamer.types:
16989 * docs/gst/tmpl/gstbasesink.sgml:
16990 * docs/gst/tmpl/gstbasesrc.sgml:
16991 * docs/gst/tmpl/gstbin.sgml:
16992 * docs/gst/tmpl/gstcompat.sgml:
16993 * docs/gst/tmpl/gstfakesink.sgml:
16994 * docs/gst/tmpl/gstfakesrc.sgml:
16995 * docs/gst/tmpl/gstfilesink.sgml:
16996 * docs/gst/tmpl/gstfilesrc.sgml:
16997 * docs/gst/tmpl/gstindex.sgml:
16998 * docs/manual/appendix-quotes.xml:
16999 * gst/base/gstbasesrc.h:
17000 * gst/elements/gstfakesrc.h:
17001 * gst/gstmessage.h:
17002 start pulling in base classes and elements in our docs
17004 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17006 * docs/gst/Makefile.am:
17007 * docs/libs/Makefile.am:
17008 fixed make distcheck with gtk-doc 1.3
17010 2005-06-23 Wim Taymans <wim@fluendo.com>
17012 * gst/gstelement.c: (gst_element_get_state_func),
17013 (gst_element_set_state), (gst_element_change_state):
17014 When the state did not change, also report NO_PREROLL
17017 2005-06-23 Wim Taymans <wim@fluendo.com>
17019 * gst/gstpad.c: (gst_pad_event_default):
17020 * gst/gstqueue.c: (gst_queue_loop):
17021 No unsafe task pausing please.
17023 2005-06-23 Wim Taymans <wim@fluendo.com>
17025 * gst/schedulers/threadscheduler.c:
17026 (gst_thread_scheduler_task_start),
17027 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17028 Ref the task before pushing it on the threadpool. This
17029 makes sure that we have a ref when the threadfunction is
17032 2005-06-23 Andy Wingo <wingo@pobox.com>
17034 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17035 offset is greater than the file's size.
17037 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17038 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17039 * gst/gstobject.c (gst_object_class_init): Make the class lock
17040 recursive. Wim won't let me drop deep_notify. Decodebin works
17041 again, whoopdy doo.
17043 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17044 internal pad, and hacks accordingly. Doesn't do it on the target
17045 pad because we change its caps. Probably catches all cases of
17047 (gst_ghost_pad_set_property): Connect to notify::caps as
17050 * tests/network-clock.scm (plot-simulation): Pipe data to the
17051 elite python skript.
17053 * tests/network-clock-utils.scm (define-parameter): New macro,
17054 defines a parameter that can be set via the command line.
17055 (set-parameter!, parse-parameter-arguments): Command line args
17058 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17061 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17063 * gst/elements/gsttypefindelement.c:
17064 (gst_type_find_element_handle_event):
17065 Don't restart typefinding on a discont.
17066 * gst/gstelement.c: (gst_element_set_state):
17067 Debug spelling fix.
17068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17069 Allow changing mode of an active pad.
17070 Debug output fixes.
17071 * gst/registries/gstlibxmlregistry.c: (load_feature):
17072 Don't cast a static pad template to a normal pad template.
17074 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17076 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17077 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17078 remove gst_strtoll completely, since it didn't actually do
17079 anything more than what g_ascii_strtoull already does.
17080 check for range errors when deserializing
17081 do a cast for the unsigned cases; but further fixing needs
17082 a decision on what the interpretation of "(int)" and
17083 deserialization should be for values that fall outside the
17084 type's boundaries (ie, refuse, or interpret as casting)
17086 2005-06-23 Wim Taymans <wim@fluendo.com>
17088 * check/Makefile.am:
17089 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17090 * docs/design/part-live-source.txt:
17091 * docs/design/part-states.txt:
17092 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17093 (gst_basesrc_set_live), (gst_basesrc_is_live),
17094 (gst_basesrc_get_range), (gst_basesrc_activate),
17095 (gst_basesrc_change_state):
17096 * gst/base/gstbasesrc.h:
17097 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17098 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17099 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17100 * gst/gstelement.c: (gst_element_get_state_func),
17101 (gst_element_set_state):
17102 * gst/gstelement.h:
17104 * tools/gst-launch.c: (event_loop), (main):
17105 Added support for live sources and other elements that
17107 Updated design docs, added live-source design doc.
17108 Implemented live source functionality in basesrc
17109 Fix error condition in _bin_get_state()
17110 Implement live source handling in -launch.
17111 Added check for live sources.
17112 Fixed case in GstBin where elements were changed state
17116 2005-06-23 Andy Wingo <wingo@pobox.com>
17118 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17119 borken refcounting.
17121 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17122 gst_caps_replace takes care of this for us.
17124 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17125 gst_pad_set_caps on the target, not just its setcaps() function.
17127 * tests/network-clock.scm:
17128 * tests/network-clock-utils.scm: A network clock simulator.
17129 Something of an algorithmic testbed before doing something in C.
17131 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17133 * check/Makefile.am:
17134 * check/gst/capslist.h:
17135 copy over from 0.8, and add two with bitmasks specified with
17137 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17138 add test to parse everything from capslist.h
17139 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17141 add test for structure deserialization
17142 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17143 add tests for deserialization of strings to int types
17144 * gst/gststructure.c: (gst_structure_nth_field_name):
17145 * gst/gststructure.h:
17146 add a way to get the name of a field referenced by index
17147 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17148 instead of checking if the resulting long long lies between
17149 min and max, we check if the long long would fit into
17150 a number of bytes for the final type.
17151 This fixes cases where a string represents 2^32 - 1, which
17152 when cast to int would be the (valid) -1, but is bigger than
17155 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17157 * gst/parse/grammar.y:
17158 add a log line for type deserialization
17160 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17162 * check/gst/gstvalue.c: (START_TEST):
17163 * gst/gstvalue.c: (gst_value_deserialize):
17164 return long long, not int, so gint64 deserialization actually
17165 works. Is there any flag that makes the compiler check this ?
17168 2005-06-22 Wim Taymans <wim@fluendo.com>
17171 Added convenience macros for setting buffers in GValue.
17173 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17175 * check/gst/.cvsignore:
17176 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17177 add a test deserializing int64, and comment part out because
17180 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17182 * check/Makefile.am:
17183 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17184 * testsuite/Makefile.am:
17185 * testsuite/caps/Makefile.am:
17186 * testsuite/caps/value_serialize.c:
17187 * testsuite/test_gst_init.c:
17188 move a value_serialize test over
17190 2005-06-20 Wim Taymans <wim@fluendo.com>
17195 * gst/gstvalue.c: (gst_value_compare_buffer),
17196 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17197 (gst_value_compare_flags), (gst_value_serialize_flags),
17198 (gst_value_deserialize_flags), (_gst_value_initialize):
17199 Fix serialisation of buffers, they are not boxed types anymore
17201 2005-06-20 Wim Taymans <wim@fluendo.com>
17203 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17204 Testcase to show error in buffer-on-caps serialisation.
17206 2005-06-20 Andy Wingo <wingo@pobox.com>
17208 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17209 will be adding to later.
17211 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17212 if its socks fill with rocks.
17213 (gst_system_clock_obtain): Set the name on object construction.
17214 Avoid double-checked locking.
17216 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17218 * gst/gsturi.c: (gst_element_make_from_uri):
17219 Fix potential endless loop.
17221 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17223 * check/Makefile.am:
17225 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17227 move over from testsuite dir and clean up
17230 * testsuite/Makefile.am:
17231 * testsuite/tags/.cvsignore:
17232 * testsuite/tags/Makefile.am:
17233 * testsuite/tags/merge.c:
17234 remove testsuite/tags
17236 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17238 * docs/gst/gstreamer-sections.txt:
17239 * docs/gst/tmpl/gstenumtypes.sgml:
17240 * win32/gstenumtypes.c:
17241 clean up documentation build a little
17243 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17245 * check/gstcheck.h:
17246 add macros for checking refcounts on objects and caps
17247 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17248 add some more unit tests
17249 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17250 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17251 fix leaked refcounts (I hope :)) so unittest works
17255 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17257 * configure.ac: back to HEAD
17259 === release 0.9.1 ===
17261 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17267 2005-06-17 Andy Wingo <wingo@pobox.com>
17269 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17270 assert; it's always possible that the pad gets deactivated in
17271 between the checks in gstpad.c and the implementation. Rely on
17272 finish_preroll() to return a FLUSHING or similar instead of on the
17275 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17276 clock and post an EOS message if we come out of finish_preroll in
17279 2005-06-16 David Schleef <ds@schleef.org>
17281 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17282 (gst_capsfilter_set_property): Allow NULL as possible value
17283 for filter_caps property, indicating GST_CAPS_ANY.
17285 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17287 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17289 * gst/schedulers/Makefile.am:
17291 * gstreamer.spec.in:
17294 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17296 * gstreamer.spec.in:
17299 2005-06-08 Andy Wingo <wingo@pobox.com>
17301 * gst/gstutils.c: RPAD fixes all around.
17302 (gst_element_link_pads): Refcounting fixes.
17304 * tools/gst-inspect.c:
17305 * tools/gst-xmlinspect.c:
17307 * gst/base/gsttypefindhelper.c:
17308 * gst/base/gstbasesink.c:
17309 * gst/gstqueue.c: RPAD fixes.
17311 * gst/gstghostpad.h:
17312 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17313 pads. The tricky thing is they provide both source and sink
17314 interfaces, since they proxy the internal pad for the external
17315 pad, and vice versa. Implement with lower-level ProxyPad objects,
17316 with the interior proxy pad as a child of the exterior ghost pad.
17317 Should write a doc on this.
17319 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17320 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17323 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17324 pads are real pads. No ghost pads in this file. Not documenting
17325 the myriad s/RPAD/PAD/ and REALIZE fixes.
17326 (gst_pad_class_init): Add properties for "direction" and
17327 "template". Both are construct-only, so they can't change during
17328 the life of the pad. Fixes properly deriving from GstPad.
17329 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17330 derived objects, just set properties when creating the objects via
17332 (gst_pad_get_parent): Implement as a function, return NULL if the
17333 parent is not an element.
17334 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17335 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17337 * gst/gstobject.c (gst_object_class_init): Make name a construct
17338 property. Don't set it in the object init.
17340 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17341 with UNKNOWN direction.
17342 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17343 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17344 (gst_element_remove_pad): Remove ghost-pad special cases.
17345 (gst_element_pads_activate): Remove rpad cruft.
17347 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17348 catch the pad's-parent-not-an-element case.
17350 * gst/gst.h: Include gstghostpad.h.
17352 * gst/gst.c (init_post): No more real, ghost pads.
17354 * gst/Makefile.am: Add gstghostpad.[ch].
17356 * check/Makefile.am:
17357 * check/gst/gstbin.c:
17358 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17359 into a bin creates ghost pads, and that the refcounts are right.
17360 Partly moved from gstbin.c.
17362 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17364 * check/gst-libs/.cvsignore:
17365 * check/gst/.cvsignore:
17366 * check/pipelines/.cvsignore:
17368 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17369 (START_TEST), (cleanup_suite), (main):
17370 add some tests related to cleanup after running pipelines
17372 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17374 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17375 add a testsuite for GstBuffer
17377 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17379 * gst/gstminiobject.h:
17380 add defines for accessing the refcount
17382 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17384 * Makefile.am: added support for html unit test coverage reports
17386 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17388 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17389 Free existing caps if the capsfilter changes. Add a FIXME about
17390 setting those caps on the pads.
17392 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17393 Before adding a ghost pad to a parent bin, check that there isn't
17394 already one for the element on the bin. Prevents infinite recursion
17395 when using decodebin in parse pipelines. Andy says he'll rewrite the
17396 way this works anyway, so ignore the hack.
17398 2005-06-02 Andy Wingo <wingo@pobox.com>
17400 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17401 file size, pass it on to the type find helper.
17403 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17404 segment_start and segment_end properly according to the seek
17405 method. Segment_end is still a bit flaky because offset can be
17406 negative for CUR and END cases, but it takes -1 as an "unset"
17409 2005-06-02 Wim Taymans <wim@fluendo.com>
17411 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17412 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17413 (gst_basesink_activate):
17414 * gst/base/gstbasesink.h:
17415 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17416 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17417 (gst_pad_query), (gst_pad_start_task):
17419 * gst/gstqueue.c: (gst_queue_bufferalloc),
17420 (gst_queue_handle_sink_event), (gst_queue_chain):
17421 Bufferalloc: return GstFlowReturn to more accuratly report
17422 why allocation failed.
17424 2005-06-02 Wim Taymans <wim@fluendo.com>
17426 * gst/gstpipeline.c: (gst_pipeline_send_event):
17427 Take snapshot of state without blocking.
17429 2005-06-02 Wim Taymans <wim@fluendo.com>
17431 * docs/design/part-TODO.txt:
17432 * docs/design/part-caps.txt:
17433 * docs/design/part-clocks.txt:
17434 * docs/design/part-negotiation.txt:
17435 * docs/design/part-preroll.txt:
17438 2005-05-30 Wim Taymans <wim@fluendo.com>
17440 * gst/elements/gstidentity.c: (gst_identity_event),
17441 (gst_identity_transform), (gst_identity_get_property):
17442 Protect last_message property as it is accessed from
17445 2005-05-30 Wim Taymans <wim@fluendo.com>
17447 * gst/gstelement.c: (gst_element_init),
17448 (gst_element_pads_activate), (gst_element_change_state):
17449 Slicker pad activation code.
17451 2005-05-30 Wim Taymans <wim@fluendo.com>
17454 * gst/gstelement.h:
17455 * gst/gstelementfactory.h:
17457 Move elementfactory methods to separate .h file.
17459 2005-05-30 Wim Taymans <wim@fluendo.com>
17461 * docs/design/part-overview.txt:
17462 * gst/gstsystemclock.h:
17463 Small typo fixes, doc updates.
17465 2005-05-30 Wim Taymans <wim@fluendo.com>
17467 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17468 (init_popt_callback):
17469 Remove cpu-opt flag.
17471 2005-05-30 Wim Taymans <wim@fluendo.com>
17473 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17474 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17476 Avoid typechecking in places where not needed.
17477 Added accessor for malloc_data.
17479 2005-05-30 Wim Taymans <wim@fluendo.com>
17481 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17482 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17483 (gst_pad_configure_sink), (gst_pad_configure_src),
17484 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17485 (gst_pad_start_task):
17486 Propagate errors from _set_caps() in configure_src/sink
17487 functions instead of returning TRUE.
17488 FLUSH events can travel up and downstream
17491 2005-05-30 Wim Taymans <wim@fluendo.com>
17493 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17494 (gst_basesink_activate):
17495 Handle EOS in preroll.
17497 2005-05-30 Wim Taymans <wim@fluendo.com>
17499 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17500 (gst_queue_loop), (gst_queue_handle_src_event):
17501 Remove old pieces of code
17502 Flushing the queue in an upstream event is a very bad idea.
17504 2005-05-26 Andy Wingo <wingo@pobox.com>
17506 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17507 gst_value_set_mini_object so as to add a ref on the object (which
17508 will be removed when the value is unset).
17510 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17511 arg type in ::handoff.
17513 * gst/gstelement.c (gst_element_change_state): Also deactivate
17514 pads in READY->NULL, just in case the element didn't make it to
17515 PAUSED. Wingo tested, Wim approved.
17517 2005-05-26 Wim Taymans <wim@fluendo.com>
17519 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17520 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17521 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17522 A flushing pad cannot be used to alloc_buffer from.
17524 2005-05-26 Wim Taymans <wim@fluendo.com>
17526 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17527 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17528 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17529 (gst_bus_create_watch), (gst_bus_add_watch_full):
17531 Implement a real GSource and use g_main_context_wakeup() to
17532 signal new messages instead of the socketpair.
17534 2005-05-25 Wim Taymans <wim@fluendo.com>
17536 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17537 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17538 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17539 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17540 (gst_pad_send_event), (gst_pad_start_task):
17541 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17542 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17543 (gst_queue_sink_activate), (gst_queue_src_activate),
17544 (gst_queue_change_state):
17546 Fix state changes for non sinks. We now change sinks, then elements
17547 with unconnected srcpads, then the rest.
17548 More efficient queue unlocking in flush and state changes.
17549 Set the pad activate mode even if it does not have an activate
17552 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17554 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17555 Don't go in pull mode for non-seekable sources.
17556 * gst/elements/gsttypefindelement.h:
17557 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17558 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17559 (free_entry), (stop_typefinding),
17560 (gst_type_find_element_handle_event), (find_peek),
17561 (gst_type_find_element_chain), (do_pull_typefind),
17562 (gst_type_find_element_change_state):
17563 Allow typefinding (w/o seeking) in push-mode, simplified version
17564 of what was in 0.8.
17565 * gst/gstutils.c: (gst_buffer_join):
17567 gst_buffer_join() from 0.8.
17569 2005-05-25 Wim Taymans <wim@fluendo.com>
17571 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17572 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17573 (gst_pad_send_event), (gst_pad_start_task):
17574 Disable attempt at mode switching until it is figured out.
17576 2005-05-25 Wim Taymans <wim@fluendo.com>
17578 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17579 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17580 (gst_basesink_finish_preroll), (gst_basesink_chain),
17581 (gst_basesink_loop), (gst_basesink_activate),
17582 (gst_basesink_change_state):
17583 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17584 (gst_basesrc_get_range), (gst_basesrc_loop),
17585 (gst_basesrc_activate):
17586 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17587 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17588 (gst_real_pad_init), (gst_real_pad_set_property),
17589 (gst_real_pad_get_property), (gst_pad_set_active),
17590 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17591 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17592 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17593 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17594 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17595 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17596 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17597 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17598 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17599 (gst_pad_stop_task):
17601 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17602 (gst_queue_loop), (gst_queue_src_activate):
17603 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17604 (gst_task_get_state):
17606 * gst/schedulers/threadscheduler.c:
17607 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17608 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17610 Remove ACTIVE pad flag, use FLUSHING everywhere
17611 Added _pad_chain(), _pad_get_range() to call chain/getrange
17613 Add locks around IS_FLUSHING when reading.
17614 Take STREAM lock in chain(), get_range() functions so plugins
17615 don't need to take it anymore.
17619 2005-05-25 Wim Taymans <wim@fluendo.com>
17621 * tools/gst-launch.c: (event_loop):
17622 Unref message after using its contents instead of
17625 2005-05-24 Wim Taymans <wim@fluendo.com>
17627 * docs/design/draft-ghostpads.txt:
17628 * docs/design/draft-push-pull.txt:
17629 * docs/design/draft-query.txt:
17630 * docs/design/part-overview.txt:
17631 Docs updates, added general overview doc.
17633 2005-05-21 David Schleef <ds@schleef.org>
17635 * docs/gst/tmpl/old/GstBin.sgml:
17636 * docs/gst/tmpl/old/GstBuffer.sgml:
17637 * docs/gst/tmpl/old/GstCaps.sgml:
17638 * docs/gst/tmpl/old/GstClock.sgml:
17639 * docs/gst/tmpl/old/GstCompat.sgml:
17640 * docs/gst/tmpl/old/GstData.sgml:
17641 * docs/gst/tmpl/old/GstElement.sgml:
17642 * docs/gst/tmpl/old/GstEvent.sgml:
17643 * docs/gst/tmpl/old/GstIndex.sgml:
17644 * docs/gst/tmpl/old/GstStructure.sgml:
17645 * docs/gst/tmpl/old/GstTag.sgml:
17646 * docs/gst/tmpl/old/cothreads.sgml:
17647 * docs/gst/tmpl/old/cothreads_compat.sgml:
17648 * docs/gst/tmpl/old/gettext.sgml:
17649 * docs/gst/tmpl/old/gobject2gtk.sgml:
17650 * docs/gst/tmpl/old/grammar.tab.sgml:
17651 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17652 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17653 * docs/gst/tmpl/old/gst_private.sgml:
17654 * docs/gst/tmpl/old/gstaggregator.sgml:
17655 * docs/gst/tmpl/old/gstarch.sgml:
17656 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17657 * docs/gst/tmpl/old/gstbufferstore.sgml:
17658 * docs/gst/tmpl/old/gstdata_private.sgml:
17659 * docs/gst/tmpl/old/gstdisksink.sgml:
17660 * docs/gst/tmpl/old/gstdisksrc.sgml:
17661 * docs/gst/tmpl/old/gstelementfactory.sgml:
17662 * docs/gst/tmpl/old/gstextratypes.sgml:
17663 * docs/gst/tmpl/old/gstfakesink.sgml:
17664 * docs/gst/tmpl/old/gstfakesrc.sgml:
17665 * docs/gst/tmpl/old/gstfdsink.sgml:
17666 * docs/gst/tmpl/old/gstfdsrc.sgml:
17667 * docs/gst/tmpl/old/gstfilesink.sgml:
17668 * docs/gst/tmpl/old/gstfilesrc.sgml:
17669 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17670 * docs/gst/tmpl/old/gstidentity.sgml:
17671 * docs/gst/tmpl/old/gstindexfactory.sgml:
17672 * docs/gst/tmpl/old/gstmarshal.sgml:
17673 * docs/gst/tmpl/old/gstmd5sink.sgml:
17674 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17675 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17676 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17677 * docs/gst/tmpl/old/gstpipefilter.sgml:
17678 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17679 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17680 * docs/gst/tmpl/old/gstshaper.sgml:
17681 * docs/gst/tmpl/old/gstspider.sgml:
17682 * docs/gst/tmpl/old/gstspideridentity.sgml:
17683 * docs/gst/tmpl/old/gststatistics.sgml:
17684 * docs/gst/tmpl/old/gsttee.sgml:
17685 * docs/gst/tmpl/old/gsttimecache.sgml:
17686 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17687 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17688 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17689 * docs/gst/tmpl/old/types.sgml:
17690 I didn't intend to add these or check them in.
17692 2005-05-19 David Schleef <ds@schleef.org>
17694 * configure.ac: Use -no-common everywhere. In a sane world, it
17695 would be the default in libtool, because without it, you can't
17696 build DLLs on Windows.
17697 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17698 * docs/gst/gstreamer-sections.txt:
17699 * docs/gst/tmpl/gstcpu.sgml:
17700 * docs/gst/tmpl/gstdata.sgml:
17701 * docs/gst/tmpl/gstthread.sgml:
17703 2005-05-19 David Schleef <ds@schleef.org>
17705 * gst/gstminiobject.c: (gst_value_set_mini_object),
17706 (gst_value_take_mini_object), (gst_value_get_mini_object):
17707 * gst/gstminiobject.h: Add GValue set/get functions.
17709 2005-05-19 Wim Taymans <wim@fluendo.com>
17711 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17712 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17713 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17715 * gst/gstbus.c: (gst_bus_post):
17716 * gst/gstelement.c: (gst_element_get_random_pad):
17717 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17718 Make subbufer unref the parent in finalize.
17719 some more debugging info.
17722 2005-05-19 Wim Taymans <wim@fluendo.com>
17724 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17725 (gst_basesink_init), (gst_basesink_finalize),
17726 (gst_basesink_activate), (gst_basesink_change_state):
17727 Don't free preroll queue too early.
17729 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17733 Hi, I'm outdated. Please shoot me.
17735 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17737 * gst/gstpipeline.c: (gst_pipeline_send_event):
17738 Do not access variables after they have been deleted.
17740 2005-05-19 Wim Taymans <wim@fluendo.com>
17742 * tools/gst-inspect.c: (print_plugin_features):
17743 A plugin feature does unfortunatly not use the
17746 2005-05-18 Wim Taymans <wim@fluendo.com>
17748 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17749 Port _span() functions to new subbuffers.
17751 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17753 * gst/gstbin.c: (gst_bin_add_func):
17754 Fix clock settery in bins when adding kids after the clock has
17757 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17759 * gst/elements/gstidentity.c: (gst_identity_class_init):
17760 Workaround until signals support GstMiniObject.
17762 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
17765 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17767 2005-05-18 Wim Taymans <wim@fluendo.com>
17769 * gst/base/Makefile.am:
17770 * gst/base/gstadapter.c: (gst_adapter_base_init),
17771 (gst_adapter_class_init), (gst_adapter_init),
17772 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17773 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17774 (gst_adapter_flush), (gst_adapter_available),
17775 (gst_adapter_available_fast):
17776 * gst/base/gstadapter.h:
17777 Ported and added adapter to the base classes.
17779 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17782 * gst/gstmessage.c:
17783 Make sure the class is reffed/unreffed once before threads can be
17784 used. Fixes #304551.
17786 2005-05-17 Wim Taymans <wim@fluendo.com>
17788 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17789 (gst_basesink_chain_unlocked), (gst_basesink_activate):
17790 * gst/gstminiobject.c: (gst_mini_object_get_type),
17791 (gst_mini_object_free):
17792 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17793 (gst_pad_push), (gst_pad_push_event):
17794 * gst/gstqueue.c: (gst_queue_change_state):
17795 Don't queue buffers in basesink when we are flushing.
17796 Unref buffer when flushing in basesink.
17797 Flush queue when going to READY
17798 Unref buffer when _push() returns an error.
17799 Don't free MiniObject instance when refcount is incremented
17800 in _finalize() so that we can recover objects.
17802 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
17804 * docs/manual/advanced-schedulers.xml:
17805 * docs/manual/appendix-checklist.xml:
17806 * docs/pwg/advanced-clock.xml:
17807 * docs/pwg/advanced-interfaces.xml:
17808 * docs/pwg/advanced-request.xml:
17809 * docs/pwg/advanced-types.xml:
17810 * docs/pwg/intro-preface.xml:
17811 * examples/plugins/example.c: (gst_example_get_type),
17812 (gst_example_class_init), (gst_example_chain),
17813 (gst_example_set_property), (gst_example_get_property),
17814 (gst_example_change_state), (plugin_init):
17815 * examples/plugins/example.h:
17818 2005-05-17 Wim Taymans <wim@fluendo.com>
17820 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17821 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17822 * gst/gstqueue.c: (gst_queue_change_state):
17823 Clear queue when going to READY.
17824 Remove IN_SETCAPS flag too.
17826 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
17828 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17829 Remove implicit cast from gboolean to GstElementStateReturn;
17830 make sure we still return failure in paused => ready case if
17831 the parent class fails to change state and our own stop
17834 2005-05-17 Wim Taymans <wim@fluendo.com>
17836 * tools/gst-launch.c: (event_loop):
17837 Message was unreffed too soon.
17839 2005-05-16 Andy Wingo <wingo@pobox.com>
17841 * gst/gstbin.c (sink_iterator_filter): Err... um...
17843 * check/gst/gstbin.c (test_ghost_pads): New test for the
17844 ghosting-if-elements-not-in-same-bin behavior.
17846 2005-05-16 David Schleef <ds@schleef.org>
17848 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
17849 accessing refcount directly.
17851 2005-05-15 David Schleef <ds@schleef.org>
17853 * check/Makefile.am: remove GstData checks
17854 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
17855 * gst/Makefile.am: add miniobject, remove data
17856 * gst/gst.h: add miniobject, remove data
17857 * gst/gstdata.c: remove
17858 * gst/gstdata.h: remove
17859 * gst/gstdata_private.h: remove
17860 * gst/gsttypes.h: remove GstEvent and GstMessage
17861 * gst/gstelement.c: (gst_element_post_message): fix for API changes
17862 * gst/gstmarshal.list: change BOXED -> OBJECT
17864 Implement GstMiniObject.
17865 * gst/gstminiobject.c:
17866 * gst/gstminiobject.h:
17868 Modify to be subclasses of GstMiniObject.
17869 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
17870 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
17871 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
17872 (gst_subbuffer_get_type), (gst_subbuffer_init),
17873 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
17876 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
17877 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
17878 (_gst_event_copy), (gst_event_new):
17880 * gst/gstmessage.c: (_gst_message_initialize),
17881 (gst_message_get_type), (gst_message_class_init),
17882 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
17883 (gst_message_new), (gst_message_new_error),
17884 (gst_message_new_warning), (gst_message_new_tag),
17885 (gst_message_new_state_changed), (gst_message_new_application):
17886 * gst/gstmessage.h:
17887 * gst/gstprobe.c: (gst_probe_perform),
17888 (gst_probe_dispatcher_dispatch):
17890 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
17891 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
17892 (_gst_query_copy), (gst_query_new):
17894 Update elements for GstData -> GstMiniObject changes
17896 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
17897 (gst_queue_chain), (gst_queue_loop):
17898 * gst/elements/gstbufferstore.c:
17899 (gst_buffer_store_add_buffer_func),
17900 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
17901 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
17902 (gst_fakesink_render):
17903 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17904 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
17905 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
17906 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
17907 (gst_filesrc_create_read):
17908 * gst/elements/gstidentity.c: (gst_identity_class_init):
17909 * gst/elements/gsttypefindelement.c:
17910 (gst_type_find_element_src_event), (free_entry_buffers),
17911 (gst_type_find_element_handle_event):
17912 * libs/gst/dataprotocol/dataprotocol.c:
17913 (gst_dp_header_from_buffer):
17914 * libs/gst/dataprotocol/dataprotocol.h:
17915 * libs/gst/dataprotocol/dp-private.h:
17917 2005-05-15 David Schleef <ds@schleef.org>
17919 * gst/elements/gstelements.c: Don't include headers that were
17922 2005-05-15 David Schleef <ds@schleef.org>
17924 * gst/elements/Makefile.am: Remove some elements that don't
17925 need to be in the core (or even exist at all).
17926 * gst/elements/gstaggregator.c:
17927 * gst/elements/gstaggregator.h:
17928 * gst/elements/gstmd5sink.c:
17929 * gst/elements/gstmd5sink.h:
17930 * gst/elements/gstmultifilesrc.c:
17931 * gst/elements/gstmultifilesrc.h:
17932 * gst/elements/gstpipefilter.c:
17933 * gst/elements/gstpipefilter.h:
17934 * gst/elements/gstshaper.c:
17935 * gst/elements/gstshaper.h:
17936 * gst/elements/gststatistics.c:
17937 * gst/elements/gststatistics.h:
17938 * po/POTFILES.in: Remove above files.
17940 2005-05-14 Andy Wingo <wingo@pobox.com>
17942 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
17943 so as to get the refs right.
17944 (sink_iterator_filter): New function, wraps bin_element_is_sink,
17945 unreffing objects that don't pass the filter.
17947 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
17948 gst_element_set_bus.
17949 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
17950 normal cases, this will destroy the bus.
17952 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
17955 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
17958 2005-05-13 Andy Wingo <wingo@pobox.com>
17960 * gst/gstutils.c (gst_element_link_pads): Instead of calling
17961 gst_pad_link, call pad_link_maybe_ghosting,
17962 (pad_link_maybe_ghosting): Links pads, making sure that the
17963 elements being linked are in the same bin.
17964 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
17965 Helpers for pad_link_maybe_ghosting.
17967 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17970 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
17972 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
17974 * docs/design/part-element-source.txt:
17977 2005-05-12 Wim Taymans <wim@fluendo.com>
17979 * gst/base/gstbasesink.c: (gst_basesink_init),
17980 (gst_basesink_activate):
17981 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
17982 (gst_basesrc_is_seekable):
17983 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17984 (bin_element_is_sink), (gst_bin_change_state):
17985 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
17986 * gst/gstelement.h:
17987 Identify sinks by their flag to avoid overly complicated
17989 Do state changes even for elements not reachable from the
17991 BaseSink is a sink now :)
17992 Some more debugging info in the basesrc.
17995 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17997 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
17998 Implement _query on a bin, similar to _send_event.
18000 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18002 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18003 Discont event offset format should be GST_FORMAT_BYTES,
18004 not GST_FORMAT_TIME.
18006 2005-05-12 Wim Taymans <wim@fluendo.com>
18008 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18009 Same fix as Ronald's but without the signal.
18011 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18013 * gst/gstutils.c: (gst_element_query_position):
18014 No, an element is not a pad.
18016 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18018 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18019 (gst_bin_get_state):
18020 If a child is removed from a bin while we remove the child from
18021 the bin and while we're retrieving its state, signal this to the
18022 get_state function so we abort the wait (instead of waiting for
18023 a timeout) and can immediately re-iterate over all other elements.
18025 2005-05-12 Wim Taymans <wim@fluendo.com>
18027 * gst/base/Makefile.am:
18028 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18029 (gst_basesrc_start):
18030 * gst/base/gstbasesrc.h:
18031 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18032 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18033 (gst_pushsrc_init), (gst_pushsrc_create):
18034 * gst/base/gstpushsrc.h:
18035 Added is_seekable to BaseSrc
18036 Added simple PushSrc.
18038 2005-05-11 Wim Taymans <wim@fluendo.com>
18040 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18041 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18042 (gst_element_link_pads), (gst_element_query_position),
18043 (gst_element_query_convert), (intersect_caps_func),
18044 (gst_pad_query_position), (gst_pad_query_convert):
18045 Fix refcounting in utils function.
18046 No point in trying to activate a pad when it's added, it could
18047 be added from the state change function and then we deadlock, the
18048 element has to decide what to do.
18050 2005-05-10 Andy Wingo <wingo@pobox.com>
18052 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18053 *all* the arguments.
18055 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18056 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18057 lock (according to the docs -- if this is wrong change the docs).
18059 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18060 flush messages in the NULL state.
18062 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18063 message immediately and return.
18064 (gst_bus_set_flushing): New function. If a bus is flushing, it
18065 flushes out any queued messages and immediately unrefs new
18066 messages. This is so when an element goes to NULL, all of the
18067 unhandled messages coming from it can be freed, and their
18068 references to the element dropped. In other words: message source
18069 ref considered harmful :P
18071 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18072 we're finished with it.
18074 * gst/gstmessage.c (gst_message_new_state_changed):
18076 2005-05-10 Wim Taymans <wim@fluendo.com>
18078 * gst/gstvalue.c: (gst_value_compare_flags),
18079 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18080 (_gst_value_initialize):
18081 Added flags serialize/deserialize/compare code.
18083 2005-05-09 Andy Wingo <wingo@pobox.com>
18085 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18086 Intersect the peer's caps with our caps.
18088 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18090 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18091 * gst/elements/gsttypefindelement.c: (find_peek):
18092 Handle negative offsets better. Fixes decodebin.
18094 2005-05-09 Wim Taymans <wim@fluendo.com>
18096 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18097 (gst_base_transform_event):
18098 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18099 Implement accept_caps.
18100 Fix silly lock/unlock mismatch in base class.
18102 2005-05-09 Wim Taymans <wim@fluendo.com>
18104 * docs/design/draft-push-pull.txt:
18105 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18106 * gst/elements/gstfilesink.c: (gst_filesink_init),
18107 (gst_filesink_query):
18108 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18109 (gst_type_find_handle_src_query), (find_element_get_length):
18110 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18111 * gst/gstelement.h:
18112 * gst/gstmessage.c:
18113 * gst/gstmessage.h:
18114 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18115 (gst_real_pad_get_caps_unlocked),
18116 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18117 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18118 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18119 (gst_real_pad_dispose), (gst_real_pad_finalize),
18120 (gst_pad_load_and_link), (gst_pad_save_thyself),
18121 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18122 (gst_pad_check_pull_range), (gst_pad_pull_range),
18123 (gst_pad_template_get_type), (gst_pad_template_class_init),
18124 (gst_pad_template_init), (gst_pad_template_dispose),
18125 (name_is_valid), (gst_static_pad_template_get),
18126 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18127 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18128 (gst_pad_get_element_private), (gst_pad_start_task),
18129 (gst_pad_pause_task), (gst_pad_stop_task),
18130 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18131 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18132 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18133 (gst_ghost_pad_new):
18135 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18136 (gst_query_new_position), (gst_query_set_position),
18137 (gst_query_parse_position), (gst_query_new_convert),
18138 (gst_query_set_convert), (gst_query_parse_convert):
18140 * gst/gstqueryutils.c:
18141 * gst/gstqueryutils.h:
18142 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18143 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18144 (gst_queue_handle_src_query):
18145 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18146 (gst_element_query_position), (gst_element_query_convert),
18147 (intersect_caps_func), (gst_pad_query_position),
18148 (gst_pad_query_convert):
18150 * tools/gst-inspect.c: (print_pad_info):
18151 * tools/gst-xmlinspect.c: (print_element_info):
18152 Remove old query functions. Ported old code.
18153 Added position/convert helper functions to gstutils.
18154 Reordered gstpad.c code, grouping relevant things.
18155 Remove gst_message_new(), always need to speficy a specific
18159 2005-05-09 Andy Wingo <wingo@pobox.com>
18161 * gst/gstiterator.h: Add some includes.
18163 * gst/gstqueryutils.h: Include more headers.
18166 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18167 some uses of gst_pad_query.
18169 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18170 NULL out parameters.
18171 (gst_query_new_position): New proc, allocates a new position
18174 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18175 gstqueryutils.c to the build.
18177 * gst/gststructure.c (gst_structure_set_valist): Implement with
18178 the generic G_VALUE_COLLECT.
18180 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18182 * gst/Makefile.am: (gst_headers):
18183 Added gstqueryutils.h to the list of headers to install, that was
18184 a 'nachty' move wingo :)
18186 2005-05-06 Andy Wingo <wingo@pobox.com>
18189 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18190 GstData, init a memchunk.
18191 (standard_definitions): Add a few query types, deprecate a few.
18192 (gst_query_get_type): New proc.
18193 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18195 (gst_query_new_application, gst_query_get_structure): New public
18198 * docs/design/draft-query.txt: Removed LINKS from the query types,
18199 because all the rest can be dispatched to other pads -- seemed
18200 ugly to have a query that couldn't be dispatched. internal_links
18201 is fine as a pad method.
18203 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18204 in gstpad.c, but maintain binary compatibility for the moment.
18205 Will fix before 0.9 is out.
18207 * gst/gstqueryutils.c:
18208 * gst/gstqueryutils.h: New files, implement 3 methods for each
18209 query type: parse_query, parse_response, and set. Probably need an
18212 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18214 * gst/elements/gstfilesink.c (gst_filesink_query2):
18215 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18216 query_types, and formats methods.
18218 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18219 (gst_pad_set_query2_function): New functions.
18220 (gst_real_pad_init): Set query2_default as the default query2
18221 function. Basically just dispatches to internally linked pads.
18225 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18226 without using the atomic operations. Only one thread can possibly
18227 be accessing the data at this point. Changed so as to avoid
18228 gst_atomic operations.
18230 2005-05-06 Wim Taymans <wim@fluendo.com>
18232 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18233 Also set caps if we use the fallback buffer alloc.
18235 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18237 * docs/gst/Makefile.am:
18238 * docs/gst/gstreamer-docs.sgml:
18239 * docs/gst/gstreamer-sections.txt:
18240 * docs/gst/tmpl/gstatomic.sgml:
18241 * docs/gst/tmpl/gstmemchunk.sgml:
18242 * testsuite/elements/struct_i386.h:
18243 * win32/GStreamer.vcproj:
18245 Purge GstAtomic stuff from docs and win32 makefiles as well
18247 2005-05-06 Wim Taymans <wim@fluendo.com>
18249 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18250 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18251 * gst/gstpad.c: (gst_pad_peer_get_caps):
18252 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18253 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18254 (gst_queue_src_activate), (gst_queue_change_state):
18256 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18257 (intersect_caps_func):
18258 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18259 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18260 Some fixes for the peer_get_caps() change.
18262 2005-05-06 Wim Taymans <wim@fluendo.com>
18264 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18265 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18266 (gst_basesink_activate):
18267 Actually do something with error codes returned from the push
18270 2005-05-06 Wim Taymans <wim@fluendo.com>
18272 * docs/design/part-element-sink.txt:
18273 * docs/design/part-element-source.txt:
18274 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18275 (gst_basesink_event), (gst_basesink_activate):
18276 * gst/base/gstbasesink.h:
18277 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18278 (gst_basesrc_activate):
18279 * gst/base/gstbasesrc.h:
18280 * gst/gstelement.c: (gst_element_pads_activate):
18281 Some more documentation.
18282 Fixed scheduling decision in _pads_activate().
18284 2005-05-05 Andy Wingo <wingo@pobox.com>
18286 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18289 2005-05-05 Wim Taymans <wim@fluendo.com>
18291 * gst/base/Makefile.am:
18292 * gst/base/gstbasesink.h:
18293 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18294 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18295 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18296 (gst_collectpads_class_init), (gst_collectpads_init),
18297 (gst_collectpads_finalize), (gst_collectpads_new),
18298 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18299 (find_pad), (gst_collectpads_remove_pad),
18300 (gst_collectpads_is_active), (gst_collectpads_collect),
18301 (gst_collectpads_collect_range), (gst_collectpads_start),
18302 (gst_collectpads_stop), (gst_collectpads_peek),
18303 (gst_collectpads_pop), (gst_collectpads_available),
18304 (gst_collectpads_read), (gst_collectpads_flush),
18305 (gst_collectpads_chain):
18306 * gst/base/gstcollectpads.h:
18307 * gst/elements/Makefile.am:
18308 * gst/elements/gstelements.c:
18309 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18310 (gst_fakesink_get_times), (gst_fakesink_event),
18311 (gst_fakesink_preroll), (gst_fakesink_render):
18312 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18313 (gst_filesink_init), (gst_filesink_set_location),
18314 (gst_filesink_open_file), (gst_filesink_close_file),
18315 (gst_filesink_pad_query), (gst_filesink_event),
18316 (gst_filesink_render), (gst_filesink_change_state):
18317 * gst/elements/gstfilesink.h:
18318 Added object to help in making collect pad based elements.
18320 Make event function in sink baseclass return gboolean.
18322 2005-05-05 Wim Taymans <wim@fluendo.com>
18324 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18325 (gst_bin_get_by_name):
18327 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18328 (gst_clock_finalize):
18329 * gst/gstdata.c: (gst_data_replace):
18331 * gst/gstelement.c: (gst_element_request_pad),
18332 (gst_element_pads_activate):
18333 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18334 (gst_object_unref):
18335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18336 (gst_pad_set_checkgetrange_function),
18337 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18338 (gst_pad_check_pull_range), (gst_pad_pull_range),
18339 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18340 (gst_pad_pause_task), (gst_pad_stop_task):
18341 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18342 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18343 Fix name lookup in GstBin.
18344 Added _data_replace() function and _buffer_replace()
18345 Use finalize method to clean up clock.
18346 Fix refcounting on request pads.
18347 Fix pad schedule mode error.
18348 Some more object refcounting debug info,
18351 2005-05-04 Andy Wingo <wingo@pobox.com>
18353 * check/Makefile.am:
18354 * docs/gst/tmpl/gstatomic.sgml:
18355 * docs/gst/tmpl/gstplugin.sgml:
18356 * gst/base/gstbasesink.c: (gst_basesink_activate):
18357 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18358 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18359 (gst_basesrc_query), (gst_basesrc_set_property),
18360 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18361 (gst_basesrc_activate):
18362 * gst/base/gstbasesrc.h:
18363 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18364 (gst_base_transform_src_activate):
18365 * gst/elements/gstelements.c:
18366 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18367 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18368 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18369 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18370 (gst_type_find_element_checkgetrange),
18371 (gst_type_find_element_activate):
18372 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18373 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18374 (gst_caps_load_thyself):
18375 * gst/gstelement.c: (gst_element_pads_activate),
18376 (gst_element_save_thyself), (gst_element_restore_thyself):
18377 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18378 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18380 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18381 (gst_xml_parse_file), (gst_xml_parse_memory),
18382 (gst_xml_get_element), (gst_xml_make_element):
18383 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18384 (_file_index_id_save_xml), (gst_file_index_commit):
18385 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18386 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18388 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18389 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18390 * tools/gst-complete.c: (main):
18391 * tools/gst-compprep.c: (main):
18392 * tools/gst-inspect.c: (print_element_properties_info):
18393 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18394 * tools/gst-xmlinspect.c: (print_element_properties):
18397 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18399 * gst/gstplugin.c: (gst_plugin_check_module),
18400 (gst_plugin_check_file), (gst_plugin_load_file):
18401 apply patch from #172526 to make register work on MacOSX
18403 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18405 * docs/gst/tmpl/gstconfig.sgml:
18406 * gst/gstconfig.h.in:
18407 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18408 * testsuite/debug/printf_extension.c: (main):
18409 Do not use GST_PTR_FORMAT on pointers to types with
18410 sizeof < sizeof(gpointer). Fixes test on 64-bit
18411 * testsuite/elements/property.h:
18412 use correct printf format
18414 2005-05-02 Wim Taymans <wim@fluendo.com>
18416 * docs/design/draft-push-pull.txt:
18417 * docs/design/draft-query.txt:
18418 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18419 (gst_basesrc_start):
18420 Added draft for new query API.
18421 Added draft for better selecting scheduling methods.
18422 Make basesrc ignore length if the subclass does not support
18425 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18428 possible fixes for automake-1.5 - _LIBADD is reserved
18430 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18432 * docs/faq/Makefile.am:
18433 * docs/manual/Makefile.am:
18434 * docs/manuals.mak:
18435 * docs/pwg/Makefile.am:
18437 possible fixes for automake-1.5
18439 2005-04-28 Wim Taymans <wim@fluendo.com>
18441 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18442 (gst_basesink_pad_getcaps), (gst_basesink_init),
18443 (gst_basesink_do_sync):
18444 * gst/gstclock.c: (gst_clock_entry_new):
18445 * gst/gstevent.c: (gst_event_discont_get_value):
18446 * gst/gstpipeline.c: (pipeline_bus_handler),
18447 (gst_pipeline_change_state):
18448 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18449 Better debugging of clocking info.
18450 Allow NULL values when getting discont values.
18452 2005-04-27 Wim Taymans <wim@fluendo.com>
18454 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18455 * check/gst/gstpad.c: (gst_pad_suite):
18456 Increase timeout for checks.
18458 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18460 * check/Makefile.am:
18461 fix the broken rule for cleanup. Apparently this rule is
18462 only needed on FC2, so maybe this warrants further autotool
18465 2005-04-26 Wim Taymans <wim@fluendo.com>
18467 * gst/gsttrashstack.h:
18468 Ooohh. a nasty one! After having a failed pop() from the stack,
18469 it's possible that the stack is empty. In that case, don't
18470 follow the NULL pointer.
18472 2005-04-25 Wim Taymans <wim@fluendo.com>
18474 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18475 (gst_pad_set_checkgetrange_function),
18476 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18477 (gst_pad_check_pull_range), (gst_pad_pull_range),
18478 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18479 (gst_pad_pause_task), (gst_pad_stop_task):
18480 * gst/gstplugin.c: (gst_plugin_load):
18482 Remove gst_library_load as it does more harm than good with
18483 the new g_module flags.
18484 Revert bogus caps template check in pad linking, pad caps
18485 are important when linking not the template, which is more
18486 general than the current caps.
18488 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18490 * gst/autoplug/.cvsignore:
18491 * gst/autoplug/Makefile.am:
18492 * gst/autoplug/gstsearchfuncs.c:
18493 * gst/autoplug/gstsearchfuncs.h:
18494 * gst/autoplug/gstspider.c:
18495 * gst/autoplug/gstspider.h:
18496 * gst/autoplug/gstspideridentity.c:
18497 * gst/autoplug/gstspideridentity.h:
18498 * gst/autoplug/spidertest.c:
18501 2005-04-25 Wim Taymans <wim@fluendo.com>
18503 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18504 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18505 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18506 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18508 Added stubs for unimplemented functions.
18510 2005-04-24 David Schleef <ds@schleef.org>
18512 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18515 2005-04-24 David Schleef <ds@schleef.org>
18517 Convert everything from GstAtomicInt to g_atomic_int_*, and
18522 * gst/gstatomic_impl.h:
18530 * gst/gstdata_private.h:
18534 * gst/gstmessage.c:
18537 * gst/gststructure.c:
18538 * gst/gststructure.h:
18539 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18542 2005-04-24 David Schleef <ds@schleef.org>
18544 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18545 make the regressions tests work. Remove some code that is no
18547 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18548 Disable warning for pads without templates.
18550 2005-04-24 David Schleef <ds@schleef.org>
18552 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18553 functions that handle filtered links.
18554 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18556 * gst/gstutils.c: Fix/remove utility functions that handle
18559 * gst/gstvalue.c: Add serialization/deserialization of caps
18560 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18561 requires fixing so that the filter caps notation creates
18562 a capsfilter element and sets the filter_caps property. I
18563 think everyone probably wants to keep the shorthand notation.
18564 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18565 * docs/gst/tmpl/gstpad.sgml:
18567 * gst/elements/gstelements.c: Register capsfilter element.
18568 * gst/Makefile.am: fix spacing
18569 * docs/random/ds/0.9-suggested-changes: random
18571 2005-04-23 David Schleef <ds@schleef.org>
18573 * gst/elements/Makefile.am:
18574 * gst/elements/gstcapsfilter.c: New element that acts like an
18575 identity, but filters caps. Will eventually replace filtered
18576 caps in pad linking.
18577 * gst/gstutils.c: (gst_element_create_all_pads): New function
18578 to create all the ALWAYS pads that are registered with an
18579 element class. This functionality should eventually be
18580 merged in with GstElement initialization.
18582 * testsuite/trigger/README: part of trigger test code that should
18583 have been checked in a long time ago.
18585 2005-04-23 David Schleef <ds@schleef.org>
18587 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18588 needed with new versions of libtool (nobody will confirm this),
18589 and hard to carry around.
18590 * gst/autoplug/Makefile.am:
18591 * gst/base/Makefile.am:
18592 * gst/elements/Makefile.am:
18593 * gst/indexers/Makefile.am:
18594 * gst/schedulers/Makefile.am:
18595 * libs/gst/bytestream/Makefile.am:
18596 * libs/gst/control/Makefile.am:
18597 * libs/gst/dataprotocol/Makefile.am:
18598 * libs/gst/getbits/Makefile.am:
18600 2005-04-21 Wim Taymans <wim@fluendo.com>
18602 * docs/design/draft-push-pull.txt:
18603 * docs/design/part-MT-refcounting.txt:
18604 * docs/design/part-TODO.txt:
18605 * docs/design/part-caps.txt:
18606 * docs/design/part-events.txt:
18607 * docs/design/part-gstbus.txt:
18608 * docs/design/part-gstpipeline.txt:
18609 * docs/design/part-messages.txt:
18610 * docs/design/part-push-pull.txt:
18611 * docs/design/part-query.txt:
18614 2005-04-21 Wim Taymans <wim@fluendo.com>
18616 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18617 (gst_message_new), (gst_message_new_error),
18618 (gst_message_new_warning), (gst_message_new_tag),
18619 (gst_message_new_state_changed), (gst_message_new_application),
18620 (gst_message_get_structure):
18621 * gst/gstmessage.h:
18622 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18623 (gst_structure_copy_conditional):
18624 Use parent refcount in GstMessage to ensure GstStructure
18626 Cleaned up headers a bit.
18629 2005-04-20 Wim Taymans <wim@fluendo.com>
18631 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18632 (gst_basesink_pad_getcaps), (gst_basesink_init),
18633 (gst_basesink_chain_unlocked):
18634 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18635 (gst_type_find_helper):
18636 * gst/elements/gsttypefindelement.c:
18637 (gst_type_find_element_have_type), (gst_type_find_element_init),
18638 (stop_typefinding), (gst_type_find_element_handle_event),
18639 (find_suggest), (gst_type_find_element_chain),
18640 (gst_type_find_element_checkgetrange),
18641 (gst_type_find_element_getrange), (do_typefind),
18642 (gst_type_find_element_activate):
18643 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18644 (gst_buffer_default_free), (gst_buffer_default_copy),
18645 (gst_buffer_set_caps):
18646 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18647 (gst_caps_replace):
18648 * gst/gstmessage.c: (gst_message_new),
18649 (gst_message_new_state_changed):
18650 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18651 (gst_pad_set_checkgetrange_function),
18652 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18653 (gst_pad_set_caps), (gst_pad_check_pull_range),
18654 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18656 * gst/gsttypefind.c: (gst_type_find_register):
18657 Make gst_caps_replace() work like other _replace() functions.
18658 Use _caps_replace() where possible.
18659 Make sure _message_new() initialises its field.
18660 Add gst_static_pad_template_get_caps()
18663 2005-04-18 Andy Wingo <wingo@pobox.com>
18665 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18666 on the peer, not the pad. I think that was a typo. Pass an extra
18667 arg to see if random access is possible. Activate the pads as
18668 PULL_RANGE if possible.
18670 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18672 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18673 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18676 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18678 * docs/faq/using.xml:
18679 Add note on gstreamer-properties (#154996).
18681 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18683 * docs/random/bbb/optional-properties:
18684 Some analysis on optional properties.
18686 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18688 * docs/gst/tmpl/gstelementfactory.sgml:
18689 * gst/gstelement.h:
18690 * gst/gstelementfactory.c: (gst_element_factory_init),
18691 (gst_element_factory_cleanup), (gst_element_register),
18692 (__gst_element_factory_add_static_pad_template),
18693 (gst_element_factory_get_static_pad_templates),
18694 (gst_element_factory_can_src_caps),
18695 (gst_element_factory_can_sink_caps):
18696 * gst/registries/Makefile.am:
18697 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18698 (gst_xml_registry_class_init), (gst_xml_registry_init),
18699 (gst_xml_registry_new), (gst_xml_registry_set_property),
18700 (gst_xml_registry_get_property), (get_time), (make_dir),
18701 (gst_xml_registry_get_perms_func),
18702 (plugin_times_older_than_recurse), (plugin_times_older_than),
18703 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18704 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18705 (add_to_char_array), (read_string), (read_uint), (read_enum),
18706 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18707 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18708 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18709 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18710 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18711 (gst_xml_registry_rebuild):
18712 * gst/registries/gstlibxmlregistry.h:
18713 * tools/gst-compprep.c: (main):
18714 * tools/gst-inspect.c: (print_pad_templates_info):
18715 * tools/gst-xmlinspect.c: (print_element_info):
18716 Use libxml2 for registry parsing, use staticpadtemplates in
18717 elementfactories. Makes gst_init() +/- 10x faster.
18719 2005-04-12 Wim Taymans <wim@fluendo.com>
18721 * gst/base/Makefile.am:
18722 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18723 (gst_basesink_pad_getcaps), (gst_basesink_init),
18724 (gst_basesink_event), (gst_basesink_change_state):
18725 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18726 (gst_basesrc_init), (gst_basesrc_query),
18727 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18728 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18729 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18730 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18731 (gst_basesrc_stop), (gst_basesrc_activate),
18732 (gst_basesrc_change_state):
18733 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18734 (helper_find_suggest), (gst_type_find_helper):
18735 * gst/base/gsttypefindhelper.h:
18736 * gst/elements/Makefile.am:
18737 * gst/elements/gstelements.c:
18738 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18739 (gst_fakesink_get_times), (gst_fakesink_event),
18740 (gst_fakesink_preroll), (gst_fakesink_render):
18741 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18742 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18743 (gst_fakesrc_get_property), (gst_fakesrc_create),
18744 (gst_fakesrc_start), (gst_fakesrc_stop):
18745 * gst/elements/gstfakesrc.h:
18746 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18747 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18748 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18749 (gst_filesrc_create_read), (gst_filesrc_create),
18750 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18751 (gst_filesrc_start):
18752 * gst/elements/gsttypefindelement.c:
18753 (gst_type_find_element_have_type), (gst_type_find_element_init),
18754 (start_typefinding), (stop_typefinding), (push_buffer_store),
18755 (gst_type_find_element_handle_event),
18756 (gst_type_find_element_chain),
18757 (gst_type_find_element_checkgetrange),
18758 (gst_type_find_element_getrange), (do_typefind),
18759 (gst_type_find_element_activate),
18760 (gst_type_find_element_change_state):
18761 * gst/elements/gsttypefindelement.h:
18762 * gst/gstpipeline.c: (pipeline_bus_handler):
18763 Added typefind helper.
18764 Small preroll fix in the base sink.
18765 Disable typefind code in basesrc.
18766 Crude port of typefindelement.
18770 2005-04-11 Wim Taymans <wim@fluendo.com>
18772 * check/gst/gstbus.c: (gstbus_suite):
18773 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18774 * check/gstcheck.h:
18775 Fix up the timeout so that the test does not fail.
18777 2005-04-06 Wim Taymans <wim@fluendo.com>
18780 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18781 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18782 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18783 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18784 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18785 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18786 (gst_basesrc_stop), (gst_basesrc_activate),
18787 (gst_basesrc_change_state), (basesrc_find_peek),
18788 (basesrc_find_suggest), (gst_basesrc_type_find):
18789 * gst/base/gstbasesrc.h:
18790 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18791 (gst_filesrc_class_init), (gst_filesrc_init),
18792 (gst_filesrc_finalize), (gst_filesrc_set_location),
18793 (gst_filesrc_set_property), (gst_filesrc_get_property),
18794 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18795 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18796 (gst_filesrc_create_read), (gst_filesrc_create),
18797 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18798 * gst/elements/gstfilesrc.h:
18799 * gst/gstelement.c: (gst_element_get_state_func),
18800 (gst_element_lost_state), (gst_element_pads_activate):
18801 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18802 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18803 (gst_pad_pull_range):
18805 More work on the generic source base class, implement seeking,
18807 Make filesrc extend the base source class.
18808 Added gst_pad_set_checkgetrange_function to GstPad.
18810 2005-04-06 Andy Wingo <wingo@pobox.com>
18812 * pkgconfig/gstreamer-base.pc.in:
18813 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18815 * pkgconfig/Makefile.am:
18816 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18818 2005-04-04 Wim Taymans <wim@fluendo.com>
18820 * gst/base/Makefile.am:
18822 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18823 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18824 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18825 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18826 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18827 (gst_basesrc_base_init), (gst_basesrc_class_init),
18828 (gst_basesrc_init), (gst_basesrc_get_formats),
18829 (gst_basesrc_get_query_types), (gst_basesrc_query),
18830 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18831 (gst_basesrc_set_property), (gst_basesrc_get_property),
18832 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18833 (gst_basesrc_loop), (gst_basesrc_activate),
18834 (gst_basesrc_change_state):
18835 * gst/base/gstbasesrc.h:
18836 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
18837 (gst_fakesrc_class_init), (gst_fakesrc_init),
18838 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
18839 (gst_fakesrc_get_property), (gst_fakesrc_create):
18840 * gst/elements/gstfakesrc.h:
18841 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
18842 (gst_filesrc_open_file), (gst_filesrc_loop),
18843 (gst_filesrc_activate), (filesrc_find_peek),
18844 (gst_filesrc_type_find):
18845 Made base source class, make fakesrc extend it.
18846 Add comments to basesink class.
18847 Some filesrc cleanup.
18849 2005-03-31 David Schleef <ds@schleef.org>
18851 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
18852 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
18853 expected to link against libgstreamer.
18854 * gst/base/Makefile.am: link against libgstreamer
18855 * gst/elements/Makefile.am: same
18857 2005-03-31 Andy Wingo <wingo@pobox.com>
18859 * tests/instantiate/Makefile.am:
18860 * tests/instantiate/caps.c: Add test to test speed of caps copy
18863 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
18864 GMemChunk to be fair.
18866 * gst/gsttrashstack.h: Remove warning about using the fallback
18867 trash stack implementation, it's still faster than malloc.
18869 2005-03-30 Andy Wingo <wingo@pobox.com>
18871 * tests/complexity.c: Add a copyright.
18873 2005-03-31 Wim Taymans <wim@fluendo.com>
18875 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
18876 (gst_base_transform_class_init), (gst_base_transform_init),
18877 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
18878 (gst_base_transform_get_property),
18879 (gst_base_transform_sink_activate),
18880 (gst_base_transform_src_activate),
18881 (gst_base_transform_change_state):
18882 * gst/base/gstbasetransform.h:
18883 * gst/elements/gstidentity.c: (gst_identity_class_init),
18884 (gst_identity_event), (gst_identity_check_perfect),
18885 (gst_identity_transform), (gst_identity_start),
18886 (gst_identity_stop):
18887 Added start/stop methods to transform base class so subclasses
18888 don't need to deal with state changes even.
18890 2005-03-31 Wim Taymans <wim@fluendo.com>
18892 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
18893 (gst_event_new_discontinuous), (gst_event_discont_get_value):
18895 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18896 (gst_pad_pull_range):
18897 Added rate to the discont event to prepare for variable speed
18898 and reverse playback.
18900 2005-03-29 David Schleef <ds@schleef.org>
18903 * testsuite/trigger/Makefile.am:
18904 * testsuite/trigger/trigger.c: A little example program to show
18905 how trigger-based elements can work.
18907 2005-03-29 Wim Taymans <wim@fluendo.com>
18909 * gst/base/Makefile.am:
18911 * gst/base/gstbasesink.c: (gst_basesink_get_type),
18912 (gst_basesink_base_init), (gst_basesink_class_init),
18913 (gst_basesink_pad_getcaps), (gst_basesink_init),
18914 (gst_basesink_activate), (gst_basesink_change_state):
18915 * gst/base/gstbasesink.h:
18916 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
18917 (gst_base_transform_base_init), (gst_base_transform_finalize),
18918 (gst_base_transform_class_init), (gst_base_transform_init),
18919 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
18920 (gst_base_transform_event), (gst_base_transform_getrange),
18921 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
18922 (gst_base_transform_set_property),
18923 (gst_base_transform_get_property),
18924 (gst_base_transform_sink_activate),
18925 (gst_base_transform_src_activate),
18926 (gst_base_transform_change_state):
18927 * gst/base/gstbasetransform.h:
18928 * gst/elements/gstidentity.c: (gst_identity_finalize),
18929 (gst_identity_class_init), (gst_identity_init),
18930 (gst_identity_event), (gst_identity_check_perfect),
18931 (gst_identity_transform), (gst_identity_set_property),
18932 (gst_identity_get_property), (gst_identity_change_state):
18933 * gst/elements/gstidentity.h:
18934 * gst/gstelement.c: (gst_element_get_state_func),
18935 (gst_element_lost_state), (gst_element_pads_activate):
18936 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18937 (gst_pad_check_pull_range), (gst_pad_pull_range):
18939 Simplify pad activation.
18940 Added function to check if pull_range can be performed.
18941 Error out when pulling inactive or flushing pads.
18942 Removed const from refcounted types as it does not make sense.
18943 Simplify pad templates in basesink
18944 Added base class for simple 1-to-1 transforms.
18945 Make identity subclass the base transform.
18947 2005-03-29 Andy Wingo <wingo@pobox.com>
18949 * docs/libs/gstreamer-libs-overrides.txt:
18950 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
18951 really don't understand what's going on, but like whatever. I want
18954 * docs/gst/Makefile.am:
18955 * docs/libs/Makefile.am: Dist the overrides files.
18957 * check/Makefile.am (clean-local): Remove .libs directories.
18959 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
18960 elements to EXTRA_DIST, so po/ files are happy.
18962 * po/POTFILES.in: Er, remove it here.
18964 * po/POTFILES: Remove gstspider.c.
18966 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
18968 * docs/libs/gstreamer-libs-docs.sgml:
18969 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
18972 * tests/complexity.c (main): Set the length of the preroll queue
18973 on the sinks to prevent a lockup.
18975 * libs/gst/dataprotocol/Makefile.am:
18976 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
18977 the same as the one in check/gst-libs/gdp.c.
18979 * po/, docs/gst/: Commit automatic changes to docs and po files.
18981 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
18982 the versioned libgstbase.
18984 * check/Makefile.am: Depend on an unversioned gst-register, seems
18985 to make autoconf happier.
18987 * gst/base/Makefile.am: Make libgstbase a versioned lib.
18989 2005-03-28 Wim Taymans <wim@fluendo.com>
18992 * docs/design/part-gstelement.txt:
18993 * docs/design/part-negotiation.txt:
18994 * docs/design/part-preroll.txt:
18995 * docs/design/part-scheduling.txt:
18996 * docs/design/part-states.txt:
18998 * gst/base/Makefile.am:
19000 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19001 (gst_basesink_base_init), (gst_basesink_class_init),
19002 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19003 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19004 (gst_basesink_set_pad_functions),
19005 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19006 (gst_basesink_set_property), (gst_basesink_get_property),
19007 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19008 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19009 (gst_basesink_preroll_queue_push),
19010 (gst_basesink_preroll_queue_empty),
19011 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19012 (gst_basesink_event), (gst_basesink_get_times),
19013 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19014 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19015 (gst_basesink_loop), (gst_basesink_activate),
19016 (gst_basesink_change_state):
19017 * gst/base/gstbasesink.h:
19018 * gst/elements/Makefile.am:
19019 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19020 (gst_fakesink_class_init), (gst_fakesink_init),
19021 (gst_fakesink_set_property), (gst_fakesink_get_property),
19022 (gst_fakesink_get_times), (gst_fakesink_event),
19023 (gst_fakesink_preroll), (gst_fakesink_render),
19024 (gst_fakesink_change_state):
19025 * gst/elements/gstfakesink.h:
19026 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19027 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19028 * gst/gstelement.c: (gst_element_add_pad),
19029 (gst_element_get_state_func), (gst_element_abort_state),
19030 (gst_element_commit_state), (gst_element_lost_state),
19031 (gst_element_set_state), (gst_element_pads_activate):
19032 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19033 * gst/gstpipeline.c: (gst_pipeline_send_event),
19034 (gst_pipeline_change_state):
19035 Added state change code.
19036 Added/updated docs.
19037 Added sink base class, make fakesink extend the base class.
19038 Small cleanups in GstPipeline.
19040 2005-03-26 David Schleef <ds@schleef.org>
19042 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19043 is broken and should be implemented in a different library.
19044 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19045 * gst/gst.h: remove gstcpu.h
19046 * gst/gstcpu.c: remove
19047 * gst/gstcpu.h: remove
19048 * gst/Makefile.am.future: Remove this file. It's ancient.
19050 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19052 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19053 (gst_bin_send_event):
19054 Add default event/set_manager handlers. The set_manager handler
19055 takes care that the manager is distributed over kids that were
19056 already in the bin before the manager was set. The event handler
19057 is a utility virtual function that sends the event over all sinks,
19058 so that gst_element_send_event (bin, event); has the expected
19060 * gst/gstpad.c: (gst_pad_event_default):
19061 Re-install default event handling for discontinuities, so that
19062 seeking works without requiring hacks in applications or extra
19064 * gst/gstpipeline.c: (gst_pipeline_class_init),
19065 (gst_pipeline_send_event):
19066 Half hack, half utility: set a pipeline to PAUSED for seek events,
19067 since that is the only way we can guarantee a/v sync. Means that
19068 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19069 and it "just works".
19071 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19073 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19074 Lock/unlock mismatch.
19076 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19078 * docs/faq/gst-uninstalled:
19079 add gst-plugins-base
19080 * docs/gst/Makefile.am:
19081 don't error out until docs are fixed
19082 * docs/gst/gstreamer.types:
19085 2005-03-22 Wim Taymans <wim@fluendo.com>
19087 * check/Makefile.am:
19088 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19089 * gst/gststructure.c: (gst_structure_set_valist),
19090 (gst_structure_copy_conditional):
19091 Activated more tests.
19092 Added message test.
19093 Added G_TYPE_POINTER to GstStructure.
19096 2005-03-22 Wim Taymans <wim@fluendo.com>
19098 * docs/design/part-TODO.txt:
19099 * docs/design/part-events.txt:
19100 * docs/design/part-gstbin.txt:
19101 * docs/design/part-gstbus.txt:
19102 * docs/design/part-gstpipeline.txt:
19103 * docs/design/part-messages.txt:
19105 * gst/gstmessage.c:
19108 2005-03-21 Wim Taymans <wim@fluendo.com>
19110 * gst/gstbus.c: (gst_bus_post):
19111 Fix copy-and-paste error.
19113 2005-03-21 Wim Taymans <wim@fluendo.com>
19115 * check/Makefile.am:
19117 * gst/elements/Makefile.am:
19118 * gst/elements/gstelements.c:
19119 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19120 (gst_fakesink_event), (gst_fakesink_chain):
19121 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19122 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19123 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19124 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19125 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19126 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19127 (gst_fakesrc_loop), (gst_fakesrc_activate),
19128 (gst_fakesrc_change_state):
19129 * gst/elements/gstfakesrc.h:
19130 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19131 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19132 (gst_filesrc_open_file), (gst_filesrc_loop),
19133 (gst_filesrc_activate), (gst_filesrc_change_state),
19134 (filesrc_find_peek), (filesrc_find_suggest),
19135 (gst_filesrc_type_find):
19136 * gst/elements/gstidentity.c: (gst_identity_finalize),
19137 (gst_identity_class_init), (gst_identity_init),
19138 (gst_identity_proxy_getcaps), (identity_queue_push),
19139 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19140 (gst_identity_getrange), (gst_identity_chain),
19141 (gst_identity_sink_loop), (gst_identity_src_loop),
19142 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19143 (gst_identity_set_property), (gst_identity_get_property),
19144 (gst_identity_change_state):
19145 * gst/elements/gstidentity.h:
19146 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19147 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19148 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19149 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19150 (gst_tee_sink_activate):
19151 * gst/elements/gsttee.h:
19152 * gst/gst.c: (gst_register_core_elements), (init_post):
19154 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19155 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19156 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19157 (gst_bin_change_state):
19159 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19160 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19161 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19162 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19163 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19164 (bus_watch_callback), (bus_watch_destroy),
19165 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19166 (poll_timeout), (gst_bus_poll):
19170 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19171 (gst_element_post_message), (gst_element_message_full),
19172 (gst_element_get_state_func), (gst_element_get_state),
19173 (gst_element_abort_state), (gst_element_commit_state),
19174 (gst_element_lost_state), (gst_element_set_state),
19175 (gst_element_pads_activate), (gst_element_change_state),
19176 (gst_element_dispose), (gst_element_set_manager_func),
19177 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19178 (gst_element_set_manager), (gst_element_get_manager),
19179 (gst_element_set_bus), (gst_element_get_bus),
19180 (gst_element_set_scheduler), (gst_element_get_scheduler):
19181 * gst/gstelement.h:
19182 * gst/gstevent.c: (gst_event_new_segment_seek),
19183 (gst_event_new_flush):
19185 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19186 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19187 (gst_message_new_eos), (gst_message_new_error),
19188 (gst_message_new_warning), (gst_message_new_tag),
19189 (gst_message_new_state_changed), (gst_message_new_application),
19190 (gst_message_get_structure), (gst_message_parse_tag),
19191 (gst_message_parse_state_changed), (gst_message_parse_error),
19192 (gst_message_parse_warning):
19193 * gst/gstmessage.h:
19194 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19195 (gst_real_pad_set_property), (gst_pad_set_active),
19196 (gst_pad_is_active), (gst_pad_set_blocked_async),
19197 (gst_pad_set_blocked), (gst_pad_is_blocked),
19198 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19199 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19200 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19201 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19202 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19203 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19204 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19205 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19206 (gst_pad_set_caps), (gst_pad_configure_sink),
19207 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19208 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19209 (gst_real_pad_dispose), (gst_real_pad_finalize),
19210 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19211 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19212 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19214 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19215 (pipeline_bus_handler), (gst_pipeline_change_state),
19216 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19217 * gst/gstpipeline.h:
19219 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19220 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19221 (gst_queue_link_src), (gst_queue_bufferalloc),
19222 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19223 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19224 (gst_queue_loop), (gst_queue_handle_src_event),
19225 (gst_queue_handle_src_query), (gst_queue_src_activate),
19226 (gst_queue_change_state):
19228 * gst/gstscheduler.c: (gst_scheduler_init),
19229 (gst_scheduler_dispose), (gst_scheduler_create_task),
19230 (gst_scheduler_factory_create):
19231 * gst/gstscheduler.h:
19232 * gst/gststructure.c: (gst_structure_get_type),
19233 (gst_structure_copy_conditional):
19234 * gst/gststructure.h:
19235 * gst/gsttaginterface.h:
19236 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19237 (gst_task_init), (gst_task_dispose), (gst_task_create),
19238 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19244 * gst/schedulers/Makefile.am:
19245 * gst/schedulers/cothreads_compat.h:
19246 * gst/schedulers/entryscheduler.c:
19247 * gst/schedulers/faircothreads.c:
19248 * gst/schedulers/faircothreads.h:
19249 * gst/schedulers/fairscheduler.c:
19250 * gst/schedulers/gstbasicscheduler.c:
19251 * gst/schedulers/gstoptimalscheduler.c:
19252 * gst/schedulers/gthread-cothreads.h:
19253 * gst/schedulers/threadscheduler.c:
19254 (gst_thread_scheduler_task_get_type),
19255 (gst_thread_scheduler_task_class_init),
19256 (gst_thread_scheduler_task_init),
19257 (gst_thread_scheduler_task_start),
19258 (gst_thread_scheduler_task_stop),
19259 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19260 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19261 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19262 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19264 * libs/gst/Makefile.am:
19265 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19266 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19267 (gst_file_pad_parent_set):
19268 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19269 (gst_dp_event_from_packet):
19270 * tests/complexity.c: (main):
19271 * tests/mass_elements.c: (main):
19272 * testsuite/states/locked.c: (message_received), (main):
19273 * testsuite/states/parent.c: (main):
19274 * tools/gst-inspect.c: (print_element_flag_info),
19275 (print_implementation_info), (print_pad_info):
19276 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19278 * tools/gst-md5sum.c: (event_loop), (main):
19279 * tools/gst-typefind.c: (main):
19280 * tools/gst-xmlinspect.c: (print_element_info):
19282 Added GstBus for mainloop integration.
19283 Added GstMessage for sending notifications on the bus.
19284 Added GstTask as an abstraction for pipeline entry points.
19286 Removed Schedulers.
19287 Simplified GstQueue for multithreaded core.
19288 Made _link threadsafe, removed old capsnego.
19289 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19290 Added pad blocking functions.
19291 Reworked scheduling functions in GstPad to prepare for
19292 scheduling updates soon.
19293 Moved events out of data stream.
19294 Simplified GstEvent types.
19295 Added return values to push/pull.
19296 Removed clocking from GstElement.
19297 Added prototypes for state change function for next merge.
19298 Removed iterate from bins and state change management.
19299 Fixed some elements, disabled others for now.
19300 Fixed -inspect and -launch.
19301 Added check for GstBus.
19303 2005-03-10 Wim Taymans <wim@fluendo.com>
19305 * docs/design/part-MT-refcounting.txt:
19306 * docs/design/part-clocks.txt:
19307 * docs/design/part-gstelement.txt:
19308 * docs/design/part-gstobject.txt:
19309 * docs/design/part-standards.txt:
19310 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19311 (gst_bin_remove_func), (gst_bin_remove):
19315 * testsuite/clock/clock1.c: (main):
19316 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19318 * testsuite/dlopen/loadgst.c: (do_test):
19319 * testsuite/refcounting/bin.c: (add_remove_test1),
19320 (add_remove_test2), (main):
19321 * testsuite/refcounting/element.c: (main):
19322 * testsuite/refcounting/element_pad.c: (main):
19323 * testsuite/refcounting/pad.c: (main):
19324 * tools/gst-launch.c: (sigint_handler_sighandler):
19325 * tools/gst-typefind.c: (main):
19327 Added doc about clock.
19328 removed gst_bin_iterate_recurse_up(), marked methods
19330 Fix more testsuites.
19332 2005-03-09 Wim Taymans <wim@fluendo.com>
19334 * gst/gstpad.c: (gst_pad_get_direction),
19335 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19336 (gst_pad_collect_valist):
19337 * testsuite/bins/interface.c: (main):
19338 * testsuite/caps/audioscale.c: (test_caps):
19339 * testsuite/caps/caps.c: (test1), (test2), (test3):
19340 * testsuite/caps/deserialize.c: (main):
19341 * testsuite/caps/enumcaps.c: (main):
19342 * testsuite/caps/filtercaps.c: (main):
19343 * testsuite/caps/intersect2.c: (main):
19344 * testsuite/caps/random.c: (main):
19345 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19346 * testsuite/caps/sets.c: (check_caps):
19347 * testsuite/caps/simplify.c: (check_caps), (main):
19348 * testsuite/caps/subtract.c: (check_caps):
19349 Fix _pad_get_direction wrt ghostpads.
19350 Fix caps testsuite.
19352 2005-03-09 Wim Taymans <wim@fluendo.com>
19354 * check/Makefile.am:
19355 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19356 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19357 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19358 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19359 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19360 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19361 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19362 (bin_element_is_sink), (gst_bin_iterate_sinks),
19363 (gst_bin_iterate_all_by_interface):
19365 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19366 (gst_element_change_state), (gst_element_dispose),
19367 (gst_element_finalize), (gst_element_set_loop_function):
19368 * gst/gstelement.h:
19369 * gst/gstiterator.c: (find_custom_fold_func):
19370 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19371 (gst_pad_collectv), (gst_pad_collect_valist),
19372 (gst_pad_template_new):
19373 * gst/gstpipeline.c: (gst_pipeline_class_init),
19374 (gst_pipeline_dispose), (gst_pipeline_set_property),
19375 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19376 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19377 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19379 * gst/schedulers/entryscheduler.c:
19380 * gst/schedulers/gstbasicscheduler.c:
19381 (gst_basic_scheduler_cothreaded_chain),
19382 (gst_basic_scheduler_chain_add_element):
19383 * testsuite/bins/interface.c: (main):
19385 Added GstSystemClock test.
19386 Implemented clock distribution code in GstBin.
19387 Implemented iterate sinks method for future use.
19388 Rearranged gstelement.h
19389 Fix GstIterator comparison bug.
19390 Moved some code to GstPipeline, mostly clocking related.
19392 2005-03-09 Wim Taymans <wim@fluendo.com>
19395 * gst/gst_private.h:
19396 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19397 (gst_bin_remove_func), (gst_bin_remove),
19398 (gst_bin_get_by_name_recurse_up):
19399 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19400 (gst_clock_id_compare_func), (gst_clock_id_wait),
19401 (gst_clock_id_wait_async), (gst_clock_init),
19402 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19403 * gst/gstelement.h:
19404 * gst/gstinfo.c: (_gst_debug_init):
19406 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19407 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19409 Bump version number, we're now 0.9.0
19410 Add future debugging category.
19411 Fix NULL _unref() in _get_by_name_recurse_up
19412 Rearrange gstpad.h.
19415 2005-03-08 Wim Taymans <wim@fluendo.com>
19417 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19418 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19419 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19420 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19421 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19422 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19423 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19424 * gst/elements/gstidentity.c: (gst_identity_class_init):
19425 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19426 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19427 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19428 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19429 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19431 * gst/gstelement.c: (gst_element_class_init),
19432 (gst_element_base_class_init), (gst_element_init),
19433 (gst_element_get_random_pad), (gst_element_wait_state_change),
19434 (gst_element_change_state), (gst_element_dispose),
19435 (gst_element_finalize), (gst_element_set_loop_function):
19436 * gst/gstelement.h:
19437 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19438 * gst/gstthread.c: (gst_thread_class_init),
19439 (gst_thread_release_children_locks), (gst_thread_change_state):
19440 * gst/schedulers/gstbasicscheduler.c:
19441 (gst_basic_scheduler_loopfunc_wrapper),
19442 (gst_basic_scheduler_chain_wrapper),
19443 (gst_basic_scheduler_src_wrapper),
19444 (gst_basic_scheduler_remove_element):
19445 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19446 Remove threadsafe properties. Fix elements because GObject
19447 complains when installing a property before declaring a
19448 set/get_property handler.
19449 Rearrange gstelement.h file, use STATE macros for state locks.
19450 Free mutexes in the finalize method instead of dispose.
19452 2005-03-08 Wim Taymans <wim@fluendo.com>
19454 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19455 * gst/gstthread.c: (gst_thread_release_children_locks):
19456 Added parentage check.
19457 Fix build og GstThread again.
19459 2005-03-08 Wim Taymans <wim@fluendo.com>
19461 * docs/design/part-MT-refcounting.txt:
19462 * docs/design/part-conventions.txt:
19463 * docs/design/part-gstobject.txt:
19464 * docs/design/part-relations.txt:
19465 * docs/design/part-standards.txt:
19466 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19467 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19468 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19469 (gst_bin_iterate_all_by_interface):
19472 * gst/gstelement.c: (gst_element_class_init),
19473 (gst_element_change_state), (gst_element_set_loop_function):
19474 * gst/gstelement.h:
19475 * gst/gstiterator.c:
19476 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19477 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19478 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19479 (gst_object_set_parent), (gst_object_unparent),
19480 (gst_object_check_uniqueness):
19482 Docs updates, clean up some headers.
19484 2005-03-07 Wim Taymans <wim@fluendo.com>
19486 * check/.cvsignore:
19487 * check/Makefile.am:
19488 * check/gst-libs/.cvsignore:
19489 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19490 * check/gst/.cvsignore:
19491 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19492 (START_TEST), (gstbus_suite), (main):
19493 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19494 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19495 (gst_data_suite), (main):
19496 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19497 (add_fold_func), (gstiterator_suite), (main):
19498 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19499 (thread_name_object), (thread_name_object_default),
19500 (gst_object_name_compare), (gst_object_suite), (main):
19501 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19502 (gst_pad_suite), (main):
19503 * check/gstcheck.c: (gst_check_log_message_func),
19504 (gst_check_log_critical_func), (gst_check_init):
19505 * check/gstcheck.h:
19506 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19507 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19510 2005-03-07 Wim Taymans <wim@fluendo.com>
19512 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19513 (gst_list_iterator_next), (gst_list_iterator_resync),
19514 (gst_list_iterator_free), (gst_iterator_new_list),
19515 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19516 (gst_iterator_free), (gst_iterator_push), (filter_next),
19517 (filter_resync), (filter_uninit), (filter_free),
19518 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19519 (gst_iterator_foreach), (find_custom_fold_func),
19520 (gst_iterator_find_custom):
19521 * gst/gstiterator.h:
19522 Added missing files.
19524 2005-03-07 Wim Taymans <wim@fluendo.com>
19528 * docs/design/part-MT-refcounting.txt:
19529 * docs/design/part-conventions.txt:
19530 * docs/design/part-gstobject.txt:
19531 * docs/design/part-relations.txt:
19532 * examples/mixer/mixer.c: (main):
19533 * examples/thread/thread.c: (eos), (main):
19535 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19536 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19537 (gst_spider_plug_from_srcpad):
19538 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19539 (gst_spider_identity_change_state),
19540 (gst_spider_identity_sink_loop_type_finding):
19541 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19542 * gst/elements/gstidentity.c: (gst_identity_init):
19543 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19544 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19545 * gst/elements/gsttypefindelement.c: (free_entry):
19548 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19549 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19550 (gst_bin_set_index), (gst_bin_set_element_sched),
19551 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19552 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19553 (gst_bin_iterate_elements), (iterate_child_recurse),
19554 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19555 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19556 (compare_interface), (gst_bin_get_by_interface),
19557 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19559 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19560 (gst_buffer_default_free), (gst_buffer_default_copy),
19561 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19562 (gst_buffer_create_sub):
19564 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19565 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19566 (gst_caps_unref), (gst_static_caps_get),
19567 (gst_caps_remove_and_get_structure), (gst_caps_append),
19568 (gst_caps_append_structure), (gst_caps_remove_structure),
19569 (gst_caps_copy_nth), (gst_caps_set_simple),
19570 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19571 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19572 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19573 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19574 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19575 (gst_caps_structure_figure_out_union),
19576 (gst_caps_switch_structures), (gst_caps_do_simplify),
19577 (gst_caps_replace), (gst_caps_from_string),
19578 (gst_caps_copy_conditional):
19580 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19581 (_gst_clock_id_free), (gst_clock_id_unref),
19582 (gst_clock_id_compare_func), (gst_clock_id_wait),
19583 (gst_clock_id_wait_async), (gst_clock_class_init),
19584 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19585 (gst_clock_get_time), (gst_clock_set_time_adjust),
19586 (gst_clock_set_property), (gst_clock_get_property):
19589 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19590 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19592 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19593 (gst_element_requires_clock), (gst_element_provides_clock),
19594 (gst_element_set_clock), (gst_element_clock_wait),
19595 (gst_element_wait), (gst_element_set_time_delay),
19596 (gst_element_is_indexable), (gst_element_add_pad),
19597 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19598 (pad_compare_name), (gst_element_get_static_pad),
19599 (gst_element_request_pad), (gst_element_get_request_pad),
19600 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19601 (gst_element_class_get_pad_template_list),
19602 (gst_element_class_get_pad_template), (gst_element_error_func),
19603 (gst_element_get_random_pad), (gst_element_get_event_masks),
19604 (gst_element_send_event), (gst_element_seek),
19605 (gst_element_get_query_types), (gst_element_query),
19606 (gst_element_get_formats), (gst_element_convert),
19607 (gst_element_is_locked_state), (gst_element_set_locked_state),
19608 (gst_element_sync_state_with_parent), (gst_element_change_state),
19609 (gst_element_finalize), (gst_element_yield),
19610 (gst_element_interrupt), (gst_element_set_scheduler),
19611 (gst_element_get_scheduler), (gst_element_set_loop_function):
19612 * gst/gstelement.h:
19614 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19615 (gst_format_get_by_nick), (gst_format_get_details),
19616 (gst_format_iterate_definitions):
19618 * gst/gstindex.c: (gst_index_gtype_resolver):
19621 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19622 (gst_mem_chunk_free):
19623 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19624 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19625 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19626 (gst_object_dispatch_properties_changed),
19627 (gst_object_set_name_default), (gst_object_set_name),
19628 (gst_object_get_name), (gst_object_set_name_prefix),
19629 (gst_object_get_name_prefix), (gst_object_set_parent),
19630 (gst_object_get_parent), (gst_object_unparent),
19631 (gst_object_check_uniqueness), (gst_object_save_thyself),
19632 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19633 (gst_object_set_property), (gst_object_get_property),
19634 (gst_object_get_path_string):
19636 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19637 (gst_real_pad_init), (gst_real_pad_get_property),
19638 (gst_pad_custom_new), (gst_pad_get_direction),
19639 (gst_pad_set_active), (gst_pad_is_active),
19640 (gst_pad_set_event_function), (gst_pad_is_linked),
19641 (gst_pad_link_free), (gst_pad_link_intersect),
19642 (gst_pad_link_fixate), (gst_pad_set_caps),
19643 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19644 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19645 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19646 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19647 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19648 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19649 (gst_pad_realize), (gst_pad_get_allowed_caps),
19650 (gst_real_pad_dispose), (gst_real_pad_finalize),
19651 (gst_pad_collectv), (gst_pad_collect_valist),
19652 (gst_pad_template_dispose), (gst_pad_template_new),
19653 (gst_pad_get_internal_links):
19655 * gst/gstpipeline.c: (gst_pipeline_dispose),
19656 (gst_pipeline_change_state):
19657 * gst/gstpipeline.h:
19659 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19660 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19661 * gst/gstpluginfeature.h:
19662 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19663 * gst/gstquery.c: (_gst_query_type_initialize),
19664 (gst_query_type_register), (gst_query_type_get_by_nick),
19665 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19667 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19668 * gst/gstscheduler.c: (gst_scheduler_add_element),
19669 (gst_scheduler_factory_create):
19670 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19671 (gst_structure_free), (gst_structure_set_name),
19672 (gst_structure_id_set_value), (gst_structure_set_value),
19673 (gst_structure_set_valist), (gst_structure_remove_field),
19674 (gst_structure_remove_fields),
19675 (gst_structure_remove_fields_valist),
19676 (gst_structure_remove_all_fields), (gst_structure_foreach),
19677 (gst_structure_map_in_place),
19678 (gst_caps_structure_fixate_field_nearest_int),
19679 (gst_caps_structure_fixate_field_nearest_double):
19680 * gst/gststructure.h:
19681 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19682 (gst_system_clock_init), (gst_system_clock_dispose),
19683 (gst_system_clock_async_thread),
19684 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19685 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19686 * gst/gstsystemclock.h:
19687 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19688 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19689 * gst/gsttaginterface.c:
19690 * gst/gstthread.c: (gst_thread_dispose),
19691 (gst_thread_release_children_locks), (gst_thread_change_state),
19692 (gst_thread_main_loop):
19693 * gst/gsttrashstack.h:
19694 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19696 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19697 (gst_element_request_pad), (gst_element_get_pad_from_template),
19698 (gst_element_request_compatible_pad),
19699 (gst_element_get_compatible_pad_filtered),
19700 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19701 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19702 (gst_element_link_many), (gst_element_link),
19703 (gst_element_link_pads), (gst_element_unlink_pads),
19704 (gst_element_unlink_many), (gst_element_unlink),
19705 (gst_pad_can_link_filtered), (gst_pad_can_link),
19706 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19707 (gst_object_default_error), (gst_bin_add_many),
19708 (gst_bin_remove_many), (gst_element_populate_std_props),
19709 (gst_element_class_install_std_props), (gst_buffer_merge),
19710 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19711 (link_fold_func), (gst_pad_proxy_setcaps):
19713 * gst/gstvalue.c: (gst_value_deserialize_string):
19714 * gst/parse/grammar.y:
19715 * gst/schedulers/gstbasicscheduler.c:
19716 (gst_basic_scheduler_cothreaded_chain),
19717 (gst_basic_scheduler_chain_recursive_add),
19718 (gst_basic_scheduler_pad_link):
19719 * gst/schedulers/gstoptimalscheduler.c:
19720 (get_group_schedule_function),
19721 (gst_opt_scheduler_state_transition),
19722 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19723 * libs/gst/bytestream/bytestream.c:
19724 * libs/gst/dataprotocol/dataprotocol.c:
19725 (gst_dp_header_from_buffer):
19728 * tests/threadstate/threadstate2.c: (eos):
19729 * tools/gst-compprep.c: (main):
19730 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19731 (print_pad_info), (print_children_info):
19732 * tools/gst-launch.c: (idle_func), (main):
19733 * tools/gst-md5sum.c: (idle_func), (main):
19734 * tools/gst-xmlinspect.c: (print_element_info):
19735 First THREADED backport attempt, focusing on adding locks and
19736 making sure the API is threadsafe. Needs more work. More docs
19739 2005-02-24 Andy Wingo <wingo@pobox.com>
19741 * tests/bench-complexity.scm:
19742 * tests/complexity.gnuplot: New files, good for running complexity
19745 * tests/Makefile.am:
19746 * tests/complexity.c: New test, sets up N elements, at each level
19747 teeing into M streams per element. Eeeenteresting.
19749 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19750 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19751 running bench-mass_elements.scm.
19753 * tests/bench-mass_elements.scm: New script, runs mass_elements
19754 for various numbers of identities, outputting the results to a
19755 file. Requires guile 1.6. Just for testing.
19757 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19759 * gst/schedulers/fairscheduler.c:
19760 compile with debug disabled
19762 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
19765 hunting season on 0.9 is now OPEN