1 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
3 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
4 (gst_controller_set_from_list):
5 Don't g_return_val_if_fail() on timed values with invalid timestamps
6 inside a critical section without unlocking the mutex. Spotted by
7 René Stadler. (#357617)
8 Also, fix up refcounting properly: when returning an existing
9 controller, we should increase the reference only once and not
10 once per property and when trying to control a property again
11 we should also increase the refcount.
13 2006-09-29 Wim Taymans <wim@fluendo.com>
15 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
16 * libs/gst/net/gstnettimeprovider.c:
17 (gst_net_time_provider_thread):
18 Stop reading commands when EOF as well.
20 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
21 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
22 * plugins/elements/gstidentity.c: (gst_identity_class_init):
23 Unify description of the dump property.
25 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
27 * tests/examples/manual/.cvsignore:
28 OK, so it's actually cvsignore that needs changing. Stop laughing.
30 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
32 * tests/examples/manual/Makefile.am:
33 Gah, declare vars *before* using them
35 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
37 * gst/gst.c: (init_pre), (scan_and_update_registry),
38 (ensure_current_registry_nonforking),
39 (ensure_current_registry_forking), (ensure_current_registry),
40 (init_post), (gst_debug_help), (gst_deinit):
42 * gst/gstregistry.c: (gst_registry_finalize),
43 (gst_registry_remove_features_for_plugin_unlocked),
44 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
45 (gst_registry_scan_path),
46 (_priv_gst_registry_remove_cache_plugins),
47 (_priv_gst_registry_cleanup):
49 Re-commit the registry changes, along with an extra fix:
50 When a cached plugin is encountered at a different file path,
51 update the stored path in the registry cache so that the parent
52 process knows where it actually is now when it re-reads the registry
53 cache. Fixes the thing that broke distcheck with the previous commit.
55 * tests/check/Makefile.am:
56 Clean up files named 'core' too when running make clean.
58 * tests/examples/manual/Makefile.am:
59 Set up a registry path for running these tests, and clean it properly
62 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
65 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
66 want gmodule-no-export-2.0.pc instead so that we don't drag in
67 --export-dynamic on every project that links to GStreamer.
69 Also, make our export regex only match the start of symbols, rather
70 than any symbol that contains '_gst' somewhere.
72 * libs/gst/check/Makefile.am:
73 The libgstcheck we build does however need export-dynamic, as it
74 produces some symbols that don't match our _gst... style regex.
77 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
79 * gst/gst.c: (init_pre), (scan_and_update_registry),
80 (ensure_current_registry_nonforking),
81 (ensure_current_registry_forking), (ensure_current_registry),
82 (init_post), (gst_debug_help), (gst_deinit):
84 * gst/gstregistry.c: (gst_registry_finalize),
85 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
86 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
87 (_gst_registry_cleanup):
89 Revert previous change until I figure out why it breaks distcheck.
91 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
93 * gst/gst.c: (init_pre), (scan_and_update_registry),
94 (ensure_current_registry_nonforking),
95 (ensure_current_registry_forking), (ensure_current_registry),
96 (init_post), (gst_debug_help), (gst_deinit):
98 Make init_pre and init_post take the full complement of GOptionFunc
99 args so they can return useful GErrors. Make the registry updating
102 Call _priv_gst_registry_remove_cache_plugins after scanning files to
103 ensure that the registry we're about to write out doesn't contain
104 stale information about old-deleted plugin files.
106 Make _priv_gst_registry_remove_cache_plugins return a boolean so
107 that deletion of plugin files is considered a registry change.
110 * gst/gstregistry.c: (gst_registry_finalize),
111 (gst_registry_remove_features_for_plugin_unlocked),
112 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
113 (gst_registry_scan_path),
114 (_priv_gst_registry_remove_cache_plugins),
115 (_priv_gst_registry_cleanup):
117 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
118 by adding _priv prefix, so that they won't appear in the global
119 symbol table. They still do atm though because of #318031. Move the
120 prototypes to gst_private.h
122 When removing a plugin, remove all features for that plugin too.
125 2006-09-27 Wim Taymans <wim@fluendo.com>
127 * docs/random/moving-plugins:
128 Make it clear that the "compiled-in descriptions" really mean
131 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
132 (gst_base_sink_wait_preroll):
135 * docs/libs/gstreamer-libs-sections.txt:
136 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
137 (gst_base_src_get_range), (gst_base_src_activate_push):
138 * libs/gst/base/gstbasesrc.h:
139 Added function to block while waiting for PLAYING, this function
140 is used by live sources that block on the clock.
141 API: gst_base_src_wait_playing()
143 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
145 Patch by: Peter Kjellerstedt <pkj at axis com>
148 gst-element-check.m4 is generated and should therefore be
149 copied from the build dir rather than the source dir (#357593).
150 'make distcheck' hasn't noticed this because we were disting
151 the file as well, so stop doing that.
153 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
155 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
156 Add some tests for gst_caps_intersect().
158 * tools/gst-launch.c: (event_loop):
159 Print all buffering percentages we get, even the 100% one.
161 2006-09-26 Wim Taymans <wim@fluendo.com>
163 * tools/gst-inspect.c: (print_element_properties_info),
165 Fix printing of flags to match the look of enums.
167 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
169 * gst/gstelementfactory.c:
170 Fix typo in docs blurb.
172 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
174 * gst/gsturi.c: (search_by_entry):
175 Don't assert/crash here if a uri handler doesn't return any
176 supported protocols. The list of protocols could be generated
177 dynamically at runtime or at plugin registration, and an error
178 in the underlying library shouldn't be fatal (#353301).
180 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
183 Fix warning if HAVE_PRINTF_EXTENSION is undefined
184 (spotted by Peter Kjellerstedt).
186 2006-09-23 Wim Taymans <wim@fluendo.com>
188 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
190 * libs/gst/base/gstbasesrc.c:
191 (gst_base_src_default_check_get_range), (gst_base_src_start),
192 (gst_base_src_activate_push), (gst_base_src_activate_pull),
193 (gst_base_src_change_state):
194 Match _start/_stop calls in the activate functions. Remove redundant
195 _stop call from the state change function. Fixes #356910.
196 Turn failure DEBUG into ERROR.
198 2006-09-22 Wim Taymans <wim@fluendo.com>
200 * docs/design/part-buffering.txt:
201 * gst/gstmessage.c: (gst_message_new_buffering),
202 (gst_message_parse_buffering):
203 Update docs about buffering.
205 * docs/design/part-trickmodes.txt:
208 2006-09-22 Stefan Kost <ensonic@users.sf.net>
210 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
211 (gst_controller_new_list):
212 Ref instances when returning them again (fixes #357180)
214 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
216 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
217 Don't forget to release proxy lock when there's an error.
219 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
222 Add extra initialisers for Caps things, to fix some plugin warnings
225 2006-09-18 Wim Taymans <wim@fluendo.com>
227 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
228 Also set template on the internal pad so that a getcaps from the
229 target pad returns the template caps.
231 2006-09-18 Wim Taymans <wim@fluendo.com>
233 * gst/gstelement.c: (gst_element_post_message),
234 (gst_element_dispose):
235 Use _DEBUG_OBJECT some more.
237 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
240 * tools/gst-launch.c: (main):
241 If the toplevel element is not a GstPipeline, it must be put in a
242 pipeline so that a bus and clock is selected.
244 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
246 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
247 JITTER, RATE, and LATENCY query should be handled by the
248 default case and not by the CONVERT query code.
250 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
252 * gst/gstformat.c: (gst_format_register):
253 Fix locking order (must take lock before using n_values).
255 * gst/gstvalue.c: (gst_value_serialize_enum),
256 (gst_value_deserialize_enum_iter_cmp),
257 (gst_value_deserialize_enum):
258 Fix serialisation/deserialisation of custom registered GstFormats.
260 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
261 Unit test for custom format serialisation/deserialisation.
263 2006-09-17 Stefan Kost <ensonic@users.sf.net>
265 * docs/pwg/building-boiler.xml:
266 * plugins/elements/gstcapsfilter.c:
267 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
270 2006-09-16 Edward Hervey <edward@fluendo.com>
272 * libs/gst/base/gstbasetransform.c:
273 (gst_base_transform_buffer_alloc):
274 Check if requested caps are the same as the sinks caps IF
275 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
277 This fixes the renegotiation issues stated in #352827.
279 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
282 * docs/manual/advanced-autoplugging.xml:
283 * tests/examples/Makefile.am:
284 * tests/examples/manual/.cvsignore:
285 * tests/examples/manual/Makefile.am:
286 * tests/examples/manual/extract.pl:
287 Extract the manual examples again like we used to do.
290 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
292 * win32/common/config.h:
295 2006-09-16 Stefan Kost <ensonic@users.sf.net>
298 Documents how to receive errors.
300 2006-09-15 Wim Taymans <wim@fluendo.com>
302 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
303 (event_loop), (main):
304 Added some comments here and there.
305 Post an application message when an interrupt is caught instead of doing
306 an uncontrolled state change.
307 Clean up the event loop.
308 Handle buffering messages, pause/resume the pipeline.
309 Make shutdown because of an interrupt more reliable.
311 2006-09-15 Wim Taymans <wim@fluendo.com>
313 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
314 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
315 (gst_base_sink_preroll_object):
316 Make sure that our internal state is correct when we commit our state
317 asynchronously. This solves a race where a state change to PLAYING
318 could cause the sink to remain blocked in preroll in some situations.
320 2006-09-15 Wim Taymans <wim@fluendo.com>
322 * tools/gst-inspect.c: (print_element_properties_info),
324 List flags as hex so it's easier to deal with.
326 2006-09-15 Wim Taymans <wim@fluendo.com>
328 * docs/libs/gstreamer-libs-sections.txt:
329 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
330 (gst_base_sink_do_sync):
331 * libs/gst/base/gstbasesink.h:
332 Expose logic to wait for preroll so that subclasses such as audiosink
333 can also use this method.
334 API: gst_base_sink_wait_preroll()
336 2006-09-15 Wim Taymans <wim@fluendo.com>
338 * gst/gstobject.c: (gst_object_set_parent):
339 * gst/gstpipeline.c: (do_pipeline_seek):
340 Small cleanups in docs and code.
342 * gst/gstsegment.c: (gst_segment_clip):
343 * tests/check/gst/gstsegment.c: (GST_START_TEST):
344 if stop == start and start is in the segment, no clipping should be
345 done. Also add a test for this.
347 2006-09-15 Wim Taymans <wim@fluendo.com>
349 * docs/design/part-buffering.txt:
350 * docs/gst/gstreamer-sections.txt:
351 * gst/gstmessage.c: (gst_message_new_buffering),
352 (gst_message_parse_buffering):
354 Added methods to create and parse BUFFERING messages.
355 Added preliminary docs about buffering.
356 API: gst_message_new_buffering
357 API: gst_message_parse_buffering
359 2006-09-06 Wim Taymans <wim@fluendo.com>
362 Update documentation.
364 * gst/gstelement.c: (gst_element_class_init),
365 (gst_element_release_request_pad), (gst_element_set_clock),
366 (gst_element_get_index), (gst_element_add_pad),
367 (gst_element_remove_pad), (gst_element_get_random_pad),
368 (gst_element_send_event), (gst_element_get_query_types),
369 (gst_element_query), (gst_element_post_message),
370 (gst_element_message_full), (gst_element_continue_state),
371 (gst_element_lost_state), (gst_element_save_thyself),
372 (gst_element_restore_thyself):
373 Documentation updates.
374 Rename last bit of the new-pad -> pad-added signal rename.
375 Fix the case where an element query would only work if the source
377 Avoid some useless type checking in message handling.
382 Documentation updates.
384 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
386 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
387 add an INFO line for when we actually update the fd
389 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
394 === release 0.10.10 ===
396 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
399 releasing 0.10.10, "Pais"
401 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
403 * docs/manual/advanced-position.xml:
404 Fix typo in sample code.
406 2006-09-05 Wim Taymans <wim@fluendo.com>
408 * libs/gst/net/gstnetclientclock.c: (inet_aton),
409 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
410 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
411 * libs/gst/net/gstnetclientclock.h:
412 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
413 * libs/gst/net/gstnettimepacket.h:
414 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
415 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
416 (gst_net_time_provider_thread), (gst_net_time_provider_new):
417 * libs/gst/net/gstnettimeprovider.h:
418 Make stuff compile on windows. Fixes #345295.
420 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
422 * gst/gst.c: (ensure_current_registry_forking):
423 Print better details when child was terminated by signal.
425 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
427 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
428 Print a warning rather than g_assert() if a plugin feature
429 is a URI handler but returns no protocols (#353976).
431 2006-09-02 Stefan Kost <ensonic@users.sf.net>
433 * docs/random/moving-plugins:
436 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
438 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
439 Fix locking order, handle NULL function values properly.
444 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
445 Initialise variable before using it and fix debug statement to
446 print the address of the function rather than the address of the
447 variable on the stack holding the address of the function.
449 2006-09-01 Wim Taymans <wim@fluendo.com>
451 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
452 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
453 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
454 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
455 (gst_ghost_pad_parent_unset),
456 (gst_ghost_pad_internal_do_activate_push),
457 (gst_ghost_pad_internal_do_activate_pull),
458 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
459 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
460 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
461 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
462 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
463 (gst_ghost_pad_new_no_target_from_template),
464 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
466 Avoid needless typechecking in macros.
467 Since the internal pad is always present and never changes, there is
468 no need to locking or ref when retrieving it.
469 Improve debugging a bit.
470 Handle link errors when setting the target. Fixes #341029.
472 2006-09-01 Wim Taymans <wim@fluendo.com>
474 * docs/libs/gstreamer-libs-sections.txt:
475 * docs/plugins/gstreamer-plugins-sections.txt:
478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
479 (gst_collect_pads_event):
480 * libs/gst/base/gstcollectpads.h:
481 Documentation updates.
482 Free queued buffer when removing a pad.
484 2006-08-31 Michael Smith <msmith@fluendo.com>
486 * gst/gstutils.c: (gst_element_link_pads),
487 (gst_element_link_pads_filtered):
488 Ensure that we set a capsfilter to NULL if we failed to link it
489 when doing filtered linking, to avoid criticals.
491 No need to check for unreffing srcpad, which is explicly NULLed
492 above (a trivial code cleanup).
494 2006-08-31 Wim Taymans <wim@fluendo.com>
496 * docs/design/part-gstghostpad.txt:
497 Update ascii art in documentation.
499 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
500 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
501 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
502 (gst_ghost_pad_internal_do_activate_push),
503 (gst_ghost_pad_internal_do_activate_pull),
504 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
505 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
506 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
507 (gst_ghost_pad_set_target):
508 Small cleanups and leak fixes.
509 Remove some checks now that the internal pad is never NULL.
510 Fix the case where linking pads without a target would create nasty
511 criticals. Fixes #341029.
512 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
513 value of _set_target().
515 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
516 (gst_ghost_pad_suite):
517 Some more tests for creating and linking untargeted ghostpads.
519 2006-08-31 Edward Hervey <edward@fluendo.com>
521 * docs/gst/gstreamer-sections.txt:
522 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
523 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
524 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
525 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
526 (gst_ghost_pad_new_from_template),
527 (gst_ghost_pad_new_no_target_from_template):
529 Refactored *_new() functions.
530 Templates are now used as a g_object_new() parameter.
531 Use template in _do_getcaps() if we don't have a target.
532 Small documentation cleanups.
533 Added two new constructors:
534 gst_ghost_pad_new_from_template()
535 gst_ghost_pad_new_no_target_from_template()
536 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
537 (gst_ghost_pad_suite):
538 Added tests for new ghostpad instanciation functions.
540 API additions: gst_ghost_pad_new_from_template,
541 gst_ghost_pad_new_no_target_from_template
543 2006-08-30 Stefan Kost <ensonic@users.sf.net>
545 * docs/random/ensonic/profiling.txt:
546 Ideas about qos profiling.
548 2006-08-29 Wim Taymans <wim@fluendo.com>
550 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
554 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
557 Improve and detypofy docs.
559 * tests/check/Makefile.am:
560 * tests/check/gst/.cvsignore:
561 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
562 Add a basic test suite for GstXML.
564 2006-08-29 Wim Taymans <wim@fluendo.com>
566 * gst/gstelement.c: (activate_pads), (clear_caps),
567 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
568 Clear the pad caps when the element shut down all of the pads and
569 is not streaming data that could modify the caps.
572 2006-08-28 Michael Smith <msmith@fluendo.com>
574 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
575 Revert previous change; I misunderstood single-segment mode.
577 2006-08-28 Michael Smith <msmith@fluendo.com>
579 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
580 Unset DISCONT on buffers when using single-segment mode.
582 2006-08-28 Wim Taymans <wim@fluendo.com>
584 * gst/gstcaps.c: (gst_caps_merge_structure):
586 Fix docs and indentation again.
588 * tests/check/gst/gstquery.c: (GST_START_TEST):
589 Fix leak in tests and add some more tests.
591 2006-08-28 Edward Hervey <edward@fluendo.com>
593 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
594 Inform GstSegment of the last stop position in order for the current
595 segment to have a proper duration if it doesn't have a specific stop
596 position from which a duration could be calculated.
597 This bug was noticeable when a non-flushing, non-update new segment was
598 followed by another segment (all buffers from the new segment were being
601 2006-08-28 Wim Taymans <wim@fluendo.com>
603 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
604 Small comment update.
606 * plugins/elements/gstidentity.c: (gst_identity_class_init),
607 (gst_identity_transform_ip):
608 Drop-probability is broken, mention this in the code with a
609 FIXME and also in the property description.
610 Make silent also be silent about the drop messages.
612 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
614 * docs/manual/appendix-win32.xml:
615 Remove mention of popt, we don't depend on that any
616 longer (#353136). Add some comments pointing out that
617 this section is slightly outdated.
619 2006-08-28 Wim Taymans <wim@fluendo.com>
621 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
623 * gst/gstquery.c: (gst_query_new_segment):
624 * tests/check/gst/gstquery.c: (GST_START_TEST):
625 Initialize variables when creating a new segment query.
628 2006-08-28 Wim Taymans <wim@fluendo.com>
630 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
632 * gst/gstelement.c: (gst_element_get_bus):
633 * tests/check/gst/gstelement.c: (GST_START_TEST):
634 Check for NULL before _reffing the bus. Fixes #353122.
636 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
638 * docs/manual/basics-bus.xml:
639 Docs update: fix wrong callback return value explanation; add
640 some lines about the implicit relationship between main loop
641 and main context; remove duplicate main loop variable declaration.
643 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
645 * tests/check/gst/gstcaps.c: (GST_START_TEST):
646 Don't leak caps in unit test; add a few more simple
649 2006-08-24 Stefan Kost <ensonic@users.sf.net>
651 * docs/gst/gstreamer-sections.txt:
652 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
653 (gst_caps_structure_is_subset), (gst_caps_merge),
654 (gst_caps_merge_structure):
656 * libs/gst/base/gstbasetransform.c:
657 (gst_base_transform_transform_caps):
658 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
659 implement caps merging (fixes #352580)
661 2006-08-23 Stefan Kost <ensonic@users.sf.net>
664 * tools/gst-plot-timeline.py:
665 add debug-log plotting developer tool (#340674)
667 2006-08-23 Wim Taymans <wim@fluendo.com>
669 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
671 Improve debugging for task functions.
673 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
674 (gst_task_start), (gst_task_pause), (gst_task_join):
675 Make sure that the task function started and finished after a
677 Don't try to push the task function on the threadpool multiple
679 Improve the g_warning message with some useful suggestions
680 about how to fix the problem.
682 2006-08-23 Wim Taymans <wim@fluendo.com>
684 * gst/gstutils.c: (gst_pad_proxy_getcaps):
685 Handle RESYNC correctly in _proxy_getcaps.
687 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
689 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
690 (gst_xml_parse_memory), (gst_xml_get_element):
691 Chain up to parent class in dispose function and also
692 unref the elements in the toplevel_elements GList.
693 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
694 Always return a reference in gst_xml_get_element() rather
697 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
698 Don't leak GstXml object.
700 2006-08-21 Stefan Kost <ensonic@users.sf.net>
702 * docs/gst/gstreamer-sections.txt:
703 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
706 * libs/gst/base/gstbasetransform.c:
707 (gst_base_transform_transform_caps):
708 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
711 2006-08-21 Edward Hervey <edward@fluendo.com>
713 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
714 Implement GObject::dispose virtual method in GstXML so we can free the
717 2006-08-21 Wim Taymans <wim@fluendo.com>
719 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
720 (gst_buffer_create_sub):
721 Copy duration/offset_end/caps when creating a subbuffer of the
723 Make the subbuffer read-only when we make the metadata writable for
726 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
727 Added check for metadata copy when creating subbuffers.
729 2006-08-21 Edward Hervey <edward@fluendo.com>
731 * libs/gst/base/gstbasetransform.c:
732 (gst_base_transform_buffer_alloc):
733 Only call downstream buffer_alloc if transform element is passthrough
734 or always_in_place. Closes #350449.
736 2006-08-20 Stefan Kost <ensonic@users.sf.net>
739 ChangeLog surgery to add comments to previous changes
741 2006-08-20 Stefan Kost <ensonic@users.sf.net>
746 * gst/gstpad.c: (gst_pad_set_active):
747 Be more verbose in the log
749 * libs/gst/base/gstbasetransform.c:
750 (gst_base_transform_transform_caps):
751 Simplify caps to get rid of duplicates, fixes #345444
753 2006-08-20 Stefan Kost <ensonic@users.sf.net>
757 Use these optimizations only internally.
759 2006-08-20 Stefan Kost <ensonic@users.sf.net>
761 * gst/gstvalue.c: (gst_value_compare_list),
762 (gst_value_compare_fraction_range),
763 (gst_value_intersect_fraction_fraction_range),
764 (gst_value_intersect_fraction_range_fraction_range),
765 (gst_value_subtract_fraction_fraction_range),
766 (gst_value_subtract_fraction_range_fraction_range),
767 (gst_value_get_compare_func), (gst_value_compare),
768 (gst_value_compare_with_func):
770 Saves the expensive lookup of the compare function in many cases
773 2006-08-18 Edward Hervey <edward@fluendo.com>
775 * tests/check/gst/gstinfo.c: (gst_info_suite):
776 Disable test that require gstdebug if it wasn't built in core.
778 2006-08-18 Stefan Kost <ensonic@users.sf.net>
780 * docs/random/ensonic/logging.txt:
783 * gst/gstinfo.c: (gst_debug_log_default):
784 reorder fields, save some columns, add optional color codes for log
787 2006-08-18 Stefan Kost <ensonic@users.sf.net>
789 * docs/random/ensonic/logging.txt:
790 add ideas about making the logs a bit more useful
792 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
794 * docs/pwg/advanced-events.xml:
795 * docs/pwg/titlepage.xml:
796 Update for 0.10 API (#340627). Add myself
799 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
801 * docs/libs/gstreamer-libs-docs.sgml:
802 * docs/libs/gstreamer-libs-sections.txt:
803 * libs/gst/check/gstbufferstraw.c:
804 Make gstcheck stuff show up in docs (still needs to
805 be documented properly though).
807 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
809 * docs/gst/gstreamer-sections.txt:
811 * gst/gst.c: (init_post):
813 * gst/gstquark.c: (_priv_gst_quarks_initialize):
815 * gst/gstquery.c: (gst_query_new_position),
816 (gst_query_set_position), (gst_query_parse_position),
817 (gst_query_new_duration), (gst_query_set_duration),
818 (gst_query_parse_duration), (gst_query_new_convert),
819 (gst_query_set_convert), (gst_query_parse_convert),
820 (gst_query_new_segment), (gst_query_set_segment),
821 (gst_query_parse_segment), (gst_query_new_seeking),
822 (gst_query_set_seeking), (gst_query_parse_seeking):
823 Add internal helpers for pre-registering quarks from static strings
824 and using the quark values directly instead of looking them up when
825 creating and parsing queries. Can be used for event construction too.
828 2006-08-16 Wim Taymans <wim@fluendo.com>
833 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
835 * gst/gstutils.c: (gst_util_set_value_from_string):
836 Fix memleak (#351502).
838 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
839 Add unit test for most of gst_util_set_value_from_string()
840 (not that one would want to encourage use of this function).
842 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
844 * libs/gst/check/gstcheck.h:
845 Use const gchar * variables in fail_unless_equals_string
846 macro to avoid compiler warnings (and don't use tabs for
849 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
851 * tools/gst-launch.c: (print_tag):
852 More space on the left for the tag names, to cater
853 for the 'extended comment' tag (not touching the
854 string for the first line since it's translated).
856 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
858 * libs/gst/check/gstcheck.h:
859 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
860 print something when they fail.
862 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
864 * docs/gst/gstreamer-sections.txt:
865 * gst/gsttaglist.c: (_gst_tag_initialize):
867 API: add GST_TAG_EXTENDED_COMMENT (#350935).
868 Also change merge function for GST_TAG_COMMENT to
871 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
873 * gst/gstinfo.c: (gst_debug_print_object):
874 Make GST_PTR_FORMAT print messages as well.
876 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
877 (GST_START_TEST), (gst_info_suite):
880 2006-08-14 Edward Hervey <edward@fluendo.com>
882 * gst/gstelementfactory.c: (gst_element_register):
883 If the GstElementClass doesn't have a GstElementDetails with all fields
884 filled up correctly (longname, description AND author), then error out
885 nicely instead of crashing.
887 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
889 * gst/gststructure.c:
890 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
893 Expand on the difference between arrays and lists as we use them.
895 2006-08-14 Wim Taymans <wim@fluendo.com>
897 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
898 If the parent state change function failed, don't assume we can safely
899 stop the source, this will be done when the pads are deactivated.
901 2006-08-14 Wim Taymans <wim@fluendo.com>
904 * gst/gsttask.c: (gst_task_join):
907 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
909 When pad (de)activation failed for some reason, restore the old
910 activation mode and set the pad to flushing instead of assuming the
912 If the _task_join() failed, reinstall the task on the pad so that it can
913 be stopped later and return an error.
915 2006-08-11 Andy Wingo <wingo@pobox.com>
918 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
919 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
920 is only for users of API that don't want to see deprecated
921 functions in the headers; people that want to compile out
922 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
923 CFLAGS. Fixes the build of multifdsink, or will soon..
925 2006-08-11 Wim Taymans <wim@fluendo.com>
927 * docs/gst/gstreamer-sections.txt:
928 Add GstClockClass vmethod docs.
931 Mark #endif with comment for associated #if
933 * gst/gstclock.c: (gst_clock_id_wait):
935 Add vmethod wait_jitter to avoid an unneeded _get_time() for
936 most clock implementations.
938 Flesh out docs about resolution methods.
939 API: GstClockClass::wait_jitter
941 * gst/gstsystemclock.c: (gst_system_clock_class_init),
942 (gst_system_clock_async_thread),
943 (gst_system_clock_id_wait_jitter_unlocked),
944 (gst_system_clock_id_wait_jitter):
945 Use base class wait_jitter variant for improved performance
946 due to less clock polling.
948 2006-08-11 Edward Hervey <edward@fluendo.com>
950 * gst/gst.c: (gst_init_check), (init_post):
951 Set gst as being initialized before scanning/updating the registry,
952 since there might be my python plugin loader that calls gst_init() and
953 we don't want to loop back in.
956 2006-08-11 Wim Taymans <wim@fluendo.com>
958 * docs/design/part-qos.txt:
959 Bring docs in line with the code. Mostly the sign of the jitter was
960 wrong in the docs. Fixes #349943.
963 Fix the docs for the jitter.
965 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
966 (gst_event_parse_tag), (gst_event_new_buffer_size),
967 (gst_event_parse_buffer_size), (gst_event_parse_qos),
968 (gst_event_new_seek), (gst_event_parse_seek),
969 (gst_event_new_navigation):
970 Make sure the GstStructure has no parent when creating custom
972 Add some more argument checking so that we avoid 0.0 rates.
973 Flesh out the docs for the QoS event some more.
975 2006-08-11 Wim Taymans <wim@fluendo.com>
977 * docs/gst/gstreamer-sections.txt:
978 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
979 (ensure_current_registry_forking), (ensure_current_registry),
980 (parse_one_option), (parse_goption_arg), (gst_deinit),
981 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
984 Added API and command line option to disable registry forking in
985 addition to the environment variable.
986 Constify some static arrays.
987 Added some more debug.
989 API: gst_registry_fork_is_enabled()
990 API: gst_registry_fork_set_enabled()
991 API: --gst-disable-registry-fork command line option
994 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
996 * gst/gst.c: (gst_init):
997 Fix typo in error message.
999 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1001 * libs/gst/controller/gstcontroller.h:
1002 fix ABI size-correction
1004 * tests/check/libs/gdp.c: (gst_dp_suite):
1005 make tests that use deprecated API conditional
1007 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1009 * docs/libs/gstreamer-libs-sections.txt:
1010 * libs/gst/controller/gstcontroller.c:
1011 (_gst_controller_get_property), (_gst_controller_set_property),
1012 (_gst_controller_init), (_gst_controller_class_init):
1013 * libs/gst/controller/gstcontroller.h:
1014 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1015 (gst_object_set_control_rate):
1016 API: add gst_object_{s,g}et_control_rate(), add private data section,
1019 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1020 * libs/gst/dataprotocol/dataprotocol.h:
1021 add deprecation guards to make gtk-doc happy and allow disabling cruft
1023 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1025 * tests/check/Makefile.am:
1026 * tests/check/gst/.cvsignore:
1027 Let's enable the new unit test as well.
1029 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1032 * docs/gst/gstreamer-sections.txt:
1033 * gst/gstconfig.h.in:
1034 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1035 (_gst_info_printf_extension_ptr),
1036 (_gst_info_printf_extension_segment):
1037 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1038 register that lets us easily dump GstSegments into debug
1041 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1042 (info_segment_format_printf_extension), (gst_info_suite):
1043 Add simple unit test that logs a bunch of different segments (not
1044 valgrinded at the moment because of leaks in
1045 gst_debug_add_log_function).
1047 2006-08-09 Edward Hervey <edward@fluendo.com>
1049 * libs/gst/base/gstbasetransform.c:
1050 (gst_base_transform_buffer_alloc):
1051 Even if we can't figure out the proper format to request downstream,
1052 call buffer_alloc() downstream with the input parameters without setting
1053 the caps on the srcpad. This will force negotiation in the chain
1057 2006-08-08 Edward Hervey <edward@fluendo.com>
1059 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1060 Unlinking from a pad without a target is now a perfectly valid case
1061 which should NOT raise an assertion.
1062 This case would happen if a linked ghostpad its target set to NULL after
1063 it was previously linked.
1065 2006-08-08 Edward Hervey <edward@fluendo.com>
1067 * tests/check/libs/gdp.c:
1068 Also comment out the test (see below).
1070 2006-08-08 Edward Hervey <edward@fluendo.com>
1072 * tests/check/libs/gdp.c: (gst_dp_suite):
1073 Use the architecture information from config.h and not gcc macros
1074 in order to properly disable a test that fails on PPC64.
1076 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1078 * gst/gstelement.c: (gst_element_remove_pad):
1079 Don't crash printing the warning if the pad has no parent.
1081 2006-08-02 Wim Taymans <wim@fluendo.com>
1083 * libs/gst/dataprotocol/dataprotocol.c:
1084 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1085 (gst_dp_crc), (gst_dp_header_payload_length),
1086 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1087 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1088 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1089 (gst_dp_event_from_packet), (gst_dp_validate_header),
1090 (gst_dp_validate_payload):
1091 Make debug category static
1092 Constify the crc table.
1093 Do some more arg checking in public functions.
1094 Fix some docs and do some small cleanups.
1096 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1097 Add some more checks to see if GDP deals with bogus input.
1099 2006-07-31 Wim Taymans <wim@fluendo.com>
1101 * gst/gstvalue.c: (gst_value_compare_list):
1102 Fix GstValueList comparison code. Fixes #347293.
1104 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1105 Check to test GstValueList comparison.
1107 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1109 * gst/gstelementfactory.c: (gst_element_factory_create):
1110 Remove unnecessary ref/unref pair
1112 * gst/parse/grammar.y:
1113 Make sure to free the parse buffer on all code paths.
1114 Move a g_free up to the error handler where it's easier to see.
1116 * tests/check/gst/gstevent.c: (test_event):
1117 Extending timeout for downstream travelling events to 10 seconds to
1118 hopefully avoid intermittent failure on the buildbots.
1120 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1121 Don't manually set the state of the src element - it will happen as a
1122 natural consequence of the pipeline changing state, and that way it
1123 will do it in the right order too.
1125 2006-07-31 Wim Taymans <wim@fluendo.com>
1127 * libs/gst/base/gstbasetransform.c:
1128 (gst_base_transform_buffer_alloc):
1129 Use OBJECT_LOCK and refcounting to get the pad caps in the
1130 buffer_alloc function because the caps could change while we are
1131 busy with them. Fixes #349105
1133 2006-07-31 Wim Taymans <wim@fluendo.com>
1135 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1136 Protect _PAD_CAPS with OBJECT_LOCK.
1138 2006-07-31 Wim Taymans <wim@fluendo.com>
1140 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1141 (gst_pad_get_property), (gst_pad_activate_pull),
1142 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1143 (gst_pad_set_activate_function),
1144 (gst_pad_set_activatepull_function),
1145 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1146 (gst_pad_set_getrange_function),
1147 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1148 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1149 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1150 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1151 (gst_pad_set_acceptcaps_function),
1152 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1153 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1154 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1155 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1156 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1157 (gst_pad_configure_sink), (gst_pad_configure_src),
1158 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1159 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1160 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1161 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1162 (gst_pad_send_event):
1163 Use _DEBUG_OBJECT when it makes sense.
1164 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1165 Small cleanups and code reflows.
1166 Avoid caps refcounting in _accept_caps.
1167 Refactor alloc_buffer so that the code performed on the peer is in a
1168 separate function. Also if the pad does not implement a buffer alloc
1169 function, we should still check if the pad is flushing before falling
1170 back to the default allocator.
1172 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1174 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1175 Make all uses of identity and fakesink have silent=true to avoid
1176 serialising every passing data structure, which is breaking tests
1177 on FC4 for some unknown reason.
1179 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1181 * gst/parse/Makefile.am:
1182 * gst/parse/grammar.y:
1183 * gst/parse/parse.l:
1184 Reverted previous patch as it required to bump the flex dependency to
1185 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1187 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1189 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1191 * gst/parse/Makefile.am:
1192 * gst/parse/grammar.y:
1193 * gst/parse/parse.l:
1194 push & pop the state of the lexer for reentrant use case
1197 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1199 * libs/gst/base/gstbasesrc.h:
1200 Note in the docs that the ::newsegment vfunc is not actually used by
1203 2006-07-28 Wim Taymans <wim@fluendo.com>
1205 * libs/gst/base/gstcollectpads.c:
1206 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1207 (gst_collect_pads_clear), (gst_collect_pads_flush),
1208 (gst_collect_pads_event), (gst_collect_pads_chain):
1209 When flushing a pad, also clear the queued buffer so that we don't
1210 accidentally use it when we shouldn't.
1211 Fix leaks by inreffing incomming buffer.
1212 Flush out queued buffers in case of errors.
1215 2006-07-28 Wim Taymans <wim@fluendo.com>
1217 * docs/random/phonon-gst:
1218 Random notes about a Phonon backend.
1220 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1222 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1224 * tests/check/libs/gdp.c: (gst_dp_suite):
1225 Take a whack at fixing the ppc compile using a different define to
1226 disable the broken test.
1228 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1229 Remove excess g_print()
1231 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1233 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1234 Oops, meant to uncomment this line too to dampen the noise a bit.
1236 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1238 * gst/parse/grammar.y:
1239 * gst/parse/parse.l:
1240 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1241 (GST_START_TEST), (parse_suite):
1242 Fix some of the leaks exposed by extending the parse-launch testsuite,
1243 and move the 3 I can't figure out into a separate test that won't run
1244 the pipelines unless the appropriate line is uncommented.
1246 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1248 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1249 Requesting 0 bytes before the end of the file should result in
1250 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1253 2006-07-27 Wim Taymans <wim@fluendo.com>
1255 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1256 Fix useless assert, a uint is always positive.
1258 * gst/gststructure.c: (gst_structure_nth_field_name),
1259 (gst_structure_foreach), (gst_structure_map_in_place):
1260 Check input arguments for public functions to avoid obvious crashes.
1262 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1263 * plugins/elements/gstfakesink.h:
1264 Do less useless typechecking.
1266 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1268 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1269 Do not use mmap() by default since there are a number of error
1270 conditions that we would like to handle in a non-fatal way that
1271 will result in a SIGBUS if we use mmap(). Examples: external
1272 devices (USB harddrive, portable music player) being unplugged
1273 while in use; file on mounted CD/DVD that can't be read because
1274 the medium is partly damaged. Fixes #348455 and #348475.
1276 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1279 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1282 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1284 * gst/gstregistry.c:
1285 Move big documentation comment into class section header, so that it
1286 appears in the API docs.
1288 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1290 * docs/gst/gstreamer-sections.txt:
1291 Oops. Commit the docs additions too for new API.
1292 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1294 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1296 * gst/gststructure.c: (gst_structure_id_set),
1297 (gst_structure_id_set_valist):
1298 * gst/gststructure.h:
1299 Add API for setting values into structures without performing
1300 a quark lookup, if the appropriate quark is already known.
1302 API: gst_structure_id_set
1303 API: gst_structure_id_set_valist
1305 * gst/parse/grammar.y:
1306 * gst/parse/parse.l:
1307 Remove some dead code shown by the coverage information.
1308 Don't throw a critical g_warning when encountering a syntax error,
1309 just warn and let the normal error path handle it.
1311 * plugins/elements/gstelements.c:
1312 Bump the rank of filesink up to PRIMARY so that it is preferred over
1313 gnomevfssink for file:// sink uri's
1315 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1316 (GST_START_TEST), (run_delayed_test),
1317 (gst_parse_test_element_base_init),
1318 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1319 (gst_parse_test_element_change_state),
1320 (gst_register_parse_element), (parse_suite):
1321 Beef up the tests for parse syntax to check that more error cases
1322 fail as they are supposed to. Increases the test coverage a bit.
1324 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1326 * docs/manual/basics-elements.xml:
1327 Fix gst_element_link() example.
1330 Mention in API docs that one should usually gst_bin_add()
1331 elements to a bin or pipeline before doing the linking.
1333 2006-07-26 Wim Taymans <wim@fluendo.com>
1335 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1336 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1337 Avoid function call for known types by keeping the buffer and
1338 subbuffer GType global.
1340 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1341 Random silly optimisations in read() path.
1343 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1345 * tools/gst-launch.c: (main):
1346 If the top-level of the parse is a normal bin, it doesn't do the
1347 right logic to run as a top-level element, so place it inside a
1350 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1352 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1353 Remove superfluous g_object_notify() calls, GObject does
1354 that for us automatically.
1356 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1359 on Win32, use dllspec to export the debug category symbols
1361 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1363 * gst/gsttaglist.c: (_gst_tag_initialize):
1364 Allow more than one GST_TAG_IMAGE per taglist.
1366 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1368 * gst/gstminiobject.c:
1370 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1371 (gst_fd_src_create):
1372 log recurring events at LOG level
1373 add more debug for when the fd gets set
1375 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1377 * gst/gstparse.c: (gst_parse_launch):
1378 Also remove reentrance checks if flex is MT safe (#348179)
1379 Fix my empty ChangeLog entry below
1381 2006-07-21 Andy Wingo <wingo@pobox.com>
1383 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1385 * libs/gst/check/Makefile.am
1386 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1387 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1388 * libs/gst/check/gstbufferstraw.h:
1389 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1390 functions, thus proving I am still a GStreamer haxor. OK I wrote
1391 them a long time ago, but anyways.
1393 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1396 * gst/gstparse.c: (gst_parse_launch):
1397 Check for flex version and omit mutex if we have a MT save flex
1400 2006-07-21 Wim Taymans <wim@fluendo.com>
1402 * gst/gstparse.c: (gst_parse_launch):
1403 Protect recursive calls to _parse with a recursive mutex
1406 2006-07-21 Wim Taymans <wim@fluendo.com>
1408 * tests/check/gst/gstpad.c: (GST_START_TEST):
1411 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1413 * gst/gstparse.c: (gst_parse_launch):
1414 Do not hang on recursive usage of gst_parse_launch()
1416 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1419 Add some more docs, comments and FIXME 0.11s here and there
1420 and also fix some typos.
1422 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1425 Convert tabs to spaces for better readability.
1427 2006-07-20 Edward Hervey <edward@fluendo.com>
1429 * tests/check/libs/gdp.c: (gst_dp_suite):
1430 the test_buffer test fails at line 140 on ppc64 at the following
1432 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1433 GST_BUFFER_FLAG_IN_CAPS),
1434 "GST_BUFFER_IN_CAPS flag should have been copied !");
1435 See bug #348114 for more details.
1437 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1439 * docs/pwg/advanced-scheduling.xml:
1441 Fix typos (#348000).
1443 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1445 * docs/pwg/intro-basics.xml:
1446 Fix wrong links (#347927).
1448 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1450 * gst/gstregistry.h:
1451 * gst/gstregistryxml.c: (load_feature),
1452 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1453 * win32/common/config.h:
1454 make --disable-index work (#342564)
1456 2006-07-18 Wim Taymans <wim@fluendo.com>
1458 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1462 The attached patch adds two missing defines to gsttrace.h when tracing
1463 is disabled. It also corrects one existing define.
1466 2006-07-17 Wim Taymans <wim@fluendo.com>
1468 * docs/gst/gstreamer-sections.txt:
1469 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1471 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1472 Add two functions to check and change the SIGSEGV behaviour
1473 when loading plugins.
1474 Don't mess with the SIGSEGV handler when we were told not to.
1476 API: gst_segtrap_is_enabled
1477 API: gst_segtrap_set_enabled
1479 2006-07-14 Wim Taymans <wim@fluendo.com>
1481 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1482 * tests/check/elements/filesrc.c: (GST_START_TEST):
1483 Revert fix for regression in #347408 after release.
1485 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1487 Patch by: Antoine Tremblay <hexa00 at gmail com>
1489 * gst/gstutils.c: (gst_element_unlink):
1490 Free iterator when done (#347311).
1492 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1493 And add a test case for this.
1495 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1498 Bump nano back to CVS
1500 === release 0.10.9 ===
1502 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1505 releasing 0.10.9, "On the road again"
1507 2006-07-13 Wim Taymans <wim@fluendo.com>
1509 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1510 * tests/check/elements/filesrc.c: (GST_START_TEST):
1511 Revert pull-0 fix for release. Disable check. Fixes #347408.
1513 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1515 * libs/gst/dataprotocol/dataprotocol.c:
1516 (gst_dp_event_from_packet_1_0):
1517 Fixes #347337: failure to deserialize event packets with
1518 empty payload (only event type)
1520 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1523 do not install a .c file in the header directory
1525 2006-07-13 Edward Hervey <edward@fluendo.com>
1527 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1528 GhostPad no longer implicitely use the padtemplates of the targets.
1531 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1533 * gst/gstvalue.c: (gst_value_compare_list),
1534 (gst_value_compare_array), (_gst_value_initialize):
1535 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1536 Make GstValueArray comparison be order dependent as designed.
1537 Add checks for value lists and value array comparisons.
1540 2006-07-11 Edward Hervey <edward@fluendo.com>
1542 * gst/gstbin.c: (activate_pads),
1543 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1544 (gst_bin_change_state_func):
1545 (de)activate src pads before calling state_change on the childs.
1546 This is to avoid the case where a src ghostpad is blocked (holding the
1547 stream lock), which would block the deactivation of the ghostpad's
1549 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1550 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1551 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1552 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1553 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1554 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1555 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1556 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1557 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1558 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1559 (gst_ghost_pad_class_init),
1560 (gst_ghost_pad_internal_do_activate_push),
1561 (gst_ghost_pad_internal_do_activate_pull),
1562 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1563 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1564 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1565 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1566 GhostPads now create their internal GstProxyPad at creation (and not
1567 when they're linked, as it was being done previously).
1568 The internal and target pads are linked straight away.
1569 The data will also travel through the other pad in order to make
1570 pad blocking and probes non-hackish (the probe/block now really happens
1571 on the GhostPad and not on the target).
1572 * gst/gstpad.c: (gst_pad_set_blocked_async),
1573 (gst_pad_link_prepare), (gst_pad_push_event):
1574 Remove previous ghostpad cruft.
1575 * gst/gstutils.c: (gst_pad_add_data_probe),
1576 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1577 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1578 (gst_pad_remove_buffer_probe):
1579 Remove previous ghost pad cruft.
1580 Added more detailed debug statements.
1581 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1582 Fix the testsuite for refcounting changes.
1583 The comments about who has references were correct, but the refcount
1584 being checked wasn't the same (!?!).
1588 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1590 * docs/gst/gstreamer-sections.txt:
1591 * gst/gstconfig.h.in:
1592 More docs for configuration options, add docs to gtk-doc.
1594 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1597 * gst/gstconfig.h.in:
1598 * win32/common/config.h:
1599 Fix build when disabling tracing (fixes #344016). Also start to document
1600 the defines that disable the sub-systems.
1602 2006-07-10 Edward Hervey <edward@fluendo.com>
1604 * gst/gst.c: (ensure_current_registry_forking):
1605 let's make valgrind happy...
1607 2006-07-09 Wim Taymans <wim@fluendo.com>
1609 * gst/gstelement.c: (activate_pads),
1610 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1611 Better pad activation code: Reset the collect value too on resync.
1614 2006-07-09 Wim Taymans <wim@fluendo.com>
1616 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1617 (gst_pad_activate_push):
1618 Use some more macros where it makes sense.
1619 Allow pad mode switching instead of asserting. When a pad
1620 is activated in one mode and we activate it in another,
1621 deactivate it first before activating it in a different mode.
1624 2006-07-08 Andy Wingo <wingo@pobox.com>
1626 * tools/gst-launch.c (main): Handle err == NULL.
1628 * gst/gst.c (init_post, ensure_current_registry)
1629 (ensure_current_registry_forking)
1630 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1631 factoring out the registry scanning into separate functions. Don't
1632 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1633 Better environment var name/interface suggestions accepted.
1635 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1637 * gst/gstobject.c: (gst_object_set_name_default),
1638 (gst_object_set_name):
1639 Random micro-optimisation: don't use a hash table
1640 with strings as keys and the usual strdup/strcmp
1641 involved, but rather just use the GQuark of the
1642 type name as key, since it needs to be looked up
1643 anyway to get the type name string.
1645 * tests/check/gst/gstobject.c: (GST_START_TEST):
1648 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1650 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1651 (gst_bin_iterate_all_by_interface):
1652 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1653 GTypes are gulongs and thus the top 4 bytes might be cut
1654 off on some platforms when doing GPOINTER_TO_INT, leading
1655 to invalid GTypes and bad things happening (see RH bug #179654).
1656 Also add a check to make sure the type passed in is really
1659 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1664 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1668 * gst-element-check.m4:
1669 * gst-element-check.m4.in:
1670 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1671 instead of the unversioned gst-inspect (#324176, #168659).
1673 2006-07-06 Wim Taymans <wim@fluendo.com>
1676 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1679 2006-07-06 Wim Taymans <wim@fluendo.com>
1681 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1682 (gst_base_src_wait), (gst_base_src_update_length),
1683 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1684 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1685 (gst_base_src_loop), (gst_base_src_start),
1686 (gst_base_src_activate_pull):
1688 blocksize == 0 now means the default blocksize when working in push
1690 Remove some pointless asserts in _wait function.
1691 Fix offset/length calculations and EOS handling. We can now pull 0
1692 bytes as well, which is allowed.
1693 use _check_get_range() to decide if we can operate in _pull based
1695 Fix refcounting leak when check_get_range function was not
1697 API GstBaseSrc::blocksize range can be 0 too now (default)
1699 * tests/check/elements/filesrc.c: (GST_START_TEST),
1701 Added check to test _get_range() behaviour.
1703 2006-07-06 Wim Taymans <wim@fluendo.com>
1705 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1706 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1707 (gst_pad_pull_range):
1709 Lots of comments and docs added to the pad functions.
1710 Flesh out the expected behaviour of the get_range() functions.
1712 2006-07-06 Wim Taymans <wim@fluendo.com>
1717 * gst/gstiterator.h:
1721 Remove comma at end of enumerator list.
1723 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1725 * win32/common/libgstbase.def:
1726 * win32/common/libgstdataprotocol.def:
1727 * win32/common/libsgtreamer.def:
1728 Add new exported functions.
1730 2006-07-05 Wim Taymans <wim@fluendo.com>
1732 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1733 Add some more docs here and there.
1735 2006-07-05 Wim Taymans <wim@fluendo.com>
1737 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1738 (gst_base_sink_loop), (gst_base_sink_get_position):
1739 When operating in pull mode update the offset so that we
1742 2006-07-05 Wim Taymans <wim@fluendo.com>
1744 * gst/gstregistryxml.c: (read_string):
1745 Avoid strdup. (will happen in libxml, but hey!)
1750 2006-07-05 Wim Taymans <wim@fluendo.com>
1752 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1753 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1755 No point in checking if the size of the subbuffer > 0, the
1756 code handles it correclty as demonstrated by unit test.
1757 Also add a unit test for the zero sized _new_and_alloc and
1758 _copy. Fixes #346663.
1760 2006-07-05 Wim Taymans <wim@fluendo.com>
1762 * libs/gst/base/gstbasetransform.c:
1763 (gst_base_transform_prepare_output_buffer),
1764 (gst_base_transform_buffer_alloc),
1765 (gst_base_transform_handle_buffer):
1766 Make sure the buffer we pass to transform_ip has a refcount of
1767 1 and thus is writable. Fixes #343196
1769 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1771 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1772 (gst_file_src_init), (gst_file_src_set_property),
1773 (gst_file_src_get_property), (gst_file_src_map_region):
1774 * plugins/elements/gstfilesrc.h:
1775 Add "sequential" property, off by default, to use madvise and hint
1776 to the kernel that sequential access is desired.
1777 Touch all retrieved pages by default to ensure they are pulled
1778 into memory. (Closes #345720)
1780 2006-07-03 Wim Taymans <wim@fluendo.com>
1782 * docs/design/part-block.txt:
1783 * docs/design/part-dynamic.txt:
1786 2006-07-03 Wim Taymans <wim@fluendo.com>
1788 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1789 (gst_caps_unref), (gst_static_caps_get),
1790 (gst_caps_append_structure):
1791 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1792 Use GSlice when the glib we build against is >= 2.10
1794 2006-07-03 Wim Taymans <wim@fluendo.com>
1796 * gst/gstelement.c: (gst_element_pads_activate):
1797 Small cleanup in pad activation code.
1799 2006-07-03 Wim Taymans <wim@fluendo.com>
1801 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1803 * gst/gst-i18n-app.h:
1804 * gst/gst-i18n-lib.h:
1805 * tools/gst-inspect.c: (print_signal_info):
1806 The attached patch will make the inclusion of gettext.h unconditional in
1807 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1808 libintl.h in tools/gst-inspect.c.
1809 This allows use of --disable-nls again and fixes #344642.
1811 2006-07-03 Edward Hervey <edward@fluendo.com>
1813 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1814 Implement pad blocking on events according to part-block.txt.
1815 More comments on behaviour.
1816 * tests/check/gst/gstevent.c: (test_event):
1817 Send event to peer pad of blocked pad (else it will block).
1819 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1821 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1822 (gst_check_run_suite):
1823 if we get the wrong message, give us the types as string
1824 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1826 * tests/check/elements/filesrc.c: (GST_START_TEST):
1827 add a test for trying to open a non-existing file
1829 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1831 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1832 add a test for adding self
1834 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1836 * libs/gst/check/gstcheck.h:
1837 add some assert_ as alias for fail_unless_*
1838 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1839 increase test coverage
1841 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1844 include lcov.mak for lcov coverage generation
1845 * tools/Makefile.am:
1848 2006-07-02 Edward Hervey <edward@fluendo.com>
1850 * tests/check/elements/.cvsignore:
1853 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1856 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1857 * tests/check/Makefile.am:
1860 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1862 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1863 remove gst_caps_simplify; it was not declared and not used
1864 and deprecated in 0.8
1866 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1868 * docs/faq/gst-uninstalled:
1869 don't put empty paths on PYTHONPATH
1870 * docs/gst/gstreamer-sections.txt:
1871 remove some symbols that are not there
1873 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1875 * gst/gstcaps.c: (gst_caps_compare_structures):
1877 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1878 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1881 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1883 * libs/gst/dataprotocol/Makefile.am:
1884 build dataprotocol test by linking to the lib, instead of
1885 compiling the source, so we get coverage
1886 * tests/check/Makefile.am:
1887 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1888 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1889 add a test for filesrc
1891 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1893 * tests/check/gst/gststructure.c: (GST_START_TEST),
1894 (gst_structure_suite):
1895 Push coverage from 59.04% to 70.00%
1897 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1899 * tests/check/Makefile.am:
1900 gst-inspect every element; this makes sure that we also get
1901 coverage on element's get/set functions
1903 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1906 set CFLAGS and friends to -O0 if gcov is being used
1909 * libs/gst/base/Makefile.am:
1910 * libs/gst/check/Makefile.am:
1911 * libs/gst/controller/Makefile.am:
1912 * libs/gst/dataprotocol/Makefile.am:
1913 * libs/gst/net/Makefile.am:
1914 * plugins/elements/Makefile.am:
1915 * plugins/indexers/Makefile.am:
1916 add makefile rules to generate gcov data and clean up
1917 * tests/check/Makefile.am:
1918 add a coverage target that generates an html overview
1921 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1923 * tests/check/elements/fakesink.c:
1924 * tests/check/elements/fakesrc.c:
1925 * tests/check/elements/fdsrc.c:
1926 * tests/check/elements/identity.c:
1927 * tests/check/generic/sinks.c: (gst_sinks_suite):
1928 * tests/check/generic/states.c:
1929 * tests/check/gst/gst.c:
1930 * tests/check/gst/gstabi.c:
1931 * tests/check/gst/gstbin.c:
1932 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
1933 * tests/check/gst/gstbus.c: (gst_bus_suite):
1934 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1935 * tests/check/gst/gstelement.c:
1936 * tests/check/gst/gstevent.c: (gst_event_suite):
1937 * tests/check/gst/gstghostpad.c:
1938 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
1939 * tests/check/gst/gstmessage.c: (gst_message_suite):
1940 * tests/check/gst/gstminiobject.c:
1941 * tests/check/gst/gstobject.c:
1942 * tests/check/gst/gstpad.c:
1943 * tests/check/gst/gstpipeline.c:
1944 * tests/check/gst/gstplugin.c:
1945 * tests/check/gst/gstquery.c: (gst_query_suite):
1946 * tests/check/gst/gstsegment.c: (gst_segment_suite):
1947 * tests/check/gst/gststructure.c:
1948 * tests/check/gst/gstsystemclock.c:
1949 * tests/check/gst/gsttag.c:
1950 * tests/check/gst/gsttask.c: (gst_task_suite):
1951 * tests/check/gst/gstutils.c:
1952 * tests/check/gst/gstvalue.c:
1953 * tests/check/libs/adapter.c:
1954 * tests/check/libs/basesrc.c:
1955 * tests/check/libs/collectpads.c:
1956 * tests/check/libs/controller.c:
1957 * tests/check/libs/gdp.c: (gst_dp_suite):
1958 * tests/check/libs/gstnetclientclock.c:
1959 * tests/check/libs/gstnettimeprovider.c:
1960 * tests/check/libs/libsabi.c: (libsabi_suite):
1961 * tests/check/libs/typefindhelper.c:
1962 * tests/check/pipelines/cleanup.c:
1963 * tests/check/pipelines/parse-launch.c:
1964 * tests/check/pipelines/simple-launch-lines.c:
1965 * tests/check/pipelines/stress.c: (stress_suite):
1968 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1970 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
1971 * libs/gst/check/gstcheck.h:
1972 create a macro and function so that the simple unit test
1973 case can be just one macro to create main()
1975 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
1977 * gst/gstbin.c: (gst_bin_restore_thyself):
1978 * gst/gstxml.c: (gst_xml_make_element):
1979 Fix deserialisation from XML. Set parent manually
1980 instead of using gst_bin_add(), since gst_bin_add()
1981 will unlink all pads of the element being added.
1984 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
1986 Patch by: Peter Kjellerstedt <pkj at axis com>
1988 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
1989 Fix missing g_strdup() and double free when using the
1990 --gst-plugin-load command line option (#346097).
1992 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
1995 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
1997 * libs/gst/net/gstnetclientclock.c:
1998 * libs/gst/net/gstnettimeprovider.c:
1999 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2001 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2003 * docs/manual/advanced-dataaccess.xml:
2004 Fix buffer probe example compilation in
2007 2006-06-22 Edward Hervey <edward@fluendo.com>
2009 * gst/gstelement.c: (gst_element_pads_activate):
2010 We need to deactivate src pads first and then sink pads.
2011 The reason is the src pads might be blocking while holding the streaming
2012 lock, so we need to deactivate them first so that deactivating the sink
2013 pads doesn't block (since it will require the streaming lock).
2015 2006-06-22 Wim Taymans <wim@fluendo.com>
2017 * libs/gst/base/gstbasetransform.c:
2018 (gst_base_transform_buffer_alloc):
2019 Forgot to remove two unneeded unrefs.
2020 Simplify a check _is_equal allready checks the obvious case.
2022 2006-06-22 Wim Taymans <wim@fluendo.com>
2024 * docs/design/part-block.txt:
2025 Some docs about what pad_block should do.
2027 2006-06-22 Wim Taymans <wim@fluendo.com>
2029 * gst/gstcaps.c: (gst_caps_replace):
2030 Fix crasher when passed NULL. Doc clarification.
2031 Optimize for the trivial case.
2033 * gst/gstpipeline.c: (gst_pipeline_change_state):
2036 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2037 Small documentation cleanup.
2039 * libs/gst/base/gstbasetransform.c:
2040 (gst_base_transform_buffer_alloc):
2041 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2042 is what we need and it avoids a whole lot of redundant
2043 refcount operations.
2045 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2047 Patch by: Philip Jägenstedt <philip at lysator liu se>
2049 * docs/manual/advanced-dataaccess.xml:
2050 Fix 'Embedding static elements' section to use
2051 GST_PLUGIN_DEFINE_STATIC (#345607).
2053 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2055 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2056 Attempt to 'fix' spuriously failing test case: it seems like the
2057 timeout of half a second is simply too small when the system is under
2058 load otherwise, and the timeout doesn't really seem to serve any
2059 particular purpose here. Give the pipeline a few seconds to preroll
2060 first, and then give it another half a second to go from PAUSED to
2061 PLAYING and marshal the message into the main thread.
2063 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2065 * tools/gst-feedback-m.m:
2066 Don't only use unversioned tools, try versioned tools as well
2069 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2071 * gst/gstbus.c: (gst_bus_class_init):
2072 Fix some typos, make docs more explicit.
2074 2006-06-20 Wim Taymans <wim@fluendo.com>
2076 * tests/check/gst/gstghostpad.c: (block_callback),
2077 (GST_START_TEST), (gst_ghost_pad_suite):
2078 Added some more ghostpad tests, mainly blocking
2081 2006-06-16 Wim Taymans <wim@fluendo.com>
2083 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2084 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2085 (gst_file_sink_event), (gst_file_sink_render):
2086 * plugins/elements/gstfilesink.h:
2087 Check if we can seek in the file instead of assuming
2088 we always can. Post an error when we are asked to seek in a
2089 non-seekable file (like a fifo). Fixes #343312.
2092 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2094 * tools/gst-launch.1.in:
2095 Un-garble (fourcc) bit in filtered caps section.
2097 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2099 * docs/manual/advanced-autoplugging.xml:
2100 * docs/manual/basics-helloworld.xml:
2101 * docs/manual/highlevel-components.xml:
2102 Don't leak bus reference in sample code.
2104 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2107 Add default for new --enable-plugin-docs switch.
2110 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2114 Use new ENABLE_PLUGIN_DOCS conditional.
2116 2006-06-14 Wim Taymans <wim@fluendo.com>
2118 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2119 Make it clear with a FIXME and a real define what the #if 0
2120 previously disabled.
2122 2006-06-14 Wim Taymans <wim@fluendo.com>
2124 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2125 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2126 * libs/gst/base/gstbasetransform.c:
2127 (gst_base_transform_sink_eventfunc):
2128 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2129 Don't randomly and silently reset a segment when the format
2130 changes as this is a bug somewhere upstream. Fixes #330379.
2132 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2134 Patch by: Wouter Paesen <wouter at kangaroot net>
2136 * libs/gst/controller/gstcontroller.c:
2137 (gst_controlled_property_new):
2138 Fix controlling of float properties (#344849).
2140 * tests/check/libs/controller.c:
2141 (gst_test_mono_source_get_property),
2142 (gst_test_mono_source_set_property),
2143 (gst_test_mono_source_class_init), (GST_START_TEST):
2144 While we're at it, add some float stuff to unit test.
2146 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2149 * docs/images/gdp-header.svg:
2151 * docs/libs/Makefile.am:
2152 * docs/libs/gdp-header.png:
2153 * libs/gst/dataprotocol/dataprotocol.c:
2154 add it to the API docs
2155 * docs/manual/intro-motivation.xml:
2158 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2160 * gst/gst.c: (scan_and_update_registry), (init_post):
2161 If the fork()'ed child process can't write the updated registry cache
2162 file to disk for some reason, make it exit with a failure exit code,
2163 so that the parent can then re-scan the plugins itself and update the
2164 registry structures in memory and work with that (rather than failing
2165 when creating elements because seemingly no plugins are available).
2166 Refactor registry scanning code into separate function for this and
2167 also separate fork() and non-fork() code paths. Fixes #344748.
2169 2006-06-13 Wim Taymans <wim@fluendo.com>
2171 * docs/manual/advanced-dataaccess.xml:
2172 Fix wrong PluginDesc. Fixes #344755.
2174 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2176 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2177 Fix silly bug that prevented us from creating
2178 ~/.gstreamer-0.10 and writing the registry in one
2179 go (the first call to g_mkstemp() would overwrite the
2180 placeholder in the template string, so the second call
2181 to g_mkstemp() after creating the missing directory
2182 would then error out with 'invalid argument').
2184 2006-06-13 Edward Hervey <edward@fluendo.com>
2186 * gst/gst.c: (init_post):
2189 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2191 * gst/glib-compat-private.h:
2192 * gst/glib-compat.c:
2193 * gst/glib-compat.h:
2194 * gst/gstvalue.c: (gst_value_serialize_flags):
2195 remove GLib 2.6 compatibility code
2197 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2199 * gst/parse/Makefile.am:
2200 Fix build with 'make -j N' even more (#340016).
2202 2006-06-12 Wim Taymans <wim@fluendo.com>
2204 * docs/gst/gstreamer-sections.txt:
2207 2006-06-12 Wim Taymans <wim@fluendo.com>
2209 * gst/gstsegment.c: (gst_segment_set_duration),
2210 (gst_segment_set_last_stop), (gst_segment_set_seek),
2211 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2212 (gst_segment_to_running_time), (gst_segment_clip):
2213 Use G_UNLIKELY to help the compiler a bit.
2215 2006-06-12 Wim Taymans <wim@fluendo.com>
2217 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2219 * gst/gstevent.c: (gst_event_get_type):
2221 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2223 constify quark registration strings. Fixes #344115
2224 Avoid unneeded type checking is _pad_push() by internally
2225 calling gst_pad_chain_unchecked().
2227 2006-06-12 Wim Taymans <wim@fluendo.com>
2229 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2230 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2231 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2232 (gst_buffer_is_span_fast), (gst_buffer_span):
2233 Init _type for consistency.
2234 Use _FLAGS macro to avoid type check.
2235 Avoid unneeded type checks in subbufer code.
2237 2006-06-12 Wim Taymans <wim@fluendo.com>
2239 * gst/gst.c: (gst_debug_help):
2240 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2241 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2242 (gst_plugin_feature_list_free):
2243 * gst/gstregistry.c: (gst_registry_add_plugin),
2244 (gst_registry_add_feature), (gst_registry_plugin_filter),
2245 (gst_registry_feature_filter), (gst_registry_find_plugin),
2246 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2247 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2248 * gst/gstregistryxml.c: (load_feature),
2249 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2250 * gst/gstminiobject.c: (gst_mini_object_unref),
2251 (gst_mini_object_replace), (gst_value_mini_object_free),
2252 (gst_value_mini_object_copy):
2253 Use _CAST macros to avoid unneeded type checking.
2254 Added some more G_UNLIKELY.
2256 2006-06-12 Wim Taymans <wim@fluendo.com>
2259 Avoid unneeded type checking.
2260 API: GST_BUFFER_IS_DISCONT
2262 * gst/gstminiobject.h:
2263 Avoid type check in flag accessor.
2265 * gst/gstelementfactory.h:
2267 * gst/gstpluginfeature.h:
2269 API: GST_ELEMENT_FACTORY_CAST
2270 API: GST_PLUGIN_CAST
2271 API: GST_PLUGIN_FEATURE_CAST
2273 2006-06-12 Wim Taymans <wim@fluendo.com>
2275 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2277 Add G_UNLIKELY in type registration.
2278 Avoid type check in _ref/_unref since that is also
2281 2006-06-12 Wim Taymans <wim@fluendo.com>
2283 * gst/gsterror.c: (gst_g_error_get_type):
2284 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2285 (gst_static_pad_template_get_type):
2286 * gst/gsttaglist.c: (gst_tag_list_get_type):
2287 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2288 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2289 * gst/gsturi.c: (gst_uri_handler_get_type):
2290 * gst/gstvalue.c: (gst_date_get_type):
2291 * gst/gstxml.c: (gst_xml_get_type):
2292 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2293 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2294 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2295 Add G_UNLIKELY in type registration.
2297 2006-06-12 Wim Taymans <wim@fluendo.com>
2299 * tools/gst-inspect.c: (print_signal_info):
2300 Properly print enum values.
2302 2006-06-12 Wim Taymans <wim@fluendo.com>
2304 * gst/gstinfo.c: (gst_debug_set_active),
2305 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2307 Add some G_[UN]LIKELY.
2308 Maintain __gst_debug_min to avoid formatting the arguments of
2309 debug messages that will be dropped anyway to avoid a lot of
2310 overhead from the debugging system.
2312 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2316 add missing files containing translatable strings, tell intltool about
2319 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2321 * tests/check/libs/.cvsignore:
2322 add test-binary to ignore list
2324 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2326 * docs/libs/gstreamer-libs-docs.sgml:
2327 reorder (put dp into a chapter) and indent
2329 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2334 === release 0.10.8 ===
2336 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2339 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2341 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2343 * gst/gst.c: (init_post):
2344 move pid declaration to declaration block
2346 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2348 * gst/gst.c: (init_post):
2349 use _exit() instead of exit() in our forked child; this ensures
2350 that none of the registered exit handlers from whatever is using
2351 GStreamer get executed. This fixes gnome-mixer-applet failing
2352 to load, because ORBit would shut down.
2353 Spotted by: Edward Hervey <edward@fluendo.com>
2354 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2357 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2362 === release 0.10.7 ===
2364 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2367 releasing 0.10.7, "Soepeke, ik zie ou"
2369 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2392 * win32/common/config.h:
2395 2006-06-07 Wim Taymans <wim@fluendo.com>
2397 * gst/gstindex.c: (gst_index_gtype_resolver):
2398 * tools/gst-xmlinspect.c: (print_plugin_info):
2399 Fix leak spotted by coverity checker. Fixes #343827
2400 Fix another other leak found by paolo borelli.
2402 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2404 * libs/gst/dataprotocol/dataprotocol.c:
2405 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2406 (gst_dp_version_get_type), (gst_dp_init),
2407 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2408 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2409 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2410 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2411 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2412 (gst_dp_packetizer_free):
2413 * libs/gst/dataprotocol/dataprotocol.h:
2414 API: add a GstDPPacketizer object, and create/free functions
2415 API: add GstDPVersion enum
2416 Add 1.0 event function that uses the string serialization
2417 Serialize more useful buffer flags
2420 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2422 * tests/check/Makefile.am:
2423 * tests/check/gst/gstabi.c:
2424 * tests/check/gst/struct_ppc64.h:
2425 * tests/check/libs/libsabi.c:
2426 * tests/check/libs/struct_ppc64.h:
2427 add ppc64 structure sizes
2429 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2431 * tests/check/Makefile.am:
2432 * tests/check/gst/gstabi.c:
2433 * tests/check/gst/struct_x86_64.h:
2434 * tests/check/libs/libsabi.c:
2435 * tests/check/libs/struct_x86_64.h:
2436 generate and add structure size lists for x86_64
2438 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2440 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2441 * libs/gst/check/gstcheck.h:
2442 factor out the method from tests that checks size of structures,
2443 and add code to generate the header containing these sizes
2444 * tests/check/gst/gstabi.c: (GST_START_TEST):
2445 * tests/check/gst/struct_i386.h:
2446 * tests/check/libs/libsabi.c: (GST_START_TEST):
2447 * tests/check/libs/struct_i386.h:
2450 2006-06-06 Michael Smith <msmith@fluendo.com>
2453 Don't use c++-style comments, fixes #343929
2455 2006-06-05 Edward Hervey <edward@fluendo.com>
2458 plugin_paths is not used if we build without registry support.
2460 * gst/gstsegment.c: (gst_segment_copy):
2461 _copy() was always returning NULL...
2463 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2465 * libs/gst/dataprotocol/dataprotocol.c:
2466 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2467 (gst_dp_packet_from_event):
2470 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2472 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2473 make sure we unset caps
2475 2006-06-02 Michael Smith <msmith@fluendo.com>
2477 * libs/gst/check/gstcheck.c: (gst_check_init),
2478 (gst_check_chain_func):
2479 * libs/gst/check/gstcheck.h:
2480 Add a cond/mutex to the check support lib, signal this whenever we
2481 add to the buffers list. This will allow tests to not busy-wait on
2484 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2486 * libs/gst/dataprotocol/dataprotocol.c:
2487 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2488 (gst_dp_packet_from_event):
2489 factor out some common header init code
2491 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2493 * docs/libs/gstreamer-libs-sections.txt:
2494 * docs/libs/tmpl/gstdataprotocol.sgml:
2495 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2496 * libs/gst/dataprotocol/dataprotocol.h:
2497 API: make gst_dp_crc() public
2499 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2501 * plugins/indexers/gstindexers.c: (plugin_init):
2502 conditionally register fileindexer (fixes #343598)
2504 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2506 * gst/gsttagsetter.h:
2507 Can't cast ifaces to a class
2509 * libs/gst/net/gstnetclientclock.h:
2510 * libs/gst/net/gstnettimeprovider.h:
2511 * plugins/elements/gstfakesink.h:
2512 * plugins/elements/gstfakesrc.h:
2513 * plugins/elements/gstfdsink.h:
2514 * plugins/elements/gstfdsrc.h:
2515 * plugins/elements/gstfilesink.h:
2516 * plugins/elements/gstfilesrc.h:
2517 * plugins/elements/gstidentity.h:
2518 * plugins/elements/gstqueue.h:
2519 * plugins/elements/gsttee.h:
2520 * plugins/indexers/gstfileindex.c:
2521 * plugins/indexers/gstmemindex.c:
2522 * tests/old/examples/plugins/example.h:
2523 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2525 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2527 * libs/gst/dataprotocol/dataprotocol.c:
2528 (gst_dp_header_from_buffer):
2529 make sure we zero the whole ABI-compatible area
2531 2006-06-01 Wim Taymans <wim@fluendo.com>
2533 Patch by: Alessandro Decina <alessandro at nnva dot org>
2535 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2536 Make sure the EOS flag is cleared from pads after a flush
2537 or stop. Fixes #343538.
2539 * tests/check/libs/collectpads.c: (GST_START_TEST),
2540 (gst_collect_pads_suite):
2541 Added test for collectpads reusage after EOS.
2543 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2546 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2547 * win32/common/libgstbase.def:
2548 export gst_collect_pads_set_flushing
2549 * win32/common/libgstreamer.def:
2550 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2551 gst_value_fraction_multiply
2552 * win32/vs6/gst_inspect.dsp:
2553 add a link to intl.lib
2555 2006-05-30 Wim Taymans <wim@fluendo.com>
2557 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2558 (gst_collect_pads_chain):
2559 Handle the case where a pad is removed from the collection
2560 that could cause the other pads to become collectable.
2562 2006-05-30 Wim Taymans <wim@fluendo.com>
2565 Clarify the use of _release_request_pad() and
2566 _get_request_pad() a bit better.
2568 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2569 (gst_adapter_take_buffer):
2570 Fix some doc and comment typos.
2572 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2574 * docs/gst/gstreamer-sections.txt:
2575 * docs/libs/gstreamer-libs-sections.txt:
2576 add declared symbols
2578 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2580 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2581 Add debug that can be enabled using a #define at the top of the file,
2582 for dumping stats about how late/early we were when waking up from
2583 waiting on the clock.
2585 2006-05-30 Wim Taymans <wim@fluendo.com>
2587 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2588 When rebuilding the pad list, don't leak the previous list.
2590 2006-05-30 Wim Taymans <wim@fluendo.com>
2592 Patch by: Lutz Mueller <lutz at topfrose dot de>
2594 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2595 (gst_base_src_get_query_types), (gst_base_src_update_length):
2596 Publish supported query types.
2597 Update last_stop field in get_range mode so the position
2598 query works. Fixes #342321.
2600 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2602 * docs/gst/gstreamer-sections.txt:
2603 * gst/gsttaglist.c: (_gst_tag_initialize):
2605 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2607 2006-05-30 Wim Taymans <wim@fluendo.com>
2609 Patch by: Alessandro Decina <alessandro at nnva dot org>
2611 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2612 Unlock mutex when removing an unknown pad.
2615 * tests/check/Makefile.am:
2616 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2617 (push_event), (setup), (teardown), (GST_START_TEST),
2618 (gst_collect_pads_suite), (main):
2619 Added collecpads check, disabled for now as check crashes for
2622 2006-05-29 Wim Taymans <wim@fluendo.com>
2624 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2625 Don't leak pads lists.
2627 2006-05-29 Wim Taymans <wim@fluendo.com>
2629 * docs/libs/gstreamer-libs-sections.txt:
2630 * libs/gst/base/gstcollectpads.c:
2631 (gst_collect_pads_set_flushing_unlocked),
2632 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2633 (gst_collect_pads_stop):
2634 * libs/gst/base/gstcollectpads.h:
2635 API: gst_collect_pads_set_flushing()
2636 Added api to set the pads to flushing, useful for seeking
2637 code in elements using collectpads.
2638 Clear segment when receiving a flush.
2640 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2642 * gst/gst.c: (add_path_func), (init_post):
2643 Don't scan registry paths passed via --gst-plugin-path immediately
2644 (will crash, because absolutely nothing is set up and no types are
2645 registered etc.); do this later in init_post(). Fixes #343057.
2647 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2649 * gst/gst.c: (init_post):
2650 if we have fork, fork while reading/rebuilding the registry
2651 so the parent doesn't take the hit of having all plugins loaded
2652 in memory. Fixes #342777.
2654 Check if we have fork()
2655 * win32/common/config.h.in:
2658 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2660 * plugins/elements/gstelements.c:
2661 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2662 (gst_file_src_init), (gst_file_src_set_property),
2663 (gst_file_src_get_property), (gst_file_src_start):
2664 * plugins/elements/gstfilesrc.h:
2665 API: GstFileSrc::use-mmap
2667 Add a use-mmap property to enable easier testing of all code paths.
2668 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2669 in the absence of gnomevfssrc. (Closes #340501)
2671 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2673 * tools/gst-inspect.c:
2674 Add missing include, removes warning of ngettext not being defined on
2677 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2679 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2680 Handle NULL input and output pointers silently as a failed conversion,
2681 rather than g_warnings.
2683 2006-05-25 Wim Taymans <wim@fluendo.com>
2685 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2686 Initialize variable before using. Fixes #342820.
2688 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2690 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2691 Fix off-by-one bug that would only allow peeks of N-1 bytes
2692 from the start even if the buffer to typefind on contains
2693 in fact N bytes of data (makes vorbis typefinding from a
2694 vorbis identification header buffer work).
2696 * tests/check/Makefile.am:
2697 * tests/check/libs/.cvsignore:
2698 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2699 (gst_typefindhelper_suite), (main), (foobar_typefind),
2701 Add very basic unit test for gst_type_find_helper_for_buffer()
2702 that checks for the problem fixed above.
2704 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2706 * tools/gst-inspect.c: (print_interfaces),
2707 (print_element_properties_info), (print_element_list), (main):
2708 add more translatable strings
2710 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2712 Patch by: Julien Moutte <julien at moutte net>
2714 * docs/gst/gstreamer-sections.txt:
2715 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2717 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2718 (gst_fake_sink_preroll):
2719 * plugins/elements/gstfakesink.h:
2720 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2722 2006-05-23 Wim Taymans <wim@fluendo.com>
2724 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2726 Added _CUSTOM error and success GstFlowReturn that can be
2727 used be elements internally.
2728 Added macro to check for SUCCESS flowreturns.
2729 API: GST_FLOW_CUSTOM_SUCCESS
2730 API: GST_FLOW_CUSTOM_ERROR
2731 API: GST_FLOW_IS_SUCCESS
2733 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2734 Added check for GstFlowReturn sanity.
2736 2006-05-23 Wim Taymans <wim@fluendo.com>
2738 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2740 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2741 (gst_collect_pads_event):
2742 clear/reset segment info in FLUSH_STOP.
2745 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2747 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2748 (gst_collect_pads_check_collected):
2749 Flush queued buffer on _stop(), fixes playing again (#342454)
2751 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2753 * tests/check/gst/gststructure.c: (GST_START_TEST),
2754 (gst_structure_suite):
2755 add a test for a complete structure
2757 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2759 * docs/faq/developing.xml:
2761 * docs/faq/troubleshooting.xml:
2762 * docs/faq/using.xml:
2763 Some minor FAQ updates that won't change the fact that
2764 our FAQ is badly structured, full of information hardly
2765 anyone new to GStreamer needs to know and lacking lots
2766 of information people constantly ask for.
2768 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2770 * gst/gstpad.c: (gst_pad_set_caps):
2771 Short-circuit gst_pad_set_caps if setting the existing
2772 caps pointer again, and avoid printing debug and
2773 reffing/unreffing the caps.
2775 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2776 There's actually no need to set the caps before pushing -
2777 the acceptcaps method will handle it anyway.
2779 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2781 * docs/gst/gstreamer-sections.txt:
2782 * win32/common/libgstreamer.def:
2783 * gst/gstutils.c: (gst_element_seek_simple):
2785 API: add gst_element_seek_simple() (#342238).
2787 2006-05-18 Edward Hervey <edward@fluendo.com>
2789 * gst/gsttypefind.c: (gst_type_find_get_type):
2790 * gst/gsttypefind.h:
2791 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2792 registered for GstTypeFind pointers. This allows wrapping the structure
2793 in bindings (i.e. gst-python).
2795 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2797 * gst/gsttagsetter.c:
2798 Docs additions and fixes (see #339918).
2800 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2802 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2803 The caps intersection algorithm can produce multiple copies of the
2804 caps. Until that is fixed, we need to simplify the result to be
2805 sure whether the allowed caps are fixed or not.
2807 * plugins/elements/gstqueue.c: (gst_queue_init),
2808 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2809 (gst_queue_push_one):
2810 Proxied buffer alloc should not set the caps on the source pad.
2811 When pushing buffers, we always accept the caps change that triggers.
2812 This prevents negotiation errors caused by caps changing mid-stream
2813 and then being refused on our source pad (because upstream is now
2814 refusing those caps).
2816 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2818 * tests/examples/helloworld/helloworld.c: (main):
2819 Must plug audioconvert and audioresample between decoder
2822 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2824 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2825 (load_feature), (load_plugin):
2826 Allow empty strings for some of the plugin fields so we don't
2827 drop valid plugin entries that were written out correctly
2830 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2832 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2833 Use g_remove and g_rename instead of remove and rename that don't
2834 handle utf8 characters. rename was failing for users who had specific
2835 characters in their name then the registry was built at each
2837 * win32/vs6/gst_inspect.dsp:
2838 * win32/vs6/gst_launch.dsp:
2839 * win32/vs6/libgstbase.dsp:
2840 * win32/vs6/libgstcoreelements.dsp:
2841 * win32/vs6/libgstreamer.dsp:
2842 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2843 build of libgstreamer and clean unused libraries in projects link
2846 2006-05-17 Edward Hervey <edward@fluendo.com>
2848 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2849 The queue is not responsible for pushing an EOS when receiving a fatal
2850 flow error. It's up to the real element driving the pipeline to do that.
2852 2006-05-16 Edward Hervey <edward@fluendo.com>
2854 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2855 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2856 buffer returned a fatal error. It should just send an EOS and stop
2858 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2859 when pushing buffers on the queue and will be able to handle the event.
2861 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2863 * docs/manual/basics-bins.xml:
2864 * docs/manual/basics-init.xml:
2865 Fix typos and minor errors in sample code (#341856).
2867 2006-05-16 Wim Taymans <wim@fluendo.com>
2869 * docs/design/part-qos.txt:
2870 Fix indexes in formulas to make more sense.
2872 2006-05-15 Wim Taymans <wim@fluendo.com>
2874 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2875 Don't report POSITION based on clock time if sync is
2878 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2881 Add cast to make compiler happy - refcount variable was a gint
2882 in GstObject but is a guint in GObject and g_atomic_int_get()
2885 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2887 * gst/parse/Makefile.am:
2888 chain commands using &&, which also makes parallel make work
2890 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2892 * docs/gst/gstreamer-sections.txt:
2898 === release 0.10.6 ===
2900 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2903 releasing 0.10.6, "Take the cannoli"
2905 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2907 * tools/gst-launch.c: (print_tag):
2908 Fix use of uninitialized variable in the hypothetical
2909 case that some broken plugin creates a GST_TAG_IMAGE
2910 tag containing a NULL buffer (#341667).
2912 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2914 * tools/gst-launch.c: (print_tag):
2915 Print something more intelligible for image tags when
2916 using the -t switch (#341556).
2918 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2923 define GST_MAJORMINOR so we have it available in win32/common/config.h
2924 Possibly remove it from our Makefile.am files later
2925 * win32/common/config.h:
2926 * win32/common/config.h.in:
2927 added GST_MAJORMINOR
2928 * win32/common/gstenumtypes.c: (register_gst_resource_error):
2929 * win32/common/gstversion.h:
2932 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
2935 Update win32 files listing.
2936 * win32/common/gstversion.h:
2937 Add GST_MAJORMINOR definition.
2938 * win32/common/libgstreamer.def:
2939 Add new exported functions.
2941 2006-05-12 Michael Smith <msmith@fluendo.com>
2943 * gst/gstplugin.c: (gst_plugin_load_file):
2944 If an so file has no plugin entry point, unload the module.
2946 2006-05-11 Wim Taymans <wim@fluendo.com>
2948 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
2949 (gst_queue_set_property):
2950 Don't forget to signal the _chain or _loop function
2951 when the queue size or thresholds change since that might
2952 cause them to make progres again.
2954 2006-05-11 Stefan Kost <ensonic@users.sf.net>
2956 * gst/gstclock.c: (gst_clock_class_init):
2957 * gst/gstindex.c: (gst_index_class_init):
2958 * gst/gstobject.c: (gst_object_class_init):
2959 * gst/gstpad.c: (gst_pad_class_init):
2960 * gst/gstpipeline.c: (gst_pipeline_class_init):
2961 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2962 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
2963 * libs/gst/base/gstbasetransform.c:
2964 (gst_base_transform_class_init):
2965 * libs/gst/net/gstnetclientclock.c:
2966 (gst_net_client_clock_class_init):
2967 * libs/gst/net/gstnettimeprovider.c:
2968 (gst_net_time_provider_class_init):
2969 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
2970 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
2971 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
2972 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
2973 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
2974 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
2975 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
2976 * plugins/elements/gstidentity.c: (gst_identity_class_init):
2977 * plugins/elements/gsttee.c: (gst_tee_class_init):
2978 * tests/old/examples/plugins/example.c: (gst_example_class_init):
2979 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
2980 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
2982 2006-05-11 Wim Taymans <wim@fluendo.com>
2984 * gst/gstbuffer.c: (_gst_buffer_initialize):
2985 Register subbufer along with the buffer type so that
2986 it does not accidentally gets registered from N
2987 different streaming threads in a non threadsafe way.
2989 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
2994 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
2995 gst_event_ref() and gst_message_ref() functions again
2996 (ugly hack, please do fix if there's a better way besides
2997 overrides.txt, which doesn't seem to work).
2999 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3001 * libs/gst/check/gstcheck.h:
3002 add an assert for setting state to avoid lots of repetitive code
3005 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3007 * gst/gstvalue.c: (gst_value_serialize_flags):
3008 fix a leak if no flags are set
3009 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3012 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3014 * docs/manual/basics-pads.xml:
3015 Expand a bit on caps and filtered links and update
3016 examples that were still using the no longer existing
3017 gst_pad_link_filtered() (#338206).
3019 2006-05-10 Wim Taymans <wim@fluendo.com>
3021 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3022 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3023 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3024 (gst_collect_pads_stop):
3025 * libs/gst/base/gstcollectpads.h:
3026 No need to call _stop in _finalize.
3027 Iterate the main pad list in _finalize.
3028 Added some more debug.
3029 Free lists and data in the right order.
3030 Also free data whem doing _remove_pad when stopped for
3031 backward compatibility protect ::started with PAD_LOCK as
3034 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3036 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3037 (gst_structure_parse_value):
3039 rename a method so that it actually says what it does better
3041 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3043 * gst/gstevent.c: (_gst_event_initialize):
3044 * gst/gstformat.c: (_gst_format_initialize):
3045 make sure some essential types used by events are registered
3046 as part of gst_init()
3047 * gst/gstvalue.c: (gst_value_serialize_flags):
3048 if no flags are set, serialize them to a value that represents NONE
3049 so that deserializing them works
3050 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3051 add tests for serialization and deserialization of flags
3053 2006-05-10 Wim Taymans <wim@fluendo.com>
3055 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3056 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3057 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3058 (gst_collect_pads_event), (gst_collect_pads_chain):
3061 Catch and return errors from the collect function
3062 Refuse data on eos pads.
3064 2006-05-10 Edward Hervey <edward@fluendo.com>
3066 * gst/gstinterface.h:
3067 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3068 GInterface type checking.
3069 They were previously using non-defined macros.
3071 2006-05-09 Wim Taymans <wim@fluendo.com>
3073 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3074 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3075 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3076 (gst_collect_pads_start), (gst_collect_pads_stop),
3077 (gst_collect_pads_peek), (gst_collect_pads_pop),
3078 (gst_collect_pads_available), (gst_collect_pads_read),
3079 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3080 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3081 (gst_collect_pads_chain):
3082 * libs/gst/base/gstcollectpads.h:
3083 Clean up the mess that is collectpads, add comments and
3084 FIXMEs where needed.
3085 Maintain a separate pad list so we can add pads while
3086 collecting the other ones. For this we need a new separate
3088 Fix memory leak in finalize.
3089 Refactor some weird code to set/unset pad flushing flags, mark
3091 Don't crash in _available, _read, _flush when we're EOS.
3093 * tests/check/libs/.cvsignore:
3094 Ignore adapter check binary.
3096 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3098 * gst/gstindex.c: (gst_index_resolver_get_type):
3099 * plugins/elements/gstfakesink.c:
3100 (gst_fake_sink_state_error_get_type):
3101 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3102 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3103 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3104 Const-ify GEnumValue arrays.
3106 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3108 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3109 Add test case for flags + gst_buffer_make_metadata_writable().
3111 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3113 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3114 gst_buffer_make_metadata_writable() should maintain the
3115 buffer flags (those that make sense at least) (see #340859).
3117 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3119 * tools/gst-inspect.c:
3120 * tools/gst-launch.c:
3121 * tools/gst-typefind.c:
3122 * tools/gst-xmlinspect.c:
3124 Fix up includes: need to include stdlib.h in tools.h for exit().
3126 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3128 * gst/gsttaglist.c: (_gst_tag_initialize):
3130 API: add GST_TAG_IMAGE tag (#340721).
3132 2006-05-08 Wim Taymans <wim@fluendo.com>
3135 Added some docs for the segment query.
3137 2006-05-08 Wim Taymans <wim@fluendo.com>
3139 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3140 (gst_base_src_loop), (gst_base_src_change_state):
3141 Always push non-flushing serialized events in the streaming
3144 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3146 * gst/gsterror.c: (_gst_stream_errors_init):
3147 Add a missing error string.
3149 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3151 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3152 Add applied_rate to the debug
3154 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3155 Copy applied_rate into the outgoing NEWSEGMENT event
3157 2006-05-08 Wim Taymans <wim@fluendo.com>
3159 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3161 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3162 (gst_base_sink_change_state):
3163 call ::unlock before taking the PREROLL_LOCK so we can safely
3164 handle elements that lock in ::render.
3167 2006-05-08 Edward Hervey <edward@fluendo.com>
3169 * autogen.sh: (CONFIGURE_DEF_OPT):
3170 Darwin's libtoolize is in fact called glibtoolize.
3171 Adding glibtoolize to the list of accepted names for libtoolize.
3173 2006-05-08 Wim Taymans <wim@fluendo.com>
3175 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3176 Unify error handling, don't post an error message
3177 when a push() returns EOS but perform our normal EOS
3178 handling code. Fixes #340772.
3180 2006-05-08 Wim Taymans <wim@fluendo.com>
3182 * docs/design/part-overview.txt:
3183 Make upsteam/downstream concepts more clear.
3184 Give an example of serialized/non-serialized events.
3186 * docs/design/part-events.txt:
3187 * docs/design/part-streams.txt:
3188 Mention applied_rate.
3190 * docs/design/part-trickmodes.txt:
3191 Mention applied rate, flesh out some more use cases.
3193 * gst/gstevent.c: (gst_event_new_new_segment),
3194 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3195 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3196 (gst_event_parse_tag), (gst_event_new_buffer_size),
3197 (gst_event_parse_buffer_size), (gst_event_new_qos),
3198 (gst_event_parse_qos), (gst_event_parse_seek),
3199 (gst_event_new_navigation):
3201 Add applied_rate field to NEWSEGMENT event.
3202 API: gst_event_new_new_segment_full()
3203 API: gst_event_parse_new_segment_full()
3205 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3206 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3207 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3209 Add applied_rate to GstSegment structure.
3210 Make calculation of stream_time and running_time more correct
3211 wrt rate/applied_rate.
3213 API: GstSegment::applied_rate field
3214 API: gst_segment_set_newsegment_full();
3216 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3217 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3218 * libs/gst/base/gstbasetransform.c:
3219 (gst_base_transform_sink_eventfunc),
3220 (gst_base_transform_handle_buffer):
3221 Parse and use applied_rate in the GstSegment field.
3223 * tests/check/gst/gstevent.c: (GST_START_TEST):
3224 Add check for applied_rate field.
3226 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3227 (gstsegments_suite):
3228 Add more checks for various GstSegment operations.
3230 2006-05-08 Wim Taymans <wim@fluendo.com>
3232 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3233 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3234 (gst_base_sink_get_position), (gst_base_sink_change_state):
3235 Store the sync time of the buffer end position separatly in a
3236 new variable eos_rtime so we can properly sync the EOS event.
3238 Fix the docs for gst_base_sink_set_qos_enabled().
3239 Don't set segment start to invalid value when we receive a
3240 non TIME newsegment.
3241 get closer to handling position reporting for negative rates
3244 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3247 Docs about how to print caps for debug purposes.
3249 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3250 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3252 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3255 use full enum names and preprend a '%' in docs strings to make recent
3256 gtk-doc turn that into a link
3258 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3260 * docs/manual/basics-bins.xml:
3261 * docs/manual/basics-bus.xml:
3262 * docs/manual/basics-pads.xml:
3263 Some typo fixes, some additions, some clarifications.
3265 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3267 * tools/gst-inspect.c: (main):
3268 * tools/gst-launch.c: (main):
3269 * tools/gst-run.c: (main):
3270 * tools/gst-typefind.c: (main):
3271 * tools/gst-xmlinspect.c: (main):
3272 Use the string passed to g_option_context_new() for
3273 what it's intended for - the program name is already
3276 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3278 * tools/Makefile.am:
3279 * tools/gst-inspect.c: (main):
3280 * tools/gst-launch.c: (main):
3281 * tools/gst-xmlinspect.c: (main):
3283 Add back --version command line option (#340460).
3285 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3286 Add --version option and use GOption for argument parsing; refactor a
3287 bit; accept directories as arguments and recurse into them; lastly,
3288 print a decent error message when things go wrong.
3290 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3292 * docs/manual/basics-bins.xml:
3293 Don't mention GstThread (#340611)
3294 * docs/manual/basics-elements.xml:
3295 Update link to GObject tutorial (#340607)
3297 2006-05-05 Wim Taymans <wim@fluendo.com>
3300 * gst/gstminiobject.c:
3301 Add note about refcounting and miniobject/buffer writeability
3302 to docs. Fixes #340604
3304 * gst/gstelementfactory.h:
3305 Added some explanation about @klass.
3307 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3309 * docs/manual/intro-motivation.xml:
3310 * docs/manual/manual.xml:
3311 Avoid CORBA & Bonobo references (#340598)
3313 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3315 * docs/manual/basics-bus.xml:
3316 * docs/manual/basics-pads.xml:
3317 Fix up some inaccuracies and omissions (#340609)
3319 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3321 * gst/gstghostpad.c:
3322 Small typo in docs (#340625)
3324 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3326 * gst/parse/Makefile.am:
3327 Make 'make -j' proof (see #340698).
3329 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3332 Require GLib-2.8 here as well.
3334 2006-05-05 Wim Taymans <wim@fluendo.com>
3336 * gst/glib-compat.c:
3337 * gst/gst.c: (init_pre):
3338 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3339 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3340 (gst_object_dispatch_properties_changed):
3342 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3343 * gst/gststructure.c: (gst_structure_set_valist):
3344 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3345 Remove pre glib2.8 compatibility, fixes #340508
3347 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3350 Mention type of tags in doc blurbs.
3352 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3354 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3355 (gst_pad_configure_src), (gst_pad_push):
3356 Restore acceptcaps checking behaviour now that good plugins have
3359 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3361 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3372 * gst/parse/Makefile.am:
3373 * libs/gst/base/gstadapter.c:
3374 * libs/gst/base/gstbasesrc.c:
3375 * libs/gst/base/gstpushsrc.c:
3376 * libs/gst/base/gsttypefindhelper.c:
3377 * plugins/elements/gstfakesrc.c:
3378 * plugins/elements/gstidentity.c:
3379 Make sure gstprivate.h and/or config.h are
3380 always included first, otherwise some of our
3381 defines (like _FILE_OFFSET_BITS) might be
3382 redefined in the system headers. Fixes build
3383 on opensolaris (#340016).
3385 2006-05-04 Wim Taymans <wim@fluendo.com>
3387 * docs/libs/gstreamer-libs-sections.txt:
3388 API: addition: gst_adapter_take_buffer()
3390 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3391 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3392 (gst_adapter_available_fast):
3393 * libs/gst/base/gstadapter.h:
3394 Prepare for optimizing the hell out of this hugely inefficient
3396 Added gst_adapter_take_buffer() so we can at least start thinking
3397 about subbuffering and merging.
3398 Added some comments.
3400 * tests/check/Makefile.am:
3401 * tests/check/libs/adapter.c: (GST_START_TEST),
3402 (gst_adapter_suite), (main):
3403 Added GstAdapter check.
3405 2006-05-04 Wim Taymans <wim@fluendo.com>
3407 * docs/design/part-overview.txt:
3408 Fix some typos, add blurb about buffer flags.
3410 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3412 * docs/libs/gstreamer-libs-sections.txt:
3413 make sure GstBaseTransformClass shows up in the docs
3414 * libs/gst/base/gstbasetransform.c:
3415 * libs/gst/base/gstbasetransform.h:
3416 move docs so gtk-doc picks it up now
3418 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3420 * docs/libs/gstreamer-libs-sections.txt:
3421 add missing symbols to docs
3423 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3425 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3426 back out the newsegment handling change, see #340060 for ongoing
3429 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3431 * tools/gst-run.c: (get_candidates), (main):
3432 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3433 work); fix typo in error message. Fixes #340079.
3435 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3437 * common/Makefile.am:
3439 * docs/faq/Makefile.am:
3440 * docs/gst/Makefile.am:
3441 * docs/libs/Makefile.am:
3442 * docs/manual/Makefile.am:
3443 * docs/plugins/Makefile.am:
3444 * docs/pwg/Makefile.am:
3445 * docs/slides/Makefile.am:
3447 * common/upload.mak:
3448 move upload.mak to common
3450 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3452 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3453 add more asserts on refcounts
3454 do more cleanup at end of tests
3455 fix test leaks showing in FC5
3457 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3459 * plugins/elements/gsttypefindelement.c:
3460 (gst_type_find_element_handle_event):
3461 reverted wrong change and reflowed code to avoid others falling into
3464 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3466 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3467 fix changelog entry about last collectpads change,
3468 add notes about proper fix
3470 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3473 * gst/gstregistry.c: (gst_registry_scan_path_level),
3474 (gst_registry_scan_path):
3475 * gst/gstregistry.h:
3476 only write out registry if it has changed, fixes #338339
3478 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3481 * gst/gstpipeline.c:
3482 * plugins/elements/gstcapsfilter.c:
3483 * plugins/elements/gstfakesink.c:
3484 * plugins/elements/gstfakesrc.c:
3485 * plugins/elements/gstfdsink.c:
3486 * plugins/elements/gstfdsrc.c:
3487 * plugins/elements/gstfilesink.c:
3488 * plugins/elements/gstfilesrc.c:
3489 * plugins/elements/gstidentity.c:
3490 * plugins/elements/gstqueue.c:
3491 * plugins/elements/gsttee.c:
3492 * plugins/elements/gsttypefindelement.c:
3493 (gst_type_find_element_handle_event):
3494 make GstElementDetails const
3496 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3498 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3499 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3500 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3501 more detailed debug and formatting cleanup,
3502 forward newsegments to src-pad (so that e.g. adder not eats them)
3504 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3506 * gst/gstutils.c: (gst_element_link_pads):
3509 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3511 * libs/gst/controller/gstcontroller.c:
3512 (gst_controller_sync_values):
3514 * tests/check/libs/controller.c: (GST_START_TEST),
3515 (gst_controller_suite):
3516 a new test for live value handling
3518 2006-04-28 Wim Taymans <wim@fluendo.com>
3520 * gst/gstutils.c: (push_and_ref):
3521 Added some more docs.
3522 Fix refcount issue whith gst_element_found_tags() helper
3523 function. Fixes #338335
3525 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3526 Added testsuite for gst_element_found_tags().
3528 2006-04-28 Michael Smith <msmith@fluendo.com>
3530 * gst/gstvalue.c: (gst_value_serialize_flags):
3531 Avoid NULL dereference when trying to serialize flags containing
3534 2006-04-28 Michael Smith <msmith@fluendo.com>
3536 * plugins/elements/gsttypefindelement.c:
3537 (gst_type_find_element_handle_event):
3538 If we get EOS before any data is accumulated, don't use
3539 uninitialised local variables.
3541 2006-04-28 Michael Smith <msmith@fluendo.com>
3543 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3544 (gst_dp_event_from_packet):
3545 Fixes in reading/writing events over GDP (not currently used?) -
3546 dereferencing NULL events for unknown/invalid event types, memory
3547 leak, and change g_warning to GST_WARNING.
3549 2006-04-28 Wim Taymans <wim@fluendo.com>
3551 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3552 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3553 (gst_base_sink_get_position), (gst_base_sink_change_state):
3554 When frame dropping is enabled, we should not ignore frames
3556 Update some documentation.
3558 2006-04-28 Wim Taymans <wim@fluendo.com>
3560 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3561 (gst_base_src_send_event), (gst_base_src_change_state):
3562 Documentation updates.
3564 2006-04-28 Wim Taymans <wim@fluendo.com>
3566 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3567 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3568 handle EAGAIN, EINTR and short writes correctly. Also clean
3569 up some error cases, avoid a deadlock on bad file descriptors and
3570 use GST_DEBUG_OBJECT.
3573 2006-04-28 Wim Taymans <wim@fluendo.com>
3575 * gst/gstvalue.c: (gst_value_serialize_buffer),
3576 (gst_value_deserialize_buffer):
3577 Don't try to serialize a GValue with a NULL buffer.
3580 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3581 Added check for serialisation of NULL buffers.
3583 2006-04-28 Wim Taymans <wim@fluendo.com>
3585 * gst/gstminiobject.c: (gst_value_take_mini_object):
3586 Taking a NULL miniobject is valid, fix the case where
3587 we try to unref the NULL miniobject.
3589 2006-04-28 Wim Taymans <wim@fluendo.com>
3591 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3593 * gst/gstbin.c: (gst_bin_handle_message_func):
3595 Don't leak bin refcount when a state recalc is
3596 in progress and we delay another one #339808.
3598 2006-04-28 Wim Taymans <wim@fluendo.com>
3600 * docs/design/part-TODO.txt:
3601 Mention QoS as an ongoing work item.
3603 * docs/design/part-buffering.txt:
3604 New doc about buffering that needs to be fleshed out
3607 * docs/design/part-qos.txt:
3608 More QoS policy for decoders/demuxers/transforms
3610 * docs/design/part-trickmodes.txt:
3613 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3618 === release 0.10.5 ===
3620 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3623 releasing 0.10.5, "Fogo"
3625 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3627 patch by: Wim Taymans
3629 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3630 (gst_pad_configure_src), (gst_pad_push):
3631 * gst/gstpipeline.c: (gst_pipeline_init):
3632 Fix internal data flow errors. Fixes #338711.
3634 2006-04-12 Wim Taymans <wim@fluendo.com>
3636 * tests/check/gst/gstelement.c: (GST_START_TEST):
3637 Don't leak the factory.
3639 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3642 * win32/common/config.h:
3645 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3647 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3648 (gst_controller_unset_all):
3649 Free allocated GstTimedValues when freeing list nodes.
3650 Should fix leaks 'make check-valgrind' complains about.
3652 * win32/common/libgstcontroller.def:
3653 Add gst_controller_unset_all.
3655 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3657 * docs/libs/gstreamer-libs-sections.txt:
3658 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3659 (gst_controller_unset_all):
3660 * libs/gst/controller/gstcontroller.h:
3661 API: Added new method gst_controller_unset_all()
3662 fixed gst_controller_unset()
3663 * tests/check/libs/controller.c: (GST_START_TEST),
3664 (gst_controller_suite):
3665 Added two testcases for new and fixed method
3667 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3669 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3670 MSG_DONTWAIT is not defined on Cygwin, so work
3671 around that (fixes #317048).
3673 2006-04-11 Wim Taymans <wim@fluendo.com>
3675 * gst/gstelementfactory.c: (gst_element_register),
3676 (gst_element_factory_create), (gst_element_factory_make):
3679 Updated docs (Fixes #131079)
3681 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3684 * tests/check/gst/gstelement.c: (GST_START_TEST),
3685 (gst_element_suite):
3686 Added testcase for elementfactory class field.
3688 2006-04-10 Wim Taymans <wim@fluendo.com>
3691 Added some more docs.
3693 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3694 (gst_base_sink_reset_qos):
3695 Calculate more accurate rate values.
3697 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3699 * gst/gst_private.h:
3700 add a new #ifdef to use __declspec(dllimport) only for
3701 other modules and not for gstreamer core
3702 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3703 use gst_guint64_to_gdouble for conversion
3704 * win32/common/libgstreamer.def:
3705 add new exported functions
3706 * win32/vs6/gst_inspect.dsp:
3707 * win32/vs6/gst_launch.dsp:
3708 * win32/vs6/libgstbase.dsp:
3709 * win32/vs6/libgstcontroller.dsp:
3710 * win32/vs6/libgstcoreelements.dsp:
3711 * win32/vs6/libgstdataprotocol.dsp:
3712 * win32/vs6/libgstnet.dsp:
3713 update project files
3715 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3717 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3718 * gst/gstclock.c: (gst_clock_class_init):
3719 * gst/gstelement.c: (gst_element_class_init):
3720 * gst/gstindex.c: (gst_index_class_init):
3721 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3722 * gst/gstobject.c: (gst_object_class_init),
3723 (gst_signal_object_class_init):
3724 * gst/gstpad.c: (gst_pad_class_init):
3725 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3726 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3727 * gst/gstregistry.c: (gst_registry_class_init):
3728 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3729 * gst/gsttask.c: (gst_task_class_init):
3730 * gst/gstxml.c: (gst_xml_class_init):
3731 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3732 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3733 (gst_base_src_loop):
3734 * libs/gst/controller/gstcontroller.c:/
3735 (_gst_controller_class_init):
3736 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3737 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3738 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3739 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3740 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3741 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3743 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3745 * gst/gstpad.c: (gst_pad_link):
3746 Must set peer pads before calling the link function, otherwise
3747 a task started from a link function might get a flow-not-linked
3748 result when trying to push because the other thread where the
3749 linking happens hasn't had a chance to set the peers yet. This
3750 might happen for example when a queue gets linked to a downstream
3751 element, as queue starts a streaming task when its source pad
3752 gets linked. Happens in real life when playing back flac/musepack
3753 files in playbin (#332390).
3755 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3759 * libs/gst/base/gstadapter.h:
3760 * libs/gst/base/gstbasesink.h:
3761 * libs/gst/base/gstbasesrc.h:
3762 * libs/gst/base/gstbasetransform.h:
3763 * libs/gst/base/gstcollectpads.h:
3764 * libs/gst/base/gstpushsrc.h:
3765 Fix broken GObject macros
3767 2006-04-07 Wim Taymans <wim@fluendo.com>
3769 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3770 Initialize start and stop times, thanks valgrind.
3772 2006-04-07 Wim Taymans <wim@fluendo.com>
3774 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3775 Be a bit nicer to badly behaving upstream elements that expect
3776 us to deal with non TIME segments and timestamps (such as fakesrc
3779 2006-04-07 Wim Taymans <wim@fluendo.com>
3782 Small documentation clarification about the signal watch.
3784 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3785 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3786 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3787 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3788 (gst_base_sink_get_position_last),
3789 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3790 Convert and store timestamps in stream time and running time, the
3791 raw timestamps are not usefull, also document this better.
3792 Use different window sizes for good and bad QoS observations so
3793 we react to badness a little quicker.
3794 Keep track of the amount of rendered and dropped buffers.
3795 Send QoS timestamps in running time.
3797 * libs/gst/base/gstbasetransform.c:
3798 (gst_base_transform_sink_eventfunc),
3799 (gst_base_transform_handle_buffer):
3800 Compare QoS timestamps against running time.
3802 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3807 2006-04-06 Michael Smith <msmith@fluendo.com>
3809 * gst/gstpad.c: (gst_pad_set_property):
3810 Use g_value_get_object() instead of g_value_dup_gst_object(),
3811 to avoid double-reffing the pad template (which we then sink,
3812 so this worked previously if (and only if) the pad template
3815 * gst/gstpadtemplate.c: (gst_pad_template_init),
3816 (gst_pad_template_pad_created):
3817 Never return floating references to pad templates, create
3818 them as initially-sunken.
3820 Document an extra function (and make this stop sinking our
3821 pad template, since that is now guaranteed to do nothing,
3822 since we created it sunken).
3824 * gst/gstghostpad.c:
3827 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3829 * gst/gstinfo.c: (__gst_in_valgrind):
3832 * plugins/elements/gsttypefindelement.c:
3833 (gst_type_find_element_chain):
3834 Don't leak buffer caps.
3836 2006-04-06 Michael Smith <msmith@fluendo.com>
3838 * gst/parse/grammar.y:
3839 Fix a leak in parse-launch for any source-or-sink named element
3842 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3843 Unref the pipeline if it exists after we've failed parsing.
3845 2006-04-05 Michael Smith <msmith@fluendo.com>
3847 * gst/gstpipeline.c: (gst_pipeline_init):
3848 When we create a pipeline bus, initially create it in flushing mode.
3849 Fixes leaks in at least one test, and makes a new pipeline work the
3850 same as one that has gone to READY and then back to NULL.
3855 2006-04-05 Michael Smith <msmith@fluendo.com>
3857 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3858 Unref a pad we reffed.
3859 * tests/check/gst/gstutils.c: (GST_START_TEST):
3862 2006-04-05 Michael Smith <msmith@fluendo.com>
3864 * gst/gstquery.c: (gst_query_set_formats),
3865 (gst_query_set_formatsv):
3866 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3868 2006-04-05 Michael Smith <msmith@fluendo.com>
3870 * tests/check/generic/sinks.c: (GST_START_TEST):
3871 Fix a variety of memleaks in sinks check, which are only sometimes
3872 shown by running the tests under valgrind (weird?).
3874 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3876 * docs/version.entities.in:
3877 Fix the substituted entity name after thomas' changes on the
3880 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3882 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3885 2006-04-05 Andy Wingo <wingo@pobox.com>
3887 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3889 * libs/gst/base/gstbasetransform.c
3890 (gst_base_transform_sink_eventfunc): When resetting our segment on
3891 FLUSH_STOP, also update the flag saying we haven't seen a
3894 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3896 Patch by: Paolo Borelli <pborelli at katamail dot com>
3898 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3899 (gst_plugin_check_license):
3900 minor clean-ups: G_DEFINE_TYPE already takes care of the
3901 parent_class stuff, no need to do it twice. Mark array of
3902 license strings as constant. (#337103)
3904 2006-04-04 Michael Smith <msmith@fluendo.com>
3906 * tools/gst-inspect.c: (print_element_list):
3907 Free the right plugin list; fixes a memory leak.
3909 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3911 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3913 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3914 Don't error out on empty buffers (#336945).
3916 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3918 * docs/libs/gstreamer-libs-sections.txt:
3920 * libs/gst/base/gstbasesink.c:
3921 * libs/gst/base/gstbasesink.h:
3922 * libs/gst/base/gstbasesrc.c:
3923 * libs/gst/base/gstbasesrc.h:
3924 Documentation updates. Make BaseSink and BaseSrc docs contain the
3925 class structure so that people can actually see the prototypes for
3926 virtual functions they're supposed to be overriding.
3928 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3930 * plugins/elements/gsttypefindelement.c:
3931 (gst_type_find_element_chain):
3932 More debug info; when skipping typefinding, send cached
3933 events in all cases.
3935 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
3938 use new AS_VERSION and AS_NANO macros
3939 * gst/gst-i18n-lib.h:
3942 * gst/gstversion.h.in:
3943 * win32/common/config.h:
3944 * win32/common/config.h.in:
3947 2006-03-31 Michael Smith <msmith@fluendo.com>
3949 * plugins/elements/gsttypefindelement.c:
3950 (gst_type_find_element_chain):
3951 Do not typefind content if the buffers already have caps.
3952 Neccesary for icydemux (#333657), and the right thing to do anyway.
3954 2006-03-30 Wim Taymans <wim@fluendo.com>
3956 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3957 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
3958 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
3959 (gst_base_sink_record_qos_observation),
3960 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3961 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
3962 (gst_base_sink_change_state):
3963 More QoS measurements as described in the design doc.
3964 Get rid of ringbuffer with observations, running average is
3965 more simple and equally good.
3966 Calculates valid proportion now.
3967 Added beginning of flood measurement.
3969 2006-03-29 Wim Taymans <wim@fluendo.com>
3971 * docs/design/part-qos.txt:
3973 Small documentation updates and additions.
3975 2006-03-29 Wim Taymans <wim@fluendo.com>
3977 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
3978 (gst_base_src_send_event), (gst_base_src_loop),
3979 (gst_base_src_change_state):
3980 Perform the EOS logic when we reach the segment stop position.
3981 Fix compilation on gcc4.1
3983 2006-03-29 Wim Taymans <wim@fluendo.com>
3985 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3987 * plugins/elements/gstqueue.c: (gst_queue_init),
3988 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
3989 (gst_queue_set_property):
3990 * plugins/elements/gstqueue.h:
3991 In queue, when EOS is received, if minimum threshold > max_size -
3992 current_level, there is chance that queue blocks forever in conditional
3993 item del wait. This is because the queue is not emptied completely due
3994 to minimum threshold. Here is another approach. Instead of setting
3995 cur_levels to max in EOS, just zero all minimum threshold levels. This
3996 should make sure that queue gives out all data. When going to READY
3997 (stop) state, just reset the original minimum threshold levels.
4000 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4002 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4003 (gst_type_find_element_handle_event),
4004 (gst_type_find_element_send_cached_events),
4005 (gst_type_find_element_change_state):
4006 * plugins/elements/gsttypefindelement.h:
4007 When typefinding is done in push mode, we should cache
4008 events we receive during typefinding instead of just
4009 dropping them (e.g. newsegment, custom events from
4010 dvdreadsrc etc.) and then send them out once we've
4011 determined the type of the stream (and decodebin
4012 has had a chance to plug in a decoder/demuxer).
4014 2006-03-27 Wim Taymans <wim@fluendo.com>
4016 * docs/design/part-qos.txt:
4019 2006-03-27 Wim Taymans <wim@fluendo.com>
4021 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4023 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4024 (gst_base_src_send_event), (gst_base_src_change_state):
4025 Handle element seek correctly when we are streaming.
4028 2006-03-24 Michael Smith <msmith@fluendo.com>
4030 * docs/faq/gst-uninstalled:
4031 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4032 allow you to correctly run intalled applications built against old
4033 core, using plugins that require updated core (e.g. running
4034 installed totem against a full uninstalled gstreamer stack)
4036 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4041 2006-03-24 Wim Taymans <wim@fluendo.com>
4043 * docs/gst/gstreamer-sections.txt:
4044 Rearrange the order of the methods so that related methods
4045 are grouped together in sections.
4047 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4050 Little clarification in the docs
4052 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4056 * plugins/elements/gstidentity.c:
4057 * plugins/elements/gstqueue.c:
4058 * plugins/elements/gsttee.c:
4059 * plugins/elements/gsttypefindelement.c:
4060 GST_ELEMENT_DETAILS formatting
4062 2006-03-24 Wim Taymans <wim@fluendo.com>
4064 * libs/gst/base/gstbasesink.h:
4065 Only add fields, not insert or we break ABI.
4067 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4069 * win32/common/libgstbase.def:
4070 * win32/common/libgstreamer.def:
4071 Update, add recently added functions.
4073 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4075 * docs/gst/gstreamer-sections.txt:
4076 * gst/gstutils.c: (gst_pad_query_peer_position),
4077 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4079 API: add some new utility functions:
4080 - gst_pad_query_peer_position()
4081 - gst_pad_query_peer_duration()
4082 - gst_pad_query_peer_convert()
4084 2006-03-23 Wim Taymans <wim@fluendo.com>
4086 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4087 (gst_base_sink_init), (gst_base_sink_finalize),
4088 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4089 (gst_base_sink_set_property), (gst_base_sink_get_property),
4090 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4091 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4092 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4093 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4094 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4095 (gst_base_sink_preroll_object), (gst_base_sink_event),
4096 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4097 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4098 (gst_base_sink_query), (gst_base_sink_change_state):
4099 Decouple max-lateness and the fact that QoS messages are generated
4100 with a new property (qos).
4101 added API: GstBaseSink::async_play()
4102 Add vmethod so subclasses can be notified of ASYNC playing
4104 Collect timestamp start and stop to report better current
4105 position in EOS/PLAYING/PAUSED/READY/NULL.
4106 Refactor QoS/frame dropping and other measurements.
4107 API: GstBaseSrc::qos
4110 * libs/gst/base/gstbasesink.h:
4111 Added Private struct.
4112 API: gst_base_sink_set_qos_enabled()
4113 API: gst_base_sink_is_qos_enabled()
4115 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4117 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4118 If compiling against GLib-2.8 or newer, try to read the
4119 registry file using GMappedFile first before falling back
4120 to fopen() + fread() (#332151).
4122 2006-03-22 Wim Taymans <wim@fluendo.com>
4124 * gst/gstinfo.c: (gst_debug_set_active),
4125 (gst_debug_category_set_threshold):
4126 Disable debugging unless explicitly activated.
4129 2006-03-22 Wim Taymans <wim@fluendo.com>
4131 * gst/gstelement.c: (gst_element_set_locked_state),
4132 (gst_element_dispose):
4133 Cleanup the error case.
4135 * gst/gstobject.c: (gst_object_dispose):
4136 print a critical when some object was disposed with
4137 a parent, also revive the object since it might
4140 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4142 * tools/gst-launch.1.in:
4145 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4148 * tests/check/Makefile.am:
4149 disable some tests when we don't have a registry
4150 * tests/check/gst/gstutils.c: (gst_utils_suite):
4151 don't build the part that needs parsing
4153 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4156 * tests/examples/Makefile.am:
4157 fix --disable-parse build
4159 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4161 * tools/gst-feedback.1.in:
4162 Fix typo: s/feeback/feedback/ (#133494).
4164 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4166 * tools/Makefile.am:
4167 * tools/gst-launch.1.in:
4168 Add FILES section and correct entry about GST_REGISTRY_PATH
4169 environment variable (#133495; #133494).
4171 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4173 * tools/Makefile.am:
4174 * tools/gst-md5sum.1.in:
4175 * tools/gst-md5sum.c:
4176 Remove gst-md5sum and man page (the md5sink element
4177 required was removed ages ago)
4179 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4181 * gst/gststructure.c: (gst_structure_id_set_value):
4182 Make sure that string fields in structures/taglists
4183 contain valid UTF-8 - we don't want to pass rubbish to
4184 applications because of a buggy plugin (cp. #334167).
4186 2006-03-21 Edward Hervey <edward@fluendo.com>
4188 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4189 (gst_bin_handle_message_func):
4190 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4191 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4192 (gst_element_set_bus_func):
4193 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4194 * gst/gstminiobject.c: (gst_value_set_mini_object),
4195 (gst_value_take_mini_object):
4196 * gst/gstpad.c: (gst_pad_set_pad_template):
4197 * gst/gstpipeline.c: (gst_pipeline_dispose),
4198 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4200 (gst_collect_pads_chain):
4201 * libs/gst/net/gstnettimeprovider.c:
4202 (gst_net_time_provider_set_property):
4203 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4204 It's in fact all issues with gst_*object_replace().
4206 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4208 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4210 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4211 * pkgconfig/gstreamer-check.pc.in:
4212 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4214 2006-03-21 Edward Hervey <edward@fluendo.com>
4219 gst_[buffer|event|message]_ref() macros are replaced by a static
4220 inline functions because gcc-4.1 will about if the return value
4222 * tests/check/gst/gstevent.c: (event_probe):
4223 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4225 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4228 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4229 the type' case. (Closes: #335195 for now). In the future, when we
4230 depend on GLib 2.10, we could also intern the type name using
4231 g_intern_static_string()
4233 2006-03-20 Wim Taymans <wim@fluendo.com>
4235 * gst/gstbin.c: (gst_bin_handle_message_func),
4236 (bin_query_max_init), (bin_query_position_fold),
4237 (bin_query_position_done), (gst_bin_query):
4238 Position query should also take max of all streams.
4240 2006-03-20 Wim Taymans <wim@fluendo.com>
4242 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4243 (gst_fake_src_finalize):
4244 Fix leaks in fakesrc.
4246 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4247 Fix leaks in the testcase.
4249 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4251 * gst/gst_private.h:
4252 add win32 specific import decoration(__declspec(dllimport))
4253 for all extern GstDebugCategory * variables
4254 * win32/common/libgstbase.def:
4255 * win32/common/libgstcontroller.def:
4256 * win32/common/libgstreamer.def:
4257 Add some exports, remove empty lines
4258 * win32/common/libgstdataprotocol.def:
4259 * win32/common/libgstdataprotocol.dsp:
4260 * win32/common/libgstnet.def:
4261 * win32/common/libgstnet.dsp:
4262 new project files and exportation files added
4264 2006-03-19 Wim Taymans <wim@fluendo.com>
4266 * tests/check/libs/basesrc.c: (eos_event_counter):
4267 Use proper return value for probe.
4269 2006-03-17 Wim Taymans <wim@fluendo.com>
4271 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4273 Don't leak buffers, caps and pads on negotiation errors.
4275 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4278 * docs/faq/dependencies.xml:
4279 * docs/faq/developing.xml:
4281 * docs/faq/general.xml:
4282 * docs/faq/getting.xml:
4283 * docs/faq/legal.xml:
4284 * docs/faq/troubleshooting.xml:
4285 * docs/faq/using.xml:
4286 Faq review and update.
4288 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4290 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4292 Don't pound the cpu to pieces by checking get_caps when accept_caps
4293 is called with the same caps as the pad already has.
4294 Use GST_DEBUG_OBJECT when outputting caps change information.
4296 2006-03-15 Wim Taymans <wim@fluendo.com>
4298 * gst/gstclock.c: (gst_clock_class_init):
4301 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4306 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4307 (gst_pad_accept_caps), (gst_pad_configure_sink),
4308 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4309 Make the default acceptcaps behaviour be to check the requested
4310 caps against the gst_pad_get_caps output.
4312 Ensure that gst_pad_accept_caps is used to check caps when a pad
4313 doesn't have a setcaps function, so that pads automatically refuse
4314 caps that they don't allow in their pad template. (Fixes #332986)
4316 When a buffer with attached caps is pushed, ensure that the source
4317 pad receives those caps even if the element didn't call
4318 gst_pad_set_caps first.
4320 2006-03-15 Wim Taymans <wim@fluendo.com>
4322 * libs/gst/base/gstadapter.c:
4325 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4327 * win32/common/libgstbase.def:
4328 * win32/common/libgstcontroller.def:
4329 * win32/common/libgstreamer.def:
4330 Add a whole bunch of missing functions (#334434).
4332 2006-03-14 Wim Taymans <wim@fluendo.com>
4334 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4335 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4336 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4337 Better debug info when we receive a segment event.
4338 Reorganize a bit so we can pass the get_times() results around.
4339 Use the segment format when calculating the running time.
4340 Don't do QoS is sync is disabled or we have no clock or the
4341 element does not want us to sync to the clock.
4342 Don't drop buffers if QoS is disabled for now.
4344 2006-03-14 Wim Taymans <wim@fluendo.com>
4346 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4347 Marked the stats property as unimplemented so people don't get
4349 Add debug message when regression goes wrong.
4350 Added some more docs.
4352 2006-03-14 Wim Taymans <wim@fluendo.com>
4354 * gst/gstsegment.c: (gst_segment_to_stream_time):
4355 Return correct return type in case of errors.
4357 2006-03-14 Wim Taymans <wim@fluendo.com>
4359 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4360 Don't segfault on invalid formats.
4362 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4364 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4365 Can't use gst_segment_to_running_time() when the segment
4366 is not in GST_TIME_FORMAT (like with filesink, for example).
4367 Stops flac encoding pipelines from spewing critical warnings
4370 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4372 * gst/gstpipeline.c: (gst_pipeline_class_init):
4373 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4375 * plugins/elements/gsttypefindelement.c:
4376 (gst_type_find_element_handle_event):
4377 Don't try to typefind empty streams.
4379 2006-03-14 Wim Taymans <wim@fluendo.com>
4381 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4382 (gst_base_sink_do_qos):
4383 Separate QoS calculation.
4384 Only drop buffers when lateness is bigger than the
4385 duration of the buffer.
4387 2006-03-13 Wim Taymans <wim@fluendo.com>
4389 * gst/gstpipeline.c: (gst_pipeline_set_property),
4390 (gst_pipeline_get_property), (do_pipeline_seek),
4391 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4392 (gst_pipeline_get_delay):
4393 Don't deadlock when reading properties.
4395 2006-03-13 Wim Taymans <wim@fluendo.com>
4397 * libs/gst/base/gstbasetransform.c:
4398 (gst_base_transform_class_init), (gst_base_transform_init),
4399 (gst_base_transform_sink_event),
4400 (gst_base_transform_sink_eventfunc),
4401 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4402 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4403 (gst_base_transform_set_property),
4404 (gst_base_transform_get_property),
4405 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4406 (gst_base_transform_set_qos_enabled),
4407 (gst_base_transform_is_qos_enabled):
4408 * libs/gst/base/gstbasetransform.h:
4409 Make basetransform virtual method for src events too.
4410 Handle QOS in basetransform.
4411 API: gst_base_transform_update_qos()
4412 API: gst_base_transform_set_qos_enabled()
4413 API: gst_base_transform_is_qos_enabled()
4415 2006-03-13 Wim Taymans <wim@fluendo.com>
4417 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4418 (gst_base_sink_do_sync):
4420 Use QOS debug category.
4422 2006-03-13 Wim Taymans <wim@fluendo.com>
4424 * plugins/elements/gstqueue.c:
4425 Very small doc update.
4427 2006-03-13 Wim Taymans <wim@fluendo.com>
4429 * gst/gst_private.h:
4430 * gst/gstinfo.c: (_gst_debug_init):
4431 Added QOS debug category
4433 2006-03-13 Wim Taymans <wim@fluendo.com>
4435 * docs/gst/gstreamer-sections.txt:
4436 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4438 * gst/gstbus.c: (gst_bus_class_init):
4441 * gst/gstelement.c: (gst_element_set_locked_state):
4443 Documentation updates.
4445 * gst/gstpipeline.c: (gst_pipeline_get_type),
4446 (gst_pipeline_class_init), (gst_pipeline_init),
4447 (gst_pipeline_dispose), (gst_pipeline_set_property),
4448 (gst_pipeline_get_property), (do_pipeline_seek),
4449 (gst_pipeline_send_event), (gst_pipeline_change_state),
4450 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4451 (gst_pipeline_get_delay):
4452 * gst/gstpipeline.h:
4453 Added methods for setting the delay.
4454 API: gst_pipeline_set_delay()
4455 API: gst_pipeline_get_delay()
4456 Add pipeline debug category
4459 Don't reset stream time when seek failed.
4461 2006-03-13 Wim Taymans <wim@fluendo.com>
4463 * docs/design/draft-klass.txt:
4464 * docs/design/part-clocks.txt:
4465 * docs/design/part-events.txt:
4466 * docs/design/part-gstbin.txt:
4467 * docs/design/part-gstpipeline.txt:
4468 * docs/design/part-messages.txt:
4469 * docs/design/part-negotiation.txt:
4470 * docs/design/part-overview.txt:
4471 * docs/design/part-preroll.txt:
4472 * docs/design/part-seeking.txt:
4473 * docs/design/part-states.txt:
4474 * docs/design/part-streams.txt:
4475 Documentation updates.
4477 2006-03-12 Julien MOUTTE <julien@moutte.net>
4479 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4480 us to leak strings...
4482 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4484 * libs/gst/net/gstnettimeprovider.c:
4486 * win32/common/config.h:
4489 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4491 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4494 Don't check for libgnomeui (leftover from old examples
4495 that aren't built or disted any longer) (#334303).
4497 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4499 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4500 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4501 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4502 there's no space left on the device.
4504 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4507 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4508 to cast the input to GstClockTime before comparing with
4509 another GstClockTime value.
4511 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4516 === release 0.10.4 ===
4518 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4521 releasing 0.10.4, "Light"
4523 2006-03-10 Michael Smith <msmith@fluendo.com>
4525 * libs/gst/dataprotocol/dataprotocol.c:
4526 Fix docs for dataprocotol to not get the return types completely
4527 wrong for a few functions.
4529 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4531 * docs/gst/gstreamer-sections.txt:
4532 * gst/gstpipeline.c: (gst_pipeline_class_init),
4533 (gst_pipeline_init), (gst_pipeline_set_property),
4534 (gst_pipeline_get_property), (gst_pipeline_change_state),
4535 (gst_pipeline_set_auto_flush_bus),
4536 (gst_pipeline_get_auto_flush_bus):
4537 * gst/gstpipeline.h:
4538 Add new API: gst_pipeline_set_auto_flush_bus() and
4539 gst_pipeline_get_auto_flush_bus() to disable automatic
4540 flushing of the pipeline's GstBus when going from READY
4541 to NULL state (#332045).
4543 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4545 * docs/gst/gstreamer-sections.txt:
4546 * gst/gsturi.c: (gst_uri_has_protocol):
4548 Add new API: gst_uri_has_protocol() (#333779).
4550 2006-03-09 Wim Taymans <wim@fluendo.com>
4552 * gst/gstclock.c: (gst_clock_entry_new),
4553 (gst_clock_id_compare_func), (gst_clock_id_wait),
4554 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4555 (gst_clock_init), (gst_clock_get_internal_time),
4556 (gst_clock_set_master), (do_linear_regression),
4557 (gst_clock_add_observation), (gst_clock_set_property):
4561 Fix a possible segfault when the window-size is made smaller.
4562 Calculate jitter before performing the clock wait. Ideally
4563 the clock implementation should calculate jitter but we need
4564 API breakage for that.
4566 * gst/gstsystemclock.c: (gst_system_clock_init):
4569 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4570 Remove leftover else
4572 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4573 (gst_systemclock_suite):
4574 Added check to test GST_CLOCK_DIFF.
4576 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4578 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4579 (gst_type_find_helper_get_range):
4580 If we are provided with the size, we should implement
4581 GstTypeFind::get_length, so that typefind functions who
4582 want to can actually peek at the middle of a file.
4584 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4586 * docs/manual/advanced-dataaccess.xml:
4587 Add some very very basic error checking.
4589 * docs/pwg/appendix-checklist.xml:
4590 Some updates to the list of things to check when writing an element.
4592 2006-03-08 Wim Taymans <wim@fluendo.com>
4594 * docs/design/part-element-transform.txt:
4595 Added some docs about the design of tranform elements.
4597 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4598 (gst_base_src_loop), (gst_base_src_change_state):
4599 Mark buffers with the DISCONT flag.
4601 2006-03-08 Michael Smith <msmith@fluendo.com>
4603 * gst/gstregistry.h:
4604 * gst/gstregistryxml.c: (gst_registry_save),
4605 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4606 (gst_registry_xml_save_pad_template),
4607 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4608 (gst_registry_xml_write_cache):
4609 Rewrite registry-saving to avoid race conditions and check for
4612 2006-03-08 Wim Taymans <wim@fluendo.com>
4614 * libs/gst/base/gstbasetransform.c:
4615 (gst_base_transform_transform_caps),
4616 (gst_base_transform_transform_size),
4617 (gst_base_transform_prepare_output_buffer),
4618 (gst_base_transform_get_unit_size),
4619 (gst_base_transform_buffer_alloc),
4620 (gst_base_transform_handle_buffer),
4621 (gst_base_transform_change_state):
4622 Cleanups, separate normal flow from errors, add sensible
4624 Don't try to renegotiate when allocating an output buffer.
4625 Also copy DISCONT buffer flag when copying a buffer.
4626 Reset the transform after we finish streaming, not during.
4628 2006-03-08 Wim Taymans <wim@fluendo.com>
4630 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4631 Use last buffer timestamp in qos message.
4633 2006-03-07 Wim Taymans <wim@fluendo.com>
4635 Patch by: Christophe Fergeau
4637 * docs/pwg/advanced-tagging.xml:
4638 * docs/pwg/building-pads.xml:
4641 2006-03-07 Wim Taymans <wim@fluendo.com>
4643 * docs/libs/gstreamer-libs-sections.txt:
4644 Added basesink new methods.
4648 Docs updates. Flesh out the QoS docs.
4650 * libs/gst/base/gstadapter.c:
4651 Small doc clarification about ownership and flushing.
4653 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4654 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4655 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4656 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4657 * libs/gst/base/gstbasesink.h:
4659 Added new methods to allow subclass to control max-lateness
4661 Generate very basic QoS events based on last sync observation.
4662 Updated docs, fix typo, added some QoS blurb.
4664 * libs/gst/base/gstbasesrc.c:
4665 Remove obsolete _get_state() calls from docs.
4667 2006-03-07 Wim Taymans <wim@fluendo.com>
4669 * docs/libs/gstreamer-libs-sections.txt:
4670 * libs/gst/base/gstbasetransform.h:
4671 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4672 Fix docs for GstBaseSrc.
4674 2006-03-07 Wim Taymans <wim@fluendo.com>
4676 * docs/gst/gstreamer-sections.txt:
4679 * libs/gst/base/gstbasetransform.h:
4680 Small documentation fixes.
4682 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4685 Document thread-unsafety of gst_value_register_foo_func()
4686 when used at the same time as gst_value_foo() (#322628).
4688 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4690 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4691 (gst_push_src_check_get_range):
4692 Push sources don't support pull mode by default.
4694 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4696 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4697 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4698 (gst_base_src_default_check_get_range):
4699 * libs/gst/base/gstbasesrc.h:
4700 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4701 provide default implementation, and rename
4702 gst_base_src_check_get_range() to
4703 gst_base_src_pad_check_get_range() for clarity.
4705 2006-03-06 Wim Taymans <wim@fluendo.com>
4707 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4708 Make property overridable.
4710 2006-03-06 Wim Taymans <wim@fluendo.com>
4712 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4713 (gst_base_sink_init), (gst_base_sink_set_property),
4714 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4715 * libs/gst/base/gstbasesink.h:
4716 API addition: Make max-lateness a property.
4718 2006-03-06 Wim Taymans <wim@fluendo.com>
4720 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4721 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4722 Don't ever draw a frame that is >10ms late.
4724 2006-03-06 Michael Smith <msmith@fluendo.com>
4726 * gst/gstmessage.c: (_gst_message_copy):
4727 When copying a message, set the parent_refcount of the enclosed
4728 structure to point at the copy, not the original message.
4730 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4732 Patch by: Christophe Fergeau
4735 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4736 usable in c++ code (#333417)
4738 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4741 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4743 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4745 * libs/gst/base/gstbasetransform.c:
4746 (gst_base_transform_transform_caps):
4747 Make sure caps are writable before passing them to
4750 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4753 Fix some minor docs errors.
4755 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4757 Patch by: Ross Burton <ross at burtonini dot com>
4759 * gst/gsterror.c: (_gst_resource_errors_init):
4761 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4763 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4766 Add a check and output a g_warning when GStreamer is built
4767 against GLib 2.6 but running against 2.8 or higher, and vice
4768 versa. (Closes: #323542)
4770 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4772 * gst/parse/parse.l:
4773 Commit patch for parse_launch syntax from #331255. Removes
4774 support for quoted strings and mimetypes when writing filtered
4775 caps. See the bug report for more details - I'm pretty sure this
4776 obscure feature is not in use by _anyone_ anywhere.
4778 With this simple change, the size of the gstreamer.so here
4779 drops from 2193KB to 1565KB.
4781 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4783 * plugins/elements/gsttypefindelement.h:
4784 * plugins/elements/gsttypefindelement.c:
4785 (gst_type_find_element_src_event), (start_typefinding),
4786 (stop_typefinding), (gst_type_find_element_handle_event),
4787 (gst_type_find_element_chain),
4788 (gst_type_find_element_chain_do_typefinding):
4789 Use gst_type_find_helper_for_buffer() for chain-based
4792 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4794 * plugins/elements/gsttypefindelement.c:
4795 (gst_type_find_element_class_init),
4796 (gst_type_find_element_set_property),
4797 (gst_type_find_element_get_property):
4798 Deprecate "maximum" property (not only was it only taken into
4799 account for typefinding in push-mode anyway, it also was never
4800 actually possible to set it in the first place because the
4801 property was registered with the numeric property ID for the
4802 "minimum" property). Register "maximum" property correctly,
4803 for the sake of future copy'n'pasters. Remove some cruft
4804 from property get/set functions.
4806 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4808 * plugins/elements/gsttypefindelement.c:
4809 (gst_type_find_element_activate):
4810 Use gst_type_find_helper_get_range() here, so we
4811 can honour the "minimum" property and also emit
4812 the signal with the correct probability of the found caps.
4814 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4816 * docs/libs/gstreamer-libs-sections.txt:
4817 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4818 (helper_find_suggest), (gst_type_find_helper_get_range),
4819 (gst_type_find_helper):
4820 * libs/gst/base/gsttypefindhelper.h:
4821 New API: gst_type_find_helper_get_range() (#333042).
4823 2006-03-02 Michael Smith <msmith@fluendo.com>
4825 * gst/gstregistryxml.c: (load_feature):
4826 Asserting on a failure to read part of the registry is Not Cool.
4827 Just log a warning and return NULL (which is already handled)
4829 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4831 * win32/common/libgstbase.def:
4832 added export of gst_type_find_helper_for_buffer
4833 * win32/common/libgstbase.def:
4834 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4835 gst_ghost_pad_get_target
4837 2006-02-28 Wim Taymans <wim@fluendo.com>
4839 * docs/design/draft-klass.txt:
4841 Added Connector to mark elements that are only used to
4842 allow pipeline connections.
4843 Moved Debug to extra feature since most of them are
4844 functionally something else.
4846 2006-02-28 Wim Taymans <wim@fluendo.com>
4848 * docs/design/draft-klass.txt:
4849 Some updates and clarifications.
4851 2006-02-28 Wim Taymans <wim@fluendo.com>
4853 * docs/design/draft-klass.txt:
4854 Proposal for klass field values.
4856 * docs/design/part-streams.txt:
4857 Start of a doc describing stream anatomy.
4859 2006-02-28 Wim Taymans <wim@fluendo.com>
4861 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4862 Help the compiler a bit with type registration.
4863 Use existing forward cod path instead of duplicating it when
4866 * gst/gstbus.c: (gst_bus_get_type):
4867 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4868 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4869 * gst/gstclock.c: (gst_clock_get_type):
4870 * gst/gstelement.c: (gst_element_get_type),
4871 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4872 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4873 * gst/gstminiobject.c: (gst_mini_object_get_type):
4874 * gst/gstpad.c: (gst_pad_get_type):
4875 * gst/gstsegment.c: (gst_segment_get_type):
4876 * gst/gststructure.c: (gst_structure_get_type):
4877 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4878 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4880 Help compiler with type registration.
4882 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4885 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4887 * plugins/elements/gsttypefindelement.c:
4888 (gst_type_find_element_handle_event):
4889 When we get an EOS event and have not found a type yet
4890 (most likely because we had not yet accumulated
4891 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4892 type given the data we have so far. Fixes typefinding
4893 for very short streams again, most notably quicktime
4894 redirections as used on Apple's trailer site (#331701).
4896 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4898 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4899 (gst_type_find_helper):
4900 Try typefinding factories with the highest rank first.
4902 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4904 * docs/libs/gstreamer-libs-docs.sgml:
4905 * docs/libs/gstreamer-libs-sections.txt:
4906 * libs/gst/base/gsttypefindhelper.c:
4907 Add section for typefind helper and add documentation
4908 for the old and the new function.
4910 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4912 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4913 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4914 (gst_type_find_helper_for_buffer):
4915 * libs/gst/base/gsttypefindhelper.h:
4916 New API: gst_type_find_helper_for_buffer() (#332723).
4918 2006-02-27 Michael Smith <msmith@fluendo.com>
4920 Patch by: Loïc Minier
4924 * docs/slides/Makefile.am:
4925 prevent CVS directories getting disted.
4927 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4929 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
4930 Use the REFCOUNTING category for caps refcounting.
4932 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4934 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4935 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
4937 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
4939 * plugins/elements/gsttypefindelement.c:
4940 (gst_type_find_element_activate):
4941 Use gst_pad_check_pull_range() before _activate_pull()
4942 to avoid unnecessary open/close (see #331690).
4944 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4947 Docs enhancement: make it crystal clear what the
4948 gst_pad_add_*_probe() callbacks should look like.
4950 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
4952 * libs/gst/base/gstbasesrc.c:
4953 Document how applications can stop recording from
4954 live sources (see #330996).
4956 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4958 * tests/check/Makefile.am:
4959 * tests/check/libs/basesrc.c: (eos_event_counter),
4960 (basesrc_eos_events_pull), (basesrc_eos_events_push),
4961 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
4962 (gst_basesrc_suite), (main):
4963 ... and add some tests for the base source EOS stuff.
4965 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4967 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
4968 Test case originally showed the problem fixed below,
4969 but was then amended. Add checks back at the place
4970 where they used to be.
4972 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4974 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4975 (gst_base_src_init), (gst_base_src_loop),
4976 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4977 (gst_base_src_change_state):
4978 * libs/gst/base/gstbasesrc.h:
4979 Don't unconditionally send EOS when going from PAUSED to
4980 READY state, esp. make sure we don't send two EOS events
4981 in some cases (e.g. one when reaching EOS and one when
4982 going from PAUSED to READY). Also, we don't want to send
4983 EOS events when operating in pull mode. However, we do
4984 want to send an EOS event when shutting down a live
4985 source explicitly, for example (fixes #330996).
4987 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
4989 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4990 Update src->read_position after a seek when not using mmap.
4991 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
4993 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
4999 Make things work with --disable-parse as they do with
5000 --disable-load-save - the symbols involved disappear, but the
5001 header is still installed and GST_DISABLE_PARSE is included via
5004 2006-02-20 Julien MOUTTE <julien@moutte.net>
5006 * libs/gst/base/gstbasetransform.c:
5007 (gst_base_transform_change_state): Fix a stupid bug. I was
5008 sure I compiled that.
5010 2006-02-20 Julien MOUTTE <julien@moutte.net>
5012 * gst/gstpad.c: (gst_pad_set_blocked_async):
5013 * gst/gstutils.c: (gst_pad_add_data_probe),
5014 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5015 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5016 (gst_pad_remove_buffer_probe): Make those function act on the
5017 ghostpad target when it's a ghostpad. (Closes #331727)
5019 2006-02-20 Julien MOUTTE <julien@moutte.net>
5021 * libs/gst/base/gstbasetransform.c:
5022 (gst_base_transform_change_state): Make basetransform reusable.
5025 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5027 * docs/random/release:
5028 Move the current documentation of how to do a release to the top
5031 * gst/gstbin.c: (gst_bin_class_init),
5032 (gst_bin_handle_message_func):
5033 Allow multiple state-recalculation threads. (Closes #328873)
5035 2006-02-19 Julien MOUTTE <julien@moutte.net>
5037 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5038 * gst/gstpad.c: (gst_pad_set_event_function),
5039 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5040 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5041 2 strings. You can't use the STR_NULL macro on that.
5043 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5045 * gst/gstpad.c: (gst_pad_set_event_function),
5046 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5047 (gst_pad_set_getcaps_function)
5048 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5049 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5050 So now, we can use --gst-debug-level=5 on Windows
5051 * win32/common/libgstcontroller.def:
5052 Added export of gst_controller_init
5053 * win32/vs6/libgstcontroller.dsp:
5054 Fixed Release post build configuration
5056 2006-02-17 Wim Taymans <wim@fluendo.com>
5058 * tests/check/gst/gstquery.c: (GST_START_TEST):
5059 Added another check.
5061 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5063 * plugins/elements/gsttypefindelement.c: (find_peek):
5064 We can do peeks at non-zero offsets, as long as they
5065 fall within the buffer we have.
5067 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5069 * tests/check/Makefile.am:
5070 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5071 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5072 (parse_suite), (main):
5073 Add testsuite for parse launch syntax
5075 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5077 * plugins/elements/gsttypefindelement.c:
5078 (gst_type_find_element_chain):
5079 When typefinding is unsuccessful in the chain function, don't
5080 error out immediately. Only error out with NO_CAPS_FOUND if
5081 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5082 otherwise simply wait for more data so we can try typefinding
5083 again with more data later. Also, don't attempt to typefind
5084 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5085 this should improve typefinding from network sources where the
5086 size of the first buffer can be somewhat random.
5088 2006-02-14 Wim Taymans <wim@fluendo.com>
5090 * docs/gst/gstreamer-sections.txt:
5091 * gst/gstpadtemplate.c:
5092 * gst/gstpadtemplate.h:
5093 Fix padtemplate docs, fixes #328805.
5095 2006-02-14 Wim Taymans <wim@fluendo.com>
5097 * tools/gst-launch.c: (main):
5098 NO_PREROLL is not an ERROR so don't send confusing messages
5101 2006-02-14 Wim Taymans <wim@fluendo.com>
5103 Patch by: Torsten Schoenfeld
5105 * gst/gstregistry.c: (gst_registry_get_default),
5106 (_gst_registry_cleanup):
5107 Protect default registry with lock and ref/sink it.
5110 2006-02-14 Wim Taymans <wim@fluendo.com>
5113 * gst/gstquery.c: (gst_query_list_add_format),
5114 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5115 (gst_query_parse_formats_nth):
5116 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5119 2006-02-14 Wim Taymans <wim@fluendo.com>
5121 * docs/gst/gstreamer-sections.txt:
5122 Reworked query docs.
5124 * gst/gstquery.c: (gst_query_new_formats),
5125 (gst_query_list_add_format), (gst_query_set_formats),
5126 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5127 (gst_query_parse_formats_nth):
5129 Flesh out formats query, added some new methods.
5130 Fix part of #324398.
5132 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5133 Added query creation tests.
5135 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5137 * gst/gstpad.c: (fixate_value):
5138 Add a default fixation for fraction lists.
5140 2006-02-13 Wim Taymans <wim@fluendo.com>
5142 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5143 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5146 Detect and warn for obvious deadlocks. fixes #320340
5147 Fix error case where lock was not released.
5149 * tests/check/Makefile.am:
5150 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5151 (task_func), (gst_element_suite), (main):
5154 2006-02-13 Wim Taymans <wim@fluendo.com>
5156 * docs/gst/gstreamer-sections.txt:
5158 Add new functions to docs.
5160 2006-02-13 Wim Taymans <wim@fluendo.com>
5162 * docs/design/part-TODO.txt:
5163 Updated TODO list, basesrc supports seeking to non-bytes
5166 * docs/design/part-element-sink.txt:
5169 * gst/gstbin.c: (bin_replace_message),
5170 (gst_bin_handle_message_func):
5171 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5172 * gst/gstevent.c: (gst_event_finalize):
5173 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5174 (gst_pad_send_event):
5175 Use shiny new _TYPE_NAME macros.
5177 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5178 Move debug statement up.
5180 * gst/gstelement.c: (gst_element_set_locked_state):
5183 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5185 * docs/gst/gstreamer-sections.txt:
5188 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5189 macros (#330906). Also, document the already existing
5190 GST_QUERY_TYPE macro.
5192 2006-02-13 Wim Taymans <wim@fluendo.com>
5194 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5195 (event_probe), (GST_START_TEST):
5196 Only events up to the pipeline EOS are counted, there are
5197 some more when going to NULL currently which we don't care
5200 2006-02-13 Wim Taymans <wim@fluendo.com>
5202 * gst/gstpad.c: (gst_pad_send_event):
5203 Correctly check flushing and emit probes. fixes #330125
5205 2006-02-10 Andy Wingo <wingo@pobox.com>
5207 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5209 (gst_bus_init): Cache the location of the private data in the
5211 (gst_bus_enable_sync_message_emission)
5212 (gst_bus_disable_sync_message_emission): Implement new public
5214 (gst_bus_post): Emit the sync-message signal if the user asked for
5217 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5218 location of the bus-private structure.
5219 (gst_bus_enable_sync_message_emission)
5220 (gst_bus_disable_sync_message_emission): API addition
5222 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5224 Patch by: Vincent Torri
5226 * docs/pwg/building-boiler.xml:
5227 PWG patch from #326800
5229 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5233 * docs/design/Makefile.am:
5236 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5241 === release 0.10.3 ===
5243 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5246 releasing 0.10.3, "Like a virgin"
5248 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5251 2nd prerelease of 0.10.3
5252 Bump libtool versioning.
5254 2006-02-07 Andy Wingo <wingo@pobox.com>
5256 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5257 update last_stop if we're in TIME format and the timestamp is
5260 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5261 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5262 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5263 If we get a new newsegment with a different format, adapt
5266 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5267 of 0. Not a problem, really.
5269 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5272 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5277 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5280 project files updated to the default vs7 configuration
5281 * win32/common/libgstbase.def:
5282 * win32/common/libgstreamer.def:
5284 removed empty lines,
5285 sorted all exported symbols alphabetically
5286 * win32/common/dirent.c:
5287 * win32/common/dirent.h:
5288 * win32/common/gchar.h:
5289 use windows line end.
5291 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5293 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5294 Send EOS event when stopping.
5296 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5299 Tell folks what to do if the plugin-foobar.xml file
5300 hasn't been generated for a newly-added plugin.
5302 2006-02-05 Julien MOUTTE <julien@moutte.net>
5304 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5305 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5306 (gst_collect_pads_start), (gst_collect_pads_stop),
5307 (gst_collect_pads_event): Collectpads now holds a reference
5308 to the GstPad that was added. Indeed we don't want to look
5309 at pads that might just go away with no warning...
5311 2006-02-05 Julien MOUTTE <julien@moutte.net>
5313 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5314 (gst_collect_pads_start), (gst_collect_pads_stop),
5315 (gst_collect_pads_event), (gst_collect_pads_chain):
5316 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5317 Mark Nauwelaerts's patch on bug #328491.
5319 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5321 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5323 Add some simple tests for gst_parse_bin_from_description() and
5324 gst_bin_find_unconnected_pad() (#329069).
5326 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5328 * tools/gst-launch.c: (event_loop), (main):
5329 Catch errors during preroll (#320084).
5331 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5333 * plugins/elements/gsttypefindelement.c:
5334 (gst_type_find_element_activate):
5335 Post TYPE_NOT_FOUND error message when typefinding
5336 is unsuccessful in the activate function as well.
5338 2006-02-02 Wim Taymans <wim@fluendo.com>
5340 * docs/design/part-element-sink.txt:
5343 2006-02-02 Wim Taymans <wim@fluendo.com>
5345 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5346 (gst_base_sink_render_object),
5347 (gst_base_sink_queue_object_unlocked):
5348 Only keep track of prerollable items when we are
5350 Before rendering after preroll, always check if we
5352 Added some more debugging.
5354 2006-02-02 Wim Taymans <wim@fluendo.com>
5356 * gst/gstelement.c: (gst_element_continue_state),
5357 (gst_element_set_state_func), (gst_element_change_state):
5358 Fixed #326576, been running this for quite some time with
5359 no regressions at all.
5361 2006-02-02 Wim Taymans <wim@fluendo.com>
5364 Added more suppressions
5366 2006-02-02 Wim Taymans <wim@fluendo.com>
5368 * docs/design/part-element-sink.txt:
5371 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5372 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5373 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5374 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5375 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5376 (gst_base_sink_preroll_object),
5377 (gst_base_sink_queue_object_unlocked),
5378 (gst_base_sink_queue_object), (gst_base_sink_event),
5379 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5380 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5381 (gst_base_sink_get_position), (gst_base_sink_change_state):
5382 * libs/gst/base/gstbasesink.h:
5383 Totally refactored matching the design doc.
5384 Use two segments, one to clip incomming buffers and another to
5386 Handle queueing correctly, bypass the queue when playing.
5387 Make EOS cancelable.
5388 Handle errors correctly when operating in pull based mode.
5390 * tests/check/elements/fakesink.c: (GST_START_TEST),
5392 Added new check for sinks.
5394 2006-02-02 Wim Taymans <wim@fluendo.com>
5396 * gst/gstsegment.c: (gst_segment_clip):
5397 No reason to refuse to clip when start == -1
5399 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5402 * docs/manual/intro-basics.xml:
5403 * docs/manual/intro-preface.xml:
5404 * docs/manual/manual.xml:
5405 * docs/pwg/advanced-dparams.xml:
5406 * docs/pwg/intro-basics.xml:
5407 * docs/pwg/intro-preface.xml:
5409 describe dparams (controller) for plugins
5410 unify docs a little more
5412 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5414 * docs/gst/gstreamer-sections.txt:
5415 * gst/gstutils.c: (element_find_unconnected_pad),
5416 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5418 Add new API: gst_parse_bin_from_description() and
5419 gst_bin_find_unconnected_pad() (#329069).
5421 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5423 * docs/manual/README:
5424 uncover a nasty detail of the docs build
5426 2006-01-31 Wim Taymans <wim@fluendo.com>
5428 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5429 Don't cache duration messages if we're not going to use or
5432 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5434 * docs/manual/advanced-dparams.xml:
5435 * docs/pwg/advanced-dparams.xml:
5439 * libs/gst/controller/lib.c: (gst_controller_init):
5442 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5444 * gst/gstelement.c: (gst_element_message_full):
5445 also show file/line/func if no additional debug was given
5447 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5449 * win32/vs7/grammar.vcproj:
5450 activate copy of autogenerated files for Release mode
5452 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5454 * win32/common/libgstreamer.def:
5455 export gst_value_compare
5457 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5459 * plugins/elements/Makefile.am:
5460 * plugins/elements/gstelements.c:
5461 * plugins/elements/gstfdsink.c: (_do_init),
5462 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5463 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5464 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5465 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5466 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5467 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5468 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5469 * plugins/elements/gstfdsink.h:
5470 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5472 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5474 * docs/manual/advanced-dparams.xml:
5476 * docs/manual/advanced-position.xml:
5477 * docs/manual/basics-init.xml:
5478 * docs/manual/manual.xml:
5479 * docs/manual/titlepage.xml:
5481 * docs/pwg/titlepage.xml:
5482 cleanup xml (more to come)
5483 * libs/gst/controller/gstcontroller.c:
5486 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5488 * win32/vs6/grammar.dsp:
5489 add autogen of gstmarshal.c,h for Release mode
5491 2006-01-30 Wim Taymans <wim@fluendo.com>
5493 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5494 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5495 (gst_base_sink_handle_object), (gst_base_sink_event),
5496 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5497 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5498 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5499 (gst_base_sink_deactivate), (gst_base_sink_activate),
5500 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5501 (gst_base_sink_query), (gst_base_sink_change_state):
5502 Basesink cleanups, remove some old code.
5503 Handle the case where a subclass can preroll in the render
5504 method (mostly audiosinks).
5506 Remove some locks around variables that are now protected
5507 with the PREROLL_LOCK (clock_id, flushing, ..).
5508 Optimize position query some more, do correct locking.
5509 Remove old code to push queue in state change, this is not
5510 needed anymore since preroll blocks on all prerollable items
5512 Almost implemented as described in design doc.
5514 2006-01-30 Wim Taymans <wim@fluendo.com>
5516 * tests/check/gst/gstbin.c: (GST_START_TEST):
5517 Wait for refcount to settle down before checking.
5519 2006-01-30 Wim Taymans <wim@fluendo.com>
5521 * docs/design/part-element-sink.txt:
5522 Pseudo code overview of desired sink behaviour regarding
5525 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5526 * win32/vs6/grammar.dsp:
5527 fix some bugs in Release mode for autogenerated files
5529 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5530 * win32/common/libgstbase.def:
5531 * win32/common/libgstreamer.def:
5532 export some new symbols: gst_base_src_set_format,
5533 gst_iterator_next, gst_structure_set_valist
5535 2006-01-29 Julien MOUTTE <julien@moutte.net>
5537 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5538 Set pad functions unconditionally. Fixes #329105.
5540 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5542 add vs8 project files created by Sergey Scobich
5544 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5546 * gst/gstutils.c: (gst_element_unlink_pads):
5547 Don't leak pad references.
5549 * tests/check/elements/fakesink.c: (GST_START_TEST):
5550 * tests/check/generic/sinks.c: (GST_START_TEST):
5551 * tests/check/generic/states.c: (GST_START_TEST):
5552 * tests/check/gst/gstbin.c: (GST_START_TEST):
5553 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5554 * tests/check/gst/gstelement.c: (GST_START_TEST):
5555 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5556 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5557 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5558 Fix a bunch of leaks. Make generic/sinks.c
5559 use a bit less cpu by slowing the buffer rate
5560 between fakesrc and fakesink.
5562 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5564 * gst/gstelement.c: (gst_element_send_event):
5567 * gst/gstiterator.c:
5568 * gst/gstiterator.h:
5569 * gst/gstpad.c: (gst_pad_send_event):
5570 * gst/gststructure.c:
5574 * libs/gst/base/gstadapter.c:
5575 doc fixes, to link to function, just write gst_cool_function(), don't
5578 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5580 * plugins/elements/gsttee.c: (gst_tee_do_push),
5581 (gst_tee_handle_buffer):
5582 Always prefer an actual return value from a src
5583 pad in place of NOT_LINKED. This means we return
5584 WRONG_STATE when all src pads are WRONG_STATE
5585 instead of NOT_LINKED.
5587 Lock when replacing the last message to prevent
5588 racing with the get_property method.
5592 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5594 * tests/check/Makefile.am:
5595 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5597 Add a very simple check that should have caught the memleak I fixed
5598 last night (if not for the slice allocator hiding it)
5600 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5602 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5603 (gst_bin_remove_func), (gst_bin_handle_message_func),
5604 (bin_query_duration_fold), (bin_query_generic_fold):
5605 Clean up references to the clock provider when disposed or when
5606 handling a clock-lost message from it.
5608 Unref sinks when performing a query via gst_iterator_fold, as the
5609 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5611 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5612 (gst_clock_set_master):
5613 Drop our reference to the master clock, if any, when we are disposed.
5615 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5616 Chain up in dispose.
5618 2006-01-26 Wim Taymans <wim@fluendo.com>
5620 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5623 2006-01-26 Julien MOUTTE <julien@moutte.net>
5625 * plugins/elements/gsttee.c: (gst_tee_do_push),
5626 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5627 handles pad being NOT_LINKED or in WRONG_STATE.
5629 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5634 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5637 remove obsolete entry
5639 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5641 * docs/gst/gstreamer-sections.txt:
5642 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5643 (gst_bin_iterate_sources), (gst_bin_send_event):
5645 * gst/gstelement.c: (gst_element_send_event):
5647 * gst/gstpad.c: (gst_pad_send_event):
5648 added code for downstream events, reviewed docs in gstevent.c
5650 2006-01-25 Julien MOUTTE <julien@moutte.net>
5652 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5653 We only query position using the clock in the playing state.
5654 Query peer in the other cases.
5655 * win32/common/config.h: Updates.
5657 2006-01-24 Wim Taymans <wim@fluendo.com>
5659 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5660 A clock entry that is scheduled for the exact time of the
5661 clock is still in time.
5663 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5664 (gst_base_sink_do_sync):
5665 Add some more debug info.
5667 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5670 Add new vs7 project files and solution.
5672 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5675 all files removed as they were out-dated.
5677 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5679 * docs/random/release:
5681 * gst/gstbin.c: (gst_bin_init):
5682 * gst/gstbus.c: (gst_bus_new):
5684 * gst/gstpipeline.c: (gst_pipeline_init):
5685 use gst_bus_new(), improve logging, fix docs
5686 * win32/common/config.h:
5687 update for cvs build
5689 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5692 up required version of automake to 1.7
5694 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5696 * win32/common/libgstreamer.def:
5697 export gst_buffer_is_metadata_writable
5699 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5701 * docs/gst/gstreamer-sections.txt:
5703 Add gst_event_replace() (#327001)
5705 2006-01-20 Wim Taymans <wim@fluendo.com>
5707 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5708 Make it actually compile too..
5710 2006-01-20 Wim Taymans <wim@fluendo.com>
5713 Clarify behaviour of _is_equal() when passing NULL parameters.
5715 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5717 Cleanups. Don't unref NULL caps.
5718 When setting the same caps, protect caps of the pad with
5720 Use full functionality of _is_equal() when comparing caps.
5722 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5724 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5725 Don't loop infinitely if there are no buffers to present. Partially
5726 fixes #327197, but collectpads is just broken for reusing elements
5727 to do multiple encodes atm.
5729 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5731 * tools/gst-inspect.c: (print_element_features):
5732 * tools/gst-xmlinspect.c: (main):
5733 URL_HANDLER is not a plugin feature we can search for in
5736 2006-01-19 Edward Hervey <edward@fluendo.com>
5738 * gst/gstelement.c: (gst_element_pads_activate):
5739 When activating, do src pads first, then sink pads.
5740 When de-activating, do sink pads first, then src pads.
5742 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5744 * docs/gst/gstreamer-sections.txt:
5745 Add gst_index_add_associationv to the docs
5747 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5752 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5753 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5754 Do some refactoring. Doesn't actually change functionality,
5755 but makes landing the DRAIN event easier later.
5757 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5759 * docs/pwg/advanced-scheduling.xml:
5760 Update from 0.9.x to 0.10 API and make example a bit
5763 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5765 * docs/gst/gstreamer-sections.txt:
5766 Add gst_buffer_(is|make)_metadata_writable methods.
5768 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5770 * docs/design/part-sparsestreams.txt:
5771 Update sparse streams doc, hopefully for greater clarity
5773 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5775 * docs/design/part-events.txt:
5776 Remove mention of FILLER events.
5779 * docs/design/part-sparsestreams.txt:
5780 Write some things about using NEWSEGMENT to keep sparse streams
5783 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5785 * gst/gstbin.c: (gst_bin_dispose):
5786 Guard gst_object_unref call against a NULL object (dispose
5787 can theoretically be called multiple times).
5789 2006-01-18 Wim Taymans <wim@fluendo.com>
5791 * gst/gstbin.c: (gst_bin_element_set_state):
5792 * gst/gstclock.c: (gst_clock_id_wait):
5793 Added some more debug info.
5795 * libs/gst/base/gstadapter.c:
5798 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5799 (gst_base_sink_do_sync), (gst_base_sink_chain):
5800 Added some comments.
5802 2006-01-18 Wim Taymans <wim@fluendo.com>
5804 * tests/check/Makefile.am:
5805 * tests/check/elements/fakesink.c: (chain_async_buffer),
5806 (chain_async), (chain_async_return), (GST_START_TEST),
5807 (fakesink_suite), (main):
5808 Added fakesink test that checks prerolling and clipping
5811 * tests/check/gst/gstutils.c: (GST_START_TEST):
5812 Make check run faster so that buildbots don't timeout.
5814 2006-01-18 Wim Taymans <wim@fluendo.com>
5816 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5817 (gst_base_sink_do_sync):
5819 When the sink finishes blocking on the preroll buffer, it can
5820 immediatly render it instead of rendering when the next buffer
5823 2006-01-18 Wim Taymans <wim@fluendo.com>
5825 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5826 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5827 (gst_base_sink_chain):
5829 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5830 Don't store _last_stop if the buffer is dropped.
5832 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5834 * plugins/elements/gsttypefindelement.c:
5835 (gst_type_find_element_class_init):
5836 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5837 object method handler that sets the caps on the pad and we want
5838 that to happen before we emit the signal (fixes e.g. feeding a
5839 plain text file to decodebin).
5841 2006-01-18 Christian Schaller <Christian@fluendo.com>
5843 * gst/gstplugin.c: Add MPL and Proprietary as license options
5845 2006-01-18 Andy Wingo <wingo@pobox.com>
5847 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5848 symbol was exported before, it appears this was just an oversight.
5850 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5852 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5853 prototype to gint. OK since this prototype was not in the header.
5855 2006-01-17 Andy Wingo <wingo@pobox.com>
5857 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5858 registry while we remove plugins.
5860 * tools/gst-inspect.c (print_element_info): Don't unref the
5861 factory arg, that should be the responsibility of whatever code
5862 received the ref. Fixes a double-free when called from
5863 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5864 (main): Unref the factory if we have one.
5865 (print_element_list): No change -- relies on the
5866 plugin_feature_list_free to free the list of features.
5868 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5870 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5871 (gst_buffer_make_metadata_writable):
5873 * libs/gst/base/gstbasetransform.c:
5874 (gst_base_transform_prepare_output_buf):
5875 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5876 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5877 Replace gst_buffer_(make|is)_metadata_writable patch now
5878 that the release is out.
5880 2006-01-17 Andy Wingo <wingo@pobox.com>
5882 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5883 in the present tense without reference to versions.
5885 * gst/gstregistry.c (gst_registry_add_plugin)
5886 (gst_registry_remove_plugin, gst_registry_remove_feature)
5887 (gst_registry_find_feature, gst_registry_get_feature_list)
5888 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5889 (gst_registry_lookup, gst_registry_scan_path)
5890 (_gst_registry_remove_cache_plugins)
5891 (gst_registry_get_feature_list_by_plugin): Add argument
5894 === release 0.10.2 ===
5896 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5899 releasing 0.10.2, "If man is five"
5901 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5905 * libs/gst/base/gstbasetransform.c:
5906 (gst_base_transform_prepare_output_buf):
5907 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5908 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5909 Back out patch until after the release.
5911 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5913 * gst/gstminiobject.c:
5914 Spelling fix in docs.
5915 * ChangeLog - remove conflict indicator
5917 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5919 Reviewed By: Andy Wingo
5921 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5922 (gst_buffer_make_metadata_writable):
5924 Add gst_buffer_(is|make)_metadata_writable as analogues of
5925 gst_buffer_(is|make)_writable.
5927 * libs/gst/base/gstbasetransform.c:
5928 (gst_base_transform_prepare_output_buf):
5929 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5930 Use name gst_buffer_(is|make)_metadata_writable functions.
5932 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5933 Test gst_buffer_(is|make)_metadata_writable
5937 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
5939 * docs/manual/Makefile.am:
5940 don't do parallel make
5943 * win32/common/config.h.in:
5944 add generations for HOST_CPU and GST_MAJORMINOR
5945 * win32/common/config.h:
5946 commit generated result
5948 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
5950 * docs/manual/appendix-integration.xml:
5951 Update GNOME integration section to use gst_init_get_option_group()
5952 instead of the old popt stuff (#322911). Also, GNOME applications
5953 should now use gconf*sink and gconf*src instead of the old gconf
5956 2006-01-13 Stefan Kost <ensonic@users.sf.net>
5959 * docs/gst/gstreamer-docs.sgml:
5960 * docs/gst/gstreamer-sections.txt:
5961 * docs/libs/gstreamer-libs-sections.txt:
5962 add new API entries to the docs
5963 * libs/gst/controller/Makefile.am:
5964 * libs/gst/controller/gstcontroller.c:
5965 * libs/gst/controller/gstcontroller.h:
5966 * libs/gst/controller/gstcontrollerprivate.h:
5967 * libs/gst/controller/gsthelper.c:
5968 * libs/gst/controller/gstinterpolation.c:
5969 move private structs to private header
5971 gstreamer-0.7 -> gstreamer-0.10
5972 * tests/check/libs/struct_i386.h:
5973 remove private structs
5975 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5977 * plugins/indexers/Makefile.am:
5978 Fixes as part of #317048
5980 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
5982 * plugins/indexers/Makefile.am:
5983 fix #316086 - compilation when mmap is missing
5985 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
5987 * libs/gst/base/gstbasesink.c:
5988 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
5989 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
5990 * win32/common/config.h:
5991 added some defines GST_MAJORMINOR and HOST_CPU
5992 * win32/common/libgstbase.def:
5993 * win32/common/libgstreamer.def:
5994 added some exported functions.
5996 2006-01-12 Stefan Kost <ensonic@users.sf.net>
5998 * libs/gst/controller/gstcontroller.c:
5999 (gst_controlled_property_set_interpolation_mode),
6000 (gst_controlled_property_new):
6001 * libs/gst/controller/gstcontroller.h:
6002 * libs/gst/controller/gstinterpolation.c:
6003 (interpolate_none_get_string_value_array):
6004 make G_TYPE_STRING controlable
6006 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6009 * tools/gst-feedback.1.in:
6010 * tools/gst-inspect.1.in:
6011 * tools/gst-launch.1.in:
6012 * tools/gst-md5sum.1.in:
6013 * tools/gst-typefind.1.in:
6014 * tools/gst-xmlinspect.1.in:
6015 * tools/gst-xmllaunch.1.in:
6016 cleanup man-pages, remove reference to gst-register, document env-vars
6018 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6020 * gst/gstbuffer.c: (gst_buffer_span):
6021 gst_buffer_span should copy the timestamp of the first buffer
6022 if they were both originally overlapping subbuffers of the
6023 same parent, using the same logic as the 'slow copy' case.
6025 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6027 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6028 Need to awaken ALL the pads when we pop a buffer, otherwise
6029 collectpads only works when there is 2 input streams.
6031 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6033 * docs/random/ensonic/media-device-daemon.txt:
6036 fix doc example, add clarification
6037 * tools/gst-launch.1.in:
6038 add initial info about GST_PLUGIN_PATH, needs more work
6040 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6042 * docs/manual/basics-bins.xml:
6043 * docs/manual/basics-elements.xml:
6044 * docs/manual/intro-basics.xml:
6045 Some more minor docs additions and updates.
6047 2006-01-11 Wim Taymans <wim@fluendo.com>
6049 * docs/manual/basics-bins.xml:
6050 * docs/manual/basics-elements.xml:
6051 Some small fixes as pointed out by Ser-ver on IRC.
6053 2006-01-10 Edward Hervey <edward@fluendo.com>
6055 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6056 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6057 the single-segment mode.
6059 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6061 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6063 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6064 (gst_base_src_perform_seek), (gst_base_src_send_event),
6065 (gst_base_src_set_property), (gst_base_src_get_property),
6066 (gst_base_src_loop), (gst_base_src_start),
6067 (gst_base_src_activate_push):
6068 * libs/gst/base/gstbasesrc.h:
6069 Name (private) union; makes Sun's Forte compiler happy (#324900).
6071 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6074 gst-register is gone.
6076 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6078 * gst/gstvalue.c: (_gst_value_initialize):
6079 make the G_TYPE_DATE instantiation work if debug is disabled
6081 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6083 * gst/gstmessage.c: (gst_message_parse_tag),
6084 (gst_message_parse_error), (gst_message_parse_warning):
6085 Don't crash when return location for error/warning debug
6086 string is NULL; add fact that return locations can be
6087 NULL to docs where appropriate.
6089 2006-01-05 Wim Taymans <wim@fluendo.com>
6091 * gst/gstplugin.c: (gst_plugin_load_file):
6092 Replace strdup by g_strdup.
6094 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6096 * docs/pwg/advanced-types.xml:
6099 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6101 submitted by: Abel Cheung
6105 Added Chinese (traditional) translation
6107 2006-01-04 Wim Taymans <wim@fluendo.com>
6109 * docs/manual/basics-pads.xml:
6110 * docs/plugins/Makefile.am:
6111 * docs/plugins/gstreamer-plugins-docs.sgml:
6112 * docs/plugins/gstreamer-plugins-sections.txt:
6113 * docs/pwg/advanced-clock.xml:
6114 * docs/pwg/advanced-scheduling.xml:
6115 * docs/pwg/advanced-types.xml:
6116 * plugins/elements/gstfdsink.c:
6117 * plugins/elements/gstfdsrc.c:
6118 * plugins/elements/gstfdsrc.h:
6119 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6120 * plugins/elements/gstidentity.h:
6121 * plugins/elements/gstqueue.h:
6122 * plugins/elements/gsttee.c:
6123 * plugins/elements/gsttee.h:
6124 * plugins/elements/gsttypefindelement.c:
6125 (gst_type_find_element_class_init):
6126 * plugins/elements/gsttypefindelement.h:
6127 Small updates to various docs.
6128 Added core plugins to docs.
6130 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6133 add a suppression for liboil's uninitialized variable
6135 2006-01-02 James Livingston <jrl at ids dot org dot au>
6137 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6140 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6141 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6142 compiler switch is being used (#325429).
6144 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6146 * gst/gstbin.c: (gst_bin_query):
6147 Disable duration query caching in bins until it gets
6148 fixed (see #324807).
6150 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6152 * tools/gst-inspect.c: (print_element_properties_info):
6153 Handle properties of POINTER and BOXED type.
6155 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6157 * gst/gst.c: (init_post):
6158 Init tags stuff and some other things before loading
6159 any static plugins (there may be other static plugins
6160 than just the GStreamer ones, and they may want to
6161 register their own tags or formats or whatever, and
6162 preferably without segfaulting).
6164 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6165 Print at least a warning in the debug logs if we drop a
6166 query just because we don't know how to adjust the value
6167 in the particular format.
6169 2005-12-24 David Schleef <ds@schleef.org>
6171 * tools/gstreamer-completion:
6172 Replacement for gst-complete written in sh and sed. Only
6173 completes names of features, but that's 90% of what I want
6174 it for. Properties are not available in registry.xml. (Maybe
6177 === release 0.10.1 ===
6179 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6182 releasing 0.10.1, "Nollaig chridheil"
6184 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6187 Add missing quote, should be make ERROR_CFLAGS="".
6189 2005-12-20 Wim Taymans <wim@fluendo.com>
6191 * docs/design/part-trickmodes.txt:
6192 More documentation on trickmodes.
6194 2005-12-20 Edward Hervey <edward@fluendo.com>
6196 * gst/gstcaps.c: (gst_static_caps_get_type):
6198 API addition: GST_TYPE_STATIC_CAPS
6199 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6200 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6201 * gst/gstpadtemplate.h:
6202 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6203 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6206 2005-12-18 Wim Taymans <wim@fluendo.com>
6208 * libs/gst/base/gstadapter.c:
6209 * libs/gst/base/gstadapter.h:
6210 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6211 (gst_base_sink_get_position):
6212 * libs/gst/base/gstbasesink.h:
6213 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6214 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6215 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6216 (gst_base_src_send_event), (gst_base_src_update_length),
6217 (gst_base_src_get_range), (gst_base_src_loop),
6218 (gst_base_src_start):
6219 * libs/gst/base/gstbasesrc.h:
6220 * libs/gst/base/gstbasetransform.h:
6221 * libs/gst/base/gstcollectpads.h:
6222 * libs/gst/base/gstpushsrc.c:
6223 * libs/gst/base/gstpushsrc.h:
6224 * libs/gst/dataprotocol/dataprotocol.c:
6225 * libs/gst/dataprotocol/dataprotocol.h:
6226 * libs/gst/net/gstnetclientclock.h:
6227 * libs/gst/net/gstnettimeprovider.h:
6228 Documentation updates.
6230 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6232 * docs/manual/basics-helloworld.xml:
6233 Remove superfluous closing bracket in helloworld example.
6235 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6237 * tools/gst-launch.1.in:
6238 Update gst-launch man page; add a section with useful
6239 environment variables. Fixes #323882.
6241 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6244 * gst/gst_private.h:
6245 change some char* into char[]
6247 2005-12-16 Wim Taymans <wim@fluendo.com>
6249 * gst/gstregistryxml.c: (load_feature):
6251 Don't use g_object_unref on GstObjects so that we avoid
6252 leaks on unsafe glibs.
6254 2005-12-16 Wim Taymans <wim@fluendo.com>
6256 * gst/gstbin.c: (gst_bin_recalc_state):
6259 2005-12-16 Wim Taymans <wim@fluendo.com>
6262 Added make forever target for check.
6264 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6266 * gst/gst.c: (init_post):
6267 make the registry cache file HOST_CPU-dependent
6269 2005-12-16 Andy Wingo <wingo@pobox.com>
6271 * plugins/elements/gstbufferstore.c
6272 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6275 * tests/check/gst/gstobject.c
6276 (test_fake_object_name_threaded_unique): Pay attention to
6277 g_list_sort return value.
6279 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6281 * tools/gst-feedback-m.m:
6282 Update for 0.9/0.10 (fixes #323870).
6284 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6286 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6287 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6289 * tests/check/gst/gstminiobject.c: (my_foo_init),
6290 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6291 (test_value_collection), (gst_mini_object_suite):
6292 Add test to ensure refcounts end up as expected when passing
6293 GstMiniObjects through g_object_get() and g_object_set().
6295 2005-12-14 Julien MOUTTE <julien@moutte.net>
6297 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6298 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6299 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6300 of collectpads. This version removes a lot of races without
6301 touching API/ABI. Yay !
6303 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6305 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6306 Don't allow activation of a srcpad in pull_range if it has no
6308 Change some debug statements to be a little clearer
6310 * plugins/elements/gsttypefindelement.c:
6311 (gst_type_find_handle_src_query):
6312 Check that we have a peer before executing queries thereupon.
6314 * tests/examples/metadata/read-metadata.c: (message_loop):
6315 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6316 immediately return us any available message with 0 timeout.
6318 2005-12-12 Michael Smith <msmith@fluendo.com>
6320 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6321 Don't unref factories after calling them.
6322 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6323 * plugins/elements/gsttypefindelement.c:
6324 (gst_type_find_element_chain):
6325 Free lists of factories after using them. Fixing typefinding memory
6328 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6330 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6331 (gst_plugin_feature_load):
6332 more meaningful debug output
6334 * tests/Makefile.am:
6335 * tests/old/examples/Makefile.am:
6336 make make distcheck happy again
6338 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6340 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6341 Catch the special case where we are operating chain-based,
6342 but the downstream peer pad has no chain function. Emit a
6343 custom error message in this case instead of letting the
6344 core generate one implying that this is some sort of core
6345 bug. It's not, it just means that whatever got plugged
6346 into the pipeline downstream when we announced the type
6347 can only operate pull-based, while our source can only
6348 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6349 Error string has not been marked for translation yet, as
6350 it probably needs some more work first.
6352 (gst_type_find_element_get_best_possibility):
6353 Add helper function to find the best of all available
6354 found possibilities that qualify given the min. threshold.
6356 (gst_type_find_element_handle_event):
6357 Fix the case where we get an EOS while still in TYPEFIND
6358 mode (we want to chose the best of all possible types,
6359 not just the first type that happens to be in our unsorted
6360 list of possible types).
6362 (gst_type_find_element_chain):
6363 Make sure we return GST_FLOW_ERROR when we errored out
6364 in stop_typefinding(); also, don't just find the best of
6365 all found type entries and then use the last examined
6366 type entry, but actually use the best entry.
6368 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6370 * tests/examples/typefind/typefind.c: (type_found):
6371 * tests/examples/xml/runxml.c: (xml_loaded):
6372 More gcc4 fixes and a mem leak fix.
6374 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6376 * tests/examples/xml/createxml.c: (object_saved):
6379 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6381 * tests/Makefile.am:
6382 enable the examples even more
6384 2005-12-12 Andy Wingo <wingo@pobox.com>
6386 * libs/gst/net/gstnettimeprovider.c
6387 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6388 (gst_net_time_provider_set_property)
6389 (gst_net_time_provider_get_property):
6390 API addition: Export "active" as a GObject property.
6391 (gst_net_time_provider_thread): Only respond to time queries if
6392 the time provider is active.
6394 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6395 NetTimeProvider, preserving binary compat.
6397 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6399 * tests/examples/controller/audio-example.c: (main):
6400 * tests/examples/launch/Makefile.am:
6401 convert comments again
6403 2005-12-12 Wim Taymans <wim@fluendo.com>
6405 * libs/gst/base/gstpushsrc.c:
6408 2005-12-12 Wim Taymans <wim@fluendo.com>
6410 * docs/libs/gstreamer-libs-sections.txt:
6411 Added new symbol to docs.
6413 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6414 (gst_base_src_init), (gst_base_src_set_format),
6415 (gst_base_src_default_query), (gst_base_src_query),
6416 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6417 (gst_base_src_perform_seek), (gst_base_src_send_event),
6418 (gst_base_src_default_event), (gst_base_src_event_handler),
6419 (gst_base_src_set_property), (gst_base_src_get_property),
6420 (gst_base_src_wait), (gst_base_src_do_sync),
6421 (gst_base_src_update_length), (gst_base_src_get_range),
6422 (gst_base_src_check_get_range), (gst_base_src_loop),
6423 (gst_base_src_default_negotiate), (gst_base_src_start),
6424 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6425 (gst_base_src_change_state):
6426 * libs/gst/base/gstbasesrc.h:
6427 Implement seeking to other formats than _BYTES.
6428 Implement more seeking methods correctly.
6430 Added query vmethod.
6431 Added do_seek vmethod to make life easier for subclasses
6433 API addition: gst_base_src_set_format()
6435 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6437 * tests/examples/Makefile.am:
6440 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6443 * docs/random/ensonic/media-device-daemon.txt:
6444 * tests/examples/controller/.cvsignore:
6445 * tests/examples/controller/Makefile.am:
6446 * tests/examples/controller/audio-example.c: (main):
6447 * tests/examples/helloworld/.cvsignore:
6448 * tests/examples/helloworld/Makefile.am:
6449 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6450 * tests/examples/launch/.cvsignore:
6451 * tests/examples/launch/Makefile.am:
6452 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6453 * tests/examples/metadata/.cvsignore:
6454 * tests/examples/metadata/Makefile.am:
6455 * tests/examples/metadata/read-metadata.c: (message_loop),
6456 (make_pipeline), (print_tag), (main):
6457 * tests/examples/queue/.cvsignore:
6458 * tests/examples/queue/Makefile.am:
6459 * tests/examples/queue/queue.c: (event_loop), (main):
6460 * tests/examples/typefind/.cvsignore:
6461 * tests/examples/typefind/Makefile.am:
6462 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6464 * tests/examples/xml/.cvsignore:
6465 * tests/examples/xml/Makefile.am:
6466 * tests/examples/xml/createxml.c: (object_saved), (main):
6467 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6468 * tests/old/examples/Makefile.am:
6469 * tests/old/examples/TODO:
6470 * tests/old/examples/controller/.cvsignore:
6471 * tests/old/examples/controller/Makefile.am:
6472 * tests/old/examples/controller/audio-example.c:
6473 * tests/old/examples/helloworld/.cvsignore:
6474 * tests/old/examples/helloworld/Makefile.am:
6475 * tests/old/examples/helloworld/helloworld.c:
6476 * tests/old/examples/launch/.cvsignore:
6477 * tests/old/examples/launch/Makefile.am:
6478 * tests/old/examples/launch/mp3parselaunch.c:
6479 * tests/old/examples/launch/mp3play:
6480 * tests/old/examples/manual/Makefile.am:
6481 * tests/old/examples/metadata/Makefile.am:
6482 * tests/old/examples/metadata/read-metadata.c:
6483 * tests/old/examples/queue/.cvsignore:
6484 * tests/old/examples/queue/Makefile.am:
6485 * tests/old/examples/queue/queue.c:
6486 * tests/old/examples/typefind/.cvsignore:
6487 * tests/old/examples/typefind/Makefile.am:
6488 * tests/old/examples/typefind/typefind.c:
6489 * tests/old/examples/xml/.cvsignore:
6490 * tests/old/examples/xml/Makefile.am:
6491 * tests/old/examples/xml/createxml.c:
6492 * tests/old/examples/xml/runxml.c:
6493 applied some simple fixing to some examples
6494 re-enabled the working examples
6496 2005-12-12 Wim Taymans <wim@fluendo.com>
6498 * gst/gstsegment.c: (gst_segment_init),
6499 (gst_segment_set_last_stop), (gst_segment_set_seek),
6500 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6501 (gst_segment_to_running_time):
6502 Added more documentation.
6503 Make sure the last_pos value is updated properly.
6504 Make sure to_stream_time and to_running_time don't
6505 operate on wrong values.
6507 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6510 2005-12-12 Michael Smith <msmith@fluendo.com>
6512 * plugins/elements/gsttypefindelement.c: (free_entry),
6513 (gst_type_find_element_chain):
6514 Now that we're not leaking factories, make sure we keep references
6515 to them while we need them.
6517 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6519 * tests/check/gst/struct_i386.h:
6520 ifdef out the XML structs
6522 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6524 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6525 floor is not needed, F is always positive; this obviates the
6526 need for adding -lm when building without libxml
6528 2005-12-12 Wim Taymans <wim@fluendo.com>
6530 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6531 Take current playback rate into account when reporting
6534 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6536 * docs/manual/mime-world.fig:
6537 Let's try this again, this time with a file that is
6538 actually in XFig format.
6540 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6542 * docs/manual/mime-world.fig:
6543 Add audioconvert element to diagram so that it
6544 matches the text and the code (fixes #319526).
6546 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6548 * docs/pwg/building-chainfn.xml:
6549 * docs/pwg/building-pads.xml:
6550 * docs/pwg/building-state.xml:
6551 * docs/pwg/other-source.xml:
6552 Update state change stuff for 0.10 (fixes #322969).
6554 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6556 * docs/manual/advanced-dataaccess.xml:
6557 * docs/manual/appendix-checklist.xml:
6558 * docs/manual/appendix-programs.xml:
6559 * docs/manual/basics-pads.xml:
6560 * docs/manual/highlevel-components.xml:
6561 * docs/manual/manual.xml:
6562 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6563 add converters in front of pipelines; remove curly
6564 brackets for threads stuff, they no longer exist; use
6565 GST_TYPE_FRACTION for framerates; update some pieces of
6566 code to 0.10, but there's plenty more to do.
6568 * docs/manual/appendix-porting.xml:
6569 Expand on asynchroneous state changes; s/0.9/0.10/;
6570 mention disappearance of gst_init_get_popt_table()
6573 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6575 * docs/faq/using.xml:
6576 Spider no longer exists, and neither does gst-launch-ext.
6577 Update examples to use decodebin and playbin and put
6578 converters in front of sinks (fixes #323726).
6580 2005-12-09 Michael Smith <msmith@fluendo.com>
6582 * plugins/elements/gsttypefindelement.c: (find_peek),
6583 (gst_type_find_element_chain):
6584 Fix leaking element factories in typefinding.
6585 Fix problem where we forgot about a probable type on non-seekable
6586 files, and thus later mis-typefound it.
6588 2005-12-09 Michael Smith <msmith@fluendo.com>
6590 * common/m4/gst-makecontext.m4:
6591 * common/m4/gst-mcsc.m4:
6593 * win32/common/config.h:
6594 * win32/common/config.h.in:
6595 Remove makecontext stuff; not used in 0.10 and causes problems on
6596 HPUX according to bug #322441
6598 2005-12-07 Wim Taymans <wim@fluendo.com>
6600 * tests/check/Makefile.am:
6601 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6603 * tests/check/libs/struct_i386.h:
6604 Added ABI check for libs
6606 2005-12-07 Wim Taymans <wim@fluendo.com>
6608 * tests/check/Makefile.am:
6609 And add the struct_i386.h to dist.
6611 2005-12-07 Wim Taymans <wim@fluendo.com>
6613 * tests/check/Makefile.am:
6614 * tests/check/gst/.cvsignore:
6615 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6617 * tests/check/gst/struct_i386.h:
6618 Added check for ABI compatibility.
6620 2005-12-07 Wim Taymans <wim@fluendo.com>
6622 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6623 (gst_fake_src_get_times), (gst_fake_src_create):
6624 Fix broken sync option, fixes #323259
6626 2005-12-07 Wim Taymans <wim@fluendo.com>
6631 * gst/gstcaps.c: (gst_caps_is_equal):
6632 Don't assert on NULL <--> X. Fixes #323260
6634 * gst/gstminiobject.c: (gst_mini_object_replace):
6635 If we're doing atomic operations, we might just as well use
6636 the proper way to get an atomic pointer.
6638 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6641 2005-12-07 Michael Smith <msmith@fluendo.com>
6643 * gst/parse/grammar.y:
6644 Remove handling of { } for threads.
6646 2005-12-06 David Schleef <ds@schleef.org>
6648 * libs/gst/base/gstbasetransform.c: speling fix.
6650 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6652 * docs/libs/tmpl/gstdataprotocol.sgml:
6653 * docs/random/omega/testing/gstobject.c:
6657 * gst/gstelementfactory.c:
6660 * gst/gstghostpad.c:
6662 * gst/gstpadtemplate.c:
6663 * gst/gstregistryxml.c:
6665 * gst/gsttagsetter.c:
6666 * gst/gsttypefind.c:
6668 * libs/gst/base/gstbasesrc.c:
6669 * libs/gst/net/gstnetclientclock.c:
6670 * libs/gst/net/gstnettimeprovider.c:
6671 * plugins/elements/gstfakesrc.c:
6672 * plugins/elements/gstfdsrc.c:
6673 * plugins/elements/gstfilesrc.c:
6674 * plugins/elements/gstidentity.c:
6675 * plugins/elements/gstqueue.c:
6676 * plugins/elements/gsttypefindelement.c:
6677 * plugins/indexers/gstfileindex.c:
6678 * plugins/indexers/gstmemindex.c:
6679 * tests/check/gst/gsttag.c:
6680 * tests/old/examples/cutter/cutter.c:
6681 * tests/old/examples/mixer/mixer.c:
6682 * tests/old/examples/xml/runxml.c: (main):
6683 * tests/old/testsuite/caps/normalisation.c:
6684 * tests/old/testsuite/debug/global.c:
6685 * tests/old/testsuite/parse/parse1.c:
6686 * tools/gst-xmlinspect.c:
6687 * win32/common/dirent.c:
6690 === release 0.10.0 ===
6692 2005-12-05 <thomas (at) apestaart (dot) org>
6695 releasing 0.10.0, "Maroilles"
6697 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6699 submitted by: Funda Wang <fundawang@linux.net.cn>
6703 added Chinese (Traditional) translation
6705 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6707 * docs/gst/gstreamer-sections.txt:
6708 * docs/libs/tmpl/gstdataprotocol.sgml:
6709 * docs/random/thomasvs/TODO:
6714 2005-12-05 Andy Wingo <wingo@pobox.com>
6716 patch by: Wim Taymans <wim@fluendo.com>
6718 * libs/gst/base/gstbasetransform.c
6719 (gst_base_transform_prepare_output_buf)
6720 (gst_base_transform_buffer_alloc):
6721 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6722 alloc_buffer_and_set_caps.
6724 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6725 set_caps on the source pad.
6726 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6727 alloc_buffer used to do. Fixes #322874.
6729 * docs/gst/gstreamer-sections.txt:
6730 * docs/design/part-negotiation.txt:
6731 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6734 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6736 patch by: Sebastien Moutte
6739 * win32/common/config.h.in:
6740 * win32/vs6/libgstcontroller.dsp:
6743 2005-12-05 Wim Taymans <wim@fluendo.com>
6745 * gst/gstcaps.c: (gst_caps_is_equal):
6746 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6747 (gst_fake_src_create):
6748 Back out previous code changes, leave doc updates, file bugs
6751 2005-12-05 Wim Taymans <wim@fluendo.com>
6753 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6754 (gst_fake_src_get_times), (gst_fake_src_create):
6755 * plugins/elements/gstfakesrc.h:
6756 Fix broken sync code.
6758 2005-12-05 Wim Taymans <wim@fluendo.com>
6760 * gst/gstcaps.c: (gst_caps_is_equal):
6761 Comparing NULL against !NULL yields different caps, not a
6764 2005-12-05 Wim Taymans <wim@fluendo.com>
6766 * gst/gstpipeline.c:
6767 Fix small typo in docs.
6769 2005-12-05 Andy Wingo <wingo@pobox.com>
6771 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6773 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6774 registries/plugins with a MAJORMINOR one.
6775 (plugin_desc): Rename library from gstcoreleements to
6776 staticelements. Fixes #323222.
6778 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6780 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6781 Change debug category to 'collectpads' from 'collect_pads'
6784 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6786 patch by: Sebastien Moutte
6788 * libs/gst/controller/gstinterpolation.c:
6789 use convert function for uint64/double
6790 * win32/vs6/libgstcontroller.dsp:
6793 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6795 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6796 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6798 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6799 add tests that seem to show that the guint64/gdouble conversions
6802 2005-12-02 Wim Taymans <wim@fluendo.com>
6804 * gst/gstregistry.c: (gst_registry_add_path):
6805 * gst/gstregistry.h:
6806 * gst/gstregistryxml.c:
6809 2005-12-02 Wim Taymans <wim@fluendo.com>
6811 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6812 (gst_util_uint64_scale_int):
6815 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6818 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6821 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6824 * win32/common/config.h:
6825 * win32/vs6/gstreamer.dsw:
6826 * win32/vs6/libgstcoreelements.dsp:
6827 * win32/vs6/libgstelements.dsp:
6828 renamed core elements plugin
6830 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6832 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6834 do piece-wise major/minor comparison so 0.9 < 0.10
6835 also allow .exe extensions for tools
6837 2005-12-02 Michael Smith <msmith@fluendo.com>
6840 Escape a % to make gtkdoc happier; bug 322958.
6842 === release 0.9.7 ===
6844 2005-12-01 <thomas (at) apestaart (dot) org>
6847 releasing 0.9.7, "My Dog Has No Nose"
6849 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6851 * common/gst-xmlinspect.py:
6853 * docs/libs/tmpl/gstdataprotocol.sgml:
6854 * docs/random/release:
6873 * win32/common/config.h:
6874 * win32/common/config.h.in:
6875 * win32/vs6/gst_inspect.dsp:
6876 * win32/vs6/gst_launch.dsp:
6877 * win32/vs6/libgstbase.dsp:
6878 * win32/vs6/libgstelements.dsp:
6879 * win32/vs6/libgstreamer.dsp:
6880 * win32/vs7/GStreamer.vcproj:
6881 * win32/vs7/gst-inspect.vcproj:
6882 * win32/vs7/gst-launch.vcproj:
6883 * win32/vs7/libgstbase.vcproj:
6884 bump GST_MAJORMINOR to 0.10
6885 reset libtool version
6887 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6891 Added Bulgarian translation by (Alexander Shopov)
6893 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6895 * tests/check/gst/gstplugin.c:
6898 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6900 * common/gst-xmlinspect.py:
6901 * common/gtk-doc-plugins.mak:
6904 * docs/gst/Makefile.am:
6905 * docs/gst/gstreamer-docs.sgml:
6906 * docs/gst/gstreamer-sections.txt:
6907 * docs/gst/gstreamer.types:
6908 * docs/gst/gstreamer.types.in:
6909 * docs/plugins/Makefile.am:
6910 * docs/plugins/gstreamer-plugins-docs.sgml:
6911 * docs/plugins/gstreamer-plugins-sections.txt:
6912 * docs/plugins/gstreamer-plugins.types:
6913 * docs/plugins/inspect.stamp:
6914 * docs/plugins/inspect/plugin-coreelements.xml:
6915 * docs/plugins/inspect/plugin-coreindexers.xml:
6916 * docs/plugins/scanobj-build.stamp:
6917 * gstreamer.spec.in:
6918 * plugins/elements/Makefile.am:
6919 * plugins/elements/gstelements.c:
6920 * plugins/elements/gstfakesink.c:
6921 * plugins/elements/gstfakesrc.c:
6922 * plugins/elements/gstfilesink.c:
6923 * plugins/elements/gstfilesrc.c:
6924 * plugins/elements/gstqueue.c:
6925 * plugins/indexers/Makefile.am:
6926 * plugins/indexers/gstindexers.c:
6927 document core plugins in a separate document just like all the
6929 rename these plugins to something starting with core
6931 2005-12-01 Andy Wingo <wingo@pobox.com>
6933 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
6934 padding here before, but it missed the commit.
6936 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6938 * libs/gst/controller/gstinterpolation.c:
6939 whitespace prices have crashed, we should feel free to use some now
6940 use gst_guint64_to_gdouble
6942 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6944 * libs/gst/controller/gstcontroller.c:
6945 * libs/gst/controller/gsthelper.c:
6946 * libs/gst/controller/gstinterpolation.c:
6947 * libs/gst/controller/lib.c:
6948 wrap config.h include
6950 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6952 * docs/gst/gstreamer-sections.txt:
6955 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
6957 * plugins/elements/gstelements.c:
6958 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
6959 (gst_fd_sink__class_init), (gst_fd_sink__init),
6960 (gst_fd_sink__chain), (gst_fd_sink__set_property),
6961 (gst_fd_sink__get_property):
6962 * plugins/elements/gstfdsink.h:
6963 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
6964 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
6965 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
6966 (gst_fd_src_unlock), (gst_fd_src_set_property),
6967 (gst_fd_src_get_property), (gst_fd_src_create),
6968 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
6969 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
6970 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
6971 (gst_fd_src_uri_handler_init):
6972 * plugins/elements/gstfdsrc.h:
6973 * plugins/elements/gstqueue.c: (gst_queue_get_type):
6976 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6978 * docs/gst/Makefile.am:
6979 * docs/gst/gstreamer.types.in:
6983 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
6989 * gst/gstregistry.h:
6990 * tests/benchmarks/complexity.c:
6991 * tests/benchmarks/mass-elements.c:
6992 * tests/check/Makefile.am:
6993 * tools/Makefile.am:
6994 * tools/gst-inspect.c:
6995 * tools/gst-xmlinspect.c:
6996 various fixes to make
6997 --disable-nls --disable-registry --disable-loadsave
6998 --disable-parse --disable-gst-debug
6999 work and get the core .so down to 360444 bytes after stripping
7001 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7006 * docs/random/thomasvs/TODO:
7007 * tests/Makefile.am:
7011 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7013 * win32/GStreamer.vcproj:
7016 * win32/Makefile.inspect:
7017 * win32/Makefile.launch:
7018 * win32/Makefile.register:
7020 * win32/gst-inspect.vcproj:
7021 * win32/gst-launch.vcproj:
7022 * win32/gst-register.vcproj:
7023 * win32/gstelements.vcproj:
7024 * win32/gstgetbits.def:
7025 * win32/gstgetbits.vcproj:
7026 * win32/gstreamer-dbg.def:
7027 * win32/gstreamer.def:
7028 * win32/libgstbase.def:
7029 * win32/libgstbase.vcproj:
7030 * win32/link_oldruntime.c:
7035 move even more stuff, win32/ is nice and clean now
7037 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7039 * libs/gst/control/.cvsignore:
7044 * win32/gstbytestream.def:
7045 * win32/gstbytestream.vcproj:
7046 * win32/gstconfig.h:
7047 * win32/gstenumtypes.c:
7048 * win32/gstenumtypes.h:
7049 * win32/gstoptimalscheduler.vcproj:
7050 * win32/gstversion.h:
7052 * win32/testsuite/bins.vcproj:
7053 * win32/testsuite/bytestream.vcproj:
7054 * win32/testsuite/caps.vcproj:
7055 * win32/testsuite/cleanup.vcproj:
7056 * win32/testsuite/clock.vcproj:
7057 * win32/testsuite/debug.vcproj:
7058 * win32/testsuite/dlopen.vcproj:
7059 * win32/testsuite/dynparams.vcproj:
7060 * win32/testsuite/elements.vcproj:
7061 * win32/testsuite/ghostpads.vcproj:
7062 * win32/testsuite/indexers.vcproj:
7063 * win32/testsuite/negotiation.vcproj:
7064 * win32/testsuite/parse.vcproj:
7065 * win32/testsuite/plugin.vcproj:
7066 * win32/testsuite/refcounting.vcproj:
7067 * win32/testsuite/schedulers.vcproj:
7068 * win32/testsuite/states.vcproj:
7069 * win32/testsuite/tags.vcproj:
7070 * win32/testsuite/threads.vcproj:
7071 remove old win32 stuff that isn't maintained and should be
7074 2005-11-30 Andy Wingo <wingo@pobox.com>
7076 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7077 loading the gst.interfaces python module bork.
7079 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7080 available since GLib 2.2. Fixes #318031.
7082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7086 * check/Makefile.am:
7087 * check/elements/.cvsignore:
7088 * check/elements/fakesrc.c:
7089 * check/elements/fdsrc.c:
7090 * check/elements/identity.c:
7091 * check/generic/.cvsignore:
7092 * check/generic/states.c:
7093 * check/gst-libs/.cvsignore:
7094 * check/gst-libs/controller.c:
7095 * check/gst-libs/gdp.c:
7096 * check/gst/.cvsignore:
7097 * check/gst/capslist.h:
7099 * check/gst/gstbin.c:
7100 * check/gst/gstbuffer.c:
7101 * check/gst/gstbus.c:
7102 * check/gst/gstcaps.c:
7103 * check/gst/gstelement.c:
7104 * check/gst/gstevent.c:
7105 * check/gst/gstghostpad.c:
7106 * check/gst/gstiterator.c:
7107 * check/gst/gstmessage.c:
7108 * check/gst/gstminiobject.c:
7109 * check/gst/gstobject.c:
7110 * check/gst/gstpad.c:
7111 * check/gst/gstpipeline.c:
7112 * check/gst/gstplugin.c:
7113 * check/gst/gstsegment.c:
7114 * check/gst/gststructure.c:
7115 * check/gst/gstsystemclock.c:
7116 * check/gst/gsttag.c:
7117 * check/gst/gstutils.c:
7118 * check/gst/gstvalue.c:
7119 * check/net/.cvsignore:
7120 * check/net/gstnetclientclock.c:
7121 * check/net/gstnettimeprovider.c:
7122 * check/pipelines/.cvsignore:
7123 * check/pipelines/cleanup.c:
7124 * check/pipelines/simple_launch_lines.c:
7125 * check/pipelines/stress.c:
7126 * check/states/.cvsignore:
7127 * check/states/sinks.c:
7129 * examples/Makefile.am:
7130 * examples/appreader/.cvsignore:
7131 * examples/appreader/Makefile.am:
7132 * examples/appreader/appreader.c:
7133 * examples/controller/.cvsignore:
7134 * examples/controller/Makefile.am:
7135 * examples/controller/audio-example.c:
7136 * examples/cutter/.cvsignore:
7137 * examples/cutter/Makefile.am:
7138 * examples/cutter/cutter.c:
7139 * examples/cutter/cutter.h:
7140 * examples/events/Makefile.am:
7141 * examples/events/seek.c:
7142 * examples/helloworld/.cvsignore:
7143 * examples/helloworld/Makefile.am:
7144 * examples/helloworld/helloworld.c:
7145 * examples/helloworld2/.cvsignore:
7146 * examples/helloworld2/Makefile.am:
7147 * examples/helloworld2/helloworld2.c:
7148 * examples/launch/.cvsignore:
7149 * examples/launch/Makefile.am:
7150 * examples/launch/mp3parselaunch.c:
7151 * examples/launch/mp3play:
7152 * examples/manual/.cvsignore:
7153 * examples/manual/Makefile.am:
7154 * examples/manual/extract.pl:
7155 * examples/metadata/Makefile.am:
7156 * examples/metadata/read-metadata.c:
7157 * examples/mixer/.cvsignore:
7158 * examples/mixer/Makefile.am:
7159 * examples/mixer/mixer.c:
7160 * examples/mixer/mixer.h:
7161 * examples/pingpong/.cvsignore:
7162 * examples/pingpong/Makefile.am:
7163 * examples/pingpong/pingpong.c:
7164 * examples/plugins/.cvsignore:
7165 * examples/plugins/Makefile.am:
7166 * examples/plugins/example.c:
7167 * examples/plugins/example.h:
7168 * examples/pwg/.cvsignore:
7169 * examples/pwg/Makefile.am:
7170 * examples/pwg/extract.pl:
7171 * examples/queue/.cvsignore:
7172 * examples/queue/Makefile.am:
7173 * examples/queue/queue.c:
7174 * examples/queue2/.cvsignore:
7175 * examples/queue2/Makefile.am:
7176 * examples/queue2/queue2.c:
7177 * examples/queue3/.cvsignore:
7178 * examples/queue3/Makefile.am:
7179 * examples/queue3/queue3.c:
7180 * examples/queue4/.cvsignore:
7181 * examples/queue4/Makefile.am:
7182 * examples/queue4/queue4.c:
7183 * examples/retag/.cvsignore:
7184 * examples/retag/Makefile.am:
7185 * examples/retag/retag.c:
7186 * examples/retag/transcode.c:
7187 * examples/thread/.cvsignore:
7188 * examples/thread/Makefile.am:
7189 * examples/thread/thread.c:
7190 * examples/typefind/.cvsignore:
7191 * examples/typefind/Makefile.am:
7192 * examples/typefind/typefind.c:
7193 * examples/xml/.cvsignore:
7194 * examples/xml/Makefile.am:
7195 * examples/xml/createxml.c:
7196 * examples/xml/runxml.c:
7197 * tests/Makefile.am:
7198 * tests/check/Makefile.am:
7199 * testsuite/.cvsignore:
7200 * testsuite/Makefile.am:
7202 * testsuite/caps/.cvsignore:
7203 * testsuite/caps/Makefile.am:
7204 * testsuite/caps/app_fixate.c:
7205 * testsuite/caps/audioscale.c:
7206 * testsuite/caps/caps.c:
7207 * testsuite/caps/caps.h:
7208 * testsuite/caps/caps_strings:
7209 * testsuite/caps/compatibility.c:
7210 * testsuite/caps/deserialize.c:
7211 * testsuite/caps/enumcaps.c:
7212 * testsuite/caps/eratosthenes.c:
7213 * testsuite/caps/filtercaps.c:
7214 * testsuite/caps/fixed.c:
7215 * testsuite/caps/fraction-convert.c:
7216 * testsuite/caps/fraction-multiply-and-zero.c:
7217 * testsuite/caps/intersect2.c:
7218 * testsuite/caps/intersection.c:
7219 * testsuite/caps/normalisation.c:
7220 * testsuite/caps/random.c:
7221 * testsuite/caps/renegotiate.c:
7222 * testsuite/caps/sets.c:
7223 * testsuite/caps/simplify.c:
7224 * testsuite/caps/string-conversions.c:
7225 * testsuite/caps/structure.c:
7226 * testsuite/caps/subtract.c:
7227 * testsuite/caps/union.c:
7228 * testsuite/debug/.cvsignore:
7229 * testsuite/debug/Makefile.am:
7230 * testsuite/debug/category.c:
7231 * testsuite/debug/commandline.c:
7232 * testsuite/debug/global.c:
7233 * testsuite/debug/output.c:
7234 * testsuite/debug/printf_extension.c:
7235 * testsuite/dlopen/.cvsignore:
7236 * testsuite/dlopen/Makefile.am:
7237 * testsuite/dlopen/dlopen_gst.c:
7238 * testsuite/dlopen/loadgst.c:
7239 * testsuite/elements/.cvsignore:
7240 * testsuite/elements/Makefile.am:
7241 * testsuite/elements/gst-inspect-check.in:
7242 * testsuite/elements/struct_i386.h:
7243 * testsuite/elements/struct_size.c:
7244 * testsuite/indexers/.cvsignore:
7245 * testsuite/indexers/Makefile.am:
7246 * testsuite/indexers/cache1.c:
7247 * testsuite/indexers/indexdump.c:
7248 * testsuite/parse/.cvsignore:
7249 * testsuite/parse/Makefile.am:
7250 * testsuite/parse/parse1.c:
7251 * testsuite/parse/parse2.c:
7252 * testsuite/plugin/.cvsignore:
7253 * testsuite/plugin/Makefile.am:
7254 * testsuite/plugin/README:
7255 * testsuite/plugin/dynamic.c:
7256 * testsuite/plugin/linked.c:
7257 * testsuite/plugin/loading.c:
7258 * testsuite/plugin/registry.c:
7259 * testsuite/plugin/static.c:
7260 * testsuite/plugin/static2.c:
7261 * testsuite/plugin/testplugin.c:
7262 * testsuite/plugin/testplugin2.c:
7263 * testsuite/plugin/testplugin2_s.c:
7264 * testsuite/plugin/testplugin_s.c:
7265 * testsuite/refcounting/.cvsignore:
7266 * testsuite/refcounting/Makefile.am:
7267 * testsuite/refcounting/bin.c:
7268 * testsuite/refcounting/element.c:
7269 * testsuite/refcounting/element_pad.c:
7270 * testsuite/refcounting/mainloop.c:
7271 * testsuite/refcounting/mem.c:
7272 * testsuite/refcounting/mem.h:
7273 * testsuite/refcounting/object.c:
7274 * testsuite/refcounting/pad.c:
7275 * testsuite/refcounting/sched.c:
7276 * testsuite/refcounting/thread.c:
7277 * testsuite/states/.cvsignore:
7278 * testsuite/states/Makefile.am:
7279 * testsuite/states/bin.c:
7280 * testsuite/states/locked.c:
7281 * testsuite/states/parent.c:
7282 * testsuite/threads/.cvsignore:
7283 * testsuite/threads/159566.c:
7284 * testsuite/threads/159852.c:
7285 * testsuite/threads/Makefile.am:
7286 * testsuite/threads/queue.c:
7287 * testsuite/threads/signals.c:
7288 * testsuite/threads/staticrec.c:
7289 * testsuite/threads/thread.c:
7290 * testsuite/threads/threadb.c:
7291 * testsuite/threads/threadc.c:
7292 * testsuite/threads/threadd.c:
7293 * testsuite/threads/threade.c:
7294 * testsuite/threads/threadf.c:
7295 * testsuite/threads/threadg.c:
7296 * testsuite/threads/threadh.c:
7297 * testsuite/threads/threadi.c:
7298 move all of these under tests
7300 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7303 * tests/Makefile.am:
7306 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7308 * docs/gst/gstreamer-sections.txt:
7309 * tests/sched/.cvsignore:
7310 * tests/sched/Makefile.am:
7311 * tests/sched/cases/(fs-fs).xml:
7312 * tests/sched/cases/(fs-i-fs).xml:
7313 * tests/sched/cases/(fs-i-i-fs).xml:
7314 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7315 * tests/sched/dynamic-pipeline.c:
7316 * tests/sched/interrupt1.c:
7317 * tests/sched/interrupt2.c:
7318 * tests/sched/interrupt3.c:
7319 * tests/sched/runtestcases:
7320 * tests/sched/runxml.c:
7321 * tests/sched/sched-stress.c:
7322 * tests/sched/sort.c:
7323 * tests/sched/testcases:
7324 * tests/sched/testcases1.tc:
7325 * tests/seeking/.cvsignore:
7326 * tests/seeking/Makefile.am:
7327 * tests/seeking/seeking1.c:
7328 * tests/threadstate/.cvsignore:
7329 * tests/threadstate/Makefile.am:
7330 * tests/threadstate/test1.c:
7331 * tests/threadstate/test2.c:
7332 * tests/threadstate/threadstate1.c:
7333 * tests/threadstate/threadstate2.c:
7334 * tests/threadstate/threadstate3.c:
7335 * tests/threadstate/threadstate4.c:
7336 * tests/threadstate/threadstate5.c:
7337 remove obsolete tests
7339 * tests/bench-complexity.scm:
7340 * tests/bench-mass_elements.scm:
7341 * tests/complexity.c:
7342 * tests/complexity.gnuplot:
7343 * tests/instantiate/.cvsignore:
7344 * tests/instantiate/Makefile.am:
7345 * tests/instantiate/caps.c:
7346 * tests/mass_elements.c:
7347 * tests/network-clock-utils.scm:
7348 * tests/network-clock.scm:
7350 First pass at cleaning up tests/ dir before moving the rest
7351 Combined with CVS surgery
7353 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7356 queue has moved, update
7358 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7360 * docs/gst/gstreamer-sections.txt:
7361 remove double entries from the docs
7362 * gst/gst_private.h:
7363 * gst/gstinfo.c: (_gst_debug_init):
7364 remove the THREAD debug category
7368 * docs/gst/gstreamer.types:
7369 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7370 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7371 completely move queue and fix up debugging categories
7373 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7375 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7376 make initialization portable, using LL is not
7378 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7380 * win32/common/gstconfig.h:
7383 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * win32/common/libgstreamer.def:
7386 rename symbols; sort base section
7388 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7390 * gst/gstclock.c: (do_linear_regression):
7391 remove crack non-portable handrolled DEBUG macro
7393 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7395 * docs/random/release:
7397 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7398 (gst_object_flags_get_type), (register_gst_bin_flags),
7399 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7400 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7401 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7402 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7403 (gst_caps_flags_get_type), (register_gst_clock_return),
7404 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7405 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7406 (gst_clock_flags_get_type), (register_gst_state),
7407 (gst_state_get_type), (register_gst_state_change_return),
7408 (gst_state_change_return_get_type), (register_gst_state_change),
7409 (gst_state_change_get_type), (register_gst_element_flags),
7410 (gst_element_flags_get_type), (register_gst_core_error),
7411 (gst_core_error_get_type), (register_gst_library_error),
7412 (gst_library_error_get_type), (register_gst_resource_error),
7413 (gst_resource_error_get_type), (register_gst_stream_error),
7414 (gst_stream_error_get_type), (register_gst_event_type_flags),
7415 (gst_event_type_flags_get_type), (register_gst_event_type),
7416 (gst_event_type_get_type), (register_gst_seek_type),
7417 (gst_seek_type_get_type), (register_gst_seek_flags),
7418 (gst_seek_flags_get_type), (register_gst_format),
7419 (gst_format_get_type), (register_gst_index_certainty),
7420 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7421 (gst_index_entry_type_get_type),
7422 (register_gst_index_lookup_method),
7423 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7424 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7425 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7426 (gst_index_flags_get_type), (register_gst_debug_level),
7427 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7428 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7429 (gst_iterator_result_get_type), (register_gst_iterator_item),
7430 (gst_iterator_item_get_type), (register_gst_message_type),
7431 (gst_message_type_get_type), (register_gst_mini_object_flags),
7432 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7433 (gst_pad_link_return_get_type), (register_gst_flow_return),
7434 (gst_flow_return_get_type), (register_gst_activate_mode),
7435 (gst_activate_mode_get_type), (register_gst_pad_direction),
7436 (gst_pad_direction_get_type), (register_gst_pad_flags),
7437 (gst_pad_flags_get_type), (register_gst_pad_presence),
7438 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7439 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7440 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7441 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7442 (gst_plugin_flags_get_type), (register_gst_rank),
7443 (gst_rank_get_type), (register_gst_query_type),
7444 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7445 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7446 (gst_tag_flag_get_type), (register_gst_task_state),
7447 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7448 (gst_alloc_trace_flags_get_type),
7449 (register_gst_type_find_probability),
7450 (gst_type_find_probability_get_type), (register_gst_uri_type),
7451 (gst_uri_type_get_type), (register_gst_parse_error),
7452 (gst_parse_error_get_type):
7453 * win32/common/gstenumtypes.h:
7454 * win32/common/gstversion.h:
7455 update visual studio generated files
7457 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7459 * win32/vs6/libgstbase.dsp:
7460 * win32/vs6/libgstelements.dsp:
7461 update project files for new locations
7463 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7468 reinstate and update
7473 * docs/random/LICENSE:
7476 2005-11-30 Edward Hervey <edward@fluendo.com>
7478 * gst/gsttypefind.c: (gst_type_find_register):
7479 * gst/gsttypefind.h:
7480 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7481 (gst_type_find_factory_dispose):
7482 * gst/gsttypefindfactory.h:
7483 Fix memory leak in GstTypeFindFactory.
7485 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7488 * plugins/elements/Makefile.am:
7489 * plugins/elements/gstelements.c:
7490 * plugins/elements/gstqueue.c:
7491 move queue from core to the elements plugin
7493 2005-11-29 Andy Wingo <wingo@pobox.com>
7495 * libs/gst/base/gstbasetransform.h:
7496 * libs/gst/base/gstbasesrc.h:
7497 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7499 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7500 of pointers by which to pad very extensible base classes (like the
7501 ones in libs/gst/base).
7503 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7505 * docs/gst/gstreamer-docs.sgml:
7506 * docs/gst/gstreamer-sections.txt:
7507 * docs/libs/gstreamer-libs-docs.sgml:
7508 * docs/libs/gstreamer-libs-sections.txt:
7509 moving documentation from core to lib
7511 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7513 * check/Makefile.am:
7515 * docs/gst/Makefile.am:
7517 * gst/base/.cvsignore:
7518 * gst/base/Makefile.am:
7520 * gst/base/gstadapter.c:
7521 * gst/base/gstadapter.h:
7522 * gst/base/gstbasesink.c:
7523 * gst/base/gstbasesink.h:
7524 * gst/base/gstbasesrc.c:
7525 * gst/base/gstbasesrc.h:
7526 * gst/base/gstbasetransform.c:
7527 * gst/base/gstbasetransform.h:
7528 * gst/base/gstcollectpads.c:
7529 * gst/base/gstcollectpads.h:
7530 * gst/base/gstpushsrc.c:
7531 * gst/base/gstpushsrc.h:
7532 * gst/base/gsttypefindhelper.c:
7533 * gst/base/gsttypefindhelper.h:
7534 * gst/check/Makefile.am:
7535 * gst/check/gstcheck.c:
7536 * gst/check/gstcheck.h:
7537 * gst/net/Makefile.am:
7539 * gst/net/gstnetclientclock.c:
7540 * gst/net/gstnetclientclock.h:
7541 * gst/net/gstnettimepacket.c:
7542 * gst/net/gstnettimepacket.h:
7543 * gst/net/gstnettimeprovider.c:
7544 * gst/net/gstnettimeprovider.h:
7545 * libs/gst/Makefile.am:
7546 * libs/gst/base/Makefile.am:
7547 * libs/gst/base/gstbasetransform.c:
7548 * libs/gst/check/Makefile.am:
7549 * plugins/elements/Makefile.am:
7551 CVS surgery + support to move base, check, and net out of gst
7554 2005-11-29 Andy Wingo <wingo@pobox.com>
7556 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7558 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7561 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7563 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7565 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7567 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7568 padding; reduces object size by about 30%. We don't expect
7569 anything else to go into gstobject.
7571 * gst/gstminiobject.h (struct _GstMiniObject)
7572 (struct _GstMiniObjectClass): Only one pointer of padding; the
7573 payload is only a pointer and two ints anyway. For the class there
7574 are only two methods as well.
7576 * gst/gstelement.h (struct _GstElementClass): Removed
7577 the state_changed signal callback, it is not used.
7579 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7581 * docs/gst/gstreamer.types:
7582 fix includes, though they are a little dinky
7584 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7586 * check/Makefile.am:
7587 look in the right place for elements, a lot more chance of
7590 remove indexers and elements subdirs
7591 * plugins/Makefile.am:
7592 make indexers conditional
7594 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7598 * plugins/elements/Makefile.am:
7599 * plugins/elements/gstcapsfilter.c:
7600 * plugins/elements/gstfilesink.c:
7601 * plugins/elements/gstfilesrc.c:
7602 * plugins/elements/gstidentity.c:
7603 * plugins/indexers/Makefile.am:
7604 do CVS surgery and related build fixery to move elements
7605 and indexers in a new gstreamer/plugins directory, out of the
7608 2005-11-29 Andy Wingo <wingo@pobox.com>
7610 * check/Makefile.am:
7611 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7612 * pkgconfig/gstreamer-net.pc.in:
7613 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7616 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7618 * tools/Makefile.am:
7619 * tools/gst-complete.1.in:
7620 * tools/gst-complete.c:
7621 * tools/gst-compprep.1.in:
7622 * tools/gst-compprep.c:
7623 removing -compprep and -complete
7625 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7627 * gst/gstevent.c: (gst_event_new_new_segment),
7628 (gst_event_parse_new_segment):
7630 fix #320529 - clean up new_segment API and structure.
7631 Let's hope everyone was using the methods, and not the structure.
7633 2005-11-29 Edward Hervey <edward@fluendo.com>
7635 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7636 (gst_base_sink_event), (gst_base_sink_do_sync),
7637 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7638 Properly handle non GST_FORMAT_TIME segment
7639 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7640 Properly handle non GST_FORMAT_TIME segment
7642 This function is valid if the accumulator is 0 and the format
7643 is different from the requested format.
7645 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7647 * docs/gst/gstreamer-sections.txt:
7648 Add gst_query_new_seeking and gst_query_parse_seeking to the
7651 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7653 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7654 Treat a pad alloc with new caps the same as if we were not
7655 negotiated, in order to allow a changing upstream output
7656 to produce a new format of data.
7658 2005-11-29 Edward Hervey <edward@fluendo.com>
7660 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7661 (gst_base_transform_event), (gst_base_transform_eventfunc):
7662 The event virtual method is now properly implemented, with a default
7664 Sub classes should call the parent_class event method. They should
7665 return FALSE if they had a problem handling the given event, or don't
7666 want GstBaseTransform to send that even downstream
7667 * gst/elements/gstidentity.c: (gst_identity_class_init),
7668 (gst_identity_init), (gst_identity_event),
7669 (gst_identity_transform_ip), (gst_identity_set_property),
7670 (gst_identity_get_property):
7671 * gst/elements/gstidentity.h:
7672 Added the single-segment boolean property.
7673 If set to TRUE, it will output a single segment of data, starting from
7674 0, will eat up all incoming newsegment, and modify the timestamp of the
7677 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7679 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7680 Don't ref NULL target pad (#322751). Improve docs.
7682 2005-11-29 Michael Smith <msmith@fluendo.com>
7684 * gst/gstregistryxml.c: (load_plugin):
7685 Don't crash if we failed to load a feature from a plugin.
7687 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7689 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7691 use more check API and less GLib API
7693 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7696 don't run checks if we don't have check
7698 remove the registry when running make torture
7699 * docs/gst/gstreamer-sections.txt:
7700 remove second multiply
7701 * gst/gstqueue.c: (gst_queue_loop):
7702 fix a compile warning when disabling debug
7704 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7707 Hey! Let's print the pad name if the pointer != NULL instead
7708 of when it == NULL :-)
7710 2005-11-28 Wim Taymans <wim@fluendo.com>
7712 * check/gst/gstutils.c: (GST_START_TEST):
7713 Updated check, add some scaling accuracy checking code.
7715 * gst/gstutils.c: (gst_util_div128_64),
7716 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7717 (gst_util_uint64_scale_int):
7718 Fix 6 times faster division code. Optimize for common
7719 1/1 and less common X/1 cases.
7721 2005-11-28 Wim Taymans <wim@fluendo.com>
7723 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7726 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7727 (do_linear_regression), (gst_clock_add_observation):
7729 Release lock when the clock cannot be slaved.
7730 Catch the case where the regression returned an invalid denominator.
7732 * gst/gstutils.c: (gst_util_div128_64_iterate),
7733 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7734 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7735 Add protentially more performant non-iterative 128/64 divide function
7736 that unfortunatly does not work yet.
7737 Shortcut the trivial 0/X = 0 case.
7738 Remove the warnings on overflow.
7740 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7742 * gst/gstplugin.c: (gst_plugin_register_func):
7743 everything causing a plugin not to load should be at least a WARNING
7745 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7747 * docs/random/ensonic/dparams.txt:
7748 some TODOs for the next dev cycle
7749 * libs/gst/controller/gstcontroller.c:
7750 (gst_controlled_property_set_interpolation_mode),
7751 (gst_controlled_property_new):
7752 * libs/gst/controller/gstcontroller.h:
7753 use base type to assign acccessor functions
7755 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7757 * check/Makefile.am:
7758 Oops, that should have been top_srcdir
7760 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7762 * check/Makefile.am:
7763 * check/elements/fdsrc.c: (GST_START_TEST):
7764 Use a cmdline define to specify the location of a file to use for
7765 testing, to avoid breaking distcheck.
7767 2005-11-28 Andy Wingo <wingo@pobox.com>
7769 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7771 2005-11-28 Edward Hervey <edward@fluendo.com>
7773 * tools/gst-launch.c: (main):
7774 Clarify the output strings, makes it easier to translate.
7777 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7780 don't try and build net if we don't even have <sys/socket.h>
7782 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7784 * check/Makefile.am:
7785 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7786 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7787 Add tests for fdsrc seekability
7789 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7790 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7791 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7792 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7793 * gst/elements/gstfdsrc.h:
7794 fdsrc should not be a 'live' source.
7795 Implement seeking on seekable fd's.
7797 * gst/gstquery.c: (gst_query_new_seeking),
7798 (gst_query_parse_seeking):
7800 Implement SEEKING query functions:
7801 *_new_seeking and *_parse_seeking
7803 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7805 * gst/gstelement.c: (gst_element_dispose):
7808 * gst/gstiterator.c:
7809 * gst/gststructure.c:
7812 * libs/gst/controller/gstcontroller.c:
7813 (gst_controlled_property_set_interpolation_mode):
7814 * libs/gst/controller/gstcontroller.h:
7815 * libs/gst/controller/gstinterpolation.c:
7816 (interpolate_none_get_enum_value_array):
7817 support controlling enums
7819 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7822 Improve documentation for gst_value_union().
7825 Change return value for union, intersect and subtract functions
7826 from gint to gboolean.
7828 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7830 * gst/gstvalue.c: (gst_value_serialize_any_list),
7831 (gst_value_transform_any_list_string),
7832 (gst_value_deserialize_list), (gst_value_deserialize_array),
7833 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7834 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7835 (gst_value_set_fraction_range_full),
7836 (gst_value_deserialize_fraction_range),
7837 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7838 (gst_value_deserialize_boolean),
7839 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7840 (gst_value_serialize_float), (gst_value_deserialize_float),
7841 (gst_string_wrap), (gst_value_deserialize_string),
7842 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7843 (gst_value_union_int_range_int_range),
7844 (gst_value_intersect_int_range_int_range),
7845 (gst_value_intersect_double_range_double_range),
7846 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7847 (gst_value_subtract_int_range_int_range),
7848 (gst_value_subtract_double_double_range),
7849 (gst_value_subtract_double_range_double_range),
7850 (gst_value_deserialize_fraction):
7852 Use gint, gdouble and gchar in our API instead of int, double and
7853 char (and make usage in gstvalue.c more consistent).
7855 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7857 * check/Makefile.am:
7858 * libs/gst/controller/Makefile.am:
7859 * libs/gst/dataprotocol/Makefile.am:
7860 fix up Makefile.am and remove GST_ENABLE_NEW
7862 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7866 * gst/base/Makefile.am:
7867 * gst/check/Makefile.am:
7868 * gst/elements/Makefile.am:
7869 * gst/net/Makefile.am:
7870 update LDFLAGS use some more
7872 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7874 * common/m4/gst-doc.m4:
7877 2005-11-26 Edward Hervey <edward@fluendo.com>
7879 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7880 This shouldn't issue a g_warning since it returns NULL if it
7881 couldn't find the plugin, and all functions using this behave
7882 properly on a NULL return. Switching to a GST_WARNING.
7884 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7886 * gst/gstbin.c: (gst_bin_handle_message_func):
7887 Don't leak clock messages.
7889 2005-11-25 Wim Taymans <wim@fluendo.com>
7891 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7892 (gst_util_uint64_scale_int):
7893 Optimisations, remove unneeded vars.
7895 2005-11-25 Wim Taymans <wim@fluendo.com>
7897 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7898 Added more checks for the high precision uint64 cases.
7900 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7901 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7902 Implement high precision (guint64 * guint64) / guint64.
7904 2005-11-24 Wim Taymans <wim@fluendo.com>
7906 * gst/base/gstbasesrc.c: (gst_base_src_query):
7907 Fix wrong percentage query.
7909 * gst/gstutils.c: (gst_util_uint64_scale),
7910 (gst_util_uint64_scale_int):
7911 Add some more common cases that can be handled
7912 efficiently to _scale.
7914 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7916 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7917 (gst_mini_object_suite):
7918 don't use check calls from threads; check probably isn't
7919 threadsafe and using a lock to make it threadsafe would
7920 defeat the purpose of this check
7921 * gst/check/gstcheck.c:
7922 * gst/check/gstcheck.h:
7923 use GST_DEBUG some more
7925 2005-11-24 Wim Taymans <wim@fluendo.com>
7927 * gst/gstutils.c: (gst_util_uint64_scale),
7928 (gst_util_uint64_scale_int):
7929 Chain trivial case to _scale_int.
7931 2005-11-24 Wim Taymans <wim@fluendo.com>
7933 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7934 Added test for scaling.
7939 * gst/gstutils.c: (gst_util_uint64_scale_int):
7940 Implemented high precision scaling code.
7942 2005-11-24 Stefan Kost <ensonic@users.sf.net>
7945 do not crash on pad==NULL
7947 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7949 Patch by: Stefan Kost
7951 * common/gtk-doc.mak:
7952 * docs/gst/Makefile.am:
7953 * docs/libs/Makefile.am:
7954 Fix distcheck issues for the libraries docs build
7957 2005-11-24 Michael Smith <msmith@fluendo.com>
7959 * docs/manual/basics-helloworld.xml:
7960 Fix bug #315027: memory leak in example code in docs.
7962 2005-11-24 Michael Smith <msmith@fluendo.com>
7964 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7965 Unlock the PREROLL_LOCK in a failure case.
7967 2005-11-24 Wim Taymans <wim@fluendo.com>
7969 * docs/gst/gstreamer-sections.txt:
7970 * gst/base/gstadapter.h:
7971 * gst/base/gstbasesink.h:
7972 * gst/base/gstbasesrc.h:
7973 * gst/base/gstbasetransform.h:
7974 * gst/base/gstpushsrc.h:
7975 * gst/elements/gstfakesink.h:
7976 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
7977 * gst/elements/gstfakesrc.h:
7978 * gst/elements/gstfilesink.h:
7979 * gst/elements/gstfilesrc.h:
7982 * gst/gstbuffer.c: (_gst_buffer_copy):
7985 * gst/gstchildproxy.c:
7988 * gst/gstelementfactory.c:
7989 * gst/gstelementfactory.h:
7991 * gst/gstghostpad.h:
7993 * gst/gstinterface.h:
7994 * gst/gstminiobject.c:
7995 * gst/gstminiobject.h:
7998 * gst/gstpadtemplate.h:
7999 * gst/gstpipeline.h:
8000 * gst/gstpluginfeature.h:
8005 * gst/gsttagsetter.c:
8006 * gst/gsttagsetter.h:
8009 * gst/gsttypefind.h:
8012 * gst/net/gstnetclientclock.c:
8013 * gst/net/gstnetclientclock.h:
8014 * gst/net/gstnettimepacket.c:
8015 * gst/net/gstnettimeprovider.c:
8016 * gst/net/gstnettimeprovider.h:
8019 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8021 * configure.ac: back to HEAD
8023 === release 0.9.6 ===
8025 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8028 releasing 0.9.6, "Always On Time"
8030 2005-11-23 Wim Taymans <wim@fluendo.com>
8032 * docs/gst/gstreamer-sections.txt:
8033 * gst/glib-compat.c:
8034 * gst/gsttagsetter.c:
8036 * gst/net/gstnetclientclock.c:
8037 * gst/net/gstnettimepacket.h:
8040 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8042 * docs/faq/using.xml:
8043 * docs/libs/tmpl/gstcontrol.sgml:
8044 * docs/manual/advanced-dparams.xml:
8045 * docs/manual/appendix-checklist.xml:
8046 * docs/manual/basics-elements.xml:
8047 * docs/pwg/other-source.xml:
8048 * docs/random/moving-plugins:
8050 * tools/gst-launch.1.in:
8051 remove mentions of sinesrc
8053 2005-11-23 Michael Smith <msmith@fluendo.com>
8055 * docs/gst/gstreamer-sections.txt:
8056 Update for new API and API changes.
8058 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8060 Documentation typo fix.
8061 * gst/net/gstnettimepacket.c:
8062 Documentation fixes for arguments.
8064 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8066 * gst/gststructure.c: (gst_structure_get_fraction),
8067 (gst_structure_parse_value),
8068 (gst_structure_fixate_field_nearest_fraction):
8069 * gst/gststructure.h:
8070 * gst/gstutils.c: (gst_util_uint64_scale_int):
8072 * scripts/update-funcnames:
8074 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8075 Make gst_structure_fixate_field_nearest_fraction take a numerator
8076 and denominator argument instead of a GValue
8077 add gst_structure_get_fraction helper function.
8079 2005-11-23 Wim Taymans <wim@fluendo.com>
8081 * docs/design/part-TODO.txt:
8084 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8085 * gst/net/gstnetclientclock.h:
8086 Use parent fields for timeout and window_size.
8088 2005-11-23 Andy Wingo <wingo@pobox.com>
8090 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8091 rate_num/rate_denom change.
8093 * gst/net/gstnetclientclock.c
8094 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8095 OBJECT_LOCK. Don't call add_observation with the lock.
8097 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8099 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8101 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8102 deal with rate as a fraction whose numerator and denominator are
8103 GstClockTime values.
8104 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8105 master; the other fields are protected by the SLAVE_LOCK.
8106 (do_linear_regression): Note that this must be called with the
8108 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8109 OBJECT_LOCK. Call set_calibration instead of touching the
8111 (gst_clock_set_property, gst_clock_get_property): Protect
8112 master/slave parameters with the SLAVE_LOCK.
8114 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8115 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8116 note that all of the instance variables that add_observation and
8117 the set_master functions use are protected by that lock and not
8119 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8121 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8122 the caller to take the object lock.
8124 2005-11-23 Wim Taymans <wim@fluendo.com>
8126 * gst/gsterror.c: (_gst_core_errors_init):
8128 Add error for clock stuff.
8130 * gst/gstpipeline.c: (gst_pipeline_change_state),
8131 (gst_pipeline_set_clock):
8132 Post clock error when clock cannot be used in a pipeline.
8134 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8136 * docs/gst/gstreamer-sections.txt:
8137 make two symbols from gstinfo private for the docs
8138 * gst/base/gstcollectpads.h:
8140 fix doc typos, update docs
8142 2005-11-22 Wim Taymans <wim@fluendo.com>
8144 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8145 (gst_base_sink_wait), (gst_base_sink_do_sync),
8146 (gst_base_sink_handle_event):
8147 * gst/base/gstbasesink.h:
8148 No need to store the clock, the parent element class already
8151 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8152 Updates for clock_set returning a gboolean
8154 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8155 (gst_clock_id_wait_async), (gst_clock_class_init),
8156 (gst_clock_init), (gst_clock_finalize),
8157 (gst_clock_get_internal_time), (gst_clock_get_time),
8158 (gst_clock_slave_callback), (gst_clock_set_master),
8159 (gst_clock_get_master), (do_linear_regression),
8160 (gst_clock_add_observation), (gst_clock_set_property),
8161 (gst_clock_get_property):
8163 Implement master/slave. When setting a clock as a slave, a
8164 periodic timeout is scheduled to sample master and slave times.
8165 Then the slave clock is recalibrated to match offset and rate
8166 of the master clock.
8167 Update logging a bit.
8168 Add flag so that a clock can state that is cannot be slaved to
8171 * gst/gstelement.c: (gst_element_set_clock):
8173 The set clock returns a gboolean for when an element cannot
8174 deal with the selected clock in the pipeline.
8176 * gst/gstpipeline.c: (gst_pipeline_change_state),
8177 (gst_pipeline_set_clock):
8178 * gst/gstpipeline.h:
8179 Handle the case where the selected clock cannot be set on
8182 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8183 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8184 (gst_net_client_clock_set_property),
8185 (gst_net_client_clock_get_property),
8186 (gst_net_client_clock_observe_times):
8187 * gst/net/gstnetclientclock.h:
8188 Use regression code in GstClock parent, remove duplicated
8191 2005-11-22 Michael Smith <msmith@fluendo.com>
8193 * gst/gstutils.c: (gst_util_clock_time_scale):
8195 * docs/gst/gstreamer-sections.txt:
8196 Rename method to have extra underscore.
8198 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8200 * gst/elements/Makefile.am:
8201 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8202 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8203 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8204 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8205 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8206 * gst/elements/gstfakesrc.h:
8207 * gst/gstqueue.c: (queue_leaky_get_type):
8208 correctly fix GEnumValues so that nick is the short lowercase
8210 * tools/gst-inspect.c: (print_element_properties_info):
8211 also show the nick, since it's useful to use from parse_launch
8215 2005-11-22 Michael Smith <msmith@fluendo.com>
8217 * gst/gstutils.c: (gst_util_clocktime_scale):
8219 * docs/gst/gstreamer-sections.txt:
8220 Add util method for scaling a clocktime by a fraction. Useful
8221 implementation is left as an exercise for the reader.
8223 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8225 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8226 If needed, allocate storage in the destination value during
8229 2005-11-22 Edward Hervey <edward@fluendo.com>
8231 * docs/gst/gstreamer-sections.txt:
8236 * gst/gstutils.c: (gst_util_set_object_arg):
8237 * tools/gst-compprep.c: (main):
8238 * tools/gst-inspect.c: (print_element_properties_info):
8239 Removed GstURI, closes bug #321061
8241 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8243 * check/gst/gststructure.c: (GST_START_TEST):
8244 * gst/gststructure.c: (gst_structure_parse_value):
8245 Oops, broke automatic string type parsing.
8246 Add a test to catch it in future.
8248 2005-11-22 Andy Wingo <wingo@pobox.com>
8250 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8251 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8252 Actually rename the function implementations. Grr.
8254 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8256 * check/gst/capslist.h:
8258 * check/gst/gststructure.c: (GST_START_TEST),
8259 (gst_structure_suite):
8260 Test automatic value type detection in gst_structure_from_string.
8261 * gst/gststructure.c: (gst_structure_parse_value):
8262 Add fraction as a type we try and guess automatically in
8263 caps/structure strings.
8265 2005-11-22 Andy Wingo <wingo@pobox.com>
8267 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8269 * gst/gsttagsetter.h:
8270 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8271 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8272 (gst_tag_setter_add_tag_valist)
8273 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8274 _add_values, _add_valist, and _add_valist_values. Since this is an
8275 interface the function suffixes should be more explicit so
8276 language binding don't end up with element.add_valist ->
8277 gst_tag_setter_add_valist, for example. Fixes #322069.
8279 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8281 * check/gst/gstcaps.c: (GST_START_TEST):
8282 Extend caps string tests to check that a caps to string
8283 conversion is reversible and produces the same caps.
8285 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8286 Output "fraction" as the generic type fraction range, so caps
8287 serialisation and deserialisation works.
8288 * check/gst/capslist.h:
8289 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8290 Support 'MIN' and 'MAX' for deserialising fractions.
8292 2005-11-22 Andy Wingo <wingo@pobox.com>
8294 * gst/gstevent.h (gst_event_new_new_segment)
8295 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8296 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8297 Renamed from *_newsegment, *_buffersize, *_notarget.
8299 * scripts/update-funcnames: New script, performs the changes
8302 2005-11-22 Wim Taymans <wim@fluendo.com>
8304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8305 Make sure the GstFlowReturn is returned.
8307 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8308 (gst_bus_add_signal_watch):
8310 add gst_bus_add_signal_watch_full.
8312 * gst/gstplugin.c: (gst_plugin_load_file):
8313 Small style cleanup.
8315 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8317 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8318 Block the fakesrc srcpad when we send an event, to avoid
8319 contention on the stream_lock causing random test failures.
8321 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8323 * check/gst/gstvalue.c: (GST_START_TEST):
8324 * gst/gstvalue.c: (gst_value_fraction_subtract):
8327 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8330 include "gstchildproxy.h"
8331 * gst/gstchildproxy.h:
8332 * libs/gst/controller/gstcontroller.h:
8333 use G_GNUC_NULL_TERMINATED
8335 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8337 * check/gst/capslist.h:
8338 * check/gst/gstcaps.c: (GST_START_TEST):
8339 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8340 * gst/gststructure.c: (gst_structure_parse_range),
8341 (gst_structure_fixate_field_nearest_fraction):
8342 * gst/gststructure.h:
8343 * gst/gstvalue.c: (gst_value_init_fraction_range),
8344 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8345 (gst_value_collect_fraction_range),
8346 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8347 (gst_value_set_fraction_range_full),
8348 (gst_value_get_fraction_range_min),
8349 (gst_value_get_fraction_range_max),
8350 (gst_value_serialize_fraction_range),
8351 (gst_value_transform_fraction_range_string),
8352 (gst_value_compare_fraction_range),
8353 (gst_value_deserialize_fraction_range),
8354 (gst_value_intersect_fraction_fraction_range),
8355 (gst_value_intersect_fraction_range_fraction_range),
8356 (gst_value_subtract_fraction_fraction_range),
8357 (gst_value_subtract_fraction_range_fraction),
8358 (gst_value_subtract_fraction_range_fraction_range),
8359 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8360 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8361 (gst_value_transform_string_fraction), (_gst_value_initialize):
8363 Implement fraction ranges and extend GstFraction to support
8364 arithmetic subtraction, as well as deserialization from integer
8365 strings such as "100"
8366 Add a testsuite as for int and double range set operations
8368 2005-11-21 Andy Wingo <wingo@pobox.com>
8372 * gst/gststructure.h: Add glib-compat.h.
8374 2005-11-21 Wim Taymans <wim@fluendo.com>
8376 * gst/gstbin.c: (gst_bin_change_state_func):
8379 2005-11-21 Wim Taymans <wim@fluendo.com>
8382 And add a nice define too.
8384 2005-11-21 Wim Taymans <wim@fluendo.com>
8386 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8387 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8388 (gst_segment_set_duration), (gst_segment_set_last_stop),
8389 (gst_segment_set_seek), (gst_segment_set_newsegment),
8390 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8393 Make binding friendly.
8395 2005-11-21 Andy Wingo <wingo@pobox.com>
8397 * gst/gsttagsetter.h:
8399 * gst/gststructure.h:
8401 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8404 * gst/gsterror.c (_gst_core_errors_init):
8405 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8408 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8409 (noinst_HEADERS): noinst the -private.
8411 2005-11-21 Michael Smith <msmith@fluendo.com>
8414 * gst/gstregistry.h:
8415 Remove unimplemented declarations for which we can see no sensible
8418 2005-11-21 Andy Wingo <wingo@pobox.com>
8420 * gst/gst.h: Include glib-compat.h.
8422 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8424 * gst/glib-compat.c: Include the public and the private header.
8426 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8430 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8432 * check/gst/gstevent.c (create_custom_events): Check that
8433 FLUSH_STOP is serialized.
8435 * check/elements/identity.c (event_func):
8436 * check/elements/fakesrc.c (event_func): No stream lock, the core
8439 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8440 stream lock taking, yay.
8442 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8443 ensure that core takes the stream lock.
8445 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8448 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8449 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8450 it already. For the flush start we do take it though so we get the
8451 right preroll state change messages.
8453 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8454 the stream lock here, the core does it for us.
8456 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8457 GST_STREAM_GET_LOCK.
8458 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8459 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8460 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8461 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8462 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8463 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8465 * gst/gstpad.c: Update for stream lock name change.
8467 * gst/base/gstbasesink.c: Update for preroll lock name change.
8469 2005-11-21 Wim Taymans <wim@fluendo.com>
8471 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8472 (gst_clock_get_master):
8474 * gst/gstsystemclock.c: (gst_system_clock_init):
8475 Convert Clock flags to object flags.
8476 Added methods to manage master/slave clocks.
8478 2005-11-21 Wim Taymans <wim@fluendo.com>
8480 * check/gst/gstsegment.c: (GST_START_TEST):
8481 * docs/design/part-TODO.txt:
8482 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8483 (gst_base_sink_event), (gst_base_sink_do_sync),
8484 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8485 (gst_base_sink_query), (gst_base_sink_change_state):
8486 * gst/base/gstbasesink.h:
8487 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8488 (gst_base_src_default_newsegment),
8489 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8490 (gst_base_src_get_range), (gst_base_src_loop),
8491 (gst_base_src_change_state):
8492 * gst/base/gstbasesrc.h:
8493 * gst/base/gstbasetransform.c:
8494 (gst_base_transform_prepare_output_buf),
8495 (gst_base_transform_event), (gst_base_transform_change_state):
8496 * gst/base/gstbasetransform.h:
8497 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8498 (gst_collect_pads_event):
8499 * gst/base/gstcollectpads.h:
8500 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8501 (gst_fake_src_create):
8502 * gst/elements/gstfakesrc.h:
8503 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8504 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8505 (gst_segment_set_last_stop), (gst_segment_set_seek),
8506 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8507 (gst_segment_to_running_time), (gst_segment_clip):
8509 More segment updates, replace code in plugins with segment
8512 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8514 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8515 Don't ignore sscanf results
8517 2005-11-21 Andy Wingo <wingo@pobox.com>
8519 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8522 * *.c: Ran scripts/update-macros. Oh yes.
8524 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8525 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8528 * scripts/update-macros: New script. Run it on your files to
8529 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8532 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8534 * docs/gst/Makefile.am:
8535 * docs/gst/gstreamer-docs.sgml:
8536 * docs/gst/gstreamer-sections.txt:
8537 * docs/gst/gstreamer.types:
8539 more docs fixes, add new api to the docs
8541 2005-11-21 Andy Wingo <wingo@pobox.com>
8543 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8544 state_broadcast call.
8546 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8548 2005-11-21 Julien MOUTTE <julien@moutte.net>
8550 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8551 function calls for arrays.
8553 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8555 * docs/random/ensonic/media-device-daemon.txt:
8556 wild idea, can this be done?
8557 * docs/gst/gstreamer-sections.txt:
8562 * gst/gstpluginfeature.c:
8566 doc fixes and additions
8568 2005-11-21 Andy Wingo <wingo@pobox.com>
8570 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8571 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8572 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8573 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8574 private to the basesrc implementation.
8576 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8577 behalf of event function if necessary. It should no longer be
8578 necessary to take the stream lock in pad's event functions. Fixes
8581 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8582 * docs/gst/gstreamer-sections.txt:
8583 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8584 (gst_structure_fixate_field_nearest_double),
8585 (gst_structure_fixate_field_boolean):
8586 * gst/gststructure.h:
8587 * win32/common/libgstreamer.def:
8588 * win32/gstreamer.def:
8590 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8593 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8595 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8596 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8597 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8598 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8599 (gst_fdsrc_uri_handler_init):
8600 * gst/elements/gstfdsrc.h:
8601 Port fd:// URI handler from 0.8 to fdsrc
8603 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8605 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8606 (gst_value_serialize_fourcc):
8608 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8609 consistent with our other format defines (#320324).
8611 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8613 * gst/gstvalue.c: (gst_value_is_fixed):
8614 Revert previous commit. Value lists are by definition
8615 not fixed, as they are a list of possible values.
8617 2005-11-21 Andy Wingo <wingo@pobox.com>
8619 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8620 during the stable series if we need it. Fixes #319178.
8622 * gst/gstevent.c (gst_event_new_filler): Removed.
8624 * check/gst/gstevent.c: Update comment about filler events.
8626 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8628 * gst/gstvalue.c: (gst_value_is_fixed):
8629 Should handle both value arrays and value lists.
8631 2005-11-21 Andy Wingo <wingo@pobox.com>
8633 patch by: Alessandro Dessina <alessandro nnva org>
8635 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8636 functions to access arrays. Fixes #321962.
8638 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8640 * docs/gst/gstreamer.types:
8641 gst_collectpads_get_type => gst_collect_pads_get_type.
8643 * gst/base/gstbasetransform.c:
8644 Remove unused SIGNAL_HANDOFF enum.
8646 2005-11-21 Andy Wingo <wingo@pobox.com>
8648 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8649 the event type (upstream, downstream, serialized). Renamed
8650 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8651 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8652 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8654 * gst/gstevent.c: Update for new CUSTOM event names.
8656 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8659 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8662 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8664 * docs/gst/gstreamer-sections.txt:
8665 * win32/common/libgstbase.def:
8666 * win32/libgstbase.def:
8667 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8668 (gst_collect_pads_class_init), (gst_collect_pads_init),
8669 (gst_collect_pads_finalize), (gst_collect_pads_new),
8670 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8671 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8672 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8673 (gst_collect_pads_start), (gst_collect_pads_stop),
8674 (gst_collect_pads_peek), (gst_collect_pads_pop),
8675 (gst_collect_pads_available), (gst_collect_pads_read),
8676 (gst_collect_pads_flush), (gst_collect_pads_event),
8677 (gst_collect_pads_chain):
8678 * gst/base/gstcollectpads.h:
8679 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8680 unimplemented functions as unimplemented. Add padding to
8681 GstCollectData. (#320766, #320423)
8683 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8686 Improve docs for DURATION message (usage of duration parameter)
8689 2005-11-20 Wim Taymans <wim@fluendo.com>
8691 * check/Makefile.am:
8692 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8696 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8697 (gst_segment_set_seek), (gst_segment_set_newsegment),
8698 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8701 Added segment helper structure and methods. Not fully implemented
8703 Added segment check.
8705 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8707 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8708 Add a deserialisation test for fractions
8709 * examples/metadata/read-metadata.c: (message_loop),
8710 (make_pipeline), (main):
8711 Fix up metadata reading sample.
8712 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8714 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8715 Don't try and fixate empty caps
8716 * gst/gst_private.h:
8717 Wrap in G_BEGIN_DECLS/G_END_DECLS
8718 * gst/gstvalue.c: (gst_value_collect_fraction),
8719 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8720 (gst_value_transform_string_fraction),
8721 (gst_value_compare_fraction):
8722 Add some extra guards to ensure that we don't end up
8723 with an invalid denominator of 0 in a gstfraction and
8724 that fractions always get reduced.
8726 2005-11-20 Wim Taymans <wim@fluendo.com>
8728 * docs/gst/gstreamer-sections.txt:
8739 2005-11-20 Wim Taymans <wim@fluendo.com>
8741 * docs/design/part-TODO.txt:
8743 Make a proper enum of the flag.
8745 2005-11-19 Wim Taymans <wim@fluendo.com>
8747 * docs/design/part-TODO.txt:
8748 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8749 (gst_format_to_quark), (gst_format_register):
8751 * gst/gstquery.c: (_gst_query_initialize),
8752 (gst_query_type_get_name), (gst_query_type_to_quark),
8753 (gst_query_type_register):
8755 Add type to quark and type to string conversions.
8757 2005-11-19 Andy Wingo <wingo@pobox.com>
8759 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8762 2005-11-19 Wim Taymans <wim@fluendo.com>
8764 * docs/design/part-TODO.txt:
8765 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8766 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8767 (gst_bin_handle_message_func):
8769 Make message handling overridable.
8771 2005-11-19 Andy Wingo <wingo@pobox.com>
8773 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8776 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8778 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8779 is a GstClockTime. Fixes #321710.
8781 * gst/gstclock.h (GstClock): Remove offset property. Add
8782 internal_calibration and external_calibration. Fix padding. Pad
8783 also by GstClockTime so we don't run into problems.
8785 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8786 (gst_clock_get_rate_offset): Remove.
8787 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8790 * gst/gstutils.c (g_static_rec_cond_wait)
8791 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8793 * gst/gstbin.c: Remove terrible continue_state prototype.
8795 * gst/gstelement.h (gst_element_continue_state): Make public.
8798 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8799 by continue_state. Fixes #319389.
8801 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8802 Really fixes #168438. However I don't see anywhere where the
8803 filter function is called... stupid GStreamer...
8805 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8806 don't have a dispose function, so it won't get called when the
8807 object is unreffed, but oh well!
8809 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8810 allows a destroy function to be set so user_data can be freed.
8812 (gst_index_set_filter): Call gst_index_set_filter_full.
8814 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8816 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8817 string should produce an error, given the lack of a way to
8818 represent NULL strings. Fixes #165650.
8821 * gst/gstvalue.c (gst_value_array_append_value)
8822 (gst_value_array_prepend_value, gst_value_array_get_size)
8823 (gst_value_array_get_value): New API, copied from
8824 gst_value_list_*, only operates on arrays.
8825 (gst_value_list_append_value, gst_value_list_prepend_value)
8826 (gst_value_list_concat, gst_value_list_get_size)
8827 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8829 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8830 init_list, because it works on both.
8831 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8832 (gst_value_copy_list_or_array): Renamed from copy_list.
8833 (gst_value_free_list_or_array): Renamed from free_list.
8834 (gst_value_collect_list_or_array): Renamed from collect_list.
8835 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8836 (gst_value_list_or_array_peek_pointer): Renamed from
8838 (_gst_value_array_value_table, _gst_value_list_value_table):
8839 Update value table functions.
8840 (gst_value_compare_list_or_array): Renamed from compare_list.
8842 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8846 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8847 GstTagList*. Fixes #143472.
8849 * gst/gststructure.h: Clarify what the foreach/map functions can
8850 or can't do to their arguments.
8852 2005-11-18 Wim Taymans <wim@fluendo.com>
8854 * gst/gstclock.c: (gst_clock_set_calibration),
8855 (gst_clock_get_calibration):
8857 Calibration can be set with internal time equal to current
8860 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8866 2005-11-18 Andy Wingo <wingo@pobox.com>
8869 * pkgconfig/gstreamer-net.pc.in:
8870 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8871 * pkgconfig/Makefile.am: Add net pkgconfig files.
8873 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8876 * gst/gstghostpad.c:
8882 2005-11-18 Andy Wingo <wingo@pobox.com>
8884 * gst/net/gstnetclientclock.c: Turn off debugging.
8886 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8887 times connverge somewhat. Can't make a real test.
8889 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8890 integer arithmetic. Return the minimum of the domain, which can be
8891 set as "internal" for gst_clock_set_calibration.
8892 (gst_net_client_clock_observe_times): Call _set_calibration.
8893 (gst_net_client_clock_new): Call _set_calibration instead of
8896 * check/net/gstnetclientclock.c (test_functioning): Use the right
8900 * gst/gstclock.c (gst_clock_get_calibration)
8901 (gst_clock_set_calibration): New functions, obsolete the ones I
8902 added yesterday. Doh. Precision issues mean we have to extrapolate
8903 from a point in the more recent past than 1970.
8904 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8906 (gst_clock_adjust_unlocked): Use the right calibration data.
8908 2005-11-18 Edward Hervey <edward@fluendo.com>
8910 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8911 Also reset the ->current_* values in READY->PAUSED
8913 2005-11-18 Andy Wingo <wingo@pobox.com>
8915 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8916 Whoops, check the right fd. Also add some debugging.
8917 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8918 (do_linear_regression): Add a crapload of debugging. Subtract off
8919 the minimum values from the input series to discard unneeded bits.
8920 Use only int arithmetic. There is still double arithmetic when
8921 calculating the intercept that needs fixing. Return boolean to
8922 indicate success; FALSE would mean the domain or range is too
8923 great. Still needs fixes.
8925 2005-11-18 Wim Taymans <wim@fluendo.com>
8927 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8928 For the current position in stream time, we need to subtract
8931 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
8932 Release lock before calling the callback function of async
8935 2005-11-18 Andy Wingo <wingo@pobox.com>
8937 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
8938 Port goes all the way to MAXUINT16.
8940 * gst/net/gstnettimeprovider.c: Make the port range the same as
8941 for the kernel: 0 assigns, otherwise ports are less than
8944 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
8947 * check/net/gstnetclientclock.c (test_functioning): Add the start
8950 2005-11-18 Wim Taymans <wim@fluendo.com>
8952 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8953 (gst_bin_remove_func), (bin_bus_handler):
8955 Removing a clock provider from a bin, triggers a clock lost message
8956 so that a new clock will be selected.
8957 Adding a clock to a bin triggers a clock provider message.
8958 Make sure we reselect a clock when we received a clock lost message.
8959 Keep a reference to the element that provided the clock.
8961 2005-11-18 Andy Wingo <wingo@pobox.com>
8963 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
8964 the clock initially so it produces values around the base time.
8965 (gst_net_client_clock_class_init): Typo fix.
8966 (gst_net_client_clock_thread): Add note on when the socket gets
8969 2005-11-17 Wim Taymans <wim@fluendo.com>
8971 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
8972 Free remote and local time arrays.
8974 2005-11-17 Wim Taymans <wim@fluendo.com>
8976 * gst/net/gstnetclientclock.c: (do_linear_regression),
8977 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
8978 Fix compilation, uninitialized vars and a forgotten continue.
8980 2005-11-17 Andy Wingo <wingo@pobox.com>
8982 * check/Makefile.am (check_PROGRAMS):
8983 * check/net/gstnetclientclock.c: Add a most minimal test for the
8984 net client clock. More to come later.
8987 * gst/net/Makefile.am: Add netclientclock.
8989 * gst/net/gstnetclientclock.h:
8990 * gst/net/gstnetclientclock.c: New files, implement an untested
8991 GstClock that takes its time from a network time provider.
8992 Implements the algorithm in network-clock.scm.
8994 * tests/network-clock.scm (*window-size*): Rename from
8996 * tests/network-clock.scm (network-time):
8997 * tests/network-clock-utils.scm (q-push): Update callers.
8999 2005-11-17 Wim Taymans <wim@fluendo.com>
9001 * gst/gstbin.c: (gst_bin_provide_clock_func),
9002 (gst_bin_sort_iterator_new):
9003 And unref the child too..
9005 2005-11-17 Wim Taymans <wim@fluendo.com>
9007 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9008 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9009 Refactor the sort iterator so it can be used while holding the
9011 Make clock selection select a clock closest to the source.
9013 2005-11-17 Michael Smith <msmith@fluendo.com>
9015 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9016 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9018 Anonymous structs are a gcc (and some other compilers) extension, so
9019 don't use them. Since this is only for ABI-compatibility, and our
9020 API/ABI freeze is over in a few days, this whole thing will only
9021 last a few days, so don't bother trying to think up a meaningful
9022 name for the struct.
9024 2005-11-17 Andy Wingo <wingo@pobox.com>
9026 * gst/gstclock.h (GstClock): Add rate and offset properties,
9027 preserving ABI stability. Add rate/offset accessors. Will file bug
9028 for the freeze break.
9030 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9031 and offset, trying to keep precision and avoiding
9033 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9034 functions. Make gst_clock_set_time_adjust obsolete.
9035 (gst_clock_set_time_adjust): Note that this function is obsolete.
9038 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9039 greppable by using GST_PADDING-1+1.
9041 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9043 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9045 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9046 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9048 * gst/gstpadtemplate.h:
9049 * gst/gstpluginfeature.h:
9050 Don't use c++ style comments in headers (#321638).
9052 2005-11-16 Andy Wingo <wingo@pobox.com>
9054 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9057 * check/net/gstnettimeprovider.c: Check to see that the time
9058 provider actually provides times. Works, yo!
9060 2005-11-16 Wim Taymans <wim@fluendo.com>
9062 * check/Makefile.am:
9065 * check/elements/fakesrc.c: (GST_START_TEST):
9066 Set element to NULL before disposing it.
9068 2005-11-16 Andy Wingo <wingo@pobox.com>
9070 * gst/net/Makefile.am:
9072 * gst/net/gstnettimeprovider.c:
9073 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9074 provider, include it from gstnet.h, and add it to the build.
9076 * gst/net/gstnettimepacket.h:
9077 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9078 sending and receiving.
9080 2005-11-16 Wim Taymans <wim@fluendo.com>
9082 * check/Makefile.am:
9083 Enable valgrind check.
9085 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9086 (gst_fake_src_alloc_buffer):
9089 2005-11-16 Wim Taymans <wim@fluendo.com>
9091 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9092 Call parent finalize too.
9094 2005-11-16 Wim Taymans <wim@fluendo.com>
9096 * check/Makefile.am:
9097 Enable valgrind check that should work fine now.
9099 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9100 * gst/gstqueue.c: (gst_queue_init):
9101 Fix memleaks in pad allocation.
9103 2005-11-16 Andy Wingo <wingo@pobox.com>
9105 * gst/net/Makefile.am:
9106 * gst/net/gstnet.h: New part of core to hold network elements and
9107 objects. Put in core because it exposes API that applications want
9108 to use. The library is named libgstnet-tempname right now because
9109 of the existing libgstnet in gst-plugins-base. Solution is
9110 probably to rename the one in plugins-base; will file a bug for
9113 * gst/net/gstnettimeprovider.c:
9114 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9115 get_time call over the network.
9118 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9120 * check/Makefile.am:
9121 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9122 get additions shortly.
9124 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9126 * gst/gstpad.c: (gst_pad_new_from_static_template):
9128 add gst_pad_new_from_static_template functions
9129 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9130 (gst_check_setup_sink_pad):
9131 * gst/elements/gsttee.c: (gst_tee_init):
9134 2005-11-16 Wim Taymans <wim@fluendo.com>
9136 * gst/gstpad.c: (gst_pad_pause_task):
9137 Removed warning, it's not really an error either.
9139 2005-11-16 Wim Taymans <wim@fluendo.com>
9141 * gst/base/gstbasetransform.c:
9142 (gst_base_transform_prepare_output_buf),
9143 (gst_base_transform_event):
9144 Check if the caps are NULL, this can happen if the element
9145 is shutting down and the pad caps are set to NULL.
9147 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9149 * gst/elements/gsttee.c: (gst_tee_init):
9150 fix pad template leak in tee
9152 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9154 * gst/glib-compat.c: (g_value_dup_gst_object):
9155 * gst/glib-compat.h:
9156 * gst/gstpad.c: (gst_pad_set_property):
9157 use gst_object_ref when setting the pad template; this will
9158 trigger the pad template leaks on GLib 2.6 and the slaves
9160 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9162 * gst/glib-compat.c: (gst_flags_get_first_value):
9163 * gst/glib-compat.h:
9164 * gst/gstregistryxml.c:
9165 remove functions copied from GLib 2.6
9167 2005-11-16 Michael Smith <msmith@fluendo.com>
9170 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9171 do, but only breaks with newer valgrind versions. We're not a
9172 valgrind tool, we have no link-time dependencies on libcoregrind.
9174 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9176 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9181 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9183 * gst/base/gstbasesrc.c: (gst_base_src_init):
9184 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9185 * gst/gstqueue.c: (gst_queue_init):
9186 * gst/gstregistryxml.c: (load_feature):
9187 Revert all these unrefs, they don't even pass make check !
9189 2005-11-15 Johan Dahlin <johan@gnome.org>
9191 * gst/base/gstbasesrc.c: (gst_base_src_init):
9192 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9193 * gst/gstqueue.c: (gst_queue_init):
9194 Free pad templates, fixes a couple of leaks.
9196 2005-11-15 Daniel Fischer <dan at f3c dot com>
9198 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9200 * gst/gstpad.c: (gst_pad_get_property):
9201 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9202 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9205 2005-11-15 Wim Taymans <wim@fluendo.com>
9210 2005-11-15 Andy Wingo <wingo@pobox.com>
9212 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9214 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9215 using GST_CLOCK_TIME_NONE to disable base time management.
9216 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9217 time if it was NONE before.
9218 (gst_pipeline_change_state): Only munge the base time if
9219 stream_time != GST_CLOCK_TIME_NONE.
9221 * check/gst/gstpipeline.c (test_base_time): Punt around the
9222 problem of the probe not being called, because that's not the
9223 issue I'm looking at. Add a check that setting stream_time to NONE
9224 disables base time management.
9226 2005-11-15 Wim Taymans <wim@fluendo.com>
9228 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9229 segment_stop == -1 at startup.
9231 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9232 (gst_base_transform_change_state):
9233 Init segment values at start.
9235 2005-11-15 Wim Taymans <wim@fluendo.com>
9237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9238 0 segment values are 0 in any format.
9240 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9241 * gst/base/gstbasetransform.h:
9242 Parse newsegment correctly in basetransform
9244 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9245 Sync to clock using updated segment values.
9247 2005-11-15 Andy Wingo <wingo@pobox.com>
9249 * check/gst/gstpipeline.c (test_base_time): Add check that the
9250 base time and stream time are reset correctly.
9252 2005-11-15 Wim Taymans <wim@fluendo.com>
9254 * docs/design/part-TODO.txt:
9255 Some more TODO items.
9257 2005-11-15 Andy Wingo <wingo@pobox.com>
9259 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9260 error if the user selected "no clock" as the clocking method.
9262 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9263 timestamps with live capture.
9265 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9266 is 0 but we are a live source, timestamp the buffers using the
9269 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9271 * docs/gst/gstreamer-sections.txt:
9273 * gst/gstghostpad.c:
9278 2005-11-14 Wim Taymans <wim@fluendo.com>
9281 add suppressions from Wim's Debian machine
9283 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9286 add suppressions from Andy's AMD64 Ubuntu machine
9288 2005-11-14 Andy Wingo <wingo@pobox.com>
9290 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9291 STATE_LOCK not necessary. Fixes #311489.
9293 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9296 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9297 this function is not implemented.
9299 2005-11-14 Julien MOUTTE <julien@moutte.net>
9301 * gst/base/gstbasetransform.c:
9302 (gst_base_transform_prepare_output_buf):
9303 Ref the source pad caps while we need them.
9306 2005-11-11 Wim Taymans <wim@fluendo.com>
9308 * docs/gst/gstreamer-sections.txt:
9309 Added some docs for GstCollectData.
9311 * gst/base/gstadapter.c:
9312 Some small code example fix.
9314 * gst/base/gstcollectpads.c:
9315 * gst/base/gstcollectpads.h:
9318 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9320 * configure.ac: back to HEAD
9322 === release 0.9.5 ===
9324 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9327 releasing 0.9.5, "Bike Lunch Day"
9329 2005-11-11 Wim Taymans <wim@fluendo.com>
9331 * gst/gstbuffer.c: (_gst_buffer_copy):
9334 * gst/gstcaps.c: (gst_caps_is_equal):
9336 Make _is_equal fast in the trivial cases.
9338 * gst/gstminiobject.c:
9339 * gst/gstminiobject.h:
9340 More docs. Spifify .h file.
9345 2005-11-11 Wim Taymans <wim@fluendo.com>
9347 * gst/base/gstbasetransform.c:
9348 (gst_base_transform_prepare_output_buf),
9349 (gst_base_transform_handle_buffer):
9351 If we're processing a buffer and need to allocate an output
9352 buffer, we cannot accept a format change. If we did get a
9353 format change, we have to alloc a buffer ourselves of the
9356 2005-11-11 Wim Taymans <wim@fluendo.com>
9358 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9359 While checking the flag for reentrancy in the gstcaps function
9360 is nice to detect recursive invocations, it also makes it
9361 impossible to call getcaps from multiple threads, which must be
9362 possible. So, checking for recursive calls has to go.
9364 2005-11-11 Michael Smith <msmith@fluendo.com>
9366 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9367 Don't sync on buffers that fall partially outside our current
9368 segment. Prevents an assertion failure/abort playing some files.
9370 2005-11-10 Andy Wingo <wingo@pobox.com>
9372 * check/gst/gstbin.c (test_message_state_changed_children): Style
9375 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9376 gst_bus_poll with the signal watch. Ensures that poll and a signal
9377 watch see the same messages.
9379 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9380 a poll and a watch at the same time get the same messages.
9382 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9384 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9385 * gst/gstcaps.c: (gst_caps_intersect):
9386 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9387 and it's not needed.
9389 2005-11-10 Wim Taymans <wim@fluendo.com>
9391 * docs/design/part-TODO.txt:
9394 2005-11-10 Wim Taymans <wim@fluendo.com>
9396 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9397 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9398 (gst_base_src_do_sync), (gst_base_src_get_range):
9399 Implement clock sync in base class.
9401 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9403 patch by: Tim-Philipp Müller <tim at centricular dot net>
9405 * gst/gststructure.c: (gst_structure_parse_field),
9406 (gst_structure_from_string):
9407 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9408 so that gst_parse_launch() can deal with spaces in filtered link
9409 caps (fixes #164479)
9410 * check/gst/capslist.h:
9411 * check/gst/gststructure.c: (GST_START_TEST):
9412 add unit tests for this change
9414 2005-11-10 Wim Taymans <wim@fluendo.com>
9416 * docs/gst/gstreamer-sections.txt:
9419 Fix docs, move some STATE macros to private.
9421 2005-11-10 Wim Taymans <wim@fluendo.com>
9423 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9424 Added check for bug #317341
9428 Some more spiffifying.
9430 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9431 Call peer linkfunction if we are a source pad. Totally fixes
9435 Update docs, source pads should call the peer linkfunction
9436 so they can atomically perform the pad link.
9438 2005-11-09 Wim Taymans <wim@fluendo.com>
9442 Uber-spiffy-spiffify some more.
9444 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9446 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9447 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9448 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9449 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9450 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9451 * gst/gstpad.c: (gst_pad_init):
9452 Use GST_DEBUG_FUNCPTR() more extensively.
9454 2005-11-09 Wim Taymans <wim@fluendo.com>
9456 * gst/gstobject.c: (gst_object_class_init):
9458 Documentation fixes.
9460 2005-11-09 Edward Hervey <edward@fluendo.com>
9462 * gst/gsttypefindfactory.c:
9465 2005-11-09 Edward Hervey <edward@fluendo.com>
9467 * gst/base/gsttypefindhelper.c:
9468 * gst/gsttypefind.c:
9469 * gst/gsttypefind.h:
9472 2005-11-09 Wim Taymans <wim@fluendo.com>
9474 * gst/gstiterator.c:
9481 2005-11-09 Wim Taymans <wim@fluendo.com>
9487 2005-11-09 Wim Taymans <wim@fluendo.com>
9489 * docs/gst/gstreamer-sections.txt:
9490 Moved the message async delivery private lock and cond
9491 to the private section.
9497 2005-11-09 Edward Hervey <edward@fluendo.com>
9499 * docs/gst/gstreamer-sections.txt:
9502 Document GstURIHandler
9504 2005-11-09 Wim Taymans <wim@fluendo.com>
9506 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9507 (gst_iterator_find_custom):
9508 * gst/gstiterator.h:
9511 2005-11-09 Wim Taymans <wim@fluendo.com>
9514 Document another field.
9516 * gst/gststructure.c:
9517 * gst/gststructure.h:
9520 2005-11-09 Wim Taymans <wim@fluendo.com>
9525 2005-11-09 Wim Taymans <wim@fluendo.com>
9527 * docs/gst/gstreamer-sections.txt:
9528 Added some new macros.
9535 2005-11-09 Wim Taymans <wim@fluendo.com>
9537 * docs/design/part-TODO.txt:
9538 Some more items for the TODO
9544 2005-11-09 Andy Wingo <wingo@pobox.com>
9546 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9547 to work on something else now tho...
9549 * gst/base/gstadapter.c: More adapter docs.
9551 * gst/elements/gstfilesink.c (gst_file_sink_start)
9552 (gst_file_sink_stop): New functions, replace the state change
9554 (gst_file_sink_class_init): Hook up the start and stop functions.
9555 (gst_file_sink_base_init): Don't set the state change handler any
9556 more. It was a bit ugly too, being set from here...
9557 (gst_file_sink_get_property, gst_file_sink_set_property):
9559 (gst_file_sink_set_location): More robust check that doesn't call
9562 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9564 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9565 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9567 2005-11-08 Wim Taymans <wim@fluendo.com>
9569 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9570 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9571 (gst_base_sink_chain), (gst_base_sink_change_state):
9572 * gst/base/gstbasesink.h:
9573 * gst/base/gstbasesrc.h:
9576 Avoid excessive typechecking in macros.
9578 * gst/gstminiobject.c: (gst_mini_object_get_type),
9579 (gst_mini_object_init), (gst_mini_object_new),
9580 (gst_mini_object_free):
9581 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9582 (gst_object_finalize):
9583 Remove cruft code, optimize alloc_trace.
9585 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9587 * docs/faq/gst-uninstalled:
9588 fix up PS1 for systems that try to reset it
9590 2005-11-07 Wim Taymans <wim@fluendo.com>
9592 * gst/base/gstbasesrc.c: (gst_base_src_init),
9593 (gst_base_src_get_range):
9594 Set the segment_end to -1 initially. Fixed typefind.
9596 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9598 * gst/base/gstadapter.c:
9599 Debug category should be 'adapter', not 'GstAdapter'.
9601 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9602 (gst_collectpads_class_init), (gst_collectpads_init),
9603 (gst_collectpads_peek), (gst_collectpads_pop),
9604 (gst_collectpads_event), (gst_collectpads_chain):
9605 Add debug category and some debugging output. Use boilerplate
9606 macros. Remove some extraneous words from docs.
9608 2005-11-05 Andy Wingo <wingo@pobox.com>
9610 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9613 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9615 * docs/gst/gstreamer-sections.txt:
9618 * gst/gstminiobject.h:
9623 2005-11-04 Wim Taymans <wim@fluendo.com>
9625 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9626 Small update to stop at the configured segment_end
9629 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9631 * gst/gstregistry.c:
9632 * gst/gstregistry.h:
9635 2005-11-04 Edward Hervey <edward@fluendo.com>
9637 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9638 Check if we are doing a segment seek and have arrived at the
9639 end of that segment.
9641 2005-11-04 Wim Taymans <wim@fluendo.com>
9643 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9644 Don't leak a mutex unlock in case of an error.
9649 2005-11-04 Wim Taymans <wim@fluendo.com>
9651 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9653 Get the context to wake up only once.
9655 2005-11-03 Wim Taymans <wim@fluendo.com>
9657 * check/states/sinks.c: (GST_START_TEST):
9658 Uncomment fixed check.
9660 * docs/design/part-TODO.txt:
9663 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9664 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9665 (gst_base_sink_get_position):
9666 If we are going to PLAYING, post the right pending state
9667 when we post the intermediate paused message.
9669 * gst/gstelement.c: (gst_element_continue_state),
9670 (gst_element_set_state_func), (gst_element_change_state):
9671 Don't post state changes that were between the same state
9674 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9676 * docs/gst/gstreamer-sections.txt:
9679 * gst/gstminiobject.h:
9682 more docs and doc style fixes
9684 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9686 * docs/gst/gstreamer-sections.txt:
9688 * gst/gstminiobject.c:
9691 2005-11-03 Andy Wingo <wingo@pobox.com>
9693 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9694 state-changed messages actually have the right order and the right
9697 2005-11-03 Wim Taymans <wim@fluendo.com>
9699 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9700 Added some more checks. Specifically the case where NO_PREROLL
9701 elements are in the pipeline.
9703 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9704 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9705 (gst_base_sink_get_position):
9706 Post READY->PAUSED state change messages too.
9707 Fix bug where VOID was posted as pending state...
9709 * gst/gstbin.c: (gst_bin_recalc_state):
9710 use _element_continue_state() to continue the state change.
9712 * gst/gstelement.c: (gst_element_continue_state),
9713 (gst_element_commit_state), (gst_element_set_state_func),
9714 (gst_element_change_state), (gst_element_change_state_func):
9715 Lots of state change cleanups, assign the STATE_RETURN in
9716 a new continue_state() function that also propagates the
9717 last return value from a state change to the app.
9718 Update some debug statements with proper category.
9720 2005-11-03 Wim Taymans <wim@fluendo.com>
9722 * docs/design/part-events.txt:
9723 * docs/design/part-gstpipeline.txt:
9724 * docs/design/part-messages.txt:
9725 * docs/design/part-overview.txt:
9726 * docs/design/part-seeking.txt:
9727 * docs/design/part-states.txt:
9728 * docs/design/part-trickmodes.txt:
9729 * docs/manual/advanced-position.xml:
9733 People think !! is ugly, this looks better.
9735 * gst/gstpad.c: (gst_pad_set_blocked_async):
9736 Remove !! since it's fixed elsewhere now.
9738 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9740 * gst/gstminiobject.h:
9742 Add !! to _FLAG_IS_SET macros to make the result boolean.
9744 2005-11-03 Edward Hervey <edward@fluendo.com>
9746 * gst/gstpad.c: (gst_pad_set_blocked_async):
9747 comparing a flag and a gboolean rarely returns coherent results...
9748 Added two characters (!!) to make that work correctly.
9750 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9752 * gst/gstbus.c: (gst_bus_class_init):
9755 * gst/gstqueue.c: (gst_queue_loop):
9756 Don't assume a miniobject that isn't a buffer is an
9757 event (it could be that there is a refcounting
9758 problem somewhere and the pointer is stale and
9759 refers to an already destroyed miniobject).
9761 2005-11-03 Julien MOUTTE <julien@moutte.net>
9763 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9765 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9767 * docs/manual/advanced-position.xml:
9768 Update seek example and explanations to current 0.9 API.
9770 * gst/elements/gsttypefindelement.c:
9771 (gst_type_find_element_activate):
9772 Remove FIXME comment now that the found caps
9775 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9777 * gst/gstregistryxml.c: (load_feature):
9778 Add another GST_STR_NULL instance
9780 2005-11-02 Edward Hervey <edward@fluendo.com>
9782 * gst/gstpad.c: (handle_pad_block):
9783 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9785 2005-11-02 Wim Taymans <wim@fluendo.com>
9790 * gst/gstelement.c: (gst_element_commit_state):
9791 Remove unused value.
9793 * gst/gstiterator.c:
9794 Mention that the returned element is reffed in the docs.
9796 2005-11-02 Wim Taymans <wim@fluendo.com>
9798 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9799 (gst_pad_push), (gst_pad_push_event):
9800 Unlock blocked pads when they are flushed.
9802 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9805 * docs/gst/gstreamer-sections.txt:
9808 * gst/gstregistry.c: (gst_registry_scan_path_level):
9809 fix for a nasty little missed situation where an installed plug-in
9810 which was in the cache did not get overridden by an uninstalled one
9811 which was earlier in the plugin path because the newly created plugin
9812 for the uninstalled one (not in the registry) didn't get its
9813 ->registered set to TRUE
9815 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9817 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9818 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9819 (gst_collectpads_is_active), (gst_collectpads_collect),
9820 (gst_collectpads_collect_range), (gst_collectpads_start),
9821 (gst_collectpads_stop), (gst_collectpads_peek),
9822 (gst_collectpads_pop), (gst_collectpads_available),
9823 (gst_collectpads_read), (gst_collectpads_flush):
9824 Guard public API with assertions.
9827 Fix docs for gst_pad_set_link_function().
9829 2005-11-02 Johan Dahlin <johan@gnome.org>
9831 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9832 Unref found_caps after we used it.
9834 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9836 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9837 Don't try to ref NULL.
9839 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9841 * win32/common/config.h.in:
9842 provide a GST_FUNCTION that just gives a string for now
9844 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9846 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9847 (gst_object_flags_get_type), (register_gst_bin_flags),
9848 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9849 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9850 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9851 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9852 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9853 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9854 (gst_clock_flags_get_type), (register_gst_state),
9855 (gst_state_get_type), (register_gst_state_change_return),
9856 (gst_state_change_return_get_type), (register_gst_state_change),
9857 (gst_state_change_get_type), (register_gst_element_flags),
9858 (gst_element_flags_get_type), (register_gst_core_error),
9859 (gst_core_error_get_type), (register_gst_library_error),
9860 (gst_library_error_get_type), (register_gst_resource_error),
9861 (gst_resource_error_get_type), (register_gst_stream_error),
9862 (gst_stream_error_get_type), (register_gst_event_type),
9863 (gst_event_type_get_type), (register_gst_seek_type),
9864 (gst_seek_type_get_type), (register_gst_seek_flags),
9865 (gst_seek_flags_get_type), (register_gst_format),
9866 (gst_format_get_type), (register_gst_index_certainty),
9867 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9868 (gst_index_entry_type_get_type),
9869 (register_gst_index_lookup_method),
9870 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9871 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9872 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9873 (gst_index_flags_get_type), (register_gst_debug_level),
9874 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9875 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9876 (gst_iterator_result_get_type), (register_gst_iterator_item),
9877 (gst_iterator_item_get_type), (register_gst_message_type),
9878 (gst_message_type_get_type), (register_gst_mini_object_flags),
9879 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9880 (gst_pad_link_return_get_type), (register_gst_flow_return),
9881 (gst_flow_return_get_type), (register_gst_activate_mode),
9882 (gst_activate_mode_get_type), (register_gst_pad_direction),
9883 (gst_pad_direction_get_type), (register_gst_pad_flags),
9884 (gst_pad_flags_get_type), (register_gst_pad_presence),
9885 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9886 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9887 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9888 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9889 (gst_plugin_flags_get_type), (register_gst_rank),
9890 (gst_rank_get_type), (register_gst_query_type),
9891 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9892 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9893 (gst_tag_flag_get_type), (register_gst_task_state),
9894 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9895 (gst_alloc_trace_flags_get_type),
9896 (register_gst_type_find_probability),
9897 (gst_type_find_probability_get_type), (register_gst_uri_type),
9898 (gst_uri_type_get_type), (register_gst_parse_error),
9899 (gst_parse_error_get_type):
9900 * win32/common/gstversion.h:
9903 2005-11-01 Luca Ognibene <luogni@tin.it>
9906 fix docs. popt is dead, long live GOption.
9908 2005-10-31 Wim Taymans <wim@fluendo.com>
9913 2005-10-31 Andy Wingo <wingo@pobox.com>
9917 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9919 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9920 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9921 the possibility of deadlocks here if code calling notify() or
9922 set() has a lock that can be taken in another notify handler (ABBA
9923 with class lock and e.g. python GIL state lock).
9925 2005-10-28 Julien MOUTTE <julien@moutte.net>
9927 * gst/gstbus.c: Doc updates.
9929 2005-10-28 Wim Taymans <wim@fluendo.com>
9931 * docs/design/part-TODO.txt:
9932 * gst/gstiterator.c:
9933 * gst/gstsystemclock.c:
9934 * gst/gstsystemclock.h:
9937 2005-10-28 Edward Hervey <edward@fluendo.com>
9939 * docs/gst/gstreamer-docs.sgml:
9940 * docs/gst/gstreamer-sections.txt:
9941 the GstURIType documentation page is private, it only defines GstURIType
9942 which should be defined in the GstURIHandler page
9944 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
9946 * gst/gstbin.c: (gst_bin_class_init):
9949 Documentation updates.
9951 2005-10-28 Wim Taymans <wim@fluendo.com>
9953 * docs/gst/gstreamer-sections.txt:
9956 Documented the clocks.
9958 2005-10-28 Stefan Kost <ensonic@users.sf.net>
9960 * docs/gst/gstreamer-sections.txt:
9961 move some macros to private sections
9962 * gst/gstminiobject.c:
9963 * gst/gstminiobject.h:
9964 add descriptions provided by ds and some more
9966 mark macro as to be removed
9968 2005-10-28 Wim Taymans <wim@fluendo.com>
9970 * docs/design/part-TODO.txt:
9971 Add an item to TODO.
9973 * gst/gstiterator.c: (gst_iterator_fold),
9974 (gst_iterator_find_custom):
9975 * gst/gstiterator.h:
9978 2005-10-28 Wim Taymans <wim@fluendo.com>
9980 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
9981 (gst_base_transform_init):
9984 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
9985 An EOS event marks the queue as completely filled.
9987 2005-10-27 Wim Taymans <wim@fluendo.com>
9989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9990 (gst_base_sink_do_sync), (gst_base_sink_get_position):
9991 Some more debugging.
9993 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
9994 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
9995 (gst_base_transform_event), (gst_base_transform_getrange),
9996 (gst_base_transform_chain):
9997 * gst/base/gstbasetransform.h:
9999 Protect transform and concurrent buffer alloc with a new lock.
10000 Try not to break ABI/API.
10002 2005-10-27 Wim Taymans <wim@fluendo.com>
10004 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10005 (gst_base_src_init), (gst_base_src_query),
10006 (gst_base_src_default_newsegment),
10007 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10008 (gst_base_src_send_event), (gst_base_src_event_handler),
10009 (gst_base_src_pad_get_range), (gst_base_src_loop),
10010 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10011 (gst_base_src_start), (gst_base_src_deactivate),
10012 (gst_base_src_activate_push), (gst_base_src_change_state):
10013 Move some stuff around and cleanup things.
10015 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10017 * gst/base/gstbasesrc.c: (gst_base_src_query):
10018 Add missing break statements.
10020 2005-10-27 Wim Taymans <wim@fluendo.com>
10022 * check/gst/gstbin.c: (GST_START_TEST):
10023 An extra refcount is taken in basesrc.
10025 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10026 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10027 (gst_base_src_loop):
10028 Small cleanups, check for flushing after being unlocked from the
10029 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10030 Don't send out EOS when going to READY.
10032 2005-10-27 Wim Taymans <wim@fluendo.com>
10034 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10035 (gst_base_sink_get_position):
10038 * gst/gstbin.c: (message_check), (bin_replace_message),
10039 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10040 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10041 (bin_query_duration_init), (bin_query_duration_fold),
10042 (bin_query_duration_done), (bin_query_generic_fold),
10044 * tools/gst-launch.c: (main):
10047 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10049 * examples/controller/audio-example.c: (main):
10050 * examples/queue/queue.c: (event_loop):
10051 * gst/base/gstbasetransform.h:
10052 * gst/gstelement.c: (gst_element_send_event):
10054 * gst/gstpad.c: (gst_pad_send_event):
10057 changing log priority in error situations
10059 2005-10-25 Wim Taymans <wim@fluendo.com>
10061 * gst/gstbin.c: (message_check), (bin_replace_message),
10062 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10063 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10064 (bin_query_duration_init), (bin_query_duration_fold),
10065 (bin_query_duration_done), (bin_query_generic_fold),
10067 Some doc and debug updates.
10068 Cache previously requested query DURATION for speed. invalidate
10069 cached duration if element posts a DURATION message.
10071 2005-10-25 Wim Taymans <wim@fluendo.com>
10073 * docs/design/part-TODO.txt:
10076 * gst/gstbin.c: (message_check), (bin_replace_message),
10077 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10078 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10079 (bin_query_duration_init), (bin_query_duration_fold),
10080 (bin_query_duration_done), (bin_query_generic_fold),
10082 Handle SEGMENT_START/DONE messages correctly.
10083 More evolved query algorithm that handles duration queries
10086 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10087 (gst_element_get_state_func), (gst_element_abort_state),
10088 (gst_element_commit_state), (gst_element_lost_state):
10089 Some more debugging.
10091 * gst/gstmessage.h:
10094 2005-10-25 Wim Taymans <wim@fluendo.com>
10096 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10097 Don't use invalid stream_time.
10099 * gst/gstevent.c: (gst_event_new_newsegment):
10100 stream_time in newsegment cannot be undefined.
10102 2005-10-24 Wim Taymans <wim@fluendo.com>
10107 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10109 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10111 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10113 * docs/libs/tmpl/gstdparam.sgml:
10114 * docs/libs/tmpl/gstdplinint.sgml:
10115 * docs/libs/tmpl/gstdpman.sgml:
10116 * docs/libs/tmpl/gstdpsmooth.sgml:
10117 * docs/libs/tmpl/gstunitconvert.sgml:
10120 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10125 === release 0.9.4 ===
10127 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10130 releasing 0.9.4, "Tyrannosaurus Rex"
10132 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10134 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10135 (gst_file_sink_get_current_offset):
10136 Use fseeko() and ftello() if available. When falling back on
10137 lseek() to get the current offset, fflush() first to make sure
10138 everything is up-to-date and we get the right offset.
10140 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10143 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10144 * gst/gsterror.c: (_gst_stream_errors_init):
10146 * gst/gstqueue.c: (gst_queue_loop):
10148 remove prematurely added error category and clean up the instances
10150 2005-10-21 Wim Taymans <wim@fluendo.com>
10152 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10153 (gst_base_sink_get_position), (gst_base_sink_query),
10154 (gst_base_sink_change_state):
10155 Simply set the right flag when going to playing, that's all
10156 we need to do instead of calling a function inside the object
10157 lock (that could take the lock as well and deadlock)
10159 2005-10-21 Wim Taymans <wim@fluendo.com>
10161 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10162 (gst_base_src_loop):
10163 Don't warn, the peer element knows what to do best when
10164 the seek failed, it might try something else.
10166 2005-10-21 Wim Taymans <wim@fluendo.com>
10168 * gst/base/gstbasesrc.c: (gst_base_src_init),
10169 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10172 2005-10-21 Wim Taymans <wim@fluendo.com>
10174 * docs/design/part-segments.txt:
10177 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10178 Correctly set caps, even on the subbufer.
10180 2005-10-21 Wim Taymans <wim@fluendo.com>
10182 * docs/gst/gstreamer-docs.sgml:
10183 * docs/gst/gstreamer-sections.txt:
10184 * gst/gstelement.h:
10187 * gst/gstmessage.h:
10190 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10194 And 2% more doc coverage.
10196 2005-10-21 Andy Wingo <wingo@pobox.com>
10198 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10199 position reporting.
10201 2005-10-20 Wim Taymans <wim@fluendo.com>
10203 * gst/gsterror.c: (gst_error_get_message):
10206 * gst/gststructure.c:
10211 2005-10-20 Wim Taymans <wim@fluendo.com>
10216 Another 1% more coverage.
10218 2005-10-20 Wim Taymans <wim@fluendo.com>
10220 * docs/gst/gstreamer-sections.txt:
10221 * gst/gstelement.c: (gst_element_get_state_func),
10222 (gst_element_abort_state), (gst_element_commit_state),
10223 (gst_element_lost_state):
10225 * gst/gstquery.c: (gst_query_set_position),
10226 (gst_query_parse_position), (gst_query_set_duration),
10227 (gst_query_parse_duration), (gst_query_new_convert):
10229 Yay! 1% more docs coverage.
10231 2005-10-20 Wim Taymans <wim@fluendo.com>
10234 * gst/gstquery.c: (gst_query_set_position),
10235 (gst_query_parse_position), (gst_query_set_duration),
10236 (gst_query_parse_duration), (gst_query_new_convert):
10238 * gst/gstutils.c: (gst_element_query_convert):
10240 Docs and consistency fixes.
10242 2005-10-20 Wim Taymans <wim@fluendo.com>
10248 2005-10-20 Wim Taymans <wim@fluendo.com>
10250 * gst/gstbin.c: (message_check), (bin_replace_message),
10251 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10252 (update_degree), (gst_bin_sort_iterator_next),
10253 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10254 Reworked the message handling a bit, cache the messages instead of
10255 only the senders. alows us to do more in the future.
10257 2005-10-20 Wim Taymans <wim@fluendo.com>
10259 * docs/design/part-TODO.txt:
10262 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10263 (gst_base_sink_query):
10264 Don't use clock time to report position when in EOS.
10266 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10268 * tools/gst-inspect.c: (print_interfaces),
10269 (print_element_properties_info), (print_element_info):
10270 Fix interface output with gst-inspect -a; don't print
10271 newlines after double/float properties.
10273 2005-10-20 Wim Taymans <wim@fluendo.com>
10275 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10276 (gst_base_sink_query):
10277 Speed up current position calculation.
10279 * gst/base/gstbasesrc.c: (gst_base_src_query),
10280 (gst_base_src_default_newsegment):
10281 Correctly set stream position in newsegment.
10283 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10284 (update_degree), (gst_bin_sort_iterator_next),
10285 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10286 * gst/gstmessage.c: (gst_message_new_custom):
10287 Clean up debugging info
10289 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10290 (gst_queue_loop), (gst_queue_handle_src_query):
10293 2005-10-19 Wim Taymans <wim@fluendo.com>
10295 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10296 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10297 Fix query handling again.
10299 2005-10-19 Wim Taymans <wim@fluendo.com>
10301 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10302 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10303 * gst/base/gstbasesrc.c: (gst_base_src_query):
10304 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10305 * gst/elements/gsttypefindelement.c:
10306 (gst_type_find_handle_src_query), (find_element_get_length),
10307 (gst_type_find_element_activate):
10310 * gst/gstquery.c: (gst_query_new_position),
10311 (gst_query_set_position), (gst_query_parse_position),
10312 (gst_query_new_duration), (gst_query_set_duration),
10313 (gst_query_parse_duration), (gst_query_set_segment),
10314 (gst_query_parse_segment):
10316 Bundling query position/duration is not a good idea since duration
10317 does not change much and we don't want to recalculate it for every
10318 position query, so they are separated again..
10319 Base value in segment query is not needed.
10321 * gst/gstqueue.c: (gst_queue_handle_src_query):
10322 * gst/gstutils.c: (gst_element_query_position),
10323 (gst_element_query_duration), (gst_pad_query_position),
10324 (gst_pad_query_duration):
10326 Updates for query API change.
10327 Added some docs here and there.
10329 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10331 * check/gst/gstbin.c: (GST_START_TEST):
10332 * check/gst/gstghostpad.c: (GST_START_TEST):
10333 * check/pipelines/cleanup.c: (GST_START_TEST):
10334 wait on thread to die so we can check refcount correctly
10336 2005-10-18 Wim Taymans <wim@fluendo.com>
10338 * check/pipelines/stress.c: (GST_START_TEST):
10339 Make check a little more time consuming.
10341 2005-10-18 Wim Taymans <wim@fluendo.com>
10343 * check/Makefile.am:
10344 * check/pipelines/stress.c: (GST_START_TEST),
10345 (simple_launch_lines_suite), (main):
10346 Small state change torture test.
10348 * docs/design/part-states.txt:
10349 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10350 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10351 (gst_base_sink_change_state):
10352 Never take state lock from streaming thread, clean up ugly
10353 hacks. Unfortunatly core does not yet support nice ways to
10354 async commit state.
10356 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10358 Start state recalc if a STATE_DIRTY message is posted, but only
10359 on the toplevel bin.
10361 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10362 (gst_element_get_state_func), (gst_element_abort_state),
10363 (gst_element_commit_state), (gst_element_lost_state),
10364 (gst_element_set_state_func), (gst_element_change_state):
10365 * gst/gstelement.h:
10366 State variables are now protected with the LOCK, the state
10367 lock is only used to serialize _set_state().
10369 2005-10-18 Wim Taymans <wim@fluendo.com>
10371 * check/gst/gstbin.c: (GST_START_TEST):
10372 * check/gst/gstmessage.c: (GST_START_TEST):
10373 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10374 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10376 * gst/gstelement.c: (gst_element_abort_state),
10377 (gst_element_commit_state), (gst_element_lost_state):
10378 * gst/gstmessage.c: (gst_message_new_state_changed),
10379 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10380 (gst_message_new_segment_done), (gst_message_new_duration),
10381 (gst_message_parse_state_changed),
10382 (gst_message_parse_segment_start),
10383 (gst_message_parse_segment_done), (gst_message_parse_duration):
10384 * gst/gstmessage.h:
10385 * tools/gst-launch.c: (event_loop):
10386 Seriously, this is better than a previous commit as we only need
10387 to notify the fact that an element changed state in a streaming
10388 thread, marking the state of the parents dirty, hence the
10389 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10392 2005-10-18 Wim Taymans <wim@fluendo.com>
10394 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10395 (gst_bin_recalc_func):
10396 * gst/gstelement.c: (gst_element_set_clock),
10397 (gst_element_abort_state), (gst_element_lost_state):
10398 Cleanups, prepare for state change fixes.
10400 2005-10-18 Wim Taymans <wim@fluendo.com>
10403 * gst/gstelement.c: (gst_element_class_init),
10404 (gst_element_set_state), (gst_element_set_state_func):
10405 * gst/gstelement.h:
10406 Pending ABI changes.
10407 GThreadPool in GstBinClass to monitor async state changes.
10408 state_cookie in GstElement to detect concurrent gst/set state.
10409 set_state is now virtual too in case a very complicated element
10410 has to be constructed.
10412 2005-10-18 Wim Taymans <wim@fluendo.com>
10414 * check/gst/gstbin.c: (GST_START_TEST):
10415 * check/gst/gstmessage.c: (GST_START_TEST):
10416 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10417 * gst/gstbin.c: (bin_bus_handler):
10418 * gst/gstelement.c: (gst_element_commit_state),
10419 (gst_element_lost_state):
10420 * gst/gstmessage.c: (gst_message_new_state_changed),
10421 (gst_message_new_segment_start), (gst_message_new_segment_done),
10422 (gst_message_new_duration), (gst_message_parse_state_changed),
10423 (gst_message_parse_segment_start),
10424 (gst_message_parse_segment_done), (gst_message_parse_duration):
10425 * gst/gstmessage.h:
10426 * tools/gst-launch.c: (event_loop):
10427 Make messages future proof.
10428 state-change gets a flag if it was a message comming from the
10430 segment-start/stop can also be specified in other formats.
10431 A message to notify an app that a pipeline changed playback
10433 Also fix a GstMessage leak in -launch
10435 2005-10-18 Andy Wingo <wingo@pobox.com>
10437 * gst/gstelement.c (gst_element_dispose): More helpful message.
10439 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10441 reviewed by: <delete if not using a buddy>
10443 * common/gtk-doc.mak:
10445 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10447 * gst/gstregistry.c: (gst_registry_scan_path_level):
10448 unref a plug-in we get that was already initialized
10450 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10452 * docs/gst/gstreamer-sections.txt:
10453 * docs/libs/gstreamer-libs-sections.txt:
10454 * gst/gstelement.h:
10455 add new api entries
10456 hide internal macro
10458 2005-10-17 Andy Wingo <wingo@pobox.com>
10460 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10463 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10465 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10467 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10468 (gst_element_get_state_func): Better debug message.
10469 (gst_element_commit_state): s/INFO/DEBUG/.
10470 (gst_element_lost_state, gst_element_change_state):
10472 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10473 (gst_message_new_custom): s/INFO/LOG/.
10475 2005-10-17 Michael Smith <msmith@fluendo.com>
10477 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10478 Check if end time is valid using end time, not start time.
10480 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10482 * check/gst-libs/controller.c: (GST_START_TEST),
10483 (gst_controller_suite):
10484 * libs/gst/controller/gstcontroller.c:
10485 (gst_controlled_property_set_interpolation_mode):
10486 * libs/gst/controller/gstcontroller.h:
10487 * libs/gst/controller/gstinterpolation.c:
10488 * testsuite/controller/.cvsignore:
10489 * testsuite/controller/Makefile.am:
10490 * testsuite/controller/interpolator.c:
10491 merge controller testsuites
10493 remove mem-chunk from docs
10495 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10497 * gst/gstmemchunk.c:
10498 * gst/gstmemchunk.h:
10499 * gst/gsttrashstack.c:
10500 * gst/gsttrashstack.h:
10501 out. get out. you're fired. to the Attic !
10503 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10505 * gst/gstcaps.c: (gst_caps_intersect):
10506 fix signedness issues in a (hopefully) correct way
10507 * gst/gstelement.c: (gst_element_pads_activate):
10509 * gst/gstobject.c: (gst_object_set_parent):
10512 2005-10-17 Julien MOUTTE <julien@moutte.net>
10514 * gst/gstvalue.h: Fix prototypes.
10516 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10518 * docs/gst/gstreamer-sections.txt:
10519 * gst/gst.c: (gst_version_string):
10521 * gst/gstversion.h.in:
10522 * win32/common/libgstreamer.def:
10523 add gst_version_string ()
10525 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10529 * gst/gst.c: (init_post):
10530 * win32/common/config.h.in:
10532 * gst/gstcaps.c: (gst_caps_intersect):
10533 use gint64, the range could be bigger than a guint
10535 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10538 document potential problem in 2038
10540 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10542 * gst/gstcaps.c: (gst_caps_intersect):
10543 Fix guint j diving under 0
10545 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10548 * win32/common/config.h:
10549 * win32/common/config.h.in:
10550 check for process.h, declares getpid() on Windows
10552 include process.h if we have it
10553 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10554 * gst/gstmemchunk.h:
10555 fix signedness issues
10556 * win32/common/libgstreamer.def:
10559 2005-10-16 Julien MOUTTE <julien@moutte.net>
10561 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10562 fix. Because of unsigned ints, caps intersection was going nuts and
10563 trying to access structures with G_MAXUINT index. That fixes
10564 videotestsrc ! ffmpegcolorspace ! fakesink
10565 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10568 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10571 use the gettext macro
10572 * gst/elements/gstelements.c:
10574 * gst/indexers/gstindexers.c:
10575 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10576 * win32/common/config.h:
10578 * win32/common/config.h.in:
10579 add the template to generate config.h
10580 * win32/common/gstenumtypes.c:
10581 * win32/common/gstversion.h:
10584 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10586 * gst/gst.c: (gst_version):
10587 * gst/gstversion.h.in:
10590 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10593 Oops, add missing closing bracket.
10595 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10598 use common m4's for argument checking
10600 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10602 * docs/gst/gstreamer-sections.txt:
10604 Add GST_EVENT_TYPE_NAME() macro.
10606 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10609 * gst/gstpluginfeature.c:
10611 privatize more symbols
10613 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10616 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10617 everything that uses GStreamer API should have the includes
10619 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10621 * docs/gst/gstreamer-sections.txt:
10622 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10624 give each value a _get_type, removes the DATA exports
10626 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10630 remove _gst_registry_auto_load, not used anymore
10631 * gst/gstbin.c: (gst_bin_get_type):
10633 * gst/gstelement.c: (gst_element_get_type):
10634 * gst/gstelement.h:
10635 * gst/gstobject.c: (gst_object_get_type):
10637 * gst/gstpad.c: (gst_pad_get_type):
10639 make _get_type functions similar, fixes data export from library
10641 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10644 correctly make conditionals
10645 * gst/elements/Makefile.am:
10646 * gst/elements/gstelements.c:
10647 fix typo causing fdsrc not to build
10649 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10651 * testsuite/Makefile.am:
10652 * testsuite/bytestream/.cvsignore:
10653 * testsuite/bytestream/Makefile.am:
10654 * testsuite/bytestream/filepadsink.c:
10655 * testsuite/bytestream/gstbstest.c:
10656 * testsuite/bytestream/test1.c:
10657 * testsuite/bytestream/testfile1:
10658 * testsuite/caps/normalisation.c:
10659 * testsuite/caps/random.c: (main):
10660 * testsuite/cleanup/.cvsignore:
10661 * testsuite/cleanup/Makefile.am:
10662 * testsuite/cleanup/cleanup1.c:
10663 * testsuite/cleanup/cleanup2.c:
10664 * testsuite/cleanup/cleanup3.c:
10665 * testsuite/cleanup/cleanup4.c:
10666 * testsuite/cleanup/cleanup5.c:
10667 * testsuite/controller/interpolator.c:
10668 * testsuite/debug/printf_extension.c: (main):
10669 * testsuite/elements/tee.c:
10670 * testsuite/negotiation/.cvsignore:
10671 * testsuite/negotiation/Makefile.am:
10672 * testsuite/negotiation/pad_link.c:
10673 * testsuite/pad/Makefile.am:
10674 * testsuite/pad/chainnopull.c:
10675 * testsuite/pad/getnopush.c:
10676 * testsuite/pad/link.c:
10677 * testsuite/refcounting/sched.c: (create_pipeline):
10678 * testsuite/registry/Makefile.am:
10679 * testsuite/registry/gst-print-formats.c:
10680 * testsuite/schedulers/.cvsignore:
10681 * testsuite/schedulers/142183-2.c:
10682 * testsuite/schedulers/142183.c:
10683 * testsuite/schedulers/143777-2.c:
10684 * testsuite/schedulers/143777.c:
10685 * testsuite/schedulers/147713.c:
10686 * testsuite/schedulers/147819.c:
10687 * testsuite/schedulers/147894-2.c:
10688 * testsuite/schedulers/147894.c:
10689 * testsuite/schedulers/Makefile.am:
10690 * testsuite/schedulers/group_link.c:
10691 * testsuite/schedulers/queue_link.c:
10692 * testsuite/schedulers/relink.c:
10693 * testsuite/schedulers/unlink.c:
10694 * testsuite/schedulers/unref.c:
10695 * testsuite/schedulers/useless_iteration.c:
10696 * testsuite/states/bin.c:
10697 clean out/remove some stuff from the testsuite directories
10699 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10702 check for some headers
10703 * gst/elements/Makefile.am:
10704 * gst/elements/gstelements.c:
10705 don't compile fdsrc without sys/socket.h
10706 * gst/indexers/Makefile.am:
10707 * gst/indexers/gstindexers.c: (plugin_init):
10708 don't compile fileindex without mmap
10710 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10717 * check/Makefile.am:
10718 * docs/gst/Makefile.am:
10719 * examples/helloworld/Makefile.am:
10721 * gst/base/Makefile.am:
10722 * gst/check/Makefile.am:
10723 * gst/elements/Makefile.am:
10724 * gst/indexers/Makefile.am:
10725 * gst/parse/Makefile.am:
10726 * libs/gst/controller/Makefile.am:
10727 * libs/gst/dataprotocol/Makefile.am:
10728 * examples/helloworld/helloworld.c: (event_loop):
10729 compile fixes, though it's not being compiled currently
10731 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10733 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10734 Add some simple tests for the new taglist date API.
10736 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10738 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10739 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10740 Beautify 'last-message' output: print 'none' for buffer timestamps
10741 and durations if none is set; improve alignment with next messages.
10743 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10745 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10746 * gst/gstpluginfeature.h:
10747 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10748 * gst/gstregistry.h:
10749 * docs/gst/gstreamer-sections.txt:
10750 Add new API to check plugin feature version requirements.
10752 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10753 Some basic tests for the above.
10755 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10757 * gst/gststructure.c: (gst_structure_to_string):
10758 guard against NULL printf - happens when for example
10759 a message structure with GstClock gets serialized
10761 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10763 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10764 Fix presumable copy'n'pasto.
10766 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10768 * gst/elements/gstfakesrc.h:
10769 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10770 * gst/elements/gsttypefindelement.c:
10771 fix some signedness
10772 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10773 I wonder if this could actually write +2GB files before
10775 2005-10-13 Andy Wingo <wingo@pobox.com>
10777 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10778 Fix Timmeke Waymans bug.
10779 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10780 string of the proper length to gst_caps_from_string. There's a
10781 potential for, before this fix, that this could cause someone
10782 connecting over the network to cause a segfault if the payload is
10783 not NUL-terminated.
10785 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10787 * docs/design/draft-push-pull.txt:
10788 * docs/design/part-overview.txt:
10789 * docs/random/TODO-pre-0.9:
10790 * docs/random/old/ChangeLog.gstreamer:
10791 * gst/base/gstpushsrc.c:
10795 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10797 * gst/glib-compat.c: (gst_flags_get_first_value):
10798 * gst/glib-compat.h:
10799 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10800 (gst_value_compare_double), (gst_value_serialize_flags):
10801 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10804 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10807 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10809 * tools/gst-launch.c: (event_loop):
10810 print out clock nicely
10812 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10814 * docs/gst/gstreamer-sections.txt:
10815 * gst/gsttaglist.h:
10816 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10817 (gst_tag_list_get_date_index):
10818 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10819 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10821 2005-10-13 Julien MOUTTE <julien@moutte.net>
10823 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10824 (gst_collectpads_chain):
10825 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10828 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10830 * docs/gst/gstreamer-sections.txt:
10833 * tools/gst-inspect.c: (main):
10834 * tools/gst-launch.c: (main):
10835 * tools/gst-run.c: (main):
10836 * tools/gst-xmlinspect.c: (main):
10837 fix GOption context leaks
10840 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10844 * win32/common/config.h:
10846 * win32/vs6/grammar.dsp:
10847 * win32/vs6/libgstelements.dsp:
10848 * win32/vs6/libgstreamer.dsp:
10851 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10854 * gst/base/gstbasesrc.c: (gst_base_src_query):
10855 fix more guint64<->gdouble conversions
10857 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10860 add win32-update target
10861 * win32/common/gstconfig.h:
10862 * win32/common/gstenumtypes.c:
10863 * win32/common/gstenumtypes.h:
10864 * win32/common/gstversion.h:
10865 add files that visual studio can't generate
10867 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10870 add a win32-update target
10873 2005-10-12 Wim Taymans <wim@fluendo.com>
10875 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10876 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10877 * gst/gstelement.c: (gst_element_commit_state),
10878 (gst_element_set_state):
10879 Protect flags with proper lock.
10880 unref provided cached clock in dispose.
10882 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10885 * gst/gstminiobject.h:
10887 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10888 removed unused flags from miniobject
10891 2005-10-12 Wim Taymans <wim@fluendo.com>
10893 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10894 (gst_file_sink_event), (gst_file_sink_render):
10895 Flush before seeking.
10897 2005-10-12 Andy Wingo <wingo@pobox.com>
10899 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10900 always been the case.
10902 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10904 * check/gst/gstbin.c: (GST_START_TEST):
10905 * docs/gst/gstreamer-sections.txt:
10906 * gst/base/gstbasesink.c: (gst_base_sink_init):
10907 * gst/base/gstbasesrc.c: (gst_base_src_init),
10908 (gst_base_src_get_range), (gst_base_src_check_get_range),
10909 (gst_base_src_start), (gst_base_src_stop):
10910 * gst/base/gstbasesrc.h:
10911 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10912 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10913 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10917 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10919 * gst/gstelement.c: (gst_element_is_locked_state),
10920 (gst_element_set_locked_state), (gst_element_commit_state),
10921 (gst_element_set_state):
10922 * gst/gstelement.h:
10923 * gst/gstindex.c: (gst_index_init):
10925 * gst/gstminiobject.h:
10926 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10927 (gst_object_set_parent):
10929 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
10930 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
10932 * gst/gstpadtemplate.h:
10933 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
10934 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10935 * gst/gstpipeline.h:
10936 * gst/indexers/gstfileindex.c: (gst_file_index_load),
10937 (gst_file_index_commit):
10938 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
10939 * testsuite/pad/link.c: (gst_test_src_init),
10940 (gst_test_filter_init), (gst_test_sink_init):
10941 * testsuite/states/locked.c: (main):
10942 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
10943 moved bitshift from macro to enum definition
10945 2005-10-12 Wim Taymans <wim@fluendo.com>
10947 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
10948 * gst/elements/gstfilesink.c: (gst_file_sink_event),
10949 (gst_file_sink_render):
10950 Some more debugging info.
10952 2005-10-12 Wim Taymans <wim@fluendo.com>
10954 * docs/design/part-states.txt:
10955 * tools/gst-launch.c: (main):
10957 Revert non-intentional change.
10959 2005-10-12 Wim Taymans <wim@fluendo.com>
10961 * check/gst/gstbin.c: (GST_START_TEST):
10962 * check/gst/gstelement.c: (GST_START_TEST):
10963 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
10964 * check/gst/gstghostpad.c: (GST_START_TEST):
10965 * check/gst/gstpipeline.c: (GST_START_TEST):
10966 * check/pipelines/simple_launch_lines.c: (run_pipeline):
10967 * check/states/sinks.c: (GST_START_TEST):
10968 * gst/elements/gsttypefindelement.c: (stop_typefinding):
10969 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
10970 (gst_bin_remove_func), (gst_bin_get_state_func),
10971 (gst_bin_recalc_state), (gst_bin_change_state_func),
10973 * gst/gstelement.c: (gst_element_get_state_func),
10974 (gst_element_get_state), (gst_element_abort_state),
10975 (gst_element_commit_state), (gst_element_set_state),
10976 (gst_element_change_state), (gst_element_change_state_func):
10977 * gst/gstelement.h:
10978 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
10979 (gst_pipeline_provide_clock_func):
10980 * gst/gstutils.c: (gst_element_link_pads_filtered):
10981 * tools/gst-launch.c: (main):
10982 * tools/gst-typefind.c: (main):
10983 Use GstClockTime in _get_state() instead of GTimeVal.
10984 Remove old code in gstutils.c
10986 2005-10-12 Andy Wingo <wingo@pobox.com>
10988 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
10991 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
10992 there is no task. Shouldn't affect any code, as nothing in our
10993 plugins checks this return value.
10994 (gst_pad_stop_task): Also take the stream lock if the pad has no
10995 task. Docs updated.
10997 2005-10-12 Wim Taymans <wim@fluendo.com>
10999 * gst/gstpad.c: (pre_activate), (post_activate),
11000 (gst_pad_activate_pull), (gst_pad_activate_push):
11001 Cleanup activation code. Reset old state if
11004 2005-10-12 Wim Taymans <wim@fluendo.com>
11006 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11007 (gst_base_sink_change_state):
11008 No need to prerol after receiving EOS.
11010 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11011 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11012 * gst/elements/gstidentity.c: (gst_identity_event):
11013 Print events more verbosely.
11015 2005-10-12 Wim Taymans <wim@fluendo.com>
11017 * check/Makefile.am:
11018 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11019 * check/states/sinks2.c:
11020 Moved sinks2 testcode in sinks check.
11022 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11023 (gst_bin_remove_func), (gst_bin_recalc_state),
11024 (gst_bin_change_state_func), (bin_bus_handler):
11025 Fix potential race condition when _get_state() iterated over an
11026 ASYNC element right before it posted a state completion.
11029 Do proper cast here.
11031 * gst/gstevent.c: (gst_event_new_newsegment),
11032 (gst_event_parse_newsegment):
11033 A playback rate of 0.0 is not allowed.
11035 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11037 * win32/common/config.h:
11038 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11039 (_trewinddir), (_ttelldir), (_tseekdir):
11040 * win32/common/dirent.h:
11041 * win32/common/gtchar.h:
11042 * win32/common/libgstbase.def:
11043 * win32/common/libgstreamer.def:
11044 * win32/vs6/grammar.dsp:
11045 * win32/vs6/gst_inspect.dsp:
11046 * win32/vs6/gst_launch.dsp:
11047 * win32/vs6/gstreamer.dsw:
11048 * win32/vs6/libgstbase.dsp:
11049 * win32/vs6/libgstelements.dsp:
11050 * win32/vs6/libgstreamer.dsp:
11051 Visual Studio 6 project files, and a new common directory.
11054 2005-10-11 Wim Taymans <wim@fluendo.com>
11056 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11057 (gst_base_sink_do_sync), (gst_base_sink_query),
11058 (gst_base_sink_change_state):
11059 * gst/base/gstbasesink.h:
11060 Correctly parse newsegment info.
11062 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11064 * gst/gst.c: (init_post):
11065 split plugin paths correctly
11067 2005-10-11 Wim Taymans <wim@fluendo.com>
11069 * check/gst/gstevent.c: (GST_START_TEST):
11070 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11071 (gst_base_sink_change_state):
11072 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11073 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11074 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11075 * gst/gstevent.c: (gst_event_new_newsegment),
11076 (gst_event_parse_newsegment):
11078 Added extra flag to newsegment for future API freeze.
11079 Updated check and base elements.
11081 2005-10-11 Julien MOUTTE <julien@moutte.net>
11083 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11084 (gst_collectpads_add_pad), (gst_collectpads_pop),
11085 (gst_collectpads_event), (gst_collectpads_chain):
11086 * gst/base/gstcollectpads.h: Handle EOS correctly.
11088 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11090 * tools/gst-launch.c: (main):
11091 more null protecting
11093 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11095 * gst/gst-i18n-lib.h:
11096 check for ENABLE_NLS, not GETTEXT_PACKAGE
11097 * gst/gstregistry.c: (gst_registry_add_plugin),
11098 (gst_registry_scan_path_level),
11099 (_gst_registry_remove_cache_plugins):
11100 protect possibly NULL strings
11101 * gst/parse/types.h:
11102 config.h already included before
11103 * tools/gst-inspect.c: (main):
11104 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11105 check for ENABLE_NLS, not GETTEXT_PACKAGE
11106 * tools/gst-launch.c: (main):
11107 check for ENABLE_NLS, not GETTEXT_PACKAGE
11109 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11112 if we don't have glib, fail before testing 2.8
11113 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11114 fix a leak, should fix plugins-base testsuite
11116 2005-10-11 Andy Wingo <wingo@pobox.com>
11118 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11119 take the mode we're going to as an arg. Go head and set the mode
11120 and flushing flags now, so that if the activate function starts a
11121 thread all the flags will be in the right state.
11122 (post_activate): Renamed also. Just handle making sure streaming
11123 finishes for the deactivation case, and setting the deactivated
11125 (gst_pad_set_active): Complain loudly if deactivation fails.
11126 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11127 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11128 remove the terrible hack.
11130 2005-10-11 Wim Taymans <wim@fluendo.com>
11132 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11133 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11134 (gst_bin_recalc_state), (gst_bin_change_state_func),
11135 (gst_bin_dispose), (bin_bus_handler):
11137 Prepare to make current EOS message queue more generic.
11140 * gst/gstevent.c: (gst_event_new_newsegment),
11141 (gst_event_parse_newsegment):
11143 Rename base to stream_time.
11145 * gst/gstmessage.h:
11148 2005-10-11 Wim Taymans <wim@fluendo.com>
11150 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11151 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11152 (gst_bin_change_state_func), (bin_bus_handler):
11154 Work on proper clock selection.
11156 2005-10-11 Edward Hervey <edward@fluendo.com>
11158 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11159 * libs/gst/controller/gstcontroller.h:
11160 Added GList* version of _remove_properties() in order to be able to wrap
11163 2005-10-11 Wim Taymans <wim@fluendo.com>
11165 * docs/design/part-states.txt:
11168 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11169 (gst_bin_change_state_func), (bin_bus_handler):
11170 Doc updates. Don't distribute the same clock over and over again.
11176 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11177 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11178 (gst_pad_send_event):
11180 Make probe emission threadsafe again.
11181 Register quarks and move _get_name() from utils.
11184 * gst/gstpipeline.c: (gst_pipeline_class_init),
11185 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11186 Only redistribute the clock of it changed.
11188 * gst/gstsystemclock.h:
11193 Moved the _flow_get_name() to GstPad.
11195 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11197 * check/gst-libs/gdp.c: (GST_START_TEST):
11198 * check/gst/gstcaps.c: (GST_START_TEST):
11199 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11200 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11201 (gst_dp_packet_from_caps):
11202 fix more valgrind warnings before turning up the heat
11204 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11206 * gst/parse/grammar.y:
11207 some cleanup before the hacking
11209 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11211 * gst/base/gstbasesrc.c: (gst_base_src_query):
11213 * gst/gstutils.c: (gst_guint64_to_gdouble),
11214 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11216 externalize, basesrc uses it
11217 obviously the implementation needs testing
11219 2005-10-10 Wim Taymans <wim@fluendo.com>
11221 * tests/sched/Makefile.am:
11222 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11223 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11225 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11227 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11228 apparently converting from guint64 to double is not implemented
11231 2005-10-10 Wim Taymans <wim@fluendo.com>
11233 * check/Makefile.am:
11234 * check/generic/states.c: (GST_START_TEST):
11235 * check/gst/gstbin.c: (GST_START_TEST):
11236 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11237 * check/states/sinks.c: (GST_START_TEST):
11238 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11240 Check fixes, use API as stated in design docs, remove hacks.
11242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11243 (gst_base_sink_change_state):
11244 Catch stopping our task while we're shutting down.
11246 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11247 (gst_bin_remove_func), (gst_bin_get_state_func),
11248 (gst_bin_recalc_state), (gst_bin_change_state_func),
11251 * gst/gstelement.c: (gst_element_init),
11252 (gst_element_get_state_func), (gst_element_abort_state),
11253 (gst_element_commit_state), (gst_element_lost_state),
11254 (gst_element_set_state), (gst_element_change_state),
11255 (gst_element_change_state_func):
11256 * gst/gstelement.h:
11257 New state change algorithm (see #318116)
11259 * gst/gstpipeline.c: (gst_pipeline_class_init),
11260 (gst_pipeline_init), (gst_pipeline_set_property),
11261 (gst_pipeline_get_property), (do_pipeline_seek),
11262 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11263 * gst/gstpipeline.h:
11264 Remove crude state change hacks.
11267 Remove crude hacks.
11269 * tools/gst-launch.c: (main):
11270 Fixes for state change. Needs some more work to fully use the
11273 2005-10-10 Andy Wingo <wingo@pobox.com>
11275 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11277 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11278 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11281 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11283 * gst/gstiterator.c: (gst_iterator_new):
11284 Fix my previous commit: GTypes passed to gst_iterator_new()
11285 can be fundamental types.
11287 2005-10-10 Wim Taymans <wim@fluendo.com>
11289 * gst/gstelement.c: (gst_element_iterate_pad_list),
11290 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11291 (gst_element_iterate_sink_pads):
11292 Use src/sink pads lists for the respective iterators instead
11295 2005-10-10 Andy Wingo <wingo@pobox.com>
11297 Merged in popt removal + GOption addition patch from Ronald, bug
11300 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11301 GstElement macros around, remove popt-related symbols, add goption
11304 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11306 * docs/gst/Makefile.am:
11307 * docs/libs/Makefile.am: No POPT_CFLAGS.
11309 * examples/manual/Makefile.am:
11310 * docs/manual/basics-init.xml: Doc updates with an example.
11312 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11313 (gst_init), (parse_one_option), (parse_goption_arg):
11314 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11315 bit of hand merging and debugging to get the GOption stuff working
11318 * tests/Makefile.am:
11319 * tools/Makefile.am:
11320 * tools/gst-inspect.c: (main):
11321 * tools/gst-launch.c: (main):
11322 * tools/gst-run.c: (main):
11323 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11325 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11327 * gst/gstiterator.c: (gst_iterator_new):
11328 Add assertions to make sure passed GType is likely to really
11329 be a GType (as the compiler won't catch it if the size and
11330 GType arguments get mixed up, see #318447).
11332 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11334 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11336 * gst/gstbin.c: (gst_bin_iterate_sorted):
11337 Pass GType and size arguments to gst_iterator_new() in the right
11338 order (maybe we should make _new() take the GType as first argument
11339 just like _new_list()?) (#318447).
11342 2005-10-10 Wim Taymans <wim@fluendo.com>
11344 * gst/gstelement.c: (gst_element_finalize):
11345 And free the GStaticRecMutex too
11347 2005-10-10 Andy Wingo <wingo@pobox.com>
11349 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11350 Allocate and free the mutex properly.
11352 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11354 (GstElement): The state_lock is now recursive. Rebuild your
11355 plugins, suckers. Old macros adapted.
11357 * docs/gst/gstreamer-sections.txt: Doc updates.
11360 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11361 (g_static_rec_cond_wait): Ported from state changes patch, while
11362 we wait on bug #317802 to be solved in a well-distributed GLib.
11364 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11365 gst_element_change_state, variable name changes.
11366 (gst_element_change_state): Split out of gst_element_set_state in
11367 preparation for the state change merge. Doesn't pay attention to
11368 the 'transition' argument.
11369 (gst_element_set_state): Updates, hopefully purely cosmetic.
11370 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11371 state change patch.
11372 (gst_element_get_state_func): Renamed from get_state, cosmetic
11375 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11377 * gst/elements/gstelements.c:
11378 * win32/GStreamer.vcproj:
11380 * win32/dirent.c: (_tseekdir):
11381 * win32/gst-inspect.vcproj:
11382 * win32/gst-launch.vcproj:
11383 * win32/gstconfig.h:
11384 * win32/gstelements.vcproj:
11385 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11386 * win32/gstreamer.def:
11387 * win32/msvc71.sln:
11388 updates for the win32 build (patch from Sebastien Moutte)
11390 2005-10-10 Andy Wingo <wingo@pobox.com>
11392 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11393 gst_bin_get_state, cleaned up (but no logic changes).
11394 (bin_element_is_sink): Comment updates.
11395 (sink_iterator_filter): Remove needless cast.
11396 (gst_bin_iterate_sinks): Doc update.
11397 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11398 cleaned up (but no logic changes).
11400 * check/states/sinks.c (test_src_sink): Cleanups from the state
11402 (test_livesrc_sink): Sync on the state.
11404 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11405 the state change patch.
11407 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11410 * check/gst/gstbin.c: Merge in some style fixes and additional
11411 checks from Wim's state change patch.
11413 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11415 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11416 (gst_type_find_helper):
11417 Check whether we have the requested data already in our list of
11418 cached buffers before pulling a new buffer; also make the buffer
11419 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11421 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11426 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11427 don't use long long, it's not portable. Replacing with
11428 gint64 seems to work; let's hope no skeletons fall out of the closet.
11430 2005-10-10 Andy Wingo <wingo@pobox.com>
11432 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11434 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11436 * docs/gst/gstreamer-sections.txt:
11441 * gst/gstmessage.c: (gst_message_parse_state_changed):
11444 more docs, fix compilation
11446 2005-10-09 Philippe Khalaf <burger@speedy.org>
11447 * gst/gstmessage.c:
11448 Fixed a few forgotten variables on previous commit
11450 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11452 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11453 Fix evil typefind crasher: getrange() might return a short
11454 buffer at the end of a file, but gst_type_find_peek() must
11455 either return the full data as requested or NULL, but
11456 never a short buffer.
11458 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11460 * gst/gstmessage.c: (gst_message_new_state_changed),
11461 (gst_message_parse_state_changed):
11462 * gst/gstmessage.h:
11463 don't use "new", it's a C++ keyword
11465 2005-10-08 Wim Taymans <wim@fluendo.com>
11467 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11468 * gst/gstelement.c: (gst_element_post_message):
11469 * gst/gstpipeline.c: (gst_pipeline_change_state):
11470 Small docs and debug updates.
11472 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11474 * docs/gst/gstreamer-sections.txt:
11475 * gst/gstelementfactory.c:
11477 * gst/gsttaglist.c:
11480 2005-10-08 Wim Taymans <wim@fluendo.com>
11482 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11483 (gst_bin_dispose), (bin_bus_handler):
11484 Fix typos, add comments.
11485 Clear EOS list when going to PAUSED from any direction and do it
11486 in a threadsafe way.
11487 Get base time in a threadsafe way too.
11488 Fix confusing debug in the change_state function.
11489 Various other small cleanups.
11491 * gst/gstelement.c: (gst_element_post_message):
11492 Fix very verbose bus posting code.
11494 * gst/gstpipeline.c: (gst_pipeline_class_init),
11495 (gst_pipeline_set_property), (gst_pipeline_get_property),
11496 (gst_pipeline_change_state):
11497 Small ARG_ -> PROP_ cleanup
11499 2005-10-08 Wim Taymans <wim@fluendo.com>
11501 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11502 Do a less CPU demanding EOS check because we can.
11504 2005-10-08 Wim Taymans <wim@fluendo.com>
11506 * libs/gst/dataprotocol/dataprotocol.c:
11507 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11508 (gst_dp_packet_from_event):
11509 * libs/gst/dataprotocol/dataprotocol.h:
11510 * libs/gst/dataprotocol/dp-private.h:
11511 It's about time we bump the version number.
11512 Since event types don't fit in the guint8 anymore describing
11513 the payload type, make payload type 16 bits wide.
11515 2005-10-08 Wim Taymans <wim@fluendo.com>
11517 * docs/design/part-TODO.txt:
11518 * docs/design/part-clocks.txt:
11519 * docs/design/part-events.txt:
11520 * docs/design/part-gstbin.txt:
11521 * docs/design/part-gstelement.txt:
11522 * docs/design/part-gstpipeline.txt:
11523 * docs/design/part-live-source.txt:
11524 * docs/design/part-messages.txt:
11525 * docs/design/part-overview.txt:
11526 * docs/design/part-states.txt:
11529 2005-10-08 Wim Taymans <wim@fluendo.com>
11533 Fix event quark registration.
11534 Add some space between events so we can insert them in the
11537 2005-10-08 Wim Taymans <wim@fluendo.com>
11539 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11540 (gst_base_sink_handle_buffer):
11541 Better log message.
11544 * gst/gstelement.h:
11547 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11548 (gst_queue_set_property), (gst_queue_get_property):
11550 Remove old unused properties.
11552 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11553 * docs/gst/gstreamer-sections.txt:
11554 * gst/gstmessage.c:
11555 * gst/gstmessage.h:
11556 * gst/gstminiobject.c:
11557 * gst/gstminiobject.h:
11561 lots of new docs and doc fixes
11563 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11565 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11567 * gst/gstregistry.c: (gst_registry_lookup_locked),
11568 (gst_registry_scan_path_level):
11569 * gst/gstregistryxml.c: (load_plugin):
11570 Only ever load one plugin for a given plugin basename.
11571 This ensures correct overriding of GST_PLUGIN_PATH over
11572 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11573 system installed plugins.
11575 2005-10-08 Wim Taymans <wim@fluendo.com>
11577 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11578 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11579 Prepare for doing QOS.
11581 2005-10-08 Wim Taymans <wim@fluendo.com>
11583 * check/gst/gstbin.c: (GST_START_TEST):
11584 * check/pipelines/cleanup.c: (GST_START_TEST):
11585 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11586 Allow new clock message too.
11588 2005-10-08 Wim Taymans <wim@fluendo.com>
11590 * gst/gstmessage.c: (gst_message_new_error),
11591 (gst_message_new_warning), (gst_message_new_tag),
11592 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11593 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11594 (gst_message_new_segment_start), (gst_message_new_segment_done),
11595 (gst_message_parse_state_changed),
11596 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11597 (gst_message_parse_new_clock):
11598 * gst/gstmessage.h:
11599 Also carry the clock in question.
11601 2005-10-08 Wim Taymans <wim@fluendo.com>
11603 * gst/gstmessage.c: (gst_message_new_custom),
11604 (gst_message_new_eos), (gst_message_new_error),
11605 (gst_message_new_warning), (gst_message_new_tag),
11606 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11607 (gst_message_new_new_clock), (gst_message_new_segment_start),
11608 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11609 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11610 * gst/gstmessage.h:
11612 Added clock related messages.
11614 * gst/gstpipeline.c: (gst_pipeline_change_state):
11615 Post message when the clock changed.
11617 * tools/gst-launch.c: (event_loop):
11620 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11622 * tools/gst-inspect.c: (print_element_properties_info):
11623 Can't pass NULL strings to g_print() on windows.
11625 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11627 * docs/Makefile.am:
11628 * docs/gst/Makefile.am:
11629 * docs/gst/gstreamer-docs.sgml:
11630 * docs/gst/running.xml:
11631 * docs/version.entities.in:
11632 add a chapter on running GStreamer.
11633 document GST_DEBUG and GST_PLUGIN* env vars
11635 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11640 remove PLUGINS_BUILDDIR stuff
11641 * gst/gst.c: (init_post):
11642 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11644 remove, it was condescending and not needed
11646 2005-10-08 Wim Taymans <wim@fluendo.com>
11648 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11649 (gst_base_sink_handle_object), (gst_base_sink_event),
11650 (gst_base_sink_wait), (gst_base_sink_handle_event),
11651 (gst_base_sink_change_state):
11652 * gst/base/gstbasesink.h:
11653 Repost EOS message while going to PLAYING if still EOS.
11654 Make sure that when receiving a FLUSH_START we don't attempt
11655 to sync on the clock anymore.
11657 2005-10-08 Wim Taymans <wim@fluendo.com>
11659 * tools/gst-launch.c: (event_loop):
11660 Better message printout.
11662 2005-10-08 Wim Taymans <wim@fluendo.com>
11664 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11665 (gst_bin_child_proxy_get_children_count):
11666 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11667 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11668 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11669 (gst_child_proxy_set_valist):
11670 * gst/parse/grammar.y:
11671 Make ChildProxy threadsafe and fix mem leaks.
11673 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11675 * gst/gst.c: (init_post):
11676 debug the GST_PLUGIN_ env vars
11678 2005-10-08 Wim Taymans <wim@fluendo.com>
11680 * check/gst/gstbin.c: (GST_START_TEST):
11681 * check/gst/gstmessage.c: (GST_START_TEST):
11682 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11683 * gst/gstelement.c: (gst_element_commit_state),
11684 (gst_element_lost_state):
11685 * gst/gstmessage.c: (gst_message_new_state_changed),
11686 (gst_message_parse_state_changed):
11687 * gst/gstmessage.h:
11688 * tools/gst-launch.c: (event_loop):
11689 Added extra field to STATE_CHANGE message with the pending
11690 state, which will be different from the new state soon.
11692 2005-10-08 Wim Taymans <wim@fluendo.com>
11694 * gst/gstbus.c: (gst_bus_pop):
11696 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11697 Small cleanups and doc updates.
11699 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11701 * gst/gst.c: (init_pre):
11702 * gst/gstbin.c: (gst_bin_add_func):
11703 log distributing clocks and base time
11704 * gst/gstregistry.c: (gst_registry_add_plugin),
11705 (gst_registry_scan_path_level), (gst_registry_scan_path):
11706 clean up the debugging output a little
11707 * gst/gstutils.c: (gst_element_state_get_name):
11708 warn about a memleak (I've actually seen this be used, though
11709 it was probably a bug)
11711 2005-10-07 Wim Taymans <wim@fluendo.com>
11713 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11714 (gst_base_src_init), (gst_base_src_default_newsegment),
11715 (gst_base_src_newsegment), (gst_base_src_do_seek),
11716 (gst_base_src_loop), (gst_base_src_start):
11717 * gst/base/gstbasesrc.h:
11718 Make the newsegment event customizable by subclasses.
11720 2005-10-07 Wim Taymans <wim@fluendo.com>
11722 * gst/gstevent.c: (gst_event_new_buffersize),
11723 (gst_event_parse_buffersize):
11725 New event for future idea.
11727 2005-10-07 Andy Wingo <wingo@pobox.com>
11729 * gst/gstelement.c (gst_element_post_message): Doc update.
11731 * docs/gst/gstreamer-sections.txt: Update.
11733 * gst/gstmessage.c (gst_message_new_application): Made into a
11734 function like honest API calls.
11735 (gst_message_new_element): New message type.
11737 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11739 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11740 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11743 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11744 NO_PREROLL from gst_element_change_state to fall through.
11746 2005-10-07 Wim Taymans <wim@fluendo.com>
11748 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11749 (gst_ghost_pad_do_activate_push):
11750 Activating a ghostpad with no internal pad in push mode
11753 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11756 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11757 Fixes compilation on Windows.
11759 2005-10-07 Michael Smith <msmith@fluendo.com>
11761 * tools/gst-inspect.c:
11762 Print out feature and plugin count at the end when printing out
11765 2005-10-04 Michael Smith <msmith@fluendo.com>
11767 * gst/gsterror.c: (_gst_stream_errors_init):
11768 Add another error string used in a few existing plugins.
11771 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11772 * tools/gst-inspect.c: (print_element_info):
11773 When a feature disappears from a plugin (and the feature exists in
11774 the cached registry file), things went horribly wrong. This isn't a
11775 complete fix, we should actually be removing the 'missing' features
11776 from the features list when we load the actual plugin. That's not
11779 2005-10-04 Johan Dahlin <johan@gnome.org>
11781 * check/gst/gstiterator.c: (GST_START_TEST):
11782 * gst/gstbin.c: (gst_bin_iterate_elements),
11783 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11784 * gst/gstelement.c: (gst_element_iterate_pads):
11785 * gst/gstformat.c: (gst_format_iterate_definitions):
11786 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11787 (gst_iterator_new_list), (gst_iterator_filter):
11788 * gst/gstiterator.h:
11789 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11790 Add a GType to GstIterator, update callsites and tests.
11792 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11794 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11795 give events a chance to be handled by event probes when the pad
11798 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11800 * gst/gstevent.c: (gst_event_type_get_name),
11801 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11803 add string representations for event types
11805 2005-10-06 Wim Taymans <wim@fluendo.com>
11807 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11808 Don't use NULL pointers.
11810 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11812 * gst/gst_private.h:
11814 * gst/gstelement.c:
11816 * gst/gstpluginfeature.c:
11817 widen the debug category in output to fit the biggest one we have
11818 add a bus category and use it
11819 play with the colors
11820 fix up some categories
11822 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11824 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11825 add push activation of sink ghost pads.
11826 Andye, please verify
11828 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11830 * gst/gstutils.c: (gst_element_link_pads):
11831 fix a bug in the case where neither element has a pad
11832 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11833 add a test for that case
11835 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11837 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11838 emit have-data before checking for peers. This allows
11839 for probe handlers to connect elements. This helps autopluggers.
11840 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11842 add six checks, linked/unlinked with no/true/false probe
11844 2005-10-04 Wim Taymans <wim@fluendo.com>
11846 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11847 (gst_fake_sink_event), (gst_fake_sink_preroll),
11848 (gst_fake_sink_render), (gst_fake_sink_change_state):
11849 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11850 (gst_fake_src_get_property), (gst_fake_src_create),
11851 (gst_fake_src_stop):
11852 * gst/elements/gstidentity.c: (gst_identity_stop):
11853 Protect last_message with lock.
11855 2005-10-04 Edward Hervey <edward@fluendo.com>
11858 Added precision in the comments for GST_FORMAT_DEFAULT
11860 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11862 * tools/gst-launch.c: (main):
11863 Don't try to run erroneous pipelines.
11865 2005-10-04 Julien MOUTTE <julien@moutte.net>
11867 * gst/gstbus.c: We don't need this header.
11869 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11872 back to development
11874 === release 0.9.3 ===
11876 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11880 Releasing 0.9.3, "Unregistered"
11882 2005-10-03 Andy Wingo <wingo@pobox.com>
11884 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11885 whereby calling a pad's activatepush() function can start a thread
11886 that starts to push or pull before the pad gets the FLUSHING flag
11887 unset. Hack around it by holding the stream lock until the flag is
11888 set. Need to replace this with a proper solution. Together with
11889 the ghost pad fixes, this fixes mp3 playing/tagreading.
11891 * docs/design/part-gstghostpad.txt: Add a note about activation of
11892 proxy pads outside of ghost pads.
11894 * gst/gstghostpad.c: Implement the ghost pad activation design.
11896 2005-10-02 Andy Wingo <wingo@pobox.com>
11898 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11899 It is volatile, after all.
11901 * docs/design/part-gstghostpad.txt: Flesh out activation with
11904 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11907 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11910 Fix (unused) AM_CONDITIONAL tests.
11912 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11914 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11916 * gst/gstutils.c: (gst_pad_query_convert):
11917 Add assertion that makes sure src_val is >=0, just like
11918 gst_query_new_convert() has. (#315895)
11920 2005-09-30 Edward Hervey <edward@fluendo.com>
11922 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11923 Let's not iterate pads we're not interested in, it avoids getting
11924 sky-high refcounts on sinkpad.
11926 2005-09-30 Wim Taymans <wim@fluendo.com>
11928 * gst/gstelement.c: (gst_element_set_state),
11929 (gst_element_change_state):
11930 Small tweak, element in ASYNC remains ASYNC.
11932 2005-09-30 Wim Taymans <wim@fluendo.com>
11934 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
11935 Only error is an error.
11937 * gst/gstbin.c: (gst_bin_change_state):
11940 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
11941 Also call pad_block in pad alloc.
11943 * gst/gstutils.c: (gst_flow_get_name):
11946 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
11948 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11949 (gst_base_src_get_range):
11950 Fix documentation typos. Add some more debug info.
11952 2005-09-29 David Schleef <ds@schleef.org>
11954 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
11955 more end-user friendly.
11956 * tools/gst-inspect.c: (main): Check if command-line argument is
11957 a file and attempt to load that file as a plugin.
11959 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11961 * check/gst/gstbin.c:
11962 * check/states/sinks.c:
11963 fix tests for the new warning
11964 * check/gst/gstpipeline.c:
11965 add a test for pipeline and bus interaction
11966 * gst/gstelement.c:
11967 elements should be NULL if they get disposed; add a warning if not
11969 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
11972 for 2.6 refcounting, make debug log more correct by printing
11973 the actual refcounts at the time of swap (Wim)
11975 2005-09-29 Andy Wingo <wingo@pobox.com>
11977 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
11978 removes signal watches previously added via
11979 gst_bus_add_signal_watch.
11980 (gst_bus_add_signal_watch): Don't return the source id, just store
11981 it on the bus if there wasn't an id already.
11983 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
11984 add_signal_watch and remove_signal_watch.
11986 2005-09-29 Edward Hervey <edward@fluendo.com>
11988 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
11989 Better if we actually iterate the list :)
11991 2005-09-29 Wim Taymans <wim@fluendo.com>
11993 * check/gst/gstbin.c: (GST_START_TEST):
11994 Change for new bus API.
11996 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
11997 (send_messages), (GST_START_TEST), (gstbus_suite):
11998 Change for new bus signal API.
12000 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12001 (gst_bus_source_prepare), (gst_bus_source_check),
12002 (gst_bus_create_watch), (gst_bus_add_watch_full),
12003 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12004 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12006 Remove support for multiple GSources operating on different
12007 message types as it is too complex and unneeded when using
12009 Added support for receiving signals from the bus.
12011 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12013 * docs/libs/tmpl/gstdataprotocol.sgml:
12014 * docs/manual/advanced-dataaccess.xml:
12015 * gst/elements/gstcapsfilter.c:
12017 rename filter-caps to caps property
12019 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12021 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12022 More robust fraction string parsing.
12024 * docs/pwg/appendix-porting.xml:
12025 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12027 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12029 * gst/gstcaps.c: (gst_caps_do_simplify):
12030 Thou shalt not free a structure and then continue using it
12031 in the next loop iteration.
12033 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12035 Add test case for caps simplification.
12037 2005-09-29 Wim Taymans <wim@fluendo.com>
12039 * check/gst/gstbin.c: (GST_START_TEST):
12042 2005-09-29 Wim Taymans <wim@fluendo.com>
12044 * check/gst/gstbin.c: (GST_START_TEST):
12047 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12048 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12049 (find_element), (gst_bin_sort_iterator_next),
12050 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12051 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12052 (gst_bin_change_state), (gst_bin_dispose):
12053 A bin does not have a bus, it gets the bus from the parent.
12055 * gst/gstelement.c: (gst_element_requires_clock),
12056 (gst_element_provides_clock), (gst_element_is_indexable),
12057 (gst_element_is_locked_state), (gst_element_change_state),
12058 (gst_element_set_bus_func):
12061 * gst/gstpipeline.c: (gst_pipeline_class_init),
12062 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12063 The pipeline provides a bus.
12065 2005-09-28 Johan Dahlin <johan@gnome.org>
12067 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12068 gst_structure_get_enum instead of gst_structure_get_int
12070 * gst/gststructure.c (gst_structure_get_enum): Impl.
12072 * gst/gststructure.h (gst_structure_get_enum): Add
12074 * docs/gst/gstreamer-sections.txt: Ditto
12076 * gst/gstmessage.c (gst_message_new_state_changed): Use
12077 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12078 which does introspection.
12079 Reviewed by Christian Schaller
12081 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12083 * gst/gstinfo.c: (gst_debug_log_default):
12084 don't do dummy g_strdup()s
12085 * libs/gst/controller/gstcontroller.c:
12086 (on_object_controlled_property_changed),
12087 (gst_controlled_property_new), (gst_controller_new_valist),
12088 (gst_controller_new_list),
12089 (gst_controller_remove_properties_valist), (gst_controller_set),
12090 (gst_controller_get), (gst_controller_sync_values),
12091 (gst_controller_get_value_array), (_gst_controller_class_init),
12092 (gst_controller_get_type):
12093 * libs/gst/controller/gstcontroller.h:
12094 * libs/gst/controller/gstinterpolation.c:
12095 (gst_controlled_property_find_timed_value_node):
12096 convert // to /**/ comments
12098 2005-09-28 Wim Taymans <wim@fluendo.com>
12100 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12101 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12102 (gst_bus_sync_signal_handler):
12104 Added async-message and sync-message signals to the bus.
12105 Added helper BusFunc to emit signals for all posted messages.
12107 * gst/gstmessage.c: (gst_message_type_get_name),
12108 (gst_message_type_to_quark), (gst_message_get_type):
12109 * gst/gstmessage.h:
12110 Register quarks for message names.
12112 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12114 * docs/libs/gstreamer-libs-sections.txt:
12115 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12116 (gst_controller_new_list):
12117 * libs/gst/controller/gstcontroller.h:
12118 added another constructor for language bindings
12120 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12122 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12126 * gst/gstinfo.c: (_gst_debug_init):
12127 slightly more readable color for refcount debugging
12129 2005-09-28 Wim Taymans <wim@fluendo.com>
12131 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12132 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12133 (find_element), (gst_bin_sort_iterator_next),
12134 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12135 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12136 (gst_bin_change_state), (gst_bin_dispose):
12137 Small doc fixes. get_clock -> provide_clock.
12139 * gst/gstelement.c: (gst_element_class_init),
12140 (gst_element_provides_clock), (gst_element_provide_clock),
12141 (gst_element_get_clock), (gst_element_commit_state),
12142 (gst_element_lost_state):
12143 * gst/gstelement.h:
12144 Make get/set_clock() symetric. Add provide_clock vmethod since
12145 that is actually what this function does.
12147 * gst/gstpipeline.c: (gst_pipeline_class_init),
12148 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12149 (gst_pipeline_get_clock):
12150 get_clock -> provide_clock.
12152 2005-09-28 Andy Wingo <wingo@pobox.com>
12154 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12155 lieu of real docs...
12157 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12159 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12161 * gst/elements/gstcapsfilter.c:
12162 * gst/elements/gstfakesink.c:
12163 * gst/elements/gstfakesrc.c:
12164 * gst/elements/gstfdsink.c:
12165 * gst/elements/gstfdsrc.c:
12166 * gst/elements/gstfilesink.c:
12167 * gst/elements/gstfilesrc.c:
12168 * gst/elements/gstidentity.c:
12169 * gst/elements/gsttee.c:
12170 * gst/elements/gsttypefindelement.c:
12171 Make element details static.
12173 2005-09-28 Wim Taymans <wim@fluendo.com>
12175 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12176 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12177 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12178 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12179 (gst_bin_change_state), (gst_bin_dispose):
12180 Some documentation updates.
12181 Clean up dispose handlers.
12183 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12184 * gst/gstpad.c: (gst_pad_dispose):
12185 Clean up dispose handler.
12187 * gst/gstpipeline.c: (gst_pipeline_change_state):
12188 Removed spurious UNLOCK.
12190 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12192 * docs/gst/gstreamer-sections.txt:
12193 * gst/base/gstbasesrc.h:
12194 * gst/gstelement.h:
12198 * gst/gstpipeline.c:
12199 * gst/gstpipeline.h:
12202 added two new functions to the docs
12203 documents all undocumented GstXXXFlags
12204 completed some incomplete docs
12206 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12208 * gst/gstbin.c: (gst_bin_dispose):
12209 * gst/gstelement.c: (gst_element_dispose):
12210 remove now useless and leaky resurrection code in dispose
12211 * gst/base/gstbasesrc.c: (gst_base_src_init):
12212 * gst/gstelementfactory.c: (gst_element_factory_create):
12213 * gst/gstobject.c: (gst_object_set_parent):
12216 2005-09-27 Wim Taymans <wim@fluendo.com>
12218 * docs/design/part-TODO.txt:
12221 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12222 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12223 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12224 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12225 (gst_bin_change_state):
12226 * gst/gstelement.h:
12227 Remove element variable, we keep element info in the iterator now.
12229 2005-09-27 Andy Wingo <wingo@pobox.com>
12231 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12234 2005-09-27 Wim Taymans <wim@fluendo.com>
12236 * check/gst/gstbin.c: (GST_START_TEST):
12237 Enable check that works now.
12239 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12240 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12241 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12242 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12243 (gst_bin_change_state):
12245 Redid the state change algorithm using a topological sort algo.
12246 Handles all cases correctly.
12247 Exposed iterator for state change order.
12249 * gst/gstelement.h:
12250 Temp storage for state changes. Need to get rid of this soon.
12252 2005-09-27 Wim Taymans <wim@fluendo.com>
12254 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12255 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12256 (link_fold_func), (gst_pad_proxy_setcaps):
12257 Leak fixes, the fold functions need to unref the passed object and
12258 _get_parent_*() returns ref to parent.
12260 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12262 * check/gst/gstbuffer.c: (test_make_writable):
12263 Plug leak in test case and fix 'make check-valgrind'
12265 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12267 * gst/gstbuffer.c: (gst_subbuffer_init):
12268 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12269 works correctly in all circumstances (we could have just copied
12270 the parent buffer's readonly flag, but conceptually it seems
12271 cleaner to mark all subbuffers as read-only). (based on patch
12272 by Alessandro Decina, #314710).
12274 * check/gst/gstbuffer.c: (create_read_only_buffer),
12275 (test_make_writable), (test_subbuffer_make_writable),
12277 Add some tests for gst_buffer_make_writable().
12279 2005-09-27 Wim Taymans <wim@fluendo.com>
12281 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12282 use gst_object_has_ancestor().
12284 * gst/gstobject.c: (gst_object_has_ancestor):
12286 gst_object_has_ancestor() copied from gstbin.c as it is a
12289 * tests/instantiate/create.c: (create_all_elements):
12290 * tests/lat.c: (handoff_src), (handoff_sink):
12291 * tests/sched/runxml.c: (main):
12292 * tests/seeking/seeking1.c: (main):
12293 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12295 Fix compilation of some tests.
12297 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12300 Remove comment. GST_TYPE_G_ERROR is here to stay,
12301 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12302 (#316961, #300610).
12304 2005-09-26 Wim Taymans <wim@fluendo.com>
12306 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12307 Added check that shows error in state change order.
12309 2005-09-26 Wim Taymans <wim@fluendo.com>
12311 * gst/gstbin.c: (gst_bin_change_state):
12312 Make state change function use 3 queues again, we were
12313 adding elements in the wrong order.
12315 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12318 * gst/gstpad.c: (gst_pad_dispose):
12319 Added some debug info first.
12321 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12323 * docs/design/draft-push-pull.txt:
12324 * docs/design/part-events.txt:
12325 * docs/design/part-overview.txt:
12326 * docs/design/part-scheduling.txt:
12327 Replace all _pull_region() with _pull_range()
12329 2005-09-26 Andy Wingo <wingo@pobox.com>
12331 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12333 * check/gst-libs/controller.c: Update for controller api change.
12336 * tests/Makefile.am:
12337 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12338 over by GLib bug 118439.
12340 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12341 routines to a function.
12343 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12345 * libs/gst/controller/gsthelper.c:
12346 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12347 (gst_object_sync_values): Renamed from sink_values. Ugh.
12349 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12351 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12352 Renamed from controller_key, as it is exported.
12354 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12356 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12361 * gst/gstpadtemplate.h:
12364 * gst/gstqueryutils.c:
12365 * gst/gstqueryutils.h:
12366 remove queryutils headers after moving the two used functions
12367 to gstquery. also fixes build problem for gstsiddec
12369 2005-09-26 Michael Smith <msmith@fluendo.com>
12371 * tools/gst-launch.1.in:
12372 Correct documentation in manpage of debug syntax
12374 2005-09-26 Wim Taymans <wim@fluendo.com>
12376 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12377 (gst_base_src_is_seekable), (gst_base_src_change_state):
12378 Some more debugging info.
12380 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12382 * docs/gst/gstreamer-sections.txt:
12383 * gst/base/gstbasetransform.h:
12387 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12389 * docs/gst/.cvsignore:
12390 * docs/gst/tmpl/.cvsignore:
12391 * docs/gst/tmpl/gstpipeline.sgml:
12392 * docs/gst/tmpl/gstplugin.sgml:
12393 * gst/gstpipeline.c:
12396 inlined the last two docs files
12397 removed the tmpl directory from cvs (no more conflicts here!)
12399 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12401 * docs/gst/gstreamer-sections.txt:
12402 * docs/gst/tmpl/.cvsignore:
12403 * docs/gst/tmpl/gstpad.sgml:
12404 * docs/gst/tmpl/gstpadtemplate.sgml:
12406 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12407 (gst_pad_finalize), (gst_pad_set_pad_template):
12409 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12410 (gst_pad_template_class_init), (gst_pad_template_init),
12411 (gst_pad_template_dispose), (name_is_valid),
12412 (gst_static_pad_template_get), (gst_pad_template_new),
12413 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12414 (gst_pad_template_pad_created):
12415 * gst/gstpadtemplate.h:
12416 inlined two more docs
12417 factored gstpadtemplate out of gstpad
12419 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12421 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12422 (test_children_state_change_order_semi_sink):
12423 Fix test case: we can't rely on a fixed state change order when
12424 going from READY => PAUSED because the sink might commit its
12425 new state first when the first buffer created by the source
12426 reaches the sink before the source has finished its change state.
12427 (Test case still fails at times, see #316856, comment 5 onwards)
12429 2005-09-24 Wim Taymans <wim@fluendo.com>
12431 * docs/design/part-events.txt:
12432 * docs/design/part-gstbus.txt:
12433 * docs/design/part-gstpipeline.txt:
12434 * docs/design/part-messages.txt:
12435 * docs/design/part-overview.txt:
12436 * docs/design/part-segments.txt:
12440 * gst/gstelement.c:
12443 * gst/gstiterator.c:
12444 Various documentation updates.
12446 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12449 Well, that's embarassing. Luckily we weren't using
12450 GST_CLOCK_DIFF anywhere.
12452 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12454 * common/gtk-doc.mak:
12455 don't fail on building XML, FC4 slave shows a bunch of doc
12456 missing bits that I don't get
12458 * gst/gstpipeline.c:
12459 * gst/gststructure.c:
12462 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12464 * docs/design/part-gstbin.txt:
12465 * docs/design/part-gstbus.txt:
12467 Add blurb about how the bus goes into flushing mode and
12468 drops all messages when its bin goes from READY into NULL
12471 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12473 * docs/gst/gstreamer-sections.txt:
12474 * gst/gststructure.c: (gst_structure_get_clock_time):
12475 * gst/gststructure.h:
12476 add a method to get a GstClockTime out of a structure
12478 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12480 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12481 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12482 Added test to check state change order in bins (can still be made
12483 to fail here under heavy disk load; bails out with 'Push on pad
12484 fakesink:sink0, but it was not activated in push mode').
12486 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12487 Fix state change order when there is only a semi sink (#316856)
12489 * gst/gstbus.c: (gst_bus_class_init):
12490 Use _class_peek_parent(), not _class_ref(); fix docs to say
12491 'default main context' instead of 'mainloop' where that is
12494 * gst/gstelement.c: (gst_element_commit_state),
12495 (gst_element_set_state):
12496 Fix typos in debug messages
12498 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12501 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12502 * gst/gstpluginfeature.c:
12504 various doc updates
12505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12506 change an assert into an error until it gets fixed properly
12508 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12510 * docs/gst/gstreamer-sections.txt:
12511 * docs/gst/tmpl/.cvsignore:
12512 * docs/gst/tmpl/gstelement.sgml:
12513 * docs/gst/tmpl/gstinfo.sgml:
12514 * docs/gst/tmpl/gstobject.sgml:
12515 * gst/gstelement.c:
12516 * gst/gstelement.h:
12519 * gst/gstobject.c: (gst_object_class_init):
12521 inlined 3 more biiiig doc files and added some missing docs on the fly
12523 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12525 * check/gst/.cvsignore:
12526 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12527 * gst/gstregistryxml.c: (load_plugin),
12528 (gst_registry_xml_save_plugin):
12529 put back source in registry. add checks for find_plugin.
12530 * testsuite/states/bin.c: (assert_state), (empty_bin),
12531 (test_adding_one_element), (main):
12532 * testsuite/states/locked.c: (main):
12533 some compile/run fixes
12535 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12537 * check/gst/gstvalue.c: (GST_START_TEST):
12538 fix leaks in the test itself
12540 2005-09-22 Wim Taymans <wim@fluendo.com>
12542 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12543 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12544 (gst_base_sink_query):
12545 Prepare for more accurate position reporting and query
12548 * gst/gstelement.c: (gst_element_send_event),
12549 (gst_element_set_state):
12552 2005-09-22 Wim Taymans <wim@fluendo.com>
12554 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12555 (gst_query_parse_segment):
12557 More documentation.
12558 Add segment query for future use.
12560 2005-09-22 Wim Taymans <wim@fluendo.com>
12562 * gst/gstbin.c: (gst_bin_add_func):
12563 Some more debug info.
12565 * gst/gstelement.c: (gst_element_send_event):
12566 Simplify send_event
12568 * gst/gstelement.h:
12569 Don't know how flags got broken.
12574 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12576 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12577 Add simplistic test suite for GST_TYPE_DATE serialisation and
12580 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12582 * docs/gst/gstreamer-sections.txt:
12583 * gst/gststructure.c: (gst_structure_set_valist),
12584 (gst_structure_get_date):
12585 * gst/gststructure.h:
12586 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12587 (gst_date_copy), (gst_value_compare_date),
12588 (gst_value_serialize_date), (gst_value_deserialize_date),
12589 (gst_value_transform_date_string),
12590 (gst_value_transform_string_date), (_gst_value_initialize):
12592 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12593 bunch of utility functions along with a hack that checks that
12594 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12595 is required. Part of the grand scheme in #170777.
12597 2005-09-22 Andy Wingo <wingo@pobox.com>
12599 * gst/gstconfig.h.in: Psych out gtk-doc.
12601 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12603 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12605 * tools/gst-inspect.c (print_element_list): Plug some
12606 inconsequential leaks.
12608 * gst/gstregistry.c (gst_registry_get_default): Doc.
12610 * check/gst/gstplugin.c:
12611 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12612 * gst/gstelementfactory.c (gst_element_factory_create):
12613 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12616 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12617 (gst_plugin_feature_load): Doc, don't eat refs.
12619 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12620 (gst_plugin_list_free): Doc.
12621 (gst_plugin_load_file): Doc updates.
12623 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12624 accessors returning refcounted objects, return a ref.
12626 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12627 accessor for caps. IDEMPOTENCE. Oh yes.
12629 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12631 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12633 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12634 (_gst_debug_register_funcptr):
12635 Add mutex to serialise access to the hash table with
12636 the function pointer => function name string mapping;
12637 make that hash table static scope (#316809).
12639 * gst/registries/.cvsignore:
12640 Remove left-over file.
12642 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12644 * docs/pwg/appendix-porting.xml:
12645 And something about newsegment events and caps-on-buffers to
12646 the porting guide (feel free to improve).
12648 2005-09-21 Andy Wingo <wingo@pobox.com>
12650 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12651 data and event probes on the same pad.
12652 (test_buffer_probe_once): Test that removing probes from within
12653 the probe functions works.
12655 2005-09-21 Andy Wingo <wingo@pobox.com>
12657 * check/gst/gstutils.c: New file.
12658 (test_buffer_probe_n_times): A simple buffer probe test. More to
12661 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12662 have-data::buffer, not have-data.
12663 (gst_pad_add_event_probe): Likewise for have-data::event.
12664 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12665 peer' isn't quite right yet though.
12666 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12667 (gst_pad_remove_data_probe): Change to take the guint handler_id
12668 as their arg, not the function+data, which is more glib-like.
12670 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12671 the signal emission to indicate if the data is a buffer or an
12673 (gst_pad_get_type): Initialize buffer and event quarks.
12674 (gst_pad_class_init): have-data is now a detailed signal, yes it
12677 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12679 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12680 * gst/gstutils.c: (gst_util_set_value_from_string),
12681 (gst_util_set_object_arg):
12682 Don't put functional code in g_return_if_fail() or
12683 g_return_val_if_fail() statements, otherwise things will
12684 break when G_DISABLE_CHECKS is defined during compilation.
12686 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12688 * docs/gst/tmpl/.cvsignore:
12689 * docs/gst/tmpl/gstvalue.sgml:
12692 inlied another one and added some obvious docs
12694 2005-09-21 Wim Taymans <wim@fluendo.com>
12696 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12697 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12698 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12699 (gst_fdsrc_get_property), (gst_fdsrc_create):
12700 * gst/elements/gstfdsrc.h:
12701 Properly implement fdsrc. Removed signal and timeout,
12702 better implemented somewhere else.
12704 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12706 * docs/gst/tmpl/.cvsignore:
12707 * docs/gst/tmpl/gstimplementsinterface.sgml:
12708 * gst/gstinterface.c:
12711 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12713 * docs/gst/gstreamer-sections.txt:
12714 * docs/gst/tmpl/.cvsignore:
12715 * docs/gst/tmpl/gstenumtypes.sgml:
12716 remove obsolete doc file
12718 2005-09-21 David Schleef <ds@schleef.org>
12720 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12721 little beer, fix a little leak.
12723 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12725 * docs/gst/gstreamer-docs.sgml:
12726 * docs/gst/gstreamer-sections.txt:
12727 * docs/gst/tmpl/.cvsignore:
12731 * gst/gstelement.h:
12732 * gst/gstindex.c: (gst_index_class_init):
12734 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12735 (gst_index_factory_class_init), (gst_index_factory_init),
12736 (gst_index_factory_finalize), (gst_index_factory_new),
12737 (gst_index_factory_destroy), (gst_index_factory_find),
12738 (gst_index_factory_create), (gst_index_factory_make):
12739 * gst/gstindexfactory.h:
12740 * gst/gstpluginfeature.c:
12741 * gst/gstpluginfeature.h:
12742 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12743 more docs inlined, splitted gstindex.{c,h}
12745 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12747 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12750 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12752 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12753 Set sync to FALSE by default.
12755 2005-09-20 Wim Taymans <wim@fluendo.com>
12757 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12758 (gst_base_sink_init):
12759 Make sync property settable from subclass.
12761 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12762 (gst_fake_sink_change_state):
12763 Set sync to FALSE by default.
12765 2005-09-20 Wim Taymans <wim@fluendo.com>
12767 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12768 * tools/gst-launch.c: (main):
12769 The timeout handler should have lower priority than the source
12770 so we don't timeout before popping a message with 0 timeout.
12771 Dump error messages after failed state change.
12773 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12775 * tools/gst-inspect.c: (print_element_properties_info):
12778 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12780 * check/gst/gstevent.c:
12781 * gst/elements/gstfakesink.c:
12782 * gst/elements/gstfakesink.h:
12783 remove the sync property from fakesink.
12784 has the side effect of setting sync TRUE
12785 for fakesink, which is a change. Anyone who knows how
12786 to fix this nicely in a GObject-y way, feel free.
12788 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12790 * docs/gst/gstreamer-docs.sgml:
12791 remove probe refsection
12793 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12795 * check/Makefile.am:
12796 disable valgrinding the controller test again
12797 * docs/gst/gstreamer-sections.txt:
12798 update for api-changes
12800 2005-09-20 Wim Taymans <wim@fluendo.com>
12802 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12803 (gst_base_sink_set_property), (gst_base_sink_get_property),
12804 (gst_base_sink_do_sync):
12805 * gst/base/gstbasesink.h:
12806 Added sync property to basesink to disable clock sync.
12808 2005-09-20 Andy Wingo <wingo@pobox.com>
12810 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12811 eating the caller's refcount.
12813 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12814 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12817 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12818 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12819 of GLib 2.8 public, so we can know which refcount to check in
12822 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12823 (gst_object_init): Only set the gst refcount if we're going ahead
12824 with the refcount hack.
12826 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12828 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12829 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12830 more leaks plumbed, added more debug-logging
12834 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12836 * gst/gstmessage.c:
12837 remove include of gstmemchunk.h
12839 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12841 * gst/gstclock.c: (_gst_clock_id_free):
12842 Commit from the Political Party For More Atomic CVS Commits,
12843 so that people don't waste too much of their day fishing
12844 out obvious leaks out of massive commits.
12845 Oh, and fix a pretty damn obvious leak in the memchunk
12848 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12850 * check/Makefile.am:
12851 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12852 plug mem-leak, re-add to valgrindable tests
12854 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12857 unbreak the build for those who have chronic arthritis
12858 and typing "make check" is just too taxing on the hands
12860 2005-09-20 Andy Wingo <wingo@pobox.com>
12862 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12863 really want it out, you should fix plugins at the same time.
12865 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12868 * docs/gst/gstreamer-sections.txt:
12870 added missing symbols to api docs
12871 disable ref-count hack if we have glib >= 2.8
12873 2005-09-19 David Schleef <ds@schleef.org>
12875 * docs/gst/Makefile.am: Ignore a few more internal headers
12876 * docs/gst/gstreamer-docs.sgml: Remove old sections
12877 * docs/gst/gstreamer-sections.txt: Remove old sections
12878 * docs/gst/tmpl/gstobject.sgml: update
12879 * docs/gst/tmpl/gstplugin.sgml: update
12880 * docs/gst/tmpl/gstpluginfeature.sgml: update
12881 * docs/random/ds/0.9-suggested-changes: update.
12882 * gst/Makefile.am: remove memchunk and trashstack, since they're
12884 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12885 * gst/gst.h: don't include some headers
12886 * gst/gstchildproxy.c: add gstmarshal.h
12887 * gst/gstclock.c: Don't use memchunks
12888 * gst/gstminiobject.c: Add some docs
12889 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12890 * gst/gstobject.h: same
12891 * gst/gstplugin.c: include gstmacros.h
12892 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12893 * gst/gstquery.c: don't use memchunks
12894 * gst/gstregistry.c: rename gst_registry_deinit()
12895 * gst/gstregistry.h: same
12897 2005-09-19 David Schleef <ds@schleef.org>
12899 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12900 * docs/libs/gstreamer-libs-sections.txt:
12901 * docs/libs/tmpl/gstgetbits.sgml:
12902 * docs/libs/tmpl/gstputbits.sgml:
12904 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12906 * win32/gstenumtypes.c:
12907 * win32/gstenumtypes.h:
12910 2005-09-19 Wim Taymans <wim@fluendo.com>
12912 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12913 Automatically PAUSE and RESUME a pipeline when a flushing seek
12916 2005-09-19 Andy Wingo <wingo@pobox.com>
12918 * gst/gstregistry.h: Spacing fixen.
12920 2005-09-19 Wim Taymans <wim@fluendo.com>
12922 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12923 Handle state change failure more correctly.
12925 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12927 * check/Makefile.am:
12928 * check/pipelines/cleanup.c: (run_pipeline):
12929 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12931 enable cleanup again after fixing the leak
12933 some more info on docs
12935 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12937 * check/Makefile.am:
12938 re-enable tests now that leaks are plugged
12940 * check/gst/gstbin.c:
12941 * check/gst/gstpipeline.c:
12942 add some more tests while fixing leaks
12943 * common/check.mak:
12944 make sure binaries are uptodate when valgrinding/gdbing
12946 * gst/gstelementfactory.c:
12947 remove a ref too many, and add a FIXME for when we get
12948 round to disposing of classes
12950 fix the refcounting when loading a plugin from a file and
12951 the code pretends that the pointer is the same even though
12952 of course it can change
12953 * gst/gstpluginfeature.c:
12954 unref plugins marked cached (a bit confusing as a name)
12955 as the docs state should be done
12956 various doc additions to explain refcounting
12957 * gst/gstregistry.c:
12958 * gst/gstregistryxml.c:
12961 2005-09-19 Wim Taymans <wim@fluendo.com>
12963 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
12964 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12965 (send_messages), (GST_START_TEST), (gstbus_suite):
12966 * check/gst/gstpipeline.c: (GST_START_TEST):
12967 * check/pipelines/cleanup.c: (run_pipeline):
12968 * check/pipelines/simple_launch_lines.c: (run_pipeline),
12970 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
12971 (gst_bus_source_check), (gst_bus_source_dispatch),
12972 (gst_bus_create_watch), (gst_bus_add_watch_full),
12973 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
12975 * tools/gst-launch.c: (event_loop):
12976 * tools/gst-md5sum.c: (event_loop):
12977 GstBusHandler -> GstBusFunc, return value has the same meaning as
12978 any other GSource (FALSE == remove source).
12979 _add_watch() and _add_watch_full() now take a MessageType mask to
12980 only handle specific types of messages.
12981 _poll() returns the GstMessage instead of the message type to avoid
12983 _have_pending() takes a MessageType mask now too.
12984 Added testsuite for multiple bus watches.
12985 Fix testsuites and applications for new bus API.
12987 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12989 * check/Makefile.am:
12990 mark a bunch of the tests as to fix until we fix them
12992 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
12994 * common/check.mak:
12995 use GST_PLUGIN settings for valgrind tests as well, so we're
12996 valgrinding the correct thing
12997 * gst/gst.c: (init_post):
13000 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13002 * gst/gst.c: (init_post), (gst_deinit):
13003 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13004 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13005 * gst/gstindex.c: (gst_index_factory_class_init),
13006 (gst_index_factory_finalize):
13007 * gst/gstobject.c: (gst_object_dispose):
13008 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13009 (gst_plugin_load_file), (gst_plugin_desc_free):
13010 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13011 (gst_plugin_feature_finalize):
13012 * gst/gstregistry.c: (gst_registry_class_init),
13013 (gst_registry_init), (gst_registry_finalize),
13014 (gst_registry_get_default), (gst_registry_deinit):
13015 * gst/gstregistry.h:
13016 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13017 various cleanups and memleak plugging. make valgrind is happy now.
13019 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13021 * common/check.mak:
13022 add a check-valgrind target
13024 2005-09-18 David Schleef <ds@schleef.org>
13026 * tools/gst-inspect.c: Revert the GOption code.
13028 2005-09-17 David Schleef <ds@schleef.org>
13030 * check/Makefile.am: Fix environment variables.
13031 * check/gst/gstplugin.c: Fix for API changes.
13032 * tools/gst-inspect.c: Fix for API changes.
13033 * tools/gst-xmlinspect.c: Fix for API changes.
13034 * gst/gstelementfactory.c:
13037 * gst/gstpluginfeature.c:
13038 * gst/gstpluginfeature.h:
13039 * gst/gstregistry.c:
13040 * gst/gstregistry.h:
13041 * gst/gstregistryxml.c:
13042 * gst/gsttypefind.c:
13043 * gst/gsttypefindfactory.c:
13044 * gst/indexers/gstfileindex.c:
13045 * gst/indexers/gstmemindex.c:
13046 * gst/schedulers/Makefile.am:
13047 Change registry to keep track of both plugins and features,
13048 removing the feature tracking from plugins themselves.
13050 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13052 * check/Makefile.am:
13053 * tools/gst-register.1.in:
13054 remove gst-register
13056 2005-09-15 David Schleef <ds@schleef.org>
13058 * check/gst/gstplugin.c:
13059 * gst/gstelementfactory.c:
13061 * gst/gstpluginfeature.c:
13062 * gst/gstregistry.c:
13063 Getting tired of debugging. Disabled all the unreffing of
13064 plugins and features, which fixes the segfaults, but of
13065 course leaks like crazy. At least playbin works.
13067 2005-09-15 David Schleef <ds@schleef.org>
13069 * check/gst/gstplugin.c: (register_check_elements),
13070 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13072 * gst/elements/gsttypefindelement.c: Fix refcounting.
13073 * gst/gsttypefind.c:
13074 * gst/gsttypefindfactory.c:
13075 * gst/gsttypefindfactory.h:
13077 2005-09-15 David Schleef <ds@schleef.org>
13079 * gst/gstindex.c: get refcounting correct.
13080 * gst/gstregistry.c: Handle the case where a feature/plugin is
13083 2005-09-15 David Schleef <ds@schleef.org>
13085 * check/Makefile.am:
13086 * check/gst/gstplugin.c: Add test
13087 * gst/gstplugin.c: Fix problems noticed by testsuite
13089 * gst/gstregistry.c:
13090 * gst/gstregistry.h:
13092 2005-09-15 David Schleef <ds@schleef.org>
13094 * gst/gstplugin.c: Implement semi-decent recounting and locking
13095 in plugins and plugin features.
13097 * gst/gstpluginfeature.c:
13098 * gst/gstpluginfeature.h:
13099 * gst/gstregistry.c:
13101 2005-09-15 Michael Smith <msmith@fluendo.com>
13103 * gst/gstregistry.c: (gst_registry_get_feature_list):
13104 Implement this. Makes oggdemux work; decodebin still broken.
13106 2005-09-14 David Schleef <ds@schleef.org>
13108 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13110 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13111 * gst/check/Makefile.am:
13112 * libs/gst/controller/Makefile.am:
13113 * libs/gst/dataprotocol/Makefile.am:
13115 2005-09-14 David Schleef <ds@schleef.org>
13117 * configure.ac: Remove getbits library. Nothing uses it, and
13118 it should be in something like liboil if someone did want
13120 * libs/gst/Makefile.am:
13121 * libs/gst/getbits/Makefile.am:
13122 * libs/gst/getbits/gbtest.c:
13123 * libs/gst/getbits/getbits.c:
13124 * libs/gst/getbits/getbits.h:
13125 * libs/gst/getbits/gstgetbits_generic.c:
13126 * libs/gst/getbits/gstgetbits_i386.s:
13127 * libs/gst/getbits/gstgetbits_inl.h:
13129 2005-09-14 David Schleef <ds@schleef.org>
13131 * gst/Makefile.am: Dist glib-compat.h
13133 2005-09-14 David Schleef <ds@schleef.org>
13135 * configure.ac: Remove gst/registries, since it's no longer used.
13136 * gst/registries/Makefile.am:
13137 * gst/registries/gstlibxmlregistry.c:
13138 * gst/registries/gstlibxmlregistry.h:
13139 * gst/registries/gstxmlregistry.c:
13140 * gst/registries/gstxmlregistry.h:
13141 * gst/registries/registrytest.c:
13143 2005-09-14 David Schleef <ds@schleef.org>
13145 * gst/glib-compat.h:
13146 * gst/gstregistryxml.c:
13147 Convergence is near. Seriously.
13149 2005-09-14 David Schleef <ds@schleef.org>
13151 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13152 * gst/glib-compat.h:
13153 Attempt #4 to appease the buildbots.
13155 2005-09-14 David Schleef <ds@schleef.org>
13157 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13160 2005-09-14 David Schleef <ds@schleef.org>
13162 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13165 2005-09-14 David Schleef <ds@schleef.org>
13167 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13170 2005-09-14 David Schleef <ds@schleef.org>
13172 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13173 * gst/glib-compat.h: Add some functions that are in newer versions
13174 of glib than we care to require.
13175 * gst/gstregistryxml.c: Use them.
13177 2005-09-14 David Schleef <ds@schleef.org>
13179 * po/POTFILES.in: remove gst-register.c
13181 2005-09-14 David Schleef <ds@schleef.org>
13183 * docs/gst/gstreamer-docs.sgml:
13184 * docs/gst/gstreamer-sections.txt:
13185 * docs/gst/gstreamer.types:
13186 * docs/gst/tmpl/gstelement.sgml:
13187 * docs/gst/tmpl/gstplugin.sgml:
13188 * docs/gst/tmpl/gstpluginfeature.sgml:
13189 Documentation updates for registry changes.
13191 2005-09-14 David Schleef <ds@schleef.org>
13193 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13194 because we don't require glib-2.8.
13196 2005-09-14 David Schleef <ds@schleef.org>
13198 * gst/gstregistryxml.c: Added. Essentially moved out of the
13199 registries directory.
13201 2005-09-14 David Schleef <ds@schleef.org>
13203 * check/Makefile.am:
13204 * check/generic/states.c:
13208 * gst/gst_private.h:
13209 * gst/gstelementfactory.c:
13214 * gst/gstpluginfeature.c:
13215 * gst/gstpluginfeature.h:
13216 * gst/gstregistry.c:
13217 * gst/gstregistry.h:
13218 * gst/gstregistrypool.c: remove
13219 * gst/gstregistrypool.h: remove
13220 * gst/gsttypefind.c:
13221 * gst/gsttypefindfactory.c:
13223 * tools/Makefile.am:
13224 * tools/gst-compprep.c:
13225 * tools/gst-inspect.c:
13226 * tools/gst-register.c: remove
13227 * tools/gst-xmlinspect.c:
13228 Registry rewrite. Changes registry from being a file created
13229 by a tool into a simple cache file created automatically by
13230 libgstreamer. Removed gst-register (because it's no longer
13231 needed). Remove registry pools, because we only have one
13232 registry implementation (XML). Fix up other subsystems as
13235 2005-09-13 Michael Smith <msmith@fluendo.com>
13237 * gst/gstconfig.h.in:
13238 Don't Use windows linking attributes for MinGW. Fixes #316157
13240 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13242 * gst/gstutils.c: (set_state_async_thread_func),
13243 (gst_element_set_state_async):
13244 Apparently people think it's better if this function doesn't
13245 try to set the state to whatever state was asked for on the first
13246 call to this function for any object. Seriously.
13248 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13250 * check/gst/gstpipeline.c: (GST_START_TEST):
13251 * docs/gst/gstreamer-sections.txt:
13252 * gst/gstutils.c: (set_state_async_thread_func),
13253 (gst_element_set_state_async):
13255 add a "gst_element_set_state_async" method that
13256 sets the state and starts a thread to make sure the state
13257 change completes as best as it can
13259 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13261 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13262 codify design+behaviour in testsuite after discussion
13264 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13266 * docs/gst/tmpl/gstelement.sgml:
13267 * docs/manual/appendix-quotes.xml:
13269 * gst/gstelement.c: (gst_element_set_state):
13272 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13274 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13275 (gst_base_transform_prepare_output_buf),
13276 (gst_base_transform_handle_buffer):
13277 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13278 (gst_capsfilter_prepare_buf):
13279 Remove the requirement for sub-classes to call the parent
13280 implementation of prepare_output_buffer with a wrapper function.
13282 * gst/gsttaglist.h:
13283 * gst/gsttagsetter.h:
13284 Fix #define wrapper
13286 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13288 * docs/gst/gstreamer-sections.txt:
13291 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13293 * docs/gst/gstreamer-sections.txt:
13294 * docs/gst/tmpl/gstelement.sgml:
13295 * docs/gst/tmpl/gstplugin.sgml:
13296 * gst/gstminiobject.c:
13298 docs now stop throwing warnings
13300 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13302 * docs/gst/gstreamer-sections.txt:
13303 * docs/gst/gstreamer.types:
13304 * docs/gst/tmpl/gstpad.sgml:
13305 * docs/gst/tmpl/gsttypes.sgml:
13306 * gst/base/gstadapter.h:
13307 * gst/base/gstbasesink.h:
13308 * gst/base/gstbasesrc.h:
13314 * gst/gstelement.h:
13316 * gst/gstmessage.h:
13318 * gst/gststructure.c:
13319 * gst/registries/gstlibxmlregistry.h:
13320 various documentation fixes
13322 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13324 * docs/gst/gstreamer-sections.txt:
13325 * docs/gst/tmpl/gstvalue.sgml:
13326 rearrange gstvalue section
13327 * gst/gstutils.c: (gst_element_state_get_name):
13329 * gst/gstvalue.c: (_gst_value_initialize):
13333 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13335 * check/gst-libs/controller.c:
13336 Header include fix.
13337 * gst/base/gstbasetransform.c:
13338 (gst_base_transform_default_prepare_buf),
13339 (gst_base_transform_handle_buffer):
13340 * gst/base/gstbasetransform.h:
13341 Some more basetransform changes and fixes to enable sub-classes
13342 that modify buffer metadata only.
13343 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13344 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13345 (gst_capsfilter_prepare_buf):
13346 If the output pad has fixed allowed caps and input buffers
13347 don't have any, set the fixed caps on outgoing buffers.
13349 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13350 * check/elements/identity.c: (GST_START_TEST):
13351 Make the error a little clearer when the test fails because
13352 identity made a copy of the buffer.
13353 * docs/gst/gstreamer-sections.txt:
13354 New symbols in gstbasetransform.h
13355 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13356 (gst_base_transform_init), (gst_base_transform_transform_size),
13357 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13358 (gst_base_transform_default_prepare_buf),
13359 (gst_base_transform_get_unit_size),
13360 (gst_base_transform_buffer_alloc),
13361 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13362 (gst_base_transform_change_state),
13363 (gst_base_transform_set_passthrough),
13364 (gst_base_transform_set_in_place),
13365 (gst_base_transform_is_in_place):
13366 * gst/base/gstbasetransform.h:
13367 Change BaseTransform to separate in_place operate from same_caps
13368 output. in_place implies that the element can perform the transform
13369 on incoming buffers in-place, even if the caps on the output are
13371 Sub-class elements can now implement special buffer allocation
13372 methods for outgoing buffers if they wish to.
13373 Big documentation addition.
13374 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13375 * gst/elements/gstelements.c:
13376 Changes for basetransform modifications.
13377 * gst/elements/Makefile.am:
13378 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13379 Compile fix. Extra debug output.
13381 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13383 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13385 add tests for valid pad naming
13386 * gst/check/gstcheck.c: (gst_check_log_message_func),
13387 (gst_check_log_critical_func):
13389 remove printing of code, it is fragile when the code contains
13390 % and the line number is enough info
13391 * gst/check/gstcheck.h:
13392 * gst/gstpad.c: (gst_pad_template_new):
13395 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13398 say what CHECK flags we use
13399 * docs/libs/gstreamer-libs.types:
13400 * libs/gst/controller/Makefile.am:
13401 * libs/gst/controller/gst-controller.c:
13402 * libs/gst/controller/gst-controller.h:
13403 * libs/gst/controller/gst-helper.c:
13404 * libs/gst/controller/gst-interpolation.c:
13405 * libs/gst/controller/gstcontroller.c:
13406 * libs/gst/controller/gsthelper.c:
13407 * libs/gst/controller/gstinterpolation.c:
13408 * tools/gst-inspect.c: (print_plugin_info):
13409 we don't use dashes in header names
13411 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13413 * check/Makefile.am:
13414 * check/gst/.cvsignore:
13415 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13416 (gst_pipeline_suite), (main):
13417 adding a test for pipelines and state changes
13418 * gst/gstutils.c: (get_state_func):
13420 * gstreamer.spec.in:
13423 2005-09-08 Michael Smith <msmith@fluendo.com>
13425 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13426 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13427 (gst_file_src_is_seekable), (gst_file_src_get_size),
13428 (gst_file_src_start):
13429 * gst/elements/gstfilesrc.h:
13430 Various fixes for unseekable, unmmapable, and non-normal files, so
13431 that fallback to read() rather than mmap() works.
13432 * gst/gstevent.c: (gst_event_new_newsegment):
13433 Allow newsegment events with segment_start == segment_end, as will
13434 correctly happen if you use filesrc on a zero-size file, for
13437 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13439 * gst/gstplugin.c: (gst_plugin_load_file):
13440 Call g_module_close when we don't load the module
13442 * gst/registries/gstlibxmlregistry.c:
13443 (gst_xml_registry_get_property):
13444 Port leak fix from 0.8
13446 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13448 * docs/gst/gstreamer-docs.sgml:
13449 * docs/gst/tmpl/.cvsignore:
13450 * docs/gst/tmpl/gsttrace.sgml:
13451 * docs/gst/tmpl/gsttrashstack.sgml:
13454 * gst/gstelement.h:
13456 * gst/gstmessage.c:
13457 * gst/gstmessage.h:
13460 * gst/gsttaginterface.c:
13461 * gst/gsttaginterface.h:
13462 * gst/gsttaglist.c:
13463 * gst/gsttaglist.h:
13464 * gst/gsttagsetter.c:
13465 * gst/gsttagsetter.h:
13468 * gst/gsttrashstack.c:
13469 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13470 inlined docs for gsttrace, gsttrashstack
13472 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13475 * gst/elements/gstbufferstore.h:
13476 * gst/elements/gsttypefindelement.c:
13477 * gst/elements/gsttypefindelement.h:
13479 * gst/gsttypefind.c:
13480 * gst/gsttypefind.h:
13481 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13482 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13483 (gst_type_find_factory_dispose),
13484 (gst_type_find_factory_unload_thyself),
13485 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13486 (gst_type_find_factory_get_caps),
13487 (gst_type_find_factory_get_extensions),
13488 (gst_type_find_factory_call_function):
13489 * gst/gsttypefindfactory.h:
13490 * gst/registries/gstlibxmlregistry.c:
13491 * gst/registries/gstxmlregistry.c:
13492 splitted gsttypefind into gsttypefind, gsttypefindfactory
13494 2005-09-07 Andy Wingo <wingo@pobox.com>
13496 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13497 condition whereby the pad's task function is entered before the
13498 pad_mode variable was set.
13500 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13502 * gst/gstpad.c: (gst_pad_alloc_buffer):
13503 Catch misbehaving pad_alloc functions that don't
13504 set up caps and do it for them.
13506 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13508 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13509 test for pipe!=NULL
13510 * docs/gst/tmpl/.cvsignore:
13511 * docs/gst/tmpl/gstmemchunk.sgml:
13512 * docs/gst/tmpl/gstparse.sgml:
13513 * docs/gst/tmpl/gsttaglist.sgml:
13514 * docs/gst/tmpl/gsttagsetter.sgml:
13515 * docs/gst/tmpl/gsttypefind.sgml:
13516 * docs/gst/tmpl/gsttypefindfactory.sgml:
13517 * gst/gstmemchunk.c:
13520 * gst/gsttaginterface.c:
13521 * gst/gsttypefind.c:
13522 * gst/gsttypefind.h:
13525 === release 0.9.2 ===
13527 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13532 releasing 0.9.2, "South"
13534 2005-09-05 Andy Wingo <wingo@pobox.com>
13536 * gst/registries/gstxmlregistry.h:
13537 * gst/registries/gstxmlregistry.c: Um... resurrect...
13539 * gst/registries/gstxmlregistry.h:
13540 * gst/registries/gstxmlregistry.c: and update to newer API.
13541 Incidentally they should be a bit faster now that they don't have
13544 2005-09-05 Andy Wingo <wingo@pobox.com>
13546 * gst/registries/gstxmlregistry.h:
13547 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13548 replaced by the libxml registry a while back
13550 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13552 * docs/gst/tmpl/gstplugin.sgml:
13553 * gst/elements/gstelements.c:
13555 * gst/gstplugin.c: (gst_plugin_register_func),
13556 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13557 (gst_plugin_get_source):
13559 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13560 (gst_xml_registry_save_plugin):
13561 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13562 (gst_xml_registry_save_plugin):
13563 * tools/gst-inspect.c: (print_plugin_info):
13564 add a "source" plugin description field, to represent the source
13565 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13566 will set it to PACKAGE, which is automake's idea of the name of
13567 the source project.
13569 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13574 * docs/Makefile.am:
13575 * docs/faq/Makefile.am:
13576 * docs/gst/tmpl/gstelement.sgml:
13577 * docs/gst/tmpl/gsttypes.sgml:
13578 * docs/htmlinstall.mak:
13579 * docs/manual/Makefile.am:
13580 * docs/pwg/Makefile.am:
13581 reorganize doc build a little
13582 split out docbook and gtk-doc stuff
13583 have two separate --enable's and enable them through autogen
13584 but disable by default in configure (to be similar to other
13586 * gstreamer.spec.in:
13587 clean up docs install
13605 translation updates
13607 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13609 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13612 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13613 (gst_fake_sink_change_state):
13614 Make state change function thread-safe.
13616 * gst/gstpad.c: (gst_pad_alloc_buffer):
13617 Set offset on generic buffer allocated by fallback.
13619 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13621 * docs/gst/gstreamer-sections.txt:
13622 * docs/gst/tmpl/gstelement.sgml:
13624 * libs/gst/controller/gst-controller.c:
13625 (gst_controlled_property_set_interpolation_mode),
13626 (gst_controlled_property_new),
13627 (gst_controller_find_controlled_property):
13628 run the wingo-magic script against the docs
13630 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13632 * docs/gst/gstreamer-docs.sgml:
13633 * docs/gst/gstreamer-sections.txt:
13634 * docs/gst/tmpl/.cvsignore:
13635 * docs/gst/tmpl/gstelementdetails.sgml:
13636 * docs/gst/tmpl/gstelementfactory.sgml:
13639 * gst/gstelementfactory.c:
13640 * gst/gstelementfactory.h:
13641 merged elementdetails docs into elementfactory docs
13644 2005-09-02 Andy Wingo <wingo@pobox.com>
13646 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13647 consider this enum an enum and not a flags.
13649 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13651 * docs/gst/gstreamer-docs.sgml:
13652 * docs/gst/tmpl/.cvsignore:
13653 * docs/gst/tmpl/gstghostpad.sgml:
13654 * docs/gst/tmpl/gstiterator.sgml:
13655 * docs/gst/tmpl/gstmacros.sgml:
13656 * docs/gst/tmpl/gstrealpad.sgml:
13657 * docs/gst/tmpl/gstregistry.sgml:
13658 * docs/gst/tmpl/gstregistrypool.sgml:
13659 * docs/gst/tmpl/gststructure.sgml:
13660 * docs/gst/tmpl/gstsystemclock.sgml:
13661 * docs/gst/tmpl/gsttrace.sgml:
13662 * gst/gstghostpad.c:
13664 * gst/gstmemchunk.c:
13665 * gst/gstmemchunk.h:
13667 * gst/gstregistry.c:
13668 * gst/gstregistrypool.c:
13669 * gst/gststructure.c:
13670 * gst/gstsystemclock.c:
13673 2005-09-02 Andy Wingo <wingo@pobox.com>
13675 * gst/gstelement.h (GstState): Renamed from GstElementState,
13676 changed to be a normal enum instead of flags.
13677 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13678 munged to be GST_STATE_CHANGE_*.
13679 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13680 work with the new state representation.
13681 (GstStateChange): New enumeration of possible state transitions.
13682 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13683 (GstElementClass::change_state): Pass the GstStateChange along as
13684 an argument. Helps language bindings, so they don't have to use
13685 tricky lock-needing macros like GST_STATE_CHANGE ().
13687 * scripts/update-states (file): New script. Run it on a file to
13688 update it for state naming and API changes. Updates files in
13691 * All files updated for the new API.
13693 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13695 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13696 * gst/gstutils.c: (gst_util_set_value_from_string),
13697 (gst_util_set_object_arg):
13698 fix a bunch of unchecked return values
13699 * tools/gst-complete.c: (main):
13700 * gstreamer.spec.in:
13703 2005-09-01 Wim Taymans <wim@fluendo.com>
13705 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13706 (gst_base_sink_event), (gst_base_sink_do_sync),
13707 (gst_base_sink_handle_event):
13708 * gst/base/gstbasesink.h:
13709 Handle newsegments more correctly.
13714 * gst/gstevent.c: (gst_event_new_newsegment):
13715 A newsegment cannot have a start_time of -1
13717 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13719 * win32/gstenumtypes.c:
13720 * win32/gstenumtypes.h:
13723 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13725 * libs/gst/controller/gst-controller.c:
13726 (gst_controlled_property_set_interpolation_mode),
13727 (gst_controlled_property_new):
13728 fixed boolean again
13730 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13732 * docs/faq/gst-uninstalled:
13737 * gst/gstutils.c: (gst_element_link_filtered):
13739 add gst_element_link_filtered
13741 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13743 * docs/gst/gstreamer-docs.sgml:
13744 * docs/gst/gstreamer-sections.txt:
13745 * docs/gst/tmpl/.cvsignore:
13746 * docs/gst/tmpl/gsterror.sgml:
13747 * docs/gst/tmpl/gstfilter.sgml:
13748 * docs/gst/tmpl/gsturihandler.sgml:
13749 * docs/gst/tmpl/gsturitype.sgml:
13750 * docs/gst/tmpl/gstutils.sgml:
13751 * docs/gst/tmpl/gstxml.sgml:
13756 * gst/gsturitype.c:
13759 inlined more docs, fixed double id-ref
13761 2005-08-31 Wim Taymans <wim@fluendo.com>
13763 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13764 (gst_base_transform_handle_buffer):
13765 Passthrough elements don't need the caps as they don't care.
13767 2005-08-31 Wim Taymans <wim@fluendo.com>
13769 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13770 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13771 Don't leak refcounts on buffers.
13773 2005-08-31 Wim Taymans <wim@fluendo.com>
13775 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13776 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13777 (gst_base_transform_chain), (gst_base_transform_change_state):
13778 * gst/base/gstbasetransform.h:
13779 Handle the case where we are not negotiated more gracefully.
13781 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13783 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13784 (gst_file_src_map_region):
13785 Set READONLY flag on mmap'ed buffers, otherwise
13786 gst_buffer_make_writable() won't work properly (#314708).
13788 2005-08-31 Wim Taymans <wim@fluendo.com>
13790 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13791 passthrough elements can even do inplace on non writable
13792 buffers (as they don't touch them).
13794 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13796 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13797 (gst_test_mono_source_set_property),
13798 (gst_test_mono_source_class_init), (GST_START_TEST),
13799 (gst_controller_suite):
13800 more tests (hehe I have the most)
13802 describe popping messages whenusing mulltiple sources
13803 * libs/gst/controller/gst-controller.c:
13804 (gst_controlled_property_set_interpolation_mode),
13805 (gst_controlled_property_new):
13806 * libs/gst/controller/gst-controller.h:
13807 * libs/gst/controller/gst-interpolation.c:
13808 implement boolean properties
13810 2005-08-31 Wim Taymans <wim@fluendo.com>
13812 * gst/gstminiobject.c: (gst_mini_object_ref):
13813 Cannot assert that the refcount has to be positive
13814 since a disposed object can be resurrected.
13816 2005-08-31 Wim Taymans <wim@fluendo.com>
13818 * gst/gstpad.c: (gst_pad_init):
13819 Revert change, need to first fix badly behaving
13822 2005-08-30 Wim Taymans <wim@fluendo.com>
13824 * check/elements/fakesrc.c: (setup_fakesrc):
13825 * check/elements/identity.c: (setup_identity):
13826 Activate pads before using them.
13828 2005-08-30 Wim Taymans <wim@fluendo.com>
13830 * gst/base/gstadapter.c: (gst_adapter_flush):
13831 Flushing out 0 bytes is ok for this function.
13833 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13834 no newsegment gives a warning and sets the start/stop to
13837 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13838 (gst_base_transform_set_passthrough):
13841 * gst/gstminiobject.c: (gst_mini_object_ref):
13842 Check refcount here too.
13844 * gst/gstpad.c: (gst_pad_init):
13845 Pads are initially flushing and refusing data.
13847 * gst/gstutils.c: (gst_element_link_pads_filtered):
13848 When adding a capsfilter element make sure it has the
13849 same state as the parent bin.
13851 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13853 * docs/gst/tmpl/.cvsignore:
13854 * docs/gst/tmpl/gstformat.sgml:
13855 * docs/gst/tmpl/gstversion.sgml:
13859 * gst/gstversion.h.in:
13860 more docs and two more inlined
13862 2005-08-30 Wim Taymans <wim@fluendo.com>
13864 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13865 Don't sync to clock.
13867 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13869 * docs/gst/gstreamer-sections.txt:
13870 ultral33t func10ns deserve to appear in the docs actually
13871 * docs/gst/tmpl/.cvsignore:
13872 * docs/gst/tmpl/gstcompat.sgml:
13873 * docs/gst/tmpl/gstconfig.sgml:
13874 * gst/check/gstcheck.c:
13876 * gst/gstconfig.h.in:
13879 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13881 * docs/gst/tmpl/.cvsignore:
13882 * docs/gst/tmpl/gstquery.sgml:
13883 * docs/gst/tmpl/gstutils.sgml:
13886 inlined and extended docs
13888 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13890 * check/gst-libs/controller.c: (GST_START_TEST),
13891 (gst_controller_suite):
13893 * docs/gst/tmpl/gstutils.sgml:
13894 * docs/libs/gstreamer-libs-sections.txt:
13895 * docs/libs/tmpl/gstdataprotocol.sgml:
13897 * examples/controller/audio-example.c: (main):
13898 controller example works now
13901 * tools/gst-inspect.c: (print_element_properties_info):
13902 show param spec flags
13904 2005-08-29 Andy Wingo <wingo@pobox.com>
13906 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13908 2005-08-28 Andy Wingo <wingo@pobox.com>
13910 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13911 as having two arguments instead of just one. Allows superclasses
13912 to access information on subclasses -- see the terrible for() loop
13913 in gtype.c:g_type_create_instance for the reason why. All callers
13916 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13918 * docs/design/part-messages.txt:
13920 * docs/gst/tmpl/.cvsignore:
13921 * docs/gst/tmpl/gstcaps.sgml:
13922 * docs/gst/tmpl/gstclock.sgml:
13928 * gst/gstmessage.c:
13929 added descriptions for bus and message
13930 inline caps and clock docs
13932 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13934 * gst/gstmessage.c:
13935 * gst/gstmessage.h:
13938 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13940 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13943 2005-08-26 Andy Wingo <wingo@pobox.com>
13945 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
13946 element_set_state's return val.
13947 (test_2_elements): Add test that's been disabled for months.
13949 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
13950 can-activate-pull properties.
13952 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
13953 can-activate-pull properties. Implement is_seekable so fakesrc can
13954 operate in pull mode.
13956 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
13958 (gst_base_sink_activate, gst_base_sink_activate_pull)
13959 (gst_base_sink_activate_push): Make activation mode choosing work.
13961 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
13962 is right. Make pull mode work. Post an eos before pausing in pull
13964 (gst_base_sink_change_state): Pay attention to the core's
13965 change_state() return val.
13967 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
13968 has-getrange properties. Cleanups.
13970 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
13971 has_getrange and replace with can_activate_pull and
13974 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
13975 locking comments. Remove has_loop, has_chain and replace with
13976 can_activate_pull and can_activate_push.
13978 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
13981 * examples/Makefile.am:
13982 * examples/metadata/Makefile.am:
13983 * examples/metadata/read-metadata.c: (message_loop),
13984 (have_pad_handler), (make_pipeline), (print_tag), (main):
13985 Add metadata reading example that loops over a list of filenames,
13986 dumping any tags found.
13988 * gst/gstbus.c: (gst_bus_dispose):
13989 * gst/gstelement.c: (gst_element_dispose):
13990 Release a few potentially-held references in dispose.
13992 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13994 * docs/gst/tmpl/gstminiobject.sgml:
13995 do *not* add tmpl/*.sgml files to CVS!
13997 2005-08-26 Stefan Kost <ensonic@users.sf.net>
13999 * libs/gst/bytestream/.cvsignore:
14000 * libs/gst/bytestream/Makefile.am:
14001 * libs/gst/bytestream/adapter.c:
14002 * libs/gst/bytestream/adapter.h:
14003 * libs/gst/bytestream/bytestream.c:
14004 * libs/gst/bytestream/bytestream.h:
14005 * libs/gst/bytestream/filepad.c:
14006 * libs/gst/bytestream/filepad.h:
14007 removing obsolete files
14009 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14011 * docs/gst/gstreamer-docs.sgml:
14012 * docs/libs/gstreamer-libs-docs.sgml:
14013 disabed additional index entries again, as this makes docs-gen just
14014 slow and they aren't useful yet
14015 * docs/libs/gstreamer-libs-sections.txt:
14016 little -section.txt cleanup for libs
14018 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14020 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14021 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14022 fix up some debugging
14023 (gst_base_transform_get_unit_size),
14024 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14025 (gst_base_transform_handle_buffer):
14026 * gst/base/gstbasetransform.h:
14027 handle and store timed NEWSEGMENT events so that subclasses that
14028 calculate time by counting samples have a segment_start time they
14029 need to add to their timestamps - see audioresample
14031 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14034 removed ';' from the end of macro defs
14035 * docs/gst/gstreamer-docs.sgml:
14036 * docs/gst/gstreamer-sections.txt:
14037 * docs/gst/tmpl/.cvsignore:
14039 * gst/gstelement.c: (gst_element_class_init),
14040 (gst_element_set_state), (activate_pads),
14041 (gst_element_save_thyself):
14042 * gst/gstevent.c: (gst_event_new_newsegment):
14044 * gst/gstiterator.c:
14045 * gst/gstiterator.h:
14048 * gst/gstutils.c: (gst_pad_query_convert):
14050 fixed parameter name mismatches between source, header and docs
14051 added some more docs, resolved the last batch of unused elements in
14052 docs (now someone needs to doc them)
14054 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14056 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14057 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14058 don't walk through the plugins backwards. Where is all this
14059 reversed logic coming from ?
14061 2005-08-25 Wim Taymans <wim@fluendo.com>
14063 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14064 (gst_base_transform_transform_size),
14065 (gst_base_transform_configure_caps),
14066 (gst_base_transform_get_unit_size),
14067 (gst_base_transform_buffer_alloc),
14068 (gst_base_transform_change_state):
14069 * gst/base/gstbasetransform.h:
14070 Cache caps unit_size.
14071 Make sure we cannot negotiate up and downstream at the
14074 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14076 * gst/gst.c: (init_pre), (init_post):
14077 register the installed plugin path after the env var
14078 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14079 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14080 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14081 directories, so the tests can prefer uninstalled over installed
14083 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14085 * gst/base/gstbasetransform.h:
14090 2005-08-25 Wim Taymans <wim@fluendo.com>
14092 * gst/gstbin.c: (bin_bus_handler):
14093 Be a bit more conservative about the posted message.
14095 * gst/gstbus.c: (gst_bus_post):
14096 Some cleanups, warn wrong return values.
14098 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14100 * check/gst/gstbin.c: (GST_START_TEST):
14101 * gst/gstbin.c: (bin_bus_handler):
14102 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14103 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14104 (gst_message_new_warning), (gst_message_new_tag),
14105 (gst_message_new_state_changed), (gst_message_new_segment_start),
14106 (gst_message_new_segment_done), (gst_message_new_custom):
14107 * gst/gstmessage.h:
14108 * tools/gst-launch.c: (event_loop):
14109 * tools/gst-md5sum.c: (event_loop):
14110 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14112 2005-08-25 Wim Taymans <wim@fluendo.com>
14114 * check/generic/states.c: (GST_START_TEST):
14115 Cleanup can be done at the end.
14117 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14118 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14119 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14120 Oh boy.. Thanks for finding this, Thomas.
14122 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14124 * docs/gst/gstreamer.types:
14125 added missing types
14127 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14129 * docs/gst/gstreamer-docs.sgml:
14130 * docs/gst/gstreamer-sections.txt:
14131 * docs/gst/tmpl/.cvsignore:
14133 * gst/gstiterator.c:
14135 * gst/registries/gstxmlregistry.h:
14136 added missing classes and symbols (123 more to go)
14137 removed removed symbols from section file
14138 fixed many doc-comments
14140 2005-08-24 Wim Taymans <wim@fluendo.com>
14142 * check/generic/states.c: (GST_START_TEST):
14143 Make sure all tasks are stopped.
14145 * check/gst/gstbin.c: (GST_START_TEST):
14146 Unref after usage for proper valgrinding.
14148 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14149 Really wait for the task to stop before destroying the
14152 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14153 (gst_queue_src_activate_push):
14154 Small cleanups. Don't stop the task when we did not start
14157 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14158 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14159 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14162 Protect the stream lock with the object lock.
14163 Disallow setting the stream lock when running.
14164 Add cleanup_all to wait for the threadpool to finish.
14165 Remove code to autoallocate a mutex if none was provided.
14166 Add _join() to wait for a task to stop.
14167 Protect the thread pool with a global lock.
14169 2005-08-24 Wim Taymans <wim@fluendo.com>
14171 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14172 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14173 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14174 * gst/base/gstbasesink.h:
14175 Handle newsegment events correctly.
14176 Drop buffers out of the segment range.
14178 2005-08-22 Andy Wingo <wingo@pobox.com>
14180 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14181 macro, implements an interface and gstimplementsinterface for a
14184 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14186 * check/Makefile.am:
14187 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14188 add a test that does a bunch of state changes on elements
14189 needs some fixing for valgrind
14190 * check/states/sinks.c: (gst_object_suite):
14193 add prototype for gst_caps_is_equal_fixed
14195 * gst/gstregistrypool.c:
14198 2005-08-24 Andy Wingo <wingo@pobox.com>
14200 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14201 convert a negative value. Doesn't make much sense. Mostly this is
14202 here to force callers to ensure -1 maps to -1.
14204 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14206 * docs/pwg/advanced-types.xml:
14207 Well done to Michael for catching my deliberate introduction
14208 of this spelling mistake.
14209 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14210 * gst/gstelement.h:
14211 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14212 unlink pads before removing the element from the bin.
14214 2005-08-24 Andy Wingo <wingo@pobox.com>
14216 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14217 the same thing as GST_DEBUG=*:4.
14218 (parse_debug_level, parse_debug_category): New helper parsers.
14220 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14222 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14223 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14224 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14225 (gst_base_transform_buffer_alloc),
14226 (gst_base_transform_handle_buffer):
14227 use gboolean return values and pointers to size so we can use the
14228 full GST_BUFFER_SIZE range (guint) for buffer sizes
14229 use GstPadDirection for transform_caps
14230 * gst/base/gstbasetransform.h:
14231 rename get_size to get_unit_size since that's what it is
14232 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14233 use GstPadDirection for transform_caps
14234 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14236 cleanup and debugging
14238 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14240 * gst/gstelement.c: (gst_element_class_init),
14241 (gst_element_set_state), (activate_pads),
14242 (gst_element_save_thyself):
14243 * tools/gst-compprep.c: (main):
14244 * tools/gst-inspect.c: (print_element_properties_info):
14245 * tools/gst-xmlinspect.c: (print_element_properties):
14246 Fixed long standing mem-leak
14248 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14250 * check/gst/gstbin.c: (GST_START_TEST):
14251 * gst/gstbin.c: (bin_bus_handler):
14252 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14253 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14254 (gst_message_new_warning), (gst_message_new_tag),
14255 (gst_message_new_state_changed), (gst_message_new_segment_start),
14256 (gst_message_new_segment_done), (gst_message_new_custom):
14257 * gst/gstmessage.h:
14258 * tools/gst-launch.c: (event_loop):
14259 * tools/gst-md5sum.c: (event_loop):
14260 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14261 that applications can sensibly post custom messages with references
14262 to their own objects.
14264 2005-08-24 Andy Wingo <wingo@pobox.com>
14266 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14269 2005-08-24 Wim Taymans <wim@fluendo.com>
14271 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14272 (gst_base_transform_transform_caps),
14273 (gst_base_transform_transform_size),
14274 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14275 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14276 (gst_base_transform_handle_buffer):
14277 * gst/base/gstbasetransform.h:
14278 Many fixes and new features added by Thomas. Can now also do
14279 transforms with variable sizes and a custom fixate_caps function.
14281 2005-08-24 Wim Taymans <wim@fluendo.com>
14283 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14287 Cast to ClockTime before formatting to time.
14292 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14294 * check/gst-libs/controller.c: (GST_START_TEST),
14295 (gst_controller_suite):
14296 * docs/gst/tmpl/gstcaps.sgml:
14297 * docs/gst/tmpl/gstghostpad.sgml:
14298 * docs/gst/tmpl/gstquery.sgml:
14299 * docs/gst/tmpl/gstutils.sgml:
14300 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14301 (gst_object_sink_values), (gst_object_get_value_arrays),
14302 (gst_object_get_value_array):
14303 gracefully handle helper method calls to objects that are not beeing
14304 controlled, added test case for that
14306 2005-08-23 Wim Taymans <wim@fluendo.com>
14308 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14309 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14310 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14311 (gst_event_parse_qos), (gst_event_new_seek),
14312 (gst_event_parse_seek):
14314 Some more debugging output and doc cleanups.
14316 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14317 Fix possible deadlock.
14319 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14321 * docs/gst/gstreamer-docs.sgml:
14322 * docs/gst/gstreamer-sections.txt:
14323 * docs/gst/gstreamer.types:
14324 * docs/gst/tmpl/.cvsignore:
14327 * gst/gstelement.c:
14329 added 100 symbols from gstreamer-unused.txt to the right sections
14330 fixed more broken comments
14331 added GstBus to docs
14333 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14335 * docs/gst/gstreamer-sections.txt:
14336 * docs/gst/tmpl/.cvsignore:
14337 * docs/gst/tmpl/gstbin.sgml:
14338 * docs/gst/tmpl/gstbuffer.sgml:
14339 * gst/base/gstbasesrc.c:
14340 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14343 * tools/gst-launch.1.in:
14344 inlined more doc comments, added missing comments and fixed comments
14347 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14349 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14353 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14355 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14356 * gst/gststructure.h:
14357 add a fixate function for booleans; add a FIXME that these func
14358 names should probably be gst_structure_fixate_*
14360 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14362 * docs/gst/gstreamer-docs.sgml:
14363 * docs/gst/gstreamer-sections.txt:
14365 * gst/gstbin.c: (gst_bin_get_type),
14366 (gst_bin_child_proxy_get_child_by_index),
14367 (gst_bin_child_proxy_get_children_count),
14368 (gst_bin_child_proxy_init):
14369 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14370 (gst_child_proxy_get_child_by_index),
14371 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14372 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14373 (gst_child_proxy_get), (gst_child_proxy_set_property),
14374 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14375 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14376 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14377 * gst/gstchildproxy.h:
14378 * gst/parse/grammar.y:
14379 * tools/gst-inspect.c: (print_interfaces),
14380 (print_element_properties_info), (print_element_info):
14381 ported gstchildproxy over from 0.8
14382 ported gst-inspect fixes and enhancements over from 0.8
14384 2005-08-22 Wim Taymans <wim@fluendo.com>
14386 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14387 (gst_base_transform_handle_buffer):
14388 Also call the transform function if we have ANY caps.
14390 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14393 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14395 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14396 Don't pretend to handle seek events if the source is not seekable
14398 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14401 Remove extra parameter to debug output
14403 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14404 (gst_base_src_do_seek), (gst_base_src_activate_push):
14405 Fix seek event handling.
14407 * gst/gstpipeline.c: (gst_pipeline_change_state):
14408 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14409 (gst_queue_src_activate_push):
14410 Don't start the src pad task on FLUSH_STOP if the pad
14414 2005-08-22 Wim Taymans <wim@fluendo.com>
14416 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14417 Added check for gst_static_caps_get() refcounting.
14419 2005-08-22 Wim Taymans <wim@fluendo.com>
14421 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14422 Make _static_caps_get() refcounting sane.
14424 * gst/gstelement.c: (gst_element_set_state):
14425 Add g_return_val_if_fail() to protect against segfaults.
14427 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14429 * docs/gst/tmpl/gstevent.sgml:
14432 inlined remaining docs, added missing doc comments
14434 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14436 * check/gst/gstbin.c: (GST_START_TEST):
14437 since we don't know when preroll is done, use refcount range
14439 * gst/check/gstcheck.h:
14440 add macro for checking refcount range
14442 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14444 * check/Makefile.am:
14445 clean up environment for when registry gets built versus
14446 when actual tests are run; valgrind seems to not report
14447 leaks if GST_PLUGIN_PATH is set to some specific values
14448 * check/gst/gstbin.c: (GST_START_TEST):
14449 add more refcounting checks; maybe this exposes a
14451 * common/check.mak:
14452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14453 * gst/check/gstcheck.h:
14454 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14455 (gst_bin_change_state):
14456 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14457 add/fix debugging/whitespace
14459 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14461 * check/gst/gstevent.c: (event_probe), (test_event),
14463 Er, don't call gst_bin_watch_for_state_change you idiot.
14465 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14467 * check/Makefile.am:
14468 Use CHECK_CFLAGS and CHECK_LIBS
14469 * check/gst/gstevent.c: (event_probe), (test_event),
14472 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14473 (gst_base_src_start), (gst_base_src_stop),
14474 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14475 (gst_base_src_change_state):
14476 Sprinkle gst_base_src_stop liberally around error paths to fix
14477 problems reusing a source after failed state changes.
14478 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14479 (helper_find_suggest), (gst_type_find_helper):
14480 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14482 * docs/gst/tmpl/gstevent.sgml:
14483 Migrate part of the docs from the SGML file. Wait for ensonic to
14484 tell me how I did it wrong ;)
14485 * tools/gst-typefind.c: (main):
14486 Extra robustness to state changes between files.
14488 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14490 * check/Makefile.am:
14491 don't valgrind the controller test - it's leaking - Stefan, HELP
14492 * gst/check/gstcheck.c: (gst_check_message_error),
14493 (gst_check_chain_func), (gst_check_setup_element),
14494 (gst_check_teardown_element), (gst_check_setup_src_pad),
14495 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14496 (gst_check_teardown_sink_pad):
14497 * gst/check/gstcheck.h:
14498 add a bunch of methods to set up elements, and src and sink pads
14499 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14500 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14503 * gst/gstmessage.c:
14505 whitespace/doc fixes
14507 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14509 * gst/gstelement.h:
14510 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14511 be handled by the application and not always printed as well
14513 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14515 * check/Makefile.am:
14517 * gst/check/gstcheck.c: (gst_check_message_error):
14518 * gst/check/gstcheck.h:
14519 add a fail_unless_equals_int
14520 add fail_unless for error messages
14522 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14524 * check/Makefile.am:
14526 * common/Makefile.am:
14527 * common/check.mak:
14529 factor out some of the common stuff so we can use it
14531 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14533 * check/Makefile.am:
14534 * check/gst/gstiterator.c: (GST_START_TEST):
14535 * check/gst/gstsystemclock.c: (GST_START_TEST),
14536 (gst_systemclock_suite):
14537 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14539 valgrind more tests
14541 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14543 * check/elements/.cvsignore:
14544 * check/elements/gstfakesrc.c:
14545 rename to name of element
14546 * check/elements/identity.c: (chain_func), (event_func),
14547 (setup_identity), (cleanup_identity), (GST_START_TEST),
14548 (identity_suite), (main):
14549 add a test for identity
14550 * check/Makefile.am:
14551 * pkgconfig/Makefile.am:
14552 * pkgconfig/gstreamer-check.pc.in:
14553 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14557 move the check stuff to a library that gets installed
14558 * check/gst-libs/controller.c: (GST_START_TEST):
14559 * check/gst-libs/gdp.c:
14560 * check/gst/gst.c: (GST_START_TEST):
14561 * check/gst/gstbin.c:
14562 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14563 * check/gst/gstbus.c:
14564 * check/gst/gstcaps.c: (GST_START_TEST):
14565 * check/gst/gstelement.c:
14566 * check/gst/gstghostpad.c:
14567 * check/gst/gstiterator.c:
14568 * check/gst/gstmessage.c:
14569 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14570 * check/gst/gstobject.c:
14571 * check/gst/gstpad.c: (GST_START_TEST):
14572 * check/gst/gststructure.c: (GST_START_TEST):
14573 * check/gst/gstsystemclock.c: (GST_START_TEST),
14574 (gst_systemclock_suite):
14575 * check/gst/gsttag.c: (gst_tag_suite):
14576 * check/gst/gstvalue.c:
14577 * check/pipelines/cleanup.c:
14578 * check/pipelines/simple_launch_lines.c:
14579 * check/states/sinks.c:
14580 change include statement
14582 * docs/gst/gstreamer-sections.txt:
14583 * docs/gst/tmpl/gstpad.sgml:
14584 document more pad stuff
14585 * gst/gstminiobject.c: (gst_mini_object_ref),
14586 (gst_mini_object_unref):
14589 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14591 * docs/gst/tmpl/gst.sgml:
14593 eliminate another tmpl file, fix spelling in the long-description
14595 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14597 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14598 (test_event), (timediff), (gstevents_suite):
14599 Should fix build on 64-bit arch's
14601 2005-08-18 Andy Wingo <wingo@pobox.com>
14603 Make sure that when a pipeline goes to PLAYING, that data has
14604 actually hit the sink.
14606 * check/states/sinks.c (test_sink): A sink that doesn't get any
14607 data shouldn't return SUCCESS for going to either PLAYING or
14608 PAUSED. Test also the return values on the way back down.
14610 * gst/gstelement.c (gst_element_set_state): When changing the
14611 state of an element currently changing state asynchronously, go to
14612 lost-state after commiting the pending state. Makes future calls
14613 to get_state continue to return ASYNC.
14615 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14616 ASYNC when going to PLAYING if we still don't have preroll, as can
14617 happen with live sources.
14619 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14621 * docs/pwg/advanced-types.xml:
14622 Hack long paragraph into 2 chunks as a workaround for buggy
14623 jadetex version in sid and breezy that loops infinitely and
14626 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14628 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14629 (test_event), (timediff), (gstevents_suite):
14630 Provide more error margin in clock measurements to allow for
14631 g_get_current_time inaccuracies.
14633 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14635 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14636 (test_event), (timediff), (gstevents_suite):
14637 Fix error message output so I might be able to tell why the
14638 test works here but fails on the build farm.
14640 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14642 * check/Makefile.am:
14643 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14644 (test_event), (timediff), (gstevents_suite), (main):
14647 * docs/design/part-seeking.txt:
14648 Spelling correction
14650 * docs/gst/tmpl/gstevent.sgml:
14651 * docs/gst/tmpl/gstfakesrc.sgml:
14654 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14655 Treat a buffer-without-newsegment the same as a receiving
14656 a newsegment not in time format, and disable syncing to the clock
14659 * gst/gstbus.c: (gst_bus_set_sync_handler):
14660 Assert if anyone tries to replace the existing sync_handler for bus,
14661 as only the owner should be setting it.
14664 Have a fixed set of custom event enums with events identified by
14665 their structure name (as in 0.8), rather than a free-for-all
14666 allowing collisions between enum values from different plugins.
14668 * gst/gstpad.c: (gst_pad_class_init):
14671 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14672 Handle out-of-band downstream events from the sending thread.
14674 2005-08-17 Andy Wingo <wingo@pobox.com>
14676 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14677 play-timeout==0 to mean no timeout at all. In that case, don't
14678 bother with a get_state or a warning, just return directly, even
14681 * gst/base/gstbasetransform.c: Debug changes.
14684 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14685 ensure bins post state change messages. A bit of a hack but I can't
14686 think of a way to avoid it.
14688 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14690 2005-08-16 Andy Wingo <wingo@pobox.com>
14692 * gst/base/gstadapter.h:
14693 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14694 peek() but you own the data. Not terribly efficient atm.
14696 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14698 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14699 (gst_element_found_tags):
14701 Add two utility functions for tag handling.
14703 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14705 * docs/manual/advanced-dataaccess.xml:
14706 * docs/manual/basics-helloworld.xml:
14707 Fix docs to use _bin_add() before _link(), which fixes the examples
14708 with recent core versions (reported by Madhan Raj M
14709 <raj_madan@rediffmail.com>, #313199).
14711 2005-08-16 Wim Taymans <wim@fluendo.com>
14713 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14714 Added subtract checks.
14716 * docs/design/part-events.txt:
14717 Some more docs about newsegment
14719 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14722 * gst/gstcaps.c: (gst_caps_to_string):
14723 Add comments, cleanups.
14725 * gst/gstelement.c: (gst_element_save_thyself):
14728 * gst/gstvalue.c: (gst_value_collect_int_range),
14729 (gst_string_unwrap), (gst_value_union_int_int_range),
14730 (gst_value_union_int_range_int_range),
14731 (gst_value_intersect_int_int_range),
14732 (gst_value_intersect_int_range_int_range),
14733 (gst_value_intersect_double_double_range),
14734 (gst_value_intersect_double_range_double_range),
14735 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14736 (gst_value_subtract_int_range_int),
14737 (gst_value_subtract_double_range_double),
14738 (gst_value_subtract_double_range_double_range),
14739 (gst_value_subtract_from_list), (gst_value_subtract_list),
14740 (gst_value_can_compare), (gst_value_compare_fraction):
14741 Cleanups, add comments, remove unneeded asserts.
14743 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14745 * tools/gst-launch.c: (event_loop):
14746 don't convert NULL structures to strings
14748 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14750 * docs/gst/gstreamer-sections.txt:
14751 made some defines private
14752 * docs/gst/tmpl/gstconfig.sgml:
14753 * docs/gst/tmpl/gstqueue.sgml:
14754 * docs/gst/tmpl/gsttaglist.sgml:
14755 * docs/gst/tmpl/gsttypes.sgml:
14756 * docs/gst/tmpl/gstutils.sgml:
14757 * docs/pwg/appendix-porting.xml:
14758 * gst/base/gstbasesink.h:
14759 * gst/base/gstbasesrc.c:
14760 * gst/base/gstbasesrc.h:
14761 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14762 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14763 * gst/gstelement.c: (gst_element_class_init):
14764 * gst/gstpad.c: (gst_pad_class_init):
14765 * gst/gstqueue.c: (gst_queue_class_init):
14766 * gst/gstxml.c: (gst_xml_class_init):
14767 documented all undocumented signal inline
14768 * libs/gst/controller/gst-controller.h:
14771 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14773 * docs/pwg/appendix-porting.xml:
14774 Document _set_link_function -> _set_setcaps_function.
14776 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14778 * check/Makefile.am:
14779 add a .check target for running the check
14780 * check/gst-libs/controller.c: (GST_START_TEST):
14782 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14783 complete checks for gstbuffer; would be nice if I could get the
14784 gcov stuff to work so I can see if I actually completed gstbuffer.c
14785 * check/gstcheck.h:
14786 add ASSERT_BUFFER_REFCOUNT
14788 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14790 * docs/gst/gstreamer-sections.txt:
14791 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14793 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14794 spew out a warning if a tag that is already registered
14795 is re-registered, unless it is re-registered with a
14796 different type (#308438).
14798 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14800 * docs/pwg/appendix-porting.xml:
14801 * docs/pwg/building-state.xml:
14802 Add some paragraphs about state changes in 0.9 to the PWG
14803 and the porting guide, in particular about the new meaning
14804 of GST_STATE_PAUSED and how to write state change functions
14805 with concurrent access by multiple threads in mind.
14807 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14809 * docs/gst/gstreamer-docs.sgml:
14810 * docs/libs/gstreamer-libs-docs.sgml:
14811 added deprecation and since indexes
14812 * libs/gst/controller/gst-controller.c:
14813 * libs/gst/controller/gst-helper.c:
14817 2005-08-11 Wim Taymans <wim@fluendo.com>
14819 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14820 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14821 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14822 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14823 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14824 (gst_ghost_pad_set_target):
14825 Actually implement (re)setting the target on a ghostpad
14826 as described in the docs.
14828 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14830 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14831 Check whether GST_DEBUG_NO_COLOR environment variable is
14832 set and disable coloured debug output if that is the case.
14834 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14836 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14837 (gst_type_find_helper):
14838 The memory returned by gst_type_find_peek() needs to
14839 stay valid until the end of a typefind function, and
14840 typefind functions may keep results from different
14841 offsets around, so we can't just unref the buffer from
14842 the previous _peek(), but have to save all buffers
14843 returned by _peek() until typefinding is done and only
14846 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14848 * docs/gst/gstreamer-sections.txt:
14850 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14852 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14854 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14855 Fix a pretty good memleak.
14857 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14859 * gst/gstiterator.h:
14860 Fix wrong include and 'make distcheck'.
14862 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14864 * gst/gstbin.c: (bin_bus_handler):
14865 Use gst_element_post_message() instead.
14867 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14869 * gst/base/gstadapter.h:
14870 * gst/base/gstbasesink.h:
14871 * gst/base/gstbasesrc.h:
14872 * gst/base/gstbasetransform.h:
14873 * gst/base/gstcollectpads.h:
14874 * gst/base/gstpushsrc.h:
14875 * gst/gstiterator.h:
14876 Add padding to our base elements' class and instance structs and
14877 to GstIterator (you will need to rebuild all plugins and apps!)
14879 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14881 * gst/gstbin.c: (bin_bus_handler):
14882 Make default message forwarding from child->bus to bin->bus
14883 threadsafe and make it not emit warnings if the parent has no bus.
14885 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14887 * gst/gstelement.c: (activate_pads):
14888 On paused->ready, set pad->caps to NULL, as is the documented
14889 behaviour in this state change. Fixes playback of series of
14890 media files when visualization is enabled in Totem.
14892 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14894 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14895 Allow NULL as filter-caps (which means "any").
14897 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14899 * docs/libs/gstreamer-libs-sections.txt:
14900 * libs/gst/controller/gst-controller.c:
14901 * libs/gst/controller/gst-controller.h:
14902 * libs/gst/controller/gst-helper.c:
14903 adding more entries to the docs and fix small doc-bugs
14905 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14907 * docs/gst/gstreamer-docs.sgml:
14908 * docs/gst/gstreamer-sections.txt:
14909 * docs/gst/gstreamer.types:
14910 * docs/gst/tmpl/gstbasesink.sgml:
14911 * docs/gst/tmpl/gstbasesrc.sgml:
14912 * docs/gst/tmpl/gstbasetransform.sgml:
14913 * docs/gst/tmpl/gstfakesrc.sgml:
14914 * gst/base/gstcollectpads.c:
14915 * gst/base/gstcollectpads.h:
14916 * libs/gst/controller/gst-controller.c:
14917 * libs/gst/controller/gst-controller.h:
14918 * libs/gst/controller/gst-helper.c:
14919 * libs/gst/controller/gst-interpolation.c:
14920 * libs/gst/controller/lib.c:
14921 added long/short desc for controller docs
14922 added collectpads base class docs
14923 added correct includes to base-class docs
14925 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14927 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14928 (gst_test_mono_source_set_property),
14929 (gst_test_mono_source_class_init), (GST_START_TEST),
14930 (gst_controller_suite):
14931 * docs/gst/gstreamer-docs.sgml:
14932 * docs/gst/gstreamer-sections.txt:
14933 * docs/gst/gstreamer.types:
14934 * docs/libs/gstreamer-libs-docs.sgml:
14935 * docs/libs/gstreamer-libs-sections.txt:
14936 * gst/base/gstadapter.c:
14937 * libs/gst/controller/gst-controller.c:
14938 (gst_controlled_property_new), (gst_controlled_property_free),
14939 (gst_controller_new_valist),
14940 (gst_controller_remove_properties_valist),
14941 (gst_controller_sink_values), (_gst_controller_finalize):
14942 * libs/gst/controller/gst-controller.h:
14943 * libs/gst/controller/gst-helper.c:
14944 (gst_object_control_properties), (gst_object_uncontrol_properties),
14945 (gst_object_get_controller), (gst_object_set_controller),
14946 (gst_object_sink_values), (gst_object_get_value_arrays),
14947 (gst_object_get_value_array):
14948 more tests (and fixes) for the controller
14949 more docs for the controller
14950 integrated companies docs for the adapter
14952 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
14954 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
14955 (GST_START_TEST), (fakesrc_suite):
14956 add tests for sizetype
14958 2005-08-04 Andy Wingo <wingo@pobox.com>
14960 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
14961 fixes buffer_alloc proxying among other things.
14963 * gst/base/gstbasetransform.c:
14964 * gst/base/gstbasetransform.h:
14965 Revert patch to gstbasetransform from 7-28 removing
14968 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
14969 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
14970 Semantics changed, should return not the size of the output buffer
14971 but the byte size of a buffer with a given caps.
14973 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
14975 (gst_base_transform_configure_caps): Don't set out_size here: (in,
14976 out) are not the pad caps until setcaps finishes.
14977 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
14978 not-in-place case as well. Deal with changing from in-place to
14979 not-in-place within calling pad_alloc_buffer. Still a bit
14980 concerned about the overhead here...
14982 2005-08-03 Andy Wingo <wingo@pobox.com>
14984 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
14985 fixating is an error.
14987 2005-08-04 Edward Hervey <edward@fluendo.com>
14989 * gst/base/gstadapter.h:
14990 Added gst_adapter_get_type() to the header
14992 2005-08-03 Stefan Kost <ensonic@users.sf.net>
14994 * check/Makefile.am:
14995 * check/gst-libs/controller.c:
14996 * libs/gst/controller/gst-controller.c:
14997 (gst_controller_new_valist):
14998 added check test suite for the controller
14999 * gst/base/gstpushsrc.c:
15002 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15004 * docs/gst/Makefile.am:
15005 * docs/gst/gstreamer-docs.sgml:
15006 * docs/gst/gstreamer-sections.txt:
15007 * docs/gst/gstreamer.types:
15008 * docs/gst/tmpl/gstfakesrc.sgml:
15010 * gst/base/gstbasesink.c:
15011 * gst/base/gstbasesink.h:
15012 * gst/base/gstbasesrc.c:
15013 * gst/base/gstbasesrc.h:
15014 * gst/base/gstbasetransform.c:
15015 * gst/base/gstpushsrc.c:
15016 * gst/base/gstpushsrc.h:
15017 add short/long description docs to base classes
15018 add pushsrc to the docs
15019 remove consolidated doc fragments
15021 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15024 * docs/libs/Makefile.am:
15025 * docs/libs/gstreamer-libs-docs.sgml:
15026 * docs/libs/gstreamer-libs-sections.txt:
15027 * docs/libs/gstreamer-libs.types:
15028 * examples/Makefile.am:
15029 * examples/controller/.cvsignore:
15030 * examples/controller/Makefile.am:
15031 * examples/controller/audio-example.c: (main):
15032 * libs/gst/Makefile.am:
15033 * libs/gst/controller/.cvsignore:
15034 * libs/gst/controller/Makefile.am:
15035 * libs/gst/controller/gst-controller.c:
15036 (on_object_controlled_property_changed), (gst_timed_value_compare),
15037 (gst_timed_value_find),
15038 (gst_controlled_property_set_interpolation_mode),
15039 (gst_controlled_property_new), (gst_controlled_property_free),
15040 (gst_controller_find_controlled_property),
15041 (gst_controller_new_valist), (gst_controller_new),
15042 (gst_controller_remove_properties_valist),
15043 (gst_controller_remove_properties), (gst_controller_set),
15044 (gst_controller_set_from_list), (gst_controller_unset),
15045 (gst_controller_get), (gst_controller_get_all),
15046 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15047 (gst_controller_get_value_array),
15048 (gst_controller_set_interpolation_mode),
15049 (_gst_controller_finalize), (_gst_controller_init),
15050 (_gst_controller_class_init), (gst_controller_get_type):
15051 * libs/gst/controller/gst-controller.h:
15052 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15053 (g_object_uncontrol_properties), (g_object_get_controller),
15054 (g_object_set_controller), (g_object_sink_values),
15055 (g_object_get_value_arrays), (g_object_get_value_array):
15056 * libs/gst/controller/gst-interpolation.c:
15057 (gst_controlled_property_find_timed_value_node),
15058 (interpolate_none_get), (interpolate_trigger_get),
15059 (interpolate_trigger_get_value_array):
15060 * libs/gst/controller/lib.c: (gst_controller_init):
15061 * pkgconfig/Makefile.am:
15062 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15063 * pkgconfig/gstreamer-control.pc.in:
15064 * testsuite/Makefile.am:
15065 * testsuite/controller/.cvsignore:
15066 * testsuite/controller/Makefile.am:
15067 * testsuite/controller/interpolator.c: (main):
15068 added controller code
15069 removed dparam pc files
15071 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15072 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15073 (gst_collectpads_stop):
15074 Broadcast the condition when shutting down, to make sure we wake all
15075 threads up. Shut down pads on finalize, for safety.
15077 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15078 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15079 (gst_base_transform_handle_buffer),
15080 (gst_base_transform_change_state):
15081 Handle PAUSED->READY->PAUSED transition after negotiation
15083 * gst/gstmessage.c: (gst_message_init):
15084 Extra piece of debug for new messages.
15086 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15089 * docs/gst/tmpl/gstbasesrc.sgml:
15090 * docs/gst/tmpl/gstelement.sgml:
15091 * docs/gst/tmpl/gstevent.sgml:
15092 * docs/gst/tmpl/gstfakesrc.sgml:
15093 * docs/gst/tmpl/gstformat.sgml:
15094 * docs/gst/tmpl/gstghostpad.sgml:
15095 * docs/gst/tmpl/gstpad.sgml:
15096 * docs/gst/tmpl/gstquery.sgml:
15097 * docs/gst/tmpl/gststructure.sgml:
15098 * docs/gst/tmpl/gsttaglist.sgml:
15099 * docs/gst/tmpl/gstvalue.sgml:
15100 * docs/libs/gstreamer-libs-docs.sgml:
15101 * docs/libs/gstreamer-libs-sections.txt:
15102 * docs/libs/gstreamer-libs.types:
15103 * libs/gst/Makefile.am:
15104 * libs/gst/control/.cvsignore:
15105 * libs/gst/control/Makefile.am:
15106 * libs/gst/control/control.c:
15107 * libs/gst/control/control.h:
15108 * libs/gst/control/dparam.c:
15109 * libs/gst/control/dparam.h:
15110 * libs/gst/control/dparam_smooth.c:
15111 * libs/gst/control/dparam_smooth.h:
15112 * libs/gst/control/dparamcommon.h:
15113 * libs/gst/control/dparammanager.c:
15114 * libs/gst/control/dparammanager.h:
15115 * libs/gst/control/dplinearinterp.c:
15116 * libs/gst/control/dplinearinterp.h:
15117 * libs/gst/control/unitconvert.c:
15118 * libs/gst/control/unitconvert.h:
15119 * testsuite/Makefile.am:
15120 * testsuite/dynparams/.cvsignore:
15121 * testsuite/dynparams/Makefile.am:
15122 * testsuite/dynparams/dparamstest.c:
15123 * tools/Makefile.am:
15124 * tools/gst-inspect.c: (print_element_info), (main):
15125 * tools/gst-xmlinspect.c: (print_element_info), (main):
15126 deactivate and remove dparams (libgstcontrol)
15128 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15130 * gst/elements/gsttypefindelement.c:
15131 (gst_type_find_element_have_type), (gst_type_find_element_init),
15132 (stop_typefinding), (gst_type_find_element_handle_event),
15133 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15134 * gst/elements/gsttypefindelement.h:
15135 Set caps on all outgoing buffers, not just the first one.
15137 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15139 * gst/elements/gsttypefindelement.c:
15140 (gst_type_find_element_have_type),
15141 (gst_type_find_element_check_set_buffer_caps),
15142 (gst_type_find_element_init), (stop_typefinding),
15143 (gst_type_find_element_handle_event),
15144 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15145 * gst/elements/gsttypefindelement.h:
15146 Set caps on first outgoing buffer when we've found the type.
15148 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15150 * docs/gst/gstreamer-docs.sgml:
15151 * docs/gst/gstreamer-sections.txt:
15152 * docs/gst/tmpl/gstscheduler.sgml:
15153 * docs/gst/tmpl/gstschedulerfactory.sgml:
15154 Remove some old cruft from docs.
15156 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15159 Fix inline docs for GstPadLinkReturn.
15161 * gst/gststructure.c: (gst_structure_has_name):
15162 * gst/gststructure.h:
15163 * docs/gst/gstreamer-sections.txt:
15164 New API: gst_structure_has_name().
15166 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15169 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15170 and _LARGEFILE_SOURCE in config.h as required. Do not
15171 export those flags in our .pc files any longer (#142209).
15173 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15175 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15176 (gst_file_sink_do_seek), (gst_file_sink_event),
15177 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15178 Redo seek/tell calls with large file support in mind; add some
15179 debugging messages; add log message that tells us when large
15180 file support is unavailable or not enabled for some reason.
15182 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15183 Add log message that tells us when large file support
15184 is unavailable or not enabled for some reason.
15186 2005-07-29 Wim Taymans <wim@fluendo.com>
15188 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15189 Added test for removing an element with ghostpad from a bin.
15190 Fixed test as current implementation does the right thing.
15192 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15193 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15194 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15195 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15196 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15197 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15198 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15199 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15200 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15201 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15202 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15203 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15204 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15205 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15206 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15207 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15208 * gst/gstghostpad.h:
15209 Clean up ghostpads, remove properties for internal stuff.
15212 Prepare for switching targets, not all use cases work yet.
15214 2005-07-29 Wim Taymans <wim@fluendo.com>
15216 * docs/design/part-gstghostpad.txt:
15219 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15220 (gst_bin_remove_func):
15221 Unlinking pads while holding the bin LOCK is not a good
15224 * gst/gstpad.c: (gst_pad_class_init),
15225 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15226 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15227 No prob setting template after creating the pad.
15229 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15231 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15232 (gst_bus_peek), (gst_bus_source_dispatch),
15233 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15234 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15235 gst_bus_poll may be called from other threads. Handle
15236 this nicely by not making poll_data disappear off the
15237 stack once gst_bus_poll returns.
15238 gst_bus_peek now increments the refcount on the returned
15241 2005-07-29 Wim Taymans <wim@fluendo.com>
15243 * docs/design/part-gstghostpad.txt:
15244 Overview of current GhostPad datastructures and use
15245 cases for changing the target.
15247 2005-07-28 Wim Taymans <wim@fluendo.com>
15249 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15250 Added checks for hierarchy consistency whan adding linked
15253 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15254 Added check to test element scheduling without bin/pipeline.
15256 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15257 First add elements to bin, then link.
15259 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15260 (gst_bin_remove_func):
15261 Unlink pads from elements added/removed from bin to maintain
15262 hierarchy consistency.
15264 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15266 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15267 (gst_base_transform_handle_buffer):
15268 * gst/base/gstbasetransform.h:
15269 Remove broken delay_configure (fixes renegotiation of software
15270 scaling pipelines); remove some leftover printf()s.
15272 2005-07-28 Wim Taymans <wim@fluendo.com>
15274 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15275 Added some more tests for wrong hierarchy
15277 * docs/design/part-overview.txt:
15280 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15283 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15284 (gst_element_dispose):
15285 Some more cleanups.
15287 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15288 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15289 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15290 (gst_pad_set_caps), (gst_pad_send_event):
15291 Check for correct hierarchy when linking pads. Moving to
15292 strict requirement for ghostpads when linking elements in
15296 Clean ups. Added WRONG_HIERARCHY return value.
15298 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15300 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15301 Better debug if no transform is possible.
15303 2005-07-27 Wim Taymans <wim@fluendo.com>
15305 * docs/random/wtay/network-transp:
15306 Some old doc I had.
15308 2005-07-27 Wim Taymans <wim@fluendo.com>
15310 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15311 (gst_dp_event_from_packet):
15312 Fix serialization of seek events.
15314 2005-07-27 Wim Taymans <wim@fluendo.com>
15316 * check/gst-libs/gdp.c: (GST_START_TEST):
15317 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15318 Fix compilation and fix event serialization.
15320 2005-07-27 Wim Taymans <wim@fluendo.com>
15323 * docs/design/part-TODO.txt:
15324 * docs/design/part-events.txt:
15327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15328 (gst_base_sink_event), (gst_base_sink_do_sync),
15329 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15330 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15331 (gst_base_src_do_seek), (gst_base_src_event_handler),
15332 (gst_base_src_loop):
15333 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15334 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15335 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15336 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15337 (gst_base_transform_set_passthrough),
15338 (gst_base_transform_is_passthrough):
15339 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15340 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15346 * gst/gstelement.c: (gst_element_seek):
15347 * gst/gstelement.h:
15348 Update gst_element_seek.
15350 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15351 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15352 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15353 (gst_event_new_eos), (gst_event_new_newsegment),
15354 (gst_event_parse_newsegment), (gst_event_new_tag),
15355 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15356 (gst_event_parse_qos), (gst_event_new_seek),
15357 (gst_event_parse_seek), (gst_event_new_navigation):
15359 Make GstEvent use GstStructure. Add parsing code, make sure the
15360 API is sufficiently generic.
15361 Mark possible directions of events and serialization.
15363 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15364 (_gst_message_copy), (gst_message_new_segment_start),
15365 (gst_message_new_segment_done), (gst_message_new_custom),
15366 (gst_message_parse_segment_start),
15367 (gst_message_parse_segment_done):
15370 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15371 (gst_pad_set_caps), (gst_pad_send_event):
15372 Update for new events.
15373 Catch events sent in wrong directions.
15375 * gst/gstqueue.c: (gst_queue_link_src),
15376 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15377 (gst_queue_handle_src_query):
15382 Remove event code from this file.
15384 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15385 (gst_dp_event_from_packet):
15388 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15390 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15391 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15392 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15393 Make debugging actually useful.
15395 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15397 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15398 (gst_pad_fixate_caps):
15399 Implement default fixation once again, so that gst_pad_fixate()
15400 actually does anything at all. This probably needs to be some
15401 sort of a last resort, and use profile-based fixation first, but
15402 since that doesn't exist yet, this is the best we have. Fixes
15403 visualization in Totem.
15405 2005-07-22 Wim Taymans <wim@fluendo.com>
15407 * docs/design/part-events.txt:
15410 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15411 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15412 (gst_base_sink_activate_pull):
15413 Some more comments.
15415 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15416 (gst_fake_src_create):
15417 Fix handoff marshall.
15419 * gst/elements/gstidentity.c: (gst_identity_class_init),
15420 (gst_identity_transform_ip):
15421 We're a real inplace element.
15423 * gst/gstbus.c: (gst_bus_post):
15424 Added some comments.
15426 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15427 * tests/muxing/case1.c: (main):
15428 * tests/sched/dynamic-pipeline.c: (main):
15429 * tests/sched/interrupt1.c: (main):
15430 * tests/sched/interrupt2.c: (main):
15431 * tests/sched/interrupt3.c: (main):
15432 * tests/sched/runxml.c: (main):
15433 * tests/sched/sched-stress.c: (main):
15434 * tests/seeking/seeking1.c: (event_received), (main):
15435 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15437 * tests/threadstate/threadstate3.c: (main):
15438 * tests/threadstate/threadstate4.c: (main):
15439 * tests/threadstate/threadstate5.c: (main):
15442 2005-07-21 Wim Taymans <wim@fluendo.com>
15444 * docs/design/part-seeking.txt:
15445 Some small additions.
15447 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15448 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15449 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15450 * gst/base/gstbasesink.h:
15451 discont values are gint64, handle the math correctly.
15453 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15454 Make the basesrc report error if the source pad is not linked.
15456 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15457 (gst_queue_loop), (gst_queue_handle_src_query),
15458 (gst_queue_src_activate_push):
15459 Make queue collect data even if the srcpad is not linked.
15460 Start pushing out data as soon as it is linked.
15462 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15464 Added gst_flow_get_name() to ease error reporting.
15466 2005-07-20 Wim Taymans <wim@fluendo.com>
15468 * gst/gstmessage.c: (gst_message_new_segment_start),
15469 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15470 (gst_message_parse_segment_done):
15471 * gst/gstmessage.h:
15472 Added a bunch of messages for advanced seeking.
15474 * gst/parse/grammar.y:
15475 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15476 (gst_dpman_state_changed):
15477 Fix some new-pad -> pad-added signals
15479 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15481 * docs/manual/appendix-porting.xml:
15482 * docs/pwg/appendix-porting.xml:
15483 Document new-pad/state-change signal renames and the FixedList
15486 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15488 * docs/manual/advanced-autoplugging.xml:
15489 * docs/manual/basics-helloworld.xml:
15490 * docs/manual/basics-pads.xml:
15491 * docs/random/ds/0.9-suggested-changes:
15492 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15493 * gst/gstelement.h:
15497 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15498 (gst_structure_parse_array), (gst_structure_parse_value):
15499 * gst/gstvalue.c: (gst_type_is_fixed),
15500 (gst_value_list_prepend_value), (gst_value_list_append_value),
15501 (gst_value_list_get_size), (gst_value_list_get_value),
15502 (gst_value_transform_array_string), (gst_value_serialize_array),
15503 (gst_value_deserialize_array), (gst_value_intersect_array),
15504 (gst_value_is_fixed), (_gst_value_initialize):
15506 GstElement::new-pad -> pad-added, GstElement::state-change ->
15507 state-changed, GstValueFixedList -> GstValueArray, add format and
15508 flags as their own arguments in gst_element_seek() (should improve
15509 "bindeability"), remove function generators since they don't work
15510 under a whole bunch of compilers (they were deprecated already
15513 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15515 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15516 (_gst_debug_register_funcptr):
15518 Fix illegal cast on some platforms (#309253).
15520 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15522 * gst/gstmessage.c: (gst_message_new_custom):
15523 * gst/gstmessage.h:
15524 Add _new_custom, make _new_application a macro to _new_custom.
15526 2005-07-20 Wim Taymans <wim@fluendo.com>
15528 * gst/base/gstbasesrc.c: (gst_base_src_init),
15529 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15530 * gst/base/gstbasesrc.h:
15531 Add a gboolean to decide when to push out a discont.
15533 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15534 (gst_queue_loop), (gst_queue_handle_src_query),
15535 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15536 (gst_queue_set_property), (gst_queue_get_property):
15539 * tests/threadstate/threadstate1.c: (main):
15540 Make a thread test compile and run... very silly..
15543 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15545 * docs/manual/appendix-porting.xml:
15546 Mention removal of libgstgconf-0.9.la and existence of gconf
15549 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15551 * docs/pwg/advanced-clock.xml:
15552 * docs/pwg/appendix-porting.xml:
15553 * docs/pwg/intro-preface.xml:
15554 * docs/pwg/other-base.xml:
15555 * docs/pwg/other-manager.xml:
15556 * docs/pwg/other-nton.xml:
15557 * docs/pwg/other-ntoone.xml:
15558 * docs/pwg/other-oneton.xml:
15559 * docs/pwg/pwg.xml:
15560 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15561 demuxer), remove n-to-n (was never written), fix some code examples
15562 and links and update the porting section to include all this.
15564 2005-07-19 Wim Taymans <wim@fluendo.com>
15566 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15567 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15568 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15569 (gst_queue_src_activate_push), (gst_queue_change_state),
15570 (gst_queue_get_property):
15572 Propagate GstFlowReturn more intelligently upstream and output
15573 an ERROR/EOS when streaming stopped due to fatal error.
15575 2005-07-19 Wim Taymans <wim@fluendo.com>
15577 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15578 Don't block forever for the state change to complete, the
15579 pipeline already did with a sensible timeout.
15581 2005-07-19 Wim Taymans <wim@fluendo.com>
15583 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15584 Make sure we never call the create function is we
15587 2005-07-19 Andy Wingo <wingo@pobox.com>
15589 * gst/parse/parse.l: Attempt to solve bug #172815.
15591 2005-07-19 Wim Taymans <wim@fluendo.com>
15593 * docs/design/part-clocks.txt:
15594 * docs/design/part-events.txt:
15595 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15596 Small docs updates.
15597 Only update the seeking values when we are not
15600 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15602 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15603 Oops, ignore the result of gst_pad_push_event here.
15605 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15607 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15608 (gst_base_src_activate_push):
15609 Send discont event from the loop function, as pads
15610 aren't activated yet in the activate_push handler.
15612 * gst/gstbin.c: (bin_bus_handler):
15613 Don't leak element name.
15615 2005-07-18 Andy Wingo <wingo@pobox.com>
15617 * configure.ac: Use AS_LIBTOOL_TAGS.
15619 2005-07-18 Wim Taymans <wim@fluendo.com>
15621 * docs/gst/gstreamer.types:
15622 Remove deleted types.
15624 2005-07-18 Wim Taymans <wim@fluendo.com>
15626 * check/elements/gstfakesrc.c: (GST_START_TEST):
15629 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15630 (init_popt_callback):
15632 * gst/gst_private.h:
15633 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15634 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15637 * gst/gstconfig.h.in:
15638 * gst/gstelement.c: (gst_element_class_init),
15639 (gst_element_set_base_time), (gst_element_get_base_time),
15640 (iterator_fold_with_resync), (gst_element_change_state),
15641 (gst_element_dispose), (gst_element_get_bus):
15642 * gst/gstelement.h:
15643 * gst/gstelementfactory.h:
15644 * gst/gsterror.c: (_gst_core_errors_init):
15647 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15649 * gst/gstinfo.c: (_gst_debug_init):
15650 * gst/gstmessage.c: (_gst_message_copy):
15651 * gst/gstmessage.h:
15652 * gst/gstminiobject.h:
15655 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15656 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15659 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15660 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15661 (gst_pipeline_get_last_stream_time):
15662 * gst/gstpipeline.h:
15663 * gst/gstpluginfeature.h:
15665 * gst/gstscheduler.c:
15666 * gst/gstscheduler.h:
15667 * gst/gststructure.h:
15668 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15669 (gst_task_finalize), (gst_task_func), (gst_task_create),
15670 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15671 (gst_task_stop), (gst_task_pause):
15673 * gst/gsttypefind.h:
15675 * gst/registries/gstlibxmlregistry.c: (load_feature),
15676 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15677 * gst/registries/gstxmlregistry.c:
15678 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15679 * gst/schedulers/threadscheduler.c:
15680 * libs/gst/control/dparammanager.h:
15681 * tools/gst-inspect.c: (print_element_list),
15682 (print_plugin_features), (print_element_features):
15683 * tools/gst-xmlinspect.c: (print_element_list),
15684 (print_plugin_info), (main):
15685 Removed plugable schedulers.
15686 Removed Scheduler/Manager from elements.
15687 Removed gsttypes.h, rearranged includes.
15688 Removed dependency pad<->element, element<>pipeline, and
15689 various others, fix includes.
15690 implement gst_pad_get_parent() with gst_object_get_parent()
15691 Make GstTask sefcontained.
15692 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15694 Fix endless loop in iterator_fold_with_resync.
15697 2005-07-18 Wim Taymans <wim@fluendo.com>
15703 2005-07-18 Wim Taymans <wim@fluendo.com>
15706 No more cothreads.h
15708 2005-07-18 Wim Taymans <wim@fluendo.com>
15712 Let's remove these.
15714 2005-07-18 Wim Taymans <wim@fluendo.com>
15716 * docs/design/part-dynamic.txt:
15717 * docs/design/part-events.txt:
15718 * docs/design/part-seeking.txt:
15719 Some more docs in the works.
15721 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15722 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15723 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15724 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15725 (gst_base_transform_handle_buffer),
15726 (gst_base_transform_sink_activate_push),
15727 (gst_base_transform_src_activate_pull),
15728 (gst_base_transform_set_passthrough),
15729 (gst_base_transform_is_passthrough):
15732 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15735 * gst/gstevent.c: (gst_event_finalize):
15738 * gst/gstutils.c: (gst_element_unlink),
15739 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15740 (gst_pad_proxy_setcaps):
15742 Add _get_parent_element() to get a pads parent as an element.
15744 2005-07-18 Wim Taymans <wim@fluendo.com>
15746 * check/gst/gstbin.c: (GST_START_TEST):
15749 2005-07-18 Wim Taymans <wim@fluendo.com>
15751 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15752 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15753 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15754 (gst_base_sink_event), (gst_base_sink_do_sync),
15755 (gst_base_sink_chain), (gst_base_sink_loop),
15756 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15757 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15759 Fix logic for returning ASYNC when not prerolled.
15761 2005-07-18 Wim Taymans <wim@fluendo.com>
15763 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15764 Fix nasty refcount bug.
15766 2005-07-16 Philippe Khalaf <burger@speedy.org>
15768 * gst/elements/gstfdsrc.c:
15769 * gst/elements/gstfdsrc.h:
15770 * gst/elements/gstelements.c:
15771 * gst/elements/Makefile.am:
15772 Ported fdsrc to 0.9.
15774 2005-07-16 Wim Taymans <wim@fluendo.com>
15776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15777 (gst_base_sink_do_sync):
15780 2005-07-16 Wim Taymans <wim@fluendo.com>
15782 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15783 (gst_base_sink_event), (gst_base_sink_get_times),
15784 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15785 * gst/base/gstbasesink.h:
15786 Store and use discont values when syncing buffers as described
15789 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15790 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15791 (gst_base_src_activate_push):
15792 Push discont event when starting.
15794 * gst/elements/gstidentity.c: (gst_identity_transform):
15797 * gst/gstbin.c: (gst_bin_change_state):
15798 Small cleanups in base_time distribution.
15800 * gst/gstelement.c: (gst_element_set_base_time),
15801 (gst_element_get_base_time), (gst_element_change_state):
15802 * gst/gstelement.h:
15803 Added methods for the base_time of the element.
15806 * gst/gstpipeline.c: (gst_pipeline_send_event),
15807 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15808 (gst_pipeline_get_last_stream_time):
15809 * gst/gstpipeline.h:
15811 Handle seeking as described in design doc, remove stream_time
15813 Cleanups clock and stream_time selection code. Added accessors
15814 for the stream_time.
15817 2005-07-16 Andy Wingo <wingo@pobox.com>
15819 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15822 2005-07-16 Wim Taymans <wim@fluendo.com>
15824 * check/gst/gstbin.c: (GST_START_TEST):
15825 Make elements silent as the deep_notify refs the
15826 parent, which might make the test fail.
15828 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15829 Don't hold the lock for too long.
15831 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15833 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15834 Don't unref the caps we passed to gst_caps_make_writable() after
15835 passing them. gst_caps_make_writable() will do that for us.
15837 2005-07-15 Andy Wingo <wingo@pobox.com>
15839 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15842 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15843 own marshalling function for the handoff signal. Properly type the
15844 buffer as a buffer. Fixes some warnings. Should do a more general
15846 (gst_identity_class_init): Plug into the right marshaller.
15848 2005-07-15 Wim Taymans <wim@fluendo.com>
15850 * docs/design/part-TODO.txt:
15851 * docs/design/part-clocks.txt:
15852 * docs/design/part-element-sink.txt:
15853 * docs/design/part-events.txt:
15854 * docs/design/part-gstpipeline.txt:
15855 Updated docs, mostly DISCONT related.
15857 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15859 * docs/pwg/building-pads.xml:
15860 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15862 2005-07-15 Andy Wingo <wingo@pobox.com>
15864 * tools/gst-typefind.c: Update, add copyright block.
15866 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15867 Normalize and truncate caps before fixation.
15870 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15871 discards all but the first structure from its argument.
15873 2005-07-15 Wim Taymans <wim@fluendo.com>
15875 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15876 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15877 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15878 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15879 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15880 (gst_base_transform_chain), (gst_base_transform_change_state),
15881 (gst_base_transform_set_passthrough),
15882 (gst_base_transform_is_passthrough):
15883 * gst/base/gstbasetransform.h:
15884 Make passthrough work using the bufferpools.
15885 Changed API a bit, subclasses have to write into a buffer
15886 provided by the base class.
15887 More debug info in nego functions.
15889 * gst/elements/gstidentity.c: (gst_identity_init),
15890 (gst_identity_transform):
15891 Port to new base class.
15893 2005-07-15 Wim Taymans <wim@fluendo.com>
15895 * gst/gstmessage.c: (gst_message_new_state_changed):
15896 * tools/gst-launch.c: (event_loop), (main):
15897 Totally dump messages in -launch with the -m option.
15898 Fix message name for State messages,
15900 2005-07-14 Wim Taymans <wim@fluendo.com>
15902 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15903 Post error messages on errors.
15905 2005-07-14 Wim Taymans <wim@fluendo.com>
15907 * gst/gstcaps.c: (gst_caps_do_simplify):
15911 Define error for stream stopped.
15913 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15914 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15915 Do proper return values.
15917 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15918 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15919 (gst_pad_get_range):
15920 Better return values.
15923 Reorganise return values, add macro to check for fatal errors.
15925 * gst/gstqueue.c: (gst_queue_chain):
15926 Return proper GstFlowReturn values,
15928 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
15930 * docs/gst/gstreamer-sections.txt:
15931 * docs/gst/gstreamer.types:
15932 * docs/gst/tmpl/gst.sgml:
15933 * docs/gst/tmpl/gstbasesink.sgml:
15934 * docs/gst/tmpl/gstbasesrc.sgml:
15935 * docs/gst/tmpl/gstbasetransform.sgml:
15936 * docs/gst/tmpl/gstbin.sgml:
15937 * docs/gst/tmpl/gstbuffer.sgml:
15938 * docs/gst/tmpl/gstcaps.sgml:
15939 * docs/gst/tmpl/gstclock.sgml:
15940 * docs/gst/tmpl/gstcompat.sgml:
15941 * docs/gst/tmpl/gstconfig.sgml:
15942 * docs/gst/tmpl/gstelement.sgml:
15943 * docs/gst/tmpl/gstelementdetails.sgml:
15944 * docs/gst/tmpl/gstelementfactory.sgml:
15945 * docs/gst/tmpl/gstenumtypes.sgml:
15946 * docs/gst/tmpl/gsterror.sgml:
15947 * docs/gst/tmpl/gstevent.sgml:
15948 * docs/gst/tmpl/gstfakesink.sgml:
15949 * docs/gst/tmpl/gstfakesrc.sgml:
15950 * docs/gst/tmpl/gstfilesink.sgml:
15951 * docs/gst/tmpl/gstfilesrc.sgml:
15952 * docs/gst/tmpl/gstfilter.sgml:
15953 * docs/gst/tmpl/gstformat.sgml:
15954 * docs/gst/tmpl/gstghostpad.sgml:
15955 * docs/gst/tmpl/gstimplementsinterface.sgml:
15956 * docs/gst/tmpl/gstindex.sgml:
15957 * docs/gst/tmpl/gstindexfactory.sgml:
15958 * docs/gst/tmpl/gstinfo.sgml:
15959 * docs/gst/tmpl/gstiterator.sgml:
15960 * docs/gst/tmpl/gstmacros.sgml:
15961 * docs/gst/tmpl/gstmemchunk.sgml:
15962 * docs/gst/tmpl/gstminiobject.sgml:
15963 * docs/gst/tmpl/gstobject.sgml:
15964 * docs/gst/tmpl/gstpad.sgml:
15965 * docs/gst/tmpl/gstpadtemplate.sgml:
15966 * docs/gst/tmpl/gstparse.sgml:
15967 * docs/gst/tmpl/gstpipeline.sgml:
15968 * docs/gst/tmpl/gstplugin.sgml:
15969 * docs/gst/tmpl/gstpluginfeature.sgml:
15970 * docs/gst/tmpl/gstquery.sgml:
15971 * docs/gst/tmpl/gstqueue.sgml:
15972 * docs/gst/tmpl/gstregistry.sgml:
15973 * docs/gst/tmpl/gstregistrypool.sgml:
15974 * docs/gst/tmpl/gstscheduler.sgml:
15975 * docs/gst/tmpl/gstschedulerfactory.sgml:
15976 * docs/gst/tmpl/gststructure.sgml:
15977 * docs/gst/tmpl/gstsystemclock.sgml:
15978 * docs/gst/tmpl/gsttaglist.sgml:
15979 * docs/gst/tmpl/gsttagsetter.sgml:
15980 * docs/gst/tmpl/gsttrace.sgml:
15981 * docs/gst/tmpl/gsttrashstack.sgml:
15982 * docs/gst/tmpl/gsttypefind.sgml:
15983 * docs/gst/tmpl/gsttypefindfactory.sgml:
15984 * docs/gst/tmpl/gsttypes.sgml:
15985 * docs/gst/tmpl/gsturihandler.sgml:
15986 * docs/gst/tmpl/gsturitype.sgml:
15987 * docs/gst/tmpl/gstutils.sgml:
15988 * docs/gst/tmpl/gstvalue.sgml:
15989 * docs/gst/tmpl/gstversion.sgml:
15990 * docs/gst/tmpl/gstxml.sgml:
15991 * docs/libs/tmpl/gstcontrol.sgml:
15992 * docs/libs/tmpl/gstdataprotocol.sgml:
15993 * docs/libs/tmpl/gstdparam.sgml:
15994 * docs/libs/tmpl/gstdplinint.sgml:
15995 * docs/libs/tmpl/gstdpman.sgml:
15996 * docs/libs/tmpl/gstdpsmooth.sgml:
15997 * docs/libs/tmpl/gstgetbits.sgml:
15998 * docs/libs/tmpl/gstunitconvert.sgml:
15999 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16000 (gst_push_src_base_init), (gst_push_src_class_init),
16001 (gst_push_src_init), (gst_push_src_create):
16002 * gst/base/gstpushsrc.h:
16003 * gst/elements/gstelements.c:
16004 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16005 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16006 (gst_fake_sink_init), (gst_fake_sink_set_property),
16007 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16008 (gst_fake_sink_event), (gst_fake_sink_preroll),
16009 (gst_fake_sink_render), (gst_fake_sink_change_state):
16010 * gst/elements/gstfakesink.h:
16011 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16012 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16013 (gst_fake_src_base_init), (gst_fake_src_class_init),
16014 (gst_fake_src_init), (gst_fake_src_event_handler),
16015 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16016 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16017 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16018 (gst_fake_src_create_buffer), (gst_fake_src_create),
16019 (gst_fake_src_start), (gst_fake_src_stop):
16020 * gst/elements/gstfakesrc.h:
16021 * gst/elements/gstfilesink.c: (_do_init),
16022 (gst_file_sink_base_init), (gst_file_sink_class_init),
16023 (gst_file_sink_init), (gst_file_sink_dispose),
16024 (gst_file_sink_set_location), (gst_file_sink_set_property),
16025 (gst_file_sink_get_property), (gst_file_sink_open_file),
16026 (gst_file_sink_close_file), (gst_file_sink_query),
16027 (gst_file_sink_event), (gst_file_sink_render),
16028 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16029 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16030 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16031 * gst/elements/gstfilesink.h:
16032 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16033 (gst_file_src_class_init), (gst_file_src_init),
16034 (gst_file_src_finalize), (gst_file_src_set_location),
16035 (gst_file_src_set_property), (gst_file_src_get_property),
16036 (gst_file_src_map_region), (gst_file_src_map_small_region),
16037 (gst_file_src_create_mmap), (gst_file_src_create_read),
16038 (gst_file_src_create), (gst_file_src_is_seekable),
16039 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16040 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16041 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16042 (gst_file_src_uri_handler_init):
16043 * gst/elements/gstfilesrc.h:
16044 more autistic cleanliness in functions/names/defines
16046 2005-07-13 Andy Wingo <wingo@pobox.com>
16048 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16049 source couldn't negotiate.
16051 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16055 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16056 function. I am channeling Hades. Put your boots on suckers!!!
16058 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16060 * testsuite/caps/Makefile.am:
16061 * testsuite/caps/value_compare.c:
16062 * testsuite/caps/value_intersect.c:
16063 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16064 move two testsuite apps over to the check dir
16066 2005-07-12 Wim Taymans <wim@fluendo.com>
16068 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16069 Added more debug info in the negotiate process.
16071 * gst/gstmessage.h:
16072 Prepare for segment playback.
16074 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16080 * tools/gst-launch.c: (main):
16081 NULL pipeline on errors.
16083 2005-07-12 Andy Wingo <wingo@pobox.com>
16085 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16086 not it comes from a malloc region. Make sure our copy gets freed.
16088 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16090 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16091 * check/gst/gstmessage.c: (GST_START_TEST):
16092 * check/gst/gststructure.c: (GST_START_TEST),
16093 (gst_structure_suite), (main):
16095 * gst/gstelement.c: (gst_element_message_full):
16096 clean up GError and debug string now that they get copied
16097 * gst/gstmessage.c: (gst_message_new_error),
16098 (gst_message_new_warning), (gst_message_parse_error),
16099 (gst_message_parse_warning):
16100 use GST_TYPE_G_ERROR for structure_new, and take copies of
16101 arguments, so that we don't mess up refcounting
16103 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16105 * check/Makefile.am:
16106 add per-test valgrind targets
16107 * check/gst-libs/gdp.c: (GST_START_TEST),
16108 (gst_data_protocol_suite), (main):
16111 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16113 * check/Makefile.am:
16114 instate more valgrindable tests
16115 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16116 (GST_START_TEST), (fakesrc_suite):
16117 * check/gst/gstpad.c: (GST_START_TEST):
16118 * check/gst/gststructure.c: (GST_START_TEST):
16120 * docs/gst/tmpl/gstminiobject.sgml:
16121 * gst/gstpad.c: (gst_pad_finalize):
16122 fix the static mutex leak
16124 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16126 * check/Makefile.am:
16127 add two more tests for valgrinding
16128 * check/gst/gstvalue.c: (GST_START_TEST):
16129 test refcount of deserialized buffer, found a leak
16130 * docs/gst/gstreamer-docs.sgml:
16131 * docs/gst/gstreamer-sections.txt:
16132 * docs/gst/gstreamer.types:
16133 * docs/gst/tmpl/gstminiobject.sgml:
16134 add miniobject to docs
16135 * gst/gstminiobject.c:
16137 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16138 (gst_string_unwrap):
16139 fix a hard-to-find invalid write for one of the tests
16140 fix a leak for deserialized buffers
16142 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16144 * docs/pwg/advanced-events.xml:
16145 * docs/pwg/advanced-request.xml:
16146 * docs/pwg/advanced-scheduling.xml:
16147 * docs/pwg/appendix-porting.xml:
16148 * docs/pwg/building-boiler.xml:
16149 * docs/pwg/intro-preface.xml:
16150 * docs/pwg/other-ntoone.xml:
16151 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16152 of example code and explanation for pad activation, loop() and
16153 getrange() functions and a bit more. Remove old comments pointing
16155 * examples/pwg/Makefile.am:
16156 Add loop/getrange examples.
16158 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16161 check for valgrind binary + some fixes
16163 valgrind suppressions for the tests
16164 * check/Makefile.am:
16165 add a valgrind: target that valgrinds the unit tests
16166 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16167 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16168 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16169 * check/gst/gstghostpad.c:
16171 * check/gst/gstdata.c:
16173 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16174 (thread_unref), (gst_mini_object_suite), (main):
16176 * gst/gst.c: (gst_deinit):
16178 add a method to clean up.
16179 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16180 (gst_system_clock_obtain):
16181 allow for disposing the system clock.
16182 * tools/gst-launch.c: (main):
16185 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16187 * docs/gst/tmpl/gstbasesrc.sgml:
16188 * docs/gst/tmpl/gstfakesrc.sgml:
16189 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16190 (gst_base_src_init), (gst_base_src_set_property),
16191 (gst_base_src_get_property), (gst_base_src_get_range),
16192 (gst_base_src_start):
16193 * gst/base/gstbasesrc.h:
16194 add num-buffers property
16195 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16196 (gst_fakesrc_init), (gst_fakesrc_set_property),
16197 (gst_fakesrc_get_property), (gst_fakesrc_create),
16198 (gst_fakesrc_start):
16199 remove num-buffers property
16201 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16203 * docs/gst/gstreamer-sections.txt:
16204 * docs/gst/tmpl/gstbasesink.sgml:
16205 * docs/gst/tmpl/gstbasesrc.sgml:
16206 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16207 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16208 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16209 (gst_base_sink_set_property), (gst_base_sink_get_property),
16210 (gst_base_sink_handle_object), (gst_base_sink_event),
16211 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16212 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16213 (gst_base_sink_loop), (gst_base_sink_deactivate),
16214 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16215 (gst_base_sink_change_state):
16216 * gst/base/gstbasesink.h:
16217 * gst/base/gstbasesrc.h:
16218 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16219 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16220 (gst_filesink_init):
16221 more macro splitting
16223 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16225 * gst/gstelement.c: (gst_element_get_bus):
16227 * tools/gst-launch.c: (check_intr), (event_loop):
16230 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16232 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16235 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16237 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16238 (gst_base_src_finalize):
16239 add finalize method and clean up properly
16240 * gst/gstpipeline.c: (gst_pipeline_dispose):
16243 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16245 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16247 add more things to check
16248 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16249 * gst/gstelement.c:
16252 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16254 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16255 (GST_START_TEST), (fakesrc_suite):
16256 * check/gst-libs/gdp.c: (GST_START_TEST):
16257 * check/gst/gst.c: (GST_START_TEST):
16258 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16259 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16260 * check/gst/gstbus.c: (GST_START_TEST):
16261 * check/gst/gstcaps.c: (GST_START_TEST):
16262 * check/gst/gstdata.c: (GST_START_TEST):
16263 * check/gst/gstelement.c: (GST_START_TEST):
16264 * check/gst/gstghostpad.c: (GST_START_TEST):
16265 * check/gst/gstiterator.c: (GST_START_TEST):
16266 * check/gst/gstmessage.c: (GST_START_TEST):
16267 * check/gst/gstobject.c: (GST_START_TEST):
16268 * check/gst/gstpad.c: (GST_START_TEST):
16269 * check/gst/gststructure.c: (GST_START_TEST):
16270 * check/gst/gstsystemclock.c: (GST_START_TEST),
16271 (gst_systemclock_suite):
16272 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16273 * check/gst/gstvalue.c: (GST_START_TEST):
16274 * check/pipelines/cleanup.c: (GST_START_TEST):
16275 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16276 * check/states/sinks.c: (GST_START_TEST):
16277 * check/gstcheck.c: (gst_check_init):
16278 * check/gstcheck.h:
16279 add debugging category
16280 use GST_START_TEST now, so we add a debug line
16282 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16284 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16285 add test for state change message on a bin
16286 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16288 * gst/gstbin.c: (gst_bin_init):
16289 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16290 * gst/gstelement.c: (gst_element_post_message),
16291 (gst_element_set_state):
16292 * gst/gstelementfactory.c: (gst_element_factory_create):
16293 * gst/gstmessage.c: (gst_message_new):
16294 * gst/gstscheduler.c:
16295 various debugging additions and cleanups
16297 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16299 * check/Makefile.am:
16300 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16302 adding tests for elements
16303 * gst/gstelement.c: (gst_element_dispose):
16305 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16307 * gst/registries/gstlibxmlregistry.c: (load_feature):
16308 plug more leaks. A simple gst_init() now is leakfree, yay.
16310 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16312 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16313 (gst_xml_registry_load):
16314 plug another memleak
16316 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16319 use GST_SET_ERROR_CFLAGS
16320 * docs/faq/cvs.xml:
16321 change to ERROR_CFLAGS
16323 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16326 make GST_ERROR_CFLAGS overridable and re-enable Werror
16327 * docs/faq/cvs.xml:
16328 add a note about error CFLAGS
16329 * docs/gst/tmpl/gstfakesrc.sgml:
16330 * gst/elements/gstfakesrc.c:
16331 comment out some unused code
16332 * gst/gst.c: (split_and_iterate):
16333 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16337 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16339 * common/Makefile.am:
16340 * common/gtk-doc.mak:
16341 * docs/gst/Makefile.am:
16342 factor out gtk-doc.mak
16344 2005-07-07 Wim Taymans <wim@fluendo.com>
16346 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16347 (gst_thread_scheduler_dispose):
16348 Unlock the STREAM_LOCK completely.
16350 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16352 * check/Makefile.am:
16353 * check/elements/.cvsignore:
16354 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16355 (START_TEST), (fakesrc_suite), (main):
16356 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16357 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16358 (gst_fakesrc_create), (gst_fakesrc_start):
16359 * gst/elements/gstfakesrc.h:
16360 adding a first element test
16362 2005-07-07 Andy Wingo <wingo@pobox.com>
16364 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16367 2005-07-07 Wim Taymans <wim@fluendo.com>
16373 2005-07-07 Wim Taymans <wim@fluendo.com>
16375 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16376 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16377 Allow subclasses to implement their own negotiation.
16379 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16381 * docs/design/part-gstbin.txt:
16382 * docs/design/part-gstpipeline.txt:
16383 Update design notes to reflect the movement of
16384 responsibility for bus handling from GstPipeline to
16387 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16390 Remove unnecessary queue2/3/4 examples.
16392 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16394 * examples/Makefile.am:
16395 * examples/helloworld/helloworld.c: (event_loop), (main):
16396 * examples/queue/queue.c: (event_loop), (main):
16397 * examples/queue2/queue2.c: (main):
16398 Update a couple of the examples to work again.
16400 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16401 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16402 Spelling corrections and extra debug.
16404 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16405 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16406 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16408 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16409 (gst_pipeline_change_state):
16410 * gst/gstpipeline.h:
16411 Move the bus handler for children to the GstBin, and create a
16412 separate bus for receiving messages from children to the one the
16413 bus sends 'upwards' on.
16415 2005-07-06 Wim Taymans <wim@fluendo.com>
16418 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16419 (gst_base_sink_handle_object), (gst_base_sink_loop),
16420 (gst_base_sink_change_state):
16421 * gst/base/gstbasesink.h:
16422 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16423 (gst_base_src_init), (gst_base_src_setcaps),
16424 (gst_base_src_getcaps), (gst_base_src_loop),
16425 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16426 (gst_base_src_start), (gst_base_src_change_state):
16427 * gst/base/gstbasesrc.h:
16428 Make basesrc negotiate.
16429 Handle the case where preroll fails in basesink.
16432 2005-07-06 Wim Taymans <wim@fluendo.com>
16434 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16435 Implement the fixate function.
16436 Clean up acceptcaps.
16438 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16440 * docs/pwg/building-filterfactory.xml:
16441 * docs/pwg/pwg.xml:
16442 Remove never-written filter-factory chapter; I'll add the various
16443 base classes to part 4 ("other element types") later on.
16445 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16447 * docs/pwg/advanced-negotiation.xml:
16448 * docs/pwg/building-boiler.xml:
16449 * docs/pwg/building-pads.xml:
16450 * docs/pwg/pwg.xml:
16451 * examples/pwg/Makefile.am:
16452 Add a chapter on caps negotiation, simplify the original code
16453 samples a bit w.r.t. caps negotiation, add link to the advanced
16454 section. Add a bunch of examples showing different use cases of
16455 different types of caps negotiation. Upstream renegotiation isn't
16456 fully documented yet since nobody knows how that works.
16458 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16460 * check/gst/gstpad.c:
16461 * check/gstcheck.c:
16462 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16463 if pad has no parent, return NULL as list of internal links
16465 2005-07-05 Andy Wingo <wingo@pobox.com>
16467 * gst/elements/gstfilesrc.c:
16468 * gst/elements/gstfakesrc.c:
16469 * gst/base/gstpushsrc.c:
16470 * gst/base/gstbasesrc.h:
16471 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16473 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16476 better report generation target (lcov needs a patch)
16478 2005-07-05 Andy Wingo <wingo@pobox.com>
16480 * gst/elements, testsuite: Null if we got it...
16482 2005-07-05 Wim Taymans <wim@fluendo.com>
16485 * libs/gst/dataprotocol/Makefile.am:
16486 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16487 * libs/gst/dataprotocol/dataprotocol.h:
16488 * pkgconfig/Makefile.am:
16489 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16490 * pkgconfig/gstreamer-dataprotocol.pc.in:
16491 Ported dataprotol to 0.9.
16492 Added pkgconfig files.
16494 2005-07-05 Andy Wingo <wingo@pobox.com>
16496 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16497 Default to returning TRUE for the case when tranform_caps returns
16498 a fixed caps, like for identity or volume.
16500 * check/gst/gstbus.c (pound_bus_with_messages):
16501 * check/gst/gstmessage.c (START_TEST):
16502 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16503 message API change.
16505 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16506 logic weaks here: always run transform_caps, trying passthrough
16507 operation only if the original caps intersects with the transform.
16509 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16510 source and sink caps.
16512 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16513 Intersect the peer caps with the pad template before going into
16515 (gst_base_transform_transform_caps): More debugging.
16517 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16520 2005-07-04 Edward Hervey <edward@fluendo.com>
16524 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16527 2005-07-04 Andy Wingo <wingo@pobox.com>
16529 * check/gst/gstpad.c: Only set explicit caps on pads.
16531 2005-07-01 Andy Wingo <wingo@pobox.com>
16533 * tests/network-clock.scm: Commentary update.
16535 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16536 Didn't really make sense, not implementable with basetransform,
16538 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16539 attempt at implementing the sync property, needs an unlock method.
16541 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16542 New func, by default returns the same caps (the identity
16544 (gst_base_transform_getcaps): Uses transform_caps to return
16545 something sensible.
16546 (gst_base_transform_setcaps): Complicated logic to get caps on
16547 both pads, even if they are different, and to call set_caps once
16548 for every time both pads get their caps set.
16549 (gst_base_transform_handle_buffer): Give the ref to the transform
16550 function. Allows in-place modification of the buffer.
16552 * gst/base/gstbasetransform.h (transform_caps): New class method.
16553 Given caps on one side, what can I do on the other.
16554 (set_caps): Take two caps, one for each side of the element.
16557 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16558 caps in place. This is safe because we can check the mutability of
16559 the caps, and a good idea because fixate functions are just called
16560 as a matter of last resort. (Not actually implemented.)
16561 (gst_pad_set_caps): If the caps we're setting is actually the same
16562 as the existing pad caps, just update the pointer without calling
16563 setcaps. Assert that caps is either NULL or fixed, as per the
16566 * gst/gstghostpad.c: Update for fixate changes.
16568 2005-07-02 Andy Wingo <wingo@pobox.com>
16571 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16572 two refcounts makes it immutable, which is enough. Doc more.
16574 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16576 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16577 Put the mini_object into GValue as a mini_object,
16578 not a gpointer, since that's how we declared
16581 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16583 * examples/pwg/Makefile.am:
16584 Fix buildbot again.
16586 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16588 * docs/pwg/building-testapp.xml:
16590 * examples/pwg/Makefile.am:
16593 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16596 * examples/Makefile.am:
16597 * examples/pwg/Makefile.am:
16598 * examples/pwg/extract.pl:
16599 Enable building the PWG examples.
16600 * docs/pwg/advanced-interfaces.xml:
16601 Add URI interface stub.
16602 * docs/pwg/advanced-types.xml:
16603 * docs/pwg/other-autoplugger.xml:
16604 * docs/pwg/appendix-porting.xml:
16605 * docs/pwg/pwg.xml:
16606 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16607 * docs/pwg/building-boiler.xml:
16608 * docs/pwg/building-chainfn.xml:
16609 * docs/pwg/building-pads.xml:
16610 * docs/pwg/building-props.xml:
16611 * docs/pwg/building-state.xml:
16612 * docs/pwg/building-testapp.xml:
16613 Update the building-*.xml parts for 0.9 changes. All examples
16614 code blocks compile in examples/pwg/*.
16616 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16618 * docs/manual/advanced-autoplugging.xml:
16619 * docs/manual/appendix-checklist.xml:
16620 * docs/manual/appendix-integration.xml:
16621 * docs/manual/highlevel-components.xml:
16622 Fix playbin/decodebin examples, update docs a bit, mention bus
16623 instead of signals in various places, mention kmplayer and
16624 kaffeine since they have a working GStreamer backend in the KDE
16627 2005-06-30 Wim Taymans <wim@fluendo.com>
16630 * docs/design/draft-ghostpads.txt:
16631 * docs/design/draft-push-pull.txt:
16632 * docs/design/draft-query.txt:
16633 * docs/design/part-TODO.txt:
16634 * docs/design/part-query.txt:
16635 Added CHANGES-0.9 doc, updated status of other docs.
16640 2005-06-30 Wim Taymans <wim@fluendo.com>
16642 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16643 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16644 (gst_base_sink_change_state):
16645 * gst/base/gstbasesink.h:
16646 Some tweaks, only EOS and a buffer complete a preroll.
16648 2005-06-30 Andy Wingo <wingo@pobox.com>
16650 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16651 activate_push down to the internal pad as well.
16653 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16655 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16657 * gst/gsttaginterface.c:
16658 Some documentation fixes (#307394 and #307397).
16660 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16662 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16664 * gst/gstvalue.c: (gst_value_intersect_list):
16665 Fix memleak (#309125).
16667 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16669 * docs/manual/advanced-dataaccess.xml:
16670 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16671 * docs/manual/basics-pads.xml:
16672 Add reference for filtered caps to above chapter.
16674 2005-06-30 Wim Taymans <wim@fluendo.com>
16676 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16677 (gst_bin_change_state):
16679 Lame attempt at making the state change function a bit
16682 2005-06-30 Wim Taymans <wim@fluendo.com>
16684 * docs/design/part-clocks.txt:
16685 * docs/design/part-element-sink.txt:
16686 * docs/design/part-events.txt:
16687 * docs/design/part-preroll.txt:
16688 * docs/design/part-states.txt:
16689 Some more tweeks and additions to the docs.
16691 2005-06-30 Wim Taymans <wim@fluendo.com>
16693 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16694 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16695 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16696 (gst_pad_check_pull_range), (gst_pad_get_range),
16697 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16699 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16700 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16701 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16702 (gst_pad_remove_buffer_probe):
16703 Removed atomic operations, use existing LOCK.
16704 Move exception handling out of main code path.
16706 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16708 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16709 (silly_return_true_function), (gst_pad_class_init),
16710 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16711 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16712 (gst_pad_send_event):
16713 Fix accumulator, add default value by using _emitv() instead
16714 of _emit() for signal emission.
16716 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16718 * docs/manual/advanced-dataaccess.xml:
16719 * examples/manual/Makefile.am:
16721 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16724 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16726 * gst/elements/gstfilesink.c: (gst_filesink_render):
16727 Simplify code so that we don't have to handle short
16728 writes and return GST_FLOW_ERROR if an error occured.
16730 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16732 * docs/gst/gstreamer-docs.sgml:
16733 Remove probes more.
16735 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16737 * docs/gst/gstreamer-sections.txt:
16738 * docs/gst/tmpl/gstpad.sgml:
16739 * docs/gst/tmpl/gstprobe.sgml:
16741 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16742 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16743 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16744 (gst_pad_push_event), (gst_pad_send_event):
16746 * gst/gstutils.c: (gst_pad_add_data_probe),
16747 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16748 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16749 (gst_pad_remove_buffer_probe):
16751 Remove old probes, add new g-signal-based probes and some utility
16754 2005-06-29 Edward Hervey <edward@fluendo.com>
16756 * gst/gstelementfactory.c:
16759 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16760 the definition to the header file.
16762 2005-06-29 Andy Wingo <wingo@pobox.com>
16764 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16765 plugins from the source directory.
16767 2005-06-29 Wim Taymans <wim@fluendo.com>
16769 * docs/gst/tmpl/gstbuffer.sgml:
16770 * docs/gst/tmpl/gstclock.sgml:
16771 Some fixings for blantently wrong text.
16773 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16775 * check/Makefile.am:
16776 * gst/gst.c: (add_path_func), (init_pre):
16777 * gst/gstregistry.c: (gst_registry_add_path):
16778 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16779 only scan the GST_PLUGIN_PATH locations, and not add
16782 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16784 * docs/gst/gstreamer-sections.txt:
16785 * docs/gst/tmpl/gstbasesrc.sgml:
16786 * gst/gstelement.c:
16787 * gst/gstelement.h:
16792 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16794 * docs/manual/advanced-autoplugging.xml:
16795 Fix autoplugging example.
16797 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16799 * docs/manual/advanced-autoplugging.xml:
16800 * docs/manual/mime-world.fig:
16801 Try to get autoplugging working, fix type detection. Fix text
16802 in hello-world image.
16804 2005-06-29 Wim Taymans <wim@fluendo.com>
16806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16807 (gst_base_sink_change_state):
16811 map SIGNAL and BROADCAST to the right function.
16814 Remove redundant braces.
16816 * gst/gstpad.c: (gst_pad_set_caps):
16817 Don't call setcaps function when reseting caps to NULL.
16819 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16820 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16821 (gst_system_clock_id_unschedule):
16822 Use BROADCAST as this is what we do.
16824 2005-06-29 Wim Taymans <wim@fluendo.com>
16826 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16827 We are actually prerolling before commiting the state
16830 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16832 * docs/manual/advanced-clocks.xml:
16833 * docs/manual/advanced-interfaces.xml:
16834 * docs/manual/advanced-metadata.xml:
16835 * docs/manual/advanced-position.xml:
16836 * docs/manual/advanced-schedulers.xml:
16837 * docs/manual/advanced-threads.xml:
16838 * docs/manual/appendix-porting.xml:
16839 * docs/manual/basics-bins.xml:
16840 * docs/manual/basics-bus.xml:
16841 * docs/manual/basics-elements.xml:
16842 * docs/manual/basics-helloworld.xml:
16843 * docs/manual/basics-pads.xml:
16844 * docs/manual/highlevel-components.xml:
16845 * docs/manual/manual.xml:
16846 * docs/manual/thread.fig:
16847 Update (until threads/scheduling) Application Development Manual;
16848 remove GstThread, add GstBus, add simple porting checklist, add
16849 documentation for tag writing, clocks, make all examples until this
16850 part compile and run.
16851 * examples/manual/Makefile.am:
16852 Update from changes to Application Development Manual; add bus
16853 example, remove thread example.
16855 2005-06-28 Wim Taymans <wim@fluendo.com>
16857 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16858 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16859 (gst_bus_source_dispatch):
16860 Add debugging messages.
16861 Make internal methods static.
16862 Handle the case where the bus is flushed in the handler.
16864 * gst/gstelement.c: (gst_element_get_bus):
16865 Fix refcount in _get_bus();
16867 * gst/gstpipeline.c: (gst_pipeline_change_state),
16868 (gst_pipeline_get_clock_func):
16869 Clock refcounting fixes.
16870 Handle the case where preroll timed out more gracefully.
16872 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16873 Clean up the internal thread in dispose. This is needed
16874 for subclasses that actually get disposed.
16876 * gst/schedulers/threadscheduler.c:
16877 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16878 (gst_thread_scheduler_dispose):
16879 Free thread pool in dispose.
16881 2005-06-28 Andy Wingo <wingo@pobox.com>
16883 * tests/network-clock-utils.scm (debug, print-event): New utils.
16885 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16886 (*packet-loss*): Unified loss probability.
16887 (network-time): Report out-of-band events.
16889 * tests/plot-data: Add support for out-of-band events. Hack it
16890 into this script instead of passing it down the pipe; should fix
16893 2005-06-28 Wim Taymans <wim@fluendo.com>
16895 * docs/gst/gstreamer.types:
16896 * docs/gst/tmpl/gstbasesrc.sgml:
16897 * docs/gst/tmpl/gstpad.sgml:
16900 2005-06-28 Wim Taymans <wim@fluendo.com>
16902 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16903 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16904 (gst_proxy_pad_do_fixatecaps):
16905 Correctly proxy the check_pull_range function.
16907 2005-06-28 Andy Wingo <wingo@pobox.com>
16909 * tests/network-clock.scm: Removed need for slib.
16911 2005-06-28 Wim Taymans <wim@fluendo.com>
16913 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16914 (gst_basesink_preroll_queue_flush):
16915 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16916 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16917 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16918 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16919 (gst_proxy_pad_set_property):
16922 * gst/gstqueue.c: (gst_queue_init):
16923 The deprecated pad loop function is removed now.
16925 2005-06-28 Andy Wingo <wingo@pobox.com>
16927 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16928 New parameters, simulate network packet loss.
16930 * tests/network-clock-utils.scm: Initialize the RNG.
16932 2005-06-28 Wim Taymans <wim@fluendo.com>
16934 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
16935 (gst_basesink_event), (gst_basesink_deactivate):
16936 Flushing the preroll queue always needs to unlock the waiters.
16938 2005-06-28 Edward Hervey <edward@fluendo.com>
16940 * gst/gstpipeline.c: (gst_pipeline_send_event):
16941 Wheen a seek was successful on a pipeline, set the stream_time to the
16942 seek offset in order to have a synchronized stream_time.
16944 2005-06-28 Wim Taymans <wim@fluendo.com>
16946 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16947 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
16948 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
16949 (gst_proxy_pad_do_fixatecaps):
16950 Call wrapper function instead of just calling the function
16951 pointers. This takes care of any locking and whatmore.
16953 2005-06-28 Wim Taymans <wim@fluendo.com>
16955 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
16956 (gst_pad_pull_range):
16958 CONNECTED -> LINKED.
16960 2005-06-28 Andy Wingo <wingo@pobox.com>
16962 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
16963 source-munging commit!!!
16965 * gst/gstobject.c (gst_object_unref, gst_object_ref)
16966 (gst_object_sink): Take gpointer arguments, not GstObject --
16967 avoids casts. Like GLib.
16969 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
16972 2005-06-27 Andy Wingo <wingo@pobox.com>
16974 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
16977 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
16978 returns a sorted copy of the trace list.
16979 (gst_alloc_trace_print_live): New API, only prints traces with
16980 live objects. Sort the list.
16981 (gst_alloc_trace_print_all): Sort the list.
16982 (gst_alloc_trace_print): Align columns.
16984 * gst/elements/gstttypefindelement.c:
16985 * gst/elements/gsttee.c:
16986 * gst/base/gstbasesrc.c:
16987 * gst/base/gstbasesink.c:
16988 * gst/base/gstbasetransform.c:
16989 * gst/gstqueue.c: Adapt for pad activation changes.
16991 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
16993 (gst_pipeline_dispose): Drop ref on sched.
16995 * gst/gstpad.c (gst_pad_init): Set the default activate func.
16996 (gst_pad_activate_default): Push mode by default.
16997 (pre_activate_switch, post_activate_switch): New stubs, things to
16998 do before and after switching activation modes on pads.
16999 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17000 the pad's activate function to choose which mode to activate.
17001 Shortcut on deactivation and call the right function directly.
17002 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17004 (gst_pad_activate_push): New API, same for push mode.
17005 (gst_pad_set_activate_function)
17006 (gst_pad_set_activatepull_function)
17007 (gst_pad_set_activatepush_function): Setters for new API.
17009 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17010 Trace all miniobjects.
17011 (gst_mini_object_make_writable): Unref the arg if we copy, like
17012 gst_caps_make_writable.
17014 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17016 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17017 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17018 Adapt for new pad API.
17020 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17022 * gst/gstelement.h:
17023 * gst/gstelement.c (gst_element_iterate_src_pads)
17024 (gst_element_iterate_sink_pads): New API functions.
17026 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17027 should fold into gstiterator.c in some form.
17028 (gst_element_pads_activate): Simplified via use of fold and
17029 delegation of decisions to gstpad->activate.
17031 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17034 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17035 class once in init, like gstmessage. Didn't run into this issue
17036 but it seems correct. Don't initialize a trace, gstminiobject does
17039 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17040 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17042 (assert_live_count): New util function, uses alloc traces to check
17045 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17046 To be modified when unlink drops the internal pad.
17048 2005-06-27 Wim Taymans <wim@fluendo.com>
17050 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17051 (gst_bin_change_state):
17052 Cleanup the get_state() function a little, make sure it
17053 iterates the same set of elements.
17054 Added stub iterate_state_order().
17056 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17058 * docs/gst/gstreamer-docs.sgml:
17059 * docs/gst/gstreamer-sections.txt:
17060 * docs/gst/gstreamer.types:
17061 * docs/gst/tmpl/gstbasesink.sgml:
17062 * docs/gst/tmpl/gstbasesrc.sgml:
17063 * docs/gst/tmpl/gstbasetransform.sgml:
17064 * docs/gst/tmpl/gstelement.sgml:
17065 * docs/gst/tmpl/gstiterator.sgml:
17066 * gst/base/gstbasesrc.c:
17067 * gst/base/gstbasesrc.h:
17068 * gst/base/gstbasetransform.h:
17069 * gst/gstelement.c:
17070 * gst/gstiterator.h:
17071 adding basetransform and iterator docs
17073 2005-06-27 Andy Wingo <wingo@pobox.com>
17075 * docs/design/part-activation.txt: Notes on how activation should
17076 work -- not quite implemented yet.
17078 2005-06-25 Wim Taymans <wim@fluendo.com>
17080 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17081 At least get the chain function correct, needs more
17084 2005-06-25 Wim Taymans <wim@fluendo.com>
17086 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17087 (gst_basesink_handle_object), (gst_basesink_event),
17088 (gst_basesink_do_sync), (gst_basesink_handle_event),
17089 (gst_basesink_change_state):
17091 Right, two problems here: ghostpads don't take locks and
17092 glib _rec_mutex_lock_full() with depth==0 still locks.
17093 Catch illegal locking and g_warn them.
17095 2005-06-25 Wim Taymans <wim@fluendo.com>
17097 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17098 Have to check for completion now...
17100 2005-06-25 Wim Taymans <wim@fluendo.com>
17102 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17103 (gst_basesink_handle_object), (gst_basesink_event),
17104 (gst_basesink_do_sync), (gst_basesink_handle_event),
17105 (gst_basesink_change_state):
17107 Unlock STREAM_LOCK whatever the recursion was.
17109 2005-06-25 Wim Taymans <wim@fluendo.com>
17111 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17112 (gst_basesink_preroll_queue_empty),
17113 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17114 (gst_basesink_event), (gst_basesink_do_sync),
17115 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17116 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17117 (gst_basesink_change_state):
17118 Reworked the base sink, handle event and buffer serialisation
17119 correctly and removed possible deadlock.
17120 Handle EOS correctly.
17122 2005-06-25 Wim Taymans <wim@fluendo.com>
17124 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17125 (gst_pipeline_change_state):
17126 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17127 Allow elements to post EOS in the state change function.
17128 Fix up -launch, make it exit the poll loop when the
17129 pipeline actually changed state.
17130 Fix up warning parsing in -launch.
17132 2005-06-25 Wim Taymans <wim@fluendo.com>
17134 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17135 (gst_tee_sink_activate):
17136 Core takes STREAM_LOCK for us now.
17138 2005-06-25 Wim Taymans <wim@fluendo.com>
17140 * gst/gstelement.c: (gst_element_get_state_func),
17141 (gst_element_set_state):
17142 * gst/gstelement.h:
17143 * gst/gstmessage.c: (gst_message_parse_error),
17144 (gst_message_parse_warning):
17145 Keep track of current target state while performing a state
17146 change so that subclasses can do something interesting.
17147 Fix parsing of warning/error messages when GError is NULL.
17149 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17151 * docs/gst/Makefile.am:
17152 * docs/gst/gstreamer-docs.sgml:
17153 * docs/gst/gstreamer-sections.txt:
17154 * docs/gst/gstreamer.types:
17155 * docs/gst/tmpl/gstbasesink.sgml:
17156 * docs/gst/tmpl/gstbasesrc.sgml:
17157 * docs/gst/tmpl/gstbin.sgml:
17158 * docs/gst/tmpl/gstcompat.sgml:
17159 * docs/gst/tmpl/gstfakesink.sgml:
17160 * docs/gst/tmpl/gstfakesrc.sgml:
17161 * docs/gst/tmpl/gstfilesink.sgml:
17162 * docs/gst/tmpl/gstfilesrc.sgml:
17163 * docs/gst/tmpl/gstindex.sgml:
17164 * docs/manual/appendix-quotes.xml:
17165 * gst/base/gstbasesrc.h:
17166 * gst/elements/gstfakesrc.h:
17167 * gst/gstmessage.h:
17168 start pulling in base classes and elements in our docs
17170 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17172 * docs/gst/Makefile.am:
17173 * docs/libs/Makefile.am:
17174 fixed make distcheck with gtk-doc 1.3
17176 2005-06-23 Wim Taymans <wim@fluendo.com>
17178 * gst/gstelement.c: (gst_element_get_state_func),
17179 (gst_element_set_state), (gst_element_change_state):
17180 When the state did not change, also report NO_PREROLL
17183 2005-06-23 Wim Taymans <wim@fluendo.com>
17185 * gst/gstpad.c: (gst_pad_event_default):
17186 * gst/gstqueue.c: (gst_queue_loop):
17187 No unsafe task pausing please.
17189 2005-06-23 Wim Taymans <wim@fluendo.com>
17191 * gst/schedulers/threadscheduler.c:
17192 (gst_thread_scheduler_task_start),
17193 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17194 Ref the task before pushing it on the threadpool. This
17195 makes sure that we have a ref when the threadfunction is
17198 2005-06-23 Andy Wingo <wingo@pobox.com>
17200 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17201 offset is greater than the file's size.
17203 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17204 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17205 * gst/gstobject.c (gst_object_class_init): Make the class lock
17206 recursive. Wim won't let me drop deep_notify. Decodebin works
17207 again, whoopdy doo.
17209 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17210 internal pad, and hacks accordingly. Doesn't do it on the target
17211 pad because we change its caps. Probably catches all cases of
17213 (gst_ghost_pad_set_property): Connect to notify::caps as
17216 * tests/network-clock.scm (plot-simulation): Pipe data to the
17217 elite python skript.
17219 * tests/network-clock-utils.scm (define-parameter): New macro,
17220 defines a parameter that can be set via the command line.
17221 (set-parameter!, parse-parameter-arguments): Command line args
17224 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17227 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17229 * gst/elements/gsttypefindelement.c:
17230 (gst_type_find_element_handle_event):
17231 Don't restart typefinding on a discont.
17232 * gst/gstelement.c: (gst_element_set_state):
17233 Debug spelling fix.
17234 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17235 Allow changing mode of an active pad.
17236 Debug output fixes.
17237 * gst/registries/gstlibxmlregistry.c: (load_feature):
17238 Don't cast a static pad template to a normal pad template.
17240 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17242 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17243 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17244 remove gst_strtoll completely, since it didn't actually do
17245 anything more than what g_ascii_strtoull already does.
17246 check for range errors when deserializing
17247 do a cast for the unsigned cases; but further fixing needs
17248 a decision on what the interpretation of "(int)" and
17249 deserialization should be for values that fall outside the
17250 type's boundaries (ie, refuse, or interpret as casting)
17252 2005-06-23 Wim Taymans <wim@fluendo.com>
17254 * check/Makefile.am:
17255 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17256 * docs/design/part-live-source.txt:
17257 * docs/design/part-states.txt:
17258 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17259 (gst_basesrc_set_live), (gst_basesrc_is_live),
17260 (gst_basesrc_get_range), (gst_basesrc_activate),
17261 (gst_basesrc_change_state):
17262 * gst/base/gstbasesrc.h:
17263 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17264 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17265 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17266 * gst/gstelement.c: (gst_element_get_state_func),
17267 (gst_element_set_state):
17268 * gst/gstelement.h:
17270 * tools/gst-launch.c: (event_loop), (main):
17271 Added support for live sources and other elements that
17273 Updated design docs, added live-source design doc.
17274 Implemented live source functionality in basesrc
17275 Fix error condition in _bin_get_state()
17276 Implement live source handling in -launch.
17277 Added check for live sources.
17278 Fixed case in GstBin where elements were changed state
17282 2005-06-23 Andy Wingo <wingo@pobox.com>
17284 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17285 borken refcounting.
17287 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17288 gst_caps_replace takes care of this for us.
17290 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17291 gst_pad_set_caps on the target, not just its setcaps() function.
17293 * tests/network-clock.scm:
17294 * tests/network-clock-utils.scm: A network clock simulator.
17295 Something of an algorithmic testbed before doing something in C.
17297 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17299 * check/Makefile.am:
17300 * check/gst/capslist.h:
17301 copy over from 0.8, and add two with bitmasks specified with
17303 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17304 add test to parse everything from capslist.h
17305 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17307 add test for structure deserialization
17308 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17309 add tests for deserialization of strings to int types
17310 * gst/gststructure.c: (gst_structure_nth_field_name):
17311 * gst/gststructure.h:
17312 add a way to get the name of a field referenced by index
17313 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17314 instead of checking if the resulting long long lies between
17315 min and max, we check if the long long would fit into
17316 a number of bytes for the final type.
17317 This fixes cases where a string represents 2^32 - 1, which
17318 when cast to int would be the (valid) -1, but is bigger than
17321 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17323 * gst/parse/grammar.y:
17324 add a log line for type deserialization
17326 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17328 * check/gst/gstvalue.c: (START_TEST):
17329 * gst/gstvalue.c: (gst_value_deserialize):
17330 return long long, not int, so gint64 deserialization actually
17331 works. Is there any flag that makes the compiler check this ?
17334 2005-06-22 Wim Taymans <wim@fluendo.com>
17337 Added convenience macros for setting buffers in GValue.
17339 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17341 * check/gst/.cvsignore:
17342 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17343 add a test deserializing int64, and comment part out because
17346 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17348 * check/Makefile.am:
17349 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17350 * testsuite/Makefile.am:
17351 * testsuite/caps/Makefile.am:
17352 * testsuite/caps/value_serialize.c:
17353 * testsuite/test_gst_init.c:
17354 move a value_serialize test over
17356 2005-06-20 Wim Taymans <wim@fluendo.com>
17361 * gst/gstvalue.c: (gst_value_compare_buffer),
17362 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17363 (gst_value_compare_flags), (gst_value_serialize_flags),
17364 (gst_value_deserialize_flags), (_gst_value_initialize):
17365 Fix serialisation of buffers, they are not boxed types anymore
17367 2005-06-20 Wim Taymans <wim@fluendo.com>
17369 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17370 Testcase to show error in buffer-on-caps serialisation.
17372 2005-06-20 Andy Wingo <wingo@pobox.com>
17374 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17375 will be adding to later.
17377 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17378 if its socks fill with rocks.
17379 (gst_system_clock_obtain): Set the name on object construction.
17380 Avoid double-checked locking.
17382 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17384 * gst/gsturi.c: (gst_element_make_from_uri):
17385 Fix potential endless loop.
17387 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17389 * check/Makefile.am:
17391 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17393 move over from testsuite dir and clean up
17396 * testsuite/Makefile.am:
17397 * testsuite/tags/.cvsignore:
17398 * testsuite/tags/Makefile.am:
17399 * testsuite/tags/merge.c:
17400 remove testsuite/tags
17402 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17404 * docs/gst/gstreamer-sections.txt:
17405 * docs/gst/tmpl/gstenumtypes.sgml:
17406 * win32/gstenumtypes.c:
17407 clean up documentation build a little
17409 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17411 * check/gstcheck.h:
17412 add macros for checking refcounts on objects and caps
17413 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17414 add some more unit tests
17415 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17416 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17417 fix leaked refcounts (I hope :)) so unittest works
17421 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17423 * configure.ac: back to HEAD
17425 === release 0.9.1 ===
17427 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17433 2005-06-17 Andy Wingo <wingo@pobox.com>
17435 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17436 assert; it's always possible that the pad gets deactivated in
17437 between the checks in gstpad.c and the implementation. Rely on
17438 finish_preroll() to return a FLUSHING or similar instead of on the
17441 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17442 clock and post an EOS message if we come out of finish_preroll in
17445 2005-06-16 David Schleef <ds@schleef.org>
17447 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17448 (gst_capsfilter_set_property): Allow NULL as possible value
17449 for filter_caps property, indicating GST_CAPS_ANY.
17451 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17453 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17455 * gst/schedulers/Makefile.am:
17457 * gstreamer.spec.in:
17460 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17462 * gstreamer.spec.in:
17465 2005-06-08 Andy Wingo <wingo@pobox.com>
17467 * gst/gstutils.c: RPAD fixes all around.
17468 (gst_element_link_pads): Refcounting fixes.
17470 * tools/gst-inspect.c:
17471 * tools/gst-xmlinspect.c:
17473 * gst/base/gsttypefindhelper.c:
17474 * gst/base/gstbasesink.c:
17475 * gst/gstqueue.c: RPAD fixes.
17477 * gst/gstghostpad.h:
17478 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17479 pads. The tricky thing is they provide both source and sink
17480 interfaces, since they proxy the internal pad for the external
17481 pad, and vice versa. Implement with lower-level ProxyPad objects,
17482 with the interior proxy pad as a child of the exterior ghost pad.
17483 Should write a doc on this.
17485 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17486 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17489 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17490 pads are real pads. No ghost pads in this file. Not documenting
17491 the myriad s/RPAD/PAD/ and REALIZE fixes.
17492 (gst_pad_class_init): Add properties for "direction" and
17493 "template". Both are construct-only, so they can't change during
17494 the life of the pad. Fixes properly deriving from GstPad.
17495 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17496 derived objects, just set properties when creating the objects via
17498 (gst_pad_get_parent): Implement as a function, return NULL if the
17499 parent is not an element.
17500 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17501 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17503 * gst/gstobject.c (gst_object_class_init): Make name a construct
17504 property. Don't set it in the object init.
17506 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17507 with UNKNOWN direction.
17508 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17509 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17510 (gst_element_remove_pad): Remove ghost-pad special cases.
17511 (gst_element_pads_activate): Remove rpad cruft.
17513 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17514 catch the pad's-parent-not-an-element case.
17516 * gst/gst.h: Include gstghostpad.h.
17518 * gst/gst.c (init_post): No more real, ghost pads.
17520 * gst/Makefile.am: Add gstghostpad.[ch].
17522 * check/Makefile.am:
17523 * check/gst/gstbin.c:
17524 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17525 into a bin creates ghost pads, and that the refcounts are right.
17526 Partly moved from gstbin.c.
17528 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17530 * check/gst-libs/.cvsignore:
17531 * check/gst/.cvsignore:
17532 * check/pipelines/.cvsignore:
17534 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17535 (START_TEST), (cleanup_suite), (main):
17536 add some tests related to cleanup after running pipelines
17538 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17540 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17541 add a testsuite for GstBuffer
17543 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17545 * gst/gstminiobject.h:
17546 add defines for accessing the refcount
17548 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17550 * Makefile.am: added support for html unit test coverage reports
17552 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17554 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17555 Free existing caps if the capsfilter changes. Add a FIXME about
17556 setting those caps on the pads.
17558 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17559 Before adding a ghost pad to a parent bin, check that there isn't
17560 already one for the element on the bin. Prevents infinite recursion
17561 when using decodebin in parse pipelines. Andy says he'll rewrite the
17562 way this works anyway, so ignore the hack.
17564 2005-06-02 Andy Wingo <wingo@pobox.com>
17566 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17567 file size, pass it on to the type find helper.
17569 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17570 segment_start and segment_end properly according to the seek
17571 method. Segment_end is still a bit flaky because offset can be
17572 negative for CUR and END cases, but it takes -1 as an "unset"
17575 2005-06-02 Wim Taymans <wim@fluendo.com>
17577 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17578 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17579 (gst_basesink_activate):
17580 * gst/base/gstbasesink.h:
17581 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17582 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17583 (gst_pad_query), (gst_pad_start_task):
17585 * gst/gstqueue.c: (gst_queue_bufferalloc),
17586 (gst_queue_handle_sink_event), (gst_queue_chain):
17587 Bufferalloc: return GstFlowReturn to more accuratly report
17588 why allocation failed.
17590 2005-06-02 Wim Taymans <wim@fluendo.com>
17592 * gst/gstpipeline.c: (gst_pipeline_send_event):
17593 Take snapshot of state without blocking.
17595 2005-06-02 Wim Taymans <wim@fluendo.com>
17597 * docs/design/part-TODO.txt:
17598 * docs/design/part-caps.txt:
17599 * docs/design/part-clocks.txt:
17600 * docs/design/part-negotiation.txt:
17601 * docs/design/part-preroll.txt:
17604 2005-05-30 Wim Taymans <wim@fluendo.com>
17606 * gst/elements/gstidentity.c: (gst_identity_event),
17607 (gst_identity_transform), (gst_identity_get_property):
17608 Protect last_message property as it is accessed from
17611 2005-05-30 Wim Taymans <wim@fluendo.com>
17613 * gst/gstelement.c: (gst_element_init),
17614 (gst_element_pads_activate), (gst_element_change_state):
17615 Slicker pad activation code.
17617 2005-05-30 Wim Taymans <wim@fluendo.com>
17620 * gst/gstelement.h:
17621 * gst/gstelementfactory.h:
17623 Move elementfactory methods to separate .h file.
17625 2005-05-30 Wim Taymans <wim@fluendo.com>
17627 * docs/design/part-overview.txt:
17628 * gst/gstsystemclock.h:
17629 Small typo fixes, doc updates.
17631 2005-05-30 Wim Taymans <wim@fluendo.com>
17633 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17634 (init_popt_callback):
17635 Remove cpu-opt flag.
17637 2005-05-30 Wim Taymans <wim@fluendo.com>
17639 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17640 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17642 Avoid typechecking in places where not needed.
17643 Added accessor for malloc_data.
17645 2005-05-30 Wim Taymans <wim@fluendo.com>
17647 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17648 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17649 (gst_pad_configure_sink), (gst_pad_configure_src),
17650 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17651 (gst_pad_start_task):
17652 Propagate errors from _set_caps() in configure_src/sink
17653 functions instead of returning TRUE.
17654 FLUSH events can travel up and downstream
17657 2005-05-30 Wim Taymans <wim@fluendo.com>
17659 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17660 (gst_basesink_activate):
17661 Handle EOS in preroll.
17663 2005-05-30 Wim Taymans <wim@fluendo.com>
17665 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17666 (gst_queue_loop), (gst_queue_handle_src_event):
17667 Remove old pieces of code
17668 Flushing the queue in an upstream event is a very bad idea.
17670 2005-05-26 Andy Wingo <wingo@pobox.com>
17672 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17673 gst_value_set_mini_object so as to add a ref on the object (which
17674 will be removed when the value is unset).
17676 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17677 arg type in ::handoff.
17679 * gst/gstelement.c (gst_element_change_state): Also deactivate
17680 pads in READY->NULL, just in case the element didn't make it to
17681 PAUSED. Wingo tested, Wim approved.
17683 2005-05-26 Wim Taymans <wim@fluendo.com>
17685 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17686 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17687 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17688 A flushing pad cannot be used to alloc_buffer from.
17690 2005-05-26 Wim Taymans <wim@fluendo.com>
17692 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17693 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17694 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17695 (gst_bus_create_watch), (gst_bus_add_watch_full):
17697 Implement a real GSource and use g_main_context_wakeup() to
17698 signal new messages instead of the socketpair.
17700 2005-05-25 Wim Taymans <wim@fluendo.com>
17702 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17703 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17704 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17705 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17706 (gst_pad_send_event), (gst_pad_start_task):
17707 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17708 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17709 (gst_queue_sink_activate), (gst_queue_src_activate),
17710 (gst_queue_change_state):
17712 Fix state changes for non sinks. We now change sinks, then elements
17713 with unconnected srcpads, then the rest.
17714 More efficient queue unlocking in flush and state changes.
17715 Set the pad activate mode even if it does not have an activate
17718 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17720 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17721 Don't go in pull mode for non-seekable sources.
17722 * gst/elements/gsttypefindelement.h:
17723 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17724 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17725 (free_entry), (stop_typefinding),
17726 (gst_type_find_element_handle_event), (find_peek),
17727 (gst_type_find_element_chain), (do_pull_typefind),
17728 (gst_type_find_element_change_state):
17729 Allow typefinding (w/o seeking) in push-mode, simplified version
17730 of what was in 0.8.
17731 * gst/gstutils.c: (gst_buffer_join):
17733 gst_buffer_join() from 0.8.
17735 2005-05-25 Wim Taymans <wim@fluendo.com>
17737 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17738 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17739 (gst_pad_send_event), (gst_pad_start_task):
17740 Disable attempt at mode switching until it is figured out.
17742 2005-05-25 Wim Taymans <wim@fluendo.com>
17744 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17745 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17746 (gst_basesink_finish_preroll), (gst_basesink_chain),
17747 (gst_basesink_loop), (gst_basesink_activate),
17748 (gst_basesink_change_state):
17749 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17750 (gst_basesrc_get_range), (gst_basesrc_loop),
17751 (gst_basesrc_activate):
17752 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17753 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17754 (gst_real_pad_init), (gst_real_pad_set_property),
17755 (gst_real_pad_get_property), (gst_pad_set_active),
17756 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17757 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17758 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17759 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17760 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17761 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17762 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17763 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17764 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17765 (gst_pad_stop_task):
17767 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17768 (gst_queue_loop), (gst_queue_src_activate):
17769 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17770 (gst_task_get_state):
17772 * gst/schedulers/threadscheduler.c:
17773 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17774 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17776 Remove ACTIVE pad flag, use FLUSHING everywhere
17777 Added _pad_chain(), _pad_get_range() to call chain/getrange
17779 Add locks around IS_FLUSHING when reading.
17780 Take STREAM lock in chain(), get_range() functions so plugins
17781 don't need to take it anymore.
17785 2005-05-25 Wim Taymans <wim@fluendo.com>
17787 * tools/gst-launch.c: (event_loop):
17788 Unref message after using its contents instead of
17791 2005-05-24 Wim Taymans <wim@fluendo.com>
17793 * docs/design/draft-ghostpads.txt:
17794 * docs/design/draft-push-pull.txt:
17795 * docs/design/draft-query.txt:
17796 * docs/design/part-overview.txt:
17797 Docs updates, added general overview doc.
17799 2005-05-21 David Schleef <ds@schleef.org>
17801 * docs/gst/tmpl/old/GstBin.sgml:
17802 * docs/gst/tmpl/old/GstBuffer.sgml:
17803 * docs/gst/tmpl/old/GstCaps.sgml:
17804 * docs/gst/tmpl/old/GstClock.sgml:
17805 * docs/gst/tmpl/old/GstCompat.sgml:
17806 * docs/gst/tmpl/old/GstData.sgml:
17807 * docs/gst/tmpl/old/GstElement.sgml:
17808 * docs/gst/tmpl/old/GstEvent.sgml:
17809 * docs/gst/tmpl/old/GstIndex.sgml:
17810 * docs/gst/tmpl/old/GstStructure.sgml:
17811 * docs/gst/tmpl/old/GstTag.sgml:
17812 * docs/gst/tmpl/old/cothreads.sgml:
17813 * docs/gst/tmpl/old/cothreads_compat.sgml:
17814 * docs/gst/tmpl/old/gettext.sgml:
17815 * docs/gst/tmpl/old/gobject2gtk.sgml:
17816 * docs/gst/tmpl/old/grammar.tab.sgml:
17817 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17818 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17819 * docs/gst/tmpl/old/gst_private.sgml:
17820 * docs/gst/tmpl/old/gstaggregator.sgml:
17821 * docs/gst/tmpl/old/gstarch.sgml:
17822 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17823 * docs/gst/tmpl/old/gstbufferstore.sgml:
17824 * docs/gst/tmpl/old/gstdata_private.sgml:
17825 * docs/gst/tmpl/old/gstdisksink.sgml:
17826 * docs/gst/tmpl/old/gstdisksrc.sgml:
17827 * docs/gst/tmpl/old/gstelementfactory.sgml:
17828 * docs/gst/tmpl/old/gstextratypes.sgml:
17829 * docs/gst/tmpl/old/gstfakesink.sgml:
17830 * docs/gst/tmpl/old/gstfakesrc.sgml:
17831 * docs/gst/tmpl/old/gstfdsink.sgml:
17832 * docs/gst/tmpl/old/gstfdsrc.sgml:
17833 * docs/gst/tmpl/old/gstfilesink.sgml:
17834 * docs/gst/tmpl/old/gstfilesrc.sgml:
17835 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17836 * docs/gst/tmpl/old/gstidentity.sgml:
17837 * docs/gst/tmpl/old/gstindexfactory.sgml:
17838 * docs/gst/tmpl/old/gstmarshal.sgml:
17839 * docs/gst/tmpl/old/gstmd5sink.sgml:
17840 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17841 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17842 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17843 * docs/gst/tmpl/old/gstpipefilter.sgml:
17844 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17845 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17846 * docs/gst/tmpl/old/gstshaper.sgml:
17847 * docs/gst/tmpl/old/gstspider.sgml:
17848 * docs/gst/tmpl/old/gstspideridentity.sgml:
17849 * docs/gst/tmpl/old/gststatistics.sgml:
17850 * docs/gst/tmpl/old/gsttee.sgml:
17851 * docs/gst/tmpl/old/gsttimecache.sgml:
17852 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17853 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17854 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17855 * docs/gst/tmpl/old/types.sgml:
17856 I didn't intend to add these or check them in.
17858 2005-05-19 David Schleef <ds@schleef.org>
17860 * configure.ac: Use -no-common everywhere. In a sane world, it
17861 would be the default in libtool, because without it, you can't
17862 build DLLs on Windows.
17863 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17864 * docs/gst/gstreamer-sections.txt:
17865 * docs/gst/tmpl/gstcpu.sgml:
17866 * docs/gst/tmpl/gstdata.sgml:
17867 * docs/gst/tmpl/gstthread.sgml:
17869 2005-05-19 David Schleef <ds@schleef.org>
17871 * gst/gstminiobject.c: (gst_value_set_mini_object),
17872 (gst_value_take_mini_object), (gst_value_get_mini_object):
17873 * gst/gstminiobject.h: Add GValue set/get functions.
17875 2005-05-19 Wim Taymans <wim@fluendo.com>
17877 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17878 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17879 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17881 * gst/gstbus.c: (gst_bus_post):
17882 * gst/gstelement.c: (gst_element_get_random_pad):
17883 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17884 Make subbufer unref the parent in finalize.
17885 some more debugging info.
17888 2005-05-19 Wim Taymans <wim@fluendo.com>
17890 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17891 (gst_basesink_init), (gst_basesink_finalize),
17892 (gst_basesink_activate), (gst_basesink_change_state):
17893 Don't free preroll queue too early.
17895 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17899 Hi, I'm outdated. Please shoot me.
17901 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17903 * gst/gstpipeline.c: (gst_pipeline_send_event):
17904 Do not access variables after they have been deleted.
17906 2005-05-19 Wim Taymans <wim@fluendo.com>
17908 * tools/gst-inspect.c: (print_plugin_features):
17909 A plugin feature does unfortunatly not use the
17912 2005-05-18 Wim Taymans <wim@fluendo.com>
17914 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17915 Port _span() functions to new subbuffers.
17917 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17919 * gst/gstbin.c: (gst_bin_add_func):
17920 Fix clock settery in bins when adding kids after the clock has
17923 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17925 * gst/elements/gstidentity.c: (gst_identity_class_init):
17926 Workaround until signals support GstMiniObject.
17928 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
17931 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
17933 2005-05-18 Wim Taymans <wim@fluendo.com>
17935 * gst/base/Makefile.am:
17936 * gst/base/gstadapter.c: (gst_adapter_base_init),
17937 (gst_adapter_class_init), (gst_adapter_init),
17938 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
17939 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
17940 (gst_adapter_flush), (gst_adapter_available),
17941 (gst_adapter_available_fast):
17942 * gst/base/gstadapter.h:
17943 Ported and added adapter to the base classes.
17945 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17948 * gst/gstmessage.c:
17949 Make sure the class is reffed/unreffed once before threads can be
17950 used. Fixes #304551.
17952 2005-05-17 Wim Taymans <wim@fluendo.com>
17954 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
17955 (gst_basesink_chain_unlocked), (gst_basesink_activate):
17956 * gst/gstminiobject.c: (gst_mini_object_get_type),
17957 (gst_mini_object_free):
17958 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
17959 (gst_pad_push), (gst_pad_push_event):
17960 * gst/gstqueue.c: (gst_queue_change_state):
17961 Don't queue buffers in basesink when we are flushing.
17962 Unref buffer when flushing in basesink.
17963 Flush queue when going to READY
17964 Unref buffer when _push() returns an error.
17965 Don't free MiniObject instance when refcount is incremented
17966 in _finalize() so that we can recover objects.
17968 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
17970 * docs/manual/advanced-schedulers.xml:
17971 * docs/manual/appendix-checklist.xml:
17972 * docs/pwg/advanced-clock.xml:
17973 * docs/pwg/advanced-interfaces.xml:
17974 * docs/pwg/advanced-request.xml:
17975 * docs/pwg/advanced-types.xml:
17976 * docs/pwg/intro-preface.xml:
17977 * examples/plugins/example.c: (gst_example_get_type),
17978 (gst_example_class_init), (gst_example_chain),
17979 (gst_example_set_property), (gst_example_get_property),
17980 (gst_example_change_state), (plugin_init):
17981 * examples/plugins/example.h:
17984 2005-05-17 Wim Taymans <wim@fluendo.com>
17986 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
17987 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
17988 * gst/gstqueue.c: (gst_queue_change_state):
17989 Clear queue when going to READY.
17990 Remove IN_SETCAPS flag too.
17992 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
17994 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
17995 Remove implicit cast from gboolean to GstElementStateReturn;
17996 make sure we still return failure in paused => ready case if
17997 the parent class fails to change state and our own stop
18000 2005-05-17 Wim Taymans <wim@fluendo.com>
18002 * tools/gst-launch.c: (event_loop):
18003 Message was unreffed too soon.
18005 2005-05-16 Andy Wingo <wingo@pobox.com>
18007 * gst/gstbin.c (sink_iterator_filter): Err... um...
18009 * check/gst/gstbin.c (test_ghost_pads): New test for the
18010 ghosting-if-elements-not-in-same-bin behavior.
18012 2005-05-16 David Schleef <ds@schleef.org>
18014 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18015 accessing refcount directly.
18017 2005-05-15 David Schleef <ds@schleef.org>
18019 * check/Makefile.am: remove GstData checks
18020 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18021 * gst/Makefile.am: add miniobject, remove data
18022 * gst/gst.h: add miniobject, remove data
18023 * gst/gstdata.c: remove
18024 * gst/gstdata.h: remove
18025 * gst/gstdata_private.h: remove
18026 * gst/gsttypes.h: remove GstEvent and GstMessage
18027 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18028 * gst/gstmarshal.list: change BOXED -> OBJECT
18030 Implement GstMiniObject.
18031 * gst/gstminiobject.c:
18032 * gst/gstminiobject.h:
18034 Modify to be subclasses of GstMiniObject.
18035 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18036 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18037 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18038 (gst_subbuffer_get_type), (gst_subbuffer_init),
18039 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18042 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18043 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18044 (_gst_event_copy), (gst_event_new):
18046 * gst/gstmessage.c: (_gst_message_initialize),
18047 (gst_message_get_type), (gst_message_class_init),
18048 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18049 (gst_message_new), (gst_message_new_error),
18050 (gst_message_new_warning), (gst_message_new_tag),
18051 (gst_message_new_state_changed), (gst_message_new_application):
18052 * gst/gstmessage.h:
18053 * gst/gstprobe.c: (gst_probe_perform),
18054 (gst_probe_dispatcher_dispatch):
18056 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18057 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18058 (_gst_query_copy), (gst_query_new):
18060 Update elements for GstData -> GstMiniObject changes
18062 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18063 (gst_queue_chain), (gst_queue_loop):
18064 * gst/elements/gstbufferstore.c:
18065 (gst_buffer_store_add_buffer_func),
18066 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18067 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18068 (gst_fakesink_render):
18069 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18070 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18071 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18072 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18073 (gst_filesrc_create_read):
18074 * gst/elements/gstidentity.c: (gst_identity_class_init):
18075 * gst/elements/gsttypefindelement.c:
18076 (gst_type_find_element_src_event), (free_entry_buffers),
18077 (gst_type_find_element_handle_event):
18078 * libs/gst/dataprotocol/dataprotocol.c:
18079 (gst_dp_header_from_buffer):
18080 * libs/gst/dataprotocol/dataprotocol.h:
18081 * libs/gst/dataprotocol/dp-private.h:
18083 2005-05-15 David Schleef <ds@schleef.org>
18085 * gst/elements/gstelements.c: Don't include headers that were
18088 2005-05-15 David Schleef <ds@schleef.org>
18090 * gst/elements/Makefile.am: Remove some elements that don't
18091 need to be in the core (or even exist at all).
18092 * gst/elements/gstaggregator.c:
18093 * gst/elements/gstaggregator.h:
18094 * gst/elements/gstmd5sink.c:
18095 * gst/elements/gstmd5sink.h:
18096 * gst/elements/gstmultifilesrc.c:
18097 * gst/elements/gstmultifilesrc.h:
18098 * gst/elements/gstpipefilter.c:
18099 * gst/elements/gstpipefilter.h:
18100 * gst/elements/gstshaper.c:
18101 * gst/elements/gstshaper.h:
18102 * gst/elements/gststatistics.c:
18103 * gst/elements/gststatistics.h:
18104 * po/POTFILES.in: Remove above files.
18106 2005-05-14 Andy Wingo <wingo@pobox.com>
18108 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18109 so as to get the refs right.
18110 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18111 unreffing objects that don't pass the filter.
18113 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18114 gst_element_set_bus.
18115 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18116 normal cases, this will destroy the bus.
18118 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18121 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18124 2005-05-13 Andy Wingo <wingo@pobox.com>
18126 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18127 gst_pad_link, call pad_link_maybe_ghosting,
18128 (pad_link_maybe_ghosting): Links pads, making sure that the
18129 elements being linked are in the same bin.
18130 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18131 Helpers for pad_link_maybe_ghosting.
18133 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18136 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18138 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18140 * docs/design/part-element-source.txt:
18143 2005-05-12 Wim Taymans <wim@fluendo.com>
18145 * gst/base/gstbasesink.c: (gst_basesink_init),
18146 (gst_basesink_activate):
18147 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18148 (gst_basesrc_is_seekable):
18149 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18150 (bin_element_is_sink), (gst_bin_change_state):
18151 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18152 * gst/gstelement.h:
18153 Identify sinks by their flag to avoid overly complicated
18155 Do state changes even for elements not reachable from the
18157 BaseSink is a sink now :)
18158 Some more debugging info in the basesrc.
18161 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18163 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18164 Implement _query on a bin, similar to _send_event.
18166 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18168 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18169 Discont event offset format should be GST_FORMAT_BYTES,
18170 not GST_FORMAT_TIME.
18172 2005-05-12 Wim Taymans <wim@fluendo.com>
18174 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18175 Same fix as Ronald's but without the signal.
18177 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18179 * gst/gstutils.c: (gst_element_query_position):
18180 No, an element is not a pad.
18182 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18184 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18185 (gst_bin_get_state):
18186 If a child is removed from a bin while we remove the child from
18187 the bin and while we're retrieving its state, signal this to the
18188 get_state function so we abort the wait (instead of waiting for
18189 a timeout) and can immediately re-iterate over all other elements.
18191 2005-05-12 Wim Taymans <wim@fluendo.com>
18193 * gst/base/Makefile.am:
18194 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18195 (gst_basesrc_start):
18196 * gst/base/gstbasesrc.h:
18197 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18198 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18199 (gst_pushsrc_init), (gst_pushsrc_create):
18200 * gst/base/gstpushsrc.h:
18201 Added is_seekable to BaseSrc
18202 Added simple PushSrc.
18204 2005-05-11 Wim Taymans <wim@fluendo.com>
18206 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18207 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18208 (gst_element_link_pads), (gst_element_query_position),
18209 (gst_element_query_convert), (intersect_caps_func),
18210 (gst_pad_query_position), (gst_pad_query_convert):
18211 Fix refcounting in utils function.
18212 No point in trying to activate a pad when it's added, it could
18213 be added from the state change function and then we deadlock, the
18214 element has to decide what to do.
18216 2005-05-10 Andy Wingo <wingo@pobox.com>
18218 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18219 *all* the arguments.
18221 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18222 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18223 lock (according to the docs -- if this is wrong change the docs).
18225 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18226 flush messages in the NULL state.
18228 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18229 message immediately and return.
18230 (gst_bus_set_flushing): New function. If a bus is flushing, it
18231 flushes out any queued messages and immediately unrefs new
18232 messages. This is so when an element goes to NULL, all of the
18233 unhandled messages coming from it can be freed, and their
18234 references to the element dropped. In other words: message source
18235 ref considered harmful :P
18237 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18238 we're finished with it.
18240 * gst/gstmessage.c (gst_message_new_state_changed):
18242 2005-05-10 Wim Taymans <wim@fluendo.com>
18244 * gst/gstvalue.c: (gst_value_compare_flags),
18245 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18246 (_gst_value_initialize):
18247 Added flags serialize/deserialize/compare code.
18249 2005-05-09 Andy Wingo <wingo@pobox.com>
18251 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18252 Intersect the peer's caps with our caps.
18254 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18256 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18257 * gst/elements/gsttypefindelement.c: (find_peek):
18258 Handle negative offsets better. Fixes decodebin.
18260 2005-05-09 Wim Taymans <wim@fluendo.com>
18262 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18263 (gst_base_transform_event):
18264 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18265 Implement accept_caps.
18266 Fix silly lock/unlock mismatch in base class.
18268 2005-05-09 Wim Taymans <wim@fluendo.com>
18270 * docs/design/draft-push-pull.txt:
18271 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18272 * gst/elements/gstfilesink.c: (gst_filesink_init),
18273 (gst_filesink_query):
18274 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18275 (gst_type_find_handle_src_query), (find_element_get_length):
18276 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18277 * gst/gstelement.h:
18278 * gst/gstmessage.c:
18279 * gst/gstmessage.h:
18280 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18281 (gst_real_pad_get_caps_unlocked),
18282 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18283 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18284 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18285 (gst_real_pad_dispose), (gst_real_pad_finalize),
18286 (gst_pad_load_and_link), (gst_pad_save_thyself),
18287 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18288 (gst_pad_check_pull_range), (gst_pad_pull_range),
18289 (gst_pad_template_get_type), (gst_pad_template_class_init),
18290 (gst_pad_template_init), (gst_pad_template_dispose),
18291 (name_is_valid), (gst_static_pad_template_get),
18292 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18293 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18294 (gst_pad_get_element_private), (gst_pad_start_task),
18295 (gst_pad_pause_task), (gst_pad_stop_task),
18296 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18297 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18298 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18299 (gst_ghost_pad_new):
18301 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18302 (gst_query_new_position), (gst_query_set_position),
18303 (gst_query_parse_position), (gst_query_new_convert),
18304 (gst_query_set_convert), (gst_query_parse_convert):
18306 * gst/gstqueryutils.c:
18307 * gst/gstqueryutils.h:
18308 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18309 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18310 (gst_queue_handle_src_query):
18311 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18312 (gst_element_query_position), (gst_element_query_convert),
18313 (intersect_caps_func), (gst_pad_query_position),
18314 (gst_pad_query_convert):
18316 * tools/gst-inspect.c: (print_pad_info):
18317 * tools/gst-xmlinspect.c: (print_element_info):
18318 Remove old query functions. Ported old code.
18319 Added position/convert helper functions to gstutils.
18320 Reordered gstpad.c code, grouping relevant things.
18321 Remove gst_message_new(), always need to speficy a specific
18325 2005-05-09 Andy Wingo <wingo@pobox.com>
18327 * gst/gstiterator.h: Add some includes.
18329 * gst/gstqueryutils.h: Include more headers.
18332 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18333 some uses of gst_pad_query.
18335 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18336 NULL out parameters.
18337 (gst_query_new_position): New proc, allocates a new position
18340 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18341 gstqueryutils.c to the build.
18343 * gst/gststructure.c (gst_structure_set_valist): Implement with
18344 the generic G_VALUE_COLLECT.
18346 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18348 * gst/Makefile.am: (gst_headers):
18349 Added gstqueryutils.h to the list of headers to install, that was
18350 a 'nachty' move wingo :)
18352 2005-05-06 Andy Wingo <wingo@pobox.com>
18355 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18356 GstData, init a memchunk.
18357 (standard_definitions): Add a few query types, deprecate a few.
18358 (gst_query_get_type): New proc.
18359 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18361 (gst_query_new_application, gst_query_get_structure): New public
18364 * docs/design/draft-query.txt: Removed LINKS from the query types,
18365 because all the rest can be dispatched to other pads -- seemed
18366 ugly to have a query that couldn't be dispatched. internal_links
18367 is fine as a pad method.
18369 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18370 in gstpad.c, but maintain binary compatibility for the moment.
18371 Will fix before 0.9 is out.
18373 * gst/gstqueryutils.c:
18374 * gst/gstqueryutils.h: New files, implement 3 methods for each
18375 query type: parse_query, parse_response, and set. Probably need an
18378 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18380 * gst/elements/gstfilesink.c (gst_filesink_query2):
18381 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18382 query_types, and formats methods.
18384 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18385 (gst_pad_set_query2_function): New functions.
18386 (gst_real_pad_init): Set query2_default as the default query2
18387 function. Basically just dispatches to internally linked pads.
18391 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18392 without using the atomic operations. Only one thread can possibly
18393 be accessing the data at this point. Changed so as to avoid
18394 gst_atomic operations.
18396 2005-05-06 Wim Taymans <wim@fluendo.com>
18398 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18399 Also set caps if we use the fallback buffer alloc.
18401 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18403 * docs/gst/Makefile.am:
18404 * docs/gst/gstreamer-docs.sgml:
18405 * docs/gst/gstreamer-sections.txt:
18406 * docs/gst/tmpl/gstatomic.sgml:
18407 * docs/gst/tmpl/gstmemchunk.sgml:
18408 * testsuite/elements/struct_i386.h:
18409 * win32/GStreamer.vcproj:
18411 Purge GstAtomic stuff from docs and win32 makefiles as well
18413 2005-05-06 Wim Taymans <wim@fluendo.com>
18415 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18416 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18417 * gst/gstpad.c: (gst_pad_peer_get_caps):
18418 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18419 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18420 (gst_queue_src_activate), (gst_queue_change_state):
18422 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18423 (intersect_caps_func):
18424 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18425 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18426 Some fixes for the peer_get_caps() change.
18428 2005-05-06 Wim Taymans <wim@fluendo.com>
18430 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18431 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18432 (gst_basesink_activate):
18433 Actually do something with error codes returned from the push
18436 2005-05-06 Wim Taymans <wim@fluendo.com>
18438 * docs/design/part-element-sink.txt:
18439 * docs/design/part-element-source.txt:
18440 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18441 (gst_basesink_event), (gst_basesink_activate):
18442 * gst/base/gstbasesink.h:
18443 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18444 (gst_basesrc_activate):
18445 * gst/base/gstbasesrc.h:
18446 * gst/gstelement.c: (gst_element_pads_activate):
18447 Some more documentation.
18448 Fixed scheduling decision in _pads_activate().
18450 2005-05-05 Andy Wingo <wingo@pobox.com>
18452 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18455 2005-05-05 Wim Taymans <wim@fluendo.com>
18457 * gst/base/Makefile.am:
18458 * gst/base/gstbasesink.h:
18459 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18460 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18461 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18462 (gst_collectpads_class_init), (gst_collectpads_init),
18463 (gst_collectpads_finalize), (gst_collectpads_new),
18464 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18465 (find_pad), (gst_collectpads_remove_pad),
18466 (gst_collectpads_is_active), (gst_collectpads_collect),
18467 (gst_collectpads_collect_range), (gst_collectpads_start),
18468 (gst_collectpads_stop), (gst_collectpads_peek),
18469 (gst_collectpads_pop), (gst_collectpads_available),
18470 (gst_collectpads_read), (gst_collectpads_flush),
18471 (gst_collectpads_chain):
18472 * gst/base/gstcollectpads.h:
18473 * gst/elements/Makefile.am:
18474 * gst/elements/gstelements.c:
18475 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18476 (gst_fakesink_get_times), (gst_fakesink_event),
18477 (gst_fakesink_preroll), (gst_fakesink_render):
18478 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18479 (gst_filesink_init), (gst_filesink_set_location),
18480 (gst_filesink_open_file), (gst_filesink_close_file),
18481 (gst_filesink_pad_query), (gst_filesink_event),
18482 (gst_filesink_render), (gst_filesink_change_state):
18483 * gst/elements/gstfilesink.h:
18484 Added object to help in making collect pad based elements.
18486 Make event function in sink baseclass return gboolean.
18488 2005-05-05 Wim Taymans <wim@fluendo.com>
18490 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18491 (gst_bin_get_by_name):
18493 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18494 (gst_clock_finalize):
18495 * gst/gstdata.c: (gst_data_replace):
18497 * gst/gstelement.c: (gst_element_request_pad),
18498 (gst_element_pads_activate):
18499 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18500 (gst_object_unref):
18501 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18502 (gst_pad_set_checkgetrange_function),
18503 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18504 (gst_pad_check_pull_range), (gst_pad_pull_range),
18505 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18506 (gst_pad_pause_task), (gst_pad_stop_task):
18507 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18508 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18509 Fix name lookup in GstBin.
18510 Added _data_replace() function and _buffer_replace()
18511 Use finalize method to clean up clock.
18512 Fix refcounting on request pads.
18513 Fix pad schedule mode error.
18514 Some more object refcounting debug info,
18517 2005-05-04 Andy Wingo <wingo@pobox.com>
18519 * check/Makefile.am:
18520 * docs/gst/tmpl/gstatomic.sgml:
18521 * docs/gst/tmpl/gstplugin.sgml:
18522 * gst/base/gstbasesink.c: (gst_basesink_activate):
18523 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18524 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18525 (gst_basesrc_query), (gst_basesrc_set_property),
18526 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18527 (gst_basesrc_activate):
18528 * gst/base/gstbasesrc.h:
18529 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18530 (gst_base_transform_src_activate):
18531 * gst/elements/gstelements.c:
18532 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18533 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18534 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18535 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18536 (gst_type_find_element_checkgetrange),
18537 (gst_type_find_element_activate):
18538 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18539 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18540 (gst_caps_load_thyself):
18541 * gst/gstelement.c: (gst_element_pads_activate),
18542 (gst_element_save_thyself), (gst_element_restore_thyself):
18543 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18544 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18546 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18547 (gst_xml_parse_file), (gst_xml_parse_memory),
18548 (gst_xml_get_element), (gst_xml_make_element):
18549 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18550 (_file_index_id_save_xml), (gst_file_index_commit):
18551 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18552 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18554 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18555 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18556 * tools/gst-complete.c: (main):
18557 * tools/gst-compprep.c: (main):
18558 * tools/gst-inspect.c: (print_element_properties_info):
18559 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18560 * tools/gst-xmlinspect.c: (print_element_properties):
18563 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18565 * gst/gstplugin.c: (gst_plugin_check_module),
18566 (gst_plugin_check_file), (gst_plugin_load_file):
18567 apply patch from #172526 to make register work on MacOSX
18569 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18571 * docs/gst/tmpl/gstconfig.sgml:
18572 * gst/gstconfig.h.in:
18573 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18574 * testsuite/debug/printf_extension.c: (main):
18575 Do not use GST_PTR_FORMAT on pointers to types with
18576 sizeof < sizeof(gpointer). Fixes test on 64-bit
18577 * testsuite/elements/property.h:
18578 use correct printf format
18580 2005-05-02 Wim Taymans <wim@fluendo.com>
18582 * docs/design/draft-push-pull.txt:
18583 * docs/design/draft-query.txt:
18584 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18585 (gst_basesrc_start):
18586 Added draft for new query API.
18587 Added draft for better selecting scheduling methods.
18588 Make basesrc ignore length if the subclass does not support
18591 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18594 possible fixes for automake-1.5 - _LIBADD is reserved
18596 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18598 * docs/faq/Makefile.am:
18599 * docs/manual/Makefile.am:
18600 * docs/manuals.mak:
18601 * docs/pwg/Makefile.am:
18603 possible fixes for automake-1.5
18605 2005-04-28 Wim Taymans <wim@fluendo.com>
18607 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18608 (gst_basesink_pad_getcaps), (gst_basesink_init),
18609 (gst_basesink_do_sync):
18610 * gst/gstclock.c: (gst_clock_entry_new):
18611 * gst/gstevent.c: (gst_event_discont_get_value):
18612 * gst/gstpipeline.c: (pipeline_bus_handler),
18613 (gst_pipeline_change_state):
18614 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18615 Better debugging of clocking info.
18616 Allow NULL values when getting discont values.
18618 2005-04-27 Wim Taymans <wim@fluendo.com>
18620 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18621 * check/gst/gstpad.c: (gst_pad_suite):
18622 Increase timeout for checks.
18624 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18626 * check/Makefile.am:
18627 fix the broken rule for cleanup. Apparently this rule is
18628 only needed on FC2, so maybe this warrants further autotool
18631 2005-04-26 Wim Taymans <wim@fluendo.com>
18633 * gst/gsttrashstack.h:
18634 Ooohh. a nasty one! After having a failed pop() from the stack,
18635 it's possible that the stack is empty. In that case, don't
18636 follow the NULL pointer.
18638 2005-04-25 Wim Taymans <wim@fluendo.com>
18640 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18641 (gst_pad_set_checkgetrange_function),
18642 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18643 (gst_pad_check_pull_range), (gst_pad_pull_range),
18644 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18645 (gst_pad_pause_task), (gst_pad_stop_task):
18646 * gst/gstplugin.c: (gst_plugin_load):
18648 Remove gst_library_load as it does more harm than good with
18649 the new g_module flags.
18650 Revert bogus caps template check in pad linking, pad caps
18651 are important when linking not the template, which is more
18652 general than the current caps.
18654 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18656 * gst/autoplug/.cvsignore:
18657 * gst/autoplug/Makefile.am:
18658 * gst/autoplug/gstsearchfuncs.c:
18659 * gst/autoplug/gstsearchfuncs.h:
18660 * gst/autoplug/gstspider.c:
18661 * gst/autoplug/gstspider.h:
18662 * gst/autoplug/gstspideridentity.c:
18663 * gst/autoplug/gstspideridentity.h:
18664 * gst/autoplug/spidertest.c:
18667 2005-04-25 Wim Taymans <wim@fluendo.com>
18669 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18670 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18671 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18672 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18674 Added stubs for unimplemented functions.
18676 2005-04-24 David Schleef <ds@schleef.org>
18678 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18681 2005-04-24 David Schleef <ds@schleef.org>
18683 Convert everything from GstAtomicInt to g_atomic_int_*, and
18688 * gst/gstatomic_impl.h:
18696 * gst/gstdata_private.h:
18700 * gst/gstmessage.c:
18703 * gst/gststructure.c:
18704 * gst/gststructure.h:
18705 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18708 2005-04-24 David Schleef <ds@schleef.org>
18710 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18711 make the regressions tests work. Remove some code that is no
18713 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18714 Disable warning for pads without templates.
18716 2005-04-24 David Schleef <ds@schleef.org>
18718 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18719 functions that handle filtered links.
18720 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18722 * gst/gstutils.c: Fix/remove utility functions that handle
18725 * gst/gstvalue.c: Add serialization/deserialization of caps
18726 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18727 requires fixing so that the filter caps notation creates
18728 a capsfilter element and sets the filter_caps property. I
18729 think everyone probably wants to keep the shorthand notation.
18730 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18731 * docs/gst/tmpl/gstpad.sgml:
18733 * gst/elements/gstelements.c: Register capsfilter element.
18734 * gst/Makefile.am: fix spacing
18735 * docs/random/ds/0.9-suggested-changes: random
18737 2005-04-23 David Schleef <ds@schleef.org>
18739 * gst/elements/Makefile.am:
18740 * gst/elements/gstcapsfilter.c: New element that acts like an
18741 identity, but filters caps. Will eventually replace filtered
18742 caps in pad linking.
18743 * gst/gstutils.c: (gst_element_create_all_pads): New function
18744 to create all the ALWAYS pads that are registered with an
18745 element class. This functionality should eventually be
18746 merged in with GstElement initialization.
18748 * testsuite/trigger/README: part of trigger test code that should
18749 have been checked in a long time ago.
18751 2005-04-23 David Schleef <ds@schleef.org>
18753 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18754 needed with new versions of libtool (nobody will confirm this),
18755 and hard to carry around.
18756 * gst/autoplug/Makefile.am:
18757 * gst/base/Makefile.am:
18758 * gst/elements/Makefile.am:
18759 * gst/indexers/Makefile.am:
18760 * gst/schedulers/Makefile.am:
18761 * libs/gst/bytestream/Makefile.am:
18762 * libs/gst/control/Makefile.am:
18763 * libs/gst/dataprotocol/Makefile.am:
18764 * libs/gst/getbits/Makefile.am:
18766 2005-04-21 Wim Taymans <wim@fluendo.com>
18768 * docs/design/draft-push-pull.txt:
18769 * docs/design/part-MT-refcounting.txt:
18770 * docs/design/part-TODO.txt:
18771 * docs/design/part-caps.txt:
18772 * docs/design/part-events.txt:
18773 * docs/design/part-gstbus.txt:
18774 * docs/design/part-gstpipeline.txt:
18775 * docs/design/part-messages.txt:
18776 * docs/design/part-push-pull.txt:
18777 * docs/design/part-query.txt:
18780 2005-04-21 Wim Taymans <wim@fluendo.com>
18782 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18783 (gst_message_new), (gst_message_new_error),
18784 (gst_message_new_warning), (gst_message_new_tag),
18785 (gst_message_new_state_changed), (gst_message_new_application),
18786 (gst_message_get_structure):
18787 * gst/gstmessage.h:
18788 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18789 (gst_structure_copy_conditional):
18790 Use parent refcount in GstMessage to ensure GstStructure
18792 Cleaned up headers a bit.
18795 2005-04-20 Wim Taymans <wim@fluendo.com>
18797 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18798 (gst_basesink_pad_getcaps), (gst_basesink_init),
18799 (gst_basesink_chain_unlocked):
18800 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18801 (gst_type_find_helper):
18802 * gst/elements/gsttypefindelement.c:
18803 (gst_type_find_element_have_type), (gst_type_find_element_init),
18804 (stop_typefinding), (gst_type_find_element_handle_event),
18805 (find_suggest), (gst_type_find_element_chain),
18806 (gst_type_find_element_checkgetrange),
18807 (gst_type_find_element_getrange), (do_typefind),
18808 (gst_type_find_element_activate):
18809 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18810 (gst_buffer_default_free), (gst_buffer_default_copy),
18811 (gst_buffer_set_caps):
18812 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18813 (gst_caps_replace):
18814 * gst/gstmessage.c: (gst_message_new),
18815 (gst_message_new_state_changed):
18816 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18817 (gst_pad_set_checkgetrange_function),
18818 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18819 (gst_pad_set_caps), (gst_pad_check_pull_range),
18820 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18822 * gst/gsttypefind.c: (gst_type_find_register):
18823 Make gst_caps_replace() work like other _replace() functions.
18824 Use _caps_replace() where possible.
18825 Make sure _message_new() initialises its field.
18826 Add gst_static_pad_template_get_caps()
18829 2005-04-18 Andy Wingo <wingo@pobox.com>
18831 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18832 on the peer, not the pad. I think that was a typo. Pass an extra
18833 arg to see if random access is possible. Activate the pads as
18834 PULL_RANGE if possible.
18836 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18838 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18839 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18842 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18844 * docs/faq/using.xml:
18845 Add note on gstreamer-properties (#154996).
18847 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18849 * docs/random/bbb/optional-properties:
18850 Some analysis on optional properties.
18852 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18854 * docs/gst/tmpl/gstelementfactory.sgml:
18855 * gst/gstelement.h:
18856 * gst/gstelementfactory.c: (gst_element_factory_init),
18857 (gst_element_factory_cleanup), (gst_element_register),
18858 (__gst_element_factory_add_static_pad_template),
18859 (gst_element_factory_get_static_pad_templates),
18860 (gst_element_factory_can_src_caps),
18861 (gst_element_factory_can_sink_caps):
18862 * gst/registries/Makefile.am:
18863 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18864 (gst_xml_registry_class_init), (gst_xml_registry_init),
18865 (gst_xml_registry_new), (gst_xml_registry_set_property),
18866 (gst_xml_registry_get_property), (get_time), (make_dir),
18867 (gst_xml_registry_get_perms_func),
18868 (plugin_times_older_than_recurse), (plugin_times_older_than),
18869 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18870 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18871 (add_to_char_array), (read_string), (read_uint), (read_enum),
18872 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18873 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18874 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18875 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18876 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18877 (gst_xml_registry_rebuild):
18878 * gst/registries/gstlibxmlregistry.h:
18879 * tools/gst-compprep.c: (main):
18880 * tools/gst-inspect.c: (print_pad_templates_info):
18881 * tools/gst-xmlinspect.c: (print_element_info):
18882 Use libxml2 for registry parsing, use staticpadtemplates in
18883 elementfactories. Makes gst_init() +/- 10x faster.
18885 2005-04-12 Wim Taymans <wim@fluendo.com>
18887 * gst/base/Makefile.am:
18888 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18889 (gst_basesink_pad_getcaps), (gst_basesink_init),
18890 (gst_basesink_event), (gst_basesink_change_state):
18891 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18892 (gst_basesrc_init), (gst_basesrc_query),
18893 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18894 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18895 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18896 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18897 (gst_basesrc_stop), (gst_basesrc_activate),
18898 (gst_basesrc_change_state):
18899 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18900 (helper_find_suggest), (gst_type_find_helper):
18901 * gst/base/gsttypefindhelper.h:
18902 * gst/elements/Makefile.am:
18903 * gst/elements/gstelements.c:
18904 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18905 (gst_fakesink_get_times), (gst_fakesink_event),
18906 (gst_fakesink_preroll), (gst_fakesink_render):
18907 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18908 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18909 (gst_fakesrc_get_property), (gst_fakesrc_create),
18910 (gst_fakesrc_start), (gst_fakesrc_stop):
18911 * gst/elements/gstfakesrc.h:
18912 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18913 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18914 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18915 (gst_filesrc_create_read), (gst_filesrc_create),
18916 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18917 (gst_filesrc_start):
18918 * gst/elements/gsttypefindelement.c:
18919 (gst_type_find_element_have_type), (gst_type_find_element_init),
18920 (start_typefinding), (stop_typefinding), (push_buffer_store),
18921 (gst_type_find_element_handle_event),
18922 (gst_type_find_element_chain),
18923 (gst_type_find_element_checkgetrange),
18924 (gst_type_find_element_getrange), (do_typefind),
18925 (gst_type_find_element_activate),
18926 (gst_type_find_element_change_state):
18927 * gst/elements/gsttypefindelement.h:
18928 * gst/gstpipeline.c: (pipeline_bus_handler):
18929 Added typefind helper.
18930 Small preroll fix in the base sink.
18931 Disable typefind code in basesrc.
18932 Crude port of typefindelement.
18936 2005-04-11 Wim Taymans <wim@fluendo.com>
18938 * check/gst/gstbus.c: (gstbus_suite):
18939 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
18940 * check/gstcheck.h:
18941 Fix up the timeout so that the test does not fail.
18943 2005-04-06 Wim Taymans <wim@fluendo.com>
18946 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18947 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
18948 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18949 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18950 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18951 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18952 (gst_basesrc_stop), (gst_basesrc_activate),
18953 (gst_basesrc_change_state), (basesrc_find_peek),
18954 (basesrc_find_suggest), (gst_basesrc_type_find):
18955 * gst/base/gstbasesrc.h:
18956 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
18957 (gst_filesrc_class_init), (gst_filesrc_init),
18958 (gst_filesrc_finalize), (gst_filesrc_set_location),
18959 (gst_filesrc_set_property), (gst_filesrc_get_property),
18960 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18961 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18962 (gst_filesrc_create_read), (gst_filesrc_create),
18963 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
18964 * gst/elements/gstfilesrc.h:
18965 * gst/gstelement.c: (gst_element_get_state_func),
18966 (gst_element_lost_state), (gst_element_pads_activate):
18967 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18968 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18969 (gst_pad_pull_range):
18971 More work on the generic source base class, implement seeking,
18973 Make filesrc extend the base source class.
18974 Added gst_pad_set_checkgetrange_function to GstPad.
18976 2005-04-06 Andy Wingo <wingo@pobox.com>
18978 * pkgconfig/gstreamer-base.pc.in:
18979 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
18981 * pkgconfig/Makefile.am:
18982 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
18984 2005-04-04 Wim Taymans <wim@fluendo.com>
18986 * gst/base/Makefile.am:
18988 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18989 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
18990 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
18991 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
18992 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18993 (gst_basesrc_base_init), (gst_basesrc_class_init),
18994 (gst_basesrc_init), (gst_basesrc_get_formats),
18995 (gst_basesrc_get_query_types), (gst_basesrc_query),
18996 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
18997 (gst_basesrc_set_property), (gst_basesrc_get_property),
18998 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
18999 (gst_basesrc_loop), (gst_basesrc_activate),
19000 (gst_basesrc_change_state):
19001 * gst/base/gstbasesrc.h:
19002 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19003 (gst_fakesrc_class_init), (gst_fakesrc_init),
19004 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19005 (gst_fakesrc_get_property), (gst_fakesrc_create):
19006 * gst/elements/gstfakesrc.h:
19007 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19008 (gst_filesrc_open_file), (gst_filesrc_loop),
19009 (gst_filesrc_activate), (filesrc_find_peek),
19010 (gst_filesrc_type_find):
19011 Made base source class, make fakesrc extend it.
19012 Add comments to basesink class.
19013 Some filesrc cleanup.
19015 2005-03-31 David Schleef <ds@schleef.org>
19017 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19018 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19019 expected to link against libgstreamer.
19020 * gst/base/Makefile.am: link against libgstreamer
19021 * gst/elements/Makefile.am: same
19023 2005-03-31 Andy Wingo <wingo@pobox.com>
19025 * tests/instantiate/Makefile.am:
19026 * tests/instantiate/caps.c: Add test to test speed of caps copy
19029 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19030 GMemChunk to be fair.
19032 * gst/gsttrashstack.h: Remove warning about using the fallback
19033 trash stack implementation, it's still faster than malloc.
19035 2005-03-30 Andy Wingo <wingo@pobox.com>
19037 * tests/complexity.c: Add a copyright.
19039 2005-03-31 Wim Taymans <wim@fluendo.com>
19041 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19042 (gst_base_transform_class_init), (gst_base_transform_init),
19043 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19044 (gst_base_transform_get_property),
19045 (gst_base_transform_sink_activate),
19046 (gst_base_transform_src_activate),
19047 (gst_base_transform_change_state):
19048 * gst/base/gstbasetransform.h:
19049 * gst/elements/gstidentity.c: (gst_identity_class_init),
19050 (gst_identity_event), (gst_identity_check_perfect),
19051 (gst_identity_transform), (gst_identity_start),
19052 (gst_identity_stop):
19053 Added start/stop methods to transform base class so subclasses
19054 don't need to deal with state changes even.
19056 2005-03-31 Wim Taymans <wim@fluendo.com>
19058 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19059 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19061 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19062 (gst_pad_pull_range):
19063 Added rate to the discont event to prepare for variable speed
19064 and reverse playback.
19066 2005-03-29 David Schleef <ds@schleef.org>
19069 * testsuite/trigger/Makefile.am:
19070 * testsuite/trigger/trigger.c: A little example program to show
19071 how trigger-based elements can work.
19073 2005-03-29 Wim Taymans <wim@fluendo.com>
19075 * gst/base/Makefile.am:
19077 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19078 (gst_basesink_base_init), (gst_basesink_class_init),
19079 (gst_basesink_pad_getcaps), (gst_basesink_init),
19080 (gst_basesink_activate), (gst_basesink_change_state):
19081 * gst/base/gstbasesink.h:
19082 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19083 (gst_base_transform_base_init), (gst_base_transform_finalize),
19084 (gst_base_transform_class_init), (gst_base_transform_init),
19085 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19086 (gst_base_transform_event), (gst_base_transform_getrange),
19087 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19088 (gst_base_transform_set_property),
19089 (gst_base_transform_get_property),
19090 (gst_base_transform_sink_activate),
19091 (gst_base_transform_src_activate),
19092 (gst_base_transform_change_state):
19093 * gst/base/gstbasetransform.h:
19094 * gst/elements/gstidentity.c: (gst_identity_finalize),
19095 (gst_identity_class_init), (gst_identity_init),
19096 (gst_identity_event), (gst_identity_check_perfect),
19097 (gst_identity_transform), (gst_identity_set_property),
19098 (gst_identity_get_property), (gst_identity_change_state):
19099 * gst/elements/gstidentity.h:
19100 * gst/gstelement.c: (gst_element_get_state_func),
19101 (gst_element_lost_state), (gst_element_pads_activate):
19102 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19103 (gst_pad_check_pull_range), (gst_pad_pull_range):
19105 Simplify pad activation.
19106 Added function to check if pull_range can be performed.
19107 Error out when pulling inactive or flushing pads.
19108 Removed const from refcounted types as it does not make sense.
19109 Simplify pad templates in basesink
19110 Added base class for simple 1-to-1 transforms.
19111 Make identity subclass the base transform.
19113 2005-03-29 Andy Wingo <wingo@pobox.com>
19115 * docs/libs/gstreamer-libs-overrides.txt:
19116 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19117 really don't understand what's going on, but like whatever. I want
19120 * docs/gst/Makefile.am:
19121 * docs/libs/Makefile.am: Dist the overrides files.
19123 * check/Makefile.am (clean-local): Remove .libs directories.
19125 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19126 elements to EXTRA_DIST, so po/ files are happy.
19128 * po/POTFILES.in: Er, remove it here.
19130 * po/POTFILES: Remove gstspider.c.
19132 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19134 * docs/libs/gstreamer-libs-docs.sgml:
19135 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19138 * tests/complexity.c (main): Set the length of the preroll queue
19139 on the sinks to prevent a lockup.
19141 * libs/gst/dataprotocol/Makefile.am:
19142 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19143 the same as the one in check/gst-libs/gdp.c.
19145 * po/, docs/gst/: Commit automatic changes to docs and po files.
19147 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19148 the versioned libgstbase.
19150 * check/Makefile.am: Depend on an unversioned gst-register, seems
19151 to make autoconf happier.
19153 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19155 2005-03-28 Wim Taymans <wim@fluendo.com>
19158 * docs/design/part-gstelement.txt:
19159 * docs/design/part-negotiation.txt:
19160 * docs/design/part-preroll.txt:
19161 * docs/design/part-scheduling.txt:
19162 * docs/design/part-states.txt:
19164 * gst/base/Makefile.am:
19166 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19167 (gst_basesink_base_init), (gst_basesink_class_init),
19168 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19169 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19170 (gst_basesink_set_pad_functions),
19171 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19172 (gst_basesink_set_property), (gst_basesink_get_property),
19173 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19174 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19175 (gst_basesink_preroll_queue_push),
19176 (gst_basesink_preroll_queue_empty),
19177 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19178 (gst_basesink_event), (gst_basesink_get_times),
19179 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19180 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19181 (gst_basesink_loop), (gst_basesink_activate),
19182 (gst_basesink_change_state):
19183 * gst/base/gstbasesink.h:
19184 * gst/elements/Makefile.am:
19185 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19186 (gst_fakesink_class_init), (gst_fakesink_init),
19187 (gst_fakesink_set_property), (gst_fakesink_get_property),
19188 (gst_fakesink_get_times), (gst_fakesink_event),
19189 (gst_fakesink_preroll), (gst_fakesink_render),
19190 (gst_fakesink_change_state):
19191 * gst/elements/gstfakesink.h:
19192 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19193 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19194 * gst/gstelement.c: (gst_element_add_pad),
19195 (gst_element_get_state_func), (gst_element_abort_state),
19196 (gst_element_commit_state), (gst_element_lost_state),
19197 (gst_element_set_state), (gst_element_pads_activate):
19198 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19199 * gst/gstpipeline.c: (gst_pipeline_send_event),
19200 (gst_pipeline_change_state):
19201 Added state change code.
19202 Added/updated docs.
19203 Added sink base class, make fakesink extend the base class.
19204 Small cleanups in GstPipeline.
19206 2005-03-26 David Schleef <ds@schleef.org>
19208 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19209 is broken and should be implemented in a different library.
19210 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19211 * gst/gst.h: remove gstcpu.h
19212 * gst/gstcpu.c: remove
19213 * gst/gstcpu.h: remove
19214 * gst/Makefile.am.future: Remove this file. It's ancient.
19216 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19218 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19219 (gst_bin_send_event):
19220 Add default event/set_manager handlers. The set_manager handler
19221 takes care that the manager is distributed over kids that were
19222 already in the bin before the manager was set. The event handler
19223 is a utility virtual function that sends the event over all sinks,
19224 so that gst_element_send_event (bin, event); has the expected
19226 * gst/gstpad.c: (gst_pad_event_default):
19227 Re-install default event handling for discontinuities, so that
19228 seeking works without requiring hacks in applications or extra
19230 * gst/gstpipeline.c: (gst_pipeline_class_init),
19231 (gst_pipeline_send_event):
19232 Half hack, half utility: set a pipeline to PAUSED for seek events,
19233 since that is the only way we can guarantee a/v sync. Means that
19234 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19235 and it "just works".
19237 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19239 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19240 Lock/unlock mismatch.
19242 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19244 * docs/faq/gst-uninstalled:
19245 add gst-plugins-base
19246 * docs/gst/Makefile.am:
19247 don't error out until docs are fixed
19248 * docs/gst/gstreamer.types:
19251 2005-03-22 Wim Taymans <wim@fluendo.com>
19253 * check/Makefile.am:
19254 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19255 * gst/gststructure.c: (gst_structure_set_valist),
19256 (gst_structure_copy_conditional):
19257 Activated more tests.
19258 Added message test.
19259 Added G_TYPE_POINTER to GstStructure.
19262 2005-03-22 Wim Taymans <wim@fluendo.com>
19264 * docs/design/part-TODO.txt:
19265 * docs/design/part-events.txt:
19266 * docs/design/part-gstbin.txt:
19267 * docs/design/part-gstbus.txt:
19268 * docs/design/part-gstpipeline.txt:
19269 * docs/design/part-messages.txt:
19271 * gst/gstmessage.c:
19274 2005-03-21 Wim Taymans <wim@fluendo.com>
19276 * gst/gstbus.c: (gst_bus_post):
19277 Fix copy-and-paste error.
19279 2005-03-21 Wim Taymans <wim@fluendo.com>
19281 * check/Makefile.am:
19283 * gst/elements/Makefile.am:
19284 * gst/elements/gstelements.c:
19285 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19286 (gst_fakesink_event), (gst_fakesink_chain):
19287 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19288 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19289 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19290 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19291 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19292 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19293 (gst_fakesrc_loop), (gst_fakesrc_activate),
19294 (gst_fakesrc_change_state):
19295 * gst/elements/gstfakesrc.h:
19296 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19297 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19298 (gst_filesrc_open_file), (gst_filesrc_loop),
19299 (gst_filesrc_activate), (gst_filesrc_change_state),
19300 (filesrc_find_peek), (filesrc_find_suggest),
19301 (gst_filesrc_type_find):
19302 * gst/elements/gstidentity.c: (gst_identity_finalize),
19303 (gst_identity_class_init), (gst_identity_init),
19304 (gst_identity_proxy_getcaps), (identity_queue_push),
19305 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19306 (gst_identity_getrange), (gst_identity_chain),
19307 (gst_identity_sink_loop), (gst_identity_src_loop),
19308 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19309 (gst_identity_set_property), (gst_identity_get_property),
19310 (gst_identity_change_state):
19311 * gst/elements/gstidentity.h:
19312 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19313 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19314 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19315 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19316 (gst_tee_sink_activate):
19317 * gst/elements/gsttee.h:
19318 * gst/gst.c: (gst_register_core_elements), (init_post):
19320 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19321 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19322 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19323 (gst_bin_change_state):
19325 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19326 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19327 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19328 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19329 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19330 (bus_watch_callback), (bus_watch_destroy),
19331 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19332 (poll_timeout), (gst_bus_poll):
19336 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19337 (gst_element_post_message), (gst_element_message_full),
19338 (gst_element_get_state_func), (gst_element_get_state),
19339 (gst_element_abort_state), (gst_element_commit_state),
19340 (gst_element_lost_state), (gst_element_set_state),
19341 (gst_element_pads_activate), (gst_element_change_state),
19342 (gst_element_dispose), (gst_element_set_manager_func),
19343 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19344 (gst_element_set_manager), (gst_element_get_manager),
19345 (gst_element_set_bus), (gst_element_get_bus),
19346 (gst_element_set_scheduler), (gst_element_get_scheduler):
19347 * gst/gstelement.h:
19348 * gst/gstevent.c: (gst_event_new_segment_seek),
19349 (gst_event_new_flush):
19351 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19352 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19353 (gst_message_new_eos), (gst_message_new_error),
19354 (gst_message_new_warning), (gst_message_new_tag),
19355 (gst_message_new_state_changed), (gst_message_new_application),
19356 (gst_message_get_structure), (gst_message_parse_tag),
19357 (gst_message_parse_state_changed), (gst_message_parse_error),
19358 (gst_message_parse_warning):
19359 * gst/gstmessage.h:
19360 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19361 (gst_real_pad_set_property), (gst_pad_set_active),
19362 (gst_pad_is_active), (gst_pad_set_blocked_async),
19363 (gst_pad_set_blocked), (gst_pad_is_blocked),
19364 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19365 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19366 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19367 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19368 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19369 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19370 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19371 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19372 (gst_pad_set_caps), (gst_pad_configure_sink),
19373 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19374 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19375 (gst_real_pad_dispose), (gst_real_pad_finalize),
19376 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19377 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19378 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19380 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19381 (pipeline_bus_handler), (gst_pipeline_change_state),
19382 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19383 * gst/gstpipeline.h:
19385 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19386 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19387 (gst_queue_link_src), (gst_queue_bufferalloc),
19388 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19389 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19390 (gst_queue_loop), (gst_queue_handle_src_event),
19391 (gst_queue_handle_src_query), (gst_queue_src_activate),
19392 (gst_queue_change_state):
19394 * gst/gstscheduler.c: (gst_scheduler_init),
19395 (gst_scheduler_dispose), (gst_scheduler_create_task),
19396 (gst_scheduler_factory_create):
19397 * gst/gstscheduler.h:
19398 * gst/gststructure.c: (gst_structure_get_type),
19399 (gst_structure_copy_conditional):
19400 * gst/gststructure.h:
19401 * gst/gsttaginterface.h:
19402 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19403 (gst_task_init), (gst_task_dispose), (gst_task_create),
19404 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19410 * gst/schedulers/Makefile.am:
19411 * gst/schedulers/cothreads_compat.h:
19412 * gst/schedulers/entryscheduler.c:
19413 * gst/schedulers/faircothreads.c:
19414 * gst/schedulers/faircothreads.h:
19415 * gst/schedulers/fairscheduler.c:
19416 * gst/schedulers/gstbasicscheduler.c:
19417 * gst/schedulers/gstoptimalscheduler.c:
19418 * gst/schedulers/gthread-cothreads.h:
19419 * gst/schedulers/threadscheduler.c:
19420 (gst_thread_scheduler_task_get_type),
19421 (gst_thread_scheduler_task_class_init),
19422 (gst_thread_scheduler_task_init),
19423 (gst_thread_scheduler_task_start),
19424 (gst_thread_scheduler_task_stop),
19425 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19426 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19427 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19428 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19430 * libs/gst/Makefile.am:
19431 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19432 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19433 (gst_file_pad_parent_set):
19434 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19435 (gst_dp_event_from_packet):
19436 * tests/complexity.c: (main):
19437 * tests/mass_elements.c: (main):
19438 * testsuite/states/locked.c: (message_received), (main):
19439 * testsuite/states/parent.c: (main):
19440 * tools/gst-inspect.c: (print_element_flag_info),
19441 (print_implementation_info), (print_pad_info):
19442 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19444 * tools/gst-md5sum.c: (event_loop), (main):
19445 * tools/gst-typefind.c: (main):
19446 * tools/gst-xmlinspect.c: (print_element_info):
19448 Added GstBus for mainloop integration.
19449 Added GstMessage for sending notifications on the bus.
19450 Added GstTask as an abstraction for pipeline entry points.
19452 Removed Schedulers.
19453 Simplified GstQueue for multithreaded core.
19454 Made _link threadsafe, removed old capsnego.
19455 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19456 Added pad blocking functions.
19457 Reworked scheduling functions in GstPad to prepare for
19458 scheduling updates soon.
19459 Moved events out of data stream.
19460 Simplified GstEvent types.
19461 Added return values to push/pull.
19462 Removed clocking from GstElement.
19463 Added prototypes for state change function for next merge.
19464 Removed iterate from bins and state change management.
19465 Fixed some elements, disabled others for now.
19466 Fixed -inspect and -launch.
19467 Added check for GstBus.
19469 2005-03-10 Wim Taymans <wim@fluendo.com>
19471 * docs/design/part-MT-refcounting.txt:
19472 * docs/design/part-clocks.txt:
19473 * docs/design/part-gstelement.txt:
19474 * docs/design/part-gstobject.txt:
19475 * docs/design/part-standards.txt:
19476 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19477 (gst_bin_remove_func), (gst_bin_remove):
19481 * testsuite/clock/clock1.c: (main):
19482 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19484 * testsuite/dlopen/loadgst.c: (do_test):
19485 * testsuite/refcounting/bin.c: (add_remove_test1),
19486 (add_remove_test2), (main):
19487 * testsuite/refcounting/element.c: (main):
19488 * testsuite/refcounting/element_pad.c: (main):
19489 * testsuite/refcounting/pad.c: (main):
19490 * tools/gst-launch.c: (sigint_handler_sighandler):
19491 * tools/gst-typefind.c: (main):
19493 Added doc about clock.
19494 removed gst_bin_iterate_recurse_up(), marked methods
19496 Fix more testsuites.
19498 2005-03-09 Wim Taymans <wim@fluendo.com>
19500 * gst/gstpad.c: (gst_pad_get_direction),
19501 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19502 (gst_pad_collect_valist):
19503 * testsuite/bins/interface.c: (main):
19504 * testsuite/caps/audioscale.c: (test_caps):
19505 * testsuite/caps/caps.c: (test1), (test2), (test3):
19506 * testsuite/caps/deserialize.c: (main):
19507 * testsuite/caps/enumcaps.c: (main):
19508 * testsuite/caps/filtercaps.c: (main):
19509 * testsuite/caps/intersect2.c: (main):
19510 * testsuite/caps/random.c: (main):
19511 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19512 * testsuite/caps/sets.c: (check_caps):
19513 * testsuite/caps/simplify.c: (check_caps), (main):
19514 * testsuite/caps/subtract.c: (check_caps):
19515 Fix _pad_get_direction wrt ghostpads.
19516 Fix caps testsuite.
19518 2005-03-09 Wim Taymans <wim@fluendo.com>
19520 * check/Makefile.am:
19521 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19522 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19523 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19524 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19525 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19526 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19527 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19528 (bin_element_is_sink), (gst_bin_iterate_sinks),
19529 (gst_bin_iterate_all_by_interface):
19531 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19532 (gst_element_change_state), (gst_element_dispose),
19533 (gst_element_finalize), (gst_element_set_loop_function):
19534 * gst/gstelement.h:
19535 * gst/gstiterator.c: (find_custom_fold_func):
19536 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19537 (gst_pad_collectv), (gst_pad_collect_valist),
19538 (gst_pad_template_new):
19539 * gst/gstpipeline.c: (gst_pipeline_class_init),
19540 (gst_pipeline_dispose), (gst_pipeline_set_property),
19541 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19542 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19543 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19545 * gst/schedulers/entryscheduler.c:
19546 * gst/schedulers/gstbasicscheduler.c:
19547 (gst_basic_scheduler_cothreaded_chain),
19548 (gst_basic_scheduler_chain_add_element):
19549 * testsuite/bins/interface.c: (main):
19551 Added GstSystemClock test.
19552 Implemented clock distribution code in GstBin.
19553 Implemented iterate sinks method for future use.
19554 Rearranged gstelement.h
19555 Fix GstIterator comparison bug.
19556 Moved some code to GstPipeline, mostly clocking related.
19558 2005-03-09 Wim Taymans <wim@fluendo.com>
19561 * gst/gst_private.h:
19562 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19563 (gst_bin_remove_func), (gst_bin_remove),
19564 (gst_bin_get_by_name_recurse_up):
19565 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19566 (gst_clock_id_compare_func), (gst_clock_id_wait),
19567 (gst_clock_id_wait_async), (gst_clock_init),
19568 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19569 * gst/gstelement.h:
19570 * gst/gstinfo.c: (_gst_debug_init):
19572 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19573 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19575 Bump version number, we're now 0.9.0
19576 Add future debugging category.
19577 Fix NULL _unref() in _get_by_name_recurse_up
19578 Rearrange gstpad.h.
19581 2005-03-08 Wim Taymans <wim@fluendo.com>
19583 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19584 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19585 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19586 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19587 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19588 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19589 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19590 * gst/elements/gstidentity.c: (gst_identity_class_init):
19591 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19592 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19593 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19594 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19595 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19597 * gst/gstelement.c: (gst_element_class_init),
19598 (gst_element_base_class_init), (gst_element_init),
19599 (gst_element_get_random_pad), (gst_element_wait_state_change),
19600 (gst_element_change_state), (gst_element_dispose),
19601 (gst_element_finalize), (gst_element_set_loop_function):
19602 * gst/gstelement.h:
19603 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19604 * gst/gstthread.c: (gst_thread_class_init),
19605 (gst_thread_release_children_locks), (gst_thread_change_state):
19606 * gst/schedulers/gstbasicscheduler.c:
19607 (gst_basic_scheduler_loopfunc_wrapper),
19608 (gst_basic_scheduler_chain_wrapper),
19609 (gst_basic_scheduler_src_wrapper),
19610 (gst_basic_scheduler_remove_element):
19611 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19612 Remove threadsafe properties. Fix elements because GObject
19613 complains when installing a property before declaring a
19614 set/get_property handler.
19615 Rearrange gstelement.h file, use STATE macros for state locks.
19616 Free mutexes in the finalize method instead of dispose.
19618 2005-03-08 Wim Taymans <wim@fluendo.com>
19620 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19621 * gst/gstthread.c: (gst_thread_release_children_locks):
19622 Added parentage check.
19623 Fix build og GstThread again.
19625 2005-03-08 Wim Taymans <wim@fluendo.com>
19627 * docs/design/part-MT-refcounting.txt:
19628 * docs/design/part-conventions.txt:
19629 * docs/design/part-gstobject.txt:
19630 * docs/design/part-relations.txt:
19631 * docs/design/part-standards.txt:
19632 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19633 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19634 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19635 (gst_bin_iterate_all_by_interface):
19638 * gst/gstelement.c: (gst_element_class_init),
19639 (gst_element_change_state), (gst_element_set_loop_function):
19640 * gst/gstelement.h:
19641 * gst/gstiterator.c:
19642 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19643 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19644 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19645 (gst_object_set_parent), (gst_object_unparent),
19646 (gst_object_check_uniqueness):
19648 Docs updates, clean up some headers.
19650 2005-03-07 Wim Taymans <wim@fluendo.com>
19652 * check/.cvsignore:
19653 * check/Makefile.am:
19654 * check/gst-libs/.cvsignore:
19655 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19656 * check/gst/.cvsignore:
19657 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19658 (START_TEST), (gstbus_suite), (main):
19659 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19660 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19661 (gst_data_suite), (main):
19662 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19663 (add_fold_func), (gstiterator_suite), (main):
19664 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19665 (thread_name_object), (thread_name_object_default),
19666 (gst_object_name_compare), (gst_object_suite), (main):
19667 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19668 (gst_pad_suite), (main):
19669 * check/gstcheck.c: (gst_check_log_message_func),
19670 (gst_check_log_critical_func), (gst_check_init):
19671 * check/gstcheck.h:
19672 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19673 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19676 2005-03-07 Wim Taymans <wim@fluendo.com>
19678 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19679 (gst_list_iterator_next), (gst_list_iterator_resync),
19680 (gst_list_iterator_free), (gst_iterator_new_list),
19681 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19682 (gst_iterator_free), (gst_iterator_push), (filter_next),
19683 (filter_resync), (filter_uninit), (filter_free),
19684 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19685 (gst_iterator_foreach), (find_custom_fold_func),
19686 (gst_iterator_find_custom):
19687 * gst/gstiterator.h:
19688 Added missing files.
19690 2005-03-07 Wim Taymans <wim@fluendo.com>
19694 * docs/design/part-MT-refcounting.txt:
19695 * docs/design/part-conventions.txt:
19696 * docs/design/part-gstobject.txt:
19697 * docs/design/part-relations.txt:
19698 * examples/mixer/mixer.c: (main):
19699 * examples/thread/thread.c: (eos), (main):
19701 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19702 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19703 (gst_spider_plug_from_srcpad):
19704 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19705 (gst_spider_identity_change_state),
19706 (gst_spider_identity_sink_loop_type_finding):
19707 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19708 * gst/elements/gstidentity.c: (gst_identity_init):
19709 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19710 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19711 * gst/elements/gsttypefindelement.c: (free_entry):
19714 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19715 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19716 (gst_bin_set_index), (gst_bin_set_element_sched),
19717 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19718 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19719 (gst_bin_iterate_elements), (iterate_child_recurse),
19720 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19721 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19722 (compare_interface), (gst_bin_get_by_interface),
19723 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19725 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19726 (gst_buffer_default_free), (gst_buffer_default_copy),
19727 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19728 (gst_buffer_create_sub):
19730 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19731 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19732 (gst_caps_unref), (gst_static_caps_get),
19733 (gst_caps_remove_and_get_structure), (gst_caps_append),
19734 (gst_caps_append_structure), (gst_caps_remove_structure),
19735 (gst_caps_copy_nth), (gst_caps_set_simple),
19736 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19737 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19738 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19739 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19740 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19741 (gst_caps_structure_figure_out_union),
19742 (gst_caps_switch_structures), (gst_caps_do_simplify),
19743 (gst_caps_replace), (gst_caps_from_string),
19744 (gst_caps_copy_conditional):
19746 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19747 (_gst_clock_id_free), (gst_clock_id_unref),
19748 (gst_clock_id_compare_func), (gst_clock_id_wait),
19749 (gst_clock_id_wait_async), (gst_clock_class_init),
19750 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19751 (gst_clock_get_time), (gst_clock_set_time_adjust),
19752 (gst_clock_set_property), (gst_clock_get_property):
19755 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19756 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19758 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19759 (gst_element_requires_clock), (gst_element_provides_clock),
19760 (gst_element_set_clock), (gst_element_clock_wait),
19761 (gst_element_wait), (gst_element_set_time_delay),
19762 (gst_element_is_indexable), (gst_element_add_pad),
19763 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19764 (pad_compare_name), (gst_element_get_static_pad),
19765 (gst_element_request_pad), (gst_element_get_request_pad),
19766 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19767 (gst_element_class_get_pad_template_list),
19768 (gst_element_class_get_pad_template), (gst_element_error_func),
19769 (gst_element_get_random_pad), (gst_element_get_event_masks),
19770 (gst_element_send_event), (gst_element_seek),
19771 (gst_element_get_query_types), (gst_element_query),
19772 (gst_element_get_formats), (gst_element_convert),
19773 (gst_element_is_locked_state), (gst_element_set_locked_state),
19774 (gst_element_sync_state_with_parent), (gst_element_change_state),
19775 (gst_element_finalize), (gst_element_yield),
19776 (gst_element_interrupt), (gst_element_set_scheduler),
19777 (gst_element_get_scheduler), (gst_element_set_loop_function):
19778 * gst/gstelement.h:
19780 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19781 (gst_format_get_by_nick), (gst_format_get_details),
19782 (gst_format_iterate_definitions):
19784 * gst/gstindex.c: (gst_index_gtype_resolver):
19787 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19788 (gst_mem_chunk_free):
19789 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19790 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19791 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19792 (gst_object_dispatch_properties_changed),
19793 (gst_object_set_name_default), (gst_object_set_name),
19794 (gst_object_get_name), (gst_object_set_name_prefix),
19795 (gst_object_get_name_prefix), (gst_object_set_parent),
19796 (gst_object_get_parent), (gst_object_unparent),
19797 (gst_object_check_uniqueness), (gst_object_save_thyself),
19798 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19799 (gst_object_set_property), (gst_object_get_property),
19800 (gst_object_get_path_string):
19802 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19803 (gst_real_pad_init), (gst_real_pad_get_property),
19804 (gst_pad_custom_new), (gst_pad_get_direction),
19805 (gst_pad_set_active), (gst_pad_is_active),
19806 (gst_pad_set_event_function), (gst_pad_is_linked),
19807 (gst_pad_link_free), (gst_pad_link_intersect),
19808 (gst_pad_link_fixate), (gst_pad_set_caps),
19809 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19810 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19811 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19812 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19813 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19814 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19815 (gst_pad_realize), (gst_pad_get_allowed_caps),
19816 (gst_real_pad_dispose), (gst_real_pad_finalize),
19817 (gst_pad_collectv), (gst_pad_collect_valist),
19818 (gst_pad_template_dispose), (gst_pad_template_new),
19819 (gst_pad_get_internal_links):
19821 * gst/gstpipeline.c: (gst_pipeline_dispose),
19822 (gst_pipeline_change_state):
19823 * gst/gstpipeline.h:
19825 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19826 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19827 * gst/gstpluginfeature.h:
19828 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19829 * gst/gstquery.c: (_gst_query_type_initialize),
19830 (gst_query_type_register), (gst_query_type_get_by_nick),
19831 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19833 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19834 * gst/gstscheduler.c: (gst_scheduler_add_element),
19835 (gst_scheduler_factory_create):
19836 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19837 (gst_structure_free), (gst_structure_set_name),
19838 (gst_structure_id_set_value), (gst_structure_set_value),
19839 (gst_structure_set_valist), (gst_structure_remove_field),
19840 (gst_structure_remove_fields),
19841 (gst_structure_remove_fields_valist),
19842 (gst_structure_remove_all_fields), (gst_structure_foreach),
19843 (gst_structure_map_in_place),
19844 (gst_caps_structure_fixate_field_nearest_int),
19845 (gst_caps_structure_fixate_field_nearest_double):
19846 * gst/gststructure.h:
19847 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19848 (gst_system_clock_init), (gst_system_clock_dispose),
19849 (gst_system_clock_async_thread),
19850 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19851 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19852 * gst/gstsystemclock.h:
19853 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19854 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19855 * gst/gsttaginterface.c:
19856 * gst/gstthread.c: (gst_thread_dispose),
19857 (gst_thread_release_children_locks), (gst_thread_change_state),
19858 (gst_thread_main_loop):
19859 * gst/gsttrashstack.h:
19860 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19862 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19863 (gst_element_request_pad), (gst_element_get_pad_from_template),
19864 (gst_element_request_compatible_pad),
19865 (gst_element_get_compatible_pad_filtered),
19866 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19867 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19868 (gst_element_link_many), (gst_element_link),
19869 (gst_element_link_pads), (gst_element_unlink_pads),
19870 (gst_element_unlink_many), (gst_element_unlink),
19871 (gst_pad_can_link_filtered), (gst_pad_can_link),
19872 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19873 (gst_object_default_error), (gst_bin_add_many),
19874 (gst_bin_remove_many), (gst_element_populate_std_props),
19875 (gst_element_class_install_std_props), (gst_buffer_merge),
19876 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19877 (link_fold_func), (gst_pad_proxy_setcaps):
19879 * gst/gstvalue.c: (gst_value_deserialize_string):
19880 * gst/parse/grammar.y:
19881 * gst/schedulers/gstbasicscheduler.c:
19882 (gst_basic_scheduler_cothreaded_chain),
19883 (gst_basic_scheduler_chain_recursive_add),
19884 (gst_basic_scheduler_pad_link):
19885 * gst/schedulers/gstoptimalscheduler.c:
19886 (get_group_schedule_function),
19887 (gst_opt_scheduler_state_transition),
19888 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19889 * libs/gst/bytestream/bytestream.c:
19890 * libs/gst/dataprotocol/dataprotocol.c:
19891 (gst_dp_header_from_buffer):
19894 * tests/threadstate/threadstate2.c: (eos):
19895 * tools/gst-compprep.c: (main):
19896 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19897 (print_pad_info), (print_children_info):
19898 * tools/gst-launch.c: (idle_func), (main):
19899 * tools/gst-md5sum.c: (idle_func), (main):
19900 * tools/gst-xmlinspect.c: (print_element_info):
19901 First THREADED backport attempt, focusing on adding locks and
19902 making sure the API is threadsafe. Needs more work. More docs
19905 2005-02-24 Andy Wingo <wingo@pobox.com>
19907 * tests/bench-complexity.scm:
19908 * tests/complexity.gnuplot: New files, good for running complexity
19911 * tests/Makefile.am:
19912 * tests/complexity.c: New test, sets up N elements, at each level
19913 teeing into M streams per element. Eeeenteresting.
19915 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19916 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19917 running bench-mass_elements.scm.
19919 * tests/bench-mass_elements.scm: New script, runs mass_elements
19920 for various numbers of identities, outputting the results to a
19921 file. Requires guile 1.6. Just for testing.
19923 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19925 * gst/schedulers/fairscheduler.c:
19926 compile with debug disabled
19928 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
19931 hunting season on 0.9 is now OPEN