1 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
4 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6 2006-10-02 Edward Hervey <edward@fluendo.com>
8 * docs/design/part-block.txt:
9 Further explain the use of flushing on blocked pads.
10 * docs/gst/gstreamer-sections.txt:
11 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
14 Added new GstPadFlag : GST_PAD_BLOCKING.
15 Adds the notion of pads really blocking, which enables to properly
16 handle FLUSH_START/FLUSH_STOP events on blocked pads.
18 API: gst_pad_is_blocking()
19 API: GST_PAD_IS_BLOCKING() macro
20 API: GST_PAD_BLOCKING GstPadFlag
22 2006-10-02 Wim Taymans <wim@fluendo.com>
24 Patch by: mrcgran <mrc.gran at gmail dot com>
26 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
27 Filter the proxied caps against the padtemplate if we have one.
29 * gst/gstquery.c: (gst_query_new_segment):
30 Add include for gstinfo.h so that compilation with
31 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
33 2006-10-02 Wim Taymans <wim@fluendo.com>
35 Patch by: Alessandro Decina <alessandro at nnva org>
37 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
38 (gst_file_sink_set_location), (gst_file_sink_open_file),
39 (gst_file_sink_close_file), (gst_file_sink_event),
40 (gst_file_sink_render):
41 Set file to NULL when closing filesink so that we can set a new filename
42 in READY. Fixes #358613.
44 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
46 Patch by: Alessandro Decina <alessandro at nnva org>
48 * gst/gstevent.c: (_gst_event_copy):
49 Fix gst_mini_object_make_writable() and gst_event_copy() for events
50 with event structures by setting the parent refcount address of the
51 copied structure to the address of the refcount member of the newly
52 copied event rather than the address of the refcount member of the
53 original event. Fixes #358737.
55 * tests/check/gst/gstevent.c: (GST_START_TEST):
56 Unit test for the above.
58 2006-09-29 Stefan Kost <ensonic@users.sf.net>
60 * docs/design/Makefile.am:
63 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
65 * tests/check/libs/controller.c: (GST_START_TEST),
66 (gst_controller_suite):
67 Add test for the previous fix; add some more tests
68 for correct refcounting behaviour; fix a few leaks
69 in test cases; call gst_controller_init() at start
72 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
74 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
75 (gst_controller_set_from_list):
76 Don't g_return_val_if_fail() on timed values with invalid timestamps
77 inside a critical section without unlocking the mutex. Spotted by
78 René Stadler. (#357617)
79 Also, fix up refcounting properly: when returning an existing
80 controller, we should increase the reference only once and not
81 once per property and when trying to control a property again
82 we should also increase the refcount.
84 2006-09-29 Wim Taymans <wim@fluendo.com>
86 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
87 * libs/gst/net/gstnettimeprovider.c:
88 (gst_net_time_provider_thread):
89 Stop reading commands when EOF as well.
91 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
92 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
93 * plugins/elements/gstidentity.c: (gst_identity_class_init):
94 Unify description of the dump property.
96 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
98 * tests/examples/manual/.cvsignore:
99 OK, so it's actually cvsignore that needs changing. Stop laughing.
101 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
103 * tests/examples/manual/Makefile.am:
104 Gah, declare vars *before* using them
106 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
108 * gst/gst.c: (init_pre), (scan_and_update_registry),
109 (ensure_current_registry_nonforking),
110 (ensure_current_registry_forking), (ensure_current_registry),
111 (init_post), (gst_debug_help), (gst_deinit):
113 * gst/gstregistry.c: (gst_registry_finalize),
114 (gst_registry_remove_features_for_plugin_unlocked),
115 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
116 (gst_registry_scan_path),
117 (_priv_gst_registry_remove_cache_plugins),
118 (_priv_gst_registry_cleanup):
120 Re-commit the registry changes, along with an extra fix:
121 When a cached plugin is encountered at a different file path,
122 update the stored path in the registry cache so that the parent
123 process knows where it actually is now when it re-reads the registry
124 cache. Fixes the thing that broke distcheck with the previous commit.
126 * tests/check/Makefile.am:
127 Clean up files named 'core' too when running make clean.
129 * tests/examples/manual/Makefile.am:
130 Set up a registry path for running these tests, and clean it properly
133 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
136 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
137 want gmodule-no-export-2.0.pc instead so that we don't drag in
138 --export-dynamic on every project that links to GStreamer.
140 Also, make our export regex only match the start of symbols, rather
141 than any symbol that contains '_gst' somewhere.
143 * libs/gst/check/Makefile.am:
144 The libgstcheck we build does however need export-dynamic, as it
145 produces some symbols that don't match our _gst... style regex.
148 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
150 * gst/gst.c: (init_pre), (scan_and_update_registry),
151 (ensure_current_registry_nonforking),
152 (ensure_current_registry_forking), (ensure_current_registry),
153 (init_post), (gst_debug_help), (gst_deinit):
155 * gst/gstregistry.c: (gst_registry_finalize),
156 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
157 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
158 (_gst_registry_cleanup):
160 Revert previous change until I figure out why it breaks distcheck.
162 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
164 * gst/gst.c: (init_pre), (scan_and_update_registry),
165 (ensure_current_registry_nonforking),
166 (ensure_current_registry_forking), (ensure_current_registry),
167 (init_post), (gst_debug_help), (gst_deinit):
169 Make init_pre and init_post take the full complement of GOptionFunc
170 args so they can return useful GErrors. Make the registry updating
173 Call _priv_gst_registry_remove_cache_plugins after scanning files to
174 ensure that the registry we're about to write out doesn't contain
175 stale information about old-deleted plugin files.
177 Make _priv_gst_registry_remove_cache_plugins return a boolean so
178 that deletion of plugin files is considered a registry change.
181 * gst/gstregistry.c: (gst_registry_finalize),
182 (gst_registry_remove_features_for_plugin_unlocked),
183 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
184 (gst_registry_scan_path),
185 (_priv_gst_registry_remove_cache_plugins),
186 (_priv_gst_registry_cleanup):
188 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
189 by adding _priv prefix, so that they won't appear in the global
190 symbol table. They still do atm though because of #318031. Move the
191 prototypes to gst_private.h
193 When removing a plugin, remove all features for that plugin too.
196 2006-09-27 Wim Taymans <wim@fluendo.com>
198 * docs/random/moving-plugins:
199 Make it clear that the "compiled-in descriptions" really mean
202 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
203 (gst_base_sink_wait_preroll):
206 * docs/libs/gstreamer-libs-sections.txt:
207 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
208 (gst_base_src_get_range), (gst_base_src_activate_push):
209 * libs/gst/base/gstbasesrc.h:
210 Added function to block while waiting for PLAYING, this function
211 is used by live sources that block on the clock.
212 API: gst_base_src_wait_playing()
214 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
216 Patch by: Peter Kjellerstedt <pkj at axis com>
219 gst-element-check.m4 is generated and should therefore be
220 copied from the build dir rather than the source dir (#357593).
221 'make distcheck' hasn't noticed this because we were disting
222 the file as well, so stop doing that.
224 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
226 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
227 Add some tests for gst_caps_intersect().
229 * tools/gst-launch.c: (event_loop):
230 Print all buffering percentages we get, even the 100% one.
232 2006-09-26 Wim Taymans <wim@fluendo.com>
234 * tools/gst-inspect.c: (print_element_properties_info),
236 Fix printing of flags to match the look of enums.
238 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
240 * gst/gstelementfactory.c:
241 Fix typo in docs blurb.
243 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
245 * gst/gsturi.c: (search_by_entry):
246 Don't assert/crash here if a uri handler doesn't return any
247 supported protocols. The list of protocols could be generated
248 dynamically at runtime or at plugin registration, and an error
249 in the underlying library shouldn't be fatal (#353301).
251 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
254 Fix warning if HAVE_PRINTF_EXTENSION is undefined
255 (spotted by Peter Kjellerstedt).
257 2006-09-23 Wim Taymans <wim@fluendo.com>
259 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
261 * libs/gst/base/gstbasesrc.c:
262 (gst_base_src_default_check_get_range), (gst_base_src_start),
263 (gst_base_src_activate_push), (gst_base_src_activate_pull),
264 (gst_base_src_change_state):
265 Match _start/_stop calls in the activate functions. Remove redundant
266 _stop call from the state change function. Fixes #356910.
267 Turn failure DEBUG into ERROR.
269 2006-09-22 Wim Taymans <wim@fluendo.com>
271 * docs/design/part-buffering.txt:
272 * gst/gstmessage.c: (gst_message_new_buffering),
273 (gst_message_parse_buffering):
274 Update docs about buffering.
276 * docs/design/part-trickmodes.txt:
279 2006-09-22 Stefan Kost <ensonic@users.sf.net>
281 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
282 (gst_controller_new_list):
283 Ref instances when returning them again (fixes #357180)
285 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
287 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
288 Don't forget to release proxy lock when there's an error.
290 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
293 Add extra initialisers for Caps things, to fix some plugin warnings
296 2006-09-18 Wim Taymans <wim@fluendo.com>
298 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
299 Also set template on the internal pad so that a getcaps from the
300 target pad returns the template caps.
302 2006-09-18 Wim Taymans <wim@fluendo.com>
304 * gst/gstelement.c: (gst_element_post_message),
305 (gst_element_dispose):
306 Use _DEBUG_OBJECT some more.
308 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
311 * tools/gst-launch.c: (main):
312 If the toplevel element is not a GstPipeline, it must be put in a
313 pipeline so that a bus and clock is selected.
315 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
317 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
318 JITTER, RATE, and LATENCY query should be handled by the
319 default case and not by the CONVERT query code.
321 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
323 * gst/gstformat.c: (gst_format_register):
324 Fix locking order (must take lock before using n_values).
326 * gst/gstvalue.c: (gst_value_serialize_enum),
327 (gst_value_deserialize_enum_iter_cmp),
328 (gst_value_deserialize_enum):
329 Fix serialisation/deserialisation of custom registered GstFormats.
331 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
332 Unit test for custom format serialisation/deserialisation.
334 2006-09-17 Stefan Kost <ensonic@users.sf.net>
336 * docs/pwg/building-boiler.xml:
337 * plugins/elements/gstcapsfilter.c:
338 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
341 2006-09-16 Edward Hervey <edward@fluendo.com>
343 * libs/gst/base/gstbasetransform.c:
344 (gst_base_transform_buffer_alloc):
345 Check if requested caps are the same as the sinks caps IF
346 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
348 This fixes the renegotiation issues stated in #352827.
350 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
353 * docs/manual/advanced-autoplugging.xml:
354 * tests/examples/Makefile.am:
355 * tests/examples/manual/.cvsignore:
356 * tests/examples/manual/Makefile.am:
357 * tests/examples/manual/extract.pl:
358 Extract the manual examples again like we used to do.
361 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
363 * win32/common/config.h:
366 2006-09-16 Stefan Kost <ensonic@users.sf.net>
369 Documents how to receive errors.
371 2006-09-15 Wim Taymans <wim@fluendo.com>
373 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
374 (event_loop), (main):
375 Added some comments here and there.
376 Post an application message when an interrupt is caught instead of doing
377 an uncontrolled state change.
378 Clean up the event loop.
379 Handle buffering messages, pause/resume the pipeline.
380 Make shutdown because of an interrupt more reliable.
382 2006-09-15 Wim Taymans <wim@fluendo.com>
384 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
385 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
386 (gst_base_sink_preroll_object):
387 Make sure that our internal state is correct when we commit our state
388 asynchronously. This solves a race where a state change to PLAYING
389 could cause the sink to remain blocked in preroll in some situations.
391 2006-09-15 Wim Taymans <wim@fluendo.com>
393 * tools/gst-inspect.c: (print_element_properties_info),
395 List flags as hex so it's easier to deal with.
397 2006-09-15 Wim Taymans <wim@fluendo.com>
399 * docs/libs/gstreamer-libs-sections.txt:
400 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
401 (gst_base_sink_do_sync):
402 * libs/gst/base/gstbasesink.h:
403 Expose logic to wait for preroll so that subclasses such as audiosink
404 can also use this method.
405 API: gst_base_sink_wait_preroll()
407 2006-09-15 Wim Taymans <wim@fluendo.com>
409 * gst/gstobject.c: (gst_object_set_parent):
410 * gst/gstpipeline.c: (do_pipeline_seek):
411 Small cleanups in docs and code.
413 * gst/gstsegment.c: (gst_segment_clip):
414 * tests/check/gst/gstsegment.c: (GST_START_TEST):
415 if stop == start and start is in the segment, no clipping should be
416 done. Also add a test for this.
418 2006-09-15 Wim Taymans <wim@fluendo.com>
420 * docs/design/part-buffering.txt:
421 * docs/gst/gstreamer-sections.txt:
422 * gst/gstmessage.c: (gst_message_new_buffering),
423 (gst_message_parse_buffering):
425 Added methods to create and parse BUFFERING messages.
426 Added preliminary docs about buffering.
427 API: gst_message_new_buffering
428 API: gst_message_parse_buffering
430 2006-09-06 Wim Taymans <wim@fluendo.com>
433 Update documentation.
435 * gst/gstelement.c: (gst_element_class_init),
436 (gst_element_release_request_pad), (gst_element_set_clock),
437 (gst_element_get_index), (gst_element_add_pad),
438 (gst_element_remove_pad), (gst_element_get_random_pad),
439 (gst_element_send_event), (gst_element_get_query_types),
440 (gst_element_query), (gst_element_post_message),
441 (gst_element_message_full), (gst_element_continue_state),
442 (gst_element_lost_state), (gst_element_save_thyself),
443 (gst_element_restore_thyself):
444 Documentation updates.
445 Rename last bit of the new-pad -> pad-added signal rename.
446 Fix the case where an element query would only work if the source
448 Avoid some useless type checking in message handling.
453 Documentation updates.
455 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
457 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
458 add an INFO line for when we actually update the fd
460 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
465 === release 0.10.10 ===
467 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
470 releasing 0.10.10, "Pais"
472 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
474 * docs/manual/advanced-position.xml:
475 Fix typo in sample code.
477 2006-09-05 Wim Taymans <wim@fluendo.com>
479 * libs/gst/net/gstnetclientclock.c: (inet_aton),
480 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
481 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
482 * libs/gst/net/gstnetclientclock.h:
483 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
484 * libs/gst/net/gstnettimepacket.h:
485 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
486 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
487 (gst_net_time_provider_thread), (gst_net_time_provider_new):
488 * libs/gst/net/gstnettimeprovider.h:
489 Make stuff compile on windows. Fixes #345295.
491 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
493 * gst/gst.c: (ensure_current_registry_forking):
494 Print better details when child was terminated by signal.
496 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
498 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
499 Print a warning rather than g_assert() if a plugin feature
500 is a URI handler but returns no protocols (#353976).
502 2006-09-02 Stefan Kost <ensonic@users.sf.net>
504 * docs/random/moving-plugins:
507 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
509 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
510 Fix locking order, handle NULL function values properly.
515 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
516 Initialise variable before using it and fix debug statement to
517 print the address of the function rather than the address of the
518 variable on the stack holding the address of the function.
520 2006-09-01 Wim Taymans <wim@fluendo.com>
522 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
523 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
524 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
525 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
526 (gst_ghost_pad_parent_unset),
527 (gst_ghost_pad_internal_do_activate_push),
528 (gst_ghost_pad_internal_do_activate_pull),
529 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
530 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
531 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
532 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
533 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
534 (gst_ghost_pad_new_no_target_from_template),
535 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
537 Avoid needless typechecking in macros.
538 Since the internal pad is always present and never changes, there is
539 no need to locking or ref when retrieving it.
540 Improve debugging a bit.
541 Handle link errors when setting the target. Fixes #341029.
543 2006-09-01 Wim Taymans <wim@fluendo.com>
545 * docs/libs/gstreamer-libs-sections.txt:
546 * docs/plugins/gstreamer-plugins-sections.txt:
549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
550 (gst_collect_pads_event):
551 * libs/gst/base/gstcollectpads.h:
552 Documentation updates.
553 Free queued buffer when removing a pad.
555 2006-08-31 Michael Smith <msmith@fluendo.com>
557 * gst/gstutils.c: (gst_element_link_pads),
558 (gst_element_link_pads_filtered):
559 Ensure that we set a capsfilter to NULL if we failed to link it
560 when doing filtered linking, to avoid criticals.
562 No need to check for unreffing srcpad, which is explicly NULLed
563 above (a trivial code cleanup).
565 2006-08-31 Wim Taymans <wim@fluendo.com>
567 * docs/design/part-gstghostpad.txt:
568 Update ascii art in documentation.
570 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
571 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
572 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
573 (gst_ghost_pad_internal_do_activate_push),
574 (gst_ghost_pad_internal_do_activate_pull),
575 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
576 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
577 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
578 (gst_ghost_pad_set_target):
579 Small cleanups and leak fixes.
580 Remove some checks now that the internal pad is never NULL.
581 Fix the case where linking pads without a target would create nasty
582 criticals. Fixes #341029.
583 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
584 value of _set_target().
586 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
587 (gst_ghost_pad_suite):
588 Some more tests for creating and linking untargeted ghostpads.
590 2006-08-31 Edward Hervey <edward@fluendo.com>
592 * docs/gst/gstreamer-sections.txt:
593 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
594 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
595 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
596 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
597 (gst_ghost_pad_new_from_template),
598 (gst_ghost_pad_new_no_target_from_template):
600 Refactored *_new() functions.
601 Templates are now used as a g_object_new() parameter.
602 Use template in _do_getcaps() if we don't have a target.
603 Small documentation cleanups.
604 Added two new constructors:
605 gst_ghost_pad_new_from_template()
606 gst_ghost_pad_new_no_target_from_template()
607 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
608 (gst_ghost_pad_suite):
609 Added tests for new ghostpad instanciation functions.
611 API additions: gst_ghost_pad_new_from_template,
612 gst_ghost_pad_new_no_target_from_template
614 2006-08-30 Stefan Kost <ensonic@users.sf.net>
616 * docs/random/ensonic/profiling.txt:
617 Ideas about qos profiling.
619 2006-08-29 Wim Taymans <wim@fluendo.com>
621 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
625 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
628 Improve and detypofy docs.
630 * tests/check/Makefile.am:
631 * tests/check/gst/.cvsignore:
632 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
633 Add a basic test suite for GstXML.
635 2006-08-29 Wim Taymans <wim@fluendo.com>
637 * gst/gstelement.c: (activate_pads), (clear_caps),
638 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
639 Clear the pad caps when the element shut down all of the pads and
640 is not streaming data that could modify the caps.
643 2006-08-28 Michael Smith <msmith@fluendo.com>
645 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
646 Revert previous change; I misunderstood single-segment mode.
648 2006-08-28 Michael Smith <msmith@fluendo.com>
650 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
651 Unset DISCONT on buffers when using single-segment mode.
653 2006-08-28 Wim Taymans <wim@fluendo.com>
655 * gst/gstcaps.c: (gst_caps_merge_structure):
657 Fix docs and indentation again.
659 * tests/check/gst/gstquery.c: (GST_START_TEST):
660 Fix leak in tests and add some more tests.
662 2006-08-28 Edward Hervey <edward@fluendo.com>
664 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
665 Inform GstSegment of the last stop position in order for the current
666 segment to have a proper duration if it doesn't have a specific stop
667 position from which a duration could be calculated.
668 This bug was noticeable when a non-flushing, non-update new segment was
669 followed by another segment (all buffers from the new segment were being
672 2006-08-28 Wim Taymans <wim@fluendo.com>
674 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
675 Small comment update.
677 * plugins/elements/gstidentity.c: (gst_identity_class_init),
678 (gst_identity_transform_ip):
679 Drop-probability is broken, mention this in the code with a
680 FIXME and also in the property description.
681 Make silent also be silent about the drop messages.
683 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
685 * docs/manual/appendix-win32.xml:
686 Remove mention of popt, we don't depend on that any
687 longer (#353136). Add some comments pointing out that
688 this section is slightly outdated.
690 2006-08-28 Wim Taymans <wim@fluendo.com>
692 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
694 * gst/gstquery.c: (gst_query_new_segment):
695 * tests/check/gst/gstquery.c: (GST_START_TEST):
696 Initialize variables when creating a new segment query.
699 2006-08-28 Wim Taymans <wim@fluendo.com>
701 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
703 * gst/gstelement.c: (gst_element_get_bus):
704 * tests/check/gst/gstelement.c: (GST_START_TEST):
705 Check for NULL before _reffing the bus. Fixes #353122.
707 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
709 * docs/manual/basics-bus.xml:
710 Docs update: fix wrong callback return value explanation; add
711 some lines about the implicit relationship between main loop
712 and main context; remove duplicate main loop variable declaration.
714 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
716 * tests/check/gst/gstcaps.c: (GST_START_TEST):
717 Don't leak caps in unit test; add a few more simple
720 2006-08-24 Stefan Kost <ensonic@users.sf.net>
722 * docs/gst/gstreamer-sections.txt:
723 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
724 (gst_caps_structure_is_subset), (gst_caps_merge),
725 (gst_caps_merge_structure):
727 * libs/gst/base/gstbasetransform.c:
728 (gst_base_transform_transform_caps):
729 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
730 implement caps merging (fixes #352580)
732 2006-08-23 Stefan Kost <ensonic@users.sf.net>
735 * tools/gst-plot-timeline.py:
736 add debug-log plotting developer tool (#340674)
738 2006-08-23 Wim Taymans <wim@fluendo.com>
740 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
742 Improve debugging for task functions.
744 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
745 (gst_task_start), (gst_task_pause), (gst_task_join):
746 Make sure that the task function started and finished after a
748 Don't try to push the task function on the threadpool multiple
750 Improve the g_warning message with some useful suggestions
751 about how to fix the problem.
753 2006-08-23 Wim Taymans <wim@fluendo.com>
755 * gst/gstutils.c: (gst_pad_proxy_getcaps):
756 Handle RESYNC correctly in _proxy_getcaps.
758 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
760 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
761 (gst_xml_parse_memory), (gst_xml_get_element):
762 Chain up to parent class in dispose function and also
763 unref the elements in the toplevel_elements GList.
764 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
765 Always return a reference in gst_xml_get_element() rather
768 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
769 Don't leak GstXml object.
771 2006-08-21 Stefan Kost <ensonic@users.sf.net>
773 * docs/gst/gstreamer-sections.txt:
774 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
777 * libs/gst/base/gstbasetransform.c:
778 (gst_base_transform_transform_caps):
779 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
782 2006-08-21 Edward Hervey <edward@fluendo.com>
784 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
785 Implement GObject::dispose virtual method in GstXML so we can free the
788 2006-08-21 Wim Taymans <wim@fluendo.com>
790 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
791 (gst_buffer_create_sub):
792 Copy duration/offset_end/caps when creating a subbuffer of the
794 Make the subbuffer read-only when we make the metadata writable for
797 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
798 Added check for metadata copy when creating subbuffers.
800 2006-08-21 Edward Hervey <edward@fluendo.com>
802 * libs/gst/base/gstbasetransform.c:
803 (gst_base_transform_buffer_alloc):
804 Only call downstream buffer_alloc if transform element is passthrough
805 or always_in_place. Closes #350449.
807 2006-08-20 Stefan Kost <ensonic@users.sf.net>
810 ChangeLog surgery to add comments to previous changes
812 2006-08-20 Stefan Kost <ensonic@users.sf.net>
817 * gst/gstpad.c: (gst_pad_set_active):
818 Be more verbose in the log
820 * libs/gst/base/gstbasetransform.c:
821 (gst_base_transform_transform_caps):
822 Simplify caps to get rid of duplicates, fixes #345444
824 2006-08-20 Stefan Kost <ensonic@users.sf.net>
828 Use these optimizations only internally.
830 2006-08-20 Stefan Kost <ensonic@users.sf.net>
832 * gst/gstvalue.c: (gst_value_compare_list),
833 (gst_value_compare_fraction_range),
834 (gst_value_intersect_fraction_fraction_range),
835 (gst_value_intersect_fraction_range_fraction_range),
836 (gst_value_subtract_fraction_fraction_range),
837 (gst_value_subtract_fraction_range_fraction_range),
838 (gst_value_get_compare_func), (gst_value_compare),
839 (gst_value_compare_with_func):
841 Saves the expensive lookup of the compare function in many cases
844 2006-08-18 Edward Hervey <edward@fluendo.com>
846 * tests/check/gst/gstinfo.c: (gst_info_suite):
847 Disable test that require gstdebug if it wasn't built in core.
849 2006-08-18 Stefan Kost <ensonic@users.sf.net>
851 * docs/random/ensonic/logging.txt:
854 * gst/gstinfo.c: (gst_debug_log_default):
855 reorder fields, save some columns, add optional color codes for log
858 2006-08-18 Stefan Kost <ensonic@users.sf.net>
860 * docs/random/ensonic/logging.txt:
861 add ideas about making the logs a bit more useful
863 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
865 * docs/pwg/advanced-events.xml:
866 * docs/pwg/titlepage.xml:
867 Update for 0.10 API (#340627). Add myself
870 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
872 * docs/libs/gstreamer-libs-docs.sgml:
873 * docs/libs/gstreamer-libs-sections.txt:
874 * libs/gst/check/gstbufferstraw.c:
875 Make gstcheck stuff show up in docs (still needs to
876 be documented properly though).
878 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
880 * docs/gst/gstreamer-sections.txt:
882 * gst/gst.c: (init_post):
884 * gst/gstquark.c: (_priv_gst_quarks_initialize):
886 * gst/gstquery.c: (gst_query_new_position),
887 (gst_query_set_position), (gst_query_parse_position),
888 (gst_query_new_duration), (gst_query_set_duration),
889 (gst_query_parse_duration), (gst_query_new_convert),
890 (gst_query_set_convert), (gst_query_parse_convert),
891 (gst_query_new_segment), (gst_query_set_segment),
892 (gst_query_parse_segment), (gst_query_new_seeking),
893 (gst_query_set_seeking), (gst_query_parse_seeking):
894 Add internal helpers for pre-registering quarks from static strings
895 and using the quark values directly instead of looking them up when
896 creating and parsing queries. Can be used for event construction too.
899 2006-08-16 Wim Taymans <wim@fluendo.com>
904 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
906 * gst/gstutils.c: (gst_util_set_value_from_string):
907 Fix memleak (#351502).
909 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
910 Add unit test for most of gst_util_set_value_from_string()
911 (not that one would want to encourage use of this function).
913 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
915 * libs/gst/check/gstcheck.h:
916 Use const gchar * variables in fail_unless_equals_string
917 macro to avoid compiler warnings (and don't use tabs for
920 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
922 * tools/gst-launch.c: (print_tag):
923 More space on the left for the tag names, to cater
924 for the 'extended comment' tag (not touching the
925 string for the first line since it's translated).
927 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
929 * libs/gst/check/gstcheck.h:
930 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
931 print something when they fail.
933 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
935 * docs/gst/gstreamer-sections.txt:
936 * gst/gsttaglist.c: (_gst_tag_initialize):
938 API: add GST_TAG_EXTENDED_COMMENT (#350935).
939 Also change merge function for GST_TAG_COMMENT to
942 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
944 * gst/gstinfo.c: (gst_debug_print_object):
945 Make GST_PTR_FORMAT print messages as well.
947 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
948 (GST_START_TEST), (gst_info_suite):
951 2006-08-14 Edward Hervey <edward@fluendo.com>
953 * gst/gstelementfactory.c: (gst_element_register):
954 If the GstElementClass doesn't have a GstElementDetails with all fields
955 filled up correctly (longname, description AND author), then error out
956 nicely instead of crashing.
958 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
960 * gst/gststructure.c:
961 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
964 Expand on the difference between arrays and lists as we use them.
966 2006-08-14 Wim Taymans <wim@fluendo.com>
968 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
969 If the parent state change function failed, don't assume we can safely
970 stop the source, this will be done when the pads are deactivated.
972 2006-08-14 Wim Taymans <wim@fluendo.com>
975 * gst/gsttask.c: (gst_task_join):
978 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
980 When pad (de)activation failed for some reason, restore the old
981 activation mode and set the pad to flushing instead of assuming the
983 If the _task_join() failed, reinstall the task on the pad so that it can
984 be stopped later and return an error.
986 2006-08-11 Andy Wingo <wingo@pobox.com>
989 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
990 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
991 is only for users of API that don't want to see deprecated
992 functions in the headers; people that want to compile out
993 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
994 CFLAGS. Fixes the build of multifdsink, or will soon..
996 2006-08-11 Wim Taymans <wim@fluendo.com>
998 * docs/gst/gstreamer-sections.txt:
999 Add GstClockClass vmethod docs.
1002 Mark #endif with comment for associated #if
1004 * gst/gstclock.c: (gst_clock_id_wait):
1006 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1007 most clock implementations.
1009 Flesh out docs about resolution methods.
1010 API: GstClockClass::wait_jitter
1012 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1013 (gst_system_clock_async_thread),
1014 (gst_system_clock_id_wait_jitter_unlocked),
1015 (gst_system_clock_id_wait_jitter):
1016 Use base class wait_jitter variant for improved performance
1017 due to less clock polling.
1019 2006-08-11 Edward Hervey <edward@fluendo.com>
1021 * gst/gst.c: (gst_init_check), (init_post):
1022 Set gst as being initialized before scanning/updating the registry,
1023 since there might be my python plugin loader that calls gst_init() and
1024 we don't want to loop back in.
1027 2006-08-11 Wim Taymans <wim@fluendo.com>
1029 * docs/design/part-qos.txt:
1030 Bring docs in line with the code. Mostly the sign of the jitter was
1031 wrong in the docs. Fixes #349943.
1034 Fix the docs for the jitter.
1036 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1037 (gst_event_parse_tag), (gst_event_new_buffer_size),
1038 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1039 (gst_event_new_seek), (gst_event_parse_seek),
1040 (gst_event_new_navigation):
1041 Make sure the GstStructure has no parent when creating custom
1043 Add some more argument checking so that we avoid 0.0 rates.
1044 Flesh out the docs for the QoS event some more.
1046 2006-08-11 Wim Taymans <wim@fluendo.com>
1048 * docs/gst/gstreamer-sections.txt:
1049 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1050 (ensure_current_registry_forking), (ensure_current_registry),
1051 (parse_one_option), (parse_goption_arg), (gst_deinit),
1052 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1055 Added API and command line option to disable registry forking in
1056 addition to the environment variable.
1057 Constify some static arrays.
1058 Added some more debug.
1060 API: gst_registry_fork_is_enabled()
1061 API: gst_registry_fork_set_enabled()
1062 API: --gst-disable-registry-fork command line option
1065 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1067 * gst/gst.c: (gst_init):
1068 Fix typo in error message.
1070 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1072 * libs/gst/controller/gstcontroller.h:
1073 fix ABI size-correction
1075 * tests/check/libs/gdp.c: (gst_dp_suite):
1076 make tests that use deprecated API conditional
1078 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1080 * docs/libs/gstreamer-libs-sections.txt:
1081 * libs/gst/controller/gstcontroller.c:
1082 (_gst_controller_get_property), (_gst_controller_set_property),
1083 (_gst_controller_init), (_gst_controller_class_init):
1084 * libs/gst/controller/gstcontroller.h:
1085 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1086 (gst_object_set_control_rate):
1087 API: add gst_object_{s,g}et_control_rate(), add private data section,
1090 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1091 * libs/gst/dataprotocol/dataprotocol.h:
1092 add deprecation guards to make gtk-doc happy and allow disabling cruft
1094 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1096 * tests/check/Makefile.am:
1097 * tests/check/gst/.cvsignore:
1098 Let's enable the new unit test as well.
1100 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1103 * docs/gst/gstreamer-sections.txt:
1104 * gst/gstconfig.h.in:
1105 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1106 (_gst_info_printf_extension_ptr),
1107 (_gst_info_printf_extension_segment):
1108 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1109 register that lets us easily dump GstSegments into debug
1112 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1113 (info_segment_format_printf_extension), (gst_info_suite):
1114 Add simple unit test that logs a bunch of different segments (not
1115 valgrinded at the moment because of leaks in
1116 gst_debug_add_log_function).
1118 2006-08-09 Edward Hervey <edward@fluendo.com>
1120 * libs/gst/base/gstbasetransform.c:
1121 (gst_base_transform_buffer_alloc):
1122 Even if we can't figure out the proper format to request downstream,
1123 call buffer_alloc() downstream with the input parameters without setting
1124 the caps on the srcpad. This will force negotiation in the chain
1128 2006-08-08 Edward Hervey <edward@fluendo.com>
1130 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1131 Unlinking from a pad without a target is now a perfectly valid case
1132 which should NOT raise an assertion.
1133 This case would happen if a linked ghostpad its target set to NULL after
1134 it was previously linked.
1136 2006-08-08 Edward Hervey <edward@fluendo.com>
1138 * tests/check/libs/gdp.c:
1139 Also comment out the test (see below).
1141 2006-08-08 Edward Hervey <edward@fluendo.com>
1143 * tests/check/libs/gdp.c: (gst_dp_suite):
1144 Use the architecture information from config.h and not gcc macros
1145 in order to properly disable a test that fails on PPC64.
1147 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1149 * gst/gstelement.c: (gst_element_remove_pad):
1150 Don't crash printing the warning if the pad has no parent.
1152 2006-08-02 Wim Taymans <wim@fluendo.com>
1154 * libs/gst/dataprotocol/dataprotocol.c:
1155 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1156 (gst_dp_crc), (gst_dp_header_payload_length),
1157 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1158 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1159 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1160 (gst_dp_event_from_packet), (gst_dp_validate_header),
1161 (gst_dp_validate_payload):
1162 Make debug category static
1163 Constify the crc table.
1164 Do some more arg checking in public functions.
1165 Fix some docs and do some small cleanups.
1167 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1168 Add some more checks to see if GDP deals with bogus input.
1170 2006-07-31 Wim Taymans <wim@fluendo.com>
1172 * gst/gstvalue.c: (gst_value_compare_list):
1173 Fix GstValueList comparison code. Fixes #347293.
1175 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1176 Check to test GstValueList comparison.
1178 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1180 * gst/gstelementfactory.c: (gst_element_factory_create):
1181 Remove unnecessary ref/unref pair
1183 * gst/parse/grammar.y:
1184 Make sure to free the parse buffer on all code paths.
1185 Move a g_free up to the error handler where it's easier to see.
1187 * tests/check/gst/gstevent.c: (test_event):
1188 Extending timeout for downstream travelling events to 10 seconds to
1189 hopefully avoid intermittent failure on the buildbots.
1191 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1192 Don't manually set the state of the src element - it will happen as a
1193 natural consequence of the pipeline changing state, and that way it
1194 will do it in the right order too.
1196 2006-07-31 Wim Taymans <wim@fluendo.com>
1198 * libs/gst/base/gstbasetransform.c:
1199 (gst_base_transform_buffer_alloc):
1200 Use OBJECT_LOCK and refcounting to get the pad caps in the
1201 buffer_alloc function because the caps could change while we are
1202 busy with them. Fixes #349105
1204 2006-07-31 Wim Taymans <wim@fluendo.com>
1206 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1207 Protect _PAD_CAPS with OBJECT_LOCK.
1209 2006-07-31 Wim Taymans <wim@fluendo.com>
1211 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1212 (gst_pad_get_property), (gst_pad_activate_pull),
1213 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1214 (gst_pad_set_activate_function),
1215 (gst_pad_set_activatepull_function),
1216 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1217 (gst_pad_set_getrange_function),
1218 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1219 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1220 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1221 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1222 (gst_pad_set_acceptcaps_function),
1223 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1224 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1225 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1226 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1227 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1228 (gst_pad_configure_sink), (gst_pad_configure_src),
1229 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1230 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1231 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1232 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1233 (gst_pad_send_event):
1234 Use _DEBUG_OBJECT when it makes sense.
1235 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1236 Small cleanups and code reflows.
1237 Avoid caps refcounting in _accept_caps.
1238 Refactor alloc_buffer so that the code performed on the peer is in a
1239 separate function. Also if the pad does not implement a buffer alloc
1240 function, we should still check if the pad is flushing before falling
1241 back to the default allocator.
1243 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1245 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1246 Make all uses of identity and fakesink have silent=true to avoid
1247 serialising every passing data structure, which is breaking tests
1248 on FC4 for some unknown reason.
1250 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1252 * gst/parse/Makefile.am:
1253 * gst/parse/grammar.y:
1254 * gst/parse/parse.l:
1255 Reverted previous patch as it required to bump the flex dependency to
1256 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1258 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1260 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1262 * gst/parse/Makefile.am:
1263 * gst/parse/grammar.y:
1264 * gst/parse/parse.l:
1265 push & pop the state of the lexer for reentrant use case
1268 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1270 * libs/gst/base/gstbasesrc.h:
1271 Note in the docs that the ::newsegment vfunc is not actually used by
1274 2006-07-28 Wim Taymans <wim@fluendo.com>
1276 * libs/gst/base/gstcollectpads.c:
1277 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1278 (gst_collect_pads_clear), (gst_collect_pads_flush),
1279 (gst_collect_pads_event), (gst_collect_pads_chain):
1280 When flushing a pad, also clear the queued buffer so that we don't
1281 accidentally use it when we shouldn't.
1282 Fix leaks by inreffing incomming buffer.
1283 Flush out queued buffers in case of errors.
1286 2006-07-28 Wim Taymans <wim@fluendo.com>
1288 * docs/random/phonon-gst:
1289 Random notes about a Phonon backend.
1291 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1293 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1295 * tests/check/libs/gdp.c: (gst_dp_suite):
1296 Take a whack at fixing the ppc compile using a different define to
1297 disable the broken test.
1299 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1300 Remove excess g_print()
1302 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1304 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1305 Oops, meant to uncomment this line too to dampen the noise a bit.
1307 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1309 * gst/parse/grammar.y:
1310 * gst/parse/parse.l:
1311 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1312 (GST_START_TEST), (parse_suite):
1313 Fix some of the leaks exposed by extending the parse-launch testsuite,
1314 and move the 3 I can't figure out into a separate test that won't run
1315 the pipelines unless the appropriate line is uncommented.
1317 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1319 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1320 Requesting 0 bytes before the end of the file should result in
1321 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1324 2006-07-27 Wim Taymans <wim@fluendo.com>
1326 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1327 Fix useless assert, a uint is always positive.
1329 * gst/gststructure.c: (gst_structure_nth_field_name),
1330 (gst_structure_foreach), (gst_structure_map_in_place):
1331 Check input arguments for public functions to avoid obvious crashes.
1333 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1334 * plugins/elements/gstfakesink.h:
1335 Do less useless typechecking.
1337 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1339 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1340 Do not use mmap() by default since there are a number of error
1341 conditions that we would like to handle in a non-fatal way that
1342 will result in a SIGBUS if we use mmap(). Examples: external
1343 devices (USB harddrive, portable music player) being unplugged
1344 while in use; file on mounted CD/DVD that can't be read because
1345 the medium is partly damaged. Fixes #348455 and #348475.
1347 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1350 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1353 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1355 * gst/gstregistry.c:
1356 Move big documentation comment into class section header, so that it
1357 appears in the API docs.
1359 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1361 * docs/gst/gstreamer-sections.txt:
1362 Oops. Commit the docs additions too for new API.
1363 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1365 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1367 * gst/gststructure.c: (gst_structure_id_set),
1368 (gst_structure_id_set_valist):
1369 * gst/gststructure.h:
1370 Add API for setting values into structures without performing
1371 a quark lookup, if the appropriate quark is already known.
1373 API: gst_structure_id_set
1374 API: gst_structure_id_set_valist
1376 * gst/parse/grammar.y:
1377 * gst/parse/parse.l:
1378 Remove some dead code shown by the coverage information.
1379 Don't throw a critical g_warning when encountering a syntax error,
1380 just warn and let the normal error path handle it.
1382 * plugins/elements/gstelements.c:
1383 Bump the rank of filesink up to PRIMARY so that it is preferred over
1384 gnomevfssink for file:// sink uri's
1386 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1387 (GST_START_TEST), (run_delayed_test),
1388 (gst_parse_test_element_base_init),
1389 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1390 (gst_parse_test_element_change_state),
1391 (gst_register_parse_element), (parse_suite):
1392 Beef up the tests for parse syntax to check that more error cases
1393 fail as they are supposed to. Increases the test coverage a bit.
1395 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1397 * docs/manual/basics-elements.xml:
1398 Fix gst_element_link() example.
1401 Mention in API docs that one should usually gst_bin_add()
1402 elements to a bin or pipeline before doing the linking.
1404 2006-07-26 Wim Taymans <wim@fluendo.com>
1406 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1407 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1408 Avoid function call for known types by keeping the buffer and
1409 subbuffer GType global.
1411 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1412 Random silly optimisations in read() path.
1414 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1416 * tools/gst-launch.c: (main):
1417 If the top-level of the parse is a normal bin, it doesn't do the
1418 right logic to run as a top-level element, so place it inside a
1421 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1423 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1424 Remove superfluous g_object_notify() calls, GObject does
1425 that for us automatically.
1427 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1430 on Win32, use dllspec to export the debug category symbols
1432 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1434 * gst/gsttaglist.c: (_gst_tag_initialize):
1435 Allow more than one GST_TAG_IMAGE per taglist.
1437 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1439 * gst/gstminiobject.c:
1441 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1442 (gst_fd_src_create):
1443 log recurring events at LOG level
1444 add more debug for when the fd gets set
1446 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1448 * gst/gstparse.c: (gst_parse_launch):
1449 Also remove reentrance checks if flex is MT safe (#348179)
1450 Fix my empty ChangeLog entry below
1452 2006-07-21 Andy Wingo <wingo@pobox.com>
1454 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1456 * libs/gst/check/Makefile.am
1457 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1458 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1459 * libs/gst/check/gstbufferstraw.h:
1460 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1461 functions, thus proving I am still a GStreamer haxor. OK I wrote
1462 them a long time ago, but anyways.
1464 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1467 * gst/gstparse.c: (gst_parse_launch):
1468 Check for flex version and omit mutex if we have a MT save flex
1471 2006-07-21 Wim Taymans <wim@fluendo.com>
1473 * gst/gstparse.c: (gst_parse_launch):
1474 Protect recursive calls to _parse with a recursive mutex
1477 2006-07-21 Wim Taymans <wim@fluendo.com>
1479 * tests/check/gst/gstpad.c: (GST_START_TEST):
1482 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1484 * gst/gstparse.c: (gst_parse_launch):
1485 Do not hang on recursive usage of gst_parse_launch()
1487 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1490 Add some more docs, comments and FIXME 0.11s here and there
1491 and also fix some typos.
1493 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1496 Convert tabs to spaces for better readability.
1498 2006-07-20 Edward Hervey <edward@fluendo.com>
1500 * tests/check/libs/gdp.c: (gst_dp_suite):
1501 the test_buffer test fails at line 140 on ppc64 at the following
1503 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1504 GST_BUFFER_FLAG_IN_CAPS),
1505 "GST_BUFFER_IN_CAPS flag should have been copied !");
1506 See bug #348114 for more details.
1508 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1510 * docs/pwg/advanced-scheduling.xml:
1512 Fix typos (#348000).
1514 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1516 * docs/pwg/intro-basics.xml:
1517 Fix wrong links (#347927).
1519 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1521 * gst/gstregistry.h:
1522 * gst/gstregistryxml.c: (load_feature),
1523 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1524 * win32/common/config.h:
1525 make --disable-index work (#342564)
1527 2006-07-18 Wim Taymans <wim@fluendo.com>
1529 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1533 The attached patch adds two missing defines to gsttrace.h when tracing
1534 is disabled. It also corrects one existing define.
1537 2006-07-17 Wim Taymans <wim@fluendo.com>
1539 * docs/gst/gstreamer-sections.txt:
1540 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1542 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1543 Add two functions to check and change the SIGSEGV behaviour
1544 when loading plugins.
1545 Don't mess with the SIGSEGV handler when we were told not to.
1547 API: gst_segtrap_is_enabled
1548 API: gst_segtrap_set_enabled
1550 2006-07-14 Wim Taymans <wim@fluendo.com>
1552 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1553 * tests/check/elements/filesrc.c: (GST_START_TEST):
1554 Revert fix for regression in #347408 after release.
1556 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1558 Patch by: Antoine Tremblay <hexa00 at gmail com>
1560 * gst/gstutils.c: (gst_element_unlink):
1561 Free iterator when done (#347311).
1563 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1564 And add a test case for this.
1566 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1569 Bump nano back to CVS
1571 === release 0.10.9 ===
1573 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1576 releasing 0.10.9, "On the road again"
1578 2006-07-13 Wim Taymans <wim@fluendo.com>
1580 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1581 * tests/check/elements/filesrc.c: (GST_START_TEST):
1582 Revert pull-0 fix for release. Disable check. Fixes #347408.
1584 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1586 * libs/gst/dataprotocol/dataprotocol.c:
1587 (gst_dp_event_from_packet_1_0):
1588 Fixes #347337: failure to deserialize event packets with
1589 empty payload (only event type)
1591 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1594 do not install a .c file in the header directory
1596 2006-07-13 Edward Hervey <edward@fluendo.com>
1598 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1599 GhostPad no longer implicitely use the padtemplates of the targets.
1602 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1604 * gst/gstvalue.c: (gst_value_compare_list),
1605 (gst_value_compare_array), (_gst_value_initialize):
1606 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1607 Make GstValueArray comparison be order dependent as designed.
1608 Add checks for value lists and value array comparisons.
1611 2006-07-11 Edward Hervey <edward@fluendo.com>
1613 * gst/gstbin.c: (activate_pads),
1614 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1615 (gst_bin_change_state_func):
1616 (de)activate src pads before calling state_change on the childs.
1617 This is to avoid the case where a src ghostpad is blocked (holding the
1618 stream lock), which would block the deactivation of the ghostpad's
1620 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1621 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1622 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1623 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1624 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1625 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1626 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1627 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1628 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1629 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1630 (gst_ghost_pad_class_init),
1631 (gst_ghost_pad_internal_do_activate_push),
1632 (gst_ghost_pad_internal_do_activate_pull),
1633 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1634 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1635 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1636 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1637 GhostPads now create their internal GstProxyPad at creation (and not
1638 when they're linked, as it was being done previously).
1639 The internal and target pads are linked straight away.
1640 The data will also travel through the other pad in order to make
1641 pad blocking and probes non-hackish (the probe/block now really happens
1642 on the GhostPad and not on the target).
1643 * gst/gstpad.c: (gst_pad_set_blocked_async),
1644 (gst_pad_link_prepare), (gst_pad_push_event):
1645 Remove previous ghostpad cruft.
1646 * gst/gstutils.c: (gst_pad_add_data_probe),
1647 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1648 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1649 (gst_pad_remove_buffer_probe):
1650 Remove previous ghost pad cruft.
1651 Added more detailed debug statements.
1652 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1653 Fix the testsuite for refcounting changes.
1654 The comments about who has references were correct, but the refcount
1655 being checked wasn't the same (!?!).
1659 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1661 * docs/gst/gstreamer-sections.txt:
1662 * gst/gstconfig.h.in:
1663 More docs for configuration options, add docs to gtk-doc.
1665 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1668 * gst/gstconfig.h.in:
1669 * win32/common/config.h:
1670 Fix build when disabling tracing (fixes #344016). Also start to document
1671 the defines that disable the sub-systems.
1673 2006-07-10 Edward Hervey <edward@fluendo.com>
1675 * gst/gst.c: (ensure_current_registry_forking):
1676 let's make valgrind happy...
1678 2006-07-09 Wim Taymans <wim@fluendo.com>
1680 * gst/gstelement.c: (activate_pads),
1681 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1682 Better pad activation code: Reset the collect value too on resync.
1685 2006-07-09 Wim Taymans <wim@fluendo.com>
1687 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1688 (gst_pad_activate_push):
1689 Use some more macros where it makes sense.
1690 Allow pad mode switching instead of asserting. When a pad
1691 is activated in one mode and we activate it in another,
1692 deactivate it first before activating it in a different mode.
1695 2006-07-08 Andy Wingo <wingo@pobox.com>
1697 * tools/gst-launch.c (main): Handle err == NULL.
1699 * gst/gst.c (init_post, ensure_current_registry)
1700 (ensure_current_registry_forking)
1701 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1702 factoring out the registry scanning into separate functions. Don't
1703 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1704 Better environment var name/interface suggestions accepted.
1706 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1708 * gst/gstobject.c: (gst_object_set_name_default),
1709 (gst_object_set_name):
1710 Random micro-optimisation: don't use a hash table
1711 with strings as keys and the usual strdup/strcmp
1712 involved, but rather just use the GQuark of the
1713 type name as key, since it needs to be looked up
1714 anyway to get the type name string.
1716 * tests/check/gst/gstobject.c: (GST_START_TEST):
1719 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1721 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1722 (gst_bin_iterate_all_by_interface):
1723 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1724 GTypes are gulongs and thus the top 4 bytes might be cut
1725 off on some platforms when doing GPOINTER_TO_INT, leading
1726 to invalid GTypes and bad things happening (see RH bug #179654).
1727 Also add a check to make sure the type passed in is really
1730 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1735 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1739 * gst-element-check.m4:
1740 * gst-element-check.m4.in:
1741 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
1742 instead of the unversioned gst-inspect (#324176, #168659).
1744 2006-07-06 Wim Taymans <wim@fluendo.com>
1747 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
1750 2006-07-06 Wim Taymans <wim@fluendo.com>
1752 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1753 (gst_base_src_wait), (gst_base_src_update_length),
1754 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
1755 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
1756 (gst_base_src_loop), (gst_base_src_start),
1757 (gst_base_src_activate_pull):
1759 blocksize == 0 now means the default blocksize when working in push
1761 Remove some pointless asserts in _wait function.
1762 Fix offset/length calculations and EOS handling. We can now pull 0
1763 bytes as well, which is allowed.
1764 use _check_get_range() to decide if we can operate in _pull based
1766 Fix refcounting leak when check_get_range function was not
1768 API GstBaseSrc::blocksize range can be 0 too now (default)
1770 * tests/check/elements/filesrc.c: (GST_START_TEST),
1772 Added check to test _get_range() behaviour.
1774 2006-07-06 Wim Taymans <wim@fluendo.com>
1776 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
1777 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
1778 (gst_pad_pull_range):
1780 Lots of comments and docs added to the pad functions.
1781 Flesh out the expected behaviour of the get_range() functions.
1783 2006-07-06 Wim Taymans <wim@fluendo.com>
1788 * gst/gstiterator.h:
1792 Remove comma at end of enumerator list.
1794 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
1796 * win32/common/libgstbase.def:
1797 * win32/common/libgstdataprotocol.def:
1798 * win32/common/libsgtreamer.def:
1799 Add new exported functions.
1801 2006-07-05 Wim Taymans <wim@fluendo.com>
1803 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
1804 Add some more docs here and there.
1806 2006-07-05 Wim Taymans <wim@fluendo.com>
1808 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
1809 (gst_base_sink_loop), (gst_base_sink_get_position):
1810 When operating in pull mode update the offset so that we
1813 2006-07-05 Wim Taymans <wim@fluendo.com>
1815 * gst/gstregistryxml.c: (read_string):
1816 Avoid strdup. (will happen in libxml, but hey!)
1821 2006-07-05 Wim Taymans <wim@fluendo.com>
1823 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
1824 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
1826 No point in checking if the size of the subbuffer > 0, the
1827 code handles it correclty as demonstrated by unit test.
1828 Also add a unit test for the zero sized _new_and_alloc and
1829 _copy. Fixes #346663.
1831 2006-07-05 Wim Taymans <wim@fluendo.com>
1833 * libs/gst/base/gstbasetransform.c:
1834 (gst_base_transform_prepare_output_buffer),
1835 (gst_base_transform_buffer_alloc),
1836 (gst_base_transform_handle_buffer):
1837 Make sure the buffer we pass to transform_ip has a refcount of
1838 1 and thus is writable. Fixes #343196
1840 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
1842 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
1843 (gst_file_src_init), (gst_file_src_set_property),
1844 (gst_file_src_get_property), (gst_file_src_map_region):
1845 * plugins/elements/gstfilesrc.h:
1846 Add "sequential" property, off by default, to use madvise and hint
1847 to the kernel that sequential access is desired.
1848 Touch all retrieved pages by default to ensure they are pulled
1849 into memory. (Closes #345720)
1851 2006-07-03 Wim Taymans <wim@fluendo.com>
1853 * docs/design/part-block.txt:
1854 * docs/design/part-dynamic.txt:
1857 2006-07-03 Wim Taymans <wim@fluendo.com>
1859 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
1860 (gst_caps_unref), (gst_static_caps_get),
1861 (gst_caps_append_structure):
1862 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1863 Use GSlice when the glib we build against is >= 2.10
1865 2006-07-03 Wim Taymans <wim@fluendo.com>
1867 * gst/gstelement.c: (gst_element_pads_activate):
1868 Small cleanup in pad activation code.
1870 2006-07-03 Wim Taymans <wim@fluendo.com>
1872 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1874 * gst/gst-i18n-app.h:
1875 * gst/gst-i18n-lib.h:
1876 * tools/gst-inspect.c: (print_signal_info):
1877 The attached patch will make the inclusion of gettext.h unconditional in
1878 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
1879 libintl.h in tools/gst-inspect.c.
1880 This allows use of --disable-nls again and fixes #344642.
1882 2006-07-03 Edward Hervey <edward@fluendo.com>
1884 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
1885 Implement pad blocking on events according to part-block.txt.
1886 More comments on behaviour.
1887 * tests/check/gst/gstevent.c: (test_event):
1888 Send event to peer pad of blocked pad (else it will block).
1890 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1892 * libs/gst/check/gstcheck.c: (gst_check_message_error),
1893 (gst_check_run_suite):
1894 if we get the wrong message, give us the types as string
1895 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
1897 * tests/check/elements/filesrc.c: (GST_START_TEST):
1898 add a test for trying to open a non-existing file
1900 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1902 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1903 add a test for adding self
1905 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
1907 * libs/gst/check/gstcheck.h:
1908 add some assert_ as alias for fail_unless_*
1909 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
1910 increase test coverage
1912 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1915 include lcov.mak for lcov coverage generation
1916 * tools/Makefile.am:
1919 2006-07-02 Edward Hervey <edward@fluendo.com>
1921 * tests/check/elements/.cvsignore:
1924 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1927 don't set CFLAGS and friends for gcov, done from GST_GCOV now
1928 * tests/check/Makefile.am:
1931 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1933 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
1934 remove gst_caps_simplify; it was not declared and not used
1935 and deprecated in 0.8
1937 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1939 * docs/faq/gst-uninstalled:
1940 don't put empty paths on PYTHONPATH
1941 * docs/gst/gstreamer-sections.txt:
1942 remove some symbols that are not there
1944 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1946 * gst/gstcaps.c: (gst_caps_compare_structures):
1948 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1949 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1952 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1954 * libs/gst/dataprotocol/Makefile.am:
1955 build dataprotocol test by linking to the lib, instead of
1956 compiling the source, so we get coverage
1957 * tests/check/Makefile.am:
1958 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
1959 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
1960 add a test for filesrc
1962 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1964 * tests/check/gst/gststructure.c: (GST_START_TEST),
1965 (gst_structure_suite):
1966 Push coverage from 59.04% to 70.00%
1968 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1970 * tests/check/Makefile.am:
1971 gst-inspect every element; this makes sure that we also get
1972 coverage on element's get/set functions
1974 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
1977 set CFLAGS and friends to -O0 if gcov is being used
1980 * libs/gst/base/Makefile.am:
1981 * libs/gst/check/Makefile.am:
1982 * libs/gst/controller/Makefile.am:
1983 * libs/gst/dataprotocol/Makefile.am:
1984 * libs/gst/net/Makefile.am:
1985 * plugins/elements/Makefile.am:
1986 * plugins/indexers/Makefile.am:
1987 add makefile rules to generate gcov data and clean up
1988 * tests/check/Makefile.am:
1989 add a coverage target that generates an html overview
1992 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
1994 * tests/check/elements/fakesink.c:
1995 * tests/check/elements/fakesrc.c:
1996 * tests/check/elements/fdsrc.c:
1997 * tests/check/elements/identity.c:
1998 * tests/check/generic/sinks.c: (gst_sinks_suite):
1999 * tests/check/generic/states.c:
2000 * tests/check/gst/gst.c:
2001 * tests/check/gst/gstabi.c:
2002 * tests/check/gst/gstbin.c:
2003 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2004 * tests/check/gst/gstbus.c: (gst_bus_suite):
2005 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2006 * tests/check/gst/gstelement.c:
2007 * tests/check/gst/gstevent.c: (gst_event_suite):
2008 * tests/check/gst/gstghostpad.c:
2009 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2010 * tests/check/gst/gstmessage.c: (gst_message_suite):
2011 * tests/check/gst/gstminiobject.c:
2012 * tests/check/gst/gstobject.c:
2013 * tests/check/gst/gstpad.c:
2014 * tests/check/gst/gstpipeline.c:
2015 * tests/check/gst/gstplugin.c:
2016 * tests/check/gst/gstquery.c: (gst_query_suite):
2017 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2018 * tests/check/gst/gststructure.c:
2019 * tests/check/gst/gstsystemclock.c:
2020 * tests/check/gst/gsttag.c:
2021 * tests/check/gst/gsttask.c: (gst_task_suite):
2022 * tests/check/gst/gstutils.c:
2023 * tests/check/gst/gstvalue.c:
2024 * tests/check/libs/adapter.c:
2025 * tests/check/libs/basesrc.c:
2026 * tests/check/libs/collectpads.c:
2027 * tests/check/libs/controller.c:
2028 * tests/check/libs/gdp.c: (gst_dp_suite):
2029 * tests/check/libs/gstnetclientclock.c:
2030 * tests/check/libs/gstnettimeprovider.c:
2031 * tests/check/libs/libsabi.c: (libsabi_suite):
2032 * tests/check/libs/typefindhelper.c:
2033 * tests/check/pipelines/cleanup.c:
2034 * tests/check/pipelines/parse-launch.c:
2035 * tests/check/pipelines/simple-launch-lines.c:
2036 * tests/check/pipelines/stress.c: (stress_suite):
2039 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2041 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2042 * libs/gst/check/gstcheck.h:
2043 create a macro and function so that the simple unit test
2044 case can be just one macro to create main()
2046 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2048 * gst/gstbin.c: (gst_bin_restore_thyself):
2049 * gst/gstxml.c: (gst_xml_make_element):
2050 Fix deserialisation from XML. Set parent manually
2051 instead of using gst_bin_add(), since gst_bin_add()
2052 will unlink all pads of the element being added.
2055 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2057 Patch by: Peter Kjellerstedt <pkj at axis com>
2059 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2060 Fix missing g_strdup() and double free when using the
2061 --gst-plugin-load command line option (#346097).
2063 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2066 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2068 * libs/gst/net/gstnetclientclock.c:
2069 * libs/gst/net/gstnettimeprovider.c:
2070 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2072 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2074 * docs/manual/advanced-dataaccess.xml:
2075 Fix buffer probe example compilation in
2078 2006-06-22 Edward Hervey <edward@fluendo.com>
2080 * gst/gstelement.c: (gst_element_pads_activate):
2081 We need to deactivate src pads first and then sink pads.
2082 The reason is the src pads might be blocking while holding the streaming
2083 lock, so we need to deactivate them first so that deactivating the sink
2084 pads doesn't block (since it will require the streaming lock).
2086 2006-06-22 Wim Taymans <wim@fluendo.com>
2088 * libs/gst/base/gstbasetransform.c:
2089 (gst_base_transform_buffer_alloc):
2090 Forgot to remove two unneeded unrefs.
2091 Simplify a check _is_equal allready checks the obvious case.
2093 2006-06-22 Wim Taymans <wim@fluendo.com>
2095 * docs/design/part-block.txt:
2096 Some docs about what pad_block should do.
2098 2006-06-22 Wim Taymans <wim@fluendo.com>
2100 * gst/gstcaps.c: (gst_caps_replace):
2101 Fix crasher when passed NULL. Doc clarification.
2102 Optimize for the trivial case.
2104 * gst/gstpipeline.c: (gst_pipeline_change_state):
2107 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2108 Small documentation cleanup.
2110 * libs/gst/base/gstbasetransform.c:
2111 (gst_base_transform_buffer_alloc):
2112 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2113 is what we need and it avoids a whole lot of redundant
2114 refcount operations.
2116 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2118 Patch by: Philip Jägenstedt <philip at lysator liu se>
2120 * docs/manual/advanced-dataaccess.xml:
2121 Fix 'Embedding static elements' section to use
2122 GST_PLUGIN_DEFINE_STATIC (#345607).
2124 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2126 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2127 Attempt to 'fix' spuriously failing test case: it seems like the
2128 timeout of half a second is simply too small when the system is under
2129 load otherwise, and the timeout doesn't really seem to serve any
2130 particular purpose here. Give the pipeline a few seconds to preroll
2131 first, and then give it another half a second to go from PAUSED to
2132 PLAYING and marshal the message into the main thread.
2134 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2136 * tools/gst-feedback-m.m:
2137 Don't only use unversioned tools, try versioned tools as well
2140 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2142 * gst/gstbus.c: (gst_bus_class_init):
2143 Fix some typos, make docs more explicit.
2145 2006-06-20 Wim Taymans <wim@fluendo.com>
2147 * tests/check/gst/gstghostpad.c: (block_callback),
2148 (GST_START_TEST), (gst_ghost_pad_suite):
2149 Added some more ghostpad tests, mainly blocking
2152 2006-06-16 Wim Taymans <wim@fluendo.com>
2154 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2155 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2156 (gst_file_sink_event), (gst_file_sink_render):
2157 * plugins/elements/gstfilesink.h:
2158 Check if we can seek in the file instead of assuming
2159 we always can. Post an error when we are asked to seek in a
2160 non-seekable file (like a fifo). Fixes #343312.
2163 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2165 * tools/gst-launch.1.in:
2166 Un-garble (fourcc) bit in filtered caps section.
2168 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2170 * docs/manual/advanced-autoplugging.xml:
2171 * docs/manual/basics-helloworld.xml:
2172 * docs/manual/highlevel-components.xml:
2173 Don't leak bus reference in sample code.
2175 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2178 Add default for new --enable-plugin-docs switch.
2181 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2185 Use new ENABLE_PLUGIN_DOCS conditional.
2187 2006-06-14 Wim Taymans <wim@fluendo.com>
2189 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2190 Make it clear with a FIXME and a real define what the #if 0
2191 previously disabled.
2193 2006-06-14 Wim Taymans <wim@fluendo.com>
2195 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2196 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2197 * libs/gst/base/gstbasetransform.c:
2198 (gst_base_transform_sink_eventfunc):
2199 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2200 Don't randomly and silently reset a segment when the format
2201 changes as this is a bug somewhere upstream. Fixes #330379.
2203 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2205 Patch by: Wouter Paesen <wouter at kangaroot net>
2207 * libs/gst/controller/gstcontroller.c:
2208 (gst_controlled_property_new):
2209 Fix controlling of float properties (#344849).
2211 * tests/check/libs/controller.c:
2212 (gst_test_mono_source_get_property),
2213 (gst_test_mono_source_set_property),
2214 (gst_test_mono_source_class_init), (GST_START_TEST):
2215 While we're at it, add some float stuff to unit test.
2217 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2220 * docs/images/gdp-header.svg:
2222 * docs/libs/Makefile.am:
2223 * docs/libs/gdp-header.png:
2224 * libs/gst/dataprotocol/dataprotocol.c:
2225 add it to the API docs
2226 * docs/manual/intro-motivation.xml:
2229 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2231 * gst/gst.c: (scan_and_update_registry), (init_post):
2232 If the fork()'ed child process can't write the updated registry cache
2233 file to disk for some reason, make it exit with a failure exit code,
2234 so that the parent can then re-scan the plugins itself and update the
2235 registry structures in memory and work with that (rather than failing
2236 when creating elements because seemingly no plugins are available).
2237 Refactor registry scanning code into separate function for this and
2238 also separate fork() and non-fork() code paths. Fixes #344748.
2240 2006-06-13 Wim Taymans <wim@fluendo.com>
2242 * docs/manual/advanced-dataaccess.xml:
2243 Fix wrong PluginDesc. Fixes #344755.
2245 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2247 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2248 Fix silly bug that prevented us from creating
2249 ~/.gstreamer-0.10 and writing the registry in one
2250 go (the first call to g_mkstemp() would overwrite the
2251 placeholder in the template string, so the second call
2252 to g_mkstemp() after creating the missing directory
2253 would then error out with 'invalid argument').
2255 2006-06-13 Edward Hervey <edward@fluendo.com>
2257 * gst/gst.c: (init_post):
2260 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2262 * gst/glib-compat-private.h:
2263 * gst/glib-compat.c:
2264 * gst/glib-compat.h:
2265 * gst/gstvalue.c: (gst_value_serialize_flags):
2266 remove GLib 2.6 compatibility code
2268 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2270 * gst/parse/Makefile.am:
2271 Fix build with 'make -j N' even more (#340016).
2273 2006-06-12 Wim Taymans <wim@fluendo.com>
2275 * docs/gst/gstreamer-sections.txt:
2278 2006-06-12 Wim Taymans <wim@fluendo.com>
2280 * gst/gstsegment.c: (gst_segment_set_duration),
2281 (gst_segment_set_last_stop), (gst_segment_set_seek),
2282 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2283 (gst_segment_to_running_time), (gst_segment_clip):
2284 Use G_UNLIKELY to help the compiler a bit.
2286 2006-06-12 Wim Taymans <wim@fluendo.com>
2288 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2290 * gst/gstevent.c: (gst_event_get_type):
2292 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2294 constify quark registration strings. Fixes #344115
2295 Avoid unneeded type checking is _pad_push() by internally
2296 calling gst_pad_chain_unchecked().
2298 2006-06-12 Wim Taymans <wim@fluendo.com>
2300 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2301 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2302 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2303 (gst_buffer_is_span_fast), (gst_buffer_span):
2304 Init _type for consistency.
2305 Use _FLAGS macro to avoid type check.
2306 Avoid unneeded type checks in subbufer code.
2308 2006-06-12 Wim Taymans <wim@fluendo.com>
2310 * gst/gst.c: (gst_debug_help):
2311 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2312 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2313 (gst_plugin_feature_list_free):
2314 * gst/gstregistry.c: (gst_registry_add_plugin),
2315 (gst_registry_add_feature), (gst_registry_plugin_filter),
2316 (gst_registry_feature_filter), (gst_registry_find_plugin),
2317 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2318 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2319 * gst/gstregistryxml.c: (load_feature),
2320 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2321 * gst/gstminiobject.c: (gst_mini_object_unref),
2322 (gst_mini_object_replace), (gst_value_mini_object_free),
2323 (gst_value_mini_object_copy):
2324 Use _CAST macros to avoid unneeded type checking.
2325 Added some more G_UNLIKELY.
2327 2006-06-12 Wim Taymans <wim@fluendo.com>
2330 Avoid unneeded type checking.
2331 API: GST_BUFFER_IS_DISCONT
2333 * gst/gstminiobject.h:
2334 Avoid type check in flag accessor.
2336 * gst/gstelementfactory.h:
2338 * gst/gstpluginfeature.h:
2340 API: GST_ELEMENT_FACTORY_CAST
2341 API: GST_PLUGIN_CAST
2342 API: GST_PLUGIN_FEATURE_CAST
2344 2006-06-12 Wim Taymans <wim@fluendo.com>
2346 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2348 Add G_UNLIKELY in type registration.
2349 Avoid type check in _ref/_unref since that is also
2352 2006-06-12 Wim Taymans <wim@fluendo.com>
2354 * gst/gsterror.c: (gst_g_error_get_type):
2355 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2356 (gst_static_pad_template_get_type):
2357 * gst/gsttaglist.c: (gst_tag_list_get_type):
2358 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2359 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2360 * gst/gsturi.c: (gst_uri_handler_get_type):
2361 * gst/gstvalue.c: (gst_date_get_type):
2362 * gst/gstxml.c: (gst_xml_get_type):
2363 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2364 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2365 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2366 Add G_UNLIKELY in type registration.
2368 2006-06-12 Wim Taymans <wim@fluendo.com>
2370 * tools/gst-inspect.c: (print_signal_info):
2371 Properly print enum values.
2373 2006-06-12 Wim Taymans <wim@fluendo.com>
2375 * gst/gstinfo.c: (gst_debug_set_active),
2376 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2378 Add some G_[UN]LIKELY.
2379 Maintain __gst_debug_min to avoid formatting the arguments of
2380 debug messages that will be dropped anyway to avoid a lot of
2381 overhead from the debugging system.
2383 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2387 add missing files containing translatable strings, tell intltool about
2390 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2392 * tests/check/libs/.cvsignore:
2393 add test-binary to ignore list
2395 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2397 * docs/libs/gstreamer-libs-docs.sgml:
2398 reorder (put dp into a chapter) and indent
2400 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2405 === release 0.10.8 ===
2407 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2410 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2412 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2414 * gst/gst.c: (init_post):
2415 move pid declaration to declaration block
2417 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2419 * gst/gst.c: (init_post):
2420 use _exit() instead of exit() in our forked child; this ensures
2421 that none of the registered exit handlers from whatever is using
2422 GStreamer get executed. This fixes gnome-mixer-applet failing
2423 to load, because ORBit would shut down.
2424 Spotted by: Edward Hervey <edward@fluendo.com>
2425 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2428 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2433 === release 0.10.7 ===
2435 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2438 releasing 0.10.7, "Soepeke, ik zie ou"
2440 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2463 * win32/common/config.h:
2466 2006-06-07 Wim Taymans <wim@fluendo.com>
2468 * gst/gstindex.c: (gst_index_gtype_resolver):
2469 * tools/gst-xmlinspect.c: (print_plugin_info):
2470 Fix leak spotted by coverity checker. Fixes #343827
2471 Fix another other leak found by paolo borelli.
2473 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2475 * libs/gst/dataprotocol/dataprotocol.c:
2476 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2477 (gst_dp_version_get_type), (gst_dp_init),
2478 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2479 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2480 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2481 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2482 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2483 (gst_dp_packetizer_free):
2484 * libs/gst/dataprotocol/dataprotocol.h:
2485 API: add a GstDPPacketizer object, and create/free functions
2486 API: add GstDPVersion enum
2487 Add 1.0 event function that uses the string serialization
2488 Serialize more useful buffer flags
2491 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2493 * tests/check/Makefile.am:
2494 * tests/check/gst/gstabi.c:
2495 * tests/check/gst/struct_ppc64.h:
2496 * tests/check/libs/libsabi.c:
2497 * tests/check/libs/struct_ppc64.h:
2498 add ppc64 structure sizes
2500 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2502 * tests/check/Makefile.am:
2503 * tests/check/gst/gstabi.c:
2504 * tests/check/gst/struct_x86_64.h:
2505 * tests/check/libs/libsabi.c:
2506 * tests/check/libs/struct_x86_64.h:
2507 generate and add structure size lists for x86_64
2509 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2511 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2512 * libs/gst/check/gstcheck.h:
2513 factor out the method from tests that checks size of structures,
2514 and add code to generate the header containing these sizes
2515 * tests/check/gst/gstabi.c: (GST_START_TEST):
2516 * tests/check/gst/struct_i386.h:
2517 * tests/check/libs/libsabi.c: (GST_START_TEST):
2518 * tests/check/libs/struct_i386.h:
2521 2006-06-06 Michael Smith <msmith@fluendo.com>
2524 Don't use c++-style comments, fixes #343929
2526 2006-06-05 Edward Hervey <edward@fluendo.com>
2529 plugin_paths is not used if we build without registry support.
2531 * gst/gstsegment.c: (gst_segment_copy):
2532 _copy() was always returning NULL...
2534 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2536 * libs/gst/dataprotocol/dataprotocol.c:
2537 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2538 (gst_dp_packet_from_event):
2541 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2543 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2544 make sure we unset caps
2546 2006-06-02 Michael Smith <msmith@fluendo.com>
2548 * libs/gst/check/gstcheck.c: (gst_check_init),
2549 (gst_check_chain_func):
2550 * libs/gst/check/gstcheck.h:
2551 Add a cond/mutex to the check support lib, signal this whenever we
2552 add to the buffers list. This will allow tests to not busy-wait on
2555 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2557 * libs/gst/dataprotocol/dataprotocol.c:
2558 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2559 (gst_dp_packet_from_event):
2560 factor out some common header init code
2562 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2564 * docs/libs/gstreamer-libs-sections.txt:
2565 * docs/libs/tmpl/gstdataprotocol.sgml:
2566 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2567 * libs/gst/dataprotocol/dataprotocol.h:
2568 API: make gst_dp_crc() public
2570 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2572 * plugins/indexers/gstindexers.c: (plugin_init):
2573 conditionally register fileindexer (fixes #343598)
2575 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2577 * gst/gsttagsetter.h:
2578 Can't cast ifaces to a class
2580 * libs/gst/net/gstnetclientclock.h:
2581 * libs/gst/net/gstnettimeprovider.h:
2582 * plugins/elements/gstfakesink.h:
2583 * plugins/elements/gstfakesrc.h:
2584 * plugins/elements/gstfdsink.h:
2585 * plugins/elements/gstfdsrc.h:
2586 * plugins/elements/gstfilesink.h:
2587 * plugins/elements/gstfilesrc.h:
2588 * plugins/elements/gstidentity.h:
2589 * plugins/elements/gstqueue.h:
2590 * plugins/elements/gsttee.h:
2591 * plugins/indexers/gstfileindex.c:
2592 * plugins/indexers/gstmemindex.c:
2593 * tests/old/examples/plugins/example.h:
2594 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2596 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2598 * libs/gst/dataprotocol/dataprotocol.c:
2599 (gst_dp_header_from_buffer):
2600 make sure we zero the whole ABI-compatible area
2602 2006-06-01 Wim Taymans <wim@fluendo.com>
2604 Patch by: Alessandro Decina <alessandro at nnva dot org>
2606 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2607 Make sure the EOS flag is cleared from pads after a flush
2608 or stop. Fixes #343538.
2610 * tests/check/libs/collectpads.c: (GST_START_TEST),
2611 (gst_collect_pads_suite):
2612 Added test for collectpads reusage after EOS.
2614 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2617 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2618 * win32/common/libgstbase.def:
2619 export gst_collect_pads_set_flushing
2620 * win32/common/libgstreamer.def:
2621 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2622 gst_value_fraction_multiply
2623 * win32/vs6/gst_inspect.dsp:
2624 add a link to intl.lib
2626 2006-05-30 Wim Taymans <wim@fluendo.com>
2628 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2629 (gst_collect_pads_chain):
2630 Handle the case where a pad is removed from the collection
2631 that could cause the other pads to become collectable.
2633 2006-05-30 Wim Taymans <wim@fluendo.com>
2636 Clarify the use of _release_request_pad() and
2637 _get_request_pad() a bit better.
2639 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2640 (gst_adapter_take_buffer):
2641 Fix some doc and comment typos.
2643 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2645 * docs/gst/gstreamer-sections.txt:
2646 * docs/libs/gstreamer-libs-sections.txt:
2647 add declared symbols
2649 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2651 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2652 Add debug that can be enabled using a #define at the top of the file,
2653 for dumping stats about how late/early we were when waking up from
2654 waiting on the clock.
2656 2006-05-30 Wim Taymans <wim@fluendo.com>
2658 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2659 When rebuilding the pad list, don't leak the previous list.
2661 2006-05-30 Wim Taymans <wim@fluendo.com>
2663 Patch by: Lutz Mueller <lutz at topfrose dot de>
2665 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2666 (gst_base_src_get_query_types), (gst_base_src_update_length):
2667 Publish supported query types.
2668 Update last_stop field in get_range mode so the position
2669 query works. Fixes #342321.
2671 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2673 * docs/gst/gstreamer-sections.txt:
2674 * gst/gsttaglist.c: (_gst_tag_initialize):
2676 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2678 2006-05-30 Wim Taymans <wim@fluendo.com>
2680 Patch by: Alessandro Decina <alessandro at nnva dot org>
2682 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2683 Unlock mutex when removing an unknown pad.
2686 * tests/check/Makefile.am:
2687 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2688 (push_event), (setup), (teardown), (GST_START_TEST),
2689 (gst_collect_pads_suite), (main):
2690 Added collecpads check, disabled for now as check crashes for
2693 2006-05-29 Wim Taymans <wim@fluendo.com>
2695 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2696 Don't leak pads lists.
2698 2006-05-29 Wim Taymans <wim@fluendo.com>
2700 * docs/libs/gstreamer-libs-sections.txt:
2701 * libs/gst/base/gstcollectpads.c:
2702 (gst_collect_pads_set_flushing_unlocked),
2703 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2704 (gst_collect_pads_stop):
2705 * libs/gst/base/gstcollectpads.h:
2706 API: gst_collect_pads_set_flushing()
2707 Added api to set the pads to flushing, useful for seeking
2708 code in elements using collectpads.
2709 Clear segment when receiving a flush.
2711 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2713 * gst/gst.c: (add_path_func), (init_post):
2714 Don't scan registry paths passed via --gst-plugin-path immediately
2715 (will crash, because absolutely nothing is set up and no types are
2716 registered etc.); do this later in init_post(). Fixes #343057.
2718 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2720 * gst/gst.c: (init_post):
2721 if we have fork, fork while reading/rebuilding the registry
2722 so the parent doesn't take the hit of having all plugins loaded
2723 in memory. Fixes #342777.
2725 Check if we have fork()
2726 * win32/common/config.h.in:
2729 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2731 * plugins/elements/gstelements.c:
2732 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2733 (gst_file_src_init), (gst_file_src_set_property),
2734 (gst_file_src_get_property), (gst_file_src_start):
2735 * plugins/elements/gstfilesrc.h:
2736 API: GstFileSrc::use-mmap
2738 Add a use-mmap property to enable easier testing of all code paths.
2739 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
2740 in the absence of gnomevfssrc. (Closes #340501)
2742 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
2744 * tools/gst-inspect.c:
2745 Add missing include, removes warning of ngettext not being defined on
2748 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
2750 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2751 Handle NULL input and output pointers silently as a failed conversion,
2752 rather than g_warnings.
2754 2006-05-25 Wim Taymans <wim@fluendo.com>
2756 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
2757 Initialize variable before using. Fixes #342820.
2759 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
2761 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
2762 Fix off-by-one bug that would only allow peeks of N-1 bytes
2763 from the start even if the buffer to typefind on contains
2764 in fact N bytes of data (makes vorbis typefinding from a
2765 vorbis identification header buffer work).
2767 * tests/check/Makefile.am:
2768 * tests/check/libs/.cvsignore:
2769 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
2770 (gst_typefindhelper_suite), (main), (foobar_typefind),
2772 Add very basic unit test for gst_type_find_helper_for_buffer()
2773 that checks for the problem fixed above.
2775 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
2777 * tools/gst-inspect.c: (print_interfaces),
2778 (print_element_properties_info), (print_element_list), (main):
2779 add more translatable strings
2781 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
2783 Patch by: Julien Moutte <julien at moutte net>
2785 * docs/gst/gstreamer-sections.txt:
2786 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
2788 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
2789 (gst_fake_sink_preroll):
2790 * plugins/elements/gstfakesink.h:
2791 API: Add new GstFakeSink::preroll-handoff signal (#337100).
2793 2006-05-23 Wim Taymans <wim@fluendo.com>
2795 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
2797 Added _CUSTOM error and success GstFlowReturn that can be
2798 used be elements internally.
2799 Added macro to check for SUCCESS flowreturns.
2800 API: GST_FLOW_CUSTOM_SUCCESS
2801 API: GST_FLOW_CUSTOM_ERROR
2802 API: GST_FLOW_IS_SUCCESS
2804 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2805 Added check for GstFlowReturn sanity.
2807 2006-05-23 Wim Taymans <wim@fluendo.com>
2809 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
2811 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2812 (gst_collect_pads_event):
2813 clear/reset segment info in FLUSH_STOP.
2816 2006-05-22 Stefan Kost <ensonic@users.sf.net>
2818 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
2819 (gst_collect_pads_check_collected):
2820 Flush queued buffer on _stop(), fixes playing again (#342454)
2822 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
2824 * tests/check/gst/gststructure.c: (GST_START_TEST),
2825 (gst_structure_suite):
2826 add a test for a complete structure
2828 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2830 * docs/faq/developing.xml:
2832 * docs/faq/troubleshooting.xml:
2833 * docs/faq/using.xml:
2834 Some minor FAQ updates that won't change the fact that
2835 our FAQ is badly structured, full of information hardly
2836 anyone new to GStreamer needs to know and lacking lots
2837 of information people constantly ask for.
2839 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
2841 * gst/gstpad.c: (gst_pad_set_caps):
2842 Short-circuit gst_pad_set_caps if setting the existing
2843 caps pointer again, and avoid printing debug and
2844 reffing/unreffing the caps.
2846 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2847 There's actually no need to set the caps before pushing -
2848 the acceptcaps method will handle it anyway.
2850 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
2852 * docs/gst/gstreamer-sections.txt:
2853 * win32/common/libgstreamer.def:
2854 * gst/gstutils.c: (gst_element_seek_simple):
2856 API: add gst_element_seek_simple() (#342238).
2858 2006-05-18 Edward Hervey <edward@fluendo.com>
2860 * gst/gsttypefind.c: (gst_type_find_get_type):
2861 * gst/gsttypefind.h:
2862 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
2863 registered for GstTypeFind pointers. This allows wrapping the structure
2864 in bindings (i.e. gst-python).
2866 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2868 * gst/gsttagsetter.c:
2869 Docs additions and fixes (see #339918).
2871 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
2873 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
2874 The caps intersection algorithm can produce multiple copies of the
2875 caps. Until that is fixed, we need to simplify the result to be
2876 sure whether the allowed caps are fixed or not.
2878 * plugins/elements/gstqueue.c: (gst_queue_init),
2879 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
2880 (gst_queue_push_one):
2881 Proxied buffer alloc should not set the caps on the source pad.
2882 When pushing buffers, we always accept the caps change that triggers.
2883 This prevents negotiation errors caused by caps changing mid-stream
2884 and then being refused on our source pad (because upstream is now
2885 refusing those caps).
2887 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
2889 * tests/examples/helloworld/helloworld.c: (main):
2890 Must plug audioconvert and audioresample between decoder
2893 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
2895 * gst/gstregistryxml.c: (read_string), (load_pad_template),
2896 (load_feature), (load_plugin):
2897 Allow empty strings for some of the plugin fields so we don't
2898 drop valid plugin entries that were written out correctly
2901 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
2903 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2904 Use g_remove and g_rename instead of remove and rename that don't
2905 handle utf8 characters. rename was failing for users who had specific
2906 characters in their name then the registry was built at each
2908 * win32/vs6/gst_inspect.dsp:
2909 * win32/vs6/gst_launch.dsp:
2910 * win32/vs6/libgstbase.dsp:
2911 * win32/vs6/libgstcoreelements.dsp:
2912 * win32/vs6/libgstreamer.dsp:
2913 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
2914 build of libgstreamer and clean unused libraries in projects link
2917 2006-05-17 Edward Hervey <edward@fluendo.com>
2919 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2920 The queue is not responsible for pushing an EOS when receiving a fatal
2921 flow error. It's up to the real element driving the pipeline to do that.
2923 2006-05-16 Edward Hervey <edward@fluendo.com>
2925 * plugins/elements/gstqueue.c: (gst_queue_push_one):
2926 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
2927 buffer returned a fatal error. It should just send an EOS and stop
2929 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
2930 when pushing buffers on the queue and will be able to handle the event.
2932 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
2934 * docs/manual/basics-bins.xml:
2935 * docs/manual/basics-init.xml:
2936 Fix typos and minor errors in sample code (#341856).
2938 2006-05-16 Wim Taymans <wim@fluendo.com>
2940 * docs/design/part-qos.txt:
2941 Fix indexes in formulas to make more sense.
2943 2006-05-15 Wim Taymans <wim@fluendo.com>
2945 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
2946 Don't report POSITION based on clock time if sync is
2949 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
2952 Add cast to make compiler happy - refcount variable was a gint
2953 in GstObject but is a guint in GObject and g_atomic_int_get()
2956 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
2958 * gst/parse/Makefile.am:
2959 chain commands using &&, which also makes parallel make work
2961 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
2963 * docs/gst/gstreamer-sections.txt:
2969 === release 0.10.6 ===
2971 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
2974 releasing 0.10.6, "Take the cannoli"
2976 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
2978 * tools/gst-launch.c: (print_tag):
2979 Fix use of uninitialized variable in the hypothetical
2980 case that some broken plugin creates a GST_TAG_IMAGE
2981 tag containing a NULL buffer (#341667).
2983 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
2985 * tools/gst-launch.c: (print_tag):
2986 Print something more intelligible for image tags when
2987 using the -t switch (#341556).
2989 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
2994 define GST_MAJORMINOR so we have it available in win32/common/config.h
2995 Possibly remove it from our Makefile.am files later
2996 * win32/common/config.h:
2997 * win32/common/config.h.in:
2998 added GST_MAJORMINOR
2999 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3000 * win32/common/gstversion.h:
3003 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3006 Update win32 files listing.
3007 * win32/common/gstversion.h:
3008 Add GST_MAJORMINOR definition.
3009 * win32/common/libgstreamer.def:
3010 Add new exported functions.
3012 2006-05-12 Michael Smith <msmith@fluendo.com>
3014 * gst/gstplugin.c: (gst_plugin_load_file):
3015 If an so file has no plugin entry point, unload the module.
3017 2006-05-11 Wim Taymans <wim@fluendo.com>
3019 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3020 (gst_queue_set_property):
3021 Don't forget to signal the _chain or _loop function
3022 when the queue size or thresholds change since that might
3023 cause them to make progres again.
3025 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3027 * gst/gstclock.c: (gst_clock_class_init):
3028 * gst/gstindex.c: (gst_index_class_init):
3029 * gst/gstobject.c: (gst_object_class_init):
3030 * gst/gstpad.c: (gst_pad_class_init):
3031 * gst/gstpipeline.c: (gst_pipeline_class_init):
3032 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3033 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3034 * libs/gst/base/gstbasetransform.c:
3035 (gst_base_transform_class_init):
3036 * libs/gst/net/gstnetclientclock.c:
3037 (gst_net_client_clock_class_init):
3038 * libs/gst/net/gstnettimeprovider.c:
3039 (gst_net_time_provider_class_init):
3040 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3041 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3042 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3043 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3044 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3045 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3046 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3047 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3048 * plugins/elements/gsttee.c: (gst_tee_class_init):
3049 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3050 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3051 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3053 2006-05-11 Wim Taymans <wim@fluendo.com>
3055 * gst/gstbuffer.c: (_gst_buffer_initialize):
3056 Register subbufer along with the buffer type so that
3057 it does not accidentally gets registered from N
3058 different streaming threads in a non threadsafe way.
3060 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3065 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3066 gst_event_ref() and gst_message_ref() functions again
3067 (ugly hack, please do fix if there's a better way besides
3068 overrides.txt, which doesn't seem to work).
3070 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3072 * libs/gst/check/gstcheck.h:
3073 add an assert for setting state to avoid lots of repetitive code
3076 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3078 * gst/gstvalue.c: (gst_value_serialize_flags):
3079 fix a leak if no flags are set
3080 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3083 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3085 * docs/manual/basics-pads.xml:
3086 Expand a bit on caps and filtered links and update
3087 examples that were still using the no longer existing
3088 gst_pad_link_filtered() (#338206).
3090 2006-05-10 Wim Taymans <wim@fluendo.com>
3092 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3093 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3094 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3095 (gst_collect_pads_stop):
3096 * libs/gst/base/gstcollectpads.h:
3097 No need to call _stop in _finalize.
3098 Iterate the main pad list in _finalize.
3099 Added some more debug.
3100 Free lists and data in the right order.
3101 Also free data whem doing _remove_pad when stopped for
3102 backward compatibility protect ::started with PAD_LOCK as
3105 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3107 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3108 (gst_structure_parse_value):
3110 rename a method so that it actually says what it does better
3112 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3114 * gst/gstevent.c: (_gst_event_initialize):
3115 * gst/gstformat.c: (_gst_format_initialize):
3116 make sure some essential types used by events are registered
3117 as part of gst_init()
3118 * gst/gstvalue.c: (gst_value_serialize_flags):
3119 if no flags are set, serialize them to a value that represents NONE
3120 so that deserializing them works
3121 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3122 add tests for serialization and deserialization of flags
3124 2006-05-10 Wim Taymans <wim@fluendo.com>
3126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3127 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3128 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3129 (gst_collect_pads_event), (gst_collect_pads_chain):
3132 Catch and return errors from the collect function
3133 Refuse data on eos pads.
3135 2006-05-10 Edward Hervey <edward@fluendo.com>
3137 * gst/gstinterface.h:
3138 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3139 GInterface type checking.
3140 They were previously using non-defined macros.
3142 2006-05-09 Wim Taymans <wim@fluendo.com>
3144 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3145 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3146 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3147 (gst_collect_pads_start), (gst_collect_pads_stop),
3148 (gst_collect_pads_peek), (gst_collect_pads_pop),
3149 (gst_collect_pads_available), (gst_collect_pads_read),
3150 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3151 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3152 (gst_collect_pads_chain):
3153 * libs/gst/base/gstcollectpads.h:
3154 Clean up the mess that is collectpads, add comments and
3155 FIXMEs where needed.
3156 Maintain a separate pad list so we can add pads while
3157 collecting the other ones. For this we need a new separate
3159 Fix memory leak in finalize.
3160 Refactor some weird code to set/unset pad flushing flags, mark
3162 Don't crash in _available, _read, _flush when we're EOS.
3164 * tests/check/libs/.cvsignore:
3165 Ignore adapter check binary.
3167 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3169 * gst/gstindex.c: (gst_index_resolver_get_type):
3170 * plugins/elements/gstfakesink.c:
3171 (gst_fake_sink_state_error_get_type):
3172 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3173 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3174 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3175 Const-ify GEnumValue arrays.
3177 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3179 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3180 Add test case for flags + gst_buffer_make_metadata_writable().
3182 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3184 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3185 gst_buffer_make_metadata_writable() should maintain the
3186 buffer flags (those that make sense at least) (see #340859).
3188 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3190 * tools/gst-inspect.c:
3191 * tools/gst-launch.c:
3192 * tools/gst-typefind.c:
3193 * tools/gst-xmlinspect.c:
3195 Fix up includes: need to include stdlib.h in tools.h for exit().
3197 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3199 * gst/gsttaglist.c: (_gst_tag_initialize):
3201 API: add GST_TAG_IMAGE tag (#340721).
3203 2006-05-08 Wim Taymans <wim@fluendo.com>
3206 Added some docs for the segment query.
3208 2006-05-08 Wim Taymans <wim@fluendo.com>
3210 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3211 (gst_base_src_loop), (gst_base_src_change_state):
3212 Always push non-flushing serialized events in the streaming
3215 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3217 * gst/gsterror.c: (_gst_stream_errors_init):
3218 Add a missing error string.
3220 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3222 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3223 Add applied_rate to the debug
3225 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3226 Copy applied_rate into the outgoing NEWSEGMENT event
3228 2006-05-08 Wim Taymans <wim@fluendo.com>
3230 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3232 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3233 (gst_base_sink_change_state):
3234 call ::unlock before taking the PREROLL_LOCK so we can safely
3235 handle elements that lock in ::render.
3238 2006-05-08 Edward Hervey <edward@fluendo.com>
3240 * autogen.sh: (CONFIGURE_DEF_OPT):
3241 Darwin's libtoolize is in fact called glibtoolize.
3242 Adding glibtoolize to the list of accepted names for libtoolize.
3244 2006-05-08 Wim Taymans <wim@fluendo.com>
3246 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3247 Unify error handling, don't post an error message
3248 when a push() returns EOS but perform our normal EOS
3249 handling code. Fixes #340772.
3251 2006-05-08 Wim Taymans <wim@fluendo.com>
3253 * docs/design/part-overview.txt:
3254 Make upsteam/downstream concepts more clear.
3255 Give an example of serialized/non-serialized events.
3257 * docs/design/part-events.txt:
3258 * docs/design/part-streams.txt:
3259 Mention applied_rate.
3261 * docs/design/part-trickmodes.txt:
3262 Mention applied rate, flesh out some more use cases.
3264 * gst/gstevent.c: (gst_event_new_new_segment),
3265 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3266 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3267 (gst_event_parse_tag), (gst_event_new_buffer_size),
3268 (gst_event_parse_buffer_size), (gst_event_new_qos),
3269 (gst_event_parse_qos), (gst_event_parse_seek),
3270 (gst_event_new_navigation):
3272 Add applied_rate field to NEWSEGMENT event.
3273 API: gst_event_new_new_segment_full()
3274 API: gst_event_parse_new_segment_full()
3276 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3277 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3278 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3280 Add applied_rate to GstSegment structure.
3281 Make calculation of stream_time and running_time more correct
3282 wrt rate/applied_rate.
3284 API: GstSegment::applied_rate field
3285 API: gst_segment_set_newsegment_full();
3287 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3288 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3289 * libs/gst/base/gstbasetransform.c:
3290 (gst_base_transform_sink_eventfunc),
3291 (gst_base_transform_handle_buffer):
3292 Parse and use applied_rate in the GstSegment field.
3294 * tests/check/gst/gstevent.c: (GST_START_TEST):
3295 Add check for applied_rate field.
3297 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3298 (gstsegments_suite):
3299 Add more checks for various GstSegment operations.
3301 2006-05-08 Wim Taymans <wim@fluendo.com>
3303 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3304 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3305 (gst_base_sink_get_position), (gst_base_sink_change_state):
3306 Store the sync time of the buffer end position separatly in a
3307 new variable eos_rtime so we can properly sync the EOS event.
3309 Fix the docs for gst_base_sink_set_qos_enabled().
3310 Don't set segment start to invalid value when we receive a
3311 non TIME newsegment.
3312 get closer to handling position reporting for negative rates
3315 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3318 Docs about how to print caps for debug purposes.
3320 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3321 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3323 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3326 use full enum names and preprend a '%' in docs strings to make recent
3327 gtk-doc turn that into a link
3329 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3331 * docs/manual/basics-bins.xml:
3332 * docs/manual/basics-bus.xml:
3333 * docs/manual/basics-pads.xml:
3334 Some typo fixes, some additions, some clarifications.
3336 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3338 * tools/gst-inspect.c: (main):
3339 * tools/gst-launch.c: (main):
3340 * tools/gst-run.c: (main):
3341 * tools/gst-typefind.c: (main):
3342 * tools/gst-xmlinspect.c: (main):
3343 Use the string passed to g_option_context_new() for
3344 what it's intended for - the program name is already
3347 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3349 * tools/Makefile.am:
3350 * tools/gst-inspect.c: (main):
3351 * tools/gst-launch.c: (main):
3352 * tools/gst-xmlinspect.c: (main):
3354 Add back --version command line option (#340460).
3356 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3357 Add --version option and use GOption for argument parsing; refactor a
3358 bit; accept directories as arguments and recurse into them; lastly,
3359 print a decent error message when things go wrong.
3361 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3363 * docs/manual/basics-bins.xml:
3364 Don't mention GstThread (#340611)
3365 * docs/manual/basics-elements.xml:
3366 Update link to GObject tutorial (#340607)
3368 2006-05-05 Wim Taymans <wim@fluendo.com>
3371 * gst/gstminiobject.c:
3372 Add note about refcounting and miniobject/buffer writeability
3373 to docs. Fixes #340604
3375 * gst/gstelementfactory.h:
3376 Added some explanation about @klass.
3378 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3380 * docs/manual/intro-motivation.xml:
3381 * docs/manual/manual.xml:
3382 Avoid CORBA & Bonobo references (#340598)
3384 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3386 * docs/manual/basics-bus.xml:
3387 * docs/manual/basics-pads.xml:
3388 Fix up some inaccuracies and omissions (#340609)
3390 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3392 * gst/gstghostpad.c:
3393 Small typo in docs (#340625)
3395 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3397 * gst/parse/Makefile.am:
3398 Make 'make -j' proof (see #340698).
3400 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3403 Require GLib-2.8 here as well.
3405 2006-05-05 Wim Taymans <wim@fluendo.com>
3407 * gst/glib-compat.c:
3408 * gst/gst.c: (init_pre):
3409 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3410 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3411 (gst_object_dispatch_properties_changed):
3413 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3414 * gst/gststructure.c: (gst_structure_set_valist):
3415 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3416 Remove pre glib2.8 compatibility, fixes #340508
3418 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3421 Mention type of tags in doc blurbs.
3423 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3425 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3426 (gst_pad_configure_src), (gst_pad_push):
3427 Restore acceptcaps checking behaviour now that good plugins have
3430 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3432 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3443 * gst/parse/Makefile.am:
3444 * libs/gst/base/gstadapter.c:
3445 * libs/gst/base/gstbasesrc.c:
3446 * libs/gst/base/gstpushsrc.c:
3447 * libs/gst/base/gsttypefindhelper.c:
3448 * plugins/elements/gstfakesrc.c:
3449 * plugins/elements/gstidentity.c:
3450 Make sure gstprivate.h and/or config.h are
3451 always included first, otherwise some of our
3452 defines (like _FILE_OFFSET_BITS) might be
3453 redefined in the system headers. Fixes build
3454 on opensolaris (#340016).
3456 2006-05-04 Wim Taymans <wim@fluendo.com>
3458 * docs/libs/gstreamer-libs-sections.txt:
3459 API: addition: gst_adapter_take_buffer()
3461 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3462 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3463 (gst_adapter_available_fast):
3464 * libs/gst/base/gstadapter.h:
3465 Prepare for optimizing the hell out of this hugely inefficient
3467 Added gst_adapter_take_buffer() so we can at least start thinking
3468 about subbuffering and merging.
3469 Added some comments.
3471 * tests/check/Makefile.am:
3472 * tests/check/libs/adapter.c: (GST_START_TEST),
3473 (gst_adapter_suite), (main):
3474 Added GstAdapter check.
3476 2006-05-04 Wim Taymans <wim@fluendo.com>
3478 * docs/design/part-overview.txt:
3479 Fix some typos, add blurb about buffer flags.
3481 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3483 * docs/libs/gstreamer-libs-sections.txt:
3484 make sure GstBaseTransformClass shows up in the docs
3485 * libs/gst/base/gstbasetransform.c:
3486 * libs/gst/base/gstbasetransform.h:
3487 move docs so gtk-doc picks it up now
3489 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3491 * docs/libs/gstreamer-libs-sections.txt:
3492 add missing symbols to docs
3494 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3496 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3497 back out the newsegment handling change, see #340060 for ongoing
3500 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3502 * tools/gst-run.c: (get_candidates), (main):
3503 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3504 work); fix typo in error message. Fixes #340079.
3506 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3508 * common/Makefile.am:
3510 * docs/faq/Makefile.am:
3511 * docs/gst/Makefile.am:
3512 * docs/libs/Makefile.am:
3513 * docs/manual/Makefile.am:
3514 * docs/plugins/Makefile.am:
3515 * docs/pwg/Makefile.am:
3516 * docs/slides/Makefile.am:
3518 * common/upload.mak:
3519 move upload.mak to common
3521 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3523 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3524 add more asserts on refcounts
3525 do more cleanup at end of tests
3526 fix test leaks showing in FC5
3528 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3530 * plugins/elements/gsttypefindelement.c:
3531 (gst_type_find_element_handle_event):
3532 reverted wrong change and reflowed code to avoid others falling into
3535 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3537 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3538 fix changelog entry about last collectpads change,
3539 add notes about proper fix
3541 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3544 * gst/gstregistry.c: (gst_registry_scan_path_level),
3545 (gst_registry_scan_path):
3546 * gst/gstregistry.h:
3547 only write out registry if it has changed, fixes #338339
3549 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3552 * gst/gstpipeline.c:
3553 * plugins/elements/gstcapsfilter.c:
3554 * plugins/elements/gstfakesink.c:
3555 * plugins/elements/gstfakesrc.c:
3556 * plugins/elements/gstfdsink.c:
3557 * plugins/elements/gstfdsrc.c:
3558 * plugins/elements/gstfilesink.c:
3559 * plugins/elements/gstfilesrc.c:
3560 * plugins/elements/gstidentity.c:
3561 * plugins/elements/gstqueue.c:
3562 * plugins/elements/gsttee.c:
3563 * plugins/elements/gsttypefindelement.c:
3564 (gst_type_find_element_handle_event):
3565 make GstElementDetails const
3567 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3569 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3570 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3571 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3572 more detailed debug and formatting cleanup,
3573 forward newsegments to src-pad (so that e.g. adder not eats them)
3575 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3577 * gst/gstutils.c: (gst_element_link_pads):
3580 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3582 * libs/gst/controller/gstcontroller.c:
3583 (gst_controller_sync_values):
3585 * tests/check/libs/controller.c: (GST_START_TEST),
3586 (gst_controller_suite):
3587 a new test for live value handling
3589 2006-04-28 Wim Taymans <wim@fluendo.com>
3591 * gst/gstutils.c: (push_and_ref):
3592 Added some more docs.
3593 Fix refcount issue whith gst_element_found_tags() helper
3594 function. Fixes #338335
3596 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3597 Added testsuite for gst_element_found_tags().
3599 2006-04-28 Michael Smith <msmith@fluendo.com>
3601 * gst/gstvalue.c: (gst_value_serialize_flags):
3602 Avoid NULL dereference when trying to serialize flags containing
3605 2006-04-28 Michael Smith <msmith@fluendo.com>
3607 * plugins/elements/gsttypefindelement.c:
3608 (gst_type_find_element_handle_event):
3609 If we get EOS before any data is accumulated, don't use
3610 uninitialised local variables.
3612 2006-04-28 Michael Smith <msmith@fluendo.com>
3614 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3615 (gst_dp_event_from_packet):
3616 Fixes in reading/writing events over GDP (not currently used?) -
3617 dereferencing NULL events for unknown/invalid event types, memory
3618 leak, and change g_warning to GST_WARNING.
3620 2006-04-28 Wim Taymans <wim@fluendo.com>
3622 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3623 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3624 (gst_base_sink_get_position), (gst_base_sink_change_state):
3625 When frame dropping is enabled, we should not ignore frames
3627 Update some documentation.
3629 2006-04-28 Wim Taymans <wim@fluendo.com>
3631 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3632 (gst_base_src_send_event), (gst_base_src_change_state):
3633 Documentation updates.
3635 2006-04-28 Wim Taymans <wim@fluendo.com>
3637 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3638 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3639 handle EAGAIN, EINTR and short writes correctly. Also clean
3640 up some error cases, avoid a deadlock on bad file descriptors and
3641 use GST_DEBUG_OBJECT.
3644 2006-04-28 Wim Taymans <wim@fluendo.com>
3646 * gst/gstvalue.c: (gst_value_serialize_buffer),
3647 (gst_value_deserialize_buffer):
3648 Don't try to serialize a GValue with a NULL buffer.
3651 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3652 Added check for serialisation of NULL buffers.
3654 2006-04-28 Wim Taymans <wim@fluendo.com>
3656 * gst/gstminiobject.c: (gst_value_take_mini_object):
3657 Taking a NULL miniobject is valid, fix the case where
3658 we try to unref the NULL miniobject.
3660 2006-04-28 Wim Taymans <wim@fluendo.com>
3662 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3664 * gst/gstbin.c: (gst_bin_handle_message_func):
3666 Don't leak bin refcount when a state recalc is
3667 in progress and we delay another one #339808.
3669 2006-04-28 Wim Taymans <wim@fluendo.com>
3671 * docs/design/part-TODO.txt:
3672 Mention QoS as an ongoing work item.
3674 * docs/design/part-buffering.txt:
3675 New doc about buffering that needs to be fleshed out
3678 * docs/design/part-qos.txt:
3679 More QoS policy for decoders/demuxers/transforms
3681 * docs/design/part-trickmodes.txt:
3684 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3689 === release 0.10.5 ===
3691 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3694 releasing 0.10.5, "Fogo"
3696 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3698 patch by: Wim Taymans
3700 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3701 (gst_pad_configure_src), (gst_pad_push):
3702 * gst/gstpipeline.c: (gst_pipeline_init):
3703 Fix internal data flow errors. Fixes #338711.
3705 2006-04-12 Wim Taymans <wim@fluendo.com>
3707 * tests/check/gst/gstelement.c: (GST_START_TEST):
3708 Don't leak the factory.
3710 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3713 * win32/common/config.h:
3716 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3718 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3719 (gst_controller_unset_all):
3720 Free allocated GstTimedValues when freeing list nodes.
3721 Should fix leaks 'make check-valgrind' complains about.
3723 * win32/common/libgstcontroller.def:
3724 Add gst_controller_unset_all.
3726 2006-04-11 Stefan Kost <ensonic@users.sf.net>
3728 * docs/libs/gstreamer-libs-sections.txt:
3729 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3730 (gst_controller_unset_all):
3731 * libs/gst/controller/gstcontroller.h:
3732 API: Added new method gst_controller_unset_all()
3733 fixed gst_controller_unset()
3734 * tests/check/libs/controller.c: (GST_START_TEST),
3735 (gst_controller_suite):
3736 Added two testcases for new and fixed method
3738 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
3740 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3741 MSG_DONTWAIT is not defined on Cygwin, so work
3742 around that (fixes #317048).
3744 2006-04-11 Wim Taymans <wim@fluendo.com>
3746 * gst/gstelementfactory.c: (gst_element_register),
3747 (gst_element_factory_create), (gst_element_factory_make):
3750 Updated docs (Fixes #131079)
3752 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
3755 * tests/check/gst/gstelement.c: (GST_START_TEST),
3756 (gst_element_suite):
3757 Added testcase for elementfactory class field.
3759 2006-04-10 Wim Taymans <wim@fluendo.com>
3762 Added some more docs.
3764 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
3765 (gst_base_sink_reset_qos):
3766 Calculate more accurate rate values.
3768 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
3770 * gst/gst_private.h:
3771 add a new #ifdef to use __declspec(dllimport) only for
3772 other modules and not for gstreamer core
3773 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
3774 use gst_guint64_to_gdouble for conversion
3775 * win32/common/libgstreamer.def:
3776 add new exported functions
3777 * win32/vs6/gst_inspect.dsp:
3778 * win32/vs6/gst_launch.dsp:
3779 * win32/vs6/libgstbase.dsp:
3780 * win32/vs6/libgstcontroller.dsp:
3781 * win32/vs6/libgstcoreelements.dsp:
3782 * win32/vs6/libgstdataprotocol.dsp:
3783 * win32/vs6/libgstnet.dsp:
3784 update project files
3786 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3788 * gst/gstbuffer.c: (gst_subbuffer_class_init):
3789 * gst/gstclock.c: (gst_clock_class_init):
3790 * gst/gstelement.c: (gst_element_class_init):
3791 * gst/gstindex.c: (gst_index_class_init):
3792 * gst/gstindexfactory.c: (gst_index_factory_class_init):
3793 * gst/gstobject.c: (gst_object_class_init),
3794 (gst_signal_object_class_init):
3795 * gst/gstpad.c: (gst_pad_class_init):
3796 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
3797 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
3798 * gst/gstregistry.c: (gst_registry_class_init):
3799 * gst/gstsystemclock.c: (gst_system_clock_class_init):
3800 * gst/gsttask.c: (gst_task_class_init):
3801 * gst/gstxml.c: (gst_xml_class_init):
3802 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3803 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3804 (gst_base_src_loop):
3805 * libs/gst/controller/gstcontroller.c:/
3806 (_gst_controller_class_init):
3807 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3808 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
3809 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
3810 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3811 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3812 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
3814 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
3816 * gst/gstpad.c: (gst_pad_link):
3817 Must set peer pads before calling the link function, otherwise
3818 a task started from a link function might get a flow-not-linked
3819 result when trying to push because the other thread where the
3820 linking happens hasn't had a chance to set the peers yet. This
3821 might happen for example when a queue gets linked to a downstream
3822 element, as queue starts a streaming task when its source pad
3823 gets linked. Happens in real life when playing back flac/musepack
3824 files in playbin (#332390).
3826 2006-04-08 Stefan Kost <ensonic@users.sf.net>
3830 * libs/gst/base/gstadapter.h:
3831 * libs/gst/base/gstbasesink.h:
3832 * libs/gst/base/gstbasesrc.h:
3833 * libs/gst/base/gstbasetransform.h:
3834 * libs/gst/base/gstcollectpads.h:
3835 * libs/gst/base/gstpushsrc.h:
3836 Fix broken GObject macros
3838 2006-04-07 Wim Taymans <wim@fluendo.com>
3840 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3841 Initialize start and stop times, thanks valgrind.
3843 2006-04-07 Wim Taymans <wim@fluendo.com>
3845 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3846 Be a bit nicer to badly behaving upstream elements that expect
3847 us to deal with non TIME segments and timestamps (such as fakesrc
3850 2006-04-07 Wim Taymans <wim@fluendo.com>
3853 Small documentation clarification about the signal watch.
3855 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3856 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
3857 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
3858 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3859 (gst_base_sink_get_position_last),
3860 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
3861 Convert and store timestamps in stream time and running time, the
3862 raw timestamps are not usefull, also document this better.
3863 Use different window sizes for good and bad QoS observations so
3864 we react to badness a little quicker.
3865 Keep track of the amount of rendered and dropped buffers.
3866 Send QoS timestamps in running time.
3868 * libs/gst/base/gstbasetransform.c:
3869 (gst_base_transform_sink_eventfunc),
3870 (gst_base_transform_handle_buffer):
3871 Compare QoS timestamps against running time.
3873 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3878 2006-04-06 Michael Smith <msmith@fluendo.com>
3880 * gst/gstpad.c: (gst_pad_set_property):
3881 Use g_value_get_object() instead of g_value_dup_gst_object(),
3882 to avoid double-reffing the pad template (which we then sink,
3883 so this worked previously if (and only if) the pad template
3886 * gst/gstpadtemplate.c: (gst_pad_template_init),
3887 (gst_pad_template_pad_created):
3888 Never return floating references to pad templates, create
3889 them as initially-sunken.
3891 Document an extra function (and make this stop sinking our
3892 pad template, since that is now guaranteed to do nothing,
3893 since we created it sunken).
3895 * gst/gstghostpad.c:
3898 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
3900 * gst/gstinfo.c: (__gst_in_valgrind):
3903 * plugins/elements/gsttypefindelement.c:
3904 (gst_type_find_element_chain):
3905 Don't leak buffer caps.
3907 2006-04-06 Michael Smith <msmith@fluendo.com>
3909 * gst/parse/grammar.y:
3910 Fix a leak in parse-launch for any source-or-sink named element
3913 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
3914 Unref the pipeline if it exists after we've failed parsing.
3916 2006-04-05 Michael Smith <msmith@fluendo.com>
3918 * gst/gstpipeline.c: (gst_pipeline_init):
3919 When we create a pipeline bus, initially create it in flushing mode.
3920 Fixes leaks in at least one test, and makes a new pipeline work the
3921 same as one that has gone to READY and then back to NULL.
3926 2006-04-05 Michael Smith <msmith@fluendo.com>
3928 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3929 Unref a pad we reffed.
3930 * tests/check/gst/gstutils.c: (GST_START_TEST):
3933 2006-04-05 Michael Smith <msmith@fluendo.com>
3935 * gst/gstquery.c: (gst_query_set_formats),
3936 (gst_query_set_formatsv):
3937 Fix leaking GValues in queries, as shown by valgrind/testsuite.
3939 2006-04-05 Michael Smith <msmith@fluendo.com>
3941 * tests/check/generic/sinks.c: (GST_START_TEST):
3942 Fix a variety of memleaks in sinks check, which are only sometimes
3943 shown by running the tests under valgrind (weird?).
3945 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
3947 * docs/version.entities.in:
3948 Fix the substituted entity name after thomas' changes on the
3951 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3953 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
3956 2006-04-05 Andy Wingo <wingo@pobox.com>
3958 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
3960 * libs/gst/base/gstbasetransform.c
3961 (gst_base_transform_sink_eventfunc): When resetting our segment on
3962 FLUSH_STOP, also update the flag saying we haven't seen a
3965 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3967 Patch by: Paolo Borelli <pborelli at katamail dot com>
3969 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
3970 (gst_plugin_check_license):
3971 minor clean-ups: G_DEFINE_TYPE already takes care of the
3972 parent_class stuff, no need to do it twice. Mark array of
3973 license strings as constant. (#337103)
3975 2006-04-04 Michael Smith <msmith@fluendo.com>
3977 * tools/gst-inspect.c: (print_element_list):
3978 Free the right plugin list; fixes a memory leak.
3980 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
3982 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3984 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
3985 Don't error out on empty buffers (#336945).
3987 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
3989 * docs/libs/gstreamer-libs-sections.txt:
3991 * libs/gst/base/gstbasesink.c:
3992 * libs/gst/base/gstbasesink.h:
3993 * libs/gst/base/gstbasesrc.c:
3994 * libs/gst/base/gstbasesrc.h:
3995 Documentation updates. Make BaseSink and BaseSrc docs contain the
3996 class structure so that people can actually see the prototypes for
3997 virtual functions they're supposed to be overriding.
3999 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4001 * plugins/elements/gsttypefindelement.c:
4002 (gst_type_find_element_chain):
4003 More debug info; when skipping typefinding, send cached
4004 events in all cases.
4006 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4009 use new AS_VERSION and AS_NANO macros
4010 * gst/gst-i18n-lib.h:
4013 * gst/gstversion.h.in:
4014 * win32/common/config.h:
4015 * win32/common/config.h.in:
4018 2006-03-31 Michael Smith <msmith@fluendo.com>
4020 * plugins/elements/gsttypefindelement.c:
4021 (gst_type_find_element_chain):
4022 Do not typefind content if the buffers already have caps.
4023 Neccesary for icydemux (#333657), and the right thing to do anyway.
4025 2006-03-30 Wim Taymans <wim@fluendo.com>
4027 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4028 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4029 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4030 (gst_base_sink_record_qos_observation),
4031 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4032 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4033 (gst_base_sink_change_state):
4034 More QoS measurements as described in the design doc.
4035 Get rid of ringbuffer with observations, running average is
4036 more simple and equally good.
4037 Calculates valid proportion now.
4038 Added beginning of flood measurement.
4040 2006-03-29 Wim Taymans <wim@fluendo.com>
4042 * docs/design/part-qos.txt:
4044 Small documentation updates and additions.
4046 2006-03-29 Wim Taymans <wim@fluendo.com>
4048 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4049 (gst_base_src_send_event), (gst_base_src_loop),
4050 (gst_base_src_change_state):
4051 Perform the EOS logic when we reach the segment stop position.
4052 Fix compilation on gcc4.1
4054 2006-03-29 Wim Taymans <wim@fluendo.com>
4056 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4058 * plugins/elements/gstqueue.c: (gst_queue_init),
4059 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4060 (gst_queue_set_property):
4061 * plugins/elements/gstqueue.h:
4062 In queue, when EOS is received, if minimum threshold > max_size -
4063 current_level, there is chance that queue blocks forever in conditional
4064 item del wait. This is because the queue is not emptied completely due
4065 to minimum threshold. Here is another approach. Instead of setting
4066 cur_levels to max in EOS, just zero all minimum threshold levels. This
4067 should make sure that queue gives out all data. When going to READY
4068 (stop) state, just reset the original minimum threshold levels.
4071 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4073 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4074 (gst_type_find_element_handle_event),
4075 (gst_type_find_element_send_cached_events),
4076 (gst_type_find_element_change_state):
4077 * plugins/elements/gsttypefindelement.h:
4078 When typefinding is done in push mode, we should cache
4079 events we receive during typefinding instead of just
4080 dropping them (e.g. newsegment, custom events from
4081 dvdreadsrc etc.) and then send them out once we've
4082 determined the type of the stream (and decodebin
4083 has had a chance to plug in a decoder/demuxer).
4085 2006-03-27 Wim Taymans <wim@fluendo.com>
4087 * docs/design/part-qos.txt:
4090 2006-03-27 Wim Taymans <wim@fluendo.com>
4092 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4094 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4095 (gst_base_src_send_event), (gst_base_src_change_state):
4096 Handle element seek correctly when we are streaming.
4099 2006-03-24 Michael Smith <msmith@fluendo.com>
4101 * docs/faq/gst-uninstalled:
4102 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4103 allow you to correctly run intalled applications built against old
4104 core, using plugins that require updated core (e.g. running
4105 installed totem against a full uninstalled gstreamer stack)
4107 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4109 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4112 2006-03-24 Wim Taymans <wim@fluendo.com>
4114 * docs/gst/gstreamer-sections.txt:
4115 Rearrange the order of the methods so that related methods
4116 are grouped together in sections.
4118 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4121 Little clarification in the docs
4123 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4127 * plugins/elements/gstidentity.c:
4128 * plugins/elements/gstqueue.c:
4129 * plugins/elements/gsttee.c:
4130 * plugins/elements/gsttypefindelement.c:
4131 GST_ELEMENT_DETAILS formatting
4133 2006-03-24 Wim Taymans <wim@fluendo.com>
4135 * libs/gst/base/gstbasesink.h:
4136 Only add fields, not insert or we break ABI.
4138 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4140 * win32/common/libgstbase.def:
4141 * win32/common/libgstreamer.def:
4142 Update, add recently added functions.
4144 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4146 * docs/gst/gstreamer-sections.txt:
4147 * gst/gstutils.c: (gst_pad_query_peer_position),
4148 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4150 API: add some new utility functions:
4151 - gst_pad_query_peer_position()
4152 - gst_pad_query_peer_duration()
4153 - gst_pad_query_peer_convert()
4155 2006-03-23 Wim Taymans <wim@fluendo.com>
4157 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4158 (gst_base_sink_init), (gst_base_sink_finalize),
4159 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4160 (gst_base_sink_set_property), (gst_base_sink_get_property),
4161 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4162 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4163 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4164 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4165 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4166 (gst_base_sink_preroll_object), (gst_base_sink_event),
4167 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4168 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4169 (gst_base_sink_query), (gst_base_sink_change_state):
4170 Decouple max-lateness and the fact that QoS messages are generated
4171 with a new property (qos).
4172 added API: GstBaseSink::async_play()
4173 Add vmethod so subclasses can be notified of ASYNC playing
4175 Collect timestamp start and stop to report better current
4176 position in EOS/PLAYING/PAUSED/READY/NULL.
4177 Refactor QoS/frame dropping and other measurements.
4178 API: GstBaseSrc::qos
4181 * libs/gst/base/gstbasesink.h:
4182 Added Private struct.
4183 API: gst_base_sink_set_qos_enabled()
4184 API: gst_base_sink_is_qos_enabled()
4186 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4188 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4189 If compiling against GLib-2.8 or newer, try to read the
4190 registry file using GMappedFile first before falling back
4191 to fopen() + fread() (#332151).
4193 2006-03-22 Wim Taymans <wim@fluendo.com>
4195 * gst/gstinfo.c: (gst_debug_set_active),
4196 (gst_debug_category_set_threshold):
4197 Disable debugging unless explicitly activated.
4200 2006-03-22 Wim Taymans <wim@fluendo.com>
4202 * gst/gstelement.c: (gst_element_set_locked_state),
4203 (gst_element_dispose):
4204 Cleanup the error case.
4206 * gst/gstobject.c: (gst_object_dispose):
4207 print a critical when some object was disposed with
4208 a parent, also revive the object since it might
4211 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4213 * tools/gst-launch.1.in:
4216 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4219 * tests/check/Makefile.am:
4220 disable some tests when we don't have a registry
4221 * tests/check/gst/gstutils.c: (gst_utils_suite):
4222 don't build the part that needs parsing
4224 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4227 * tests/examples/Makefile.am:
4228 fix --disable-parse build
4230 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4232 * tools/gst-feedback.1.in:
4233 Fix typo: s/feeback/feedback/ (#133494).
4235 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4237 * tools/Makefile.am:
4238 * tools/gst-launch.1.in:
4239 Add FILES section and correct entry about GST_REGISTRY_PATH
4240 environment variable (#133495; #133494).
4242 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4244 * tools/Makefile.am:
4245 * tools/gst-md5sum.1.in:
4246 * tools/gst-md5sum.c:
4247 Remove gst-md5sum and man page (the md5sink element
4248 required was removed ages ago)
4250 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4252 * gst/gststructure.c: (gst_structure_id_set_value):
4253 Make sure that string fields in structures/taglists
4254 contain valid UTF-8 - we don't want to pass rubbish to
4255 applications because of a buggy plugin (cp. #334167).
4257 2006-03-21 Edward Hervey <edward@fluendo.com>
4259 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4260 (gst_bin_handle_message_func):
4261 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4262 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4263 (gst_element_set_bus_func):
4264 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4265 * gst/gstminiobject.c: (gst_value_set_mini_object),
4266 (gst_value_take_mini_object):
4267 * gst/gstpad.c: (gst_pad_set_pad_template):
4268 * gst/gstpipeline.c: (gst_pipeline_dispose),
4269 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4270 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4271 (gst_collect_pads_chain):
4272 * libs/gst/net/gstnettimeprovider.c:
4273 (gst_net_time_provider_set_property):
4274 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4275 It's in fact all issues with gst_*object_replace().
4277 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4279 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4281 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4282 * pkgconfig/gstreamer-check.pc.in:
4283 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4285 2006-03-21 Edward Hervey <edward@fluendo.com>
4290 gst_[buffer|event|message]_ref() macros are replaced by a static
4291 inline functions because gcc-4.1 will about if the return value
4293 * tests/check/gst/gstevent.c: (event_probe):
4294 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4296 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4299 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4300 the type' case. (Closes: #335195 for now). In the future, when we
4301 depend on GLib 2.10, we could also intern the type name using
4302 g_intern_static_string()
4304 2006-03-20 Wim Taymans <wim@fluendo.com>
4306 * gst/gstbin.c: (gst_bin_handle_message_func),
4307 (bin_query_max_init), (bin_query_position_fold),
4308 (bin_query_position_done), (gst_bin_query):
4309 Position query should also take max of all streams.
4311 2006-03-20 Wim Taymans <wim@fluendo.com>
4313 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4314 (gst_fake_src_finalize):
4315 Fix leaks in fakesrc.
4317 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4318 Fix leaks in the testcase.
4320 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4322 * gst/gst_private.h:
4323 add win32 specific import decoration(__declspec(dllimport))
4324 for all extern GstDebugCategory * variables
4325 * win32/common/libgstbase.def:
4326 * win32/common/libgstcontroller.def:
4327 * win32/common/libgstreamer.def:
4328 Add some exports, remove empty lines
4329 * win32/common/libgstdataprotocol.def:
4330 * win32/common/libgstdataprotocol.dsp:
4331 * win32/common/libgstnet.def:
4332 * win32/common/libgstnet.dsp:
4333 new project files and exportation files added
4335 2006-03-19 Wim Taymans <wim@fluendo.com>
4337 * tests/check/libs/basesrc.c: (eos_event_counter):
4338 Use proper return value for probe.
4340 2006-03-17 Wim Taymans <wim@fluendo.com>
4342 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4344 Don't leak buffers, caps and pads on negotiation errors.
4346 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4349 * docs/faq/dependencies.xml:
4350 * docs/faq/developing.xml:
4352 * docs/faq/general.xml:
4353 * docs/faq/getting.xml:
4354 * docs/faq/legal.xml:
4355 * docs/faq/troubleshooting.xml:
4356 * docs/faq/using.xml:
4357 Faq review and update.
4359 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4361 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4363 Don't pound the cpu to pieces by checking get_caps when accept_caps
4364 is called with the same caps as the pad already has.
4365 Use GST_DEBUG_OBJECT when outputting caps change information.
4367 2006-03-15 Wim Taymans <wim@fluendo.com>
4369 * gst/gstclock.c: (gst_clock_class_init):
4372 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4377 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4378 (gst_pad_accept_caps), (gst_pad_configure_sink),
4379 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4380 Make the default acceptcaps behaviour be to check the requested
4381 caps against the gst_pad_get_caps output.
4383 Ensure that gst_pad_accept_caps is used to check caps when a pad
4384 doesn't have a setcaps function, so that pads automatically refuse
4385 caps that they don't allow in their pad template. (Fixes #332986)
4387 When a buffer with attached caps is pushed, ensure that the source
4388 pad receives those caps even if the element didn't call
4389 gst_pad_set_caps first.
4391 2006-03-15 Wim Taymans <wim@fluendo.com>
4393 * libs/gst/base/gstadapter.c:
4396 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4398 * win32/common/libgstbase.def:
4399 * win32/common/libgstcontroller.def:
4400 * win32/common/libgstreamer.def:
4401 Add a whole bunch of missing functions (#334434).
4403 2006-03-14 Wim Taymans <wim@fluendo.com>
4405 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4406 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4407 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4408 Better debug info when we receive a segment event.
4409 Reorganize a bit so we can pass the get_times() results around.
4410 Use the segment format when calculating the running time.
4411 Don't do QoS is sync is disabled or we have no clock or the
4412 element does not want us to sync to the clock.
4413 Don't drop buffers if QoS is disabled for now.
4415 2006-03-14 Wim Taymans <wim@fluendo.com>
4417 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4418 Marked the stats property as unimplemented so people don't get
4420 Add debug message when regression goes wrong.
4421 Added some more docs.
4423 2006-03-14 Wim Taymans <wim@fluendo.com>
4425 * gst/gstsegment.c: (gst_segment_to_stream_time):
4426 Return correct return type in case of errors.
4428 2006-03-14 Wim Taymans <wim@fluendo.com>
4430 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4431 Don't segfault on invalid formats.
4433 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4435 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4436 Can't use gst_segment_to_running_time() when the segment
4437 is not in GST_TIME_FORMAT (like with filesink, for example).
4438 Stops flac encoding pipelines from spewing critical warnings
4441 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4443 * gst/gstpipeline.c: (gst_pipeline_class_init):
4444 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4446 * plugins/elements/gsttypefindelement.c:
4447 (gst_type_find_element_handle_event):
4448 Don't try to typefind empty streams.
4450 2006-03-14 Wim Taymans <wim@fluendo.com>
4452 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4453 (gst_base_sink_do_qos):
4454 Separate QoS calculation.
4455 Only drop buffers when lateness is bigger than the
4456 duration of the buffer.
4458 2006-03-13 Wim Taymans <wim@fluendo.com>
4460 * gst/gstpipeline.c: (gst_pipeline_set_property),
4461 (gst_pipeline_get_property), (do_pipeline_seek),
4462 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4463 (gst_pipeline_get_delay):
4464 Don't deadlock when reading properties.
4466 2006-03-13 Wim Taymans <wim@fluendo.com>
4468 * libs/gst/base/gstbasetransform.c:
4469 (gst_base_transform_class_init), (gst_base_transform_init),
4470 (gst_base_transform_sink_event),
4471 (gst_base_transform_sink_eventfunc),
4472 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4473 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4474 (gst_base_transform_set_property),
4475 (gst_base_transform_get_property),
4476 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4477 (gst_base_transform_set_qos_enabled),
4478 (gst_base_transform_is_qos_enabled):
4479 * libs/gst/base/gstbasetransform.h:
4480 Make basetransform virtual method for src events too.
4481 Handle QOS in basetransform.
4482 API: gst_base_transform_update_qos()
4483 API: gst_base_transform_set_qos_enabled()
4484 API: gst_base_transform_is_qos_enabled()
4486 2006-03-13 Wim Taymans <wim@fluendo.com>
4488 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4489 (gst_base_sink_do_sync):
4491 Use QOS debug category.
4493 2006-03-13 Wim Taymans <wim@fluendo.com>
4495 * plugins/elements/gstqueue.c:
4496 Very small doc update.
4498 2006-03-13 Wim Taymans <wim@fluendo.com>
4500 * gst/gst_private.h:
4501 * gst/gstinfo.c: (_gst_debug_init):
4502 Added QOS debug category
4504 2006-03-13 Wim Taymans <wim@fluendo.com>
4506 * docs/gst/gstreamer-sections.txt:
4507 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4509 * gst/gstbus.c: (gst_bus_class_init):
4512 * gst/gstelement.c: (gst_element_set_locked_state):
4514 Documentation updates.
4516 * gst/gstpipeline.c: (gst_pipeline_get_type),
4517 (gst_pipeline_class_init), (gst_pipeline_init),
4518 (gst_pipeline_dispose), (gst_pipeline_set_property),
4519 (gst_pipeline_get_property), (do_pipeline_seek),
4520 (gst_pipeline_send_event), (gst_pipeline_change_state),
4521 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4522 (gst_pipeline_get_delay):
4523 * gst/gstpipeline.h:
4524 Added methods for setting the delay.
4525 API: gst_pipeline_set_delay()
4526 API: gst_pipeline_get_delay()
4527 Add pipeline debug category
4530 Don't reset stream time when seek failed.
4532 2006-03-13 Wim Taymans <wim@fluendo.com>
4534 * docs/design/draft-klass.txt:
4535 * docs/design/part-clocks.txt:
4536 * docs/design/part-events.txt:
4537 * docs/design/part-gstbin.txt:
4538 * docs/design/part-gstpipeline.txt:
4539 * docs/design/part-messages.txt:
4540 * docs/design/part-negotiation.txt:
4541 * docs/design/part-overview.txt:
4542 * docs/design/part-preroll.txt:
4543 * docs/design/part-seeking.txt:
4544 * docs/design/part-states.txt:
4545 * docs/design/part-streams.txt:
4546 Documentation updates.
4548 2006-03-12 Julien MOUTTE <julien@moutte.net>
4550 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4551 us to leak strings...
4553 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4555 * libs/gst/net/gstnettimeprovider.c:
4557 * win32/common/config.h:
4560 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4562 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4565 Don't check for libgnomeui (leftover from old examples
4566 that aren't built or disted any longer) (#334303).
4568 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4570 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4571 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4572 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4573 there's no space left on the device.
4575 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4578 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4579 to cast the input to GstClockTime before comparing with
4580 another GstClockTime value.
4582 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4587 === release 0.10.4 ===
4589 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4592 releasing 0.10.4, "Light"
4594 2006-03-10 Michael Smith <msmith@fluendo.com>
4596 * libs/gst/dataprotocol/dataprotocol.c:
4597 Fix docs for dataprocotol to not get the return types completely
4598 wrong for a few functions.
4600 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4602 * docs/gst/gstreamer-sections.txt:
4603 * gst/gstpipeline.c: (gst_pipeline_class_init),
4604 (gst_pipeline_init), (gst_pipeline_set_property),
4605 (gst_pipeline_get_property), (gst_pipeline_change_state),
4606 (gst_pipeline_set_auto_flush_bus),
4607 (gst_pipeline_get_auto_flush_bus):
4608 * gst/gstpipeline.h:
4609 Add new API: gst_pipeline_set_auto_flush_bus() and
4610 gst_pipeline_get_auto_flush_bus() to disable automatic
4611 flushing of the pipeline's GstBus when going from READY
4612 to NULL state (#332045).
4614 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4616 * docs/gst/gstreamer-sections.txt:
4617 * gst/gsturi.c: (gst_uri_has_protocol):
4619 Add new API: gst_uri_has_protocol() (#333779).
4621 2006-03-09 Wim Taymans <wim@fluendo.com>
4623 * gst/gstclock.c: (gst_clock_entry_new),
4624 (gst_clock_id_compare_func), (gst_clock_id_wait),
4625 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4626 (gst_clock_init), (gst_clock_get_internal_time),
4627 (gst_clock_set_master), (do_linear_regression),
4628 (gst_clock_add_observation), (gst_clock_set_property):
4632 Fix a possible segfault when the window-size is made smaller.
4633 Calculate jitter before performing the clock wait. Ideally
4634 the clock implementation should calculate jitter but we need
4635 API breakage for that.
4637 * gst/gstsystemclock.c: (gst_system_clock_init):
4640 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4641 Remove leftover else
4643 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4644 (gst_systemclock_suite):
4645 Added check to test GST_CLOCK_DIFF.
4647 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4649 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4650 (gst_type_find_helper_get_range):
4651 If we are provided with the size, we should implement
4652 GstTypeFind::get_length, so that typefind functions who
4653 want to can actually peek at the middle of a file.
4655 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4657 * docs/manual/advanced-dataaccess.xml:
4658 Add some very very basic error checking.
4660 * docs/pwg/appendix-checklist.xml:
4661 Some updates to the list of things to check when writing an element.
4663 2006-03-08 Wim Taymans <wim@fluendo.com>
4665 * docs/design/part-element-transform.txt:
4666 Added some docs about the design of tranform elements.
4668 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4669 (gst_base_src_loop), (gst_base_src_change_state):
4670 Mark buffers with the DISCONT flag.
4672 2006-03-08 Michael Smith <msmith@fluendo.com>
4674 * gst/gstregistry.h:
4675 * gst/gstregistryxml.c: (gst_registry_save),
4676 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4677 (gst_registry_xml_save_pad_template),
4678 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4679 (gst_registry_xml_write_cache):
4680 Rewrite registry-saving to avoid race conditions and check for
4683 2006-03-08 Wim Taymans <wim@fluendo.com>
4685 * libs/gst/base/gstbasetransform.c:
4686 (gst_base_transform_transform_caps),
4687 (gst_base_transform_transform_size),
4688 (gst_base_transform_prepare_output_buffer),
4689 (gst_base_transform_get_unit_size),
4690 (gst_base_transform_buffer_alloc),
4691 (gst_base_transform_handle_buffer),
4692 (gst_base_transform_change_state):
4693 Cleanups, separate normal flow from errors, add sensible
4695 Don't try to renegotiate when allocating an output buffer.
4696 Also copy DISCONT buffer flag when copying a buffer.
4697 Reset the transform after we finish streaming, not during.
4699 2006-03-08 Wim Taymans <wim@fluendo.com>
4701 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4702 Use last buffer timestamp in qos message.
4704 2006-03-07 Wim Taymans <wim@fluendo.com>
4706 Patch by: Christophe Fergeau
4708 * docs/pwg/advanced-tagging.xml:
4709 * docs/pwg/building-pads.xml:
4712 2006-03-07 Wim Taymans <wim@fluendo.com>
4714 * docs/libs/gstreamer-libs-sections.txt:
4715 Added basesink new methods.
4719 Docs updates. Flesh out the QoS docs.
4721 * libs/gst/base/gstadapter.c:
4722 Small doc clarification about ownership and flushing.
4724 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
4725 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4726 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
4727 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4728 * libs/gst/base/gstbasesink.h:
4730 Added new methods to allow subclass to control max-lateness
4732 Generate very basic QoS events based on last sync observation.
4733 Updated docs, fix typo, added some QoS blurb.
4735 * libs/gst/base/gstbasesrc.c:
4736 Remove obsolete _get_state() calls from docs.
4738 2006-03-07 Wim Taymans <wim@fluendo.com>
4740 * docs/libs/gstreamer-libs-sections.txt:
4741 * libs/gst/base/gstbasetransform.h:
4742 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
4743 Fix docs for GstBaseSrc.
4745 2006-03-07 Wim Taymans <wim@fluendo.com>
4747 * docs/gst/gstreamer-sections.txt:
4750 * libs/gst/base/gstbasetransform.h:
4751 Small documentation fixes.
4753 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4756 Document thread-unsafety of gst_value_register_foo_func()
4757 when used at the same time as gst_value_foo() (#322628).
4759 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
4761 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
4762 (gst_push_src_check_get_range):
4763 Push sources don't support pull mode by default.
4765 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4767 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4768 (gst_base_src_init), (gst_base_src_pad_check_get_range),
4769 (gst_base_src_default_check_get_range):
4770 * libs/gst/base/gstbasesrc.h:
4771 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
4772 provide default implementation, and rename
4773 gst_base_src_check_get_range() to
4774 gst_base_src_pad_check_get_range() for clarity.
4776 2006-03-06 Wim Taymans <wim@fluendo.com>
4778 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4779 Make property overridable.
4781 2006-03-06 Wim Taymans <wim@fluendo.com>
4783 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4784 (gst_base_sink_init), (gst_base_sink_set_property),
4785 (gst_base_sink_get_property), (gst_base_sink_do_sync):
4786 * libs/gst/base/gstbasesink.h:
4787 API addition: Make max-lateness a property.
4789 2006-03-06 Wim Taymans <wim@fluendo.com>
4791 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
4792 (gst_base_sink_do_sync), (gst_base_sink_render_object):
4793 Don't ever draw a frame that is >10ms late.
4795 2006-03-06 Michael Smith <msmith@fluendo.com>
4797 * gst/gstmessage.c: (_gst_message_copy):
4798 When copying a message, set the parent_refcount of the enclosed
4799 structure to point at the copy, not the original message.
4801 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
4803 Patch by: Christophe Fergeau
4806 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
4807 usable in c++ code (#333417)
4809 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
4812 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
4814 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
4816 * libs/gst/base/gstbasetransform.c:
4817 (gst_base_transform_transform_caps):
4818 Make sure caps are writable before passing them to
4821 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4824 Fix some minor docs errors.
4826 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
4828 Patch by: Ross Burton <ross at burtonini dot com>
4830 * gst/gsterror.c: (_gst_resource_errors_init):
4832 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
4834 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4837 Add a check and output a g_warning when GStreamer is built
4838 against GLib 2.6 but running against 2.8 or higher, and vice
4839 versa. (Closes: #323542)
4841 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
4843 * gst/parse/parse.l:
4844 Commit patch for parse_launch syntax from #331255. Removes
4845 support for quoted strings and mimetypes when writing filtered
4846 caps. See the bug report for more details - I'm pretty sure this
4847 obscure feature is not in use by _anyone_ anywhere.
4849 With this simple change, the size of the gstreamer.so here
4850 drops from 2193KB to 1565KB.
4852 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4854 * plugins/elements/gsttypefindelement.h:
4855 * plugins/elements/gsttypefindelement.c:
4856 (gst_type_find_element_src_event), (start_typefinding),
4857 (stop_typefinding), (gst_type_find_element_handle_event),
4858 (gst_type_find_element_chain),
4859 (gst_type_find_element_chain_do_typefinding):
4860 Use gst_type_find_helper_for_buffer() for chain-based
4863 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4865 * plugins/elements/gsttypefindelement.c:
4866 (gst_type_find_element_class_init),
4867 (gst_type_find_element_set_property),
4868 (gst_type_find_element_get_property):
4869 Deprecate "maximum" property (not only was it only taken into
4870 account for typefinding in push-mode anyway, it also was never
4871 actually possible to set it in the first place because the
4872 property was registered with the numeric property ID for the
4873 "minimum" property). Register "maximum" property correctly,
4874 for the sake of future copy'n'pasters. Remove some cruft
4875 from property get/set functions.
4877 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
4879 * plugins/elements/gsttypefindelement.c:
4880 (gst_type_find_element_activate):
4881 Use gst_type_find_helper_get_range() here, so we
4882 can honour the "minimum" property and also emit
4883 the signal with the correct probability of the found caps.
4885 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
4887 * docs/libs/gstreamer-libs-sections.txt:
4888 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
4889 (helper_find_suggest), (gst_type_find_helper_get_range),
4890 (gst_type_find_helper):
4891 * libs/gst/base/gsttypefindhelper.h:
4892 New API: gst_type_find_helper_get_range() (#333042).
4894 2006-03-02 Michael Smith <msmith@fluendo.com>
4896 * gst/gstregistryxml.c: (load_feature):
4897 Asserting on a failure to read part of the registry is Not Cool.
4898 Just log a warning and return NULL (which is already handled)
4900 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
4902 * win32/common/libgstbase.def:
4903 added export of gst_type_find_helper_for_buffer
4904 * win32/common/libgstbase.def:
4905 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
4906 gst_ghost_pad_get_target
4908 2006-02-28 Wim Taymans <wim@fluendo.com>
4910 * docs/design/draft-klass.txt:
4912 Added Connector to mark elements that are only used to
4913 allow pipeline connections.
4914 Moved Debug to extra feature since most of them are
4915 functionally something else.
4917 2006-02-28 Wim Taymans <wim@fluendo.com>
4919 * docs/design/draft-klass.txt:
4920 Some updates and clarifications.
4922 2006-02-28 Wim Taymans <wim@fluendo.com>
4924 * docs/design/draft-klass.txt:
4925 Proposal for klass field values.
4927 * docs/design/part-streams.txt:
4928 Start of a doc describing stream anatomy.
4930 2006-02-28 Wim Taymans <wim@fluendo.com>
4932 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
4933 Help the compiler a bit with type registration.
4934 Use existing forward cod path instead of duplicating it when
4937 * gst/gstbus.c: (gst_bus_get_type):
4938 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
4939 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
4940 * gst/gstclock.c: (gst_clock_get_type):
4941 * gst/gstelement.c: (gst_element_get_type),
4942 * gst/gstelementfactory.c: (gst_element_factory_get_type):
4943 * gst/gstindexfactory.c: (gst_index_factory_get_type):
4944 * gst/gstminiobject.c: (gst_mini_object_get_type):
4945 * gst/gstpad.c: (gst_pad_get_type):
4946 * gst/gstsegment.c: (gst_segment_get_type):
4947 * gst/gststructure.c: (gst_structure_get_type):
4948 * gst/gstsystemclock.c: (gst_system_clock_get_type):
4949 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
4951 Help compiler with type registration.
4953 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4956 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4958 * plugins/elements/gsttypefindelement.c:
4959 (gst_type_find_element_handle_event):
4960 When we get an EOS event and have not found a type yet
4961 (most likely because we had not yet accumulated
4962 TYPE_FIND_MIN_SIZE of data yet), try to determine the
4963 type given the data we have so far. Fixes typefinding
4964 for very short streams again, most notably quicktime
4965 redirections as used on Apple's trailer site (#331701).
4967 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4969 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
4970 (gst_type_find_helper):
4971 Try typefinding factories with the highest rank first.
4973 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4975 * docs/libs/gstreamer-libs-docs.sgml:
4976 * docs/libs/gstreamer-libs-sections.txt:
4977 * libs/gst/base/gsttypefindhelper.c:
4978 Add section for typefind helper and add documentation
4979 for the old and the new function.
4981 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
4983 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
4984 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
4985 (gst_type_find_helper_for_buffer):
4986 * libs/gst/base/gsttypefindhelper.h:
4987 New API: gst_type_find_helper_for_buffer() (#332723).
4989 2006-02-27 Michael Smith <msmith@fluendo.com>
4991 Patch by: Loïc Minier
4995 * docs/slides/Makefile.am:
4996 prevent CVS directories getting disted.
4998 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5000 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5001 Use the REFCOUNTING category for caps refcounting.
5003 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5005 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5006 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5008 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5010 * plugins/elements/gsttypefindelement.c:
5011 (gst_type_find_element_activate):
5012 Use gst_pad_check_pull_range() before _activate_pull()
5013 to avoid unnecessary open/close (see #331690).
5015 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5018 Docs enhancement: make it crystal clear what the
5019 gst_pad_add_*_probe() callbacks should look like.
5021 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5023 * libs/gst/base/gstbasesrc.c:
5024 Document how applications can stop recording from
5025 live sources (see #330996).
5027 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5029 * tests/check/Makefile.am:
5030 * tests/check/libs/basesrc.c: (eos_event_counter),
5031 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5032 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5033 (gst_basesrc_suite), (main):
5034 ... and add some tests for the base source EOS stuff.
5036 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5038 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5039 Test case originally showed the problem fixed below,
5040 but was then amended. Add checks back at the place
5041 where they used to be.
5043 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5045 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5046 (gst_base_src_init), (gst_base_src_loop),
5047 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5048 (gst_base_src_change_state):
5049 * libs/gst/base/gstbasesrc.h:
5050 Don't unconditionally send EOS when going from PAUSED to
5051 READY state, esp. make sure we don't send two EOS events
5052 in some cases (e.g. one when reaching EOS and one when
5053 going from PAUSED to READY). Also, we don't want to send
5054 EOS events when operating in pull mode. However, we do
5055 want to send an EOS event when shutting down a live
5056 source explicitly, for example (fixes #330996).
5058 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5060 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5061 Update src->read_position after a seek when not using mmap.
5062 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5064 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5070 Make things work with --disable-parse as they do with
5071 --disable-load-save - the symbols involved disappear, but the
5072 header is still installed and GST_DISABLE_PARSE is included via
5075 2006-02-20 Julien MOUTTE <julien@moutte.net>
5077 * libs/gst/base/gstbasetransform.c:
5078 (gst_base_transform_change_state): Fix a stupid bug. I was
5079 sure I compiled that.
5081 2006-02-20 Julien MOUTTE <julien@moutte.net>
5083 * gst/gstpad.c: (gst_pad_set_blocked_async):
5084 * gst/gstutils.c: (gst_pad_add_data_probe),
5085 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5086 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5087 (gst_pad_remove_buffer_probe): Make those function act on the
5088 ghostpad target when it's a ghostpad. (Closes #331727)
5090 2006-02-20 Julien MOUTTE <julien@moutte.net>
5092 * libs/gst/base/gstbasetransform.c:
5093 (gst_base_transform_change_state): Make basetransform reusable.
5096 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5098 * docs/random/release:
5099 Move the current documentation of how to do a release to the top
5102 * gst/gstbin.c: (gst_bin_class_init),
5103 (gst_bin_handle_message_func):
5104 Allow multiple state-recalculation threads. (Closes #328873)
5106 2006-02-19 Julien MOUTTE <julien@moutte.net>
5108 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5109 * gst/gstpad.c: (gst_pad_set_event_function),
5110 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5111 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5112 2 strings. You can't use the STR_NULL macro on that.
5114 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5116 * gst/gstpad.c: (gst_pad_set_event_function),
5117 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5118 (gst_pad_set_getcaps_function)
5119 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5120 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5121 So now, we can use --gst-debug-level=5 on Windows
5122 * win32/common/libgstcontroller.def:
5123 Added export of gst_controller_init
5124 * win32/vs6/libgstcontroller.dsp:
5125 Fixed Release post build configuration
5127 2006-02-17 Wim Taymans <wim@fluendo.com>
5129 * tests/check/gst/gstquery.c: (GST_START_TEST):
5130 Added another check.
5132 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5134 * plugins/elements/gsttypefindelement.c: (find_peek):
5135 We can do peeks at non-zero offsets, as long as they
5136 fall within the buffer we have.
5138 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5140 * tests/check/Makefile.am:
5141 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5142 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5143 (parse_suite), (main):
5144 Add testsuite for parse launch syntax
5146 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5148 * plugins/elements/gsttypefindelement.c:
5149 (gst_type_find_element_chain):
5150 When typefinding is unsuccessful in the chain function, don't
5151 error out immediately. Only error out with NO_CAPS_FOUND if
5152 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5153 otherwise simply wait for more data so we can try typefinding
5154 again with more data later. Also, don't attempt to typefind
5155 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5156 this should improve typefinding from network sources where the
5157 size of the first buffer can be somewhat random.
5159 2006-02-14 Wim Taymans <wim@fluendo.com>
5161 * docs/gst/gstreamer-sections.txt:
5162 * gst/gstpadtemplate.c:
5163 * gst/gstpadtemplate.h:
5164 Fix padtemplate docs, fixes #328805.
5166 2006-02-14 Wim Taymans <wim@fluendo.com>
5168 * tools/gst-launch.c: (main):
5169 NO_PREROLL is not an ERROR so don't send confusing messages
5172 2006-02-14 Wim Taymans <wim@fluendo.com>
5174 Patch by: Torsten Schoenfeld
5176 * gst/gstregistry.c: (gst_registry_get_default),
5177 (_gst_registry_cleanup):
5178 Protect default registry with lock and ref/sink it.
5181 2006-02-14 Wim Taymans <wim@fluendo.com>
5184 * gst/gstquery.c: (gst_query_list_add_format),
5185 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5186 (gst_query_parse_formats_nth):
5187 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5190 2006-02-14 Wim Taymans <wim@fluendo.com>
5192 * docs/gst/gstreamer-sections.txt:
5193 Reworked query docs.
5195 * gst/gstquery.c: (gst_query_new_formats),
5196 (gst_query_list_add_format), (gst_query_set_formats),
5197 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5198 (gst_query_parse_formats_nth):
5200 Flesh out formats query, added some new methods.
5201 Fix part of #324398.
5203 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5204 Added query creation tests.
5206 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5208 * gst/gstpad.c: (fixate_value):
5209 Add a default fixation for fraction lists.
5211 2006-02-13 Wim Taymans <wim@fluendo.com>
5213 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5214 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5217 Detect and warn for obvious deadlocks. fixes #320340
5218 Fix error case where lock was not released.
5220 * tests/check/Makefile.am:
5221 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5222 (task_func), (gst_element_suite), (main):
5225 2006-02-13 Wim Taymans <wim@fluendo.com>
5227 * docs/gst/gstreamer-sections.txt:
5229 Add new functions to docs.
5231 2006-02-13 Wim Taymans <wim@fluendo.com>
5233 * docs/design/part-TODO.txt:
5234 Updated TODO list, basesrc supports seeking to non-bytes
5237 * docs/design/part-element-sink.txt:
5240 * gst/gstbin.c: (bin_replace_message),
5241 (gst_bin_handle_message_func):
5242 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5243 * gst/gstevent.c: (gst_event_finalize):
5244 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5245 (gst_pad_send_event):
5246 Use shiny new _TYPE_NAME macros.
5248 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5249 Move debug statement up.
5251 * gst/gstelement.c: (gst_element_set_locked_state):
5254 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5256 * docs/gst/gstreamer-sections.txt:
5259 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5260 macros (#330906). Also, document the already existing
5261 GST_QUERY_TYPE macro.
5263 2006-02-13 Wim Taymans <wim@fluendo.com>
5265 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5266 (event_probe), (GST_START_TEST):
5267 Only events up to the pipeline EOS are counted, there are
5268 some more when going to NULL currently which we don't care
5271 2006-02-13 Wim Taymans <wim@fluendo.com>
5273 * gst/gstpad.c: (gst_pad_send_event):
5274 Correctly check flushing and emit probes. fixes #330125
5276 2006-02-10 Andy Wingo <wingo@pobox.com>
5278 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5280 (gst_bus_init): Cache the location of the private data in the
5282 (gst_bus_enable_sync_message_emission)
5283 (gst_bus_disable_sync_message_emission): Implement new public
5285 (gst_bus_post): Emit the sync-message signal if the user asked for
5288 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5289 location of the bus-private structure.
5290 (gst_bus_enable_sync_message_emission)
5291 (gst_bus_disable_sync_message_emission): API addition
5293 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5295 Patch by: Vincent Torri
5297 * docs/pwg/building-boiler.xml:
5298 PWG patch from #326800
5300 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5304 * docs/design/Makefile.am:
5307 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5312 === release 0.10.3 ===
5314 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5317 releasing 0.10.3, "Like a virgin"
5319 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5322 2nd prerelease of 0.10.3
5323 Bump libtool versioning.
5325 2006-02-07 Andy Wingo <wingo@pobox.com>
5327 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5328 update last_stop if we're in TIME format and the timestamp is
5331 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5332 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5333 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5334 If we get a new newsegment with a different format, adapt
5337 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5338 of 0. Not a problem, really.
5340 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5343 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5348 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5351 project files updated to the default vs7 configuration
5352 * win32/common/libgstbase.def:
5353 * win32/common/libgstreamer.def:
5355 removed empty lines,
5356 sorted all exported symbols alphabetically
5357 * win32/common/dirent.c:
5358 * win32/common/dirent.h:
5359 * win32/common/gchar.h:
5360 use windows line end.
5362 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5364 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5365 Send EOS event when stopping.
5367 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5370 Tell folks what to do if the plugin-foobar.xml file
5371 hasn't been generated for a newly-added plugin.
5373 2006-02-05 Julien MOUTTE <julien@moutte.net>
5375 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5376 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5377 (gst_collect_pads_start), (gst_collect_pads_stop),
5378 (gst_collect_pads_event): Collectpads now holds a reference
5379 to the GstPad that was added. Indeed we don't want to look
5380 at pads that might just go away with no warning...
5382 2006-02-05 Julien MOUTTE <julien@moutte.net>
5384 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5385 (gst_collect_pads_start), (gst_collect_pads_stop),
5386 (gst_collect_pads_event), (gst_collect_pads_chain):
5387 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5388 Mark Nauwelaerts's patch on bug #328491.
5390 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5392 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5394 Add some simple tests for gst_parse_bin_from_description() and
5395 gst_bin_find_unconnected_pad() (#329069).
5397 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5399 * tools/gst-launch.c: (event_loop), (main):
5400 Catch errors during preroll (#320084).
5402 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5404 * plugins/elements/gsttypefindelement.c:
5405 (gst_type_find_element_activate):
5406 Post TYPE_NOT_FOUND error message when typefinding
5407 is unsuccessful in the activate function as well.
5409 2006-02-02 Wim Taymans <wim@fluendo.com>
5411 * docs/design/part-element-sink.txt:
5414 2006-02-02 Wim Taymans <wim@fluendo.com>
5416 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5417 (gst_base_sink_render_object),
5418 (gst_base_sink_queue_object_unlocked):
5419 Only keep track of prerollable items when we are
5421 Before rendering after preroll, always check if we
5423 Added some more debugging.
5425 2006-02-02 Wim Taymans <wim@fluendo.com>
5427 * gst/gstelement.c: (gst_element_continue_state),
5428 (gst_element_set_state_func), (gst_element_change_state):
5429 Fixed #326576, been running this for quite some time with
5430 no regressions at all.
5432 2006-02-02 Wim Taymans <wim@fluendo.com>
5435 Added more suppressions
5437 2006-02-02 Wim Taymans <wim@fluendo.com>
5439 * docs/design/part-element-sink.txt:
5442 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5443 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5444 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5445 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5446 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5447 (gst_base_sink_preroll_object),
5448 (gst_base_sink_queue_object_unlocked),
5449 (gst_base_sink_queue_object), (gst_base_sink_event),
5450 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5451 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5452 (gst_base_sink_get_position), (gst_base_sink_change_state):
5453 * libs/gst/base/gstbasesink.h:
5454 Totally refactored matching the design doc.
5455 Use two segments, one to clip incomming buffers and another to
5457 Handle queueing correctly, bypass the queue when playing.
5458 Make EOS cancelable.
5459 Handle errors correctly when operating in pull based mode.
5461 * tests/check/elements/fakesink.c: (GST_START_TEST),
5463 Added new check for sinks.
5465 2006-02-02 Wim Taymans <wim@fluendo.com>
5467 * gst/gstsegment.c: (gst_segment_clip):
5468 No reason to refuse to clip when start == -1
5470 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5473 * docs/manual/intro-basics.xml:
5474 * docs/manual/intro-preface.xml:
5475 * docs/manual/manual.xml:
5476 * docs/pwg/advanced-dparams.xml:
5477 * docs/pwg/intro-basics.xml:
5478 * docs/pwg/intro-preface.xml:
5480 describe dparams (controller) for plugins
5481 unify docs a little more
5483 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5485 * docs/gst/gstreamer-sections.txt:
5486 * gst/gstutils.c: (element_find_unconnected_pad),
5487 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5489 Add new API: gst_parse_bin_from_description() and
5490 gst_bin_find_unconnected_pad() (#329069).
5492 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5494 * docs/manual/README:
5495 uncover a nasty detail of the docs build
5497 2006-01-31 Wim Taymans <wim@fluendo.com>
5499 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5500 Don't cache duration messages if we're not going to use or
5503 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5505 * docs/manual/advanced-dparams.xml:
5506 * docs/pwg/advanced-dparams.xml:
5510 * libs/gst/controller/lib.c: (gst_controller_init):
5513 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5515 * gst/gstelement.c: (gst_element_message_full):
5516 also show file/line/func if no additional debug was given
5518 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5520 * win32/vs7/grammar.vcproj:
5521 activate copy of autogenerated files for Release mode
5523 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5525 * win32/common/libgstreamer.def:
5526 export gst_value_compare
5528 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5530 * plugins/elements/Makefile.am:
5531 * plugins/elements/gstelements.c:
5532 * plugins/elements/gstfdsink.c: (_do_init),
5533 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5534 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5535 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5536 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5537 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5538 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5539 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5540 * plugins/elements/gstfdsink.h:
5541 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5543 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5545 * docs/manual/advanced-dparams.xml:
5547 * docs/manual/advanced-position.xml:
5548 * docs/manual/basics-init.xml:
5549 * docs/manual/manual.xml:
5550 * docs/manual/titlepage.xml:
5552 * docs/pwg/titlepage.xml:
5553 cleanup xml (more to come)
5554 * libs/gst/controller/gstcontroller.c:
5557 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5559 * win32/vs6/grammar.dsp:
5560 add autogen of gstmarshal.c,h for Release mode
5562 2006-01-30 Wim Taymans <wim@fluendo.com>
5564 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5565 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5566 (gst_base_sink_handle_object), (gst_base_sink_event),
5567 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5568 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5569 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5570 (gst_base_sink_deactivate), (gst_base_sink_activate),
5571 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5572 (gst_base_sink_query), (gst_base_sink_change_state):
5573 Basesink cleanups, remove some old code.
5574 Handle the case where a subclass can preroll in the render
5575 method (mostly audiosinks).
5577 Remove some locks around variables that are now protected
5578 with the PREROLL_LOCK (clock_id, flushing, ..).
5579 Optimize position query some more, do correct locking.
5580 Remove old code to push queue in state change, this is not
5581 needed anymore since preroll blocks on all prerollable items
5583 Almost implemented as described in design doc.
5585 2006-01-30 Wim Taymans <wim@fluendo.com>
5587 * tests/check/gst/gstbin.c: (GST_START_TEST):
5588 Wait for refcount to settle down before checking.
5590 2006-01-30 Wim Taymans <wim@fluendo.com>
5592 * docs/design/part-element-sink.txt:
5593 Pseudo code overview of desired sink behaviour regarding
5596 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5597 * win32/vs6/grammar.dsp:
5598 fix some bugs in Release mode for autogenerated files
5600 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5601 * win32/common/libgstbase.def:
5602 * win32/common/libgstreamer.def:
5603 export some new symbols: gst_base_src_set_format,
5604 gst_iterator_next, gst_structure_set_valist
5606 2006-01-29 Julien MOUTTE <julien@moutte.net>
5608 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5609 Set pad functions unconditionally. Fixes #329105.
5611 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5613 add vs8 project files created by Sergey Scobich
5615 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5617 * gst/gstutils.c: (gst_element_unlink_pads):
5618 Don't leak pad references.
5620 * tests/check/elements/fakesink.c: (GST_START_TEST):
5621 * tests/check/generic/sinks.c: (GST_START_TEST):
5622 * tests/check/generic/states.c: (GST_START_TEST):
5623 * tests/check/gst/gstbin.c: (GST_START_TEST):
5624 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5625 * tests/check/gst/gstelement.c: (GST_START_TEST):
5626 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5627 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5628 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5629 Fix a bunch of leaks. Make generic/sinks.c
5630 use a bit less cpu by slowing the buffer rate
5631 between fakesrc and fakesink.
5633 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5635 * gst/gstelement.c: (gst_element_send_event):
5638 * gst/gstiterator.c:
5639 * gst/gstiterator.h:
5640 * gst/gstpad.c: (gst_pad_send_event):
5641 * gst/gststructure.c:
5645 * libs/gst/base/gstadapter.c:
5646 doc fixes, to link to function, just write gst_cool_function(), don't
5649 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5651 * plugins/elements/gsttee.c: (gst_tee_do_push),
5652 (gst_tee_handle_buffer):
5653 Always prefer an actual return value from a src
5654 pad in place of NOT_LINKED. This means we return
5655 WRONG_STATE when all src pads are WRONG_STATE
5656 instead of NOT_LINKED.
5658 Lock when replacing the last message to prevent
5659 racing with the get_property method.
5663 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5665 * tests/check/Makefile.am:
5666 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5668 Add a very simple check that should have caught the memleak I fixed
5669 last night (if not for the slice allocator hiding it)
5671 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5673 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5674 (gst_bin_remove_func), (gst_bin_handle_message_func),
5675 (bin_query_duration_fold), (bin_query_generic_fold):
5676 Clean up references to the clock provider when disposed or when
5677 handling a clock-lost message from it.
5679 Unref sinks when performing a query via gst_iterator_fold, as the
5680 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5682 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5683 (gst_clock_set_master):
5684 Drop our reference to the master clock, if any, when we are disposed.
5686 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5687 Chain up in dispose.
5689 2006-01-26 Wim Taymans <wim@fluendo.com>
5691 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5694 2006-01-26 Julien MOUTTE <julien@moutte.net>
5696 * plugins/elements/gsttee.c: (gst_tee_do_push),
5697 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5698 handles pad being NOT_LINKED or in WRONG_STATE.
5700 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5705 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5708 remove obsolete entry
5710 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5712 * docs/gst/gstreamer-sections.txt:
5713 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5714 (gst_bin_iterate_sources), (gst_bin_send_event):
5716 * gst/gstelement.c: (gst_element_send_event):
5718 * gst/gstpad.c: (gst_pad_send_event):
5719 added code for downstream events, reviewed docs in gstevent.c
5721 2006-01-25 Julien MOUTTE <julien@moutte.net>
5723 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5724 We only query position using the clock in the playing state.
5725 Query peer in the other cases.
5726 * win32/common/config.h: Updates.
5728 2006-01-24 Wim Taymans <wim@fluendo.com>
5730 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5731 A clock entry that is scheduled for the exact time of the
5732 clock is still in time.
5734 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5735 (gst_base_sink_do_sync):
5736 Add some more debug info.
5738 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5741 Add new vs7 project files and solution.
5743 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
5746 all files removed as they were out-dated.
5748 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5750 * docs/random/release:
5752 * gst/gstbin.c: (gst_bin_init):
5753 * gst/gstbus.c: (gst_bus_new):
5755 * gst/gstpipeline.c: (gst_pipeline_init):
5756 use gst_bus_new(), improve logging, fix docs
5757 * win32/common/config.h:
5758 update for cvs build
5760 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
5763 up required version of automake to 1.7
5765 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
5767 * win32/common/libgstreamer.def:
5768 export gst_buffer_is_metadata_writable
5770 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
5772 * docs/gst/gstreamer-sections.txt:
5774 Add gst_event_replace() (#327001)
5776 2006-01-20 Wim Taymans <wim@fluendo.com>
5778 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
5779 Make it actually compile too..
5781 2006-01-20 Wim Taymans <wim@fluendo.com>
5784 Clarify behaviour of _is_equal() when passing NULL parameters.
5786 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5788 Cleanups. Don't unref NULL caps.
5789 When setting the same caps, protect caps of the pad with
5791 Use full functionality of _is_equal() when comparing caps.
5793 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5795 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
5796 Don't loop infinitely if there are no buffers to present. Partially
5797 fixes #327197, but collectpads is just broken for reusing elements
5798 to do multiple encodes atm.
5800 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
5802 * tools/gst-inspect.c: (print_element_features):
5803 * tools/gst-xmlinspect.c: (main):
5804 URL_HANDLER is not a plugin feature we can search for in
5807 2006-01-19 Edward Hervey <edward@fluendo.com>
5809 * gst/gstelement.c: (gst_element_pads_activate):
5810 When activating, do src pads first, then sink pads.
5811 When de-activating, do sink pads first, then src pads.
5813 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5815 * docs/gst/gstreamer-sections.txt:
5816 Add gst_index_add_associationv to the docs
5818 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5823 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
5824 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
5825 Do some refactoring. Doesn't actually change functionality,
5826 but makes landing the DRAIN event easier later.
5828 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
5830 * docs/pwg/advanced-scheduling.xml:
5831 Update from 0.9.x to 0.10 API and make example a bit
5834 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5836 * docs/gst/gstreamer-sections.txt:
5837 Add gst_buffer_(is|make)_metadata_writable methods.
5839 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
5841 * docs/design/part-sparsestreams.txt:
5842 Update sparse streams doc, hopefully for greater clarity
5844 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
5846 * docs/design/part-events.txt:
5847 Remove mention of FILLER events.
5850 * docs/design/part-sparsestreams.txt:
5851 Write some things about using NEWSEGMENT to keep sparse streams
5854 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5856 * gst/gstbin.c: (gst_bin_dispose):
5857 Guard gst_object_unref call against a NULL object (dispose
5858 can theoretically be called multiple times).
5860 2006-01-18 Wim Taymans <wim@fluendo.com>
5862 * gst/gstbin.c: (gst_bin_element_set_state):
5863 * gst/gstclock.c: (gst_clock_id_wait):
5864 Added some more debug info.
5866 * libs/gst/base/gstadapter.c:
5869 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5870 (gst_base_sink_do_sync), (gst_base_sink_chain):
5871 Added some comments.
5873 2006-01-18 Wim Taymans <wim@fluendo.com>
5875 * tests/check/Makefile.am:
5876 * tests/check/elements/fakesink.c: (chain_async_buffer),
5877 (chain_async), (chain_async_return), (GST_START_TEST),
5878 (fakesink_suite), (main):
5879 Added fakesink test that checks prerolling and clipping
5882 * tests/check/gst/gstutils.c: (GST_START_TEST):
5883 Make check run faster so that buildbots don't timeout.
5885 2006-01-18 Wim Taymans <wim@fluendo.com>
5887 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5888 (gst_base_sink_do_sync):
5890 When the sink finishes blocking on the preroll buffer, it can
5891 immediatly render it instead of rendering when the next buffer
5894 2006-01-18 Wim Taymans <wim@fluendo.com>
5896 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
5897 (gst_base_sink_get_property), (gst_base_sink_do_sync),
5898 (gst_base_sink_chain):
5900 GST_ELEMENT_CLOCK and sync are protected with LOCK.
5901 Don't store _last_stop if the buffer is dropped.
5903 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
5905 * plugins/elements/gsttypefindelement.c:
5906 (gst_type_find_element_class_init):
5907 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
5908 object method handler that sets the caps on the pad and we want
5909 that to happen before we emit the signal (fixes e.g. feeding a
5910 plain text file to decodebin).
5912 2006-01-18 Christian Schaller <Christian@fluendo.com>
5914 * gst/gstplugin.c: Add MPL and Proprietary as license options
5916 2006-01-18 Andy Wingo <wingo@pobox.com>
5918 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
5919 symbol was exported before, it appears this was just an oversight.
5921 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
5923 * gst/gstindex.c (gst_index_add_associationv): Changed int in
5924 prototype to gint. OK since this prototype was not in the header.
5926 2006-01-17 Andy Wingo <wingo@pobox.com>
5928 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
5929 registry while we remove plugins.
5931 * tools/gst-inspect.c (print_element_info): Don't unref the
5932 factory arg, that should be the responsibility of whatever code
5933 received the ref. Fixes a double-free when called from
5934 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
5935 (main): Unref the factory if we have one.
5936 (print_element_list): No change -- relies on the
5937 plugin_feature_list_free to free the list of features.
5939 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
5941 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5942 (gst_buffer_make_metadata_writable):
5944 * libs/gst/base/gstbasetransform.c:
5945 (gst_base_transform_prepare_output_buf):
5946 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5947 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
5948 Replace gst_buffer_(make|is)_metadata_writable patch now
5949 that the release is out.
5951 2006-01-17 Andy Wingo <wingo@pobox.com>
5953 * gst/gstregistry.c: Reflow design comment. Update so as to speak
5954 in the present tense without reference to versions.
5956 * gst/gstregistry.c (gst_registry_add_plugin)
5957 (gst_registry_remove_plugin, gst_registry_remove_feature)
5958 (gst_registry_find_feature, gst_registry_get_feature_list)
5959 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
5960 (gst_registry_lookup, gst_registry_scan_path)
5961 (_gst_registry_remove_cache_plugins)
5962 (gst_registry_get_feature_list_by_plugin): Add argument
5965 === release 0.10.2 ===
5967 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
5970 releasing 0.10.2, "If man is five"
5972 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5976 * libs/gst/base/gstbasetransform.c:
5977 (gst_base_transform_prepare_output_buf):
5978 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
5979 * tests/check/gst/gstbuffer.c: (gst_test_suite):
5980 Back out patch until after the release.
5982 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5984 * gst/gstminiobject.c:
5985 Spelling fix in docs.
5986 * ChangeLog - remove conflict indicator
5988 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
5990 Reviewed By: Andy Wingo
5992 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
5993 (gst_buffer_make_metadata_writable):
5995 Add gst_buffer_(is|make)_metadata_writable as analogues of
5996 gst_buffer_(is|make)_writable.
5998 * libs/gst/base/gstbasetransform.c:
5999 (gst_base_transform_prepare_output_buf):
6000 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6001 Use name gst_buffer_(is|make)_metadata_writable functions.
6003 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6004 Test gst_buffer_(is|make)_metadata_writable
6008 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6010 * docs/manual/Makefile.am:
6011 don't do parallel make
6014 * win32/common/config.h.in:
6015 add generations for HOST_CPU and GST_MAJORMINOR
6016 * win32/common/config.h:
6017 commit generated result
6019 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6021 * docs/manual/appendix-integration.xml:
6022 Update GNOME integration section to use gst_init_get_option_group()
6023 instead of the old popt stuff (#322911). Also, GNOME applications
6024 should now use gconf*sink and gconf*src instead of the old gconf
6027 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6030 * docs/gst/gstreamer-docs.sgml:
6031 * docs/gst/gstreamer-sections.txt:
6032 * docs/libs/gstreamer-libs-sections.txt:
6033 add new API entries to the docs
6034 * libs/gst/controller/Makefile.am:
6035 * libs/gst/controller/gstcontroller.c:
6036 * libs/gst/controller/gstcontroller.h:
6037 * libs/gst/controller/gstcontrollerprivate.h:
6038 * libs/gst/controller/gsthelper.c:
6039 * libs/gst/controller/gstinterpolation.c:
6040 move private structs to private header
6042 gstreamer-0.7 -> gstreamer-0.10
6043 * tests/check/libs/struct_i386.h:
6044 remove private structs
6046 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6048 * plugins/indexers/Makefile.am:
6049 Fixes as part of #317048
6051 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6053 * plugins/indexers/Makefile.am:
6054 fix #316086 - compilation when mmap is missing
6056 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6058 * libs/gst/base/gstbasesink.c:
6059 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6060 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6061 * win32/common/config.h:
6062 added some defines GST_MAJORMINOR and HOST_CPU
6063 * win32/common/libgstbase.def:
6064 * win32/common/libgstreamer.def:
6065 added some exported functions.
6067 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6069 * libs/gst/controller/gstcontroller.c:
6070 (gst_controlled_property_set_interpolation_mode),
6071 (gst_controlled_property_new):
6072 * libs/gst/controller/gstcontroller.h:
6073 * libs/gst/controller/gstinterpolation.c:
6074 (interpolate_none_get_string_value_array):
6075 make G_TYPE_STRING controlable
6077 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6080 * tools/gst-feedback.1.in:
6081 * tools/gst-inspect.1.in:
6082 * tools/gst-launch.1.in:
6083 * tools/gst-md5sum.1.in:
6084 * tools/gst-typefind.1.in:
6085 * tools/gst-xmlinspect.1.in:
6086 * tools/gst-xmllaunch.1.in:
6087 cleanup man-pages, remove reference to gst-register, document env-vars
6089 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6091 * gst/gstbuffer.c: (gst_buffer_span):
6092 gst_buffer_span should copy the timestamp of the first buffer
6093 if they were both originally overlapping subbuffers of the
6094 same parent, using the same logic as the 'slow copy' case.
6096 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6098 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6099 Need to awaken ALL the pads when we pop a buffer, otherwise
6100 collectpads only works when there is 2 input streams.
6102 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6104 * docs/random/ensonic/media-device-daemon.txt:
6107 fix doc example, add clarification
6108 * tools/gst-launch.1.in:
6109 add initial info about GST_PLUGIN_PATH, needs more work
6111 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6113 * docs/manual/basics-bins.xml:
6114 * docs/manual/basics-elements.xml:
6115 * docs/manual/intro-basics.xml:
6116 Some more minor docs additions and updates.
6118 2006-01-11 Wim Taymans <wim@fluendo.com>
6120 * docs/manual/basics-bins.xml:
6121 * docs/manual/basics-elements.xml:
6122 Some small fixes as pointed out by Ser-ver on IRC.
6124 2006-01-10 Edward Hervey <edward@fluendo.com>
6126 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6127 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6128 the single-segment mode.
6130 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6132 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6134 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6135 (gst_base_src_perform_seek), (gst_base_src_send_event),
6136 (gst_base_src_set_property), (gst_base_src_get_property),
6137 (gst_base_src_loop), (gst_base_src_start),
6138 (gst_base_src_activate_push):
6139 * libs/gst/base/gstbasesrc.h:
6140 Name (private) union; makes Sun's Forte compiler happy (#324900).
6142 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6145 gst-register is gone.
6147 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6149 * gst/gstvalue.c: (_gst_value_initialize):
6150 make the G_TYPE_DATE instantiation work if debug is disabled
6152 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6154 * gst/gstmessage.c: (gst_message_parse_tag),
6155 (gst_message_parse_error), (gst_message_parse_warning):
6156 Don't crash when return location for error/warning debug
6157 string is NULL; add fact that return locations can be
6158 NULL to docs where appropriate.
6160 2006-01-05 Wim Taymans <wim@fluendo.com>
6162 * gst/gstplugin.c: (gst_plugin_load_file):
6163 Replace strdup by g_strdup.
6165 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6167 * docs/pwg/advanced-types.xml:
6170 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6172 submitted by: Abel Cheung
6176 Added Chinese (traditional) translation
6178 2006-01-04 Wim Taymans <wim@fluendo.com>
6180 * docs/manual/basics-pads.xml:
6181 * docs/plugins/Makefile.am:
6182 * docs/plugins/gstreamer-plugins-docs.sgml:
6183 * docs/plugins/gstreamer-plugins-sections.txt:
6184 * docs/pwg/advanced-clock.xml:
6185 * docs/pwg/advanced-scheduling.xml:
6186 * docs/pwg/advanced-types.xml:
6187 * plugins/elements/gstfdsink.c:
6188 * plugins/elements/gstfdsrc.c:
6189 * plugins/elements/gstfdsrc.h:
6190 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6191 * plugins/elements/gstidentity.h:
6192 * plugins/elements/gstqueue.h:
6193 * plugins/elements/gsttee.c:
6194 * plugins/elements/gsttee.h:
6195 * plugins/elements/gsttypefindelement.c:
6196 (gst_type_find_element_class_init):
6197 * plugins/elements/gsttypefindelement.h:
6198 Small updates to various docs.
6199 Added core plugins to docs.
6201 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6204 add a suppression for liboil's uninitialized variable
6206 2006-01-02 James Livingston <jrl at ids dot org dot au>
6208 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6211 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6212 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6213 compiler switch is being used (#325429).
6215 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6217 * gst/gstbin.c: (gst_bin_query):
6218 Disable duration query caching in bins until it gets
6219 fixed (see #324807).
6221 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6223 * tools/gst-inspect.c: (print_element_properties_info):
6224 Handle properties of POINTER and BOXED type.
6226 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6228 * gst/gst.c: (init_post):
6229 Init tags stuff and some other things before loading
6230 any static plugins (there may be other static plugins
6231 than just the GStreamer ones, and they may want to
6232 register their own tags or formats or whatever, and
6233 preferably without segfaulting).
6235 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6236 Print at least a warning in the debug logs if we drop a
6237 query just because we don't know how to adjust the value
6238 in the particular format.
6240 2005-12-24 David Schleef <ds@schleef.org>
6242 * tools/gstreamer-completion:
6243 Replacement for gst-complete written in sh and sed. Only
6244 completes names of features, but that's 90% of what I want
6245 it for. Properties are not available in registry.xml. (Maybe
6248 === release 0.10.1 ===
6250 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6253 releasing 0.10.1, "Nollaig chridheil"
6255 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6258 Add missing quote, should be make ERROR_CFLAGS="".
6260 2005-12-20 Wim Taymans <wim@fluendo.com>
6262 * docs/design/part-trickmodes.txt:
6263 More documentation on trickmodes.
6265 2005-12-20 Edward Hervey <edward@fluendo.com>
6267 * gst/gstcaps.c: (gst_static_caps_get_type):
6269 API addition: GST_TYPE_STATIC_CAPS
6270 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6271 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6272 * gst/gstpadtemplate.h:
6273 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6274 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6277 2005-12-18 Wim Taymans <wim@fluendo.com>
6279 * libs/gst/base/gstadapter.c:
6280 * libs/gst/base/gstadapter.h:
6281 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6282 (gst_base_sink_get_position):
6283 * libs/gst/base/gstbasesink.h:
6284 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6285 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6286 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6287 (gst_base_src_send_event), (gst_base_src_update_length),
6288 (gst_base_src_get_range), (gst_base_src_loop),
6289 (gst_base_src_start):
6290 * libs/gst/base/gstbasesrc.h:
6291 * libs/gst/base/gstbasetransform.h:
6292 * libs/gst/base/gstcollectpads.h:
6293 * libs/gst/base/gstpushsrc.c:
6294 * libs/gst/base/gstpushsrc.h:
6295 * libs/gst/dataprotocol/dataprotocol.c:
6296 * libs/gst/dataprotocol/dataprotocol.h:
6297 * libs/gst/net/gstnetclientclock.h:
6298 * libs/gst/net/gstnettimeprovider.h:
6299 Documentation updates.
6301 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6303 * docs/manual/basics-helloworld.xml:
6304 Remove superfluous closing bracket in helloworld example.
6306 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6308 * tools/gst-launch.1.in:
6309 Update gst-launch man page; add a section with useful
6310 environment variables. Fixes #323882.
6312 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6315 * gst/gst_private.h:
6316 change some char* into char[]
6318 2005-12-16 Wim Taymans <wim@fluendo.com>
6320 * gst/gstregistryxml.c: (load_feature):
6322 Don't use g_object_unref on GstObjects so that we avoid
6323 leaks on unsafe glibs.
6325 2005-12-16 Wim Taymans <wim@fluendo.com>
6327 * gst/gstbin.c: (gst_bin_recalc_state):
6330 2005-12-16 Wim Taymans <wim@fluendo.com>
6333 Added make forever target for check.
6335 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6337 * gst/gst.c: (init_post):
6338 make the registry cache file HOST_CPU-dependent
6340 2005-12-16 Andy Wingo <wingo@pobox.com>
6342 * plugins/elements/gstbufferstore.c
6343 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6346 * tests/check/gst/gstobject.c
6347 (test_fake_object_name_threaded_unique): Pay attention to
6348 g_list_sort return value.
6350 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6352 * tools/gst-feedback-m.m:
6353 Update for 0.9/0.10 (fixes #323870).
6355 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6357 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6358 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6360 * tests/check/gst/gstminiobject.c: (my_foo_init),
6361 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6362 (test_value_collection), (gst_mini_object_suite):
6363 Add test to ensure refcounts end up as expected when passing
6364 GstMiniObjects through g_object_get() and g_object_set().
6366 2005-12-14 Julien MOUTTE <julien@moutte.net>
6368 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6369 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6370 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6371 of collectpads. This version removes a lot of races without
6372 touching API/ABI. Yay !
6374 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6376 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6377 Don't allow activation of a srcpad in pull_range if it has no
6379 Change some debug statements to be a little clearer
6381 * plugins/elements/gsttypefindelement.c:
6382 (gst_type_find_handle_src_query):
6383 Check that we have a peer before executing queries thereupon.
6385 * tests/examples/metadata/read-metadata.c: (message_loop):
6386 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6387 immediately return us any available message with 0 timeout.
6389 2005-12-12 Michael Smith <msmith@fluendo.com>
6391 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6392 Don't unref factories after calling them.
6393 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6394 * plugins/elements/gsttypefindelement.c:
6395 (gst_type_find_element_chain):
6396 Free lists of factories after using them. Fixing typefinding memory
6399 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6401 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6402 (gst_plugin_feature_load):
6403 more meaningful debug output
6405 * tests/Makefile.am:
6406 * tests/old/examples/Makefile.am:
6407 make make distcheck happy again
6409 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6411 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6412 Catch the special case where we are operating chain-based,
6413 but the downstream peer pad has no chain function. Emit a
6414 custom error message in this case instead of letting the
6415 core generate one implying that this is some sort of core
6416 bug. It's not, it just means that whatever got plugged
6417 into the pipeline downstream when we announced the type
6418 can only operate pull-based, while our source can only
6419 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6420 Error string has not been marked for translation yet, as
6421 it probably needs some more work first.
6423 (gst_type_find_element_get_best_possibility):
6424 Add helper function to find the best of all available
6425 found possibilities that qualify given the min. threshold.
6427 (gst_type_find_element_handle_event):
6428 Fix the case where we get an EOS while still in TYPEFIND
6429 mode (we want to chose the best of all possible types,
6430 not just the first type that happens to be in our unsorted
6431 list of possible types).
6433 (gst_type_find_element_chain):
6434 Make sure we return GST_FLOW_ERROR when we errored out
6435 in stop_typefinding(); also, don't just find the best of
6436 all found type entries and then use the last examined
6437 type entry, but actually use the best entry.
6439 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6441 * tests/examples/typefind/typefind.c: (type_found):
6442 * tests/examples/xml/runxml.c: (xml_loaded):
6443 More gcc4 fixes and a mem leak fix.
6445 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6447 * tests/examples/xml/createxml.c: (object_saved):
6450 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6452 * tests/Makefile.am:
6453 enable the examples even more
6455 2005-12-12 Andy Wingo <wingo@pobox.com>
6457 * libs/gst/net/gstnettimeprovider.c
6458 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6459 (gst_net_time_provider_set_property)
6460 (gst_net_time_provider_get_property):
6461 API addition: Export "active" as a GObject property.
6462 (gst_net_time_provider_thread): Only respond to time queries if
6463 the time provider is active.
6465 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6466 NetTimeProvider, preserving binary compat.
6468 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6470 * tests/examples/controller/audio-example.c: (main):
6471 * tests/examples/launch/Makefile.am:
6472 convert comments again
6474 2005-12-12 Wim Taymans <wim@fluendo.com>
6476 * libs/gst/base/gstpushsrc.c:
6479 2005-12-12 Wim Taymans <wim@fluendo.com>
6481 * docs/libs/gstreamer-libs-sections.txt:
6482 Added new symbol to docs.
6484 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6485 (gst_base_src_init), (gst_base_src_set_format),
6486 (gst_base_src_default_query), (gst_base_src_query),
6487 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6488 (gst_base_src_perform_seek), (gst_base_src_send_event),
6489 (gst_base_src_default_event), (gst_base_src_event_handler),
6490 (gst_base_src_set_property), (gst_base_src_get_property),
6491 (gst_base_src_wait), (gst_base_src_do_sync),
6492 (gst_base_src_update_length), (gst_base_src_get_range),
6493 (gst_base_src_check_get_range), (gst_base_src_loop),
6494 (gst_base_src_default_negotiate), (gst_base_src_start),
6495 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6496 (gst_base_src_change_state):
6497 * libs/gst/base/gstbasesrc.h:
6498 Implement seeking to other formats than _BYTES.
6499 Implement more seeking methods correctly.
6501 Added query vmethod.
6502 Added do_seek vmethod to make life easier for subclasses
6504 API addition: gst_base_src_set_format()
6506 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6508 * tests/examples/Makefile.am:
6511 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6514 * docs/random/ensonic/media-device-daemon.txt:
6515 * tests/examples/controller/.cvsignore:
6516 * tests/examples/controller/Makefile.am:
6517 * tests/examples/controller/audio-example.c: (main):
6518 * tests/examples/helloworld/.cvsignore:
6519 * tests/examples/helloworld/Makefile.am:
6520 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6521 * tests/examples/launch/.cvsignore:
6522 * tests/examples/launch/Makefile.am:
6523 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6524 * tests/examples/metadata/.cvsignore:
6525 * tests/examples/metadata/Makefile.am:
6526 * tests/examples/metadata/read-metadata.c: (message_loop),
6527 (make_pipeline), (print_tag), (main):
6528 * tests/examples/queue/.cvsignore:
6529 * tests/examples/queue/Makefile.am:
6530 * tests/examples/queue/queue.c: (event_loop), (main):
6531 * tests/examples/typefind/.cvsignore:
6532 * tests/examples/typefind/Makefile.am:
6533 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6535 * tests/examples/xml/.cvsignore:
6536 * tests/examples/xml/Makefile.am:
6537 * tests/examples/xml/createxml.c: (object_saved), (main):
6538 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6539 * tests/old/examples/Makefile.am:
6540 * tests/old/examples/TODO:
6541 * tests/old/examples/controller/.cvsignore:
6542 * tests/old/examples/controller/Makefile.am:
6543 * tests/old/examples/controller/audio-example.c:
6544 * tests/old/examples/helloworld/.cvsignore:
6545 * tests/old/examples/helloworld/Makefile.am:
6546 * tests/old/examples/helloworld/helloworld.c:
6547 * tests/old/examples/launch/.cvsignore:
6548 * tests/old/examples/launch/Makefile.am:
6549 * tests/old/examples/launch/mp3parselaunch.c:
6550 * tests/old/examples/launch/mp3play:
6551 * tests/old/examples/manual/Makefile.am:
6552 * tests/old/examples/metadata/Makefile.am:
6553 * tests/old/examples/metadata/read-metadata.c:
6554 * tests/old/examples/queue/.cvsignore:
6555 * tests/old/examples/queue/Makefile.am:
6556 * tests/old/examples/queue/queue.c:
6557 * tests/old/examples/typefind/.cvsignore:
6558 * tests/old/examples/typefind/Makefile.am:
6559 * tests/old/examples/typefind/typefind.c:
6560 * tests/old/examples/xml/.cvsignore:
6561 * tests/old/examples/xml/Makefile.am:
6562 * tests/old/examples/xml/createxml.c:
6563 * tests/old/examples/xml/runxml.c:
6564 applied some simple fixing to some examples
6565 re-enabled the working examples
6567 2005-12-12 Wim Taymans <wim@fluendo.com>
6569 * gst/gstsegment.c: (gst_segment_init),
6570 (gst_segment_set_last_stop), (gst_segment_set_seek),
6571 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6572 (gst_segment_to_running_time):
6573 Added more documentation.
6574 Make sure the last_pos value is updated properly.
6575 Make sure to_stream_time and to_running_time don't
6576 operate on wrong values.
6578 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6581 2005-12-12 Michael Smith <msmith@fluendo.com>
6583 * plugins/elements/gsttypefindelement.c: (free_entry),
6584 (gst_type_find_element_chain):
6585 Now that we're not leaking factories, make sure we keep references
6586 to them while we need them.
6588 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6590 * tests/check/gst/struct_i386.h:
6591 ifdef out the XML structs
6593 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6595 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6596 floor is not needed, F is always positive; this obviates the
6597 need for adding -lm when building without libxml
6599 2005-12-12 Wim Taymans <wim@fluendo.com>
6601 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6602 Take current playback rate into account when reporting
6605 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6607 * docs/manual/mime-world.fig:
6608 Let's try this again, this time with a file that is
6609 actually in XFig format.
6611 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6613 * docs/manual/mime-world.fig:
6614 Add audioconvert element to diagram so that it
6615 matches the text and the code (fixes #319526).
6617 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6619 * docs/pwg/building-chainfn.xml:
6620 * docs/pwg/building-pads.xml:
6621 * docs/pwg/building-state.xml:
6622 * docs/pwg/other-source.xml:
6623 Update state change stuff for 0.10 (fixes #322969).
6625 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6627 * docs/manual/advanced-dataaccess.xml:
6628 * docs/manual/appendix-checklist.xml:
6629 * docs/manual/appendix-programs.xml:
6630 * docs/manual/basics-pads.xml:
6631 * docs/manual/highlevel-components.xml:
6632 * docs/manual/manual.xml:
6633 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6634 add converters in front of pipelines; remove curly
6635 brackets for threads stuff, they no longer exist; use
6636 GST_TYPE_FRACTION for framerates; update some pieces of
6637 code to 0.10, but there's plenty more to do.
6639 * docs/manual/appendix-porting.xml:
6640 Expand on asynchroneous state changes; s/0.9/0.10/;
6641 mention disappearance of gst_init_get_popt_table()
6644 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6646 * docs/faq/using.xml:
6647 Spider no longer exists, and neither does gst-launch-ext.
6648 Update examples to use decodebin and playbin and put
6649 converters in front of sinks (fixes #323726).
6651 2005-12-09 Michael Smith <msmith@fluendo.com>
6653 * plugins/elements/gsttypefindelement.c: (find_peek),
6654 (gst_type_find_element_chain):
6655 Fix leaking element factories in typefinding.
6656 Fix problem where we forgot about a probable type on non-seekable
6657 files, and thus later mis-typefound it.
6659 2005-12-09 Michael Smith <msmith@fluendo.com>
6661 * common/m4/gst-makecontext.m4:
6662 * common/m4/gst-mcsc.m4:
6664 * win32/common/config.h:
6665 * win32/common/config.h.in:
6666 Remove makecontext stuff; not used in 0.10 and causes problems on
6667 HPUX according to bug #322441
6669 2005-12-07 Wim Taymans <wim@fluendo.com>
6671 * tests/check/Makefile.am:
6672 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6674 * tests/check/libs/struct_i386.h:
6675 Added ABI check for libs
6677 2005-12-07 Wim Taymans <wim@fluendo.com>
6679 * tests/check/Makefile.am:
6680 And add the struct_i386.h to dist.
6682 2005-12-07 Wim Taymans <wim@fluendo.com>
6684 * tests/check/Makefile.am:
6685 * tests/check/gst/.cvsignore:
6686 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6688 * tests/check/gst/struct_i386.h:
6689 Added check for ABI compatibility.
6691 2005-12-07 Wim Taymans <wim@fluendo.com>
6693 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6694 (gst_fake_src_get_times), (gst_fake_src_create):
6695 Fix broken sync option, fixes #323259
6697 2005-12-07 Wim Taymans <wim@fluendo.com>
6702 * gst/gstcaps.c: (gst_caps_is_equal):
6703 Don't assert on NULL <--> X. Fixes #323260
6705 * gst/gstminiobject.c: (gst_mini_object_replace):
6706 If we're doing atomic operations, we might just as well use
6707 the proper way to get an atomic pointer.
6709 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6712 2005-12-07 Michael Smith <msmith@fluendo.com>
6714 * gst/parse/grammar.y:
6715 Remove handling of { } for threads.
6717 2005-12-06 David Schleef <ds@schleef.org>
6719 * libs/gst/base/gstbasetransform.c: speling fix.
6721 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6723 * docs/libs/tmpl/gstdataprotocol.sgml:
6724 * docs/random/omega/testing/gstobject.c:
6728 * gst/gstelementfactory.c:
6731 * gst/gstghostpad.c:
6733 * gst/gstpadtemplate.c:
6734 * gst/gstregistryxml.c:
6736 * gst/gsttagsetter.c:
6737 * gst/gsttypefind.c:
6739 * libs/gst/base/gstbasesrc.c:
6740 * libs/gst/net/gstnetclientclock.c:
6741 * libs/gst/net/gstnettimeprovider.c:
6742 * plugins/elements/gstfakesrc.c:
6743 * plugins/elements/gstfdsrc.c:
6744 * plugins/elements/gstfilesrc.c:
6745 * plugins/elements/gstidentity.c:
6746 * plugins/elements/gstqueue.c:
6747 * plugins/elements/gsttypefindelement.c:
6748 * plugins/indexers/gstfileindex.c:
6749 * plugins/indexers/gstmemindex.c:
6750 * tests/check/gst/gsttag.c:
6751 * tests/old/examples/cutter/cutter.c:
6752 * tests/old/examples/mixer/mixer.c:
6753 * tests/old/examples/xml/runxml.c: (main):
6754 * tests/old/testsuite/caps/normalisation.c:
6755 * tests/old/testsuite/debug/global.c:
6756 * tests/old/testsuite/parse/parse1.c:
6757 * tools/gst-xmlinspect.c:
6758 * win32/common/dirent.c:
6761 === release 0.10.0 ===
6763 2005-12-05 <thomas (at) apestaart (dot) org>
6766 releasing 0.10.0, "Maroilles"
6768 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6770 submitted by: Funda Wang <fundawang@linux.net.cn>
6774 added Chinese (Traditional) translation
6776 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6778 * docs/gst/gstreamer-sections.txt:
6779 * docs/libs/tmpl/gstdataprotocol.sgml:
6780 * docs/random/thomasvs/TODO:
6785 2005-12-05 Andy Wingo <wingo@pobox.com>
6787 patch by: Wim Taymans <wim@fluendo.com>
6789 * libs/gst/base/gstbasetransform.c
6790 (gst_base_transform_prepare_output_buf)
6791 (gst_base_transform_buffer_alloc):
6792 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
6793 alloc_buffer_and_set_caps.
6795 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
6796 set_caps on the source pad.
6797 (gst_pad_alloc_buffer_and_set_caps): New function, does what
6798 alloc_buffer used to do. Fixes #322874.
6800 * docs/gst/gstreamer-sections.txt:
6801 * docs/design/part-negotiation.txt:
6802 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
6805 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
6807 patch by: Sebastien Moutte
6810 * win32/common/config.h.in:
6811 * win32/vs6/libgstcontroller.dsp:
6814 2005-12-05 Wim Taymans <wim@fluendo.com>
6816 * gst/gstcaps.c: (gst_caps_is_equal):
6817 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6818 (gst_fake_src_create):
6819 Back out previous code changes, leave doc updates, file bugs
6822 2005-12-05 Wim Taymans <wim@fluendo.com>
6824 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6825 (gst_fake_src_get_times), (gst_fake_src_create):
6826 * plugins/elements/gstfakesrc.h:
6827 Fix broken sync code.
6829 2005-12-05 Wim Taymans <wim@fluendo.com>
6831 * gst/gstcaps.c: (gst_caps_is_equal):
6832 Comparing NULL against !NULL yields different caps, not a
6835 2005-12-05 Wim Taymans <wim@fluendo.com>
6837 * gst/gstpipeline.c:
6838 Fix small typo in docs.
6840 2005-12-05 Andy Wingo <wingo@pobox.com>
6842 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
6844 * gst/gst.c (init_post): remove hard-coded 0.9 location for
6845 registries/plugins with a MAJORMINOR one.
6846 (plugin_desc): Rename library from gstcoreleements to
6847 staticelements. Fixes #323222.
6849 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
6851 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
6852 Change debug category to 'collectpads' from 'collect_pads'
6855 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6857 patch by: Sebastien Moutte
6859 * libs/gst/controller/gstinterpolation.c:
6860 use convert function for uint64/double
6861 * win32/vs6/libgstcontroller.dsp:
6864 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
6866 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
6867 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
6869 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
6870 add tests that seem to show that the guint64/gdouble conversions
6873 2005-12-02 Wim Taymans <wim@fluendo.com>
6875 * gst/gstregistry.c: (gst_registry_add_path):
6876 * gst/gstregistry.h:
6877 * gst/gstregistryxml.c:
6880 2005-12-02 Wim Taymans <wim@fluendo.com>
6882 * gst/gstutils.c: (gst_util_uint64_scale_int64),
6883 (gst_util_uint64_scale_int):
6886 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6889 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
6892 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6895 * win32/common/config.h:
6896 * win32/vs6/gstreamer.dsw:
6897 * win32/vs6/libgstcoreelements.dsp:
6898 * win32/vs6/libgstelements.dsp:
6899 renamed core elements plugin
6901 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
6903 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
6905 do piece-wise major/minor comparison so 0.9 < 0.10
6906 also allow .exe extensions for tools
6908 2005-12-02 Michael Smith <msmith@fluendo.com>
6911 Escape a % to make gtkdoc happier; bug 322958.
6913 === release 0.9.7 ===
6915 2005-12-01 <thomas (at) apestaart (dot) org>
6918 releasing 0.9.7, "My Dog Has No Nose"
6920 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6922 * common/gst-xmlinspect.py:
6924 * docs/libs/tmpl/gstdataprotocol.sgml:
6925 * docs/random/release:
6944 * win32/common/config.h:
6945 * win32/common/config.h.in:
6946 * win32/vs6/gst_inspect.dsp:
6947 * win32/vs6/gst_launch.dsp:
6948 * win32/vs6/libgstbase.dsp:
6949 * win32/vs6/libgstelements.dsp:
6950 * win32/vs6/libgstreamer.dsp:
6951 * win32/vs7/GStreamer.vcproj:
6952 * win32/vs7/gst-inspect.vcproj:
6953 * win32/vs7/gst-launch.vcproj:
6954 * win32/vs7/libgstbase.vcproj:
6955 bump GST_MAJORMINOR to 0.10
6956 reset libtool version
6958 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6962 Added Bulgarian translation by (Alexander Shopov)
6964 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6966 * tests/check/gst/gstplugin.c:
6969 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6971 * common/gst-xmlinspect.py:
6972 * common/gtk-doc-plugins.mak:
6975 * docs/gst/Makefile.am:
6976 * docs/gst/gstreamer-docs.sgml:
6977 * docs/gst/gstreamer-sections.txt:
6978 * docs/gst/gstreamer.types:
6979 * docs/gst/gstreamer.types.in:
6980 * docs/plugins/Makefile.am:
6981 * docs/plugins/gstreamer-plugins-docs.sgml:
6982 * docs/plugins/gstreamer-plugins-sections.txt:
6983 * docs/plugins/gstreamer-plugins.types:
6984 * docs/plugins/inspect.stamp:
6985 * docs/plugins/inspect/plugin-coreelements.xml:
6986 * docs/plugins/inspect/plugin-coreindexers.xml:
6987 * docs/plugins/scanobj-build.stamp:
6988 * gstreamer.spec.in:
6989 * plugins/elements/Makefile.am:
6990 * plugins/elements/gstelements.c:
6991 * plugins/elements/gstfakesink.c:
6992 * plugins/elements/gstfakesrc.c:
6993 * plugins/elements/gstfilesink.c:
6994 * plugins/elements/gstfilesrc.c:
6995 * plugins/elements/gstqueue.c:
6996 * plugins/indexers/Makefile.am:
6997 * plugins/indexers/gstindexers.c:
6998 document core plugins in a separate document just like all the
7000 rename these plugins to something starting with core
7002 2005-12-01 Andy Wingo <wingo@pobox.com>
7004 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7005 padding here before, but it missed the commit.
7007 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7009 * libs/gst/controller/gstinterpolation.c:
7010 whitespace prices have crashed, we should feel free to use some now
7011 use gst_guint64_to_gdouble
7013 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7015 * libs/gst/controller/gstcontroller.c:
7016 * libs/gst/controller/gsthelper.c:
7017 * libs/gst/controller/gstinterpolation.c:
7018 * libs/gst/controller/lib.c:
7019 wrap config.h include
7021 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7023 * docs/gst/gstreamer-sections.txt:
7026 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7028 * plugins/elements/gstelements.c:
7029 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7030 (gst_fd_sink__class_init), (gst_fd_sink__init),
7031 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7032 (gst_fd_sink__get_property):
7033 * plugins/elements/gstfdsink.h:
7034 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7035 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7036 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7037 (gst_fd_src_unlock), (gst_fd_src_set_property),
7038 (gst_fd_src_get_property), (gst_fd_src_create),
7039 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7040 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7041 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7042 (gst_fd_src_uri_handler_init):
7043 * plugins/elements/gstfdsrc.h:
7044 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7047 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7049 * docs/gst/Makefile.am:
7050 * docs/gst/gstreamer.types.in:
7054 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7060 * gst/gstregistry.h:
7061 * tests/benchmarks/complexity.c:
7062 * tests/benchmarks/mass-elements.c:
7063 * tests/check/Makefile.am:
7064 * tools/Makefile.am:
7065 * tools/gst-inspect.c:
7066 * tools/gst-xmlinspect.c:
7067 various fixes to make
7068 --disable-nls --disable-registry --disable-loadsave
7069 --disable-parse --disable-gst-debug
7070 work and get the core .so down to 360444 bytes after stripping
7072 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7077 * docs/random/thomasvs/TODO:
7078 * tests/Makefile.am:
7082 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7084 * win32/GStreamer.vcproj:
7087 * win32/Makefile.inspect:
7088 * win32/Makefile.launch:
7089 * win32/Makefile.register:
7091 * win32/gst-inspect.vcproj:
7092 * win32/gst-launch.vcproj:
7093 * win32/gst-register.vcproj:
7094 * win32/gstelements.vcproj:
7095 * win32/gstgetbits.def:
7096 * win32/gstgetbits.vcproj:
7097 * win32/gstreamer-dbg.def:
7098 * win32/gstreamer.def:
7099 * win32/libgstbase.def:
7100 * win32/libgstbase.vcproj:
7101 * win32/link_oldruntime.c:
7106 move even more stuff, win32/ is nice and clean now
7108 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7110 * libs/gst/control/.cvsignore:
7115 * win32/gstbytestream.def:
7116 * win32/gstbytestream.vcproj:
7117 * win32/gstconfig.h:
7118 * win32/gstenumtypes.c:
7119 * win32/gstenumtypes.h:
7120 * win32/gstoptimalscheduler.vcproj:
7121 * win32/gstversion.h:
7123 * win32/testsuite/bins.vcproj:
7124 * win32/testsuite/bytestream.vcproj:
7125 * win32/testsuite/caps.vcproj:
7126 * win32/testsuite/cleanup.vcproj:
7127 * win32/testsuite/clock.vcproj:
7128 * win32/testsuite/debug.vcproj:
7129 * win32/testsuite/dlopen.vcproj:
7130 * win32/testsuite/dynparams.vcproj:
7131 * win32/testsuite/elements.vcproj:
7132 * win32/testsuite/ghostpads.vcproj:
7133 * win32/testsuite/indexers.vcproj:
7134 * win32/testsuite/negotiation.vcproj:
7135 * win32/testsuite/parse.vcproj:
7136 * win32/testsuite/plugin.vcproj:
7137 * win32/testsuite/refcounting.vcproj:
7138 * win32/testsuite/schedulers.vcproj:
7139 * win32/testsuite/states.vcproj:
7140 * win32/testsuite/tags.vcproj:
7141 * win32/testsuite/threads.vcproj:
7142 remove old win32 stuff that isn't maintained and should be
7145 2005-11-30 Andy Wingo <wingo@pobox.com>
7147 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7148 loading the gst.interfaces python module bork.
7150 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7151 available since GLib 2.2. Fixes #318031.
7153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7157 * check/Makefile.am:
7158 * check/elements/.cvsignore:
7159 * check/elements/fakesrc.c:
7160 * check/elements/fdsrc.c:
7161 * check/elements/identity.c:
7162 * check/generic/.cvsignore:
7163 * check/generic/states.c:
7164 * check/gst-libs/.cvsignore:
7165 * check/gst-libs/controller.c:
7166 * check/gst-libs/gdp.c:
7167 * check/gst/.cvsignore:
7168 * check/gst/capslist.h:
7170 * check/gst/gstbin.c:
7171 * check/gst/gstbuffer.c:
7172 * check/gst/gstbus.c:
7173 * check/gst/gstcaps.c:
7174 * check/gst/gstelement.c:
7175 * check/gst/gstevent.c:
7176 * check/gst/gstghostpad.c:
7177 * check/gst/gstiterator.c:
7178 * check/gst/gstmessage.c:
7179 * check/gst/gstminiobject.c:
7180 * check/gst/gstobject.c:
7181 * check/gst/gstpad.c:
7182 * check/gst/gstpipeline.c:
7183 * check/gst/gstplugin.c:
7184 * check/gst/gstsegment.c:
7185 * check/gst/gststructure.c:
7186 * check/gst/gstsystemclock.c:
7187 * check/gst/gsttag.c:
7188 * check/gst/gstutils.c:
7189 * check/gst/gstvalue.c:
7190 * check/net/.cvsignore:
7191 * check/net/gstnetclientclock.c:
7192 * check/net/gstnettimeprovider.c:
7193 * check/pipelines/.cvsignore:
7194 * check/pipelines/cleanup.c:
7195 * check/pipelines/simple_launch_lines.c:
7196 * check/pipelines/stress.c:
7197 * check/states/.cvsignore:
7198 * check/states/sinks.c:
7200 * examples/Makefile.am:
7201 * examples/appreader/.cvsignore:
7202 * examples/appreader/Makefile.am:
7203 * examples/appreader/appreader.c:
7204 * examples/controller/.cvsignore:
7205 * examples/controller/Makefile.am:
7206 * examples/controller/audio-example.c:
7207 * examples/cutter/.cvsignore:
7208 * examples/cutter/Makefile.am:
7209 * examples/cutter/cutter.c:
7210 * examples/cutter/cutter.h:
7211 * examples/events/Makefile.am:
7212 * examples/events/seek.c:
7213 * examples/helloworld/.cvsignore:
7214 * examples/helloworld/Makefile.am:
7215 * examples/helloworld/helloworld.c:
7216 * examples/helloworld2/.cvsignore:
7217 * examples/helloworld2/Makefile.am:
7218 * examples/helloworld2/helloworld2.c:
7219 * examples/launch/.cvsignore:
7220 * examples/launch/Makefile.am:
7221 * examples/launch/mp3parselaunch.c:
7222 * examples/launch/mp3play:
7223 * examples/manual/.cvsignore:
7224 * examples/manual/Makefile.am:
7225 * examples/manual/extract.pl:
7226 * examples/metadata/Makefile.am:
7227 * examples/metadata/read-metadata.c:
7228 * examples/mixer/.cvsignore:
7229 * examples/mixer/Makefile.am:
7230 * examples/mixer/mixer.c:
7231 * examples/mixer/mixer.h:
7232 * examples/pingpong/.cvsignore:
7233 * examples/pingpong/Makefile.am:
7234 * examples/pingpong/pingpong.c:
7235 * examples/plugins/.cvsignore:
7236 * examples/plugins/Makefile.am:
7237 * examples/plugins/example.c:
7238 * examples/plugins/example.h:
7239 * examples/pwg/.cvsignore:
7240 * examples/pwg/Makefile.am:
7241 * examples/pwg/extract.pl:
7242 * examples/queue/.cvsignore:
7243 * examples/queue/Makefile.am:
7244 * examples/queue/queue.c:
7245 * examples/queue2/.cvsignore:
7246 * examples/queue2/Makefile.am:
7247 * examples/queue2/queue2.c:
7248 * examples/queue3/.cvsignore:
7249 * examples/queue3/Makefile.am:
7250 * examples/queue3/queue3.c:
7251 * examples/queue4/.cvsignore:
7252 * examples/queue4/Makefile.am:
7253 * examples/queue4/queue4.c:
7254 * examples/retag/.cvsignore:
7255 * examples/retag/Makefile.am:
7256 * examples/retag/retag.c:
7257 * examples/retag/transcode.c:
7258 * examples/thread/.cvsignore:
7259 * examples/thread/Makefile.am:
7260 * examples/thread/thread.c:
7261 * examples/typefind/.cvsignore:
7262 * examples/typefind/Makefile.am:
7263 * examples/typefind/typefind.c:
7264 * examples/xml/.cvsignore:
7265 * examples/xml/Makefile.am:
7266 * examples/xml/createxml.c:
7267 * examples/xml/runxml.c:
7268 * tests/Makefile.am:
7269 * tests/check/Makefile.am:
7270 * testsuite/.cvsignore:
7271 * testsuite/Makefile.am:
7273 * testsuite/caps/.cvsignore:
7274 * testsuite/caps/Makefile.am:
7275 * testsuite/caps/app_fixate.c:
7276 * testsuite/caps/audioscale.c:
7277 * testsuite/caps/caps.c:
7278 * testsuite/caps/caps.h:
7279 * testsuite/caps/caps_strings:
7280 * testsuite/caps/compatibility.c:
7281 * testsuite/caps/deserialize.c:
7282 * testsuite/caps/enumcaps.c:
7283 * testsuite/caps/eratosthenes.c:
7284 * testsuite/caps/filtercaps.c:
7285 * testsuite/caps/fixed.c:
7286 * testsuite/caps/fraction-convert.c:
7287 * testsuite/caps/fraction-multiply-and-zero.c:
7288 * testsuite/caps/intersect2.c:
7289 * testsuite/caps/intersection.c:
7290 * testsuite/caps/normalisation.c:
7291 * testsuite/caps/random.c:
7292 * testsuite/caps/renegotiate.c:
7293 * testsuite/caps/sets.c:
7294 * testsuite/caps/simplify.c:
7295 * testsuite/caps/string-conversions.c:
7296 * testsuite/caps/structure.c:
7297 * testsuite/caps/subtract.c:
7298 * testsuite/caps/union.c:
7299 * testsuite/debug/.cvsignore:
7300 * testsuite/debug/Makefile.am:
7301 * testsuite/debug/category.c:
7302 * testsuite/debug/commandline.c:
7303 * testsuite/debug/global.c:
7304 * testsuite/debug/output.c:
7305 * testsuite/debug/printf_extension.c:
7306 * testsuite/dlopen/.cvsignore:
7307 * testsuite/dlopen/Makefile.am:
7308 * testsuite/dlopen/dlopen_gst.c:
7309 * testsuite/dlopen/loadgst.c:
7310 * testsuite/elements/.cvsignore:
7311 * testsuite/elements/Makefile.am:
7312 * testsuite/elements/gst-inspect-check.in:
7313 * testsuite/elements/struct_i386.h:
7314 * testsuite/elements/struct_size.c:
7315 * testsuite/indexers/.cvsignore:
7316 * testsuite/indexers/Makefile.am:
7317 * testsuite/indexers/cache1.c:
7318 * testsuite/indexers/indexdump.c:
7319 * testsuite/parse/.cvsignore:
7320 * testsuite/parse/Makefile.am:
7321 * testsuite/parse/parse1.c:
7322 * testsuite/parse/parse2.c:
7323 * testsuite/plugin/.cvsignore:
7324 * testsuite/plugin/Makefile.am:
7325 * testsuite/plugin/README:
7326 * testsuite/plugin/dynamic.c:
7327 * testsuite/plugin/linked.c:
7328 * testsuite/plugin/loading.c:
7329 * testsuite/plugin/registry.c:
7330 * testsuite/plugin/static.c:
7331 * testsuite/plugin/static2.c:
7332 * testsuite/plugin/testplugin.c:
7333 * testsuite/plugin/testplugin2.c:
7334 * testsuite/plugin/testplugin2_s.c:
7335 * testsuite/plugin/testplugin_s.c:
7336 * testsuite/refcounting/.cvsignore:
7337 * testsuite/refcounting/Makefile.am:
7338 * testsuite/refcounting/bin.c:
7339 * testsuite/refcounting/element.c:
7340 * testsuite/refcounting/element_pad.c:
7341 * testsuite/refcounting/mainloop.c:
7342 * testsuite/refcounting/mem.c:
7343 * testsuite/refcounting/mem.h:
7344 * testsuite/refcounting/object.c:
7345 * testsuite/refcounting/pad.c:
7346 * testsuite/refcounting/sched.c:
7347 * testsuite/refcounting/thread.c:
7348 * testsuite/states/.cvsignore:
7349 * testsuite/states/Makefile.am:
7350 * testsuite/states/bin.c:
7351 * testsuite/states/locked.c:
7352 * testsuite/states/parent.c:
7353 * testsuite/threads/.cvsignore:
7354 * testsuite/threads/159566.c:
7355 * testsuite/threads/159852.c:
7356 * testsuite/threads/Makefile.am:
7357 * testsuite/threads/queue.c:
7358 * testsuite/threads/signals.c:
7359 * testsuite/threads/staticrec.c:
7360 * testsuite/threads/thread.c:
7361 * testsuite/threads/threadb.c:
7362 * testsuite/threads/threadc.c:
7363 * testsuite/threads/threadd.c:
7364 * testsuite/threads/threade.c:
7365 * testsuite/threads/threadf.c:
7366 * testsuite/threads/threadg.c:
7367 * testsuite/threads/threadh.c:
7368 * testsuite/threads/threadi.c:
7369 move all of these under tests
7371 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7374 * tests/Makefile.am:
7377 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7379 * docs/gst/gstreamer-sections.txt:
7380 * tests/sched/.cvsignore:
7381 * tests/sched/Makefile.am:
7382 * tests/sched/cases/(fs-fs).xml:
7383 * tests/sched/cases/(fs-i-fs).xml:
7384 * tests/sched/cases/(fs-i-i-fs).xml:
7385 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7386 * tests/sched/dynamic-pipeline.c:
7387 * tests/sched/interrupt1.c:
7388 * tests/sched/interrupt2.c:
7389 * tests/sched/interrupt3.c:
7390 * tests/sched/runtestcases:
7391 * tests/sched/runxml.c:
7392 * tests/sched/sched-stress.c:
7393 * tests/sched/sort.c:
7394 * tests/sched/testcases:
7395 * tests/sched/testcases1.tc:
7396 * tests/seeking/.cvsignore:
7397 * tests/seeking/Makefile.am:
7398 * tests/seeking/seeking1.c:
7399 * tests/threadstate/.cvsignore:
7400 * tests/threadstate/Makefile.am:
7401 * tests/threadstate/test1.c:
7402 * tests/threadstate/test2.c:
7403 * tests/threadstate/threadstate1.c:
7404 * tests/threadstate/threadstate2.c:
7405 * tests/threadstate/threadstate3.c:
7406 * tests/threadstate/threadstate4.c:
7407 * tests/threadstate/threadstate5.c:
7408 remove obsolete tests
7410 * tests/bench-complexity.scm:
7411 * tests/bench-mass_elements.scm:
7412 * tests/complexity.c:
7413 * tests/complexity.gnuplot:
7414 * tests/instantiate/.cvsignore:
7415 * tests/instantiate/Makefile.am:
7416 * tests/instantiate/caps.c:
7417 * tests/mass_elements.c:
7418 * tests/network-clock-utils.scm:
7419 * tests/network-clock.scm:
7421 First pass at cleaning up tests/ dir before moving the rest
7422 Combined with CVS surgery
7424 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7427 queue has moved, update
7429 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7431 * docs/gst/gstreamer-sections.txt:
7432 remove double entries from the docs
7433 * gst/gst_private.h:
7434 * gst/gstinfo.c: (_gst_debug_init):
7435 remove the THREAD debug category
7439 * docs/gst/gstreamer.types:
7440 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7441 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7442 completely move queue and fix up debugging categories
7444 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7446 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7447 make initialization portable, using LL is not
7449 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7451 * win32/common/gstconfig.h:
7454 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7456 * win32/common/libgstreamer.def:
7457 rename symbols; sort base section
7459 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7461 * gst/gstclock.c: (do_linear_regression):
7462 remove crack non-portable handrolled DEBUG macro
7464 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7466 * docs/random/release:
7468 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7469 (gst_object_flags_get_type), (register_gst_bin_flags),
7470 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7471 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7472 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7473 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7474 (gst_caps_flags_get_type), (register_gst_clock_return),
7475 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7476 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7477 (gst_clock_flags_get_type), (register_gst_state),
7478 (gst_state_get_type), (register_gst_state_change_return),
7479 (gst_state_change_return_get_type), (register_gst_state_change),
7480 (gst_state_change_get_type), (register_gst_element_flags),
7481 (gst_element_flags_get_type), (register_gst_core_error),
7482 (gst_core_error_get_type), (register_gst_library_error),
7483 (gst_library_error_get_type), (register_gst_resource_error),
7484 (gst_resource_error_get_type), (register_gst_stream_error),
7485 (gst_stream_error_get_type), (register_gst_event_type_flags),
7486 (gst_event_type_flags_get_type), (register_gst_event_type),
7487 (gst_event_type_get_type), (register_gst_seek_type),
7488 (gst_seek_type_get_type), (register_gst_seek_flags),
7489 (gst_seek_flags_get_type), (register_gst_format),
7490 (gst_format_get_type), (register_gst_index_certainty),
7491 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7492 (gst_index_entry_type_get_type),
7493 (register_gst_index_lookup_method),
7494 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7495 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7496 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7497 (gst_index_flags_get_type), (register_gst_debug_level),
7498 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7499 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7500 (gst_iterator_result_get_type), (register_gst_iterator_item),
7501 (gst_iterator_item_get_type), (register_gst_message_type),
7502 (gst_message_type_get_type), (register_gst_mini_object_flags),
7503 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7504 (gst_pad_link_return_get_type), (register_gst_flow_return),
7505 (gst_flow_return_get_type), (register_gst_activate_mode),
7506 (gst_activate_mode_get_type), (register_gst_pad_direction),
7507 (gst_pad_direction_get_type), (register_gst_pad_flags),
7508 (gst_pad_flags_get_type), (register_gst_pad_presence),
7509 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7510 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7511 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7512 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7513 (gst_plugin_flags_get_type), (register_gst_rank),
7514 (gst_rank_get_type), (register_gst_query_type),
7515 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7516 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7517 (gst_tag_flag_get_type), (register_gst_task_state),
7518 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7519 (gst_alloc_trace_flags_get_type),
7520 (register_gst_type_find_probability),
7521 (gst_type_find_probability_get_type), (register_gst_uri_type),
7522 (gst_uri_type_get_type), (register_gst_parse_error),
7523 (gst_parse_error_get_type):
7524 * win32/common/gstenumtypes.h:
7525 * win32/common/gstversion.h:
7526 update visual studio generated files
7528 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7530 * win32/vs6/libgstbase.dsp:
7531 * win32/vs6/libgstelements.dsp:
7532 update project files for new locations
7534 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7539 reinstate and update
7544 * docs/random/LICENSE:
7547 2005-11-30 Edward Hervey <edward@fluendo.com>
7549 * gst/gsttypefind.c: (gst_type_find_register):
7550 * gst/gsttypefind.h:
7551 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7552 (gst_type_find_factory_dispose):
7553 * gst/gsttypefindfactory.h:
7554 Fix memory leak in GstTypeFindFactory.
7556 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7559 * plugins/elements/Makefile.am:
7560 * plugins/elements/gstelements.c:
7561 * plugins/elements/gstqueue.c:
7562 move queue from core to the elements plugin
7564 2005-11-29 Andy Wingo <wingo@pobox.com>
7566 * libs/gst/base/gstbasetransform.h:
7567 * libs/gst/base/gstbasesrc.h:
7568 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7570 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7571 of pointers by which to pad very extensible base classes (like the
7572 ones in libs/gst/base).
7574 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7576 * docs/gst/gstreamer-docs.sgml:
7577 * docs/gst/gstreamer-sections.txt:
7578 * docs/libs/gstreamer-libs-docs.sgml:
7579 * docs/libs/gstreamer-libs-sections.txt:
7580 moving documentation from core to lib
7582 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7584 * check/Makefile.am:
7586 * docs/gst/Makefile.am:
7588 * gst/base/.cvsignore:
7589 * gst/base/Makefile.am:
7591 * gst/base/gstadapter.c:
7592 * gst/base/gstadapter.h:
7593 * gst/base/gstbasesink.c:
7594 * gst/base/gstbasesink.h:
7595 * gst/base/gstbasesrc.c:
7596 * gst/base/gstbasesrc.h:
7597 * gst/base/gstbasetransform.c:
7598 * gst/base/gstbasetransform.h:
7599 * gst/base/gstcollectpads.c:
7600 * gst/base/gstcollectpads.h:
7601 * gst/base/gstpushsrc.c:
7602 * gst/base/gstpushsrc.h:
7603 * gst/base/gsttypefindhelper.c:
7604 * gst/base/gsttypefindhelper.h:
7605 * gst/check/Makefile.am:
7606 * gst/check/gstcheck.c:
7607 * gst/check/gstcheck.h:
7608 * gst/net/Makefile.am:
7610 * gst/net/gstnetclientclock.c:
7611 * gst/net/gstnetclientclock.h:
7612 * gst/net/gstnettimepacket.c:
7613 * gst/net/gstnettimepacket.h:
7614 * gst/net/gstnettimeprovider.c:
7615 * gst/net/gstnettimeprovider.h:
7616 * libs/gst/Makefile.am:
7617 * libs/gst/base/Makefile.am:
7618 * libs/gst/base/gstbasetransform.c:
7619 * libs/gst/check/Makefile.am:
7620 * plugins/elements/Makefile.am:
7622 CVS surgery + support to move base, check, and net out of gst
7625 2005-11-29 Andy Wingo <wingo@pobox.com>
7627 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7629 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7632 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7634 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7636 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7638 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7639 padding; reduces object size by about 30%. We don't expect
7640 anything else to go into gstobject.
7642 * gst/gstminiobject.h (struct _GstMiniObject)
7643 (struct _GstMiniObjectClass): Only one pointer of padding; the
7644 payload is only a pointer and two ints anyway. For the class there
7645 are only two methods as well.
7647 * gst/gstelement.h (struct _GstElementClass): Removed
7648 the state_changed signal callback, it is not used.
7650 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7652 * docs/gst/gstreamer.types:
7653 fix includes, though they are a little dinky
7655 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7657 * check/Makefile.am:
7658 look in the right place for elements, a lot more chance of
7661 remove indexers and elements subdirs
7662 * plugins/Makefile.am:
7663 make indexers conditional
7665 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7669 * plugins/elements/Makefile.am:
7670 * plugins/elements/gstcapsfilter.c:
7671 * plugins/elements/gstfilesink.c:
7672 * plugins/elements/gstfilesrc.c:
7673 * plugins/elements/gstidentity.c:
7674 * plugins/indexers/Makefile.am:
7675 do CVS surgery and related build fixery to move elements
7676 and indexers in a new gstreamer/plugins directory, out of the
7679 2005-11-29 Andy Wingo <wingo@pobox.com>
7681 * check/Makefile.am:
7682 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7683 * pkgconfig/gstreamer-net.pc.in:
7684 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7687 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7689 * tools/Makefile.am:
7690 * tools/gst-complete.1.in:
7691 * tools/gst-complete.c:
7692 * tools/gst-compprep.1.in:
7693 * tools/gst-compprep.c:
7694 removing -compprep and -complete
7696 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7698 * gst/gstevent.c: (gst_event_new_new_segment),
7699 (gst_event_parse_new_segment):
7701 fix #320529 - clean up new_segment API and structure.
7702 Let's hope everyone was using the methods, and not the structure.
7704 2005-11-29 Edward Hervey <edward@fluendo.com>
7706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7707 (gst_base_sink_event), (gst_base_sink_do_sync),
7708 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7709 Properly handle non GST_FORMAT_TIME segment
7710 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7711 Properly handle non GST_FORMAT_TIME segment
7713 This function is valid if the accumulator is 0 and the format
7714 is different from the requested format.
7716 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7718 * docs/gst/gstreamer-sections.txt:
7719 Add gst_query_new_seeking and gst_query_parse_seeking to the
7722 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7724 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
7725 Treat a pad alloc with new caps the same as if we were not
7726 negotiated, in order to allow a changing upstream output
7727 to produce a new format of data.
7729 2005-11-29 Edward Hervey <edward@fluendo.com>
7731 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7732 (gst_base_transform_event), (gst_base_transform_eventfunc):
7733 The event virtual method is now properly implemented, with a default
7735 Sub classes should call the parent_class event method. They should
7736 return FALSE if they had a problem handling the given event, or don't
7737 want GstBaseTransform to send that even downstream
7738 * gst/elements/gstidentity.c: (gst_identity_class_init),
7739 (gst_identity_init), (gst_identity_event),
7740 (gst_identity_transform_ip), (gst_identity_set_property),
7741 (gst_identity_get_property):
7742 * gst/elements/gstidentity.h:
7743 Added the single-segment boolean property.
7744 If set to TRUE, it will output a single segment of data, starting from
7745 0, will eat up all incoming newsegment, and modify the timestamp of the
7748 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
7750 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
7751 Don't ref NULL target pad (#322751). Improve docs.
7753 2005-11-29 Michael Smith <msmith@fluendo.com>
7755 * gst/gstregistryxml.c: (load_plugin):
7756 Don't crash if we failed to load a feature from a plugin.
7758 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7760 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7762 use more check API and less GLib API
7764 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7767 don't run checks if we don't have check
7769 remove the registry when running make torture
7770 * docs/gst/gstreamer-sections.txt:
7771 remove second multiply
7772 * gst/gstqueue.c: (gst_queue_loop):
7773 fix a compile warning when disabling debug
7775 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7778 Hey! Let's print the pad name if the pointer != NULL instead
7779 of when it == NULL :-)
7781 2005-11-28 Wim Taymans <wim@fluendo.com>
7783 * check/gst/gstutils.c: (GST_START_TEST):
7784 Updated check, add some scaling accuracy checking code.
7786 * gst/gstutils.c: (gst_util_div128_64),
7787 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
7788 (gst_util_uint64_scale_int):
7789 Fix 6 times faster division code. Optimize for common
7790 1/1 and less common X/1 cases.
7792 2005-11-28 Wim Taymans <wim@fluendo.com>
7794 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7797 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
7798 (do_linear_regression), (gst_clock_add_observation):
7800 Release lock when the clock cannot be slaved.
7801 Catch the case where the regression returned an invalid denominator.
7803 * gst/gstutils.c: (gst_util_div128_64_iterate),
7804 (gst_util_div128_64), (gst_util_uint64_scale_int64),
7805 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7806 Add protentially more performant non-iterative 128/64 divide function
7807 that unfortunatly does not work yet.
7808 Shortcut the trivial 0/X = 0 case.
7809 Remove the warnings on overflow.
7811 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7813 * gst/gstplugin.c: (gst_plugin_register_func):
7814 everything causing a plugin not to load should be at least a WARNING
7816 2005-11-28 Stefan Kost <ensonic@users.sf.net>
7818 * docs/random/ensonic/dparams.txt:
7819 some TODOs for the next dev cycle
7820 * libs/gst/controller/gstcontroller.c:
7821 (gst_controlled_property_set_interpolation_mode),
7822 (gst_controlled_property_new):
7823 * libs/gst/controller/gstcontroller.h:
7824 use base type to assign acccessor functions
7826 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7828 * check/Makefile.am:
7829 Oops, that should have been top_srcdir
7831 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
7833 * check/Makefile.am:
7834 * check/elements/fdsrc.c: (GST_START_TEST):
7835 Use a cmdline define to specify the location of a file to use for
7836 testing, to avoid breaking distcheck.
7838 2005-11-28 Andy Wingo <wingo@pobox.com>
7840 * gst/gstpad.c (fixate_value): Use array functions for arrays.
7842 2005-11-28 Edward Hervey <edward@fluendo.com>
7844 * tools/gst-launch.c: (main):
7845 Clarify the output strings, makes it easier to translate.
7848 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
7851 don't try and build net if we don't even have <sys/socket.h>
7853 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
7855 * check/Makefile.am:
7856 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
7857 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
7858 Add tests for fdsrc seekability
7860 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
7861 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
7862 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
7863 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
7864 * gst/elements/gstfdsrc.h:
7865 fdsrc should not be a 'live' source.
7866 Implement seeking on seekable fd's.
7868 * gst/gstquery.c: (gst_query_new_seeking),
7869 (gst_query_parse_seeking):
7871 Implement SEEKING query functions:
7872 *_new_seeking and *_parse_seeking
7874 2005-11-27 Stefan Kost <ensonic@users.sf.net>
7876 * gst/gstelement.c: (gst_element_dispose):
7879 * gst/gstiterator.c:
7880 * gst/gststructure.c:
7883 * libs/gst/controller/gstcontroller.c:
7884 (gst_controlled_property_set_interpolation_mode):
7885 * libs/gst/controller/gstcontroller.h:
7886 * libs/gst/controller/gstinterpolation.c:
7887 (interpolate_none_get_enum_value_array):
7888 support controlling enums
7890 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7893 Improve documentation for gst_value_union().
7896 Change return value for union, intersect and subtract functions
7897 from gint to gboolean.
7899 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
7901 * gst/gstvalue.c: (gst_value_serialize_any_list),
7902 (gst_value_transform_any_list_string),
7903 (gst_value_deserialize_list), (gst_value_deserialize_array),
7904 (gst_value_set_int_range), (gst_value_deserialize_int_range),
7905 (gst_value_set_double_range), (gst_value_deserialize_double_range),
7906 (gst_value_set_fraction_range_full),
7907 (gst_value_deserialize_fraction_range),
7908 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
7909 (gst_value_deserialize_boolean),
7910 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
7911 (gst_value_serialize_float), (gst_value_deserialize_float),
7912 (gst_string_wrap), (gst_value_deserialize_string),
7913 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
7914 (gst_value_union_int_range_int_range),
7915 (gst_value_intersect_int_range_int_range),
7916 (gst_value_intersect_double_range_double_range),
7917 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
7918 (gst_value_subtract_int_range_int_range),
7919 (gst_value_subtract_double_double_range),
7920 (gst_value_subtract_double_range_double_range),
7921 (gst_value_deserialize_fraction):
7923 Use gint, gdouble and gchar in our API instead of int, double and
7924 char (and make usage in gstvalue.c more consistent).
7926 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7928 * check/Makefile.am:
7929 * libs/gst/controller/Makefile.am:
7930 * libs/gst/dataprotocol/Makefile.am:
7931 fix up Makefile.am and remove GST_ENABLE_NEW
7933 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7937 * gst/base/Makefile.am:
7938 * gst/check/Makefile.am:
7939 * gst/elements/Makefile.am:
7940 * gst/net/Makefile.am:
7941 update LDFLAGS use some more
7943 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
7945 * common/m4/gst-doc.m4:
7948 2005-11-26 Edward Hervey <edward@fluendo.com>
7950 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
7951 This shouldn't issue a g_warning since it returns NULL if it
7952 couldn't find the plugin, and all functions using this behave
7953 properly on a NULL return. Switching to a GST_WARNING.
7955 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
7957 * gst/gstbin.c: (gst_bin_handle_message_func):
7958 Don't leak clock messages.
7960 2005-11-25 Wim Taymans <wim@fluendo.com>
7962 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7963 (gst_util_uint64_scale_int):
7964 Optimisations, remove unneeded vars.
7966 2005-11-25 Wim Taymans <wim@fluendo.com>
7968 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7969 Added more checks for the high precision uint64 cases.
7971 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7972 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
7973 Implement high precision (guint64 * guint64) / guint64.
7975 2005-11-24 Wim Taymans <wim@fluendo.com>
7977 * gst/base/gstbasesrc.c: (gst_base_src_query):
7978 Fix wrong percentage query.
7980 * gst/gstutils.c: (gst_util_uint64_scale),
7981 (gst_util_uint64_scale_int):
7982 Add some more common cases that can be handled
7983 efficiently to _scale.
7985 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
7987 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
7988 (gst_mini_object_suite):
7989 don't use check calls from threads; check probably isn't
7990 threadsafe and using a lock to make it threadsafe would
7991 defeat the purpose of this check
7992 * gst/check/gstcheck.c:
7993 * gst/check/gstcheck.h:
7994 use GST_DEBUG some more
7996 2005-11-24 Wim Taymans <wim@fluendo.com>
7998 * gst/gstutils.c: (gst_util_uint64_scale),
7999 (gst_util_uint64_scale_int):
8000 Chain trivial case to _scale_int.
8002 2005-11-24 Wim Taymans <wim@fluendo.com>
8004 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8005 Added test for scaling.
8010 * gst/gstutils.c: (gst_util_uint64_scale_int):
8011 Implemented high precision scaling code.
8013 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8016 do not crash on pad==NULL
8018 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8020 Patch by: Stefan Kost
8022 * common/gtk-doc.mak:
8023 * docs/gst/Makefile.am:
8024 * docs/libs/Makefile.am:
8025 Fix distcheck issues for the libraries docs build
8028 2005-11-24 Michael Smith <msmith@fluendo.com>
8030 * docs/manual/basics-helloworld.xml:
8031 Fix bug #315027: memory leak in example code in docs.
8033 2005-11-24 Michael Smith <msmith@fluendo.com>
8035 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8036 Unlock the PREROLL_LOCK in a failure case.
8038 2005-11-24 Wim Taymans <wim@fluendo.com>
8040 * docs/gst/gstreamer-sections.txt:
8041 * gst/base/gstadapter.h:
8042 * gst/base/gstbasesink.h:
8043 * gst/base/gstbasesrc.h:
8044 * gst/base/gstbasetransform.h:
8045 * gst/base/gstpushsrc.h:
8046 * gst/elements/gstfakesink.h:
8047 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8048 * gst/elements/gstfakesrc.h:
8049 * gst/elements/gstfilesink.h:
8050 * gst/elements/gstfilesrc.h:
8053 * gst/gstbuffer.c: (_gst_buffer_copy):
8056 * gst/gstchildproxy.c:
8059 * gst/gstelementfactory.c:
8060 * gst/gstelementfactory.h:
8062 * gst/gstghostpad.h:
8064 * gst/gstinterface.h:
8065 * gst/gstminiobject.c:
8066 * gst/gstminiobject.h:
8069 * gst/gstpadtemplate.h:
8070 * gst/gstpipeline.h:
8071 * gst/gstpluginfeature.h:
8076 * gst/gsttagsetter.c:
8077 * gst/gsttagsetter.h:
8080 * gst/gsttypefind.h:
8083 * gst/net/gstnetclientclock.c:
8084 * gst/net/gstnetclientclock.h:
8085 * gst/net/gstnettimepacket.c:
8086 * gst/net/gstnettimeprovider.c:
8087 * gst/net/gstnettimeprovider.h:
8090 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8092 * configure.ac: back to HEAD
8094 === release 0.9.6 ===
8096 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8099 releasing 0.9.6, "Always On Time"
8101 2005-11-23 Wim Taymans <wim@fluendo.com>
8103 * docs/gst/gstreamer-sections.txt:
8104 * gst/glib-compat.c:
8105 * gst/gsttagsetter.c:
8107 * gst/net/gstnetclientclock.c:
8108 * gst/net/gstnettimepacket.h:
8111 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8113 * docs/faq/using.xml:
8114 * docs/libs/tmpl/gstcontrol.sgml:
8115 * docs/manual/advanced-dparams.xml:
8116 * docs/manual/appendix-checklist.xml:
8117 * docs/manual/basics-elements.xml:
8118 * docs/pwg/other-source.xml:
8119 * docs/random/moving-plugins:
8121 * tools/gst-launch.1.in:
8122 remove mentions of sinesrc
8124 2005-11-23 Michael Smith <msmith@fluendo.com>
8126 * docs/gst/gstreamer-sections.txt:
8127 Update for new API and API changes.
8129 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8131 Documentation typo fix.
8132 * gst/net/gstnettimepacket.c:
8133 Documentation fixes for arguments.
8135 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8137 * gst/gststructure.c: (gst_structure_get_fraction),
8138 (gst_structure_parse_value),
8139 (gst_structure_fixate_field_nearest_fraction):
8140 * gst/gststructure.h:
8141 * gst/gstutils.c: (gst_util_uint64_scale_int):
8143 * scripts/update-funcnames:
8145 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8146 Make gst_structure_fixate_field_nearest_fraction take a numerator
8147 and denominator argument instead of a GValue
8148 add gst_structure_get_fraction helper function.
8150 2005-11-23 Wim Taymans <wim@fluendo.com>
8152 * docs/design/part-TODO.txt:
8155 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8156 * gst/net/gstnetclientclock.h:
8157 Use parent fields for timeout and window_size.
8159 2005-11-23 Andy Wingo <wingo@pobox.com>
8161 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8162 rate_num/rate_denom change.
8164 * gst/net/gstnetclientclock.c
8165 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8166 OBJECT_LOCK. Don't call add_observation with the lock.
8168 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8170 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8172 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8173 deal with rate as a fraction whose numerator and denominator are
8174 GstClockTime values.
8175 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8176 master; the other fields are protected by the SLAVE_LOCK.
8177 (do_linear_regression): Note that this must be called with the
8179 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8180 OBJECT_LOCK. Call set_calibration instead of touching the
8182 (gst_clock_set_property, gst_clock_get_property): Protect
8183 master/slave parameters with the SLAVE_LOCK.
8185 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8186 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8187 note that all of the instance variables that add_observation and
8188 the set_master functions use are protected by that lock and not
8190 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8192 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8193 the caller to take the object lock.
8195 2005-11-23 Wim Taymans <wim@fluendo.com>
8197 * gst/gsterror.c: (_gst_core_errors_init):
8199 Add error for clock stuff.
8201 * gst/gstpipeline.c: (gst_pipeline_change_state),
8202 (gst_pipeline_set_clock):
8203 Post clock error when clock cannot be used in a pipeline.
8205 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8207 * docs/gst/gstreamer-sections.txt:
8208 make two symbols from gstinfo private for the docs
8209 * gst/base/gstcollectpads.h:
8211 fix doc typos, update docs
8213 2005-11-22 Wim Taymans <wim@fluendo.com>
8215 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8216 (gst_base_sink_wait), (gst_base_sink_do_sync),
8217 (gst_base_sink_handle_event):
8218 * gst/base/gstbasesink.h:
8219 No need to store the clock, the parent element class already
8222 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8223 Updates for clock_set returning a gboolean
8225 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8226 (gst_clock_id_wait_async), (gst_clock_class_init),
8227 (gst_clock_init), (gst_clock_finalize),
8228 (gst_clock_get_internal_time), (gst_clock_get_time),
8229 (gst_clock_slave_callback), (gst_clock_set_master),
8230 (gst_clock_get_master), (do_linear_regression),
8231 (gst_clock_add_observation), (gst_clock_set_property),
8232 (gst_clock_get_property):
8234 Implement master/slave. When setting a clock as a slave, a
8235 periodic timeout is scheduled to sample master and slave times.
8236 Then the slave clock is recalibrated to match offset and rate
8237 of the master clock.
8238 Update logging a bit.
8239 Add flag so that a clock can state that is cannot be slaved to
8242 * gst/gstelement.c: (gst_element_set_clock):
8244 The set clock returns a gboolean for when an element cannot
8245 deal with the selected clock in the pipeline.
8247 * gst/gstpipeline.c: (gst_pipeline_change_state),
8248 (gst_pipeline_set_clock):
8249 * gst/gstpipeline.h:
8250 Handle the case where the selected clock cannot be set on
8253 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8254 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8255 (gst_net_client_clock_set_property),
8256 (gst_net_client_clock_get_property),
8257 (gst_net_client_clock_observe_times):
8258 * gst/net/gstnetclientclock.h:
8259 Use regression code in GstClock parent, remove duplicated
8262 2005-11-22 Michael Smith <msmith@fluendo.com>
8264 * gst/gstutils.c: (gst_util_clock_time_scale):
8266 * docs/gst/gstreamer-sections.txt:
8267 Rename method to have extra underscore.
8269 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8271 * gst/elements/Makefile.am:
8272 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8273 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8274 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8275 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8276 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8277 * gst/elements/gstfakesrc.h:
8278 * gst/gstqueue.c: (queue_leaky_get_type):
8279 correctly fix GEnumValues so that nick is the short lowercase
8281 * tools/gst-inspect.c: (print_element_properties_info):
8282 also show the nick, since it's useful to use from parse_launch
8286 2005-11-22 Michael Smith <msmith@fluendo.com>
8288 * gst/gstutils.c: (gst_util_clocktime_scale):
8290 * docs/gst/gstreamer-sections.txt:
8291 Add util method for scaling a clocktime by a fraction. Useful
8292 implementation is left as an exercise for the reader.
8294 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8296 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8297 If needed, allocate storage in the destination value during
8300 2005-11-22 Edward Hervey <edward@fluendo.com>
8302 * docs/gst/gstreamer-sections.txt:
8307 * gst/gstutils.c: (gst_util_set_object_arg):
8308 * tools/gst-compprep.c: (main):
8309 * tools/gst-inspect.c: (print_element_properties_info):
8310 Removed GstURI, closes bug #321061
8312 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8314 * check/gst/gststructure.c: (GST_START_TEST):
8315 * gst/gststructure.c: (gst_structure_parse_value):
8316 Oops, broke automatic string type parsing.
8317 Add a test to catch it in future.
8319 2005-11-22 Andy Wingo <wingo@pobox.com>
8321 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8322 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8323 Actually rename the function implementations. Grr.
8325 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8327 * check/gst/capslist.h:
8329 * check/gst/gststructure.c: (GST_START_TEST),
8330 (gst_structure_suite):
8331 Test automatic value type detection in gst_structure_from_string.
8332 * gst/gststructure.c: (gst_structure_parse_value):
8333 Add fraction as a type we try and guess automatically in
8334 caps/structure strings.
8336 2005-11-22 Andy Wingo <wingo@pobox.com>
8338 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8340 * gst/gsttagsetter.h:
8341 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8342 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8343 (gst_tag_setter_add_tag_valist)
8344 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8345 _add_values, _add_valist, and _add_valist_values. Since this is an
8346 interface the function suffixes should be more explicit so
8347 language binding don't end up with element.add_valist ->
8348 gst_tag_setter_add_valist, for example. Fixes #322069.
8350 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8352 * check/gst/gstcaps.c: (GST_START_TEST):
8353 Extend caps string tests to check that a caps to string
8354 conversion is reversible and produces the same caps.
8356 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8357 Output "fraction" as the generic type fraction range, so caps
8358 serialisation and deserialisation works.
8359 * check/gst/capslist.h:
8360 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8361 Support 'MIN' and 'MAX' for deserialising fractions.
8363 2005-11-22 Andy Wingo <wingo@pobox.com>
8365 * gst/gstevent.h (gst_event_new_new_segment)
8366 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8367 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8368 Renamed from *_newsegment, *_buffersize, *_notarget.
8370 * scripts/update-funcnames: New script, performs the changes
8373 2005-11-22 Wim Taymans <wim@fluendo.com>
8375 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8376 Make sure the GstFlowReturn is returned.
8378 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8379 (gst_bus_add_signal_watch):
8381 add gst_bus_add_signal_watch_full.
8383 * gst/gstplugin.c: (gst_plugin_load_file):
8384 Small style cleanup.
8386 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8388 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8389 Block the fakesrc srcpad when we send an event, to avoid
8390 contention on the stream_lock causing random test failures.
8392 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8394 * check/gst/gstvalue.c: (GST_START_TEST):
8395 * gst/gstvalue.c: (gst_value_fraction_subtract):
8398 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8401 include "gstchildproxy.h"
8402 * gst/gstchildproxy.h:
8403 * libs/gst/controller/gstcontroller.h:
8404 use G_GNUC_NULL_TERMINATED
8406 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8408 * check/gst/capslist.h:
8409 * check/gst/gstcaps.c: (GST_START_TEST):
8410 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8411 * gst/gststructure.c: (gst_structure_parse_range),
8412 (gst_structure_fixate_field_nearest_fraction):
8413 * gst/gststructure.h:
8414 * gst/gstvalue.c: (gst_value_init_fraction_range),
8415 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8416 (gst_value_collect_fraction_range),
8417 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8418 (gst_value_set_fraction_range_full),
8419 (gst_value_get_fraction_range_min),
8420 (gst_value_get_fraction_range_max),
8421 (gst_value_serialize_fraction_range),
8422 (gst_value_transform_fraction_range_string),
8423 (gst_value_compare_fraction_range),
8424 (gst_value_deserialize_fraction_range),
8425 (gst_value_intersect_fraction_fraction_range),
8426 (gst_value_intersect_fraction_range_fraction_range),
8427 (gst_value_subtract_fraction_fraction_range),
8428 (gst_value_subtract_fraction_range_fraction),
8429 (gst_value_subtract_fraction_range_fraction_range),
8430 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8431 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8432 (gst_value_transform_string_fraction), (_gst_value_initialize):
8434 Implement fraction ranges and extend GstFraction to support
8435 arithmetic subtraction, as well as deserialization from integer
8436 strings such as "100"
8437 Add a testsuite as for int and double range set operations
8439 2005-11-21 Andy Wingo <wingo@pobox.com>
8443 * gst/gststructure.h: Add glib-compat.h.
8445 2005-11-21 Wim Taymans <wim@fluendo.com>
8447 * gst/gstbin.c: (gst_bin_change_state_func):
8450 2005-11-21 Wim Taymans <wim@fluendo.com>
8453 And add a nice define too.
8455 2005-11-21 Wim Taymans <wim@fluendo.com>
8457 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8458 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8459 (gst_segment_set_duration), (gst_segment_set_last_stop),
8460 (gst_segment_set_seek), (gst_segment_set_newsegment),
8461 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8464 Make binding friendly.
8466 2005-11-21 Andy Wingo <wingo@pobox.com>
8468 * gst/gsttagsetter.h:
8470 * gst/gststructure.h:
8472 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8475 * gst/gsterror.c (_gst_core_errors_init):
8476 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8479 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8480 (noinst_HEADERS): noinst the -private.
8482 2005-11-21 Michael Smith <msmith@fluendo.com>
8485 * gst/gstregistry.h:
8486 Remove unimplemented declarations for which we can see no sensible
8489 2005-11-21 Andy Wingo <wingo@pobox.com>
8491 * gst/gst.h: Include glib-compat.h.
8493 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8495 * gst/glib-compat.c: Include the public and the private header.
8497 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8501 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8503 * check/gst/gstevent.c (create_custom_events): Check that
8504 FLUSH_STOP is serialized.
8506 * check/elements/identity.c (event_func):
8507 * check/elements/fakesrc.c (event_func): No stream lock, the core
8510 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8511 stream lock taking, yay.
8513 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8514 ensure that core takes the stream lock.
8516 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8519 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8520 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8521 it already. For the flush start we do take it though so we get the
8522 right preroll state change messages.
8524 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8525 the stream lock here, the core does it for us.
8527 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8528 GST_STREAM_GET_LOCK.
8529 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8530 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8531 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8532 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8533 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8534 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8536 * gst/gstpad.c: Update for stream lock name change.
8538 * gst/base/gstbasesink.c: Update for preroll lock name change.
8540 2005-11-21 Wim Taymans <wim@fluendo.com>
8542 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8543 (gst_clock_get_master):
8545 * gst/gstsystemclock.c: (gst_system_clock_init):
8546 Convert Clock flags to object flags.
8547 Added methods to manage master/slave clocks.
8549 2005-11-21 Wim Taymans <wim@fluendo.com>
8551 * check/gst/gstsegment.c: (GST_START_TEST):
8552 * docs/design/part-TODO.txt:
8553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8554 (gst_base_sink_event), (gst_base_sink_do_sync),
8555 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8556 (gst_base_sink_query), (gst_base_sink_change_state):
8557 * gst/base/gstbasesink.h:
8558 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8559 (gst_base_src_default_newsegment),
8560 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8561 (gst_base_src_get_range), (gst_base_src_loop),
8562 (gst_base_src_change_state):
8563 * gst/base/gstbasesrc.h:
8564 * gst/base/gstbasetransform.c:
8565 (gst_base_transform_prepare_output_buf),
8566 (gst_base_transform_event), (gst_base_transform_change_state):
8567 * gst/base/gstbasetransform.h:
8568 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8569 (gst_collect_pads_event):
8570 * gst/base/gstcollectpads.h:
8571 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8572 (gst_fake_src_create):
8573 * gst/elements/gstfakesrc.h:
8574 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8575 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8576 (gst_segment_set_last_stop), (gst_segment_set_seek),
8577 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8578 (gst_segment_to_running_time), (gst_segment_clip):
8580 More segment updates, replace code in plugins with segment
8583 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8585 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8586 Don't ignore sscanf results
8588 2005-11-21 Andy Wingo <wingo@pobox.com>
8590 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8593 * *.c: Ran scripts/update-macros. Oh yes.
8595 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8596 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8599 * scripts/update-macros: New script. Run it on your files to
8600 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8603 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8605 * docs/gst/Makefile.am:
8606 * docs/gst/gstreamer-docs.sgml:
8607 * docs/gst/gstreamer-sections.txt:
8608 * docs/gst/gstreamer.types:
8610 more docs fixes, add new api to the docs
8612 2005-11-21 Andy Wingo <wingo@pobox.com>
8614 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8615 state_broadcast call.
8617 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8619 2005-11-21 Julien MOUTTE <julien@moutte.net>
8621 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8622 function calls for arrays.
8624 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8626 * docs/random/ensonic/media-device-daemon.txt:
8627 wild idea, can this be done?
8628 * docs/gst/gstreamer-sections.txt:
8633 * gst/gstpluginfeature.c:
8637 doc fixes and additions
8639 2005-11-21 Andy Wingo <wingo@pobox.com>
8641 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8642 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8643 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8644 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8645 private to the basesrc implementation.
8647 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8648 behalf of event function if necessary. It should no longer be
8649 necessary to take the stream lock in pad's event functions. Fixes
8652 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8653 * docs/gst/gstreamer-sections.txt:
8654 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8655 (gst_structure_fixate_field_nearest_double),
8656 (gst_structure_fixate_field_boolean):
8657 * gst/gststructure.h:
8658 * win32/common/libgstreamer.def:
8659 * win32/gstreamer.def:
8661 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8664 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8666 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8667 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8668 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8669 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8670 (gst_fdsrc_uri_handler_init):
8671 * gst/elements/gstfdsrc.h:
8672 Port fd:// URI handler from 0.8 to fdsrc
8674 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8676 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8677 (gst_value_serialize_fourcc):
8679 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8680 consistent with our other format defines (#320324).
8682 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8684 * gst/gstvalue.c: (gst_value_is_fixed):
8685 Revert previous commit. Value lists are by definition
8686 not fixed, as they are a list of possible values.
8688 2005-11-21 Andy Wingo <wingo@pobox.com>
8690 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8691 during the stable series if we need it. Fixes #319178.
8693 * gst/gstevent.c (gst_event_new_filler): Removed.
8695 * check/gst/gstevent.c: Update comment about filler events.
8697 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8699 * gst/gstvalue.c: (gst_value_is_fixed):
8700 Should handle both value arrays and value lists.
8702 2005-11-21 Andy Wingo <wingo@pobox.com>
8704 patch by: Alessandro Dessina <alessandro nnva org>
8706 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8707 functions to access arrays. Fixes #321962.
8709 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8711 * docs/gst/gstreamer.types:
8712 gst_collectpads_get_type => gst_collect_pads_get_type.
8714 * gst/base/gstbasetransform.c:
8715 Remove unused SIGNAL_HANDOFF enum.
8717 2005-11-21 Andy Wingo <wingo@pobox.com>
8719 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8720 the event type (upstream, downstream, serialized). Renamed
8721 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8722 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8723 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
8725 * gst/gstevent.c: Update for new CUSTOM event names.
8727 * check/gst/gstevent.c: Update check for new CUSTOM event names.
8730 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
8733 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8735 * docs/gst/gstreamer-sections.txt:
8736 * win32/common/libgstbase.def:
8737 * win32/libgstbase.def:
8738 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
8739 (gst_collect_pads_class_init), (gst_collect_pads_init),
8740 (gst_collect_pads_finalize), (gst_collect_pads_new),
8741 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
8742 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
8743 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
8744 (gst_collect_pads_start), (gst_collect_pads_stop),
8745 (gst_collect_pads_peek), (gst_collect_pads_pop),
8746 (gst_collect_pads_available), (gst_collect_pads_read),
8747 (gst_collect_pads_flush), (gst_collect_pads_event),
8748 (gst_collect_pads_chain):
8749 * gst/base/gstcollectpads.h:
8750 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
8751 unimplemented functions as unimplemented. Add padding to
8752 GstCollectData. (#320766, #320423)
8754 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8757 Improve docs for DURATION message (usage of duration parameter)
8760 2005-11-20 Wim Taymans <wim@fluendo.com>
8762 * check/Makefile.am:
8763 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
8767 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8768 (gst_segment_set_seek), (gst_segment_set_newsegment),
8769 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8772 Added segment helper structure and methods. Not fully implemented
8774 Added segment check.
8776 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
8778 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8779 Add a deserialisation test for fractions
8780 * examples/metadata/read-metadata.c: (message_loop),
8781 (make_pipeline), (main):
8782 Fix up metadata reading sample.
8783 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8785 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
8786 Don't try and fixate empty caps
8787 * gst/gst_private.h:
8788 Wrap in G_BEGIN_DECLS/G_END_DECLS
8789 * gst/gstvalue.c: (gst_value_collect_fraction),
8790 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
8791 (gst_value_transform_string_fraction),
8792 (gst_value_compare_fraction):
8793 Add some extra guards to ensure that we don't end up
8794 with an invalid denominator of 0 in a gstfraction and
8795 that fractions always get reduced.
8797 2005-11-20 Wim Taymans <wim@fluendo.com>
8799 * docs/gst/gstreamer-sections.txt:
8810 2005-11-20 Wim Taymans <wim@fluendo.com>
8812 * docs/design/part-TODO.txt:
8814 Make a proper enum of the flag.
8816 2005-11-19 Wim Taymans <wim@fluendo.com>
8818 * docs/design/part-TODO.txt:
8819 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
8820 (gst_format_to_quark), (gst_format_register):
8822 * gst/gstquery.c: (_gst_query_initialize),
8823 (gst_query_type_get_name), (gst_query_type_to_quark),
8824 (gst_query_type_register):
8826 Add type to quark and type to string conversions.
8828 2005-11-19 Andy Wingo <wingo@pobox.com>
8830 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
8833 2005-11-19 Wim Taymans <wim@fluendo.com>
8835 * docs/design/part-TODO.txt:
8836 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
8837 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
8838 (gst_bin_handle_message_func):
8840 Make message handling overridable.
8842 2005-11-19 Andy Wingo <wingo@pobox.com>
8844 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
8847 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
8849 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
8850 is a GstClockTime. Fixes #321710.
8852 * gst/gstclock.h (GstClock): Remove offset property. Add
8853 internal_calibration and external_calibration. Fix padding. Pad
8854 also by GstClockTime so we don't run into problems.
8856 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
8857 (gst_clock_get_rate_offset): Remove.
8858 (gst_clock_set_time_adjust): Remove. Fixes #321712.
8861 * gst/gstutils.c (g_static_rec_cond_wait)
8862 (g_static_rec_cond_timed_wait): Removed, no longer needed.
8864 * gst/gstbin.c: Remove terrible continue_state prototype.
8866 * gst/gstelement.h (gst_element_continue_state): Make public.
8869 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
8870 by continue_state. Fixes #319389.
8872 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
8873 Really fixes #168438. However I don't see anywhere where the
8874 filter function is called... stupid GStreamer...
8876 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
8877 don't have a dispose function, so it won't get called when the
8878 object is unreffed, but oh well!
8880 * gst/gstindex.c (gst_index_set_filter_full): New API function,
8881 allows a destroy function to be set so user_data can be freed.
8883 (gst_index_set_filter): Call gst_index_set_filter_full.
8885 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
8887 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
8888 string should produce an error, given the lack of a way to
8889 represent NULL strings. Fixes #165650.
8892 * gst/gstvalue.c (gst_value_array_append_value)
8893 (gst_value_array_prepend_value, gst_value_array_get_size)
8894 (gst_value_array_get_value): New API, copied from
8895 gst_value_list_*, only operates on arrays.
8896 (gst_value_list_append_value, gst_value_list_prepend_value)
8897 (gst_value_list_concat, gst_value_list_get_size)
8898 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
8900 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
8901 init_list, because it works on both.
8902 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
8903 (gst_value_copy_list_or_array): Renamed from copy_list.
8904 (gst_value_free_list_or_array): Renamed from free_list.
8905 (gst_value_collect_list_or_array): Renamed from collect_list.
8906 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
8907 (gst_value_list_or_array_peek_pointer): Renamed from
8909 (_gst_value_array_value_table, _gst_value_list_value_table):
8910 Update value table functions.
8911 (gst_value_compare_list_or_array): Renamed from compare_list.
8913 * gsttaglist.h: Whoops, foreach function returns void. Also fix
8917 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
8918 GstTagList*. Fixes #143472.
8920 * gst/gststructure.h: Clarify what the foreach/map functions can
8921 or can't do to their arguments.
8923 2005-11-18 Wim Taymans <wim@fluendo.com>
8925 * gst/gstclock.c: (gst_clock_set_calibration),
8926 (gst_clock_get_calibration):
8928 Calibration can be set with internal time equal to current
8931 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
8937 2005-11-18 Andy Wingo <wingo@pobox.com>
8940 * pkgconfig/gstreamer-net.pc.in:
8941 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8942 * pkgconfig/Makefile.am: Add net pkgconfig files.
8944 2005-11-18 Stefan Kost <ensonic@users.sf.net>
8947 * gst/gstghostpad.c:
8953 2005-11-18 Andy Wingo <wingo@pobox.com>
8955 * gst/net/gstnetclientclock.c: Turn off debugging.
8957 * check/net/gstnetclientclock.c (test_functioning): Assert that the
8958 times connverge somewhat. Can't make a real test.
8960 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
8961 integer arithmetic. Return the minimum of the domain, which can be
8962 set as "internal" for gst_clock_set_calibration.
8963 (gst_net_client_clock_observe_times): Call _set_calibration.
8964 (gst_net_client_clock_new): Call _set_calibration instead of
8967 * check/net/gstnetclientclock.c (test_functioning): Use the right
8971 * gst/gstclock.c (gst_clock_get_calibration)
8972 (gst_clock_set_calibration): New functions, obsolete the ones I
8973 added yesterday. Doh. Precision issues mean we have to extrapolate
8974 from a point in the more recent past than 1970.
8975 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
8977 (gst_clock_adjust_unlocked): Use the right calibration data.
8979 2005-11-18 Edward Hervey <edward@fluendo.com>
8981 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
8982 Also reset the ->current_* values in READY->PAUSED
8984 2005-11-18 Andy Wingo <wingo@pobox.com>
8986 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
8987 Whoops, check the right fd. Also add some debugging.
8988 (gst_net_client_clock_observe_times): Adjust for int64 offset.
8989 (do_linear_regression): Add a crapload of debugging. Subtract off
8990 the minimum values from the input series to discard unneeded bits.
8991 Use only int arithmetic. There is still double arithmetic when
8992 calculating the intercept that needs fixing. Return boolean to
8993 indicate success; FALSE would mean the domain or range is too
8994 great. Still needs fixes.
8996 2005-11-18 Wim Taymans <wim@fluendo.com>
8998 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8999 For the current position in stream time, we need to subtract
9002 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9003 Release lock before calling the callback function of async
9006 2005-11-18 Andy Wingo <wingo@pobox.com>
9008 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9009 Port goes all the way to MAXUINT16.
9011 * gst/net/gstnettimeprovider.c: Make the port range the same as
9012 for the kernel: 0 assigns, otherwise ports are less than
9015 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9018 * check/net/gstnetclientclock.c (test_functioning): Add the start
9021 2005-11-18 Wim Taymans <wim@fluendo.com>
9023 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9024 (gst_bin_remove_func), (bin_bus_handler):
9026 Removing a clock provider from a bin, triggers a clock lost message
9027 so that a new clock will be selected.
9028 Adding a clock to a bin triggers a clock provider message.
9029 Make sure we reselect a clock when we received a clock lost message.
9030 Keep a reference to the element that provided the clock.
9032 2005-11-18 Andy Wingo <wingo@pobox.com>
9034 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9035 the clock initially so it produces values around the base time.
9036 (gst_net_client_clock_class_init): Typo fix.
9037 (gst_net_client_clock_thread): Add note on when the socket gets
9040 2005-11-17 Wim Taymans <wim@fluendo.com>
9042 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9043 Free remote and local time arrays.
9045 2005-11-17 Wim Taymans <wim@fluendo.com>
9047 * gst/net/gstnetclientclock.c: (do_linear_regression),
9048 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9049 Fix compilation, uninitialized vars and a forgotten continue.
9051 2005-11-17 Andy Wingo <wingo@pobox.com>
9053 * check/Makefile.am (check_PROGRAMS):
9054 * check/net/gstnetclientclock.c: Add a most minimal test for the
9055 net client clock. More to come later.
9058 * gst/net/Makefile.am: Add netclientclock.
9060 * gst/net/gstnetclientclock.h:
9061 * gst/net/gstnetclientclock.c: New files, implement an untested
9062 GstClock that takes its time from a network time provider.
9063 Implements the algorithm in network-clock.scm.
9065 * tests/network-clock.scm (*window-size*): Rename from
9067 * tests/network-clock.scm (network-time):
9068 * tests/network-clock-utils.scm (q-push): Update callers.
9070 2005-11-17 Wim Taymans <wim@fluendo.com>
9072 * gst/gstbin.c: (gst_bin_provide_clock_func),
9073 (gst_bin_sort_iterator_new):
9074 And unref the child too..
9076 2005-11-17 Wim Taymans <wim@fluendo.com>
9078 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9079 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9080 Refactor the sort iterator so it can be used while holding the
9082 Make clock selection select a clock closest to the source.
9084 2005-11-17 Michael Smith <msmith@fluendo.com>
9086 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9087 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9089 Anonymous structs are a gcc (and some other compilers) extension, so
9090 don't use them. Since this is only for ABI-compatibility, and our
9091 API/ABI freeze is over in a few days, this whole thing will only
9092 last a few days, so don't bother trying to think up a meaningful
9093 name for the struct.
9095 2005-11-17 Andy Wingo <wingo@pobox.com>
9097 * gst/gstclock.h (GstClock): Add rate and offset properties,
9098 preserving ABI stability. Add rate/offset accessors. Will file bug
9099 for the freeze break.
9101 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9102 and offset, trying to keep precision and avoiding
9104 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9105 functions. Make gst_clock_set_time_adjust obsolete.
9106 (gst_clock_set_time_adjust): Note that this function is obsolete.
9109 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9110 greppable by using GST_PADDING-1+1.
9112 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9114 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9116 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9117 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9119 * gst/gstpadtemplate.h:
9120 * gst/gstpluginfeature.h:
9121 Don't use c++ style comments in headers (#321638).
9123 2005-11-16 Andy Wingo <wingo@pobox.com>
9125 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9128 * check/net/gstnettimeprovider.c: Check to see that the time
9129 provider actually provides times. Works, yo!
9131 2005-11-16 Wim Taymans <wim@fluendo.com>
9133 * check/Makefile.am:
9136 * check/elements/fakesrc.c: (GST_START_TEST):
9137 Set element to NULL before disposing it.
9139 2005-11-16 Andy Wingo <wingo@pobox.com>
9141 * gst/net/Makefile.am:
9143 * gst/net/gstnettimeprovider.c:
9144 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9145 provider, include it from gstnet.h, and add it to the build.
9147 * gst/net/gstnettimepacket.h:
9148 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9149 sending and receiving.
9151 2005-11-16 Wim Taymans <wim@fluendo.com>
9153 * check/Makefile.am:
9154 Enable valgrind check.
9156 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9157 (gst_fake_src_alloc_buffer):
9160 2005-11-16 Wim Taymans <wim@fluendo.com>
9162 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9163 Call parent finalize too.
9165 2005-11-16 Wim Taymans <wim@fluendo.com>
9167 * check/Makefile.am:
9168 Enable valgrind check that should work fine now.
9170 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9171 * gst/gstqueue.c: (gst_queue_init):
9172 Fix memleaks in pad allocation.
9174 2005-11-16 Andy Wingo <wingo@pobox.com>
9176 * gst/net/Makefile.am:
9177 * gst/net/gstnet.h: New part of core to hold network elements and
9178 objects. Put in core because it exposes API that applications want
9179 to use. The library is named libgstnet-tempname right now because
9180 of the existing libgstnet in gst-plugins-base. Solution is
9181 probably to rename the one in plugins-base; will file a bug for
9184 * gst/net/gstnettimeprovider.c:
9185 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9186 get_time call over the network.
9189 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9191 * check/Makefile.am:
9192 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9193 get additions shortly.
9195 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9197 * gst/gstpad.c: (gst_pad_new_from_static_template):
9199 add gst_pad_new_from_static_template functions
9200 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9201 (gst_check_setup_sink_pad):
9202 * gst/elements/gsttee.c: (gst_tee_init):
9205 2005-11-16 Wim Taymans <wim@fluendo.com>
9207 * gst/gstpad.c: (gst_pad_pause_task):
9208 Removed warning, it's not really an error either.
9210 2005-11-16 Wim Taymans <wim@fluendo.com>
9212 * gst/base/gstbasetransform.c:
9213 (gst_base_transform_prepare_output_buf),
9214 (gst_base_transform_event):
9215 Check if the caps are NULL, this can happen if the element
9216 is shutting down and the pad caps are set to NULL.
9218 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9220 * gst/elements/gsttee.c: (gst_tee_init):
9221 fix pad template leak in tee
9223 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9225 * gst/glib-compat.c: (g_value_dup_gst_object):
9226 * gst/glib-compat.h:
9227 * gst/gstpad.c: (gst_pad_set_property):
9228 use gst_object_ref when setting the pad template; this will
9229 trigger the pad template leaks on GLib 2.6 and the slaves
9231 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9233 * gst/glib-compat.c: (gst_flags_get_first_value):
9234 * gst/glib-compat.h:
9235 * gst/gstregistryxml.c:
9236 remove functions copied from GLib 2.6
9238 2005-11-16 Michael Smith <msmith@fluendo.com>
9241 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9242 do, but only breaks with newer valgrind versions. We're not a
9243 valgrind tool, we have no link-time dependencies on libcoregrind.
9245 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9247 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9252 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9254 * gst/base/gstbasesrc.c: (gst_base_src_init):
9255 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9256 * gst/gstqueue.c: (gst_queue_init):
9257 * gst/gstregistryxml.c: (load_feature):
9258 Revert all these unrefs, they don't even pass make check !
9260 2005-11-15 Johan Dahlin <johan@gnome.org>
9262 * gst/base/gstbasesrc.c: (gst_base_src_init):
9263 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9264 * gst/gstqueue.c: (gst_queue_init):
9265 Free pad templates, fixes a couple of leaks.
9267 2005-11-15 Daniel Fischer <dan at f3c dot com>
9269 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9271 * gst/gstpad.c: (gst_pad_get_property):
9272 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9273 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9276 2005-11-15 Wim Taymans <wim@fluendo.com>
9281 2005-11-15 Andy Wingo <wingo@pobox.com>
9283 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9285 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9286 using GST_CLOCK_TIME_NONE to disable base time management.
9287 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9288 time if it was NONE before.
9289 (gst_pipeline_change_state): Only munge the base time if
9290 stream_time != GST_CLOCK_TIME_NONE.
9292 * check/gst/gstpipeline.c (test_base_time): Punt around the
9293 problem of the probe not being called, because that's not the
9294 issue I'm looking at. Add a check that setting stream_time to NONE
9295 disables base time management.
9297 2005-11-15 Wim Taymans <wim@fluendo.com>
9299 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9300 segment_stop == -1 at startup.
9302 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9303 (gst_base_transform_change_state):
9304 Init segment values at start.
9306 2005-11-15 Wim Taymans <wim@fluendo.com>
9308 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9309 0 segment values are 0 in any format.
9311 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9312 * gst/base/gstbasetransform.h:
9313 Parse newsegment correctly in basetransform
9315 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9316 Sync to clock using updated segment values.
9318 2005-11-15 Andy Wingo <wingo@pobox.com>
9320 * check/gst/gstpipeline.c (test_base_time): Add check that the
9321 base time and stream time are reset correctly.
9323 2005-11-15 Wim Taymans <wim@fluendo.com>
9325 * docs/design/part-TODO.txt:
9326 Some more TODO items.
9328 2005-11-15 Andy Wingo <wingo@pobox.com>
9330 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9331 error if the user selected "no clock" as the clocking method.
9333 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9334 timestamps with live capture.
9336 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9337 is 0 but we are a live source, timestamp the buffers using the
9340 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9342 * docs/gst/gstreamer-sections.txt:
9344 * gst/gstghostpad.c:
9349 2005-11-14 Wim Taymans <wim@fluendo.com>
9352 add suppressions from Wim's Debian machine
9354 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9357 add suppressions from Andy's AMD64 Ubuntu machine
9359 2005-11-14 Andy Wingo <wingo@pobox.com>
9361 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9362 STATE_LOCK not necessary. Fixes #311489.
9364 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9367 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9368 this function is not implemented.
9370 2005-11-14 Julien MOUTTE <julien@moutte.net>
9372 * gst/base/gstbasetransform.c:
9373 (gst_base_transform_prepare_output_buf):
9374 Ref the source pad caps while we need them.
9377 2005-11-11 Wim Taymans <wim@fluendo.com>
9379 * docs/gst/gstreamer-sections.txt:
9380 Added some docs for GstCollectData.
9382 * gst/base/gstadapter.c:
9383 Some small code example fix.
9385 * gst/base/gstcollectpads.c:
9386 * gst/base/gstcollectpads.h:
9389 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9391 * configure.ac: back to HEAD
9393 === release 0.9.5 ===
9395 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9398 releasing 0.9.5, "Bike Lunch Day"
9400 2005-11-11 Wim Taymans <wim@fluendo.com>
9402 * gst/gstbuffer.c: (_gst_buffer_copy):
9405 * gst/gstcaps.c: (gst_caps_is_equal):
9407 Make _is_equal fast in the trivial cases.
9409 * gst/gstminiobject.c:
9410 * gst/gstminiobject.h:
9411 More docs. Spifify .h file.
9416 2005-11-11 Wim Taymans <wim@fluendo.com>
9418 * gst/base/gstbasetransform.c:
9419 (gst_base_transform_prepare_output_buf),
9420 (gst_base_transform_handle_buffer):
9422 If we're processing a buffer and need to allocate an output
9423 buffer, we cannot accept a format change. If we did get a
9424 format change, we have to alloc a buffer ourselves of the
9427 2005-11-11 Wim Taymans <wim@fluendo.com>
9429 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9430 While checking the flag for reentrancy in the gstcaps function
9431 is nice to detect recursive invocations, it also makes it
9432 impossible to call getcaps from multiple threads, which must be
9433 possible. So, checking for recursive calls has to go.
9435 2005-11-11 Michael Smith <msmith@fluendo.com>
9437 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9438 Don't sync on buffers that fall partially outside our current
9439 segment. Prevents an assertion failure/abort playing some files.
9441 2005-11-10 Andy Wingo <wingo@pobox.com>
9443 * check/gst/gstbin.c (test_message_state_changed_children): Style
9446 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9447 gst_bus_poll with the signal watch. Ensures that poll and a signal
9448 watch see the same messages.
9450 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9451 a poll and a watch at the same time get the same messages.
9453 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9455 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9456 * gst/gstcaps.c: (gst_caps_intersect):
9457 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9458 and it's not needed.
9460 2005-11-10 Wim Taymans <wim@fluendo.com>
9462 * docs/design/part-TODO.txt:
9465 2005-11-10 Wim Taymans <wim@fluendo.com>
9467 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9468 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9469 (gst_base_src_do_sync), (gst_base_src_get_range):
9470 Implement clock sync in base class.
9472 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9474 patch by: Tim-Philipp Müller <tim at centricular dot net>
9476 * gst/gststructure.c: (gst_structure_parse_field),
9477 (gst_structure_from_string):
9478 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9479 so that gst_parse_launch() can deal with spaces in filtered link
9480 caps (fixes #164479)
9481 * check/gst/capslist.h:
9482 * check/gst/gststructure.c: (GST_START_TEST):
9483 add unit tests for this change
9485 2005-11-10 Wim Taymans <wim@fluendo.com>
9487 * docs/gst/gstreamer-sections.txt:
9490 Fix docs, move some STATE macros to private.
9492 2005-11-10 Wim Taymans <wim@fluendo.com>
9494 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9495 Added check for bug #317341
9499 Some more spiffifying.
9501 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9502 Call peer linkfunction if we are a source pad. Totally fixes
9506 Update docs, source pads should call the peer linkfunction
9507 so they can atomically perform the pad link.
9509 2005-11-09 Wim Taymans <wim@fluendo.com>
9513 Uber-spiffy-spiffify some more.
9515 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9517 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9518 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9519 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9520 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9521 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9522 * gst/gstpad.c: (gst_pad_init):
9523 Use GST_DEBUG_FUNCPTR() more extensively.
9525 2005-11-09 Wim Taymans <wim@fluendo.com>
9527 * gst/gstobject.c: (gst_object_class_init):
9529 Documentation fixes.
9531 2005-11-09 Edward Hervey <edward@fluendo.com>
9533 * gst/gsttypefindfactory.c:
9536 2005-11-09 Edward Hervey <edward@fluendo.com>
9538 * gst/base/gsttypefindhelper.c:
9539 * gst/gsttypefind.c:
9540 * gst/gsttypefind.h:
9543 2005-11-09 Wim Taymans <wim@fluendo.com>
9545 * gst/gstiterator.c:
9552 2005-11-09 Wim Taymans <wim@fluendo.com>
9558 2005-11-09 Wim Taymans <wim@fluendo.com>
9560 * docs/gst/gstreamer-sections.txt:
9561 Moved the message async delivery private lock and cond
9562 to the private section.
9568 2005-11-09 Edward Hervey <edward@fluendo.com>
9570 * docs/gst/gstreamer-sections.txt:
9573 Document GstURIHandler
9575 2005-11-09 Wim Taymans <wim@fluendo.com>
9577 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9578 (gst_iterator_find_custom):
9579 * gst/gstiterator.h:
9582 2005-11-09 Wim Taymans <wim@fluendo.com>
9585 Document another field.
9587 * gst/gststructure.c:
9588 * gst/gststructure.h:
9591 2005-11-09 Wim Taymans <wim@fluendo.com>
9596 2005-11-09 Wim Taymans <wim@fluendo.com>
9598 * docs/gst/gstreamer-sections.txt:
9599 Added some new macros.
9606 2005-11-09 Wim Taymans <wim@fluendo.com>
9608 * docs/design/part-TODO.txt:
9609 Some more items for the TODO
9615 2005-11-09 Andy Wingo <wingo@pobox.com>
9617 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9618 to work on something else now tho...
9620 * gst/base/gstadapter.c: More adapter docs.
9622 * gst/elements/gstfilesink.c (gst_file_sink_start)
9623 (gst_file_sink_stop): New functions, replace the state change
9625 (gst_file_sink_class_init): Hook up the start and stop functions.
9626 (gst_file_sink_base_init): Don't set the state change handler any
9627 more. It was a bit ugly too, being set from here...
9628 (gst_file_sink_get_property, gst_file_sink_set_property):
9630 (gst_file_sink_set_location): More robust check that doesn't call
9633 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9635 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9636 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9638 2005-11-08 Wim Taymans <wim@fluendo.com>
9640 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9641 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9642 (gst_base_sink_chain), (gst_base_sink_change_state):
9643 * gst/base/gstbasesink.h:
9644 * gst/base/gstbasesrc.h:
9647 Avoid excessive typechecking in macros.
9649 * gst/gstminiobject.c: (gst_mini_object_get_type),
9650 (gst_mini_object_init), (gst_mini_object_new),
9651 (gst_mini_object_free):
9652 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9653 (gst_object_finalize):
9654 Remove cruft code, optimize alloc_trace.
9656 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9658 * docs/faq/gst-uninstalled:
9659 fix up PS1 for systems that try to reset it
9661 2005-11-07 Wim Taymans <wim@fluendo.com>
9663 * gst/base/gstbasesrc.c: (gst_base_src_init),
9664 (gst_base_src_get_range):
9665 Set the segment_end to -1 initially. Fixed typefind.
9667 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9669 * gst/base/gstadapter.c:
9670 Debug category should be 'adapter', not 'GstAdapter'.
9672 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9673 (gst_collectpads_class_init), (gst_collectpads_init),
9674 (gst_collectpads_peek), (gst_collectpads_pop),
9675 (gst_collectpads_event), (gst_collectpads_chain):
9676 Add debug category and some debugging output. Use boilerplate
9677 macros. Remove some extraneous words from docs.
9679 2005-11-05 Andy Wingo <wingo@pobox.com>
9681 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9684 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9686 * docs/gst/gstreamer-sections.txt:
9689 * gst/gstminiobject.h:
9694 2005-11-04 Wim Taymans <wim@fluendo.com>
9696 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9697 Small update to stop at the configured segment_end
9700 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9702 * gst/gstregistry.c:
9703 * gst/gstregistry.h:
9706 2005-11-04 Edward Hervey <edward@fluendo.com>
9708 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9709 Check if we are doing a segment seek and have arrived at the
9710 end of that segment.
9712 2005-11-04 Wim Taymans <wim@fluendo.com>
9714 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9715 Don't leak a mutex unlock in case of an error.
9720 2005-11-04 Wim Taymans <wim@fluendo.com>
9722 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9724 Get the context to wake up only once.
9726 2005-11-03 Wim Taymans <wim@fluendo.com>
9728 * check/states/sinks.c: (GST_START_TEST):
9729 Uncomment fixed check.
9731 * docs/design/part-TODO.txt:
9734 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9735 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9736 (gst_base_sink_get_position):
9737 If we are going to PLAYING, post the right pending state
9738 when we post the intermediate paused message.
9740 * gst/gstelement.c: (gst_element_continue_state),
9741 (gst_element_set_state_func), (gst_element_change_state):
9742 Don't post state changes that were between the same state
9745 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9747 * docs/gst/gstreamer-sections.txt:
9750 * gst/gstminiobject.h:
9753 more docs and doc style fixes
9755 2005-11-03 Stefan Kost <ensonic@users.sf.net>
9757 * docs/gst/gstreamer-sections.txt:
9759 * gst/gstminiobject.c:
9762 2005-11-03 Andy Wingo <wingo@pobox.com>
9764 * check/states/sinks.c (test_livesrc_sink): Add checks that the
9765 state-changed messages actually have the right order and the right
9768 2005-11-03 Wim Taymans <wim@fluendo.com>
9770 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
9771 Added some more checks. Specifically the case where NO_PREROLL
9772 elements are in the pipeline.
9774 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9775 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
9776 (gst_base_sink_get_position):
9777 Post READY->PAUSED state change messages too.
9778 Fix bug where VOID was posted as pending state...
9780 * gst/gstbin.c: (gst_bin_recalc_state):
9781 use _element_continue_state() to continue the state change.
9783 * gst/gstelement.c: (gst_element_continue_state),
9784 (gst_element_commit_state), (gst_element_set_state_func),
9785 (gst_element_change_state), (gst_element_change_state_func):
9786 Lots of state change cleanups, assign the STATE_RETURN in
9787 a new continue_state() function that also propagates the
9788 last return value from a state change to the app.
9789 Update some debug statements with proper category.
9791 2005-11-03 Wim Taymans <wim@fluendo.com>
9793 * docs/design/part-events.txt:
9794 * docs/design/part-gstpipeline.txt:
9795 * docs/design/part-messages.txt:
9796 * docs/design/part-overview.txt:
9797 * docs/design/part-seeking.txt:
9798 * docs/design/part-states.txt:
9799 * docs/design/part-trickmodes.txt:
9800 * docs/manual/advanced-position.xml:
9804 People think !! is ugly, this looks better.
9806 * gst/gstpad.c: (gst_pad_set_blocked_async):
9807 Remove !! since it's fixed elsewhere now.
9809 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9811 * gst/gstminiobject.h:
9813 Add !! to _FLAG_IS_SET macros to make the result boolean.
9815 2005-11-03 Edward Hervey <edward@fluendo.com>
9817 * gst/gstpad.c: (gst_pad_set_blocked_async):
9818 comparing a flag and a gboolean rarely returns coherent results...
9819 Added two characters (!!) to make that work correctly.
9821 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9823 * gst/gstbus.c: (gst_bus_class_init):
9826 * gst/gstqueue.c: (gst_queue_loop):
9827 Don't assume a miniobject that isn't a buffer is an
9828 event (it could be that there is a refcounting
9829 problem somewhere and the pointer is stale and
9830 refers to an already destroyed miniobject).
9832 2005-11-03 Julien MOUTTE <julien@moutte.net>
9834 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
9836 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
9838 * docs/manual/advanced-position.xml:
9839 Update seek example and explanations to current 0.9 API.
9841 * gst/elements/gsttypefindelement.c:
9842 (gst_type_find_element_activate):
9843 Remove FIXME comment now that the found caps
9846 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
9848 * gst/gstregistryxml.c: (load_feature):
9849 Add another GST_STR_NULL instance
9851 2005-11-02 Edward Hervey <edward@fluendo.com>
9853 * gst/gstpad.c: (handle_pad_block):
9854 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
9856 2005-11-02 Wim Taymans <wim@fluendo.com>
9861 * gst/gstelement.c: (gst_element_commit_state):
9862 Remove unused value.
9864 * gst/gstiterator.c:
9865 Mention that the returned element is reffed in the docs.
9867 2005-11-02 Wim Taymans <wim@fluendo.com>
9869 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
9870 (gst_pad_push), (gst_pad_push_event):
9871 Unlock blocked pads when they are flushed.
9873 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9876 * docs/gst/gstreamer-sections.txt:
9879 * gst/gstregistry.c: (gst_registry_scan_path_level):
9880 fix for a nasty little missed situation where an installed plug-in
9881 which was in the cache did not get overridden by an uninstalled one
9882 which was earlier in the plugin path because the newly created plugin
9883 for the uninstalled one (not in the registry) didn't get its
9884 ->registered set to TRUE
9886 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9888 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
9889 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
9890 (gst_collectpads_is_active), (gst_collectpads_collect),
9891 (gst_collectpads_collect_range), (gst_collectpads_start),
9892 (gst_collectpads_stop), (gst_collectpads_peek),
9893 (gst_collectpads_pop), (gst_collectpads_available),
9894 (gst_collectpads_read), (gst_collectpads_flush):
9895 Guard public API with assertions.
9898 Fix docs for gst_pad_set_link_function().
9900 2005-11-02 Johan Dahlin <johan@gnome.org>
9902 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
9903 Unref found_caps after we used it.
9905 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
9907 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
9908 Don't try to ref NULL.
9910 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9912 * win32/common/config.h.in:
9913 provide a GST_FUNCTION that just gives a string for now
9915 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
9917 * win32/common/gstenumtypes.c: (register_gst_object_flags),
9918 (gst_object_flags_get_type), (register_gst_bin_flags),
9919 (gst_bin_flags_get_type), (register_gst_buffer_flag),
9920 (gst_buffer_flag_get_type), (register_gst_bus_flags),
9921 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
9922 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
9923 (gst_clock_return_get_type), (register_gst_clock_entry_type),
9924 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
9925 (gst_clock_flags_get_type), (register_gst_state),
9926 (gst_state_get_type), (register_gst_state_change_return),
9927 (gst_state_change_return_get_type), (register_gst_state_change),
9928 (gst_state_change_get_type), (register_gst_element_flags),
9929 (gst_element_flags_get_type), (register_gst_core_error),
9930 (gst_core_error_get_type), (register_gst_library_error),
9931 (gst_library_error_get_type), (register_gst_resource_error),
9932 (gst_resource_error_get_type), (register_gst_stream_error),
9933 (gst_stream_error_get_type), (register_gst_event_type),
9934 (gst_event_type_get_type), (register_gst_seek_type),
9935 (gst_seek_type_get_type), (register_gst_seek_flags),
9936 (gst_seek_flags_get_type), (register_gst_format),
9937 (gst_format_get_type), (register_gst_index_certainty),
9938 (gst_index_certainty_get_type), (register_gst_index_entry_type),
9939 (gst_index_entry_type_get_type),
9940 (register_gst_index_lookup_method),
9941 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
9942 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
9943 (gst_index_resolver_method_get_type), (register_gst_index_flags),
9944 (gst_index_flags_get_type), (register_gst_debug_level),
9945 (gst_debug_level_get_type), (register_gst_debug_color_flags),
9946 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
9947 (gst_iterator_result_get_type), (register_gst_iterator_item),
9948 (gst_iterator_item_get_type), (register_gst_message_type),
9949 (gst_message_type_get_type), (register_gst_mini_object_flags),
9950 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
9951 (gst_pad_link_return_get_type), (register_gst_flow_return),
9952 (gst_flow_return_get_type), (register_gst_activate_mode),
9953 (gst_activate_mode_get_type), (register_gst_pad_direction),
9954 (gst_pad_direction_get_type), (register_gst_pad_flags),
9955 (gst_pad_flags_get_type), (register_gst_pad_presence),
9956 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
9957 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
9958 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
9959 (gst_plugin_error_get_type), (register_gst_plugin_flags),
9960 (gst_plugin_flags_get_type), (register_gst_rank),
9961 (gst_rank_get_type), (register_gst_query_type),
9962 (gst_query_type_get_type), (register_gst_tag_merge_mode),
9963 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
9964 (gst_tag_flag_get_type), (register_gst_task_state),
9965 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
9966 (gst_alloc_trace_flags_get_type),
9967 (register_gst_type_find_probability),
9968 (gst_type_find_probability_get_type), (register_gst_uri_type),
9969 (gst_uri_type_get_type), (register_gst_parse_error),
9970 (gst_parse_error_get_type):
9971 * win32/common/gstversion.h:
9974 2005-11-01 Luca Ognibene <luogni@tin.it>
9977 fix docs. popt is dead, long live GOption.
9979 2005-10-31 Wim Taymans <wim@fluendo.com>
9984 2005-10-31 Andy Wingo <wingo@pobox.com>
9988 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
9990 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
9991 need to serialize property notifications on GLib 2.8. GLib 2.6 has
9992 the possibility of deadlocks here if code calling notify() or
9993 set() has a lock that can be taken in another notify handler (ABBA
9994 with class lock and e.g. python GIL state lock).
9996 2005-10-28 Julien MOUTTE <julien@moutte.net>
9998 * gst/gstbus.c: Doc updates.
10000 2005-10-28 Wim Taymans <wim@fluendo.com>
10002 * docs/design/part-TODO.txt:
10003 * gst/gstiterator.c:
10004 * gst/gstsystemclock.c:
10005 * gst/gstsystemclock.h:
10008 2005-10-28 Edward Hervey <edward@fluendo.com>
10010 * docs/gst/gstreamer-docs.sgml:
10011 * docs/gst/gstreamer-sections.txt:
10012 the GstURIType documentation page is private, it only defines GstURIType
10013 which should be defined in the GstURIHandler page
10015 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10017 * gst/gstbin.c: (gst_bin_class_init):
10020 Documentation updates.
10022 2005-10-28 Wim Taymans <wim@fluendo.com>
10024 * docs/gst/gstreamer-sections.txt:
10027 Documented the clocks.
10029 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10031 * docs/gst/gstreamer-sections.txt:
10032 move some macros to private sections
10033 * gst/gstminiobject.c:
10034 * gst/gstminiobject.h:
10035 add descriptions provided by ds and some more
10037 mark macro as to be removed
10039 2005-10-28 Wim Taymans <wim@fluendo.com>
10041 * docs/design/part-TODO.txt:
10042 Add an item to TODO.
10044 * gst/gstiterator.c: (gst_iterator_fold),
10045 (gst_iterator_find_custom):
10046 * gst/gstiterator.h:
10049 2005-10-28 Wim Taymans <wim@fluendo.com>
10051 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10052 (gst_base_transform_init):
10055 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10056 An EOS event marks the queue as completely filled.
10058 2005-10-27 Wim Taymans <wim@fluendo.com>
10060 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10061 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10062 Some more debugging.
10064 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10065 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10066 (gst_base_transform_event), (gst_base_transform_getrange),
10067 (gst_base_transform_chain):
10068 * gst/base/gstbasetransform.h:
10070 Protect transform and concurrent buffer alloc with a new lock.
10071 Try not to break ABI/API.
10073 2005-10-27 Wim Taymans <wim@fluendo.com>
10075 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10076 (gst_base_src_init), (gst_base_src_query),
10077 (gst_base_src_default_newsegment),
10078 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10079 (gst_base_src_send_event), (gst_base_src_event_handler),
10080 (gst_base_src_pad_get_range), (gst_base_src_loop),
10081 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10082 (gst_base_src_start), (gst_base_src_deactivate),
10083 (gst_base_src_activate_push), (gst_base_src_change_state):
10084 Move some stuff around and cleanup things.
10086 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10088 * gst/base/gstbasesrc.c: (gst_base_src_query):
10089 Add missing break statements.
10091 2005-10-27 Wim Taymans <wim@fluendo.com>
10093 * check/gst/gstbin.c: (GST_START_TEST):
10094 An extra refcount is taken in basesrc.
10096 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10097 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10098 (gst_base_src_loop):
10099 Small cleanups, check for flushing after being unlocked from the
10100 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10101 Don't send out EOS when going to READY.
10103 2005-10-27 Wim Taymans <wim@fluendo.com>
10105 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10106 (gst_base_sink_get_position):
10109 * gst/gstbin.c: (message_check), (bin_replace_message),
10110 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10111 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10112 (bin_query_duration_init), (bin_query_duration_fold),
10113 (bin_query_duration_done), (bin_query_generic_fold),
10115 * tools/gst-launch.c: (main):
10118 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10120 * examples/controller/audio-example.c: (main):
10121 * examples/queue/queue.c: (event_loop):
10122 * gst/base/gstbasetransform.h:
10123 * gst/gstelement.c: (gst_element_send_event):
10125 * gst/gstpad.c: (gst_pad_send_event):
10128 changing log priority in error situations
10130 2005-10-25 Wim Taymans <wim@fluendo.com>
10132 * gst/gstbin.c: (message_check), (bin_replace_message),
10133 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10134 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10135 (bin_query_duration_init), (bin_query_duration_fold),
10136 (bin_query_duration_done), (bin_query_generic_fold),
10138 Some doc and debug updates.
10139 Cache previously requested query DURATION for speed. invalidate
10140 cached duration if element posts a DURATION message.
10142 2005-10-25 Wim Taymans <wim@fluendo.com>
10144 * docs/design/part-TODO.txt:
10147 * gst/gstbin.c: (message_check), (bin_replace_message),
10148 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10149 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10150 (bin_query_duration_init), (bin_query_duration_fold),
10151 (bin_query_duration_done), (bin_query_generic_fold),
10153 Handle SEGMENT_START/DONE messages correctly.
10154 More evolved query algorithm that handles duration queries
10157 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10158 (gst_element_get_state_func), (gst_element_abort_state),
10159 (gst_element_commit_state), (gst_element_lost_state):
10160 Some more debugging.
10162 * gst/gstmessage.h:
10165 2005-10-25 Wim Taymans <wim@fluendo.com>
10167 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10168 Don't use invalid stream_time.
10170 * gst/gstevent.c: (gst_event_new_newsegment):
10171 stream_time in newsegment cannot be undefined.
10173 2005-10-24 Wim Taymans <wim@fluendo.com>
10178 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10180 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10182 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10184 * docs/libs/tmpl/gstdparam.sgml:
10185 * docs/libs/tmpl/gstdplinint.sgml:
10186 * docs/libs/tmpl/gstdpman.sgml:
10187 * docs/libs/tmpl/gstdpsmooth.sgml:
10188 * docs/libs/tmpl/gstunitconvert.sgml:
10191 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10196 === release 0.9.4 ===
10198 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10201 releasing 0.9.4, "Tyrannosaurus Rex"
10203 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10205 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10206 (gst_file_sink_get_current_offset):
10207 Use fseeko() and ftello() if available. When falling back on
10208 lseek() to get the current offset, fflush() first to make sure
10209 everything is up-to-date and we get the right offset.
10211 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10213 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10214 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10215 * gst/gsterror.c: (_gst_stream_errors_init):
10217 * gst/gstqueue.c: (gst_queue_loop):
10219 remove prematurely added error category and clean up the instances
10221 2005-10-21 Wim Taymans <wim@fluendo.com>
10223 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10224 (gst_base_sink_get_position), (gst_base_sink_query),
10225 (gst_base_sink_change_state):
10226 Simply set the right flag when going to playing, that's all
10227 we need to do instead of calling a function inside the object
10228 lock (that could take the lock as well and deadlock)
10230 2005-10-21 Wim Taymans <wim@fluendo.com>
10232 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10233 (gst_base_src_loop):
10234 Don't warn, the peer element knows what to do best when
10235 the seek failed, it might try something else.
10237 2005-10-21 Wim Taymans <wim@fluendo.com>
10239 * gst/base/gstbasesrc.c: (gst_base_src_init),
10240 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10243 2005-10-21 Wim Taymans <wim@fluendo.com>
10245 * docs/design/part-segments.txt:
10248 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10249 Correctly set caps, even on the subbufer.
10251 2005-10-21 Wim Taymans <wim@fluendo.com>
10253 * docs/gst/gstreamer-docs.sgml:
10254 * docs/gst/gstreamer-sections.txt:
10255 * gst/gstelement.h:
10258 * gst/gstmessage.h:
10261 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10265 And 2% more doc coverage.
10267 2005-10-21 Andy Wingo <wingo@pobox.com>
10269 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10270 position reporting.
10272 2005-10-20 Wim Taymans <wim@fluendo.com>
10274 * gst/gsterror.c: (gst_error_get_message):
10277 * gst/gststructure.c:
10282 2005-10-20 Wim Taymans <wim@fluendo.com>
10287 Another 1% more coverage.
10289 2005-10-20 Wim Taymans <wim@fluendo.com>
10291 * docs/gst/gstreamer-sections.txt:
10292 * gst/gstelement.c: (gst_element_get_state_func),
10293 (gst_element_abort_state), (gst_element_commit_state),
10294 (gst_element_lost_state):
10296 * gst/gstquery.c: (gst_query_set_position),
10297 (gst_query_parse_position), (gst_query_set_duration),
10298 (gst_query_parse_duration), (gst_query_new_convert):
10300 Yay! 1% more docs coverage.
10302 2005-10-20 Wim Taymans <wim@fluendo.com>
10305 * gst/gstquery.c: (gst_query_set_position),
10306 (gst_query_parse_position), (gst_query_set_duration),
10307 (gst_query_parse_duration), (gst_query_new_convert):
10309 * gst/gstutils.c: (gst_element_query_convert):
10311 Docs and consistency fixes.
10313 2005-10-20 Wim Taymans <wim@fluendo.com>
10319 2005-10-20 Wim Taymans <wim@fluendo.com>
10321 * gst/gstbin.c: (message_check), (bin_replace_message),
10322 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10323 (update_degree), (gst_bin_sort_iterator_next),
10324 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10325 Reworked the message handling a bit, cache the messages instead of
10326 only the senders. alows us to do more in the future.
10328 2005-10-20 Wim Taymans <wim@fluendo.com>
10330 * docs/design/part-TODO.txt:
10333 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10334 (gst_base_sink_query):
10335 Don't use clock time to report position when in EOS.
10337 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10339 * tools/gst-inspect.c: (print_interfaces),
10340 (print_element_properties_info), (print_element_info):
10341 Fix interface output with gst-inspect -a; don't print
10342 newlines after double/float properties.
10344 2005-10-20 Wim Taymans <wim@fluendo.com>
10346 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10347 (gst_base_sink_query):
10348 Speed up current position calculation.
10350 * gst/base/gstbasesrc.c: (gst_base_src_query),
10351 (gst_base_src_default_newsegment):
10352 Correctly set stream position in newsegment.
10354 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10355 (update_degree), (gst_bin_sort_iterator_next),
10356 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10357 * gst/gstmessage.c: (gst_message_new_custom):
10358 Clean up debugging info
10360 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10361 (gst_queue_loop), (gst_queue_handle_src_query):
10364 2005-10-19 Wim Taymans <wim@fluendo.com>
10366 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10367 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10368 Fix query handling again.
10370 2005-10-19 Wim Taymans <wim@fluendo.com>
10372 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10373 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10374 * gst/base/gstbasesrc.c: (gst_base_src_query):
10375 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10376 * gst/elements/gsttypefindelement.c:
10377 (gst_type_find_handle_src_query), (find_element_get_length),
10378 (gst_type_find_element_activate):
10381 * gst/gstquery.c: (gst_query_new_position),
10382 (gst_query_set_position), (gst_query_parse_position),
10383 (gst_query_new_duration), (gst_query_set_duration),
10384 (gst_query_parse_duration), (gst_query_set_segment),
10385 (gst_query_parse_segment):
10387 Bundling query position/duration is not a good idea since duration
10388 does not change much and we don't want to recalculate it for every
10389 position query, so they are separated again..
10390 Base value in segment query is not needed.
10392 * gst/gstqueue.c: (gst_queue_handle_src_query):
10393 * gst/gstutils.c: (gst_element_query_position),
10394 (gst_element_query_duration), (gst_pad_query_position),
10395 (gst_pad_query_duration):
10397 Updates for query API change.
10398 Added some docs here and there.
10400 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10402 * check/gst/gstbin.c: (GST_START_TEST):
10403 * check/gst/gstghostpad.c: (GST_START_TEST):
10404 * check/pipelines/cleanup.c: (GST_START_TEST):
10405 wait on thread to die so we can check refcount correctly
10407 2005-10-18 Wim Taymans <wim@fluendo.com>
10409 * check/pipelines/stress.c: (GST_START_TEST):
10410 Make check a little more time consuming.
10412 2005-10-18 Wim Taymans <wim@fluendo.com>
10414 * check/Makefile.am:
10415 * check/pipelines/stress.c: (GST_START_TEST),
10416 (simple_launch_lines_suite), (main):
10417 Small state change torture test.
10419 * docs/design/part-states.txt:
10420 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10421 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10422 (gst_base_sink_change_state):
10423 Never take state lock from streaming thread, clean up ugly
10424 hacks. Unfortunatly core does not yet support nice ways to
10425 async commit state.
10427 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10429 Start state recalc if a STATE_DIRTY message is posted, but only
10430 on the toplevel bin.
10432 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10433 (gst_element_get_state_func), (gst_element_abort_state),
10434 (gst_element_commit_state), (gst_element_lost_state),
10435 (gst_element_set_state_func), (gst_element_change_state):
10436 * gst/gstelement.h:
10437 State variables are now protected with the LOCK, the state
10438 lock is only used to serialize _set_state().
10440 2005-10-18 Wim Taymans <wim@fluendo.com>
10442 * check/gst/gstbin.c: (GST_START_TEST):
10443 * check/gst/gstmessage.c: (GST_START_TEST):
10444 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10445 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10447 * gst/gstelement.c: (gst_element_abort_state),
10448 (gst_element_commit_state), (gst_element_lost_state):
10449 * gst/gstmessage.c: (gst_message_new_state_changed),
10450 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10451 (gst_message_new_segment_done), (gst_message_new_duration),
10452 (gst_message_parse_state_changed),
10453 (gst_message_parse_segment_start),
10454 (gst_message_parse_segment_done), (gst_message_parse_duration):
10455 * gst/gstmessage.h:
10456 * tools/gst-launch.c: (event_loop):
10457 Seriously, this is better than a previous commit as we only need
10458 to notify the fact that an element changed state in a streaming
10459 thread, marking the state of the parents dirty, hence the
10460 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10463 2005-10-18 Wim Taymans <wim@fluendo.com>
10465 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10466 (gst_bin_recalc_func):
10467 * gst/gstelement.c: (gst_element_set_clock),
10468 (gst_element_abort_state), (gst_element_lost_state):
10469 Cleanups, prepare for state change fixes.
10471 2005-10-18 Wim Taymans <wim@fluendo.com>
10474 * gst/gstelement.c: (gst_element_class_init),
10475 (gst_element_set_state), (gst_element_set_state_func):
10476 * gst/gstelement.h:
10477 Pending ABI changes.
10478 GThreadPool in GstBinClass to monitor async state changes.
10479 state_cookie in GstElement to detect concurrent gst/set state.
10480 set_state is now virtual too in case a very complicated element
10481 has to be constructed.
10483 2005-10-18 Wim Taymans <wim@fluendo.com>
10485 * check/gst/gstbin.c: (GST_START_TEST):
10486 * check/gst/gstmessage.c: (GST_START_TEST):
10487 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10488 * gst/gstbin.c: (bin_bus_handler):
10489 * gst/gstelement.c: (gst_element_commit_state),
10490 (gst_element_lost_state):
10491 * gst/gstmessage.c: (gst_message_new_state_changed),
10492 (gst_message_new_segment_start), (gst_message_new_segment_done),
10493 (gst_message_new_duration), (gst_message_parse_state_changed),
10494 (gst_message_parse_segment_start),
10495 (gst_message_parse_segment_done), (gst_message_parse_duration):
10496 * gst/gstmessage.h:
10497 * tools/gst-launch.c: (event_loop):
10498 Make messages future proof.
10499 state-change gets a flag if it was a message comming from the
10501 segment-start/stop can also be specified in other formats.
10502 A message to notify an app that a pipeline changed playback
10504 Also fix a GstMessage leak in -launch
10506 2005-10-18 Andy Wingo <wingo@pobox.com>
10508 * gst/gstelement.c (gst_element_dispose): More helpful message.
10510 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10512 reviewed by: <delete if not using a buddy>
10514 * common/gtk-doc.mak:
10516 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10518 * gst/gstregistry.c: (gst_registry_scan_path_level):
10519 unref a plug-in we get that was already initialized
10521 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10523 * docs/gst/gstreamer-sections.txt:
10524 * docs/libs/gstreamer-libs-sections.txt:
10525 * gst/gstelement.h:
10526 add new api entries
10527 hide internal macro
10529 2005-10-17 Andy Wingo <wingo@pobox.com>
10531 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10534 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10536 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10538 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10539 (gst_element_get_state_func): Better debug message.
10540 (gst_element_commit_state): s/INFO/DEBUG/.
10541 (gst_element_lost_state, gst_element_change_state):
10543 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10544 (gst_message_new_custom): s/INFO/LOG/.
10546 2005-10-17 Michael Smith <msmith@fluendo.com>
10548 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10549 Check if end time is valid using end time, not start time.
10551 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10553 * check/gst-libs/controller.c: (GST_START_TEST),
10554 (gst_controller_suite):
10555 * libs/gst/controller/gstcontroller.c:
10556 (gst_controlled_property_set_interpolation_mode):
10557 * libs/gst/controller/gstcontroller.h:
10558 * libs/gst/controller/gstinterpolation.c:
10559 * testsuite/controller/.cvsignore:
10560 * testsuite/controller/Makefile.am:
10561 * testsuite/controller/interpolator.c:
10562 merge controller testsuites
10564 remove mem-chunk from docs
10566 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10568 * gst/gstmemchunk.c:
10569 * gst/gstmemchunk.h:
10570 * gst/gsttrashstack.c:
10571 * gst/gsttrashstack.h:
10572 out. get out. you're fired. to the Attic !
10574 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10576 * gst/gstcaps.c: (gst_caps_intersect):
10577 fix signedness issues in a (hopefully) correct way
10578 * gst/gstelement.c: (gst_element_pads_activate):
10580 * gst/gstobject.c: (gst_object_set_parent):
10583 2005-10-17 Julien MOUTTE <julien@moutte.net>
10585 * gst/gstvalue.h: Fix prototypes.
10587 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10589 * docs/gst/gstreamer-sections.txt:
10590 * gst/gst.c: (gst_version_string):
10592 * gst/gstversion.h.in:
10593 * win32/common/libgstreamer.def:
10594 add gst_version_string ()
10596 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10600 * gst/gst.c: (init_post):
10601 * win32/common/config.h.in:
10603 * gst/gstcaps.c: (gst_caps_intersect):
10604 use gint64, the range could be bigger than a guint
10606 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10609 document potential problem in 2038
10611 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10613 * gst/gstcaps.c: (gst_caps_intersect):
10614 Fix guint j diving under 0
10616 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10619 * win32/common/config.h:
10620 * win32/common/config.h.in:
10621 check for process.h, declares getpid() on Windows
10623 include process.h if we have it
10624 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10625 * gst/gstmemchunk.h:
10626 fix signedness issues
10627 * win32/common/libgstreamer.def:
10630 2005-10-16 Julien MOUTTE <julien@moutte.net>
10632 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10633 fix. Because of unsigned ints, caps intersection was going nuts and
10634 trying to access structures with G_MAXUINT index. That fixes
10635 videotestsrc ! ffmpegcolorspace ! fakesink
10636 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10639 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10642 use the gettext macro
10643 * gst/elements/gstelements.c:
10645 * gst/indexers/gstindexers.c:
10646 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10647 * win32/common/config.h:
10649 * win32/common/config.h.in:
10650 add the template to generate config.h
10651 * win32/common/gstenumtypes.c:
10652 * win32/common/gstversion.h:
10655 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10657 * gst/gst.c: (gst_version):
10658 * gst/gstversion.h.in:
10661 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10664 Oops, add missing closing bracket.
10666 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10669 use common m4's for argument checking
10671 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10673 * docs/gst/gstreamer-sections.txt:
10675 Add GST_EVENT_TYPE_NAME() macro.
10677 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10680 * gst/gstpluginfeature.c:
10682 privatize more symbols
10684 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10687 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10688 everything that uses GStreamer API should have the includes
10690 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10692 * docs/gst/gstreamer-sections.txt:
10693 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10695 give each value a _get_type, removes the DATA exports
10697 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10701 remove _gst_registry_auto_load, not used anymore
10702 * gst/gstbin.c: (gst_bin_get_type):
10704 * gst/gstelement.c: (gst_element_get_type):
10705 * gst/gstelement.h:
10706 * gst/gstobject.c: (gst_object_get_type):
10708 * gst/gstpad.c: (gst_pad_get_type):
10710 make _get_type functions similar, fixes data export from library
10712 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10715 correctly make conditionals
10716 * gst/elements/Makefile.am:
10717 * gst/elements/gstelements.c:
10718 fix typo causing fdsrc not to build
10720 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10722 * testsuite/Makefile.am:
10723 * testsuite/bytestream/.cvsignore:
10724 * testsuite/bytestream/Makefile.am:
10725 * testsuite/bytestream/filepadsink.c:
10726 * testsuite/bytestream/gstbstest.c:
10727 * testsuite/bytestream/test1.c:
10728 * testsuite/bytestream/testfile1:
10729 * testsuite/caps/normalisation.c:
10730 * testsuite/caps/random.c: (main):
10731 * testsuite/cleanup/.cvsignore:
10732 * testsuite/cleanup/Makefile.am:
10733 * testsuite/cleanup/cleanup1.c:
10734 * testsuite/cleanup/cleanup2.c:
10735 * testsuite/cleanup/cleanup3.c:
10736 * testsuite/cleanup/cleanup4.c:
10737 * testsuite/cleanup/cleanup5.c:
10738 * testsuite/controller/interpolator.c:
10739 * testsuite/debug/printf_extension.c: (main):
10740 * testsuite/elements/tee.c:
10741 * testsuite/negotiation/.cvsignore:
10742 * testsuite/negotiation/Makefile.am:
10743 * testsuite/negotiation/pad_link.c:
10744 * testsuite/pad/Makefile.am:
10745 * testsuite/pad/chainnopull.c:
10746 * testsuite/pad/getnopush.c:
10747 * testsuite/pad/link.c:
10748 * testsuite/refcounting/sched.c: (create_pipeline):
10749 * testsuite/registry/Makefile.am:
10750 * testsuite/registry/gst-print-formats.c:
10751 * testsuite/schedulers/.cvsignore:
10752 * testsuite/schedulers/142183-2.c:
10753 * testsuite/schedulers/142183.c:
10754 * testsuite/schedulers/143777-2.c:
10755 * testsuite/schedulers/143777.c:
10756 * testsuite/schedulers/147713.c:
10757 * testsuite/schedulers/147819.c:
10758 * testsuite/schedulers/147894-2.c:
10759 * testsuite/schedulers/147894.c:
10760 * testsuite/schedulers/Makefile.am:
10761 * testsuite/schedulers/group_link.c:
10762 * testsuite/schedulers/queue_link.c:
10763 * testsuite/schedulers/relink.c:
10764 * testsuite/schedulers/unlink.c:
10765 * testsuite/schedulers/unref.c:
10766 * testsuite/schedulers/useless_iteration.c:
10767 * testsuite/states/bin.c:
10768 clean out/remove some stuff from the testsuite directories
10770 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10773 check for some headers
10774 * gst/elements/Makefile.am:
10775 * gst/elements/gstelements.c:
10776 don't compile fdsrc without sys/socket.h
10777 * gst/indexers/Makefile.am:
10778 * gst/indexers/gstindexers.c: (plugin_init):
10779 don't compile fileindex without mmap
10781 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10788 * check/Makefile.am:
10789 * docs/gst/Makefile.am:
10790 * examples/helloworld/Makefile.am:
10792 * gst/base/Makefile.am:
10793 * gst/check/Makefile.am:
10794 * gst/elements/Makefile.am:
10795 * gst/indexers/Makefile.am:
10796 * gst/parse/Makefile.am:
10797 * libs/gst/controller/Makefile.am:
10798 * libs/gst/dataprotocol/Makefile.am:
10799 * examples/helloworld/helloworld.c: (event_loop):
10800 compile fixes, though it's not being compiled currently
10802 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10804 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
10805 Add some simple tests for the new taglist date API.
10807 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10809 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
10810 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
10811 Beautify 'last-message' output: print 'none' for buffer timestamps
10812 and durations if none is set; improve alignment with next messages.
10814 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
10816 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
10817 * gst/gstpluginfeature.h:
10818 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
10819 * gst/gstregistry.h:
10820 * docs/gst/gstreamer-sections.txt:
10821 Add new API to check plugin feature version requirements.
10823 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
10824 Some basic tests for the above.
10826 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10828 * gst/gststructure.c: (gst_structure_to_string):
10829 guard against NULL printf - happens when for example
10830 a message structure with GstClock gets serialized
10832 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10834 * gst/base/gstcollectpads.c: (gst_collectpads_event):
10835 Fix presumable copy'n'pasto.
10837 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10839 * gst/elements/gstfakesrc.h:
10840 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
10841 * gst/elements/gsttypefindelement.c:
10842 fix some signedness
10843 * gst/elements/gstfilesink.c: (gst_file_sink_render):
10844 I wonder if this could actually write +2GB files before
10846 2005-10-13 Andy Wingo <wingo@pobox.com>
10848 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
10849 Fix Timmeke Waymans bug.
10850 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
10851 string of the proper length to gst_caps_from_string. There's a
10852 potential for, before this fix, that this could cause someone
10853 connecting over the network to cause a segfault if the payload is
10854 not NUL-terminated.
10856 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10858 * docs/design/draft-push-pull.txt:
10859 * docs/design/part-overview.txt:
10860 * docs/random/TODO-pre-0.9:
10861 * docs/random/old/ChangeLog.gstreamer:
10862 * gst/base/gstpushsrc.c:
10866 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10868 * gst/glib-compat.c: (gst_flags_get_first_value):
10869 * gst/glib-compat.h:
10870 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
10871 (gst_value_compare_double), (gst_value_serialize_flags):
10872 GLib 2.6 g_flags_get_first_value has a bug that triggers an
10875 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10878 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10880 * tools/gst-launch.c: (event_loop):
10881 print out clock nicely
10883 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
10885 * docs/gst/gstreamer-sections.txt:
10886 * gst/gsttaglist.h:
10887 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
10888 (gst_tag_list_get_date_index):
10889 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
10890 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
10892 2005-10-13 Julien MOUTTE <julien@moutte.net>
10894 * gst/base/gstcollectpads.c: (gst_collectpads_event),
10895 (gst_collectpads_chain):
10896 * gst/base/gstcollectpads.h: Handle newsegment and store informations
10899 2005-10-13 Stefan Kost <ensonic@users.sf.net>
10901 * docs/gst/gstreamer-sections.txt:
10904 * tools/gst-inspect.c: (main):
10905 * tools/gst-launch.c: (main):
10906 * tools/gst-run.c: (main):
10907 * tools/gst-xmlinspect.c: (main):
10908 fix GOption context leaks
10911 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
10915 * win32/common/config.h:
10917 * win32/vs6/grammar.dsp:
10918 * win32/vs6/libgstelements.dsp:
10919 * win32/vs6/libgstreamer.dsp:
10922 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10925 * gst/base/gstbasesrc.c: (gst_base_src_query):
10926 fix more guint64<->gdouble conversions
10928 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10931 add win32-update target
10932 * win32/common/gstconfig.h:
10933 * win32/common/gstenumtypes.c:
10934 * win32/common/gstenumtypes.h:
10935 * win32/common/gstversion.h:
10936 add files that visual studio can't generate
10938 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
10941 add a win32-update target
10944 2005-10-12 Wim Taymans <wim@fluendo.com>
10946 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10947 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
10948 * gst/gstelement.c: (gst_element_commit_state),
10949 (gst_element_set_state):
10950 Protect flags with proper lock.
10951 unref provided cached clock in dispose.
10953 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10956 * gst/gstminiobject.h:
10958 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
10959 removed unused flags from miniobject
10962 2005-10-12 Wim Taymans <wim@fluendo.com>
10964 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10965 (gst_file_sink_event), (gst_file_sink_render):
10966 Flush before seeking.
10968 2005-10-12 Andy Wingo <wingo@pobox.com>
10970 * gst/gst.c (gst_init_check): Ignore unknown options, as has
10971 always been the case.
10973 2005-10-12 Stefan Kost <ensonic@users.sf.net>
10975 * check/gst/gstbin.c: (GST_START_TEST):
10976 * docs/gst/gstreamer-sections.txt:
10977 * gst/base/gstbasesink.c: (gst_base_sink_init):
10978 * gst/base/gstbasesrc.c: (gst_base_src_init),
10979 (gst_base_src_get_range), (gst_base_src_check_get_range),
10980 (gst_base_src_start), (gst_base_src_stop):
10981 * gst/base/gstbasesrc.h:
10982 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
10983 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
10984 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
10988 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
10990 * gst/gstelement.c: (gst_element_is_locked_state),
10991 (gst_element_set_locked_state), (gst_element_commit_state),
10992 (gst_element_set_state):
10993 * gst/gstelement.h:
10994 * gst/gstindex.c: (gst_index_init):
10996 * gst/gstminiobject.h:
10997 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
10998 (gst_object_set_parent):
11000 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11001 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11003 * gst/gstpadtemplate.h:
11004 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11005 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11006 * gst/gstpipeline.h:
11007 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11008 (gst_file_index_commit):
11009 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11010 * testsuite/pad/link.c: (gst_test_src_init),
11011 (gst_test_filter_init), (gst_test_sink_init):
11012 * testsuite/states/locked.c: (main):
11013 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11014 moved bitshift from macro to enum definition
11016 2005-10-12 Wim Taymans <wim@fluendo.com>
11018 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11019 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11020 (gst_file_sink_render):
11021 Some more debugging info.
11023 2005-10-12 Wim Taymans <wim@fluendo.com>
11025 * docs/design/part-states.txt:
11026 * tools/gst-launch.c: (main):
11028 Revert non-intentional change.
11030 2005-10-12 Wim Taymans <wim@fluendo.com>
11032 * check/gst/gstbin.c: (GST_START_TEST):
11033 * check/gst/gstelement.c: (GST_START_TEST):
11034 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11035 * check/gst/gstghostpad.c: (GST_START_TEST):
11036 * check/gst/gstpipeline.c: (GST_START_TEST):
11037 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11038 * check/states/sinks.c: (GST_START_TEST):
11039 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11040 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11041 (gst_bin_remove_func), (gst_bin_get_state_func),
11042 (gst_bin_recalc_state), (gst_bin_change_state_func),
11044 * gst/gstelement.c: (gst_element_get_state_func),
11045 (gst_element_get_state), (gst_element_abort_state),
11046 (gst_element_commit_state), (gst_element_set_state),
11047 (gst_element_change_state), (gst_element_change_state_func):
11048 * gst/gstelement.h:
11049 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11050 (gst_pipeline_provide_clock_func):
11051 * gst/gstutils.c: (gst_element_link_pads_filtered):
11052 * tools/gst-launch.c: (main):
11053 * tools/gst-typefind.c: (main):
11054 Use GstClockTime in _get_state() instead of GTimeVal.
11055 Remove old code in gstutils.c
11057 2005-10-12 Andy Wingo <wingo@pobox.com>
11059 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11062 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11063 there is no task. Shouldn't affect any code, as nothing in our
11064 plugins checks this return value.
11065 (gst_pad_stop_task): Also take the stream lock if the pad has no
11066 task. Docs updated.
11068 2005-10-12 Wim Taymans <wim@fluendo.com>
11070 * gst/gstpad.c: (pre_activate), (post_activate),
11071 (gst_pad_activate_pull), (gst_pad_activate_push):
11072 Cleanup activation code. Reset old state if
11075 2005-10-12 Wim Taymans <wim@fluendo.com>
11077 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11078 (gst_base_sink_change_state):
11079 No need to prerol after receiving EOS.
11081 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11082 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11083 * gst/elements/gstidentity.c: (gst_identity_event):
11084 Print events more verbosely.
11086 2005-10-12 Wim Taymans <wim@fluendo.com>
11088 * check/Makefile.am:
11089 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11090 * check/states/sinks2.c:
11091 Moved sinks2 testcode in sinks check.
11093 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11094 (gst_bin_remove_func), (gst_bin_recalc_state),
11095 (gst_bin_change_state_func), (bin_bus_handler):
11096 Fix potential race condition when _get_state() iterated over an
11097 ASYNC element right before it posted a state completion.
11100 Do proper cast here.
11102 * gst/gstevent.c: (gst_event_new_newsegment),
11103 (gst_event_parse_newsegment):
11104 A playback rate of 0.0 is not allowed.
11106 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11108 * win32/common/config.h:
11109 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11110 (_trewinddir), (_ttelldir), (_tseekdir):
11111 * win32/common/dirent.h:
11112 * win32/common/gtchar.h:
11113 * win32/common/libgstbase.def:
11114 * win32/common/libgstreamer.def:
11115 * win32/vs6/grammar.dsp:
11116 * win32/vs6/gst_inspect.dsp:
11117 * win32/vs6/gst_launch.dsp:
11118 * win32/vs6/gstreamer.dsw:
11119 * win32/vs6/libgstbase.dsp:
11120 * win32/vs6/libgstelements.dsp:
11121 * win32/vs6/libgstreamer.dsp:
11122 Visual Studio 6 project files, and a new common directory.
11125 2005-10-11 Wim Taymans <wim@fluendo.com>
11127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11128 (gst_base_sink_do_sync), (gst_base_sink_query),
11129 (gst_base_sink_change_state):
11130 * gst/base/gstbasesink.h:
11131 Correctly parse newsegment info.
11133 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11135 * gst/gst.c: (init_post):
11136 split plugin paths correctly
11138 2005-10-11 Wim Taymans <wim@fluendo.com>
11140 * check/gst/gstevent.c: (GST_START_TEST):
11141 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11142 (gst_base_sink_change_state):
11143 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11144 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11145 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11146 * gst/gstevent.c: (gst_event_new_newsegment),
11147 (gst_event_parse_newsegment):
11149 Added extra flag to newsegment for future API freeze.
11150 Updated check and base elements.
11152 2005-10-11 Julien MOUTTE <julien@moutte.net>
11154 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11155 (gst_collectpads_add_pad), (gst_collectpads_pop),
11156 (gst_collectpads_event), (gst_collectpads_chain):
11157 * gst/base/gstcollectpads.h: Handle EOS correctly.
11159 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11161 * tools/gst-launch.c: (main):
11162 more null protecting
11164 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11166 * gst/gst-i18n-lib.h:
11167 check for ENABLE_NLS, not GETTEXT_PACKAGE
11168 * gst/gstregistry.c: (gst_registry_add_plugin),
11169 (gst_registry_scan_path_level),
11170 (_gst_registry_remove_cache_plugins):
11171 protect possibly NULL strings
11172 * gst/parse/types.h:
11173 config.h already included before
11174 * tools/gst-inspect.c: (main):
11175 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11176 check for ENABLE_NLS, not GETTEXT_PACKAGE
11177 * tools/gst-launch.c: (main):
11178 check for ENABLE_NLS, not GETTEXT_PACKAGE
11180 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11183 if we don't have glib, fail before testing 2.8
11184 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11185 fix a leak, should fix plugins-base testsuite
11187 2005-10-11 Andy Wingo <wingo@pobox.com>
11189 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11190 take the mode we're going to as an arg. Go head and set the mode
11191 and flushing flags now, so that if the activate function starts a
11192 thread all the flags will be in the right state.
11193 (post_activate): Renamed also. Just handle making sure streaming
11194 finishes for the deactivation case, and setting the deactivated
11196 (gst_pad_set_active): Complain loudly if deactivation fails.
11197 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11198 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11199 remove the terrible hack.
11201 2005-10-11 Wim Taymans <wim@fluendo.com>
11203 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11204 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11205 (gst_bin_recalc_state), (gst_bin_change_state_func),
11206 (gst_bin_dispose), (bin_bus_handler):
11208 Prepare to make current EOS message queue more generic.
11211 * gst/gstevent.c: (gst_event_new_newsegment),
11212 (gst_event_parse_newsegment):
11214 Rename base to stream_time.
11216 * gst/gstmessage.h:
11219 2005-10-11 Wim Taymans <wim@fluendo.com>
11221 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11222 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11223 (gst_bin_change_state_func), (bin_bus_handler):
11225 Work on proper clock selection.
11227 2005-10-11 Edward Hervey <edward@fluendo.com>
11229 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11230 * libs/gst/controller/gstcontroller.h:
11231 Added GList* version of _remove_properties() in order to be able to wrap
11234 2005-10-11 Wim Taymans <wim@fluendo.com>
11236 * docs/design/part-states.txt:
11239 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11240 (gst_bin_change_state_func), (bin_bus_handler):
11241 Doc updates. Don't distribute the same clock over and over again.
11247 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11248 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11249 (gst_pad_send_event):
11251 Make probe emission threadsafe again.
11252 Register quarks and move _get_name() from utils.
11255 * gst/gstpipeline.c: (gst_pipeline_class_init),
11256 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11257 Only redistribute the clock of it changed.
11259 * gst/gstsystemclock.h:
11264 Moved the _flow_get_name() to GstPad.
11266 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11268 * check/gst-libs/gdp.c: (GST_START_TEST):
11269 * check/gst/gstcaps.c: (GST_START_TEST):
11270 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11271 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11272 (gst_dp_packet_from_caps):
11273 fix more valgrind warnings before turning up the heat
11275 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11277 * gst/parse/grammar.y:
11278 some cleanup before the hacking
11280 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11282 * gst/base/gstbasesrc.c: (gst_base_src_query):
11284 * gst/gstutils.c: (gst_guint64_to_gdouble),
11285 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11287 externalize, basesrc uses it
11288 obviously the implementation needs testing
11290 2005-10-10 Wim Taymans <wim@fluendo.com>
11292 * tests/sched/Makefile.am:
11293 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11294 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11296 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11298 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11299 apparently converting from guint64 to double is not implemented
11302 2005-10-10 Wim Taymans <wim@fluendo.com>
11304 * check/Makefile.am:
11305 * check/generic/states.c: (GST_START_TEST):
11306 * check/gst/gstbin.c: (GST_START_TEST):
11307 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11308 * check/states/sinks.c: (GST_START_TEST):
11309 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11311 Check fixes, use API as stated in design docs, remove hacks.
11313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11314 (gst_base_sink_change_state):
11315 Catch stopping our task while we're shutting down.
11317 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11318 (gst_bin_remove_func), (gst_bin_get_state_func),
11319 (gst_bin_recalc_state), (gst_bin_change_state_func),
11322 * gst/gstelement.c: (gst_element_init),
11323 (gst_element_get_state_func), (gst_element_abort_state),
11324 (gst_element_commit_state), (gst_element_lost_state),
11325 (gst_element_set_state), (gst_element_change_state),
11326 (gst_element_change_state_func):
11327 * gst/gstelement.h:
11328 New state change algorithm (see #318116)
11330 * gst/gstpipeline.c: (gst_pipeline_class_init),
11331 (gst_pipeline_init), (gst_pipeline_set_property),
11332 (gst_pipeline_get_property), (do_pipeline_seek),
11333 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11334 * gst/gstpipeline.h:
11335 Remove crude state change hacks.
11338 Remove crude hacks.
11340 * tools/gst-launch.c: (main):
11341 Fixes for state change. Needs some more work to fully use the
11344 2005-10-10 Andy Wingo <wingo@pobox.com>
11346 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11348 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11349 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11352 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11354 * gst/gstiterator.c: (gst_iterator_new):
11355 Fix my previous commit: GTypes passed to gst_iterator_new()
11356 can be fundamental types.
11358 2005-10-10 Wim Taymans <wim@fluendo.com>
11360 * gst/gstelement.c: (gst_element_iterate_pad_list),
11361 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11362 (gst_element_iterate_sink_pads):
11363 Use src/sink pads lists for the respective iterators instead
11366 2005-10-10 Andy Wingo <wingo@pobox.com>
11368 Merged in popt removal + GOption addition patch from Ronald, bug
11371 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11372 GstElement macros around, remove popt-related symbols, add goption
11375 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11377 * docs/gst/Makefile.am:
11378 * docs/libs/Makefile.am: No POPT_CFLAGS.
11380 * examples/manual/Makefile.am:
11381 * docs/manual/basics-init.xml: Doc updates with an example.
11383 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11384 (gst_init), (parse_one_option), (parse_goption_arg):
11385 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11386 bit of hand merging and debugging to get the GOption stuff working
11389 * tests/Makefile.am:
11390 * tools/Makefile.am:
11391 * tools/gst-inspect.c: (main):
11392 * tools/gst-launch.c: (main):
11393 * tools/gst-run.c: (main):
11394 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11396 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11398 * gst/gstiterator.c: (gst_iterator_new):
11399 Add assertions to make sure passed GType is likely to really
11400 be a GType (as the compiler won't catch it if the size and
11401 GType arguments get mixed up, see #318447).
11403 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11405 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11407 * gst/gstbin.c: (gst_bin_iterate_sorted):
11408 Pass GType and size arguments to gst_iterator_new() in the right
11409 order (maybe we should make _new() take the GType as first argument
11410 just like _new_list()?) (#318447).
11413 2005-10-10 Wim Taymans <wim@fluendo.com>
11415 * gst/gstelement.c: (gst_element_finalize):
11416 And free the GStaticRecMutex too
11418 2005-10-10 Andy Wingo <wingo@pobox.com>
11420 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11421 Allocate and free the mutex properly.
11423 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11425 (GstElement): The state_lock is now recursive. Rebuild your
11426 plugins, suckers. Old macros adapted.
11428 * docs/gst/gstreamer-sections.txt: Doc updates.
11431 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11432 (g_static_rec_cond_wait): Ported from state changes patch, while
11433 we wait on bug #317802 to be solved in a well-distributed GLib.
11435 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11436 gst_element_change_state, variable name changes.
11437 (gst_element_change_state): Split out of gst_element_set_state in
11438 preparation for the state change merge. Doesn't pay attention to
11439 the 'transition' argument.
11440 (gst_element_set_state): Updates, hopefully purely cosmetic.
11441 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11442 state change patch.
11443 (gst_element_get_state_func): Renamed from get_state, cosmetic
11446 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11448 * gst/elements/gstelements.c:
11449 * win32/GStreamer.vcproj:
11451 * win32/dirent.c: (_tseekdir):
11452 * win32/gst-inspect.vcproj:
11453 * win32/gst-launch.vcproj:
11454 * win32/gstconfig.h:
11455 * win32/gstelements.vcproj:
11456 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11457 * win32/gstreamer.def:
11458 * win32/msvc71.sln:
11459 updates for the win32 build (patch from Sebastien Moutte)
11461 2005-10-10 Andy Wingo <wingo@pobox.com>
11463 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11464 gst_bin_get_state, cleaned up (but no logic changes).
11465 (bin_element_is_sink): Comment updates.
11466 (sink_iterator_filter): Remove needless cast.
11467 (gst_bin_iterate_sinks): Doc update.
11468 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11469 cleaned up (but no logic changes).
11471 * check/states/sinks.c (test_src_sink): Cleanups from the state
11473 (test_livesrc_sink): Sync on the state.
11475 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11476 the state change patch.
11478 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11481 * check/gst/gstbin.c: Merge in some style fixes and additional
11482 checks from Wim's state change patch.
11484 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11486 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11487 (gst_type_find_helper):
11488 Check whether we have the requested data already in our list of
11489 cached buffers before pulling a new buffer; also make the buffer
11490 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11492 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11497 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11498 don't use long long, it's not portable. Replacing with
11499 gint64 seems to work; let's hope no skeletons fall out of the closet.
11501 2005-10-10 Andy Wingo <wingo@pobox.com>
11503 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11505 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11507 * docs/gst/gstreamer-sections.txt:
11512 * gst/gstmessage.c: (gst_message_parse_state_changed):
11515 more docs, fix compilation
11517 2005-10-09 Philippe Khalaf <burger@speedy.org>
11518 * gst/gstmessage.c:
11519 Fixed a few forgotten variables on previous commit
11521 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11523 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11524 Fix evil typefind crasher: getrange() might return a short
11525 buffer at the end of a file, but gst_type_find_peek() must
11526 either return the full data as requested or NULL, but
11527 never a short buffer.
11529 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11531 * gst/gstmessage.c: (gst_message_new_state_changed),
11532 (gst_message_parse_state_changed):
11533 * gst/gstmessage.h:
11534 don't use "new", it's a C++ keyword
11536 2005-10-08 Wim Taymans <wim@fluendo.com>
11538 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11539 * gst/gstelement.c: (gst_element_post_message):
11540 * gst/gstpipeline.c: (gst_pipeline_change_state):
11541 Small docs and debug updates.
11543 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11545 * docs/gst/gstreamer-sections.txt:
11546 * gst/gstelementfactory.c:
11548 * gst/gsttaglist.c:
11551 2005-10-08 Wim Taymans <wim@fluendo.com>
11553 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11554 (gst_bin_dispose), (bin_bus_handler):
11555 Fix typos, add comments.
11556 Clear EOS list when going to PAUSED from any direction and do it
11557 in a threadsafe way.
11558 Get base time in a threadsafe way too.
11559 Fix confusing debug in the change_state function.
11560 Various other small cleanups.
11562 * gst/gstelement.c: (gst_element_post_message):
11563 Fix very verbose bus posting code.
11565 * gst/gstpipeline.c: (gst_pipeline_class_init),
11566 (gst_pipeline_set_property), (gst_pipeline_get_property),
11567 (gst_pipeline_change_state):
11568 Small ARG_ -> PROP_ cleanup
11570 2005-10-08 Wim Taymans <wim@fluendo.com>
11572 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11573 Do a less CPU demanding EOS check because we can.
11575 2005-10-08 Wim Taymans <wim@fluendo.com>
11577 * libs/gst/dataprotocol/dataprotocol.c:
11578 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11579 (gst_dp_packet_from_event):
11580 * libs/gst/dataprotocol/dataprotocol.h:
11581 * libs/gst/dataprotocol/dp-private.h:
11582 It's about time we bump the version number.
11583 Since event types don't fit in the guint8 anymore describing
11584 the payload type, make payload type 16 bits wide.
11586 2005-10-08 Wim Taymans <wim@fluendo.com>
11588 * docs/design/part-TODO.txt:
11589 * docs/design/part-clocks.txt:
11590 * docs/design/part-events.txt:
11591 * docs/design/part-gstbin.txt:
11592 * docs/design/part-gstelement.txt:
11593 * docs/design/part-gstpipeline.txt:
11594 * docs/design/part-live-source.txt:
11595 * docs/design/part-messages.txt:
11596 * docs/design/part-overview.txt:
11597 * docs/design/part-states.txt:
11600 2005-10-08 Wim Taymans <wim@fluendo.com>
11604 Fix event quark registration.
11605 Add some space between events so we can insert them in the
11608 2005-10-08 Wim Taymans <wim@fluendo.com>
11610 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11611 (gst_base_sink_handle_buffer):
11612 Better log message.
11615 * gst/gstelement.h:
11618 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11619 (gst_queue_set_property), (gst_queue_get_property):
11621 Remove old unused properties.
11623 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11624 * docs/gst/gstreamer-sections.txt:
11625 * gst/gstmessage.c:
11626 * gst/gstmessage.h:
11627 * gst/gstminiobject.c:
11628 * gst/gstminiobject.h:
11632 lots of new docs and doc fixes
11634 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11636 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11638 * gst/gstregistry.c: (gst_registry_lookup_locked),
11639 (gst_registry_scan_path_level):
11640 * gst/gstregistryxml.c: (load_plugin):
11641 Only ever load one plugin for a given plugin basename.
11642 This ensures correct overriding of GST_PLUGIN_PATH over
11643 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11644 system installed plugins.
11646 2005-10-08 Wim Taymans <wim@fluendo.com>
11648 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11649 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11650 Prepare for doing QOS.
11652 2005-10-08 Wim Taymans <wim@fluendo.com>
11654 * check/gst/gstbin.c: (GST_START_TEST):
11655 * check/pipelines/cleanup.c: (GST_START_TEST):
11656 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11657 Allow new clock message too.
11659 2005-10-08 Wim Taymans <wim@fluendo.com>
11661 * gst/gstmessage.c: (gst_message_new_error),
11662 (gst_message_new_warning), (gst_message_new_tag),
11663 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11664 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11665 (gst_message_new_segment_start), (gst_message_new_segment_done),
11666 (gst_message_parse_state_changed),
11667 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11668 (gst_message_parse_new_clock):
11669 * gst/gstmessage.h:
11670 Also carry the clock in question.
11672 2005-10-08 Wim Taymans <wim@fluendo.com>
11674 * gst/gstmessage.c: (gst_message_new_custom),
11675 (gst_message_new_eos), (gst_message_new_error),
11676 (gst_message_new_warning), (gst_message_new_tag),
11677 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11678 (gst_message_new_new_clock), (gst_message_new_segment_start),
11679 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11680 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11681 * gst/gstmessage.h:
11683 Added clock related messages.
11685 * gst/gstpipeline.c: (gst_pipeline_change_state):
11686 Post message when the clock changed.
11688 * tools/gst-launch.c: (event_loop):
11691 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11693 * tools/gst-inspect.c: (print_element_properties_info):
11694 Can't pass NULL strings to g_print() on windows.
11696 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11698 * docs/Makefile.am:
11699 * docs/gst/Makefile.am:
11700 * docs/gst/gstreamer-docs.sgml:
11701 * docs/gst/running.xml:
11702 * docs/version.entities.in:
11703 add a chapter on running GStreamer.
11704 document GST_DEBUG and GST_PLUGIN* env vars
11706 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11711 remove PLUGINS_BUILDDIR stuff
11712 * gst/gst.c: (init_post):
11713 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11715 remove, it was condescending and not needed
11717 2005-10-08 Wim Taymans <wim@fluendo.com>
11719 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11720 (gst_base_sink_handle_object), (gst_base_sink_event),
11721 (gst_base_sink_wait), (gst_base_sink_handle_event),
11722 (gst_base_sink_change_state):
11723 * gst/base/gstbasesink.h:
11724 Repost EOS message while going to PLAYING if still EOS.
11725 Make sure that when receiving a FLUSH_START we don't attempt
11726 to sync on the clock anymore.
11728 2005-10-08 Wim Taymans <wim@fluendo.com>
11730 * tools/gst-launch.c: (event_loop):
11731 Better message printout.
11733 2005-10-08 Wim Taymans <wim@fluendo.com>
11735 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
11736 (gst_bin_child_proxy_get_children_count):
11737 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
11738 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
11739 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
11740 (gst_child_proxy_set_valist):
11741 * gst/parse/grammar.y:
11742 Make ChildProxy threadsafe and fix mem leaks.
11744 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11746 * gst/gst.c: (init_post):
11747 debug the GST_PLUGIN_ env vars
11749 2005-10-08 Wim Taymans <wim@fluendo.com>
11751 * check/gst/gstbin.c: (GST_START_TEST):
11752 * check/gst/gstmessage.c: (GST_START_TEST):
11753 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
11754 * gst/gstelement.c: (gst_element_commit_state),
11755 (gst_element_lost_state):
11756 * gst/gstmessage.c: (gst_message_new_state_changed),
11757 (gst_message_parse_state_changed):
11758 * gst/gstmessage.h:
11759 * tools/gst-launch.c: (event_loop):
11760 Added extra field to STATE_CHANGE message with the pending
11761 state, which will be different from the new state soon.
11763 2005-10-08 Wim Taymans <wim@fluendo.com>
11765 * gst/gstbus.c: (gst_bus_pop):
11767 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
11768 Small cleanups and doc updates.
11770 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/gst.c: (init_pre):
11773 * gst/gstbin.c: (gst_bin_add_func):
11774 log distributing clocks and base time
11775 * gst/gstregistry.c: (gst_registry_add_plugin),
11776 (gst_registry_scan_path_level), (gst_registry_scan_path):
11777 clean up the debugging output a little
11778 * gst/gstutils.c: (gst_element_state_get_name):
11779 warn about a memleak (I've actually seen this be used, though
11780 it was probably a bug)
11782 2005-10-07 Wim Taymans <wim@fluendo.com>
11784 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
11785 (gst_base_src_init), (gst_base_src_default_newsegment),
11786 (gst_base_src_newsegment), (gst_base_src_do_seek),
11787 (gst_base_src_loop), (gst_base_src_start):
11788 * gst/base/gstbasesrc.h:
11789 Make the newsegment event customizable by subclasses.
11791 2005-10-07 Wim Taymans <wim@fluendo.com>
11793 * gst/gstevent.c: (gst_event_new_buffersize),
11794 (gst_event_parse_buffersize):
11796 New event for future idea.
11798 2005-10-07 Andy Wingo <wingo@pobox.com>
11800 * gst/gstelement.c (gst_element_post_message): Doc update.
11802 * docs/gst/gstreamer-sections.txt: Update.
11804 * gst/gstmessage.c (gst_message_new_application): Made into a
11805 function like honest API calls.
11806 (gst_message_new_element): New message type.
11808 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
11810 * check/elements/fakesrc.c (test_no_preroll): New check, checks
11811 that setting a live fakesrc to PAUSED returns NO_PREROLL both
11814 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
11815 NO_PREROLL from gst_element_change_state to fall through.
11817 2005-10-07 Wim Taymans <wim@fluendo.com>
11819 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
11820 (gst_ghost_pad_do_activate_push):
11821 Activating a ghostpad with no internal pad in push mode
11824 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
11827 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
11828 Fixes compilation on Windows.
11830 2005-10-07 Michael Smith <msmith@fluendo.com>
11832 * tools/gst-inspect.c:
11833 Print out feature and plugin count at the end when printing out
11836 2005-10-04 Michael Smith <msmith@fluendo.com>
11838 * gst/gsterror.c: (_gst_stream_errors_init):
11839 Add another error string used in a few existing plugins.
11842 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
11843 * tools/gst-inspect.c: (print_element_info):
11844 When a feature disappears from a plugin (and the feature exists in
11845 the cached registry file), things went horribly wrong. This isn't a
11846 complete fix, we should actually be removing the 'missing' features
11847 from the features list when we load the actual plugin. That's not
11850 2005-10-04 Johan Dahlin <johan@gnome.org>
11852 * check/gst/gstiterator.c: (GST_START_TEST):
11853 * gst/gstbin.c: (gst_bin_iterate_elements),
11854 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
11855 * gst/gstelement.c: (gst_element_iterate_pads):
11856 * gst/gstformat.c: (gst_format_iterate_definitions):
11857 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
11858 (gst_iterator_new_list), (gst_iterator_filter):
11859 * gst/gstiterator.h:
11860 * gst/gstquery.c: (gst_query_type_iterate_definitions):
11861 Add a GType to GstIterator, update callsites and tests.
11863 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11865 * gst/gstpad.c: (gst_pad_event_default_dispatch):
11866 give events a chance to be handled by event probes when the pad
11869 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11871 * gst/gstevent.c: (gst_event_type_get_name),
11872 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
11874 add string representations for event types
11876 2005-10-06 Wim Taymans <wim@fluendo.com>
11878 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
11879 Don't use NULL pointers.
11881 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11883 * gst/gst_private.h:
11885 * gst/gstelement.c:
11887 * gst/gstpluginfeature.c:
11888 widen the debug category in output to fit the biggest one we have
11889 add a bus category and use it
11890 play with the colors
11891 fix up some categories
11893 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
11895 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
11896 add push activation of sink ghost pads.
11897 Andye, please verify
11899 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11901 * gst/gstutils.c: (gst_element_link_pads):
11902 fix a bug in the case where neither element has a pad
11903 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
11904 add a test for that case
11906 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
11908 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
11909 emit have-data before checking for peers. This allows
11910 for probe handlers to connect elements. This helps autopluggers.
11911 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
11913 add six checks, linked/unlinked with no/true/false probe
11915 2005-10-04 Wim Taymans <wim@fluendo.com>
11917 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
11918 (gst_fake_sink_event), (gst_fake_sink_preroll),
11919 (gst_fake_sink_render), (gst_fake_sink_change_state):
11920 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
11921 (gst_fake_src_get_property), (gst_fake_src_create),
11922 (gst_fake_src_stop):
11923 * gst/elements/gstidentity.c: (gst_identity_stop):
11924 Protect last_message with lock.
11926 2005-10-04 Edward Hervey <edward@fluendo.com>
11929 Added precision in the comments for GST_FORMAT_DEFAULT
11931 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
11933 * tools/gst-launch.c: (main):
11934 Don't try to run erroneous pipelines.
11936 2005-10-04 Julien MOUTTE <julien@moutte.net>
11938 * gst/gstbus.c: We don't need this header.
11940 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11943 back to development
11945 === release 0.9.3 ===
11947 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
11951 Releasing 0.9.3, "Unregistered"
11953 2005-10-03 Andy Wingo <wingo@pobox.com>
11955 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
11956 whereby calling a pad's activatepush() function can start a thread
11957 that starts to push or pull before the pad gets the FLUSHING flag
11958 unset. Hack around it by holding the stream lock until the flag is
11959 set. Need to replace this with a proper solution. Together with
11960 the ghost pad fixes, this fixes mp3 playing/tagreading.
11962 * docs/design/part-gstghostpad.txt: Add a note about activation of
11963 proxy pads outside of ghost pads.
11965 * gst/gstghostpad.c: Implement the ghost pad activation design.
11967 2005-10-02 Andy Wingo <wingo@pobox.com>
11969 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
11970 It is volatile, after all.
11972 * docs/design/part-gstghostpad.txt: Flesh out activation with
11975 * gst/base/gstbasesrc.c (gst_base_src_init): Use
11978 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
11981 Fix (unused) AM_CONDITIONAL tests.
11983 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
11985 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11987 * gst/gstutils.c: (gst_pad_query_convert):
11988 Add assertion that makes sure src_val is >=0, just like
11989 gst_query_new_convert() has. (#315895)
11991 2005-09-30 Edward Hervey <edward@fluendo.com>
11993 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
11994 Let's not iterate pads we're not interested in, it avoids getting
11995 sky-high refcounts on sinkpad.
11997 2005-09-30 Wim Taymans <wim@fluendo.com>
11999 * gst/gstelement.c: (gst_element_set_state),
12000 (gst_element_change_state):
12001 Small tweak, element in ASYNC remains ASYNC.
12003 2005-09-30 Wim Taymans <wim@fluendo.com>
12005 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12006 Only error is an error.
12008 * gst/gstbin.c: (gst_bin_change_state):
12011 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12012 Also call pad_block in pad alloc.
12014 * gst/gstutils.c: (gst_flow_get_name):
12017 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12019 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12020 (gst_base_src_get_range):
12021 Fix documentation typos. Add some more debug info.
12023 2005-09-29 David Schleef <ds@schleef.org>
12025 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12026 more end-user friendly.
12027 * tools/gst-inspect.c: (main): Check if command-line argument is
12028 a file and attempt to load that file as a plugin.
12030 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12032 * check/gst/gstbin.c:
12033 * check/states/sinks.c:
12034 fix tests for the new warning
12035 * check/gst/gstpipeline.c:
12036 add a test for pipeline and bus interaction
12037 * gst/gstelement.c:
12038 elements should be NULL if they get disposed; add a warning if not
12040 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12043 for 2.6 refcounting, make debug log more correct by printing
12044 the actual refcounts at the time of swap (Wim)
12046 2005-09-29 Andy Wingo <wingo@pobox.com>
12048 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12049 removes signal watches previously added via
12050 gst_bus_add_signal_watch.
12051 (gst_bus_add_signal_watch): Don't return the source id, just store
12052 it on the bus if there wasn't an id already.
12054 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12055 add_signal_watch and remove_signal_watch.
12057 2005-09-29 Edward Hervey <edward@fluendo.com>
12059 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12060 Better if we actually iterate the list :)
12062 2005-09-29 Wim Taymans <wim@fluendo.com>
12064 * check/gst/gstbin.c: (GST_START_TEST):
12065 Change for new bus API.
12067 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12068 (send_messages), (GST_START_TEST), (gstbus_suite):
12069 Change for new bus signal API.
12071 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12072 (gst_bus_source_prepare), (gst_bus_source_check),
12073 (gst_bus_create_watch), (gst_bus_add_watch_full),
12074 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12075 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12077 Remove support for multiple GSources operating on different
12078 message types as it is too complex and unneeded when using
12080 Added support for receiving signals from the bus.
12082 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12084 * docs/libs/tmpl/gstdataprotocol.sgml:
12085 * docs/manual/advanced-dataaccess.xml:
12086 * gst/elements/gstcapsfilter.c:
12088 rename filter-caps to caps property
12090 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12092 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12093 More robust fraction string parsing.
12095 * docs/pwg/appendix-porting.xml:
12096 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12098 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12100 * gst/gstcaps.c: (gst_caps_do_simplify):
12101 Thou shalt not free a structure and then continue using it
12102 in the next loop iteration.
12104 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12106 Add test case for caps simplification.
12108 2005-09-29 Wim Taymans <wim@fluendo.com>
12110 * check/gst/gstbin.c: (GST_START_TEST):
12113 2005-09-29 Wim Taymans <wim@fluendo.com>
12115 * check/gst/gstbin.c: (GST_START_TEST):
12118 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12119 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12120 (find_element), (gst_bin_sort_iterator_next),
12121 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12122 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12123 (gst_bin_change_state), (gst_bin_dispose):
12124 A bin does not have a bus, it gets the bus from the parent.
12126 * gst/gstelement.c: (gst_element_requires_clock),
12127 (gst_element_provides_clock), (gst_element_is_indexable),
12128 (gst_element_is_locked_state), (gst_element_change_state),
12129 (gst_element_set_bus_func):
12132 * gst/gstpipeline.c: (gst_pipeline_class_init),
12133 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12134 The pipeline provides a bus.
12136 2005-09-28 Johan Dahlin <johan@gnome.org>
12138 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12139 gst_structure_get_enum instead of gst_structure_get_int
12141 * gst/gststructure.c (gst_structure_get_enum): Impl.
12143 * gst/gststructure.h (gst_structure_get_enum): Add
12145 * docs/gst/gstreamer-sections.txt: Ditto
12147 * gst/gstmessage.c (gst_message_new_state_changed): Use
12148 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12149 which does introspection.
12150 Reviewed by Christian Schaller
12152 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12154 * gst/gstinfo.c: (gst_debug_log_default):
12155 don't do dummy g_strdup()s
12156 * libs/gst/controller/gstcontroller.c:
12157 (on_object_controlled_property_changed),
12158 (gst_controlled_property_new), (gst_controller_new_valist),
12159 (gst_controller_new_list),
12160 (gst_controller_remove_properties_valist), (gst_controller_set),
12161 (gst_controller_get), (gst_controller_sync_values),
12162 (gst_controller_get_value_array), (_gst_controller_class_init),
12163 (gst_controller_get_type):
12164 * libs/gst/controller/gstcontroller.h:
12165 * libs/gst/controller/gstinterpolation.c:
12166 (gst_controlled_property_find_timed_value_node):
12167 convert // to /**/ comments
12169 2005-09-28 Wim Taymans <wim@fluendo.com>
12171 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12172 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12173 (gst_bus_sync_signal_handler):
12175 Added async-message and sync-message signals to the bus.
12176 Added helper BusFunc to emit signals for all posted messages.
12178 * gst/gstmessage.c: (gst_message_type_get_name),
12179 (gst_message_type_to_quark), (gst_message_get_type):
12180 * gst/gstmessage.h:
12181 Register quarks for message names.
12183 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12185 * docs/libs/gstreamer-libs-sections.txt:
12186 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12187 (gst_controller_new_list):
12188 * libs/gst/controller/gstcontroller.h:
12189 added another constructor for language bindings
12191 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12193 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12197 * gst/gstinfo.c: (_gst_debug_init):
12198 slightly more readable color for refcount debugging
12200 2005-09-28 Wim Taymans <wim@fluendo.com>
12202 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12203 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12204 (find_element), (gst_bin_sort_iterator_next),
12205 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12206 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12207 (gst_bin_change_state), (gst_bin_dispose):
12208 Small doc fixes. get_clock -> provide_clock.
12210 * gst/gstelement.c: (gst_element_class_init),
12211 (gst_element_provides_clock), (gst_element_provide_clock),
12212 (gst_element_get_clock), (gst_element_commit_state),
12213 (gst_element_lost_state):
12214 * gst/gstelement.h:
12215 Make get/set_clock() symetric. Add provide_clock vmethod since
12216 that is actually what this function does.
12218 * gst/gstpipeline.c: (gst_pipeline_class_init),
12219 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12220 (gst_pipeline_get_clock):
12221 get_clock -> provide_clock.
12223 2005-09-28 Andy Wingo <wingo@pobox.com>
12225 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12226 lieu of real docs...
12228 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12230 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12232 * gst/elements/gstcapsfilter.c:
12233 * gst/elements/gstfakesink.c:
12234 * gst/elements/gstfakesrc.c:
12235 * gst/elements/gstfdsink.c:
12236 * gst/elements/gstfdsrc.c:
12237 * gst/elements/gstfilesink.c:
12238 * gst/elements/gstfilesrc.c:
12239 * gst/elements/gstidentity.c:
12240 * gst/elements/gsttee.c:
12241 * gst/elements/gsttypefindelement.c:
12242 Make element details static.
12244 2005-09-28 Wim Taymans <wim@fluendo.com>
12246 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12247 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12248 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12249 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12250 (gst_bin_change_state), (gst_bin_dispose):
12251 Some documentation updates.
12252 Clean up dispose handlers.
12254 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12255 * gst/gstpad.c: (gst_pad_dispose):
12256 Clean up dispose handler.
12258 * gst/gstpipeline.c: (gst_pipeline_change_state):
12259 Removed spurious UNLOCK.
12261 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12263 * docs/gst/gstreamer-sections.txt:
12264 * gst/base/gstbasesrc.h:
12265 * gst/gstelement.h:
12269 * gst/gstpipeline.c:
12270 * gst/gstpipeline.h:
12273 added two new functions to the docs
12274 documents all undocumented GstXXXFlags
12275 completed some incomplete docs
12277 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12279 * gst/gstbin.c: (gst_bin_dispose):
12280 * gst/gstelement.c: (gst_element_dispose):
12281 remove now useless and leaky resurrection code in dispose
12282 * gst/base/gstbasesrc.c: (gst_base_src_init):
12283 * gst/gstelementfactory.c: (gst_element_factory_create):
12284 * gst/gstobject.c: (gst_object_set_parent):
12287 2005-09-27 Wim Taymans <wim@fluendo.com>
12289 * docs/design/part-TODO.txt:
12292 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12293 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12294 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12295 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12296 (gst_bin_change_state):
12297 * gst/gstelement.h:
12298 Remove element variable, we keep element info in the iterator now.
12300 2005-09-27 Andy Wingo <wingo@pobox.com>
12302 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12305 2005-09-27 Wim Taymans <wim@fluendo.com>
12307 * check/gst/gstbin.c: (GST_START_TEST):
12308 Enable check that works now.
12310 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12311 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12312 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12313 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12314 (gst_bin_change_state):
12316 Redid the state change algorithm using a topological sort algo.
12317 Handles all cases correctly.
12318 Exposed iterator for state change order.
12320 * gst/gstelement.h:
12321 Temp storage for state changes. Need to get rid of this soon.
12323 2005-09-27 Wim Taymans <wim@fluendo.com>
12325 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12326 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12327 (link_fold_func), (gst_pad_proxy_setcaps):
12328 Leak fixes, the fold functions need to unref the passed object and
12329 _get_parent_*() returns ref to parent.
12331 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12333 * check/gst/gstbuffer.c: (test_make_writable):
12334 Plug leak in test case and fix 'make check-valgrind'
12336 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12338 * gst/gstbuffer.c: (gst_subbuffer_init):
12339 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12340 works correctly in all circumstances (we could have just copied
12341 the parent buffer's readonly flag, but conceptually it seems
12342 cleaner to mark all subbuffers as read-only). (based on patch
12343 by Alessandro Decina, #314710).
12345 * check/gst/gstbuffer.c: (create_read_only_buffer),
12346 (test_make_writable), (test_subbuffer_make_writable),
12348 Add some tests for gst_buffer_make_writable().
12350 2005-09-27 Wim Taymans <wim@fluendo.com>
12352 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12353 use gst_object_has_ancestor().
12355 * gst/gstobject.c: (gst_object_has_ancestor):
12357 gst_object_has_ancestor() copied from gstbin.c as it is a
12360 * tests/instantiate/create.c: (create_all_elements):
12361 * tests/lat.c: (handoff_src), (handoff_sink):
12362 * tests/sched/runxml.c: (main):
12363 * tests/seeking/seeking1.c: (main):
12364 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12366 Fix compilation of some tests.
12368 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12371 Remove comment. GST_TYPE_G_ERROR is here to stay,
12372 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12373 (#316961, #300610).
12375 2005-09-26 Wim Taymans <wim@fluendo.com>
12377 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12378 Added check that shows error in state change order.
12380 2005-09-26 Wim Taymans <wim@fluendo.com>
12382 * gst/gstbin.c: (gst_bin_change_state):
12383 Make state change function use 3 queues again, we were
12384 adding elements in the wrong order.
12386 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12389 * gst/gstpad.c: (gst_pad_dispose):
12390 Added some debug info first.
12392 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12394 * docs/design/draft-push-pull.txt:
12395 * docs/design/part-events.txt:
12396 * docs/design/part-overview.txt:
12397 * docs/design/part-scheduling.txt:
12398 Replace all _pull_region() with _pull_range()
12400 2005-09-26 Andy Wingo <wingo@pobox.com>
12402 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12404 * check/gst-libs/controller.c: Update for controller api change.
12407 * tests/Makefile.am:
12408 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12409 over by GLib bug 118439.
12411 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12412 routines to a function.
12414 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12416 * libs/gst/controller/gsthelper.c:
12417 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12418 (gst_object_sync_values): Renamed from sink_values. Ugh.
12420 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12422 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12423 Renamed from controller_key, as it is exported.
12425 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12427 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12432 * gst/gstpadtemplate.h:
12435 * gst/gstqueryutils.c:
12436 * gst/gstqueryutils.h:
12437 remove queryutils headers after moving the two used functions
12438 to gstquery. also fixes build problem for gstsiddec
12440 2005-09-26 Michael Smith <msmith@fluendo.com>
12442 * tools/gst-launch.1.in:
12443 Correct documentation in manpage of debug syntax
12445 2005-09-26 Wim Taymans <wim@fluendo.com>
12447 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12448 (gst_base_src_is_seekable), (gst_base_src_change_state):
12449 Some more debugging info.
12451 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12453 * docs/gst/gstreamer-sections.txt:
12454 * gst/base/gstbasetransform.h:
12458 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12460 * docs/gst/.cvsignore:
12461 * docs/gst/tmpl/.cvsignore:
12462 * docs/gst/tmpl/gstpipeline.sgml:
12463 * docs/gst/tmpl/gstplugin.sgml:
12464 * gst/gstpipeline.c:
12467 inlined the last two docs files
12468 removed the tmpl directory from cvs (no more conflicts here!)
12470 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12472 * docs/gst/gstreamer-sections.txt:
12473 * docs/gst/tmpl/.cvsignore:
12474 * docs/gst/tmpl/gstpad.sgml:
12475 * docs/gst/tmpl/gstpadtemplate.sgml:
12477 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12478 (gst_pad_finalize), (gst_pad_set_pad_template):
12480 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12481 (gst_pad_template_class_init), (gst_pad_template_init),
12482 (gst_pad_template_dispose), (name_is_valid),
12483 (gst_static_pad_template_get), (gst_pad_template_new),
12484 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12485 (gst_pad_template_pad_created):
12486 * gst/gstpadtemplate.h:
12487 inlined two more docs
12488 factored gstpadtemplate out of gstpad
12490 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12492 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12493 (test_children_state_change_order_semi_sink):
12494 Fix test case: we can't rely on a fixed state change order when
12495 going from READY => PAUSED because the sink might commit its
12496 new state first when the first buffer created by the source
12497 reaches the sink before the source has finished its change state.
12498 (Test case still fails at times, see #316856, comment 5 onwards)
12500 2005-09-24 Wim Taymans <wim@fluendo.com>
12502 * docs/design/part-events.txt:
12503 * docs/design/part-gstbus.txt:
12504 * docs/design/part-gstpipeline.txt:
12505 * docs/design/part-messages.txt:
12506 * docs/design/part-overview.txt:
12507 * docs/design/part-segments.txt:
12511 * gst/gstelement.c:
12514 * gst/gstiterator.c:
12515 Various documentation updates.
12517 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12520 Well, that's embarassing. Luckily we weren't using
12521 GST_CLOCK_DIFF anywhere.
12523 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12525 * common/gtk-doc.mak:
12526 don't fail on building XML, FC4 slave shows a bunch of doc
12527 missing bits that I don't get
12529 * gst/gstpipeline.c:
12530 * gst/gststructure.c:
12533 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12535 * docs/design/part-gstbin.txt:
12536 * docs/design/part-gstbus.txt:
12538 Add blurb about how the bus goes into flushing mode and
12539 drops all messages when its bin goes from READY into NULL
12542 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12544 * docs/gst/gstreamer-sections.txt:
12545 * gst/gststructure.c: (gst_structure_get_clock_time):
12546 * gst/gststructure.h:
12547 add a method to get a GstClockTime out of a structure
12549 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12551 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12552 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12553 Added test to check state change order in bins (can still be made
12554 to fail here under heavy disk load; bails out with 'Push on pad
12555 fakesink:sink0, but it was not activated in push mode').
12557 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12558 Fix state change order when there is only a semi sink (#316856)
12560 * gst/gstbus.c: (gst_bus_class_init):
12561 Use _class_peek_parent(), not _class_ref(); fix docs to say
12562 'default main context' instead of 'mainloop' where that is
12565 * gst/gstelement.c: (gst_element_commit_state),
12566 (gst_element_set_state):
12567 Fix typos in debug messages
12569 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12572 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12573 * gst/gstpluginfeature.c:
12575 various doc updates
12576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12577 change an assert into an error until it gets fixed properly
12579 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12581 * docs/gst/gstreamer-sections.txt:
12582 * docs/gst/tmpl/.cvsignore:
12583 * docs/gst/tmpl/gstelement.sgml:
12584 * docs/gst/tmpl/gstinfo.sgml:
12585 * docs/gst/tmpl/gstobject.sgml:
12586 * gst/gstelement.c:
12587 * gst/gstelement.h:
12590 * gst/gstobject.c: (gst_object_class_init):
12592 inlined 3 more biiiig doc files and added some missing docs on the fly
12594 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12596 * check/gst/.cvsignore:
12597 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12598 * gst/gstregistryxml.c: (load_plugin),
12599 (gst_registry_xml_save_plugin):
12600 put back source in registry. add checks for find_plugin.
12601 * testsuite/states/bin.c: (assert_state), (empty_bin),
12602 (test_adding_one_element), (main):
12603 * testsuite/states/locked.c: (main):
12604 some compile/run fixes
12606 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12608 * check/gst/gstvalue.c: (GST_START_TEST):
12609 fix leaks in the test itself
12611 2005-09-22 Wim Taymans <wim@fluendo.com>
12613 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12614 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12615 (gst_base_sink_query):
12616 Prepare for more accurate position reporting and query
12619 * gst/gstelement.c: (gst_element_send_event),
12620 (gst_element_set_state):
12623 2005-09-22 Wim Taymans <wim@fluendo.com>
12625 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12626 (gst_query_parse_segment):
12628 More documentation.
12629 Add segment query for future use.
12631 2005-09-22 Wim Taymans <wim@fluendo.com>
12633 * gst/gstbin.c: (gst_bin_add_func):
12634 Some more debug info.
12636 * gst/gstelement.c: (gst_element_send_event):
12637 Simplify send_event
12639 * gst/gstelement.h:
12640 Don't know how flags got broken.
12645 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12647 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12648 Add simplistic test suite for GST_TYPE_DATE serialisation and
12651 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12653 * docs/gst/gstreamer-sections.txt:
12654 * gst/gststructure.c: (gst_structure_set_valist),
12655 (gst_structure_get_date):
12656 * gst/gststructure.h:
12657 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12658 (gst_date_copy), (gst_value_compare_date),
12659 (gst_value_serialize_date), (gst_value_deserialize_date),
12660 (gst_value_transform_date_string),
12661 (gst_value_transform_string_date), (_gst_value_initialize):
12663 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12664 bunch of utility functions along with a hack that checks that
12665 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12666 is required. Part of the grand scheme in #170777.
12668 2005-09-22 Andy Wingo <wingo@pobox.com>
12670 * gst/gstconfig.h.in: Psych out gtk-doc.
12672 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12674 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12676 * tools/gst-inspect.c (print_element_list): Plug some
12677 inconsequential leaks.
12679 * gst/gstregistry.c (gst_registry_get_default): Doc.
12681 * check/gst/gstplugin.c:
12682 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12683 * gst/gstelementfactory.c (gst_element_factory_create):
12684 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12687 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12688 (gst_plugin_feature_load): Doc, don't eat refs.
12690 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12691 (gst_plugin_list_free): Doc.
12692 (gst_plugin_load_file): Doc updates.
12694 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12695 accessors returning refcounted objects, return a ref.
12697 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12698 accessor for caps. IDEMPOTENCE. Oh yes.
12700 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12702 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12704 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12705 (_gst_debug_register_funcptr):
12706 Add mutex to serialise access to the hash table with
12707 the function pointer => function name string mapping;
12708 make that hash table static scope (#316809).
12710 * gst/registries/.cvsignore:
12711 Remove left-over file.
12713 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12715 * docs/pwg/appendix-porting.xml:
12716 And something about newsegment events and caps-on-buffers to
12717 the porting guide (feel free to improve).
12719 2005-09-21 Andy Wingo <wingo@pobox.com>
12721 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12722 data and event probes on the same pad.
12723 (test_buffer_probe_once): Test that removing probes from within
12724 the probe functions works.
12726 2005-09-21 Andy Wingo <wingo@pobox.com>
12728 * check/gst/gstutils.c: New file.
12729 (test_buffer_probe_n_times): A simple buffer probe test. More to
12732 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
12733 have-data::buffer, not have-data.
12734 (gst_pad_add_event_probe): Likewise for have-data::event.
12735 (gst_pad_add_data_probe): More docs. The part about 'resolving the
12736 peer' isn't quite right yet though.
12737 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
12738 (gst_pad_remove_data_probe): Change to take the guint handler_id
12739 as their arg, not the function+data, which is more glib-like.
12741 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
12742 the signal emission to indicate if the data is a buffer or an
12744 (gst_pad_get_type): Initialize buffer and event quarks.
12745 (gst_pad_class_init): have-data is now a detailed signal, yes it
12748 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12750 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
12751 * gst/gstutils.c: (gst_util_set_value_from_string),
12752 (gst_util_set_object_arg):
12753 Don't put functional code in g_return_if_fail() or
12754 g_return_val_if_fail() statements, otherwise things will
12755 break when G_DISABLE_CHECKS is defined during compilation.
12757 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12759 * docs/gst/tmpl/.cvsignore:
12760 * docs/gst/tmpl/gstvalue.sgml:
12763 inlied another one and added some obvious docs
12765 2005-09-21 Wim Taymans <wim@fluendo.com>
12767 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
12768 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
12769 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
12770 (gst_fdsrc_get_property), (gst_fdsrc_create):
12771 * gst/elements/gstfdsrc.h:
12772 Properly implement fdsrc. Removed signal and timeout,
12773 better implemented somewhere else.
12775 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12777 * docs/gst/tmpl/.cvsignore:
12778 * docs/gst/tmpl/gstimplementsinterface.sgml:
12779 * gst/gstinterface.c:
12782 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12784 * docs/gst/gstreamer-sections.txt:
12785 * docs/gst/tmpl/.cvsignore:
12786 * docs/gst/tmpl/gstenumtypes.sgml:
12787 remove obsolete doc file
12789 2005-09-21 David Schleef <ds@schleef.org>
12791 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
12792 little beer, fix a little leak.
12794 2005-09-21 Stefan Kost <ensonic@users.sf.net>
12796 * docs/gst/gstreamer-docs.sgml:
12797 * docs/gst/gstreamer-sections.txt:
12798 * docs/gst/tmpl/.cvsignore:
12802 * gst/gstelement.h:
12803 * gst/gstindex.c: (gst_index_class_init):
12805 * gst/gstindexfactory.c: (gst_index_factory_get_type),
12806 (gst_index_factory_class_init), (gst_index_factory_init),
12807 (gst_index_factory_finalize), (gst_index_factory_new),
12808 (gst_index_factory_destroy), (gst_index_factory_find),
12809 (gst_index_factory_create), (gst_index_factory_make):
12810 * gst/gstindexfactory.h:
12811 * gst/gstpluginfeature.c:
12812 * gst/gstpluginfeature.h:
12813 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12814 more docs inlined, splitted gstindex.{c,h}
12816 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12818 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12821 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12823 * gst/elements/gstfilesink.c: (gst_file_sink_init):
12824 Set sync to FALSE by default.
12826 2005-09-20 Wim Taymans <wim@fluendo.com>
12828 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12829 (gst_base_sink_init):
12830 Make sync property settable from subclass.
12832 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
12833 (gst_fake_sink_change_state):
12834 Set sync to FALSE by default.
12836 2005-09-20 Wim Taymans <wim@fluendo.com>
12838 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
12839 * tools/gst-launch.c: (main):
12840 The timeout handler should have lower priority than the source
12841 so we don't timeout before popping a message with 0 timeout.
12842 Dump error messages after failed state change.
12844 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
12846 * tools/gst-inspect.c: (print_element_properties_info):
12849 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12851 * check/gst/gstevent.c:
12852 * gst/elements/gstfakesink.c:
12853 * gst/elements/gstfakesink.h:
12854 remove the sync property from fakesink.
12855 has the side effect of setting sync TRUE
12856 for fakesink, which is a change. Anyone who knows how
12857 to fix this nicely in a GObject-y way, feel free.
12859 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12861 * docs/gst/gstreamer-docs.sgml:
12862 remove probe refsection
12864 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12866 * check/Makefile.am:
12867 disable valgrinding the controller test again
12868 * docs/gst/gstreamer-sections.txt:
12869 update for api-changes
12871 2005-09-20 Wim Taymans <wim@fluendo.com>
12873 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12874 (gst_base_sink_set_property), (gst_base_sink_get_property),
12875 (gst_base_sink_do_sync):
12876 * gst/base/gstbasesink.h:
12877 Added sync property to basesink to disable clock sync.
12879 2005-09-20 Andy Wingo <wingo@pobox.com>
12881 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
12882 eating the caller's refcount.
12884 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
12885 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
12888 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
12889 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
12890 of GLib 2.8 public, so we can know which refcount to check in
12893 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
12894 (gst_object_init): Only set the gst refcount if we're going ahead
12895 with the refcount hack.
12897 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12899 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12900 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
12901 more leaks plumbed, added more debug-logging
12905 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12907 * gst/gstmessage.c:
12908 remove include of gstmemchunk.h
12910 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12912 * gst/gstclock.c: (_gst_clock_id_free):
12913 Commit from the Political Party For More Atomic CVS Commits,
12914 so that people don't waste too much of their day fishing
12915 out obvious leaks out of massive commits.
12916 Oh, and fix a pretty damn obvious leak in the memchunk
12919 2005-09-20 Stefan Kost <ensonic@users.sf.net>
12921 * check/Makefile.am:
12922 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
12923 plug mem-leak, re-add to valgrindable tests
12925 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
12928 unbreak the build for those who have chronic arthritis
12929 and typing "make check" is just too taxing on the hands
12931 2005-09-20 Andy Wingo <wingo@pobox.com>
12933 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
12934 really want it out, you should fix plugins at the same time.
12936 2005-09-19 Stefan Kost <ensonic@users.sf.net>
12939 * docs/gst/gstreamer-sections.txt:
12941 added missing symbols to api docs
12942 disable ref-count hack if we have glib >= 2.8
12944 2005-09-19 David Schleef <ds@schleef.org>
12946 * docs/gst/Makefile.am: Ignore a few more internal headers
12947 * docs/gst/gstreamer-docs.sgml: Remove old sections
12948 * docs/gst/gstreamer-sections.txt: Remove old sections
12949 * docs/gst/tmpl/gstobject.sgml: update
12950 * docs/gst/tmpl/gstplugin.sgml: update
12951 * docs/gst/tmpl/gstpluginfeature.sgml: update
12952 * docs/random/ds/0.9-suggested-changes: update.
12953 * gst/Makefile.am: remove memchunk and trashstack, since they're
12955 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
12956 * gst/gst.h: don't include some headers
12957 * gst/gstchildproxy.c: add gstmarshal.h
12958 * gst/gstclock.c: Don't use memchunks
12959 * gst/gstminiobject.c: Add some docs
12960 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
12961 * gst/gstobject.h: same
12962 * gst/gstplugin.c: include gstmacros.h
12963 * gst/gstplugin.h: don't include gstmacros.h, since it's private
12964 * gst/gstquery.c: don't use memchunks
12965 * gst/gstregistry.c: rename gst_registry_deinit()
12966 * gst/gstregistry.h: same
12968 2005-09-19 David Schleef <ds@schleef.org>
12970 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
12971 * docs/libs/gstreamer-libs-sections.txt:
12972 * docs/libs/tmpl/gstgetbits.sgml:
12973 * docs/libs/tmpl/gstputbits.sgml:
12975 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
12977 * win32/gstenumtypes.c:
12978 * win32/gstenumtypes.h:
12981 2005-09-19 Wim Taymans <wim@fluendo.com>
12983 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
12984 Automatically PAUSE and RESUME a pipeline when a flushing seek
12987 2005-09-19 Andy Wingo <wingo@pobox.com>
12989 * gst/gstregistry.h: Spacing fixen.
12991 2005-09-19 Wim Taymans <wim@fluendo.com>
12993 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
12994 Handle state change failure more correctly.
12996 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
12998 * check/Makefile.am:
12999 * check/pipelines/cleanup.c: (run_pipeline):
13000 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13002 enable cleanup again after fixing the leak
13004 some more info on docs
13006 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13008 * check/Makefile.am:
13009 re-enable tests now that leaks are plugged
13011 * check/gst/gstbin.c:
13012 * check/gst/gstpipeline.c:
13013 add some more tests while fixing leaks
13014 * common/check.mak:
13015 make sure binaries are uptodate when valgrinding/gdbing
13017 * gst/gstelementfactory.c:
13018 remove a ref too many, and add a FIXME for when we get
13019 round to disposing of classes
13021 fix the refcounting when loading a plugin from a file and
13022 the code pretends that the pointer is the same even though
13023 of course it can change
13024 * gst/gstpluginfeature.c:
13025 unref plugins marked cached (a bit confusing as a name)
13026 as the docs state should be done
13027 various doc additions to explain refcounting
13028 * gst/gstregistry.c:
13029 * gst/gstregistryxml.c:
13032 2005-09-19 Wim Taymans <wim@fluendo.com>
13034 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13035 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13036 (send_messages), (GST_START_TEST), (gstbus_suite):
13037 * check/gst/gstpipeline.c: (GST_START_TEST):
13038 * check/pipelines/cleanup.c: (run_pipeline):
13039 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13041 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13042 (gst_bus_source_check), (gst_bus_source_dispatch),
13043 (gst_bus_create_watch), (gst_bus_add_watch_full),
13044 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13046 * tools/gst-launch.c: (event_loop):
13047 * tools/gst-md5sum.c: (event_loop):
13048 GstBusHandler -> GstBusFunc, return value has the same meaning as
13049 any other GSource (FALSE == remove source).
13050 _add_watch() and _add_watch_full() now take a MessageType mask to
13051 only handle specific types of messages.
13052 _poll() returns the GstMessage instead of the message type to avoid
13054 _have_pending() takes a MessageType mask now too.
13055 Added testsuite for multiple bus watches.
13056 Fix testsuites and applications for new bus API.
13058 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13060 * check/Makefile.am:
13061 mark a bunch of the tests as to fix until we fix them
13063 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13065 * common/check.mak:
13066 use GST_PLUGIN settings for valgrind tests as well, so we're
13067 valgrinding the correct thing
13068 * gst/gst.c: (init_post):
13071 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13073 * gst/gst.c: (init_post), (gst_deinit):
13074 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13075 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13076 * gst/gstindex.c: (gst_index_factory_class_init),
13077 (gst_index_factory_finalize):
13078 * gst/gstobject.c: (gst_object_dispose):
13079 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13080 (gst_plugin_load_file), (gst_plugin_desc_free):
13081 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13082 (gst_plugin_feature_finalize):
13083 * gst/gstregistry.c: (gst_registry_class_init),
13084 (gst_registry_init), (gst_registry_finalize),
13085 (gst_registry_get_default), (gst_registry_deinit):
13086 * gst/gstregistry.h:
13087 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13088 various cleanups and memleak plugging. make valgrind is happy now.
13090 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13092 * common/check.mak:
13093 add a check-valgrind target
13095 2005-09-18 David Schleef <ds@schleef.org>
13097 * tools/gst-inspect.c: Revert the GOption code.
13099 2005-09-17 David Schleef <ds@schleef.org>
13101 * check/Makefile.am: Fix environment variables.
13102 * check/gst/gstplugin.c: Fix for API changes.
13103 * tools/gst-inspect.c: Fix for API changes.
13104 * tools/gst-xmlinspect.c: Fix for API changes.
13105 * gst/gstelementfactory.c:
13108 * gst/gstpluginfeature.c:
13109 * gst/gstpluginfeature.h:
13110 * gst/gstregistry.c:
13111 * gst/gstregistry.h:
13112 * gst/gstregistryxml.c:
13113 * gst/gsttypefind.c:
13114 * gst/gsttypefindfactory.c:
13115 * gst/indexers/gstfileindex.c:
13116 * gst/indexers/gstmemindex.c:
13117 * gst/schedulers/Makefile.am:
13118 Change registry to keep track of both plugins and features,
13119 removing the feature tracking from plugins themselves.
13121 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13123 * check/Makefile.am:
13124 * tools/gst-register.1.in:
13125 remove gst-register
13127 2005-09-15 David Schleef <ds@schleef.org>
13129 * check/gst/gstplugin.c:
13130 * gst/gstelementfactory.c:
13132 * gst/gstpluginfeature.c:
13133 * gst/gstregistry.c:
13134 Getting tired of debugging. Disabled all the unreffing of
13135 plugins and features, which fixes the segfaults, but of
13136 course leaks like crazy. At least playbin works.
13138 2005-09-15 David Schleef <ds@schleef.org>
13140 * check/gst/gstplugin.c: (register_check_elements),
13141 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13143 * gst/elements/gsttypefindelement.c: Fix refcounting.
13144 * gst/gsttypefind.c:
13145 * gst/gsttypefindfactory.c:
13146 * gst/gsttypefindfactory.h:
13148 2005-09-15 David Schleef <ds@schleef.org>
13150 * gst/gstindex.c: get refcounting correct.
13151 * gst/gstregistry.c: Handle the case where a feature/plugin is
13154 2005-09-15 David Schleef <ds@schleef.org>
13156 * check/Makefile.am:
13157 * check/gst/gstplugin.c: Add test
13158 * gst/gstplugin.c: Fix problems noticed by testsuite
13160 * gst/gstregistry.c:
13161 * gst/gstregistry.h:
13163 2005-09-15 David Schleef <ds@schleef.org>
13165 * gst/gstplugin.c: Implement semi-decent recounting and locking
13166 in plugins and plugin features.
13168 * gst/gstpluginfeature.c:
13169 * gst/gstpluginfeature.h:
13170 * gst/gstregistry.c:
13172 2005-09-15 Michael Smith <msmith@fluendo.com>
13174 * gst/gstregistry.c: (gst_registry_get_feature_list):
13175 Implement this. Makes oggdemux work; decodebin still broken.
13177 2005-09-14 David Schleef <ds@schleef.org>
13179 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13181 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13182 * gst/check/Makefile.am:
13183 * libs/gst/controller/Makefile.am:
13184 * libs/gst/dataprotocol/Makefile.am:
13186 2005-09-14 David Schleef <ds@schleef.org>
13188 * configure.ac: Remove getbits library. Nothing uses it, and
13189 it should be in something like liboil if someone did want
13191 * libs/gst/Makefile.am:
13192 * libs/gst/getbits/Makefile.am:
13193 * libs/gst/getbits/gbtest.c:
13194 * libs/gst/getbits/getbits.c:
13195 * libs/gst/getbits/getbits.h:
13196 * libs/gst/getbits/gstgetbits_generic.c:
13197 * libs/gst/getbits/gstgetbits_i386.s:
13198 * libs/gst/getbits/gstgetbits_inl.h:
13200 2005-09-14 David Schleef <ds@schleef.org>
13202 * gst/Makefile.am: Dist glib-compat.h
13204 2005-09-14 David Schleef <ds@schleef.org>
13206 * configure.ac: Remove gst/registries, since it's no longer used.
13207 * gst/registries/Makefile.am:
13208 * gst/registries/gstlibxmlregistry.c:
13209 * gst/registries/gstlibxmlregistry.h:
13210 * gst/registries/gstxmlregistry.c:
13211 * gst/registries/gstxmlregistry.h:
13212 * gst/registries/registrytest.c:
13214 2005-09-14 David Schleef <ds@schleef.org>
13216 * gst/glib-compat.h:
13217 * gst/gstregistryxml.c:
13218 Convergence is near. Seriously.
13220 2005-09-14 David Schleef <ds@schleef.org>
13222 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13223 * gst/glib-compat.h:
13224 Attempt #4 to appease the buildbots.
13226 2005-09-14 David Schleef <ds@schleef.org>
13228 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13231 2005-09-14 David Schleef <ds@schleef.org>
13233 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13236 2005-09-14 David Schleef <ds@schleef.org>
13238 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13241 2005-09-14 David Schleef <ds@schleef.org>
13243 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13244 * gst/glib-compat.h: Add some functions that are in newer versions
13245 of glib than we care to require.
13246 * gst/gstregistryxml.c: Use them.
13248 2005-09-14 David Schleef <ds@schleef.org>
13250 * po/POTFILES.in: remove gst-register.c
13252 2005-09-14 David Schleef <ds@schleef.org>
13254 * docs/gst/gstreamer-docs.sgml:
13255 * docs/gst/gstreamer-sections.txt:
13256 * docs/gst/gstreamer.types:
13257 * docs/gst/tmpl/gstelement.sgml:
13258 * docs/gst/tmpl/gstplugin.sgml:
13259 * docs/gst/tmpl/gstpluginfeature.sgml:
13260 Documentation updates for registry changes.
13262 2005-09-14 David Schleef <ds@schleef.org>
13264 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13265 because we don't require glib-2.8.
13267 2005-09-14 David Schleef <ds@schleef.org>
13269 * gst/gstregistryxml.c: Added. Essentially moved out of the
13270 registries directory.
13272 2005-09-14 David Schleef <ds@schleef.org>
13274 * check/Makefile.am:
13275 * check/generic/states.c:
13279 * gst/gst_private.h:
13280 * gst/gstelementfactory.c:
13285 * gst/gstpluginfeature.c:
13286 * gst/gstpluginfeature.h:
13287 * gst/gstregistry.c:
13288 * gst/gstregistry.h:
13289 * gst/gstregistrypool.c: remove
13290 * gst/gstregistrypool.h: remove
13291 * gst/gsttypefind.c:
13292 * gst/gsttypefindfactory.c:
13294 * tools/Makefile.am:
13295 * tools/gst-compprep.c:
13296 * tools/gst-inspect.c:
13297 * tools/gst-register.c: remove
13298 * tools/gst-xmlinspect.c:
13299 Registry rewrite. Changes registry from being a file created
13300 by a tool into a simple cache file created automatically by
13301 libgstreamer. Removed gst-register (because it's no longer
13302 needed). Remove registry pools, because we only have one
13303 registry implementation (XML). Fix up other subsystems as
13306 2005-09-13 Michael Smith <msmith@fluendo.com>
13308 * gst/gstconfig.h.in:
13309 Don't Use windows linking attributes for MinGW. Fixes #316157
13311 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13313 * gst/gstutils.c: (set_state_async_thread_func),
13314 (gst_element_set_state_async):
13315 Apparently people think it's better if this function doesn't
13316 try to set the state to whatever state was asked for on the first
13317 call to this function for any object. Seriously.
13319 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13321 * check/gst/gstpipeline.c: (GST_START_TEST):
13322 * docs/gst/gstreamer-sections.txt:
13323 * gst/gstutils.c: (set_state_async_thread_func),
13324 (gst_element_set_state_async):
13326 add a "gst_element_set_state_async" method that
13327 sets the state and starts a thread to make sure the state
13328 change completes as best as it can
13330 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13332 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13333 codify design+behaviour in testsuite after discussion
13335 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13337 * docs/gst/tmpl/gstelement.sgml:
13338 * docs/manual/appendix-quotes.xml:
13340 * gst/gstelement.c: (gst_element_set_state):
13343 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13345 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13346 (gst_base_transform_prepare_output_buf),
13347 (gst_base_transform_handle_buffer):
13348 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13349 (gst_capsfilter_prepare_buf):
13350 Remove the requirement for sub-classes to call the parent
13351 implementation of prepare_output_buffer with a wrapper function.
13353 * gst/gsttaglist.h:
13354 * gst/gsttagsetter.h:
13355 Fix #define wrapper
13357 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13359 * docs/gst/gstreamer-sections.txt:
13362 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13364 * docs/gst/gstreamer-sections.txt:
13365 * docs/gst/tmpl/gstelement.sgml:
13366 * docs/gst/tmpl/gstplugin.sgml:
13367 * gst/gstminiobject.c:
13369 docs now stop throwing warnings
13371 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13373 * docs/gst/gstreamer-sections.txt:
13374 * docs/gst/gstreamer.types:
13375 * docs/gst/tmpl/gstpad.sgml:
13376 * docs/gst/tmpl/gsttypes.sgml:
13377 * gst/base/gstadapter.h:
13378 * gst/base/gstbasesink.h:
13379 * gst/base/gstbasesrc.h:
13385 * gst/gstelement.h:
13387 * gst/gstmessage.h:
13389 * gst/gststructure.c:
13390 * gst/registries/gstlibxmlregistry.h:
13391 various documentation fixes
13393 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13395 * docs/gst/gstreamer-sections.txt:
13396 * docs/gst/tmpl/gstvalue.sgml:
13397 rearrange gstvalue section
13398 * gst/gstutils.c: (gst_element_state_get_name):
13400 * gst/gstvalue.c: (_gst_value_initialize):
13404 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13406 * check/gst-libs/controller.c:
13407 Header include fix.
13408 * gst/base/gstbasetransform.c:
13409 (gst_base_transform_default_prepare_buf),
13410 (gst_base_transform_handle_buffer):
13411 * gst/base/gstbasetransform.h:
13412 Some more basetransform changes and fixes to enable sub-classes
13413 that modify buffer metadata only.
13414 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13415 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13416 (gst_capsfilter_prepare_buf):
13417 If the output pad has fixed allowed caps and input buffers
13418 don't have any, set the fixed caps on outgoing buffers.
13420 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13421 * check/elements/identity.c: (GST_START_TEST):
13422 Make the error a little clearer when the test fails because
13423 identity made a copy of the buffer.
13424 * docs/gst/gstreamer-sections.txt:
13425 New symbols in gstbasetransform.h
13426 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13427 (gst_base_transform_init), (gst_base_transform_transform_size),
13428 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13429 (gst_base_transform_default_prepare_buf),
13430 (gst_base_transform_get_unit_size),
13431 (gst_base_transform_buffer_alloc),
13432 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13433 (gst_base_transform_change_state),
13434 (gst_base_transform_set_passthrough),
13435 (gst_base_transform_set_in_place),
13436 (gst_base_transform_is_in_place):
13437 * gst/base/gstbasetransform.h:
13438 Change BaseTransform to separate in_place operate from same_caps
13439 output. in_place implies that the element can perform the transform
13440 on incoming buffers in-place, even if the caps on the output are
13442 Sub-class elements can now implement special buffer allocation
13443 methods for outgoing buffers if they wish to.
13444 Big documentation addition.
13445 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13446 * gst/elements/gstelements.c:
13447 Changes for basetransform modifications.
13448 * gst/elements/Makefile.am:
13449 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13450 Compile fix. Extra debug output.
13452 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13454 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13456 add tests for valid pad naming
13457 * gst/check/gstcheck.c: (gst_check_log_message_func),
13458 (gst_check_log_critical_func):
13460 remove printing of code, it is fragile when the code contains
13461 % and the line number is enough info
13462 * gst/check/gstcheck.h:
13463 * gst/gstpad.c: (gst_pad_template_new):
13466 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13469 say what CHECK flags we use
13470 * docs/libs/gstreamer-libs.types:
13471 * libs/gst/controller/Makefile.am:
13472 * libs/gst/controller/gst-controller.c:
13473 * libs/gst/controller/gst-controller.h:
13474 * libs/gst/controller/gst-helper.c:
13475 * libs/gst/controller/gst-interpolation.c:
13476 * libs/gst/controller/gstcontroller.c:
13477 * libs/gst/controller/gsthelper.c:
13478 * libs/gst/controller/gstinterpolation.c:
13479 * tools/gst-inspect.c: (print_plugin_info):
13480 we don't use dashes in header names
13482 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13484 * check/Makefile.am:
13485 * check/gst/.cvsignore:
13486 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13487 (gst_pipeline_suite), (main):
13488 adding a test for pipelines and state changes
13489 * gst/gstutils.c: (get_state_func):
13491 * gstreamer.spec.in:
13494 2005-09-08 Michael Smith <msmith@fluendo.com>
13496 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13497 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13498 (gst_file_src_is_seekable), (gst_file_src_get_size),
13499 (gst_file_src_start):
13500 * gst/elements/gstfilesrc.h:
13501 Various fixes for unseekable, unmmapable, and non-normal files, so
13502 that fallback to read() rather than mmap() works.
13503 * gst/gstevent.c: (gst_event_new_newsegment):
13504 Allow newsegment events with segment_start == segment_end, as will
13505 correctly happen if you use filesrc on a zero-size file, for
13508 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13510 * gst/gstplugin.c: (gst_plugin_load_file):
13511 Call g_module_close when we don't load the module
13513 * gst/registries/gstlibxmlregistry.c:
13514 (gst_xml_registry_get_property):
13515 Port leak fix from 0.8
13517 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13519 * docs/gst/gstreamer-docs.sgml:
13520 * docs/gst/tmpl/.cvsignore:
13521 * docs/gst/tmpl/gsttrace.sgml:
13522 * docs/gst/tmpl/gsttrashstack.sgml:
13525 * gst/gstelement.h:
13527 * gst/gstmessage.c:
13528 * gst/gstmessage.h:
13531 * gst/gsttaginterface.c:
13532 * gst/gsttaginterface.h:
13533 * gst/gsttaglist.c:
13534 * gst/gsttaglist.h:
13535 * gst/gsttagsetter.c:
13536 * gst/gsttagsetter.h:
13539 * gst/gsttrashstack.c:
13540 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13541 inlined docs for gsttrace, gsttrashstack
13543 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13546 * gst/elements/gstbufferstore.h:
13547 * gst/elements/gsttypefindelement.c:
13548 * gst/elements/gsttypefindelement.h:
13550 * gst/gsttypefind.c:
13551 * gst/gsttypefind.h:
13552 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13553 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13554 (gst_type_find_factory_dispose),
13555 (gst_type_find_factory_unload_thyself),
13556 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13557 (gst_type_find_factory_get_caps),
13558 (gst_type_find_factory_get_extensions),
13559 (gst_type_find_factory_call_function):
13560 * gst/gsttypefindfactory.h:
13561 * gst/registries/gstlibxmlregistry.c:
13562 * gst/registries/gstxmlregistry.c:
13563 splitted gsttypefind into gsttypefind, gsttypefindfactory
13565 2005-09-07 Andy Wingo <wingo@pobox.com>
13567 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13568 condition whereby the pad's task function is entered before the
13569 pad_mode variable was set.
13571 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13573 * gst/gstpad.c: (gst_pad_alloc_buffer):
13574 Catch misbehaving pad_alloc functions that don't
13575 set up caps and do it for them.
13577 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13579 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13580 test for pipe!=NULL
13581 * docs/gst/tmpl/.cvsignore:
13582 * docs/gst/tmpl/gstmemchunk.sgml:
13583 * docs/gst/tmpl/gstparse.sgml:
13584 * docs/gst/tmpl/gsttaglist.sgml:
13585 * docs/gst/tmpl/gsttagsetter.sgml:
13586 * docs/gst/tmpl/gsttypefind.sgml:
13587 * docs/gst/tmpl/gsttypefindfactory.sgml:
13588 * gst/gstmemchunk.c:
13591 * gst/gsttaginterface.c:
13592 * gst/gsttypefind.c:
13593 * gst/gsttypefind.h:
13596 === release 0.9.2 ===
13598 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13603 releasing 0.9.2, "South"
13605 2005-09-05 Andy Wingo <wingo@pobox.com>
13607 * gst/registries/gstxmlregistry.h:
13608 * gst/registries/gstxmlregistry.c: Um... resurrect...
13610 * gst/registries/gstxmlregistry.h:
13611 * gst/registries/gstxmlregistry.c: and update to newer API.
13612 Incidentally they should be a bit faster now that they don't have
13615 2005-09-05 Andy Wingo <wingo@pobox.com>
13617 * gst/registries/gstxmlregistry.h:
13618 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13619 replaced by the libxml registry a while back
13621 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13623 * docs/gst/tmpl/gstplugin.sgml:
13624 * gst/elements/gstelements.c:
13626 * gst/gstplugin.c: (gst_plugin_register_func),
13627 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13628 (gst_plugin_get_source):
13630 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13631 (gst_xml_registry_save_plugin):
13632 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13633 (gst_xml_registry_save_plugin):
13634 * tools/gst-inspect.c: (print_plugin_info):
13635 add a "source" plugin description field, to represent the source
13636 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13637 will set it to PACKAGE, which is automake's idea of the name of
13638 the source project.
13640 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13645 * docs/Makefile.am:
13646 * docs/faq/Makefile.am:
13647 * docs/gst/tmpl/gstelement.sgml:
13648 * docs/gst/tmpl/gsttypes.sgml:
13649 * docs/htmlinstall.mak:
13650 * docs/manual/Makefile.am:
13651 * docs/pwg/Makefile.am:
13652 reorganize doc build a little
13653 split out docbook and gtk-doc stuff
13654 have two separate --enable's and enable them through autogen
13655 but disable by default in configure (to be similar to other
13657 * gstreamer.spec.in:
13658 clean up docs install
13676 translation updates
13678 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13680 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13683 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13684 (gst_fake_sink_change_state):
13685 Make state change function thread-safe.
13687 * gst/gstpad.c: (gst_pad_alloc_buffer):
13688 Set offset on generic buffer allocated by fallback.
13690 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13692 * docs/gst/gstreamer-sections.txt:
13693 * docs/gst/tmpl/gstelement.sgml:
13695 * libs/gst/controller/gst-controller.c:
13696 (gst_controlled_property_set_interpolation_mode),
13697 (gst_controlled_property_new),
13698 (gst_controller_find_controlled_property):
13699 run the wingo-magic script against the docs
13701 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13703 * docs/gst/gstreamer-docs.sgml:
13704 * docs/gst/gstreamer-sections.txt:
13705 * docs/gst/tmpl/.cvsignore:
13706 * docs/gst/tmpl/gstelementdetails.sgml:
13707 * docs/gst/tmpl/gstelementfactory.sgml:
13710 * gst/gstelementfactory.c:
13711 * gst/gstelementfactory.h:
13712 merged elementdetails docs into elementfactory docs
13715 2005-09-02 Andy Wingo <wingo@pobox.com>
13717 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13718 consider this enum an enum and not a flags.
13720 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13722 * docs/gst/gstreamer-docs.sgml:
13723 * docs/gst/tmpl/.cvsignore:
13724 * docs/gst/tmpl/gstghostpad.sgml:
13725 * docs/gst/tmpl/gstiterator.sgml:
13726 * docs/gst/tmpl/gstmacros.sgml:
13727 * docs/gst/tmpl/gstrealpad.sgml:
13728 * docs/gst/tmpl/gstregistry.sgml:
13729 * docs/gst/tmpl/gstregistrypool.sgml:
13730 * docs/gst/tmpl/gststructure.sgml:
13731 * docs/gst/tmpl/gstsystemclock.sgml:
13732 * docs/gst/tmpl/gsttrace.sgml:
13733 * gst/gstghostpad.c:
13735 * gst/gstmemchunk.c:
13736 * gst/gstmemchunk.h:
13738 * gst/gstregistry.c:
13739 * gst/gstregistrypool.c:
13740 * gst/gststructure.c:
13741 * gst/gstsystemclock.c:
13744 2005-09-02 Andy Wingo <wingo@pobox.com>
13746 * gst/gstelement.h (GstState): Renamed from GstElementState,
13747 changed to be a normal enum instead of flags.
13748 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
13749 munged to be GST_STATE_CHANGE_*.
13750 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
13751 work with the new state representation.
13752 (GstStateChange): New enumeration of possible state transitions.
13753 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
13754 (GstElementClass::change_state): Pass the GstStateChange along as
13755 an argument. Helps language bindings, so they don't have to use
13756 tricky lock-needing macros like GST_STATE_CHANGE ().
13758 * scripts/update-states (file): New script. Run it on a file to
13759 update it for state naming and API changes. Updates files in
13762 * All files updated for the new API.
13764 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
13766 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
13767 * gst/gstutils.c: (gst_util_set_value_from_string),
13768 (gst_util_set_object_arg):
13769 fix a bunch of unchecked return values
13770 * tools/gst-complete.c: (main):
13771 * gstreamer.spec.in:
13774 2005-09-01 Wim Taymans <wim@fluendo.com>
13776 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13777 (gst_base_sink_event), (gst_base_sink_do_sync),
13778 (gst_base_sink_handle_event):
13779 * gst/base/gstbasesink.h:
13780 Handle newsegments more correctly.
13785 * gst/gstevent.c: (gst_event_new_newsegment):
13786 A newsegment cannot have a start_time of -1
13788 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
13790 * win32/gstenumtypes.c:
13791 * win32/gstenumtypes.h:
13794 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13796 * libs/gst/controller/gst-controller.c:
13797 (gst_controlled_property_set_interpolation_mode),
13798 (gst_controlled_property_new):
13799 fixed boolean again
13801 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
13803 * docs/faq/gst-uninstalled:
13808 * gst/gstutils.c: (gst_element_link_filtered):
13810 add gst_element_link_filtered
13812 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13814 * docs/gst/gstreamer-docs.sgml:
13815 * docs/gst/gstreamer-sections.txt:
13816 * docs/gst/tmpl/.cvsignore:
13817 * docs/gst/tmpl/gsterror.sgml:
13818 * docs/gst/tmpl/gstfilter.sgml:
13819 * docs/gst/tmpl/gsturihandler.sgml:
13820 * docs/gst/tmpl/gsturitype.sgml:
13821 * docs/gst/tmpl/gstutils.sgml:
13822 * docs/gst/tmpl/gstxml.sgml:
13827 * gst/gsturitype.c:
13830 inlined more docs, fixed double id-ref
13832 2005-08-31 Wim Taymans <wim@fluendo.com>
13834 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13835 (gst_base_transform_handle_buffer):
13836 Passthrough elements don't need the caps as they don't care.
13838 2005-08-31 Wim Taymans <wim@fluendo.com>
13840 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13841 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
13842 Don't leak refcounts on buffers.
13844 2005-08-31 Wim Taymans <wim@fluendo.com>
13846 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
13847 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
13848 (gst_base_transform_chain), (gst_base_transform_change_state):
13849 * gst/base/gstbasetransform.h:
13850 Handle the case where we are not negotiated more gracefully.
13852 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
13854 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
13855 (gst_file_src_map_region):
13856 Set READONLY flag on mmap'ed buffers, otherwise
13857 gst_buffer_make_writable() won't work properly (#314708).
13859 2005-08-31 Wim Taymans <wim@fluendo.com>
13861 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
13862 passthrough elements can even do inplace on non writable
13863 buffers (as they don't touch them).
13865 2005-08-31 Stefan Kost <ensonic@users.sf.net>
13867 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
13868 (gst_test_mono_source_set_property),
13869 (gst_test_mono_source_class_init), (GST_START_TEST),
13870 (gst_controller_suite):
13871 more tests (hehe I have the most)
13873 describe popping messages whenusing mulltiple sources
13874 * libs/gst/controller/gst-controller.c:
13875 (gst_controlled_property_set_interpolation_mode),
13876 (gst_controlled_property_new):
13877 * libs/gst/controller/gst-controller.h:
13878 * libs/gst/controller/gst-interpolation.c:
13879 implement boolean properties
13881 2005-08-31 Wim Taymans <wim@fluendo.com>
13883 * gst/gstminiobject.c: (gst_mini_object_ref):
13884 Cannot assert that the refcount has to be positive
13885 since a disposed object can be resurrected.
13887 2005-08-31 Wim Taymans <wim@fluendo.com>
13889 * gst/gstpad.c: (gst_pad_init):
13890 Revert change, need to first fix badly behaving
13893 2005-08-30 Wim Taymans <wim@fluendo.com>
13895 * check/elements/fakesrc.c: (setup_fakesrc):
13896 * check/elements/identity.c: (setup_identity):
13897 Activate pads before using them.
13899 2005-08-30 Wim Taymans <wim@fluendo.com>
13901 * gst/base/gstadapter.c: (gst_adapter_flush):
13902 Flushing out 0 bytes is ok for this function.
13904 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13905 no newsegment gives a warning and sets the start/stop to
13908 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
13909 (gst_base_transform_set_passthrough):
13912 * gst/gstminiobject.c: (gst_mini_object_ref):
13913 Check refcount here too.
13915 * gst/gstpad.c: (gst_pad_init):
13916 Pads are initially flushing and refusing data.
13918 * gst/gstutils.c: (gst_element_link_pads_filtered):
13919 When adding a capsfilter element make sure it has the
13920 same state as the parent bin.
13922 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13924 * docs/gst/tmpl/.cvsignore:
13925 * docs/gst/tmpl/gstformat.sgml:
13926 * docs/gst/tmpl/gstversion.sgml:
13930 * gst/gstversion.h.in:
13931 more docs and two more inlined
13933 2005-08-30 Wim Taymans <wim@fluendo.com>
13935 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
13936 Don't sync to clock.
13938 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13940 * docs/gst/gstreamer-sections.txt:
13941 ultral33t func10ns deserve to appear in the docs actually
13942 * docs/gst/tmpl/.cvsignore:
13943 * docs/gst/tmpl/gstcompat.sgml:
13944 * docs/gst/tmpl/gstconfig.sgml:
13945 * gst/check/gstcheck.c:
13947 * gst/gstconfig.h.in:
13950 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13952 * docs/gst/tmpl/.cvsignore:
13953 * docs/gst/tmpl/gstquery.sgml:
13954 * docs/gst/tmpl/gstutils.sgml:
13957 inlined and extended docs
13959 2005-08-30 Stefan Kost <ensonic@users.sf.net>
13961 * check/gst-libs/controller.c: (GST_START_TEST),
13962 (gst_controller_suite):
13964 * docs/gst/tmpl/gstutils.sgml:
13965 * docs/libs/gstreamer-libs-sections.txt:
13966 * docs/libs/tmpl/gstdataprotocol.sgml:
13968 * examples/controller/audio-example.c: (main):
13969 controller example works now
13972 * tools/gst-inspect.c: (print_element_properties_info):
13973 show param spec flags
13975 2005-08-29 Andy Wingo <wingo@pobox.com>
13977 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
13979 2005-08-28 Andy Wingo <wingo@pobox.com>
13981 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
13982 as having two arguments instead of just one. Allows superclasses
13983 to access information on subclasses -- see the terrible for() loop
13984 in gtype.c:g_type_create_instance for the reason why. All callers
13987 2005-08-27 Stefan Kost <ensonic@users.sf.net>
13989 * docs/design/part-messages.txt:
13991 * docs/gst/tmpl/.cvsignore:
13992 * docs/gst/tmpl/gstcaps.sgml:
13993 * docs/gst/tmpl/gstclock.sgml:
13999 * gst/gstmessage.c:
14000 added descriptions for bus and message
14001 inline caps and clock docs
14003 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14005 * gst/gstmessage.c:
14006 * gst/gstmessage.h:
14009 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14011 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14014 2005-08-26 Andy Wingo <wingo@pobox.com>
14016 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14017 element_set_state's return val.
14018 (test_2_elements): Add test that's been disabled for months.
14020 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14021 can-activate-pull properties.
14023 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14024 can-activate-pull properties. Implement is_seekable so fakesrc can
14025 operate in pull mode.
14027 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14029 (gst_base_sink_activate, gst_base_sink_activate_pull)
14030 (gst_base_sink_activate_push): Make activation mode choosing work.
14032 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14033 is right. Make pull mode work. Post an eos before pausing in pull
14035 (gst_base_sink_change_state): Pay attention to the core's
14036 change_state() return val.
14038 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14039 has-getrange properties. Cleanups.
14041 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14042 has_getrange and replace with can_activate_pull and
14045 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14046 locking comments. Remove has_loop, has_chain and replace with
14047 can_activate_pull and can_activate_push.
14049 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14052 * examples/Makefile.am:
14053 * examples/metadata/Makefile.am:
14054 * examples/metadata/read-metadata.c: (message_loop),
14055 (have_pad_handler), (make_pipeline), (print_tag), (main):
14056 Add metadata reading example that loops over a list of filenames,
14057 dumping any tags found.
14059 * gst/gstbus.c: (gst_bus_dispose):
14060 * gst/gstelement.c: (gst_element_dispose):
14061 Release a few potentially-held references in dispose.
14063 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14065 * docs/gst/tmpl/gstminiobject.sgml:
14066 do *not* add tmpl/*.sgml files to CVS!
14068 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14070 * libs/gst/bytestream/.cvsignore:
14071 * libs/gst/bytestream/Makefile.am:
14072 * libs/gst/bytestream/adapter.c:
14073 * libs/gst/bytestream/adapter.h:
14074 * libs/gst/bytestream/bytestream.c:
14075 * libs/gst/bytestream/bytestream.h:
14076 * libs/gst/bytestream/filepad.c:
14077 * libs/gst/bytestream/filepad.h:
14078 removing obsolete files
14080 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14082 * docs/gst/gstreamer-docs.sgml:
14083 * docs/libs/gstreamer-libs-docs.sgml:
14084 disabed additional index entries again, as this makes docs-gen just
14085 slow and they aren't useful yet
14086 * docs/libs/gstreamer-libs-sections.txt:
14087 little -section.txt cleanup for libs
14089 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14091 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14092 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14093 fix up some debugging
14094 (gst_base_transform_get_unit_size),
14095 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14096 (gst_base_transform_handle_buffer):
14097 * gst/base/gstbasetransform.h:
14098 handle and store timed NEWSEGMENT events so that subclasses that
14099 calculate time by counting samples have a segment_start time they
14100 need to add to their timestamps - see audioresample
14102 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14105 removed ';' from the end of macro defs
14106 * docs/gst/gstreamer-docs.sgml:
14107 * docs/gst/gstreamer-sections.txt:
14108 * docs/gst/tmpl/.cvsignore:
14110 * gst/gstelement.c: (gst_element_class_init),
14111 (gst_element_set_state), (activate_pads),
14112 (gst_element_save_thyself):
14113 * gst/gstevent.c: (gst_event_new_newsegment):
14115 * gst/gstiterator.c:
14116 * gst/gstiterator.h:
14119 * gst/gstutils.c: (gst_pad_query_convert):
14121 fixed parameter name mismatches between source, header and docs
14122 added some more docs, resolved the last batch of unused elements in
14123 docs (now someone needs to doc them)
14125 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14127 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14128 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14129 don't walk through the plugins backwards. Where is all this
14130 reversed logic coming from ?
14132 2005-08-25 Wim Taymans <wim@fluendo.com>
14134 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14135 (gst_base_transform_transform_size),
14136 (gst_base_transform_configure_caps),
14137 (gst_base_transform_get_unit_size),
14138 (gst_base_transform_buffer_alloc),
14139 (gst_base_transform_change_state):
14140 * gst/base/gstbasetransform.h:
14141 Cache caps unit_size.
14142 Make sure we cannot negotiate up and downstream at the
14145 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14147 * gst/gst.c: (init_pre), (init_post):
14148 register the installed plugin path after the env var
14149 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14150 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14151 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14152 directories, so the tests can prefer uninstalled over installed
14154 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14156 * gst/base/gstbasetransform.h:
14161 2005-08-25 Wim Taymans <wim@fluendo.com>
14163 * gst/gstbin.c: (bin_bus_handler):
14164 Be a bit more conservative about the posted message.
14166 * gst/gstbus.c: (gst_bus_post):
14167 Some cleanups, warn wrong return values.
14169 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14171 * check/gst/gstbin.c: (GST_START_TEST):
14172 * gst/gstbin.c: (bin_bus_handler):
14173 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14174 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14175 (gst_message_new_warning), (gst_message_new_tag),
14176 (gst_message_new_state_changed), (gst_message_new_segment_start),
14177 (gst_message_new_segment_done), (gst_message_new_custom):
14178 * gst/gstmessage.h:
14179 * tools/gst-launch.c: (event_loop):
14180 * tools/gst-md5sum.c: (event_loop):
14181 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14183 2005-08-25 Wim Taymans <wim@fluendo.com>
14185 * check/generic/states.c: (GST_START_TEST):
14186 Cleanup can be done at the end.
14188 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14189 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14190 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14191 Oh boy.. Thanks for finding this, Thomas.
14193 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14195 * docs/gst/gstreamer.types:
14196 added missing types
14198 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14200 * docs/gst/gstreamer-docs.sgml:
14201 * docs/gst/gstreamer-sections.txt:
14202 * docs/gst/tmpl/.cvsignore:
14204 * gst/gstiterator.c:
14206 * gst/registries/gstxmlregistry.h:
14207 added missing classes and symbols (123 more to go)
14208 removed removed symbols from section file
14209 fixed many doc-comments
14211 2005-08-24 Wim Taymans <wim@fluendo.com>
14213 * check/generic/states.c: (GST_START_TEST):
14214 Make sure all tasks are stopped.
14216 * check/gst/gstbin.c: (GST_START_TEST):
14217 Unref after usage for proper valgrinding.
14219 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14220 Really wait for the task to stop before destroying the
14223 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14224 (gst_queue_src_activate_push):
14225 Small cleanups. Don't stop the task when we did not start
14228 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14229 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14230 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14233 Protect the stream lock with the object lock.
14234 Disallow setting the stream lock when running.
14235 Add cleanup_all to wait for the threadpool to finish.
14236 Remove code to autoallocate a mutex if none was provided.
14237 Add _join() to wait for a task to stop.
14238 Protect the thread pool with a global lock.
14240 2005-08-24 Wim Taymans <wim@fluendo.com>
14242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14243 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14244 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14245 * gst/base/gstbasesink.h:
14246 Handle newsegment events correctly.
14247 Drop buffers out of the segment range.
14249 2005-08-22 Andy Wingo <wingo@pobox.com>
14251 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14252 macro, implements an interface and gstimplementsinterface for a
14255 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14257 * check/Makefile.am:
14258 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14259 add a test that does a bunch of state changes on elements
14260 needs some fixing for valgrind
14261 * check/states/sinks.c: (gst_object_suite):
14264 add prototype for gst_caps_is_equal_fixed
14266 * gst/gstregistrypool.c:
14269 2005-08-24 Andy Wingo <wingo@pobox.com>
14271 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14272 convert a negative value. Doesn't make much sense. Mostly this is
14273 here to force callers to ensure -1 maps to -1.
14275 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14277 * docs/pwg/advanced-types.xml:
14278 Well done to Michael for catching my deliberate introduction
14279 of this spelling mistake.
14280 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14281 * gst/gstelement.h:
14282 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14283 unlink pads before removing the element from the bin.
14285 2005-08-24 Andy Wingo <wingo@pobox.com>
14287 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14288 the same thing as GST_DEBUG=*:4.
14289 (parse_debug_level, parse_debug_category): New helper parsers.
14291 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14293 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14294 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14295 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14296 (gst_base_transform_buffer_alloc),
14297 (gst_base_transform_handle_buffer):
14298 use gboolean return values and pointers to size so we can use the
14299 full GST_BUFFER_SIZE range (guint) for buffer sizes
14300 use GstPadDirection for transform_caps
14301 * gst/base/gstbasetransform.h:
14302 rename get_size to get_unit_size since that's what it is
14303 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14304 use GstPadDirection for transform_caps
14305 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14307 cleanup and debugging
14309 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14311 * gst/gstelement.c: (gst_element_class_init),
14312 (gst_element_set_state), (activate_pads),
14313 (gst_element_save_thyself):
14314 * tools/gst-compprep.c: (main):
14315 * tools/gst-inspect.c: (print_element_properties_info):
14316 * tools/gst-xmlinspect.c: (print_element_properties):
14317 Fixed long standing mem-leak
14319 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14321 * check/gst/gstbin.c: (GST_START_TEST):
14322 * gst/gstbin.c: (bin_bus_handler):
14323 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14324 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14325 (gst_message_new_warning), (gst_message_new_tag),
14326 (gst_message_new_state_changed), (gst_message_new_segment_start),
14327 (gst_message_new_segment_done), (gst_message_new_custom):
14328 * gst/gstmessage.h:
14329 * tools/gst-launch.c: (event_loop):
14330 * tools/gst-md5sum.c: (event_loop):
14331 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14332 that applications can sensibly post custom messages with references
14333 to their own objects.
14335 2005-08-24 Andy Wingo <wingo@pobox.com>
14337 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14340 2005-08-24 Wim Taymans <wim@fluendo.com>
14342 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14343 (gst_base_transform_transform_caps),
14344 (gst_base_transform_transform_size),
14345 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14346 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14347 (gst_base_transform_handle_buffer):
14348 * gst/base/gstbasetransform.h:
14349 Many fixes and new features added by Thomas. Can now also do
14350 transforms with variable sizes and a custom fixate_caps function.
14352 2005-08-24 Wim Taymans <wim@fluendo.com>
14354 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14358 Cast to ClockTime before formatting to time.
14363 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14365 * check/gst-libs/controller.c: (GST_START_TEST),
14366 (gst_controller_suite):
14367 * docs/gst/tmpl/gstcaps.sgml:
14368 * docs/gst/tmpl/gstghostpad.sgml:
14369 * docs/gst/tmpl/gstquery.sgml:
14370 * docs/gst/tmpl/gstutils.sgml:
14371 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14372 (gst_object_sink_values), (gst_object_get_value_arrays),
14373 (gst_object_get_value_array):
14374 gracefully handle helper method calls to objects that are not beeing
14375 controlled, added test case for that
14377 2005-08-23 Wim Taymans <wim@fluendo.com>
14379 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14380 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14381 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14382 (gst_event_parse_qos), (gst_event_new_seek),
14383 (gst_event_parse_seek):
14385 Some more debugging output and doc cleanups.
14387 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14388 Fix possible deadlock.
14390 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14392 * docs/gst/gstreamer-docs.sgml:
14393 * docs/gst/gstreamer-sections.txt:
14394 * docs/gst/gstreamer.types:
14395 * docs/gst/tmpl/.cvsignore:
14398 * gst/gstelement.c:
14400 added 100 symbols from gstreamer-unused.txt to the right sections
14401 fixed more broken comments
14402 added GstBus to docs
14404 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14406 * docs/gst/gstreamer-sections.txt:
14407 * docs/gst/tmpl/.cvsignore:
14408 * docs/gst/tmpl/gstbin.sgml:
14409 * docs/gst/tmpl/gstbuffer.sgml:
14410 * gst/base/gstbasesrc.c:
14411 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14414 * tools/gst-launch.1.in:
14415 inlined more doc comments, added missing comments and fixed comments
14418 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14420 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14424 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14426 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14427 * gst/gststructure.h:
14428 add a fixate function for booleans; add a FIXME that these func
14429 names should probably be gst_structure_fixate_*
14431 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14433 * docs/gst/gstreamer-docs.sgml:
14434 * docs/gst/gstreamer-sections.txt:
14436 * gst/gstbin.c: (gst_bin_get_type),
14437 (gst_bin_child_proxy_get_child_by_index),
14438 (gst_bin_child_proxy_get_children_count),
14439 (gst_bin_child_proxy_init):
14440 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14441 (gst_child_proxy_get_child_by_index),
14442 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14443 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14444 (gst_child_proxy_get), (gst_child_proxy_set_property),
14445 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14446 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14447 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14448 * gst/gstchildproxy.h:
14449 * gst/parse/grammar.y:
14450 * tools/gst-inspect.c: (print_interfaces),
14451 (print_element_properties_info), (print_element_info):
14452 ported gstchildproxy over from 0.8
14453 ported gst-inspect fixes and enhancements over from 0.8
14455 2005-08-22 Wim Taymans <wim@fluendo.com>
14457 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14458 (gst_base_transform_handle_buffer):
14459 Also call the transform function if we have ANY caps.
14461 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14464 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14466 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14467 Don't pretend to handle seek events if the source is not seekable
14469 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14472 Remove extra parameter to debug output
14474 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14475 (gst_base_src_do_seek), (gst_base_src_activate_push):
14476 Fix seek event handling.
14478 * gst/gstpipeline.c: (gst_pipeline_change_state):
14479 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14480 (gst_queue_src_activate_push):
14481 Don't start the src pad task on FLUSH_STOP if the pad
14485 2005-08-22 Wim Taymans <wim@fluendo.com>
14487 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14488 Added check for gst_static_caps_get() refcounting.
14490 2005-08-22 Wim Taymans <wim@fluendo.com>
14492 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14493 Make _static_caps_get() refcounting sane.
14495 * gst/gstelement.c: (gst_element_set_state):
14496 Add g_return_val_if_fail() to protect against segfaults.
14498 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14500 * docs/gst/tmpl/gstevent.sgml:
14503 inlined remaining docs, added missing doc comments
14505 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * check/gst/gstbin.c: (GST_START_TEST):
14508 since we don't know when preroll is done, use refcount range
14510 * gst/check/gstcheck.h:
14511 add macro for checking refcount range
14513 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14515 * check/Makefile.am:
14516 clean up environment for when registry gets built versus
14517 when actual tests are run; valgrind seems to not report
14518 leaks if GST_PLUGIN_PATH is set to some specific values
14519 * check/gst/gstbin.c: (GST_START_TEST):
14520 add more refcounting checks; maybe this exposes a
14522 * common/check.mak:
14523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14524 * gst/check/gstcheck.h:
14525 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14526 (gst_bin_change_state):
14527 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14528 add/fix debugging/whitespace
14530 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14532 * check/gst/gstevent.c: (event_probe), (test_event),
14534 Er, don't call gst_bin_watch_for_state_change you idiot.
14536 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14538 * check/Makefile.am:
14539 Use CHECK_CFLAGS and CHECK_LIBS
14540 * check/gst/gstevent.c: (event_probe), (test_event),
14543 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14544 (gst_base_src_start), (gst_base_src_stop),
14545 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14546 (gst_base_src_change_state):
14547 Sprinkle gst_base_src_stop liberally around error paths to fix
14548 problems reusing a source after failed state changes.
14549 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14550 (helper_find_suggest), (gst_type_find_helper):
14551 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14553 * docs/gst/tmpl/gstevent.sgml:
14554 Migrate part of the docs from the SGML file. Wait for ensonic to
14555 tell me how I did it wrong ;)
14556 * tools/gst-typefind.c: (main):
14557 Extra robustness to state changes between files.
14559 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14561 * check/Makefile.am:
14562 don't valgrind the controller test - it's leaking - Stefan, HELP
14563 * gst/check/gstcheck.c: (gst_check_message_error),
14564 (gst_check_chain_func), (gst_check_setup_element),
14565 (gst_check_teardown_element), (gst_check_setup_src_pad),
14566 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14567 (gst_check_teardown_sink_pad):
14568 * gst/check/gstcheck.h:
14569 add a bunch of methods to set up elements, and src and sink pads
14570 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14571 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14574 * gst/gstmessage.c:
14576 whitespace/doc fixes
14578 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14580 * gst/gstelement.h:
14581 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14582 be handled by the application and not always printed as well
14584 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14586 * check/Makefile.am:
14588 * gst/check/gstcheck.c: (gst_check_message_error):
14589 * gst/check/gstcheck.h:
14590 add a fail_unless_equals_int
14591 add fail_unless for error messages
14593 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14595 * check/Makefile.am:
14597 * common/Makefile.am:
14598 * common/check.mak:
14600 factor out some of the common stuff so we can use it
14602 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14604 * check/Makefile.am:
14605 * check/gst/gstiterator.c: (GST_START_TEST):
14606 * check/gst/gstsystemclock.c: (GST_START_TEST),
14607 (gst_systemclock_suite):
14608 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14610 valgrind more tests
14612 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14614 * check/elements/.cvsignore:
14615 * check/elements/gstfakesrc.c:
14616 rename to name of element
14617 * check/elements/identity.c: (chain_func), (event_func),
14618 (setup_identity), (cleanup_identity), (GST_START_TEST),
14619 (identity_suite), (main):
14620 add a test for identity
14621 * check/Makefile.am:
14622 * pkgconfig/Makefile.am:
14623 * pkgconfig/gstreamer-check.pc.in:
14624 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14628 move the check stuff to a library that gets installed
14629 * check/gst-libs/controller.c: (GST_START_TEST):
14630 * check/gst-libs/gdp.c:
14631 * check/gst/gst.c: (GST_START_TEST):
14632 * check/gst/gstbin.c:
14633 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14634 * check/gst/gstbus.c:
14635 * check/gst/gstcaps.c: (GST_START_TEST):
14636 * check/gst/gstelement.c:
14637 * check/gst/gstghostpad.c:
14638 * check/gst/gstiterator.c:
14639 * check/gst/gstmessage.c:
14640 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14641 * check/gst/gstobject.c:
14642 * check/gst/gstpad.c: (GST_START_TEST):
14643 * check/gst/gststructure.c: (GST_START_TEST):
14644 * check/gst/gstsystemclock.c: (GST_START_TEST),
14645 (gst_systemclock_suite):
14646 * check/gst/gsttag.c: (gst_tag_suite):
14647 * check/gst/gstvalue.c:
14648 * check/pipelines/cleanup.c:
14649 * check/pipelines/simple_launch_lines.c:
14650 * check/states/sinks.c:
14651 change include statement
14653 * docs/gst/gstreamer-sections.txt:
14654 * docs/gst/tmpl/gstpad.sgml:
14655 document more pad stuff
14656 * gst/gstminiobject.c: (gst_mini_object_ref),
14657 (gst_mini_object_unref):
14660 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14662 * docs/gst/tmpl/gst.sgml:
14664 eliminate another tmpl file, fix spelling in the long-description
14666 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14668 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14669 (test_event), (timediff), (gstevents_suite):
14670 Should fix build on 64-bit arch's
14672 2005-08-18 Andy Wingo <wingo@pobox.com>
14674 Make sure that when a pipeline goes to PLAYING, that data has
14675 actually hit the sink.
14677 * check/states/sinks.c (test_sink): A sink that doesn't get any
14678 data shouldn't return SUCCESS for going to either PLAYING or
14679 PAUSED. Test also the return values on the way back down.
14681 * gst/gstelement.c (gst_element_set_state): When changing the
14682 state of an element currently changing state asynchronously, go to
14683 lost-state after commiting the pending state. Makes future calls
14684 to get_state continue to return ASYNC.
14686 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14687 ASYNC when going to PLAYING if we still don't have preroll, as can
14688 happen with live sources.
14690 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14692 * docs/pwg/advanced-types.xml:
14693 Hack long paragraph into 2 chunks as a workaround for buggy
14694 jadetex version in sid and breezy that loops infinitely and
14697 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14699 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14700 (test_event), (timediff), (gstevents_suite):
14701 Provide more error margin in clock measurements to allow for
14702 g_get_current_time inaccuracies.
14704 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14706 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14707 (test_event), (timediff), (gstevents_suite):
14708 Fix error message output so I might be able to tell why the
14709 test works here but fails on the build farm.
14711 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14713 * check/Makefile.am:
14714 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14715 (test_event), (timediff), (gstevents_suite), (main):
14718 * docs/design/part-seeking.txt:
14719 Spelling correction
14721 * docs/gst/tmpl/gstevent.sgml:
14722 * docs/gst/tmpl/gstfakesrc.sgml:
14725 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14726 Treat a buffer-without-newsegment the same as a receiving
14727 a newsegment not in time format, and disable syncing to the clock
14730 * gst/gstbus.c: (gst_bus_set_sync_handler):
14731 Assert if anyone tries to replace the existing sync_handler for bus,
14732 as only the owner should be setting it.
14735 Have a fixed set of custom event enums with events identified by
14736 their structure name (as in 0.8), rather than a free-for-all
14737 allowing collisions between enum values from different plugins.
14739 * gst/gstpad.c: (gst_pad_class_init):
14742 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14743 Handle out-of-band downstream events from the sending thread.
14745 2005-08-17 Andy Wingo <wingo@pobox.com>
14747 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
14748 play-timeout==0 to mean no timeout at all. In that case, don't
14749 bother with a get_state or a warning, just return directly, even
14752 * gst/base/gstbasetransform.c: Debug changes.
14755 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
14756 ensure bins post state change messages. A bit of a hack but I can't
14757 think of a way to avoid it.
14759 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
14761 2005-08-16 Andy Wingo <wingo@pobox.com>
14763 * gst/base/gstadapter.h:
14764 * gst/base/gstadapter.c (gst_adapter_take): New function, like
14765 peek() but you own the data. Not terribly efficient atm.
14767 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14769 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
14770 (gst_element_found_tags):
14772 Add two utility functions for tag handling.
14774 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14776 * docs/manual/advanced-dataaccess.xml:
14777 * docs/manual/basics-helloworld.xml:
14778 Fix docs to use _bin_add() before _link(), which fixes the examples
14779 with recent core versions (reported by Madhan Raj M
14780 <raj_madan@rediffmail.com>, #313199).
14782 2005-08-16 Wim Taymans <wim@fluendo.com>
14784 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
14785 Added subtract checks.
14787 * docs/design/part-events.txt:
14788 Some more docs about newsegment
14790 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14793 * gst/gstcaps.c: (gst_caps_to_string):
14794 Add comments, cleanups.
14796 * gst/gstelement.c: (gst_element_save_thyself):
14799 * gst/gstvalue.c: (gst_value_collect_int_range),
14800 (gst_string_unwrap), (gst_value_union_int_int_range),
14801 (gst_value_union_int_range_int_range),
14802 (gst_value_intersect_int_int_range),
14803 (gst_value_intersect_int_range_int_range),
14804 (gst_value_intersect_double_double_range),
14805 (gst_value_intersect_double_range_double_range),
14806 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
14807 (gst_value_subtract_int_range_int),
14808 (gst_value_subtract_double_range_double),
14809 (gst_value_subtract_double_range_double_range),
14810 (gst_value_subtract_from_list), (gst_value_subtract_list),
14811 (gst_value_can_compare), (gst_value_compare_fraction):
14812 Cleanups, add comments, remove unneeded asserts.
14814 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14816 * tools/gst-launch.c: (event_loop):
14817 don't convert NULL structures to strings
14819 2005-08-15 Stefan Kost <ensonic@users.sf.net>
14821 * docs/gst/gstreamer-sections.txt:
14822 made some defines private
14823 * docs/gst/tmpl/gstconfig.sgml:
14824 * docs/gst/tmpl/gstqueue.sgml:
14825 * docs/gst/tmpl/gsttaglist.sgml:
14826 * docs/gst/tmpl/gsttypes.sgml:
14827 * docs/gst/tmpl/gstutils.sgml:
14828 * docs/pwg/appendix-porting.xml:
14829 * gst/base/gstbasesink.h:
14830 * gst/base/gstbasesrc.c:
14831 * gst/base/gstbasesrc.h:
14832 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
14833 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
14834 * gst/gstelement.c: (gst_element_class_init):
14835 * gst/gstpad.c: (gst_pad_class_init):
14836 * gst/gstqueue.c: (gst_queue_class_init):
14837 * gst/gstxml.c: (gst_xml_class_init):
14838 documented all undocumented signal inline
14839 * libs/gst/controller/gst-controller.h:
14842 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14844 * docs/pwg/appendix-porting.xml:
14845 Document _set_link_function -> _set_setcaps_function.
14847 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
14849 * check/Makefile.am:
14850 add a .check target for running the check
14851 * check/gst-libs/controller.c: (GST_START_TEST):
14853 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14854 complete checks for gstbuffer; would be nice if I could get the
14855 gcov stuff to work so I can see if I actually completed gstbuffer.c
14856 * check/gstcheck.h:
14857 add ASSERT_BUFFER_REFCOUNT
14859 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
14861 * docs/gst/gstreamer-sections.txt:
14862 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
14864 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
14865 spew out a warning if a tag that is already registered
14866 is re-registered, unless it is re-registered with a
14867 different type (#308438).
14869 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
14871 * docs/pwg/appendix-porting.xml:
14872 * docs/pwg/building-state.xml:
14873 Add some paragraphs about state changes in 0.9 to the PWG
14874 and the porting guide, in particular about the new meaning
14875 of GST_STATE_PAUSED and how to write state change functions
14876 with concurrent access by multiple threads in mind.
14878 2005-08-11 Stefan Kost <ensonic@users.sf.net>
14880 * docs/gst/gstreamer-docs.sgml:
14881 * docs/libs/gstreamer-libs-docs.sgml:
14882 added deprecation and since indexes
14883 * libs/gst/controller/gst-controller.c:
14884 * libs/gst/controller/gst-helper.c:
14888 2005-08-11 Wim Taymans <wim@fluendo.com>
14890 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
14891 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
14892 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
14893 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
14894 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
14895 (gst_ghost_pad_set_target):
14896 Actually implement (re)setting the target on a ghostpad
14897 as described in the docs.
14899 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14901 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
14902 Check whether GST_DEBUG_NO_COLOR environment variable is
14903 set and disable coloured debug output if that is the case.
14905 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
14907 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14908 (gst_type_find_helper):
14909 The memory returned by gst_type_find_peek() needs to
14910 stay valid until the end of a typefind function, and
14911 typefind functions may keep results from different
14912 offsets around, so we can't just unref the buffer from
14913 the previous _peek(), but have to save all buffers
14914 returned by _peek() until typefinding is done and only
14917 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
14919 * docs/gst/gstreamer-sections.txt:
14921 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
14923 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14925 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14926 Fix a pretty good memleak.
14928 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14930 * gst/gstiterator.h:
14931 Fix wrong include and 'make distcheck'.
14933 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14935 * gst/gstbin.c: (bin_bus_handler):
14936 Use gst_element_post_message() instead.
14938 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
14940 * gst/base/gstadapter.h:
14941 * gst/base/gstbasesink.h:
14942 * gst/base/gstbasesrc.h:
14943 * gst/base/gstbasetransform.h:
14944 * gst/base/gstcollectpads.h:
14945 * gst/base/gstpushsrc.h:
14946 * gst/gstiterator.h:
14947 Add padding to our base elements' class and instance structs and
14948 to GstIterator (you will need to rebuild all plugins and apps!)
14950 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14952 * gst/gstbin.c: (bin_bus_handler):
14953 Make default message forwarding from child->bus to bin->bus
14954 threadsafe and make it not emit warnings if the parent has no bus.
14956 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14958 * gst/gstelement.c: (activate_pads):
14959 On paused->ready, set pad->caps to NULL, as is the documented
14960 behaviour in this state change. Fixes playback of series of
14961 media files when visualization is enabled in Totem.
14963 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
14965 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
14966 Allow NULL as filter-caps (which means "any").
14968 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14970 * docs/libs/gstreamer-libs-sections.txt:
14971 * libs/gst/controller/gst-controller.c:
14972 * libs/gst/controller/gst-controller.h:
14973 * libs/gst/controller/gst-helper.c:
14974 adding more entries to the docs and fix small doc-bugs
14976 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14978 * docs/gst/gstreamer-docs.sgml:
14979 * docs/gst/gstreamer-sections.txt:
14980 * docs/gst/gstreamer.types:
14981 * docs/gst/tmpl/gstbasesink.sgml:
14982 * docs/gst/tmpl/gstbasesrc.sgml:
14983 * docs/gst/tmpl/gstbasetransform.sgml:
14984 * docs/gst/tmpl/gstfakesrc.sgml:
14985 * gst/base/gstcollectpads.c:
14986 * gst/base/gstcollectpads.h:
14987 * libs/gst/controller/gst-controller.c:
14988 * libs/gst/controller/gst-controller.h:
14989 * libs/gst/controller/gst-helper.c:
14990 * libs/gst/controller/gst-interpolation.c:
14991 * libs/gst/controller/lib.c:
14992 added long/short desc for controller docs
14993 added collectpads base class docs
14994 added correct includes to base-class docs
14996 2005-08-05 Stefan Kost <ensonic@users.sf.net>
14998 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14999 (gst_test_mono_source_set_property),
15000 (gst_test_mono_source_class_init), (GST_START_TEST),
15001 (gst_controller_suite):
15002 * docs/gst/gstreamer-docs.sgml:
15003 * docs/gst/gstreamer-sections.txt:
15004 * docs/gst/gstreamer.types:
15005 * docs/libs/gstreamer-libs-docs.sgml:
15006 * docs/libs/gstreamer-libs-sections.txt:
15007 * gst/base/gstadapter.c:
15008 * libs/gst/controller/gst-controller.c:
15009 (gst_controlled_property_new), (gst_controlled_property_free),
15010 (gst_controller_new_valist),
15011 (gst_controller_remove_properties_valist),
15012 (gst_controller_sink_values), (_gst_controller_finalize):
15013 * libs/gst/controller/gst-controller.h:
15014 * libs/gst/controller/gst-helper.c:
15015 (gst_object_control_properties), (gst_object_uncontrol_properties),
15016 (gst_object_get_controller), (gst_object_set_controller),
15017 (gst_object_sink_values), (gst_object_get_value_arrays),
15018 (gst_object_get_value_array):
15019 more tests (and fixes) for the controller
15020 more docs for the controller
15021 integrated companies docs for the adapter
15023 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15025 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15026 (GST_START_TEST), (fakesrc_suite):
15027 add tests for sizetype
15029 2005-08-04 Andy Wingo <wingo@pobox.com>
15031 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15032 fixes buffer_alloc proxying among other things.
15034 * gst/base/gstbasetransform.c:
15035 * gst/base/gstbasetransform.h:
15036 Revert patch to gstbasetransform from 7-28 removing
15039 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15040 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15041 Semantics changed, should return not the size of the output buffer
15042 but the byte size of a buffer with a given caps.
15044 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15046 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15047 out) are not the pad caps until setcaps finishes.
15048 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15049 not-in-place case as well. Deal with changing from in-place to
15050 not-in-place within calling pad_alloc_buffer. Still a bit
15051 concerned about the overhead here...
15053 2005-08-03 Andy Wingo <wingo@pobox.com>
15055 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15056 fixating is an error.
15058 2005-08-04 Edward Hervey <edward@fluendo.com>
15060 * gst/base/gstadapter.h:
15061 Added gst_adapter_get_type() to the header
15063 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15065 * check/Makefile.am:
15066 * check/gst-libs/controller.c:
15067 * libs/gst/controller/gst-controller.c:
15068 (gst_controller_new_valist):
15069 added check test suite for the controller
15070 * gst/base/gstpushsrc.c:
15073 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15075 * docs/gst/Makefile.am:
15076 * docs/gst/gstreamer-docs.sgml:
15077 * docs/gst/gstreamer-sections.txt:
15078 * docs/gst/gstreamer.types:
15079 * docs/gst/tmpl/gstfakesrc.sgml:
15081 * gst/base/gstbasesink.c:
15082 * gst/base/gstbasesink.h:
15083 * gst/base/gstbasesrc.c:
15084 * gst/base/gstbasesrc.h:
15085 * gst/base/gstbasetransform.c:
15086 * gst/base/gstpushsrc.c:
15087 * gst/base/gstpushsrc.h:
15088 add short/long description docs to base classes
15089 add pushsrc to the docs
15090 remove consolidated doc fragments
15092 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15095 * docs/libs/Makefile.am:
15096 * docs/libs/gstreamer-libs-docs.sgml:
15097 * docs/libs/gstreamer-libs-sections.txt:
15098 * docs/libs/gstreamer-libs.types:
15099 * examples/Makefile.am:
15100 * examples/controller/.cvsignore:
15101 * examples/controller/Makefile.am:
15102 * examples/controller/audio-example.c: (main):
15103 * libs/gst/Makefile.am:
15104 * libs/gst/controller/.cvsignore:
15105 * libs/gst/controller/Makefile.am:
15106 * libs/gst/controller/gst-controller.c:
15107 (on_object_controlled_property_changed), (gst_timed_value_compare),
15108 (gst_timed_value_find),
15109 (gst_controlled_property_set_interpolation_mode),
15110 (gst_controlled_property_new), (gst_controlled_property_free),
15111 (gst_controller_find_controlled_property),
15112 (gst_controller_new_valist), (gst_controller_new),
15113 (gst_controller_remove_properties_valist),
15114 (gst_controller_remove_properties), (gst_controller_set),
15115 (gst_controller_set_from_list), (gst_controller_unset),
15116 (gst_controller_get), (gst_controller_get_all),
15117 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15118 (gst_controller_get_value_array),
15119 (gst_controller_set_interpolation_mode),
15120 (_gst_controller_finalize), (_gst_controller_init),
15121 (_gst_controller_class_init), (gst_controller_get_type):
15122 * libs/gst/controller/gst-controller.h:
15123 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15124 (g_object_uncontrol_properties), (g_object_get_controller),
15125 (g_object_set_controller), (g_object_sink_values),
15126 (g_object_get_value_arrays), (g_object_get_value_array):
15127 * libs/gst/controller/gst-interpolation.c:
15128 (gst_controlled_property_find_timed_value_node),
15129 (interpolate_none_get), (interpolate_trigger_get),
15130 (interpolate_trigger_get_value_array):
15131 * libs/gst/controller/lib.c: (gst_controller_init):
15132 * pkgconfig/Makefile.am:
15133 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15134 * pkgconfig/gstreamer-control.pc.in:
15135 * testsuite/Makefile.am:
15136 * testsuite/controller/.cvsignore:
15137 * testsuite/controller/Makefile.am:
15138 * testsuite/controller/interpolator.c: (main):
15139 added controller code
15140 removed dparam pc files
15142 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15143 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15144 (gst_collectpads_stop):
15145 Broadcast the condition when shutting down, to make sure we wake all
15146 threads up. Shut down pads on finalize, for safety.
15148 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15149 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15150 (gst_base_transform_handle_buffer),
15151 (gst_base_transform_change_state):
15152 Handle PAUSED->READY->PAUSED transition after negotiation
15154 * gst/gstmessage.c: (gst_message_init):
15155 Extra piece of debug for new messages.
15157 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15160 * docs/gst/tmpl/gstbasesrc.sgml:
15161 * docs/gst/tmpl/gstelement.sgml:
15162 * docs/gst/tmpl/gstevent.sgml:
15163 * docs/gst/tmpl/gstfakesrc.sgml:
15164 * docs/gst/tmpl/gstformat.sgml:
15165 * docs/gst/tmpl/gstghostpad.sgml:
15166 * docs/gst/tmpl/gstpad.sgml:
15167 * docs/gst/tmpl/gstquery.sgml:
15168 * docs/gst/tmpl/gststructure.sgml:
15169 * docs/gst/tmpl/gsttaglist.sgml:
15170 * docs/gst/tmpl/gstvalue.sgml:
15171 * docs/libs/gstreamer-libs-docs.sgml:
15172 * docs/libs/gstreamer-libs-sections.txt:
15173 * docs/libs/gstreamer-libs.types:
15174 * libs/gst/Makefile.am:
15175 * libs/gst/control/.cvsignore:
15176 * libs/gst/control/Makefile.am:
15177 * libs/gst/control/control.c:
15178 * libs/gst/control/control.h:
15179 * libs/gst/control/dparam.c:
15180 * libs/gst/control/dparam.h:
15181 * libs/gst/control/dparam_smooth.c:
15182 * libs/gst/control/dparam_smooth.h:
15183 * libs/gst/control/dparamcommon.h:
15184 * libs/gst/control/dparammanager.c:
15185 * libs/gst/control/dparammanager.h:
15186 * libs/gst/control/dplinearinterp.c:
15187 * libs/gst/control/dplinearinterp.h:
15188 * libs/gst/control/unitconvert.c:
15189 * libs/gst/control/unitconvert.h:
15190 * testsuite/Makefile.am:
15191 * testsuite/dynparams/.cvsignore:
15192 * testsuite/dynparams/Makefile.am:
15193 * testsuite/dynparams/dparamstest.c:
15194 * tools/Makefile.am:
15195 * tools/gst-inspect.c: (print_element_info), (main):
15196 * tools/gst-xmlinspect.c: (print_element_info), (main):
15197 deactivate and remove dparams (libgstcontrol)
15199 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15201 * gst/elements/gsttypefindelement.c:
15202 (gst_type_find_element_have_type), (gst_type_find_element_init),
15203 (stop_typefinding), (gst_type_find_element_handle_event),
15204 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15205 * gst/elements/gsttypefindelement.h:
15206 Set caps on all outgoing buffers, not just the first one.
15208 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15210 * gst/elements/gsttypefindelement.c:
15211 (gst_type_find_element_have_type),
15212 (gst_type_find_element_check_set_buffer_caps),
15213 (gst_type_find_element_init), (stop_typefinding),
15214 (gst_type_find_element_handle_event),
15215 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15216 * gst/elements/gsttypefindelement.h:
15217 Set caps on first outgoing buffer when we've found the type.
15219 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15221 * docs/gst/gstreamer-docs.sgml:
15222 * docs/gst/gstreamer-sections.txt:
15223 * docs/gst/tmpl/gstscheduler.sgml:
15224 * docs/gst/tmpl/gstschedulerfactory.sgml:
15225 Remove some old cruft from docs.
15227 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15230 Fix inline docs for GstPadLinkReturn.
15232 * gst/gststructure.c: (gst_structure_has_name):
15233 * gst/gststructure.h:
15234 * docs/gst/gstreamer-sections.txt:
15235 New API: gst_structure_has_name().
15237 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15240 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15241 and _LARGEFILE_SOURCE in config.h as required. Do not
15242 export those flags in our .pc files any longer (#142209).
15244 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15246 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15247 (gst_file_sink_do_seek), (gst_file_sink_event),
15248 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15249 Redo seek/tell calls with large file support in mind; add some
15250 debugging messages; add log message that tells us when large
15251 file support is unavailable or not enabled for some reason.
15253 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15254 Add log message that tells us when large file support
15255 is unavailable or not enabled for some reason.
15257 2005-07-29 Wim Taymans <wim@fluendo.com>
15259 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15260 Added test for removing an element with ghostpad from a bin.
15261 Fixed test as current implementation does the right thing.
15263 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15264 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15265 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15266 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15267 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15268 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15269 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15270 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15271 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15272 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15273 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15274 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15275 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15276 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15277 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15278 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15279 * gst/gstghostpad.h:
15280 Clean up ghostpads, remove properties for internal stuff.
15283 Prepare for switching targets, not all use cases work yet.
15285 2005-07-29 Wim Taymans <wim@fluendo.com>
15287 * docs/design/part-gstghostpad.txt:
15290 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15291 (gst_bin_remove_func):
15292 Unlinking pads while holding the bin LOCK is not a good
15295 * gst/gstpad.c: (gst_pad_class_init),
15296 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15297 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15298 No prob setting template after creating the pad.
15300 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15302 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15303 (gst_bus_peek), (gst_bus_source_dispatch),
15304 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15305 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15306 gst_bus_poll may be called from other threads. Handle
15307 this nicely by not making poll_data disappear off the
15308 stack once gst_bus_poll returns.
15309 gst_bus_peek now increments the refcount on the returned
15312 2005-07-29 Wim Taymans <wim@fluendo.com>
15314 * docs/design/part-gstghostpad.txt:
15315 Overview of current GhostPad datastructures and use
15316 cases for changing the target.
15318 2005-07-28 Wim Taymans <wim@fluendo.com>
15320 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15321 Added checks for hierarchy consistency whan adding linked
15324 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15325 Added check to test element scheduling without bin/pipeline.
15327 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15328 First add elements to bin, then link.
15330 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15331 (gst_bin_remove_func):
15332 Unlink pads from elements added/removed from bin to maintain
15333 hierarchy consistency.
15335 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15337 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15338 (gst_base_transform_handle_buffer):
15339 * gst/base/gstbasetransform.h:
15340 Remove broken delay_configure (fixes renegotiation of software
15341 scaling pipelines); remove some leftover printf()s.
15343 2005-07-28 Wim Taymans <wim@fluendo.com>
15345 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15346 Added some more tests for wrong hierarchy
15348 * docs/design/part-overview.txt:
15351 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15354 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15355 (gst_element_dispose):
15356 Some more cleanups.
15358 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15359 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15360 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15361 (gst_pad_set_caps), (gst_pad_send_event):
15362 Check for correct hierarchy when linking pads. Moving to
15363 strict requirement for ghostpads when linking elements in
15367 Clean ups. Added WRONG_HIERARCHY return value.
15369 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15371 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15372 Better debug if no transform is possible.
15374 2005-07-27 Wim Taymans <wim@fluendo.com>
15376 * docs/random/wtay/network-transp:
15377 Some old doc I had.
15379 2005-07-27 Wim Taymans <wim@fluendo.com>
15381 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15382 (gst_dp_event_from_packet):
15383 Fix serialization of seek events.
15385 2005-07-27 Wim Taymans <wim@fluendo.com>
15387 * check/gst-libs/gdp.c: (GST_START_TEST):
15388 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15389 Fix compilation and fix event serialization.
15391 2005-07-27 Wim Taymans <wim@fluendo.com>
15394 * docs/design/part-TODO.txt:
15395 * docs/design/part-events.txt:
15398 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15399 (gst_base_sink_event), (gst_base_sink_do_sync),
15400 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15401 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15402 (gst_base_src_do_seek), (gst_base_src_event_handler),
15403 (gst_base_src_loop):
15404 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15405 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15406 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15407 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15408 (gst_base_transform_set_passthrough),
15409 (gst_base_transform_is_passthrough):
15410 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15411 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15417 * gst/gstelement.c: (gst_element_seek):
15418 * gst/gstelement.h:
15419 Update gst_element_seek.
15421 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15422 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15423 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15424 (gst_event_new_eos), (gst_event_new_newsegment),
15425 (gst_event_parse_newsegment), (gst_event_new_tag),
15426 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15427 (gst_event_parse_qos), (gst_event_new_seek),
15428 (gst_event_parse_seek), (gst_event_new_navigation):
15430 Make GstEvent use GstStructure. Add parsing code, make sure the
15431 API is sufficiently generic.
15432 Mark possible directions of events and serialization.
15434 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15435 (_gst_message_copy), (gst_message_new_segment_start),
15436 (gst_message_new_segment_done), (gst_message_new_custom),
15437 (gst_message_parse_segment_start),
15438 (gst_message_parse_segment_done):
15441 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15442 (gst_pad_set_caps), (gst_pad_send_event):
15443 Update for new events.
15444 Catch events sent in wrong directions.
15446 * gst/gstqueue.c: (gst_queue_link_src),
15447 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15448 (gst_queue_handle_src_query):
15453 Remove event code from this file.
15455 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15456 (gst_dp_event_from_packet):
15459 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15461 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15462 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15463 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15464 Make debugging actually useful.
15466 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15468 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15469 (gst_pad_fixate_caps):
15470 Implement default fixation once again, so that gst_pad_fixate()
15471 actually does anything at all. This probably needs to be some
15472 sort of a last resort, and use profile-based fixation first, but
15473 since that doesn't exist yet, this is the best we have. Fixes
15474 visualization in Totem.
15476 2005-07-22 Wim Taymans <wim@fluendo.com>
15478 * docs/design/part-events.txt:
15481 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15482 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15483 (gst_base_sink_activate_pull):
15484 Some more comments.
15486 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15487 (gst_fake_src_create):
15488 Fix handoff marshall.
15490 * gst/elements/gstidentity.c: (gst_identity_class_init),
15491 (gst_identity_transform_ip):
15492 We're a real inplace element.
15494 * gst/gstbus.c: (gst_bus_post):
15495 Added some comments.
15497 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15498 * tests/muxing/case1.c: (main):
15499 * tests/sched/dynamic-pipeline.c: (main):
15500 * tests/sched/interrupt1.c: (main):
15501 * tests/sched/interrupt2.c: (main):
15502 * tests/sched/interrupt3.c: (main):
15503 * tests/sched/runxml.c: (main):
15504 * tests/sched/sched-stress.c: (main):
15505 * tests/seeking/seeking1.c: (event_received), (main):
15506 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15508 * tests/threadstate/threadstate3.c: (main):
15509 * tests/threadstate/threadstate4.c: (main):
15510 * tests/threadstate/threadstate5.c: (main):
15513 2005-07-21 Wim Taymans <wim@fluendo.com>
15515 * docs/design/part-seeking.txt:
15516 Some small additions.
15518 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15519 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15520 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15521 * gst/base/gstbasesink.h:
15522 discont values are gint64, handle the math correctly.
15524 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15525 Make the basesrc report error if the source pad is not linked.
15527 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15528 (gst_queue_loop), (gst_queue_handle_src_query),
15529 (gst_queue_src_activate_push):
15530 Make queue collect data even if the srcpad is not linked.
15531 Start pushing out data as soon as it is linked.
15533 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15535 Added gst_flow_get_name() to ease error reporting.
15537 2005-07-20 Wim Taymans <wim@fluendo.com>
15539 * gst/gstmessage.c: (gst_message_new_segment_start),
15540 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15541 (gst_message_parse_segment_done):
15542 * gst/gstmessage.h:
15543 Added a bunch of messages for advanced seeking.
15545 * gst/parse/grammar.y:
15546 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15547 (gst_dpman_state_changed):
15548 Fix some new-pad -> pad-added signals
15550 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15552 * docs/manual/appendix-porting.xml:
15553 * docs/pwg/appendix-porting.xml:
15554 Document new-pad/state-change signal renames and the FixedList
15557 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15559 * docs/manual/advanced-autoplugging.xml:
15560 * docs/manual/basics-helloworld.xml:
15561 * docs/manual/basics-pads.xml:
15562 * docs/random/ds/0.9-suggested-changes:
15563 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15564 * gst/gstelement.h:
15568 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15569 (gst_structure_parse_array), (gst_structure_parse_value):
15570 * gst/gstvalue.c: (gst_type_is_fixed),
15571 (gst_value_list_prepend_value), (gst_value_list_append_value),
15572 (gst_value_list_get_size), (gst_value_list_get_value),
15573 (gst_value_transform_array_string), (gst_value_serialize_array),
15574 (gst_value_deserialize_array), (gst_value_intersect_array),
15575 (gst_value_is_fixed), (_gst_value_initialize):
15577 GstElement::new-pad -> pad-added, GstElement::state-change ->
15578 state-changed, GstValueFixedList -> GstValueArray, add format and
15579 flags as their own arguments in gst_element_seek() (should improve
15580 "bindeability"), remove function generators since they don't work
15581 under a whole bunch of compilers (they were deprecated already
15584 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15586 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15587 (_gst_debug_register_funcptr):
15589 Fix illegal cast on some platforms (#309253).
15591 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15593 * gst/gstmessage.c: (gst_message_new_custom):
15594 * gst/gstmessage.h:
15595 Add _new_custom, make _new_application a macro to _new_custom.
15597 2005-07-20 Wim Taymans <wim@fluendo.com>
15599 * gst/base/gstbasesrc.c: (gst_base_src_init),
15600 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15601 * gst/base/gstbasesrc.h:
15602 Add a gboolean to decide when to push out a discont.
15604 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15605 (gst_queue_loop), (gst_queue_handle_src_query),
15606 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15607 (gst_queue_set_property), (gst_queue_get_property):
15610 * tests/threadstate/threadstate1.c: (main):
15611 Make a thread test compile and run... very silly..
15614 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15616 * docs/manual/appendix-porting.xml:
15617 Mention removal of libgstgconf-0.9.la and existence of gconf
15620 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15622 * docs/pwg/advanced-clock.xml:
15623 * docs/pwg/appendix-porting.xml:
15624 * docs/pwg/intro-preface.xml:
15625 * docs/pwg/other-base.xml:
15626 * docs/pwg/other-manager.xml:
15627 * docs/pwg/other-nton.xml:
15628 * docs/pwg/other-ntoone.xml:
15629 * docs/pwg/other-oneton.xml:
15630 * docs/pwg/pwg.xml:
15631 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15632 demuxer), remove n-to-n (was never written), fix some code examples
15633 and links and update the porting section to include all this.
15635 2005-07-19 Wim Taymans <wim@fluendo.com>
15637 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15638 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15639 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15640 (gst_queue_src_activate_push), (gst_queue_change_state),
15641 (gst_queue_get_property):
15643 Propagate GstFlowReturn more intelligently upstream and output
15644 an ERROR/EOS when streaming stopped due to fatal error.
15646 2005-07-19 Wim Taymans <wim@fluendo.com>
15648 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15649 Don't block forever for the state change to complete, the
15650 pipeline already did with a sensible timeout.
15652 2005-07-19 Wim Taymans <wim@fluendo.com>
15654 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15655 Make sure we never call the create function is we
15658 2005-07-19 Andy Wingo <wingo@pobox.com>
15660 * gst/parse/parse.l: Attempt to solve bug #172815.
15662 2005-07-19 Wim Taymans <wim@fluendo.com>
15664 * docs/design/part-clocks.txt:
15665 * docs/design/part-events.txt:
15666 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15667 Small docs updates.
15668 Only update the seeking values when we are not
15671 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15673 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15674 Oops, ignore the result of gst_pad_push_event here.
15676 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15678 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15679 (gst_base_src_activate_push):
15680 Send discont event from the loop function, as pads
15681 aren't activated yet in the activate_push handler.
15683 * gst/gstbin.c: (bin_bus_handler):
15684 Don't leak element name.
15686 2005-07-18 Andy Wingo <wingo@pobox.com>
15688 * configure.ac: Use AS_LIBTOOL_TAGS.
15690 2005-07-18 Wim Taymans <wim@fluendo.com>
15692 * docs/gst/gstreamer.types:
15693 Remove deleted types.
15695 2005-07-18 Wim Taymans <wim@fluendo.com>
15697 * check/elements/gstfakesrc.c: (GST_START_TEST):
15700 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15701 (init_popt_callback):
15703 * gst/gst_private.h:
15704 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15705 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15708 * gst/gstconfig.h.in:
15709 * gst/gstelement.c: (gst_element_class_init),
15710 (gst_element_set_base_time), (gst_element_get_base_time),
15711 (iterator_fold_with_resync), (gst_element_change_state),
15712 (gst_element_dispose), (gst_element_get_bus):
15713 * gst/gstelement.h:
15714 * gst/gstelementfactory.h:
15715 * gst/gsterror.c: (_gst_core_errors_init):
15718 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15720 * gst/gstinfo.c: (_gst_debug_init):
15721 * gst/gstmessage.c: (_gst_message_copy):
15722 * gst/gstmessage.h:
15723 * gst/gstminiobject.h:
15726 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15727 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
15730 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
15731 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15732 (gst_pipeline_get_last_stream_time):
15733 * gst/gstpipeline.h:
15734 * gst/gstpluginfeature.h:
15736 * gst/gstscheduler.c:
15737 * gst/gstscheduler.h:
15738 * gst/gststructure.h:
15739 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
15740 (gst_task_finalize), (gst_task_func), (gst_task_create),
15741 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
15742 (gst_task_stop), (gst_task_pause):
15744 * gst/gsttypefind.h:
15746 * gst/registries/gstlibxmlregistry.c: (load_feature),
15747 (gst_xml_registry_load), (gst_xml_registry_save_feature):
15748 * gst/registries/gstxmlregistry.c:
15749 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
15750 * gst/schedulers/threadscheduler.c:
15751 * libs/gst/control/dparammanager.h:
15752 * tools/gst-inspect.c: (print_element_list),
15753 (print_plugin_features), (print_element_features):
15754 * tools/gst-xmlinspect.c: (print_element_list),
15755 (print_plugin_info), (main):
15756 Removed plugable schedulers.
15757 Removed Scheduler/Manager from elements.
15758 Removed gsttypes.h, rearranged includes.
15759 Removed dependency pad<->element, element<>pipeline, and
15760 various others, fix includes.
15761 implement gst_pad_get_parent() with gst_object_get_parent()
15762 Make GstTask sefcontained.
15763 Fix _get_state() on GstBin, it did not return ASYNC with a 0
15765 Fix endless loop in iterator_fold_with_resync.
15768 2005-07-18 Wim Taymans <wim@fluendo.com>
15774 2005-07-18 Wim Taymans <wim@fluendo.com>
15777 No more cothreads.h
15779 2005-07-18 Wim Taymans <wim@fluendo.com>
15783 Let's remove these.
15785 2005-07-18 Wim Taymans <wim@fluendo.com>
15787 * docs/design/part-dynamic.txt:
15788 * docs/design/part-events.txt:
15789 * docs/design/part-seeking.txt:
15790 Some more docs in the works.
15792 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15793 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
15794 (gst_base_transform_setcaps), (gst_base_transform_get_size),
15795 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
15796 (gst_base_transform_handle_buffer),
15797 (gst_base_transform_sink_activate_push),
15798 (gst_base_transform_src_activate_pull),
15799 (gst_base_transform_set_passthrough),
15800 (gst_base_transform_is_passthrough):
15803 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
15806 * gst/gstevent.c: (gst_event_finalize):
15809 * gst/gstutils.c: (gst_element_unlink),
15810 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
15811 (gst_pad_proxy_setcaps):
15813 Add _get_parent_element() to get a pads parent as an element.
15815 2005-07-18 Wim Taymans <wim@fluendo.com>
15817 * check/gst/gstbin.c: (GST_START_TEST):
15820 2005-07-18 Wim Taymans <wim@fluendo.com>
15822 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
15823 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
15824 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
15825 (gst_base_sink_event), (gst_base_sink_do_sync),
15826 (gst_base_sink_chain), (gst_base_sink_loop),
15827 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
15828 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
15830 Fix logic for returning ASYNC when not prerolled.
15832 2005-07-18 Wim Taymans <wim@fluendo.com>
15834 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15835 Fix nasty refcount bug.
15837 2005-07-16 Philippe Khalaf <burger@speedy.org>
15839 * gst/elements/gstfdsrc.c:
15840 * gst/elements/gstfdsrc.h:
15841 * gst/elements/gstelements.c:
15842 * gst/elements/Makefile.am:
15843 Ported fdsrc to 0.9.
15845 2005-07-16 Wim Taymans <wim@fluendo.com>
15847 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15848 (gst_base_sink_do_sync):
15851 2005-07-16 Wim Taymans <wim@fluendo.com>
15853 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15854 (gst_base_sink_event), (gst_base_sink_get_times),
15855 (gst_base_sink_do_sync), (gst_base_sink_change_state):
15856 * gst/base/gstbasesink.h:
15857 Store and use discont values when syncing buffers as described
15860 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15861 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
15862 (gst_base_src_activate_push):
15863 Push discont event when starting.
15865 * gst/elements/gstidentity.c: (gst_identity_transform):
15868 * gst/gstbin.c: (gst_bin_change_state):
15869 Small cleanups in base_time distribution.
15871 * gst/gstelement.c: (gst_element_set_base_time),
15872 (gst_element_get_base_time), (gst_element_change_state):
15873 * gst/gstelement.h:
15874 Added methods for the base_time of the element.
15877 * gst/gstpipeline.c: (gst_pipeline_send_event),
15878 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
15879 (gst_pipeline_get_last_stream_time):
15880 * gst/gstpipeline.h:
15882 Handle seeking as described in design doc, remove stream_time
15884 Cleanups clock and stream_time selection code. Added accessors
15885 for the stream_time.
15888 2005-07-16 Andy Wingo <wingo@pobox.com>
15890 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
15893 2005-07-16 Wim Taymans <wim@fluendo.com>
15895 * check/gst/gstbin.c: (GST_START_TEST):
15896 Make elements silent as the deep_notify refs the
15897 parent, which might make the test fail.
15899 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15900 Don't hold the lock for too long.
15902 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
15904 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15905 Don't unref the caps we passed to gst_caps_make_writable() after
15906 passing them. gst_caps_make_writable() will do that for us.
15908 2005-07-15 Andy Wingo <wingo@pobox.com>
15910 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
15913 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
15914 own marshalling function for the handoff signal. Properly type the
15915 buffer as a buffer. Fixes some warnings. Should do a more general
15917 (gst_identity_class_init): Plug into the right marshaller.
15919 2005-07-15 Wim Taymans <wim@fluendo.com>
15921 * docs/design/part-TODO.txt:
15922 * docs/design/part-clocks.txt:
15923 * docs/design/part-element-sink.txt:
15924 * docs/design/part-events.txt:
15925 * docs/design/part-gstpipeline.txt:
15926 Updated docs, mostly DISCONT related.
15928 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
15930 * docs/pwg/building-pads.xml:
15931 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
15933 2005-07-15 Andy Wingo <wingo@pobox.com>
15935 * tools/gst-typefind.c: Update, add copyright block.
15937 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
15938 Normalize and truncate caps before fixation.
15941 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
15942 discards all but the first structure from its argument.
15944 2005-07-15 Wim Taymans <wim@fluendo.com>
15946 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15947 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
15948 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15949 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15950 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
15951 (gst_base_transform_chain), (gst_base_transform_change_state),
15952 (gst_base_transform_set_passthrough),
15953 (gst_base_transform_is_passthrough):
15954 * gst/base/gstbasetransform.h:
15955 Make passthrough work using the bufferpools.
15956 Changed API a bit, subclasses have to write into a buffer
15957 provided by the base class.
15958 More debug info in nego functions.
15960 * gst/elements/gstidentity.c: (gst_identity_init),
15961 (gst_identity_transform):
15962 Port to new base class.
15964 2005-07-15 Wim Taymans <wim@fluendo.com>
15966 * gst/gstmessage.c: (gst_message_new_state_changed):
15967 * tools/gst-launch.c: (event_loop), (main):
15968 Totally dump messages in -launch with the -m option.
15969 Fix message name for State messages,
15971 2005-07-14 Wim Taymans <wim@fluendo.com>
15973 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15974 Post error messages on errors.
15976 2005-07-14 Wim Taymans <wim@fluendo.com>
15978 * gst/gstcaps.c: (gst_caps_do_simplify):
15982 Define error for stream stopped.
15984 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
15985 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
15986 Do proper return values.
15988 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15989 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
15990 (gst_pad_get_range):
15991 Better return values.
15994 Reorganise return values, add macro to check for fatal errors.
15996 * gst/gstqueue.c: (gst_queue_chain):
15997 Return proper GstFlowReturn values,
15999 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16001 * docs/gst/gstreamer-sections.txt:
16002 * docs/gst/gstreamer.types:
16003 * docs/gst/tmpl/gst.sgml:
16004 * docs/gst/tmpl/gstbasesink.sgml:
16005 * docs/gst/tmpl/gstbasesrc.sgml:
16006 * docs/gst/tmpl/gstbasetransform.sgml:
16007 * docs/gst/tmpl/gstbin.sgml:
16008 * docs/gst/tmpl/gstbuffer.sgml:
16009 * docs/gst/tmpl/gstcaps.sgml:
16010 * docs/gst/tmpl/gstclock.sgml:
16011 * docs/gst/tmpl/gstcompat.sgml:
16012 * docs/gst/tmpl/gstconfig.sgml:
16013 * docs/gst/tmpl/gstelement.sgml:
16014 * docs/gst/tmpl/gstelementdetails.sgml:
16015 * docs/gst/tmpl/gstelementfactory.sgml:
16016 * docs/gst/tmpl/gstenumtypes.sgml:
16017 * docs/gst/tmpl/gsterror.sgml:
16018 * docs/gst/tmpl/gstevent.sgml:
16019 * docs/gst/tmpl/gstfakesink.sgml:
16020 * docs/gst/tmpl/gstfakesrc.sgml:
16021 * docs/gst/tmpl/gstfilesink.sgml:
16022 * docs/gst/tmpl/gstfilesrc.sgml:
16023 * docs/gst/tmpl/gstfilter.sgml:
16024 * docs/gst/tmpl/gstformat.sgml:
16025 * docs/gst/tmpl/gstghostpad.sgml:
16026 * docs/gst/tmpl/gstimplementsinterface.sgml:
16027 * docs/gst/tmpl/gstindex.sgml:
16028 * docs/gst/tmpl/gstindexfactory.sgml:
16029 * docs/gst/tmpl/gstinfo.sgml:
16030 * docs/gst/tmpl/gstiterator.sgml:
16031 * docs/gst/tmpl/gstmacros.sgml:
16032 * docs/gst/tmpl/gstmemchunk.sgml:
16033 * docs/gst/tmpl/gstminiobject.sgml:
16034 * docs/gst/tmpl/gstobject.sgml:
16035 * docs/gst/tmpl/gstpad.sgml:
16036 * docs/gst/tmpl/gstpadtemplate.sgml:
16037 * docs/gst/tmpl/gstparse.sgml:
16038 * docs/gst/tmpl/gstpipeline.sgml:
16039 * docs/gst/tmpl/gstplugin.sgml:
16040 * docs/gst/tmpl/gstpluginfeature.sgml:
16041 * docs/gst/tmpl/gstquery.sgml:
16042 * docs/gst/tmpl/gstqueue.sgml:
16043 * docs/gst/tmpl/gstregistry.sgml:
16044 * docs/gst/tmpl/gstregistrypool.sgml:
16045 * docs/gst/tmpl/gstscheduler.sgml:
16046 * docs/gst/tmpl/gstschedulerfactory.sgml:
16047 * docs/gst/tmpl/gststructure.sgml:
16048 * docs/gst/tmpl/gstsystemclock.sgml:
16049 * docs/gst/tmpl/gsttaglist.sgml:
16050 * docs/gst/tmpl/gsttagsetter.sgml:
16051 * docs/gst/tmpl/gsttrace.sgml:
16052 * docs/gst/tmpl/gsttrashstack.sgml:
16053 * docs/gst/tmpl/gsttypefind.sgml:
16054 * docs/gst/tmpl/gsttypefindfactory.sgml:
16055 * docs/gst/tmpl/gsttypes.sgml:
16056 * docs/gst/tmpl/gsturihandler.sgml:
16057 * docs/gst/tmpl/gsturitype.sgml:
16058 * docs/gst/tmpl/gstutils.sgml:
16059 * docs/gst/tmpl/gstvalue.sgml:
16060 * docs/gst/tmpl/gstversion.sgml:
16061 * docs/gst/tmpl/gstxml.sgml:
16062 * docs/libs/tmpl/gstcontrol.sgml:
16063 * docs/libs/tmpl/gstdataprotocol.sgml:
16064 * docs/libs/tmpl/gstdparam.sgml:
16065 * docs/libs/tmpl/gstdplinint.sgml:
16066 * docs/libs/tmpl/gstdpman.sgml:
16067 * docs/libs/tmpl/gstdpsmooth.sgml:
16068 * docs/libs/tmpl/gstgetbits.sgml:
16069 * docs/libs/tmpl/gstunitconvert.sgml:
16070 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16071 (gst_push_src_base_init), (gst_push_src_class_init),
16072 (gst_push_src_init), (gst_push_src_create):
16073 * gst/base/gstpushsrc.h:
16074 * gst/elements/gstelements.c:
16075 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16076 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16077 (gst_fake_sink_init), (gst_fake_sink_set_property),
16078 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16079 (gst_fake_sink_event), (gst_fake_sink_preroll),
16080 (gst_fake_sink_render), (gst_fake_sink_change_state):
16081 * gst/elements/gstfakesink.h:
16082 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16083 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16084 (gst_fake_src_base_init), (gst_fake_src_class_init),
16085 (gst_fake_src_init), (gst_fake_src_event_handler),
16086 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16087 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16088 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16089 (gst_fake_src_create_buffer), (gst_fake_src_create),
16090 (gst_fake_src_start), (gst_fake_src_stop):
16091 * gst/elements/gstfakesrc.h:
16092 * gst/elements/gstfilesink.c: (_do_init),
16093 (gst_file_sink_base_init), (gst_file_sink_class_init),
16094 (gst_file_sink_init), (gst_file_sink_dispose),
16095 (gst_file_sink_set_location), (gst_file_sink_set_property),
16096 (gst_file_sink_get_property), (gst_file_sink_open_file),
16097 (gst_file_sink_close_file), (gst_file_sink_query),
16098 (gst_file_sink_event), (gst_file_sink_render),
16099 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16100 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16101 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16102 * gst/elements/gstfilesink.h:
16103 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16104 (gst_file_src_class_init), (gst_file_src_init),
16105 (gst_file_src_finalize), (gst_file_src_set_location),
16106 (gst_file_src_set_property), (gst_file_src_get_property),
16107 (gst_file_src_map_region), (gst_file_src_map_small_region),
16108 (gst_file_src_create_mmap), (gst_file_src_create_read),
16109 (gst_file_src_create), (gst_file_src_is_seekable),
16110 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16111 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16112 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16113 (gst_file_src_uri_handler_init):
16114 * gst/elements/gstfilesrc.h:
16115 more autistic cleanliness in functions/names/defines
16117 2005-07-13 Andy Wingo <wingo@pobox.com>
16119 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16120 source couldn't negotiate.
16122 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16126 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16127 function. I am channeling Hades. Put your boots on suckers!!!
16129 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16131 * testsuite/caps/Makefile.am:
16132 * testsuite/caps/value_compare.c:
16133 * testsuite/caps/value_intersect.c:
16134 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16135 move two testsuite apps over to the check dir
16137 2005-07-12 Wim Taymans <wim@fluendo.com>
16139 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16140 Added more debug info in the negotiate process.
16142 * gst/gstmessage.h:
16143 Prepare for segment playback.
16145 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16151 * tools/gst-launch.c: (main):
16152 NULL pipeline on errors.
16154 2005-07-12 Andy Wingo <wingo@pobox.com>
16156 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16157 not it comes from a malloc region. Make sure our copy gets freed.
16159 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16161 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16162 * check/gst/gstmessage.c: (GST_START_TEST):
16163 * check/gst/gststructure.c: (GST_START_TEST),
16164 (gst_structure_suite), (main):
16166 * gst/gstelement.c: (gst_element_message_full):
16167 clean up GError and debug string now that they get copied
16168 * gst/gstmessage.c: (gst_message_new_error),
16169 (gst_message_new_warning), (gst_message_parse_error),
16170 (gst_message_parse_warning):
16171 use GST_TYPE_G_ERROR for structure_new, and take copies of
16172 arguments, so that we don't mess up refcounting
16174 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16176 * check/Makefile.am:
16177 add per-test valgrind targets
16178 * check/gst-libs/gdp.c: (GST_START_TEST),
16179 (gst_data_protocol_suite), (main):
16182 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16184 * check/Makefile.am:
16185 instate more valgrindable tests
16186 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16187 (GST_START_TEST), (fakesrc_suite):
16188 * check/gst/gstpad.c: (GST_START_TEST):
16189 * check/gst/gststructure.c: (GST_START_TEST):
16191 * docs/gst/tmpl/gstminiobject.sgml:
16192 * gst/gstpad.c: (gst_pad_finalize):
16193 fix the static mutex leak
16195 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16197 * check/Makefile.am:
16198 add two more tests for valgrinding
16199 * check/gst/gstvalue.c: (GST_START_TEST):
16200 test refcount of deserialized buffer, found a leak
16201 * docs/gst/gstreamer-docs.sgml:
16202 * docs/gst/gstreamer-sections.txt:
16203 * docs/gst/gstreamer.types:
16204 * docs/gst/tmpl/gstminiobject.sgml:
16205 add miniobject to docs
16206 * gst/gstminiobject.c:
16208 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16209 (gst_string_unwrap):
16210 fix a hard-to-find invalid write for one of the tests
16211 fix a leak for deserialized buffers
16213 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16215 * docs/pwg/advanced-events.xml:
16216 * docs/pwg/advanced-request.xml:
16217 * docs/pwg/advanced-scheduling.xml:
16218 * docs/pwg/appendix-porting.xml:
16219 * docs/pwg/building-boiler.xml:
16220 * docs/pwg/intro-preface.xml:
16221 * docs/pwg/other-ntoone.xml:
16222 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16223 of example code and explanation for pad activation, loop() and
16224 getrange() functions and a bit more. Remove old comments pointing
16226 * examples/pwg/Makefile.am:
16227 Add loop/getrange examples.
16229 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16232 check for valgrind binary + some fixes
16234 valgrind suppressions for the tests
16235 * check/Makefile.am:
16236 add a valgrind: target that valgrinds the unit tests
16237 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16238 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16239 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16240 * check/gst/gstghostpad.c:
16242 * check/gst/gstdata.c:
16244 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16245 (thread_unref), (gst_mini_object_suite), (main):
16247 * gst/gst.c: (gst_deinit):
16249 add a method to clean up.
16250 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16251 (gst_system_clock_obtain):
16252 allow for disposing the system clock.
16253 * tools/gst-launch.c: (main):
16256 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16258 * docs/gst/tmpl/gstbasesrc.sgml:
16259 * docs/gst/tmpl/gstfakesrc.sgml:
16260 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16261 (gst_base_src_init), (gst_base_src_set_property),
16262 (gst_base_src_get_property), (gst_base_src_get_range),
16263 (gst_base_src_start):
16264 * gst/base/gstbasesrc.h:
16265 add num-buffers property
16266 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16267 (gst_fakesrc_init), (gst_fakesrc_set_property),
16268 (gst_fakesrc_get_property), (gst_fakesrc_create),
16269 (gst_fakesrc_start):
16270 remove num-buffers property
16272 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16274 * docs/gst/gstreamer-sections.txt:
16275 * docs/gst/tmpl/gstbasesink.sgml:
16276 * docs/gst/tmpl/gstbasesrc.sgml:
16277 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16278 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16279 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16280 (gst_base_sink_set_property), (gst_base_sink_get_property),
16281 (gst_base_sink_handle_object), (gst_base_sink_event),
16282 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16283 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16284 (gst_base_sink_loop), (gst_base_sink_deactivate),
16285 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16286 (gst_base_sink_change_state):
16287 * gst/base/gstbasesink.h:
16288 * gst/base/gstbasesrc.h:
16289 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16290 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16291 (gst_filesink_init):
16292 more macro splitting
16294 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16296 * gst/gstelement.c: (gst_element_get_bus):
16298 * tools/gst-launch.c: (check_intr), (event_loop):
16301 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16303 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16306 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16308 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16309 (gst_base_src_finalize):
16310 add finalize method and clean up properly
16311 * gst/gstpipeline.c: (gst_pipeline_dispose):
16314 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16316 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16318 add more things to check
16319 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16320 * gst/gstelement.c:
16323 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16325 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16326 (GST_START_TEST), (fakesrc_suite):
16327 * check/gst-libs/gdp.c: (GST_START_TEST):
16328 * check/gst/gst.c: (GST_START_TEST):
16329 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16330 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16331 * check/gst/gstbus.c: (GST_START_TEST):
16332 * check/gst/gstcaps.c: (GST_START_TEST):
16333 * check/gst/gstdata.c: (GST_START_TEST):
16334 * check/gst/gstelement.c: (GST_START_TEST):
16335 * check/gst/gstghostpad.c: (GST_START_TEST):
16336 * check/gst/gstiterator.c: (GST_START_TEST):
16337 * check/gst/gstmessage.c: (GST_START_TEST):
16338 * check/gst/gstobject.c: (GST_START_TEST):
16339 * check/gst/gstpad.c: (GST_START_TEST):
16340 * check/gst/gststructure.c: (GST_START_TEST):
16341 * check/gst/gstsystemclock.c: (GST_START_TEST),
16342 (gst_systemclock_suite):
16343 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16344 * check/gst/gstvalue.c: (GST_START_TEST):
16345 * check/pipelines/cleanup.c: (GST_START_TEST):
16346 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16347 * check/states/sinks.c: (GST_START_TEST):
16348 * check/gstcheck.c: (gst_check_init):
16349 * check/gstcheck.h:
16350 add debugging category
16351 use GST_START_TEST now, so we add a debug line
16353 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16355 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16356 add test for state change message on a bin
16357 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16359 * gst/gstbin.c: (gst_bin_init):
16360 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16361 * gst/gstelement.c: (gst_element_post_message),
16362 (gst_element_set_state):
16363 * gst/gstelementfactory.c: (gst_element_factory_create):
16364 * gst/gstmessage.c: (gst_message_new):
16365 * gst/gstscheduler.c:
16366 various debugging additions and cleanups
16368 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16370 * check/Makefile.am:
16371 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16373 adding tests for elements
16374 * gst/gstelement.c: (gst_element_dispose):
16376 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16378 * gst/registries/gstlibxmlregistry.c: (load_feature):
16379 plug more leaks. A simple gst_init() now is leakfree, yay.
16381 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16383 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16384 (gst_xml_registry_load):
16385 plug another memleak
16387 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16390 use GST_SET_ERROR_CFLAGS
16391 * docs/faq/cvs.xml:
16392 change to ERROR_CFLAGS
16394 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16397 make GST_ERROR_CFLAGS overridable and re-enable Werror
16398 * docs/faq/cvs.xml:
16399 add a note about error CFLAGS
16400 * docs/gst/tmpl/gstfakesrc.sgml:
16401 * gst/elements/gstfakesrc.c:
16402 comment out some unused code
16403 * gst/gst.c: (split_and_iterate):
16404 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16408 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16410 * common/Makefile.am:
16411 * common/gtk-doc.mak:
16412 * docs/gst/Makefile.am:
16413 factor out gtk-doc.mak
16415 2005-07-07 Wim Taymans <wim@fluendo.com>
16417 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16418 (gst_thread_scheduler_dispose):
16419 Unlock the STREAM_LOCK completely.
16421 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16423 * check/Makefile.am:
16424 * check/elements/.cvsignore:
16425 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16426 (START_TEST), (fakesrc_suite), (main):
16427 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16428 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16429 (gst_fakesrc_create), (gst_fakesrc_start):
16430 * gst/elements/gstfakesrc.h:
16431 adding a first element test
16433 2005-07-07 Andy Wingo <wingo@pobox.com>
16435 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16438 2005-07-07 Wim Taymans <wim@fluendo.com>
16444 2005-07-07 Wim Taymans <wim@fluendo.com>
16446 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16447 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16448 Allow subclasses to implement their own negotiation.
16450 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16452 * docs/design/part-gstbin.txt:
16453 * docs/design/part-gstpipeline.txt:
16454 Update design notes to reflect the movement of
16455 responsibility for bus handling from GstPipeline to
16458 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16461 Remove unnecessary queue2/3/4 examples.
16463 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16465 * examples/Makefile.am:
16466 * examples/helloworld/helloworld.c: (event_loop), (main):
16467 * examples/queue/queue.c: (event_loop), (main):
16468 * examples/queue2/queue2.c: (main):
16469 Update a couple of the examples to work again.
16471 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16472 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16473 Spelling corrections and extra debug.
16475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16476 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16477 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16479 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16480 (gst_pipeline_change_state):
16481 * gst/gstpipeline.h:
16482 Move the bus handler for children to the GstBin, and create a
16483 separate bus for receiving messages from children to the one the
16484 bus sends 'upwards' on.
16486 2005-07-06 Wim Taymans <wim@fluendo.com>
16489 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16490 (gst_base_sink_handle_object), (gst_base_sink_loop),
16491 (gst_base_sink_change_state):
16492 * gst/base/gstbasesink.h:
16493 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16494 (gst_base_src_init), (gst_base_src_setcaps),
16495 (gst_base_src_getcaps), (gst_base_src_loop),
16496 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16497 (gst_base_src_start), (gst_base_src_change_state):
16498 * gst/base/gstbasesrc.h:
16499 Make basesrc negotiate.
16500 Handle the case where preroll fails in basesink.
16503 2005-07-06 Wim Taymans <wim@fluendo.com>
16505 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16506 Implement the fixate function.
16507 Clean up acceptcaps.
16509 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16511 * docs/pwg/building-filterfactory.xml:
16512 * docs/pwg/pwg.xml:
16513 Remove never-written filter-factory chapter; I'll add the various
16514 base classes to part 4 ("other element types") later on.
16516 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16518 * docs/pwg/advanced-negotiation.xml:
16519 * docs/pwg/building-boiler.xml:
16520 * docs/pwg/building-pads.xml:
16521 * docs/pwg/pwg.xml:
16522 * examples/pwg/Makefile.am:
16523 Add a chapter on caps negotiation, simplify the original code
16524 samples a bit w.r.t. caps negotiation, add link to the advanced
16525 section. Add a bunch of examples showing different use cases of
16526 different types of caps negotiation. Upstream renegotiation isn't
16527 fully documented yet since nobody knows how that works.
16529 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16531 * check/gst/gstpad.c:
16532 * check/gstcheck.c:
16533 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16534 if pad has no parent, return NULL as list of internal links
16536 2005-07-05 Andy Wingo <wingo@pobox.com>
16538 * gst/elements/gstfilesrc.c:
16539 * gst/elements/gstfakesrc.c:
16540 * gst/base/gstpushsrc.c:
16541 * gst/base/gstbasesrc.h:
16542 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16544 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16547 better report generation target (lcov needs a patch)
16549 2005-07-05 Andy Wingo <wingo@pobox.com>
16551 * gst/elements, testsuite: Null if we got it...
16553 2005-07-05 Wim Taymans <wim@fluendo.com>
16556 * libs/gst/dataprotocol/Makefile.am:
16557 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16558 * libs/gst/dataprotocol/dataprotocol.h:
16559 * pkgconfig/Makefile.am:
16560 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16561 * pkgconfig/gstreamer-dataprotocol.pc.in:
16562 Ported dataprotol to 0.9.
16563 Added pkgconfig files.
16565 2005-07-05 Andy Wingo <wingo@pobox.com>
16567 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16568 Default to returning TRUE for the case when tranform_caps returns
16569 a fixed caps, like for identity or volume.
16571 * check/gst/gstbus.c (pound_bus_with_messages):
16572 * check/gst/gstmessage.c (START_TEST):
16573 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16574 message API change.
16576 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16577 logic weaks here: always run transform_caps, trying passthrough
16578 operation only if the original caps intersects with the transform.
16580 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16581 source and sink caps.
16583 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16584 Intersect the peer caps with the pad template before going into
16586 (gst_base_transform_transform_caps): More debugging.
16588 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16591 2005-07-04 Edward Hervey <edward@fluendo.com>
16595 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16598 2005-07-04 Andy Wingo <wingo@pobox.com>
16600 * check/gst/gstpad.c: Only set explicit caps on pads.
16602 2005-07-01 Andy Wingo <wingo@pobox.com>
16604 * tests/network-clock.scm: Commentary update.
16606 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16607 Didn't really make sense, not implementable with basetransform,
16609 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16610 attempt at implementing the sync property, needs an unlock method.
16612 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16613 New func, by default returns the same caps (the identity
16615 (gst_base_transform_getcaps): Uses transform_caps to return
16616 something sensible.
16617 (gst_base_transform_setcaps): Complicated logic to get caps on
16618 both pads, even if they are different, and to call set_caps once
16619 for every time both pads get their caps set.
16620 (gst_base_transform_handle_buffer): Give the ref to the transform
16621 function. Allows in-place modification of the buffer.
16623 * gst/base/gstbasetransform.h (transform_caps): New class method.
16624 Given caps on one side, what can I do on the other.
16625 (set_caps): Take two caps, one for each side of the element.
16628 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16629 caps in place. This is safe because we can check the mutability of
16630 the caps, and a good idea because fixate functions are just called
16631 as a matter of last resort. (Not actually implemented.)
16632 (gst_pad_set_caps): If the caps we're setting is actually the same
16633 as the existing pad caps, just update the pointer without calling
16634 setcaps. Assert that caps is either NULL or fixed, as per the
16637 * gst/gstghostpad.c: Update for fixate changes.
16639 2005-07-02 Andy Wingo <wingo@pobox.com>
16642 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16643 two refcounts makes it immutable, which is enough. Doc more.
16645 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16647 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16648 Put the mini_object into GValue as a mini_object,
16649 not a gpointer, since that's how we declared
16652 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16654 * examples/pwg/Makefile.am:
16655 Fix buildbot again.
16657 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16659 * docs/pwg/building-testapp.xml:
16661 * examples/pwg/Makefile.am:
16664 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16667 * examples/Makefile.am:
16668 * examples/pwg/Makefile.am:
16669 * examples/pwg/extract.pl:
16670 Enable building the PWG examples.
16671 * docs/pwg/advanced-interfaces.xml:
16672 Add URI interface stub.
16673 * docs/pwg/advanced-types.xml:
16674 * docs/pwg/other-autoplugger.xml:
16675 * docs/pwg/appendix-porting.xml:
16676 * docs/pwg/pwg.xml:
16677 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16678 * docs/pwg/building-boiler.xml:
16679 * docs/pwg/building-chainfn.xml:
16680 * docs/pwg/building-pads.xml:
16681 * docs/pwg/building-props.xml:
16682 * docs/pwg/building-state.xml:
16683 * docs/pwg/building-testapp.xml:
16684 Update the building-*.xml parts for 0.9 changes. All examples
16685 code blocks compile in examples/pwg/*.
16687 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16689 * docs/manual/advanced-autoplugging.xml:
16690 * docs/manual/appendix-checklist.xml:
16691 * docs/manual/appendix-integration.xml:
16692 * docs/manual/highlevel-components.xml:
16693 Fix playbin/decodebin examples, update docs a bit, mention bus
16694 instead of signals in various places, mention kmplayer and
16695 kaffeine since they have a working GStreamer backend in the KDE
16698 2005-06-30 Wim Taymans <wim@fluendo.com>
16701 * docs/design/draft-ghostpads.txt:
16702 * docs/design/draft-push-pull.txt:
16703 * docs/design/draft-query.txt:
16704 * docs/design/part-TODO.txt:
16705 * docs/design/part-query.txt:
16706 Added CHANGES-0.9 doc, updated status of other docs.
16711 2005-06-30 Wim Taymans <wim@fluendo.com>
16713 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16714 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16715 (gst_base_sink_change_state):
16716 * gst/base/gstbasesink.h:
16717 Some tweaks, only EOS and a buffer complete a preroll.
16719 2005-06-30 Andy Wingo <wingo@pobox.com>
16721 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16722 activate_push down to the internal pad as well.
16724 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
16726 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16728 * gst/gsttaginterface.c:
16729 Some documentation fixes (#307394 and #307397).
16731 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
16733 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16735 * gst/gstvalue.c: (gst_value_intersect_list):
16736 Fix memleak (#309125).
16738 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16740 * docs/manual/advanced-dataaccess.xml:
16741 Fix fakesrc example to compile; doesn't work, bug somewhere...?
16742 * docs/manual/basics-pads.xml:
16743 Add reference for filtered caps to above chapter.
16745 2005-06-30 Wim Taymans <wim@fluendo.com>
16747 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
16748 (gst_bin_change_state):
16750 Lame attempt at making the state change function a bit
16753 2005-06-30 Wim Taymans <wim@fluendo.com>
16755 * docs/design/part-clocks.txt:
16756 * docs/design/part-element-sink.txt:
16757 * docs/design/part-events.txt:
16758 * docs/design/part-preroll.txt:
16759 * docs/design/part-states.txt:
16760 Some more tweeks and additions to the docs.
16762 2005-06-30 Wim Taymans <wim@fluendo.com>
16764 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16765 (default_have_data), (gst_pad_class_init), (gst_pad_init),
16766 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16767 (gst_pad_check_pull_range), (gst_pad_get_range),
16768 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
16770 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
16771 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16772 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16773 (gst_pad_remove_buffer_probe):
16774 Removed atomic operations, use existing LOCK.
16775 Move exception handling out of main code path.
16777 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16779 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16780 (silly_return_true_function), (gst_pad_class_init),
16781 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
16782 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
16783 (gst_pad_send_event):
16784 Fix accumulator, add default value by using _emitv() instead
16785 of _emit() for signal emission.
16787 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16789 * docs/manual/advanced-dataaccess.xml:
16790 * examples/manual/Makefile.am:
16792 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
16795 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
16797 * gst/elements/gstfilesink.c: (gst_filesink_render):
16798 Simplify code so that we don't have to handle short
16799 writes and return GST_FLOW_ERROR if an error occured.
16801 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16803 * docs/gst/gstreamer-docs.sgml:
16804 Remove probes more.
16806 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16808 * docs/gst/gstreamer-sections.txt:
16809 * docs/gst/tmpl/gstpad.sgml:
16810 * docs/gst/tmpl/gstprobe.sgml:
16812 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
16813 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
16814 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
16815 (gst_pad_push_event), (gst_pad_send_event):
16817 * gst/gstutils.c: (gst_pad_add_data_probe),
16818 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
16819 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
16820 (gst_pad_remove_buffer_probe):
16822 Remove old probes, add new g-signal-based probes and some utility
16825 2005-06-29 Edward Hervey <edward@fluendo.com>
16827 * gst/gstelementfactory.c:
16830 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
16831 the definition to the header file.
16833 2005-06-29 Andy Wingo <wingo@pobox.com>
16835 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
16836 plugins from the source directory.
16838 2005-06-29 Wim Taymans <wim@fluendo.com>
16840 * docs/gst/tmpl/gstbuffer.sgml:
16841 * docs/gst/tmpl/gstclock.sgml:
16842 Some fixings for blantently wrong text.
16844 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16846 * check/Makefile.am:
16847 * gst/gst.c: (add_path_func), (init_pre):
16848 * gst/gstregistry.c: (gst_registry_add_path):
16849 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
16850 only scan the GST_PLUGIN_PATH locations, and not add
16853 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
16855 * docs/gst/gstreamer-sections.txt:
16856 * docs/gst/tmpl/gstbasesrc.sgml:
16857 * gst/gstelement.c:
16858 * gst/gstelement.h:
16863 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16865 * docs/manual/advanced-autoplugging.xml:
16866 Fix autoplugging example.
16868 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16870 * docs/manual/advanced-autoplugging.xml:
16871 * docs/manual/mime-world.fig:
16872 Try to get autoplugging working, fix type detection. Fix text
16873 in hello-world image.
16875 2005-06-29 Wim Taymans <wim@fluendo.com>
16877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16878 (gst_base_sink_change_state):
16882 map SIGNAL and BROADCAST to the right function.
16885 Remove redundant braces.
16887 * gst/gstpad.c: (gst_pad_set_caps):
16888 Don't call setcaps function when reseting caps to NULL.
16890 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16891 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
16892 (gst_system_clock_id_unschedule):
16893 Use BROADCAST as this is what we do.
16895 2005-06-29 Wim Taymans <wim@fluendo.com>
16897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16898 We are actually prerolling before commiting the state
16901 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16903 * docs/manual/advanced-clocks.xml:
16904 * docs/manual/advanced-interfaces.xml:
16905 * docs/manual/advanced-metadata.xml:
16906 * docs/manual/advanced-position.xml:
16907 * docs/manual/advanced-schedulers.xml:
16908 * docs/manual/advanced-threads.xml:
16909 * docs/manual/appendix-porting.xml:
16910 * docs/manual/basics-bins.xml:
16911 * docs/manual/basics-bus.xml:
16912 * docs/manual/basics-elements.xml:
16913 * docs/manual/basics-helloworld.xml:
16914 * docs/manual/basics-pads.xml:
16915 * docs/manual/highlevel-components.xml:
16916 * docs/manual/manual.xml:
16917 * docs/manual/thread.fig:
16918 Update (until threads/scheduling) Application Development Manual;
16919 remove GstThread, add GstBus, add simple porting checklist, add
16920 documentation for tag writing, clocks, make all examples until this
16921 part compile and run.
16922 * examples/manual/Makefile.am:
16923 Update from changes to Application Development Manual; add bus
16924 example, remove thread example.
16926 2005-06-28 Wim Taymans <wim@fluendo.com>
16928 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
16929 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
16930 (gst_bus_source_dispatch):
16931 Add debugging messages.
16932 Make internal methods static.
16933 Handle the case where the bus is flushed in the handler.
16935 * gst/gstelement.c: (gst_element_get_bus):
16936 Fix refcount in _get_bus();
16938 * gst/gstpipeline.c: (gst_pipeline_change_state),
16939 (gst_pipeline_get_clock_func):
16940 Clock refcounting fixes.
16941 Handle the case where preroll timed out more gracefully.
16943 * gst/gstsystemclock.c: (gst_system_clock_dispose):
16944 Clean up the internal thread in dispose. This is needed
16945 for subclasses that actually get disposed.
16947 * gst/schedulers/threadscheduler.c:
16948 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
16949 (gst_thread_scheduler_dispose):
16950 Free thread pool in dispose.
16952 2005-06-28 Andy Wingo <wingo@pobox.com>
16954 * tests/network-clock-utils.scm (debug, print-event): New utils.
16956 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
16957 (*packet-loss*): Unified loss probability.
16958 (network-time): Report out-of-band events.
16960 * tests/plot-data: Add support for out-of-band events. Hack it
16961 into this script instead of passing it down the pipe; should fix
16964 2005-06-28 Wim Taymans <wim@fluendo.com>
16966 * docs/gst/gstreamer.types:
16967 * docs/gst/tmpl/gstbasesrc.sgml:
16968 * docs/gst/tmpl/gstpad.sgml:
16971 2005-06-28 Wim Taymans <wim@fluendo.com>
16973 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16974 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
16975 (gst_proxy_pad_do_fixatecaps):
16976 Correctly proxy the check_pull_range function.
16978 2005-06-28 Andy Wingo <wingo@pobox.com>
16980 * tests/network-clock.scm: Removed need for slib.
16982 2005-06-28 Wim Taymans <wim@fluendo.com>
16984 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
16985 (gst_basesink_preroll_queue_flush):
16986 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
16987 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
16988 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16989 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
16990 (gst_proxy_pad_set_property):
16993 * gst/gstqueue.c: (gst_queue_init):
16994 The deprecated pad loop function is removed now.
16996 2005-06-28 Andy Wingo <wingo@pobox.com>
16998 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
16999 New parameters, simulate network packet loss.
17001 * tests/network-clock-utils.scm: Initialize the RNG.
17003 2005-06-28 Wim Taymans <wim@fluendo.com>
17005 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17006 (gst_basesink_event), (gst_basesink_deactivate):
17007 Flushing the preroll queue always needs to unlock the waiters.
17009 2005-06-28 Edward Hervey <edward@fluendo.com>
17011 * gst/gstpipeline.c: (gst_pipeline_send_event):
17012 Wheen a seek was successful on a pipeline, set the stream_time to the
17013 seek offset in order to have a synchronized stream_time.
17015 2005-06-28 Wim Taymans <wim@fluendo.com>
17017 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17018 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17019 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17020 (gst_proxy_pad_do_fixatecaps):
17021 Call wrapper function instead of just calling the function
17022 pointers. This takes care of any locking and whatmore.
17024 2005-06-28 Wim Taymans <wim@fluendo.com>
17026 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17027 (gst_pad_pull_range):
17029 CONNECTED -> LINKED.
17031 2005-06-28 Andy Wingo <wingo@pobox.com>
17033 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17034 source-munging commit!!!
17036 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17037 (gst_object_sink): Take gpointer arguments, not GstObject --
17038 avoids casts. Like GLib.
17040 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17043 2005-06-27 Andy Wingo <wingo@pobox.com>
17045 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17048 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17049 returns a sorted copy of the trace list.
17050 (gst_alloc_trace_print_live): New API, only prints traces with
17051 live objects. Sort the list.
17052 (gst_alloc_trace_print_all): Sort the list.
17053 (gst_alloc_trace_print): Align columns.
17055 * gst/elements/gstttypefindelement.c:
17056 * gst/elements/gsttee.c:
17057 * gst/base/gstbasesrc.c:
17058 * gst/base/gstbasesink.c:
17059 * gst/base/gstbasetransform.c:
17060 * gst/gstqueue.c: Adapt for pad activation changes.
17062 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17064 (gst_pipeline_dispose): Drop ref on sched.
17066 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17067 (gst_pad_activate_default): Push mode by default.
17068 (pre_activate_switch, post_activate_switch): New stubs, things to
17069 do before and after switching activation modes on pads.
17070 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17071 the pad's activate function to choose which mode to activate.
17072 Shortcut on deactivation and call the right function directly.
17073 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17075 (gst_pad_activate_push): New API, same for push mode.
17076 (gst_pad_set_activate_function)
17077 (gst_pad_set_activatepull_function)
17078 (gst_pad_set_activatepush_function): Setters for new API.
17080 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17081 Trace all miniobjects.
17082 (gst_mini_object_make_writable): Unref the arg if we copy, like
17083 gst_caps_make_writable.
17085 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17087 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17088 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17089 Adapt for new pad API.
17091 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17093 * gst/gstelement.h:
17094 * gst/gstelement.c (gst_element_iterate_src_pads)
17095 (gst_element_iterate_sink_pads): New API functions.
17097 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17098 should fold into gstiterator.c in some form.
17099 (gst_element_pads_activate): Simplified via use of fold and
17100 delegation of decisions to gstpad->activate.
17102 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17105 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17106 class once in init, like gstmessage. Didn't run into this issue
17107 but it seems correct. Don't initialize a trace, gstminiobject does
17110 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17111 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17113 (assert_live_count): New util function, uses alloc traces to check
17116 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17117 To be modified when unlink drops the internal pad.
17119 2005-06-27 Wim Taymans <wim@fluendo.com>
17121 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17122 (gst_bin_change_state):
17123 Cleanup the get_state() function a little, make sure it
17124 iterates the same set of elements.
17125 Added stub iterate_state_order().
17127 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17129 * docs/gst/gstreamer-docs.sgml:
17130 * docs/gst/gstreamer-sections.txt:
17131 * docs/gst/gstreamer.types:
17132 * docs/gst/tmpl/gstbasesink.sgml:
17133 * docs/gst/tmpl/gstbasesrc.sgml:
17134 * docs/gst/tmpl/gstbasetransform.sgml:
17135 * docs/gst/tmpl/gstelement.sgml:
17136 * docs/gst/tmpl/gstiterator.sgml:
17137 * gst/base/gstbasesrc.c:
17138 * gst/base/gstbasesrc.h:
17139 * gst/base/gstbasetransform.h:
17140 * gst/gstelement.c:
17141 * gst/gstiterator.h:
17142 adding basetransform and iterator docs
17144 2005-06-27 Andy Wingo <wingo@pobox.com>
17146 * docs/design/part-activation.txt: Notes on how activation should
17147 work -- not quite implemented yet.
17149 2005-06-25 Wim Taymans <wim@fluendo.com>
17151 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17152 At least get the chain function correct, needs more
17155 2005-06-25 Wim Taymans <wim@fluendo.com>
17157 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17158 (gst_basesink_handle_object), (gst_basesink_event),
17159 (gst_basesink_do_sync), (gst_basesink_handle_event),
17160 (gst_basesink_change_state):
17162 Right, two problems here: ghostpads don't take locks and
17163 glib _rec_mutex_lock_full() with depth==0 still locks.
17164 Catch illegal locking and g_warn them.
17166 2005-06-25 Wim Taymans <wim@fluendo.com>
17168 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17169 Have to check for completion now...
17171 2005-06-25 Wim Taymans <wim@fluendo.com>
17173 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17174 (gst_basesink_handle_object), (gst_basesink_event),
17175 (gst_basesink_do_sync), (gst_basesink_handle_event),
17176 (gst_basesink_change_state):
17178 Unlock STREAM_LOCK whatever the recursion was.
17180 2005-06-25 Wim Taymans <wim@fluendo.com>
17182 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17183 (gst_basesink_preroll_queue_empty),
17184 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17185 (gst_basesink_event), (gst_basesink_do_sync),
17186 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17187 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17188 (gst_basesink_change_state):
17189 Reworked the base sink, handle event and buffer serialisation
17190 correctly and removed possible deadlock.
17191 Handle EOS correctly.
17193 2005-06-25 Wim Taymans <wim@fluendo.com>
17195 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17196 (gst_pipeline_change_state):
17197 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17198 Allow elements to post EOS in the state change function.
17199 Fix up -launch, make it exit the poll loop when the
17200 pipeline actually changed state.
17201 Fix up warning parsing in -launch.
17203 2005-06-25 Wim Taymans <wim@fluendo.com>
17205 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17206 (gst_tee_sink_activate):
17207 Core takes STREAM_LOCK for us now.
17209 2005-06-25 Wim Taymans <wim@fluendo.com>
17211 * gst/gstelement.c: (gst_element_get_state_func),
17212 (gst_element_set_state):
17213 * gst/gstelement.h:
17214 * gst/gstmessage.c: (gst_message_parse_error),
17215 (gst_message_parse_warning):
17216 Keep track of current target state while performing a state
17217 change so that subclasses can do something interesting.
17218 Fix parsing of warning/error messages when GError is NULL.
17220 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17222 * docs/gst/Makefile.am:
17223 * docs/gst/gstreamer-docs.sgml:
17224 * docs/gst/gstreamer-sections.txt:
17225 * docs/gst/gstreamer.types:
17226 * docs/gst/tmpl/gstbasesink.sgml:
17227 * docs/gst/tmpl/gstbasesrc.sgml:
17228 * docs/gst/tmpl/gstbin.sgml:
17229 * docs/gst/tmpl/gstcompat.sgml:
17230 * docs/gst/tmpl/gstfakesink.sgml:
17231 * docs/gst/tmpl/gstfakesrc.sgml:
17232 * docs/gst/tmpl/gstfilesink.sgml:
17233 * docs/gst/tmpl/gstfilesrc.sgml:
17234 * docs/gst/tmpl/gstindex.sgml:
17235 * docs/manual/appendix-quotes.xml:
17236 * gst/base/gstbasesrc.h:
17237 * gst/elements/gstfakesrc.h:
17238 * gst/gstmessage.h:
17239 start pulling in base classes and elements in our docs
17241 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17243 * docs/gst/Makefile.am:
17244 * docs/libs/Makefile.am:
17245 fixed make distcheck with gtk-doc 1.3
17247 2005-06-23 Wim Taymans <wim@fluendo.com>
17249 * gst/gstelement.c: (gst_element_get_state_func),
17250 (gst_element_set_state), (gst_element_change_state):
17251 When the state did not change, also report NO_PREROLL
17254 2005-06-23 Wim Taymans <wim@fluendo.com>
17256 * gst/gstpad.c: (gst_pad_event_default):
17257 * gst/gstqueue.c: (gst_queue_loop):
17258 No unsafe task pausing please.
17260 2005-06-23 Wim Taymans <wim@fluendo.com>
17262 * gst/schedulers/threadscheduler.c:
17263 (gst_thread_scheduler_task_start),
17264 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17265 Ref the task before pushing it on the threadpool. This
17266 makes sure that we have a ref when the threadfunction is
17269 2005-06-23 Andy Wingo <wingo@pobox.com>
17271 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17272 offset is greater than the file's size.
17274 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17275 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17276 * gst/gstobject.c (gst_object_class_init): Make the class lock
17277 recursive. Wim won't let me drop deep_notify. Decodebin works
17278 again, whoopdy doo.
17280 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17281 internal pad, and hacks accordingly. Doesn't do it on the target
17282 pad because we change its caps. Probably catches all cases of
17284 (gst_ghost_pad_set_property): Connect to notify::caps as
17287 * tests/network-clock.scm (plot-simulation): Pipe data to the
17288 elite python skript.
17290 * tests/network-clock-utils.scm (define-parameter): New macro,
17291 defines a parameter that can be set via the command line.
17292 (set-parameter!, parse-parameter-arguments): Command line args
17295 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17298 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17300 * gst/elements/gsttypefindelement.c:
17301 (gst_type_find_element_handle_event):
17302 Don't restart typefinding on a discont.
17303 * gst/gstelement.c: (gst_element_set_state):
17304 Debug spelling fix.
17305 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17306 Allow changing mode of an active pad.
17307 Debug output fixes.
17308 * gst/registries/gstlibxmlregistry.c: (load_feature):
17309 Don't cast a static pad template to a normal pad template.
17311 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17313 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17314 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17315 remove gst_strtoll completely, since it didn't actually do
17316 anything more than what g_ascii_strtoull already does.
17317 check for range errors when deserializing
17318 do a cast for the unsigned cases; but further fixing needs
17319 a decision on what the interpretation of "(int)" and
17320 deserialization should be for values that fall outside the
17321 type's boundaries (ie, refuse, or interpret as casting)
17323 2005-06-23 Wim Taymans <wim@fluendo.com>
17325 * check/Makefile.am:
17326 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17327 * docs/design/part-live-source.txt:
17328 * docs/design/part-states.txt:
17329 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17330 (gst_basesrc_set_live), (gst_basesrc_is_live),
17331 (gst_basesrc_get_range), (gst_basesrc_activate),
17332 (gst_basesrc_change_state):
17333 * gst/base/gstbasesrc.h:
17334 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17335 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17336 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17337 * gst/gstelement.c: (gst_element_get_state_func),
17338 (gst_element_set_state):
17339 * gst/gstelement.h:
17341 * tools/gst-launch.c: (event_loop), (main):
17342 Added support for live sources and other elements that
17344 Updated design docs, added live-source design doc.
17345 Implemented live source functionality in basesrc
17346 Fix error condition in _bin_get_state()
17347 Implement live source handling in -launch.
17348 Added check for live sources.
17349 Fixed case in GstBin where elements were changed state
17353 2005-06-23 Andy Wingo <wingo@pobox.com>
17355 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17356 borken refcounting.
17358 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17359 gst_caps_replace takes care of this for us.
17361 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17362 gst_pad_set_caps on the target, not just its setcaps() function.
17364 * tests/network-clock.scm:
17365 * tests/network-clock-utils.scm: A network clock simulator.
17366 Something of an algorithmic testbed before doing something in C.
17368 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17370 * check/Makefile.am:
17371 * check/gst/capslist.h:
17372 copy over from 0.8, and add two with bitmasks specified with
17374 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17375 add test to parse everything from capslist.h
17376 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17378 add test for structure deserialization
17379 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17380 add tests for deserialization of strings to int types
17381 * gst/gststructure.c: (gst_structure_nth_field_name):
17382 * gst/gststructure.h:
17383 add a way to get the name of a field referenced by index
17384 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17385 instead of checking if the resulting long long lies between
17386 min and max, we check if the long long would fit into
17387 a number of bytes for the final type.
17388 This fixes cases where a string represents 2^32 - 1, which
17389 when cast to int would be the (valid) -1, but is bigger than
17392 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17394 * gst/parse/grammar.y:
17395 add a log line for type deserialization
17397 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17399 * check/gst/gstvalue.c: (START_TEST):
17400 * gst/gstvalue.c: (gst_value_deserialize):
17401 return long long, not int, so gint64 deserialization actually
17402 works. Is there any flag that makes the compiler check this ?
17405 2005-06-22 Wim Taymans <wim@fluendo.com>
17408 Added convenience macros for setting buffers in GValue.
17410 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17412 * check/gst/.cvsignore:
17413 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17414 add a test deserializing int64, and comment part out because
17417 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17419 * check/Makefile.am:
17420 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17421 * testsuite/Makefile.am:
17422 * testsuite/caps/Makefile.am:
17423 * testsuite/caps/value_serialize.c:
17424 * testsuite/test_gst_init.c:
17425 move a value_serialize test over
17427 2005-06-20 Wim Taymans <wim@fluendo.com>
17432 * gst/gstvalue.c: (gst_value_compare_buffer),
17433 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17434 (gst_value_compare_flags), (gst_value_serialize_flags),
17435 (gst_value_deserialize_flags), (_gst_value_initialize):
17436 Fix serialisation of buffers, they are not boxed types anymore
17438 2005-06-20 Wim Taymans <wim@fluendo.com>
17440 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17441 Testcase to show error in buffer-on-caps serialisation.
17443 2005-06-20 Andy Wingo <wingo@pobox.com>
17445 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17446 will be adding to later.
17448 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17449 if its socks fill with rocks.
17450 (gst_system_clock_obtain): Set the name on object construction.
17451 Avoid double-checked locking.
17453 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17455 * gst/gsturi.c: (gst_element_make_from_uri):
17456 Fix potential endless loop.
17458 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17460 * check/Makefile.am:
17462 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17464 move over from testsuite dir and clean up
17467 * testsuite/Makefile.am:
17468 * testsuite/tags/.cvsignore:
17469 * testsuite/tags/Makefile.am:
17470 * testsuite/tags/merge.c:
17471 remove testsuite/tags
17473 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17475 * docs/gst/gstreamer-sections.txt:
17476 * docs/gst/tmpl/gstenumtypes.sgml:
17477 * win32/gstenumtypes.c:
17478 clean up documentation build a little
17480 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17482 * check/gstcheck.h:
17483 add macros for checking refcounts on objects and caps
17484 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17485 add some more unit tests
17486 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17487 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17488 fix leaked refcounts (I hope :)) so unittest works
17492 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17494 * configure.ac: back to HEAD
17496 === release 0.9.1 ===
17498 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17504 2005-06-17 Andy Wingo <wingo@pobox.com>
17506 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17507 assert; it's always possible that the pad gets deactivated in
17508 between the checks in gstpad.c and the implementation. Rely on
17509 finish_preroll() to return a FLUSHING or similar instead of on the
17512 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17513 clock and post an EOS message if we come out of finish_preroll in
17516 2005-06-16 David Schleef <ds@schleef.org>
17518 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17519 (gst_capsfilter_set_property): Allow NULL as possible value
17520 for filter_caps property, indicating GST_CAPS_ANY.
17522 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17524 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17526 * gst/schedulers/Makefile.am:
17528 * gstreamer.spec.in:
17531 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17533 * gstreamer.spec.in:
17536 2005-06-08 Andy Wingo <wingo@pobox.com>
17538 * gst/gstutils.c: RPAD fixes all around.
17539 (gst_element_link_pads): Refcounting fixes.
17541 * tools/gst-inspect.c:
17542 * tools/gst-xmlinspect.c:
17544 * gst/base/gsttypefindhelper.c:
17545 * gst/base/gstbasesink.c:
17546 * gst/gstqueue.c: RPAD fixes.
17548 * gst/gstghostpad.h:
17549 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17550 pads. The tricky thing is they provide both source and sink
17551 interfaces, since they proxy the internal pad for the external
17552 pad, and vice versa. Implement with lower-level ProxyPad objects,
17553 with the interior proxy pad as a child of the exterior ghost pad.
17554 Should write a doc on this.
17556 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17557 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17560 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17561 pads are real pads. No ghost pads in this file. Not documenting
17562 the myriad s/RPAD/PAD/ and REALIZE fixes.
17563 (gst_pad_class_init): Add properties for "direction" and
17564 "template". Both are construct-only, so they can't change during
17565 the life of the pad. Fixes properly deriving from GstPad.
17566 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17567 derived objects, just set properties when creating the objects via
17569 (gst_pad_get_parent): Implement as a function, return NULL if the
17570 parent is not an element.
17571 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17572 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17574 * gst/gstobject.c (gst_object_class_init): Make name a construct
17575 property. Don't set it in the object init.
17577 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17578 with UNKNOWN direction.
17579 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17580 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17581 (gst_element_remove_pad): Remove ghost-pad special cases.
17582 (gst_element_pads_activate): Remove rpad cruft.
17584 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17585 catch the pad's-parent-not-an-element case.
17587 * gst/gst.h: Include gstghostpad.h.
17589 * gst/gst.c (init_post): No more real, ghost pads.
17591 * gst/Makefile.am: Add gstghostpad.[ch].
17593 * check/Makefile.am:
17594 * check/gst/gstbin.c:
17595 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17596 into a bin creates ghost pads, and that the refcounts are right.
17597 Partly moved from gstbin.c.
17599 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17601 * check/gst-libs/.cvsignore:
17602 * check/gst/.cvsignore:
17603 * check/pipelines/.cvsignore:
17605 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17606 (START_TEST), (cleanup_suite), (main):
17607 add some tests related to cleanup after running pipelines
17609 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17611 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17612 add a testsuite for GstBuffer
17614 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17616 * gst/gstminiobject.h:
17617 add defines for accessing the refcount
17619 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17621 * Makefile.am: added support for html unit test coverage reports
17623 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17625 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17626 Free existing caps if the capsfilter changes. Add a FIXME about
17627 setting those caps on the pads.
17629 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17630 Before adding a ghost pad to a parent bin, check that there isn't
17631 already one for the element on the bin. Prevents infinite recursion
17632 when using decodebin in parse pipelines. Andy says he'll rewrite the
17633 way this works anyway, so ignore the hack.
17635 2005-06-02 Andy Wingo <wingo@pobox.com>
17637 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17638 file size, pass it on to the type find helper.
17640 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17641 segment_start and segment_end properly according to the seek
17642 method. Segment_end is still a bit flaky because offset can be
17643 negative for CUR and END cases, but it takes -1 as an "unset"
17646 2005-06-02 Wim Taymans <wim@fluendo.com>
17648 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17649 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17650 (gst_basesink_activate):
17651 * gst/base/gstbasesink.h:
17652 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17653 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17654 (gst_pad_query), (gst_pad_start_task):
17656 * gst/gstqueue.c: (gst_queue_bufferalloc),
17657 (gst_queue_handle_sink_event), (gst_queue_chain):
17658 Bufferalloc: return GstFlowReturn to more accuratly report
17659 why allocation failed.
17661 2005-06-02 Wim Taymans <wim@fluendo.com>
17663 * gst/gstpipeline.c: (gst_pipeline_send_event):
17664 Take snapshot of state without blocking.
17666 2005-06-02 Wim Taymans <wim@fluendo.com>
17668 * docs/design/part-TODO.txt:
17669 * docs/design/part-caps.txt:
17670 * docs/design/part-clocks.txt:
17671 * docs/design/part-negotiation.txt:
17672 * docs/design/part-preroll.txt:
17675 2005-05-30 Wim Taymans <wim@fluendo.com>
17677 * gst/elements/gstidentity.c: (gst_identity_event),
17678 (gst_identity_transform), (gst_identity_get_property):
17679 Protect last_message property as it is accessed from
17682 2005-05-30 Wim Taymans <wim@fluendo.com>
17684 * gst/gstelement.c: (gst_element_init),
17685 (gst_element_pads_activate), (gst_element_change_state):
17686 Slicker pad activation code.
17688 2005-05-30 Wim Taymans <wim@fluendo.com>
17691 * gst/gstelement.h:
17692 * gst/gstelementfactory.h:
17694 Move elementfactory methods to separate .h file.
17696 2005-05-30 Wim Taymans <wim@fluendo.com>
17698 * docs/design/part-overview.txt:
17699 * gst/gstsystemclock.h:
17700 Small typo fixes, doc updates.
17702 2005-05-30 Wim Taymans <wim@fluendo.com>
17704 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17705 (init_popt_callback):
17706 Remove cpu-opt flag.
17708 2005-05-30 Wim Taymans <wim@fluendo.com>
17710 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17711 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17713 Avoid typechecking in places where not needed.
17714 Added accessor for malloc_data.
17716 2005-05-30 Wim Taymans <wim@fluendo.com>
17718 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17719 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17720 (gst_pad_configure_sink), (gst_pad_configure_src),
17721 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17722 (gst_pad_start_task):
17723 Propagate errors from _set_caps() in configure_src/sink
17724 functions instead of returning TRUE.
17725 FLUSH events can travel up and downstream
17728 2005-05-30 Wim Taymans <wim@fluendo.com>
17730 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17731 (gst_basesink_activate):
17732 Handle EOS in preroll.
17734 2005-05-30 Wim Taymans <wim@fluendo.com>
17736 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17737 (gst_queue_loop), (gst_queue_handle_src_event):
17738 Remove old pieces of code
17739 Flushing the queue in an upstream event is a very bad idea.
17741 2005-05-26 Andy Wingo <wingo@pobox.com>
17743 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
17744 gst_value_set_mini_object so as to add a ref on the object (which
17745 will be removed when the value is unset).
17747 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
17748 arg type in ::handoff.
17750 * gst/gstelement.c (gst_element_change_state): Also deactivate
17751 pads in READY->NULL, just in case the element didn't make it to
17752 PAUSED. Wingo tested, Wim approved.
17754 2005-05-26 Wim Taymans <wim@fluendo.com>
17756 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17757 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17758 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
17759 A flushing pad cannot be used to alloc_buffer from.
17761 2005-05-26 Wim Taymans <wim@fluendo.com>
17763 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
17764 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
17765 (gst_bus_source_dispatch), (gst_bus_source_finalize),
17766 (gst_bus_create_watch), (gst_bus_add_watch_full):
17768 Implement a real GSource and use g_main_context_wakeup() to
17769 signal new messages instead of the socketpair.
17771 2005-05-25 Wim Taymans <wim@fluendo.com>
17773 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
17774 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
17775 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17776 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17777 (gst_pad_send_event), (gst_pad_start_task):
17778 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
17779 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
17780 (gst_queue_sink_activate), (gst_queue_src_activate),
17781 (gst_queue_change_state):
17783 Fix state changes for non sinks. We now change sinks, then elements
17784 with unconnected srcpads, then the rest.
17785 More efficient queue unlocking in flush and state changes.
17786 Set the pad activate mode even if it does not have an activate
17789 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17791 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
17792 Don't go in pull mode for non-seekable sources.
17793 * gst/elements/gsttypefindelement.h:
17794 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
17795 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
17796 (free_entry), (stop_typefinding),
17797 (gst_type_find_element_handle_event), (find_peek),
17798 (gst_type_find_element_chain), (do_pull_typefind),
17799 (gst_type_find_element_change_state):
17800 Allow typefinding (w/o seeking) in push-mode, simplified version
17801 of what was in 0.8.
17802 * gst/gstutils.c: (gst_buffer_join):
17804 gst_buffer_join() from 0.8.
17806 2005-05-25 Wim Taymans <wim@fluendo.com>
17808 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17809 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
17810 (gst_pad_send_event), (gst_pad_start_task):
17811 Disable attempt at mode switching until it is figured out.
17813 2005-05-25 Wim Taymans <wim@fluendo.com>
17815 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
17816 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
17817 (gst_basesink_finish_preroll), (gst_basesink_chain),
17818 (gst_basesink_loop), (gst_basesink_activate),
17819 (gst_basesink_change_state):
17820 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
17821 (gst_basesrc_get_range), (gst_basesrc_loop),
17822 (gst_basesrc_activate):
17823 * gst/elements/gsttee.c: (gst_tee_sink_activate):
17824 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17825 (gst_real_pad_init), (gst_real_pad_set_property),
17826 (gst_real_pad_get_property), (gst_pad_set_active),
17827 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
17828 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
17829 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
17830 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
17831 (gst_pad_event_default_dispatch), (gst_pad_event_default),
17832 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
17833 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
17834 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17835 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
17836 (gst_pad_stop_task):
17838 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17839 (gst_queue_loop), (gst_queue_src_activate):
17840 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
17841 (gst_task_get_state):
17843 * gst/schedulers/threadscheduler.c:
17844 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
17845 Implement gst_pad_pause/start/stop_task(), take STREAM lock
17847 Remove ACTIVE pad flag, use FLUSHING everywhere
17848 Added _pad_chain(), _pad_get_range() to call chain/getrange
17850 Add locks around IS_FLUSHING when reading.
17851 Take STREAM lock in chain(), get_range() functions so plugins
17852 don't need to take it anymore.
17856 2005-05-25 Wim Taymans <wim@fluendo.com>
17858 * tools/gst-launch.c: (event_loop):
17859 Unref message after using its contents instead of
17862 2005-05-24 Wim Taymans <wim@fluendo.com>
17864 * docs/design/draft-ghostpads.txt:
17865 * docs/design/draft-push-pull.txt:
17866 * docs/design/draft-query.txt:
17867 * docs/design/part-overview.txt:
17868 Docs updates, added general overview doc.
17870 2005-05-21 David Schleef <ds@schleef.org>
17872 * docs/gst/tmpl/old/GstBin.sgml:
17873 * docs/gst/tmpl/old/GstBuffer.sgml:
17874 * docs/gst/tmpl/old/GstCaps.sgml:
17875 * docs/gst/tmpl/old/GstClock.sgml:
17876 * docs/gst/tmpl/old/GstCompat.sgml:
17877 * docs/gst/tmpl/old/GstData.sgml:
17878 * docs/gst/tmpl/old/GstElement.sgml:
17879 * docs/gst/tmpl/old/GstEvent.sgml:
17880 * docs/gst/tmpl/old/GstIndex.sgml:
17881 * docs/gst/tmpl/old/GstStructure.sgml:
17882 * docs/gst/tmpl/old/GstTag.sgml:
17883 * docs/gst/tmpl/old/cothreads.sgml:
17884 * docs/gst/tmpl/old/cothreads_compat.sgml:
17885 * docs/gst/tmpl/old/gettext.sgml:
17886 * docs/gst/tmpl/old/gobject2gtk.sgml:
17887 * docs/gst/tmpl/old/grammar.tab.sgml:
17888 * docs/gst/tmpl/old/gst-i18n-app.sgml:
17889 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
17890 * docs/gst/tmpl/old/gst_private.sgml:
17891 * docs/gst/tmpl/old/gstaggregator.sgml:
17892 * docs/gst/tmpl/old/gstarch.sgml:
17893 * docs/gst/tmpl/old/gstatomic_impl.sgml:
17894 * docs/gst/tmpl/old/gstbufferstore.sgml:
17895 * docs/gst/tmpl/old/gstdata_private.sgml:
17896 * docs/gst/tmpl/old/gstdisksink.sgml:
17897 * docs/gst/tmpl/old/gstdisksrc.sgml:
17898 * docs/gst/tmpl/old/gstelementfactory.sgml:
17899 * docs/gst/tmpl/old/gstextratypes.sgml:
17900 * docs/gst/tmpl/old/gstfakesink.sgml:
17901 * docs/gst/tmpl/old/gstfakesrc.sgml:
17902 * docs/gst/tmpl/old/gstfdsink.sgml:
17903 * docs/gst/tmpl/old/gstfdsrc.sgml:
17904 * docs/gst/tmpl/old/gstfilesink.sgml:
17905 * docs/gst/tmpl/old/gstfilesrc.sgml:
17906 * docs/gst/tmpl/old/gsthttpsrc.sgml:
17907 * docs/gst/tmpl/old/gstidentity.sgml:
17908 * docs/gst/tmpl/old/gstindexfactory.sgml:
17909 * docs/gst/tmpl/old/gstmarshal.sgml:
17910 * docs/gst/tmpl/old/gstmd5sink.sgml:
17911 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
17912 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
17913 * docs/gst/tmpl/old/gstpadtemplate.sgml:
17914 * docs/gst/tmpl/old/gstpipefilter.sgml:
17915 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
17916 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
17917 * docs/gst/tmpl/old/gstshaper.sgml:
17918 * docs/gst/tmpl/old/gstspider.sgml:
17919 * docs/gst/tmpl/old/gstspideridentity.sgml:
17920 * docs/gst/tmpl/old/gststatistics.sgml:
17921 * docs/gst/tmpl/old/gsttee.sgml:
17922 * docs/gst/tmpl/old/gsttimecache.sgml:
17923 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
17924 * docs/gst/tmpl/old/gstxmlregistry.sgml:
17925 * docs/gst/tmpl/old/gthread-cothreads.sgml:
17926 * docs/gst/tmpl/old/types.sgml:
17927 I didn't intend to add these or check them in.
17929 2005-05-19 David Schleef <ds@schleef.org>
17931 * configure.ac: Use -no-common everywhere. In a sane world, it
17932 would be the default in libtool, because without it, you can't
17933 build DLLs on Windows.
17934 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
17935 * docs/gst/gstreamer-sections.txt:
17936 * docs/gst/tmpl/gstcpu.sgml:
17937 * docs/gst/tmpl/gstdata.sgml:
17938 * docs/gst/tmpl/gstthread.sgml:
17940 2005-05-19 David Schleef <ds@schleef.org>
17942 * gst/gstminiobject.c: (gst_value_set_mini_object),
17943 (gst_value_take_mini_object), (gst_value_get_mini_object):
17944 * gst/gstminiobject.h: Add GValue set/get functions.
17946 2005-05-19 Wim Taymans <wim@fluendo.com>
17948 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
17949 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
17950 (gst_subbuffer_init), (gst_buffer_is_span_fast):
17952 * gst/gstbus.c: (gst_bus_post):
17953 * gst/gstelement.c: (gst_element_get_random_pad):
17954 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
17955 Make subbufer unref the parent in finalize.
17956 some more debugging info.
17959 2005-05-19 Wim Taymans <wim@fluendo.com>
17961 * gst/base/gstbasesink.c: (gst_basesink_class_init),
17962 (gst_basesink_init), (gst_basesink_finalize),
17963 (gst_basesink_activate), (gst_basesink_change_state):
17964 Don't free preroll queue too early.
17966 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17970 Hi, I'm outdated. Please shoot me.
17972 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17974 * gst/gstpipeline.c: (gst_pipeline_send_event):
17975 Do not access variables after they have been deleted.
17977 2005-05-19 Wim Taymans <wim@fluendo.com>
17979 * tools/gst-inspect.c: (print_plugin_features):
17980 A plugin feature does unfortunatly not use the
17983 2005-05-18 Wim Taymans <wim@fluendo.com>
17985 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
17986 Port _span() functions to new subbuffers.
17988 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17990 * gst/gstbin.c: (gst_bin_add_func):
17991 Fix clock settery in bins when adding kids after the clock has
17994 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17996 * gst/elements/gstidentity.c: (gst_identity_class_init):
17997 Workaround until signals support GstMiniObject.
17999 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18002 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18004 2005-05-18 Wim Taymans <wim@fluendo.com>
18006 * gst/base/Makefile.am:
18007 * gst/base/gstadapter.c: (gst_adapter_base_init),
18008 (gst_adapter_class_init), (gst_adapter_init),
18009 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18010 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18011 (gst_adapter_flush), (gst_adapter_available),
18012 (gst_adapter_available_fast):
18013 * gst/base/gstadapter.h:
18014 Ported and added adapter to the base classes.
18016 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18019 * gst/gstmessage.c:
18020 Make sure the class is reffed/unreffed once before threads can be
18021 used. Fixes #304551.
18023 2005-05-17 Wim Taymans <wim@fluendo.com>
18025 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18026 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18027 * gst/gstminiobject.c: (gst_mini_object_get_type),
18028 (gst_mini_object_free):
18029 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18030 (gst_pad_push), (gst_pad_push_event):
18031 * gst/gstqueue.c: (gst_queue_change_state):
18032 Don't queue buffers in basesink when we are flushing.
18033 Unref buffer when flushing in basesink.
18034 Flush queue when going to READY
18035 Unref buffer when _push() returns an error.
18036 Don't free MiniObject instance when refcount is incremented
18037 in _finalize() so that we can recover objects.
18039 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18041 * docs/manual/advanced-schedulers.xml:
18042 * docs/manual/appendix-checklist.xml:
18043 * docs/pwg/advanced-clock.xml:
18044 * docs/pwg/advanced-interfaces.xml:
18045 * docs/pwg/advanced-request.xml:
18046 * docs/pwg/advanced-types.xml:
18047 * docs/pwg/intro-preface.xml:
18048 * examples/plugins/example.c: (gst_example_get_type),
18049 (gst_example_class_init), (gst_example_chain),
18050 (gst_example_set_property), (gst_example_get_property),
18051 (gst_example_change_state), (plugin_init):
18052 * examples/plugins/example.h:
18055 2005-05-17 Wim Taymans <wim@fluendo.com>
18057 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18058 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18059 * gst/gstqueue.c: (gst_queue_change_state):
18060 Clear queue when going to READY.
18061 Remove IN_SETCAPS flag too.
18063 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18065 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18066 Remove implicit cast from gboolean to GstElementStateReturn;
18067 make sure we still return failure in paused => ready case if
18068 the parent class fails to change state and our own stop
18071 2005-05-17 Wim Taymans <wim@fluendo.com>
18073 * tools/gst-launch.c: (event_loop):
18074 Message was unreffed too soon.
18076 2005-05-16 Andy Wingo <wingo@pobox.com>
18078 * gst/gstbin.c (sink_iterator_filter): Err... um...
18080 * check/gst/gstbin.c (test_ghost_pads): New test for the
18081 ghosting-if-elements-not-in-same-bin behavior.
18083 2005-05-16 David Schleef <ds@schleef.org>
18085 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18086 accessing refcount directly.
18088 2005-05-15 David Schleef <ds@schleef.org>
18090 * check/Makefile.am: remove GstData checks
18091 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18092 * gst/Makefile.am: add miniobject, remove data
18093 * gst/gst.h: add miniobject, remove data
18094 * gst/gstdata.c: remove
18095 * gst/gstdata.h: remove
18096 * gst/gstdata_private.h: remove
18097 * gst/gsttypes.h: remove GstEvent and GstMessage
18098 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18099 * gst/gstmarshal.list: change BOXED -> OBJECT
18101 Implement GstMiniObject.
18102 * gst/gstminiobject.c:
18103 * gst/gstminiobject.h:
18105 Modify to be subclasses of GstMiniObject.
18106 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18107 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18108 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18109 (gst_subbuffer_get_type), (gst_subbuffer_init),
18110 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18113 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18114 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18115 (_gst_event_copy), (gst_event_new):
18117 * gst/gstmessage.c: (_gst_message_initialize),
18118 (gst_message_get_type), (gst_message_class_init),
18119 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18120 (gst_message_new), (gst_message_new_error),
18121 (gst_message_new_warning), (gst_message_new_tag),
18122 (gst_message_new_state_changed), (gst_message_new_application):
18123 * gst/gstmessage.h:
18124 * gst/gstprobe.c: (gst_probe_perform),
18125 (gst_probe_dispatcher_dispatch):
18127 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18128 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18129 (_gst_query_copy), (gst_query_new):
18131 Update elements for GstData -> GstMiniObject changes
18133 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18134 (gst_queue_chain), (gst_queue_loop):
18135 * gst/elements/gstbufferstore.c:
18136 (gst_buffer_store_add_buffer_func),
18137 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18138 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18139 (gst_fakesink_render):
18140 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18141 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18142 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18143 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18144 (gst_filesrc_create_read):
18145 * gst/elements/gstidentity.c: (gst_identity_class_init):
18146 * gst/elements/gsttypefindelement.c:
18147 (gst_type_find_element_src_event), (free_entry_buffers),
18148 (gst_type_find_element_handle_event):
18149 * libs/gst/dataprotocol/dataprotocol.c:
18150 (gst_dp_header_from_buffer):
18151 * libs/gst/dataprotocol/dataprotocol.h:
18152 * libs/gst/dataprotocol/dp-private.h:
18154 2005-05-15 David Schleef <ds@schleef.org>
18156 * gst/elements/gstelements.c: Don't include headers that were
18159 2005-05-15 David Schleef <ds@schleef.org>
18161 * gst/elements/Makefile.am: Remove some elements that don't
18162 need to be in the core (or even exist at all).
18163 * gst/elements/gstaggregator.c:
18164 * gst/elements/gstaggregator.h:
18165 * gst/elements/gstmd5sink.c:
18166 * gst/elements/gstmd5sink.h:
18167 * gst/elements/gstmultifilesrc.c:
18168 * gst/elements/gstmultifilesrc.h:
18169 * gst/elements/gstpipefilter.c:
18170 * gst/elements/gstpipefilter.h:
18171 * gst/elements/gstshaper.c:
18172 * gst/elements/gstshaper.h:
18173 * gst/elements/gststatistics.c:
18174 * gst/elements/gststatistics.h:
18175 * po/POTFILES.in: Remove above files.
18177 2005-05-14 Andy Wingo <wingo@pobox.com>
18179 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18180 so as to get the refs right.
18181 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18182 unreffing objects that don't pass the filter.
18184 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18185 gst_element_set_bus.
18186 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18187 normal cases, this will destroy the bus.
18189 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18192 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18195 2005-05-13 Andy Wingo <wingo@pobox.com>
18197 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18198 gst_pad_link, call pad_link_maybe_ghosting,
18199 (pad_link_maybe_ghosting): Links pads, making sure that the
18200 elements being linked are in the same bin.
18201 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18202 Helpers for pad_link_maybe_ghosting.
18204 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18207 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18209 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18211 * docs/design/part-element-source.txt:
18214 2005-05-12 Wim Taymans <wim@fluendo.com>
18216 * gst/base/gstbasesink.c: (gst_basesink_init),
18217 (gst_basesink_activate):
18218 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18219 (gst_basesrc_is_seekable):
18220 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18221 (bin_element_is_sink), (gst_bin_change_state):
18222 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18223 * gst/gstelement.h:
18224 Identify sinks by their flag to avoid overly complicated
18226 Do state changes even for elements not reachable from the
18228 BaseSink is a sink now :)
18229 Some more debugging info in the basesrc.
18232 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18234 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18235 Implement _query on a bin, similar to _send_event.
18237 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18239 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18240 Discont event offset format should be GST_FORMAT_BYTES,
18241 not GST_FORMAT_TIME.
18243 2005-05-12 Wim Taymans <wim@fluendo.com>
18245 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18246 Same fix as Ronald's but without the signal.
18248 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18250 * gst/gstutils.c: (gst_element_query_position):
18251 No, an element is not a pad.
18253 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18255 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18256 (gst_bin_get_state):
18257 If a child is removed from a bin while we remove the child from
18258 the bin and while we're retrieving its state, signal this to the
18259 get_state function so we abort the wait (instead of waiting for
18260 a timeout) and can immediately re-iterate over all other elements.
18262 2005-05-12 Wim Taymans <wim@fluendo.com>
18264 * gst/base/Makefile.am:
18265 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18266 (gst_basesrc_start):
18267 * gst/base/gstbasesrc.h:
18268 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18269 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18270 (gst_pushsrc_init), (gst_pushsrc_create):
18271 * gst/base/gstpushsrc.h:
18272 Added is_seekable to BaseSrc
18273 Added simple PushSrc.
18275 2005-05-11 Wim Taymans <wim@fluendo.com>
18277 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18278 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18279 (gst_element_link_pads), (gst_element_query_position),
18280 (gst_element_query_convert), (intersect_caps_func),
18281 (gst_pad_query_position), (gst_pad_query_convert):
18282 Fix refcounting in utils function.
18283 No point in trying to activate a pad when it's added, it could
18284 be added from the state change function and then we deadlock, the
18285 element has to decide what to do.
18287 2005-05-10 Andy Wingo <wingo@pobox.com>
18289 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18290 *all* the arguments.
18292 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18293 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18294 lock (according to the docs -- if this is wrong change the docs).
18296 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18297 flush messages in the NULL state.
18299 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18300 message immediately and return.
18301 (gst_bus_set_flushing): New function. If a bus is flushing, it
18302 flushes out any queued messages and immediately unrefs new
18303 messages. This is so when an element goes to NULL, all of the
18304 unhandled messages coming from it can be freed, and their
18305 references to the element dropped. In other words: message source
18306 ref considered harmful :P
18308 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18309 we're finished with it.
18311 * gst/gstmessage.c (gst_message_new_state_changed):
18313 2005-05-10 Wim Taymans <wim@fluendo.com>
18315 * gst/gstvalue.c: (gst_value_compare_flags),
18316 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18317 (_gst_value_initialize):
18318 Added flags serialize/deserialize/compare code.
18320 2005-05-09 Andy Wingo <wingo@pobox.com>
18322 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18323 Intersect the peer's caps with our caps.
18325 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18327 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18328 * gst/elements/gsttypefindelement.c: (find_peek):
18329 Handle negative offsets better. Fixes decodebin.
18331 2005-05-09 Wim Taymans <wim@fluendo.com>
18333 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18334 (gst_base_transform_event):
18335 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18336 Implement accept_caps.
18337 Fix silly lock/unlock mismatch in base class.
18339 2005-05-09 Wim Taymans <wim@fluendo.com>
18341 * docs/design/draft-push-pull.txt:
18342 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18343 * gst/elements/gstfilesink.c: (gst_filesink_init),
18344 (gst_filesink_query):
18345 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18346 (gst_type_find_handle_src_query), (find_element_get_length):
18347 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18348 * gst/gstelement.h:
18349 * gst/gstmessage.c:
18350 * gst/gstmessage.h:
18351 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18352 (gst_real_pad_get_caps_unlocked),
18353 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18354 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18355 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18356 (gst_real_pad_dispose), (gst_real_pad_finalize),
18357 (gst_pad_load_and_link), (gst_pad_save_thyself),
18358 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18359 (gst_pad_check_pull_range), (gst_pad_pull_range),
18360 (gst_pad_template_get_type), (gst_pad_template_class_init),
18361 (gst_pad_template_init), (gst_pad_template_dispose),
18362 (name_is_valid), (gst_static_pad_template_get),
18363 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18364 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18365 (gst_pad_get_element_private), (gst_pad_start_task),
18366 (gst_pad_pause_task), (gst_pad_stop_task),
18367 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18368 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18369 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18370 (gst_ghost_pad_new):
18372 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18373 (gst_query_new_position), (gst_query_set_position),
18374 (gst_query_parse_position), (gst_query_new_convert),
18375 (gst_query_set_convert), (gst_query_parse_convert):
18377 * gst/gstqueryutils.c:
18378 * gst/gstqueryutils.h:
18379 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18380 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18381 (gst_queue_handle_src_query):
18382 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18383 (gst_element_query_position), (gst_element_query_convert),
18384 (intersect_caps_func), (gst_pad_query_position),
18385 (gst_pad_query_convert):
18387 * tools/gst-inspect.c: (print_pad_info):
18388 * tools/gst-xmlinspect.c: (print_element_info):
18389 Remove old query functions. Ported old code.
18390 Added position/convert helper functions to gstutils.
18391 Reordered gstpad.c code, grouping relevant things.
18392 Remove gst_message_new(), always need to speficy a specific
18396 2005-05-09 Andy Wingo <wingo@pobox.com>
18398 * gst/gstiterator.h: Add some includes.
18400 * gst/gstqueryutils.h: Include more headers.
18403 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18404 some uses of gst_pad_query.
18406 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18407 NULL out parameters.
18408 (gst_query_new_position): New proc, allocates a new position
18411 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18412 gstqueryutils.c to the build.
18414 * gst/gststructure.c (gst_structure_set_valist): Implement with
18415 the generic G_VALUE_COLLECT.
18417 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18419 * gst/Makefile.am: (gst_headers):
18420 Added gstqueryutils.h to the list of headers to install, that was
18421 a 'nachty' move wingo :)
18423 2005-05-06 Andy Wingo <wingo@pobox.com>
18426 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18427 GstData, init a memchunk.
18428 (standard_definitions): Add a few query types, deprecate a few.
18429 (gst_query_get_type): New proc.
18430 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18432 (gst_query_new_application, gst_query_get_structure): New public
18435 * docs/design/draft-query.txt: Removed LINKS from the query types,
18436 because all the rest can be dispatched to other pads -- seemed
18437 ugly to have a query that couldn't be dispatched. internal_links
18438 is fine as a pad method.
18440 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18441 in gstpad.c, but maintain binary compatibility for the moment.
18442 Will fix before 0.9 is out.
18444 * gst/gstqueryutils.c:
18445 * gst/gstqueryutils.h: New files, implement 3 methods for each
18446 query type: parse_query, parse_response, and set. Probably need an
18449 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18451 * gst/elements/gstfilesink.c (gst_filesink_query2):
18452 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18453 query_types, and formats methods.
18455 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18456 (gst_pad_set_query2_function): New functions.
18457 (gst_real_pad_init): Set query2_default as the default query2
18458 function. Basically just dispatches to internally linked pads.
18462 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18463 without using the atomic operations. Only one thread can possibly
18464 be accessing the data at this point. Changed so as to avoid
18465 gst_atomic operations.
18467 2005-05-06 Wim Taymans <wim@fluendo.com>
18469 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18470 Also set caps if we use the fallback buffer alloc.
18472 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18474 * docs/gst/Makefile.am:
18475 * docs/gst/gstreamer-docs.sgml:
18476 * docs/gst/gstreamer-sections.txt:
18477 * docs/gst/tmpl/gstatomic.sgml:
18478 * docs/gst/tmpl/gstmemchunk.sgml:
18479 * testsuite/elements/struct_i386.h:
18480 * win32/GStreamer.vcproj:
18482 Purge GstAtomic stuff from docs and win32 makefiles as well
18484 2005-05-06 Wim Taymans <wim@fluendo.com>
18486 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18487 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18488 * gst/gstpad.c: (gst_pad_peer_get_caps):
18489 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18490 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18491 (gst_queue_src_activate), (gst_queue_change_state):
18493 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18494 (intersect_caps_func):
18495 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18496 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18497 Some fixes for the peer_get_caps() change.
18499 2005-05-06 Wim Taymans <wim@fluendo.com>
18501 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18502 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18503 (gst_basesink_activate):
18504 Actually do something with error codes returned from the push
18507 2005-05-06 Wim Taymans <wim@fluendo.com>
18509 * docs/design/part-element-sink.txt:
18510 * docs/design/part-element-source.txt:
18511 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18512 (gst_basesink_event), (gst_basesink_activate):
18513 * gst/base/gstbasesink.h:
18514 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18515 (gst_basesrc_activate):
18516 * gst/base/gstbasesrc.h:
18517 * gst/gstelement.c: (gst_element_pads_activate):
18518 Some more documentation.
18519 Fixed scheduling decision in _pads_activate().
18521 2005-05-05 Andy Wingo <wingo@pobox.com>
18523 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18526 2005-05-05 Wim Taymans <wim@fluendo.com>
18528 * gst/base/Makefile.am:
18529 * gst/base/gstbasesink.h:
18530 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18531 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18532 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18533 (gst_collectpads_class_init), (gst_collectpads_init),
18534 (gst_collectpads_finalize), (gst_collectpads_new),
18535 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18536 (find_pad), (gst_collectpads_remove_pad),
18537 (gst_collectpads_is_active), (gst_collectpads_collect),
18538 (gst_collectpads_collect_range), (gst_collectpads_start),
18539 (gst_collectpads_stop), (gst_collectpads_peek),
18540 (gst_collectpads_pop), (gst_collectpads_available),
18541 (gst_collectpads_read), (gst_collectpads_flush),
18542 (gst_collectpads_chain):
18543 * gst/base/gstcollectpads.h:
18544 * gst/elements/Makefile.am:
18545 * gst/elements/gstelements.c:
18546 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18547 (gst_fakesink_get_times), (gst_fakesink_event),
18548 (gst_fakesink_preroll), (gst_fakesink_render):
18549 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18550 (gst_filesink_init), (gst_filesink_set_location),
18551 (gst_filesink_open_file), (gst_filesink_close_file),
18552 (gst_filesink_pad_query), (gst_filesink_event),
18553 (gst_filesink_render), (gst_filesink_change_state):
18554 * gst/elements/gstfilesink.h:
18555 Added object to help in making collect pad based elements.
18557 Make event function in sink baseclass return gboolean.
18559 2005-05-05 Wim Taymans <wim@fluendo.com>
18561 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18562 (gst_bin_get_by_name):
18564 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18565 (gst_clock_finalize):
18566 * gst/gstdata.c: (gst_data_replace):
18568 * gst/gstelement.c: (gst_element_request_pad),
18569 (gst_element_pads_activate):
18570 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18571 (gst_object_unref):
18572 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18573 (gst_pad_set_checkgetrange_function),
18574 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18575 (gst_pad_check_pull_range), (gst_pad_pull_range),
18576 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18577 (gst_pad_pause_task), (gst_pad_stop_task):
18578 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18579 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18580 Fix name lookup in GstBin.
18581 Added _data_replace() function and _buffer_replace()
18582 Use finalize method to clean up clock.
18583 Fix refcounting on request pads.
18584 Fix pad schedule mode error.
18585 Some more object refcounting debug info,
18588 2005-05-04 Andy Wingo <wingo@pobox.com>
18590 * check/Makefile.am:
18591 * docs/gst/tmpl/gstatomic.sgml:
18592 * docs/gst/tmpl/gstplugin.sgml:
18593 * gst/base/gstbasesink.c: (gst_basesink_activate):
18594 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18595 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18596 (gst_basesrc_query), (gst_basesrc_set_property),
18597 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18598 (gst_basesrc_activate):
18599 * gst/base/gstbasesrc.h:
18600 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18601 (gst_base_transform_src_activate):
18602 * gst/elements/gstelements.c:
18603 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18604 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18605 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18606 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18607 (gst_type_find_element_checkgetrange),
18608 (gst_type_find_element_activate):
18609 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18610 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18611 (gst_caps_load_thyself):
18612 * gst/gstelement.c: (gst_element_pads_activate),
18613 (gst_element_save_thyself), (gst_element_restore_thyself):
18614 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18615 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18617 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18618 (gst_xml_parse_file), (gst_xml_parse_memory),
18619 (gst_xml_get_element), (gst_xml_make_element):
18620 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18621 (_file_index_id_save_xml), (gst_file_index_commit):
18622 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18623 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18625 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18626 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18627 * tools/gst-complete.c: (main):
18628 * tools/gst-compprep.c: (main):
18629 * tools/gst-inspect.c: (print_element_properties_info):
18630 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18631 * tools/gst-xmlinspect.c: (print_element_properties):
18634 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18636 * gst/gstplugin.c: (gst_plugin_check_module),
18637 (gst_plugin_check_file), (gst_plugin_load_file):
18638 apply patch from #172526 to make register work on MacOSX
18640 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18642 * docs/gst/tmpl/gstconfig.sgml:
18643 * gst/gstconfig.h.in:
18644 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18645 * testsuite/debug/printf_extension.c: (main):
18646 Do not use GST_PTR_FORMAT on pointers to types with
18647 sizeof < sizeof(gpointer). Fixes test on 64-bit
18648 * testsuite/elements/property.h:
18649 use correct printf format
18651 2005-05-02 Wim Taymans <wim@fluendo.com>
18653 * docs/design/draft-push-pull.txt:
18654 * docs/design/draft-query.txt:
18655 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18656 (gst_basesrc_start):
18657 Added draft for new query API.
18658 Added draft for better selecting scheduling methods.
18659 Make basesrc ignore length if the subclass does not support
18662 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18665 possible fixes for automake-1.5 - _LIBADD is reserved
18667 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18669 * docs/faq/Makefile.am:
18670 * docs/manual/Makefile.am:
18671 * docs/manuals.mak:
18672 * docs/pwg/Makefile.am:
18674 possible fixes for automake-1.5
18676 2005-04-28 Wim Taymans <wim@fluendo.com>
18678 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18679 (gst_basesink_pad_getcaps), (gst_basesink_init),
18680 (gst_basesink_do_sync):
18681 * gst/gstclock.c: (gst_clock_entry_new):
18682 * gst/gstevent.c: (gst_event_discont_get_value):
18683 * gst/gstpipeline.c: (pipeline_bus_handler),
18684 (gst_pipeline_change_state):
18685 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18686 Better debugging of clocking info.
18687 Allow NULL values when getting discont values.
18689 2005-04-27 Wim Taymans <wim@fluendo.com>
18691 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18692 * check/gst/gstpad.c: (gst_pad_suite):
18693 Increase timeout for checks.
18695 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18697 * check/Makefile.am:
18698 fix the broken rule for cleanup. Apparently this rule is
18699 only needed on FC2, so maybe this warrants further autotool
18702 2005-04-26 Wim Taymans <wim@fluendo.com>
18704 * gst/gsttrashstack.h:
18705 Ooohh. a nasty one! After having a failed pop() from the stack,
18706 it's possible that the stack is empty. In that case, don't
18707 follow the NULL pointer.
18709 2005-04-25 Wim Taymans <wim@fluendo.com>
18711 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18712 (gst_pad_set_checkgetrange_function),
18713 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18714 (gst_pad_check_pull_range), (gst_pad_pull_range),
18715 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18716 (gst_pad_pause_task), (gst_pad_stop_task):
18717 * gst/gstplugin.c: (gst_plugin_load):
18719 Remove gst_library_load as it does more harm than good with
18720 the new g_module flags.
18721 Revert bogus caps template check in pad linking, pad caps
18722 are important when linking not the template, which is more
18723 general than the current caps.
18725 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18727 * gst/autoplug/.cvsignore:
18728 * gst/autoplug/Makefile.am:
18729 * gst/autoplug/gstsearchfuncs.c:
18730 * gst/autoplug/gstsearchfuncs.h:
18731 * gst/autoplug/gstspider.c:
18732 * gst/autoplug/gstspider.h:
18733 * gst/autoplug/gstspideridentity.c:
18734 * gst/autoplug/gstspideridentity.h:
18735 * gst/autoplug/spidertest.c:
18738 2005-04-25 Wim Taymans <wim@fluendo.com>
18740 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18741 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
18742 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
18743 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
18745 Added stubs for unimplemented functions.
18747 2005-04-24 David Schleef <ds@schleef.org>
18749 * gst/gstpad.h: Disable some unimplemented functions. Wim,
18752 2005-04-24 David Schleef <ds@schleef.org>
18754 Convert everything from GstAtomicInt to g_atomic_int_*, and
18759 * gst/gstatomic_impl.h:
18767 * gst/gstdata_private.h:
18771 * gst/gstmessage.c:
18774 * gst/gststructure.c:
18775 * gst/gststructure.h:
18776 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
18779 2005-04-24 David Schleef <ds@schleef.org>
18781 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
18782 make the regressions tests work. Remove some code that is no
18784 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
18785 Disable warning for pads without templates.
18787 2005-04-24 David Schleef <ds@schleef.org>
18789 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
18790 functions that handle filtered links.
18791 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
18793 * gst/gstutils.c: Fix/remove utility functions that handle
18796 * gst/gstvalue.c: Add serialization/deserialization of caps
18797 * gst/parse/grammar.y: Ignore filtered caps when linking. This
18798 requires fixing so that the filter caps notation creates
18799 a capsfilter element and sets the filter_caps property. I
18800 think everyone probably wants to keep the shorthand notation.
18801 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
18802 * docs/gst/tmpl/gstpad.sgml:
18804 * gst/elements/gstelements.c: Register capsfilter element.
18805 * gst/Makefile.am: fix spacing
18806 * docs/random/ds/0.9-suggested-changes: random
18808 2005-04-23 David Schleef <ds@schleef.org>
18810 * gst/elements/Makefile.am:
18811 * gst/elements/gstcapsfilter.c: New element that acts like an
18812 identity, but filters caps. Will eventually replace filtered
18813 caps in pad linking.
18814 * gst/gstutils.c: (gst_element_create_all_pads): New function
18815 to create all the ALWAYS pads that are registered with an
18816 element class. This functionality should eventually be
18817 merged in with GstElement initialization.
18819 * testsuite/trigger/README: part of trigger test code that should
18820 have been checked in a long time ago.
18822 2005-04-23 David Schleef <ds@schleef.org>
18824 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
18825 needed with new versions of libtool (nobody will confirm this),
18826 and hard to carry around.
18827 * gst/autoplug/Makefile.am:
18828 * gst/base/Makefile.am:
18829 * gst/elements/Makefile.am:
18830 * gst/indexers/Makefile.am:
18831 * gst/schedulers/Makefile.am:
18832 * libs/gst/bytestream/Makefile.am:
18833 * libs/gst/control/Makefile.am:
18834 * libs/gst/dataprotocol/Makefile.am:
18835 * libs/gst/getbits/Makefile.am:
18837 2005-04-21 Wim Taymans <wim@fluendo.com>
18839 * docs/design/draft-push-pull.txt:
18840 * docs/design/part-MT-refcounting.txt:
18841 * docs/design/part-TODO.txt:
18842 * docs/design/part-caps.txt:
18843 * docs/design/part-events.txt:
18844 * docs/design/part-gstbus.txt:
18845 * docs/design/part-gstpipeline.txt:
18846 * docs/design/part-messages.txt:
18847 * docs/design/part-push-pull.txt:
18848 * docs/design/part-query.txt:
18851 2005-04-21 Wim Taymans <wim@fluendo.com>
18853 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
18854 (gst_message_new), (gst_message_new_error),
18855 (gst_message_new_warning), (gst_message_new_tag),
18856 (gst_message_new_state_changed), (gst_message_new_application),
18857 (gst_message_get_structure):
18858 * gst/gstmessage.h:
18859 * gst/gststructure.c: (gst_structure_set_parent_refcount),
18860 (gst_structure_copy_conditional):
18861 Use parent refcount in GstMessage to ensure GstStructure
18863 Cleaned up headers a bit.
18866 2005-04-20 Wim Taymans <wim@fluendo.com>
18868 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18869 (gst_basesink_pad_getcaps), (gst_basesink_init),
18870 (gst_basesink_chain_unlocked):
18871 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
18872 (gst_type_find_helper):
18873 * gst/elements/gsttypefindelement.c:
18874 (gst_type_find_element_have_type), (gst_type_find_element_init),
18875 (stop_typefinding), (gst_type_find_element_handle_event),
18876 (find_suggest), (gst_type_find_element_chain),
18877 (gst_type_find_element_checkgetrange),
18878 (gst_type_find_element_getrange), (do_typefind),
18879 (gst_type_find_element_activate):
18880 * gst/gstbuffer.c: (_gst_buffer_sub_free),
18881 (gst_buffer_default_free), (gst_buffer_default_copy),
18882 (gst_buffer_set_caps):
18883 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
18884 (gst_caps_replace):
18885 * gst/gstmessage.c: (gst_message_new),
18886 (gst_message_new_state_changed):
18887 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18888 (gst_pad_set_checkgetrange_function),
18889 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
18890 (gst_pad_set_caps), (gst_pad_check_pull_range),
18891 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
18893 * gst/gsttypefind.c: (gst_type_find_register):
18894 Make gst_caps_replace() work like other _replace() functions.
18895 Use _caps_replace() where possible.
18896 Make sure _message_new() initialises its field.
18897 Add gst_static_pad_template_get_caps()
18900 2005-04-18 Andy Wingo <wingo@pobox.com>
18902 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
18903 on the peer, not the pad. I think that was a typo. Pass an extra
18904 arg to see if random access is possible. Activate the pads as
18905 PULL_RANGE if possible.
18907 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
18909 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
18910 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
18913 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18915 * docs/faq/using.xml:
18916 Add note on gstreamer-properties (#154996).
18918 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18920 * docs/random/bbb/optional-properties:
18921 Some analysis on optional properties.
18923 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18925 * docs/gst/tmpl/gstelementfactory.sgml:
18926 * gst/gstelement.h:
18927 * gst/gstelementfactory.c: (gst_element_factory_init),
18928 (gst_element_factory_cleanup), (gst_element_register),
18929 (__gst_element_factory_add_static_pad_template),
18930 (gst_element_factory_get_static_pad_templates),
18931 (gst_element_factory_can_src_caps),
18932 (gst_element_factory_can_sink_caps):
18933 * gst/registries/Makefile.am:
18934 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
18935 (gst_xml_registry_class_init), (gst_xml_registry_init),
18936 (gst_xml_registry_new), (gst_xml_registry_set_property),
18937 (gst_xml_registry_get_property), (get_time), (make_dir),
18938 (gst_xml_registry_get_perms_func),
18939 (plugin_times_older_than_recurse), (plugin_times_older_than),
18940 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
18941 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
18942 (add_to_char_array), (read_string), (read_uint), (read_enum),
18943 (load_pad_template), (load_feature), (load_plugin), (load_paths),
18944 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
18945 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
18946 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
18947 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
18948 (gst_xml_registry_rebuild):
18949 * gst/registries/gstlibxmlregistry.h:
18950 * tools/gst-compprep.c: (main):
18951 * tools/gst-inspect.c: (print_pad_templates_info):
18952 * tools/gst-xmlinspect.c: (print_element_info):
18953 Use libxml2 for registry parsing, use staticpadtemplates in
18954 elementfactories. Makes gst_init() +/- 10x faster.
18956 2005-04-12 Wim Taymans <wim@fluendo.com>
18958 * gst/base/Makefile.am:
18959 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18960 (gst_basesink_pad_getcaps), (gst_basesink_init),
18961 (gst_basesink_event), (gst_basesink_change_state):
18962 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
18963 (gst_basesrc_init), (gst_basesrc_query),
18964 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
18965 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
18966 (gst_basesrc_check_get_range), (gst_basesrc_loop),
18967 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
18968 (gst_basesrc_stop), (gst_basesrc_activate),
18969 (gst_basesrc_change_state):
18970 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18971 (helper_find_suggest), (gst_type_find_helper):
18972 * gst/base/gsttypefindhelper.h:
18973 * gst/elements/Makefile.am:
18974 * gst/elements/gstelements.c:
18975 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18976 (gst_fakesink_get_times), (gst_fakesink_event),
18977 (gst_fakesink_preroll), (gst_fakesink_render):
18978 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18979 (gst_fakesrc_init), (gst_fakesrc_event_handler),
18980 (gst_fakesrc_get_property), (gst_fakesrc_create),
18981 (gst_fakesrc_start), (gst_fakesrc_stop):
18982 * gst/elements/gstfakesrc.h:
18983 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
18984 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
18985 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
18986 (gst_filesrc_create_read), (gst_filesrc_create),
18987 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
18988 (gst_filesrc_start):
18989 * gst/elements/gsttypefindelement.c:
18990 (gst_type_find_element_have_type), (gst_type_find_element_init),
18991 (start_typefinding), (stop_typefinding), (push_buffer_store),
18992 (gst_type_find_element_handle_event),
18993 (gst_type_find_element_chain),
18994 (gst_type_find_element_checkgetrange),
18995 (gst_type_find_element_getrange), (do_typefind),
18996 (gst_type_find_element_activate),
18997 (gst_type_find_element_change_state):
18998 * gst/elements/gsttypefindelement.h:
18999 * gst/gstpipeline.c: (pipeline_bus_handler):
19000 Added typefind helper.
19001 Small preroll fix in the base sink.
19002 Disable typefind code in basesrc.
19003 Crude port of typefindelement.
19007 2005-04-11 Wim Taymans <wim@fluendo.com>
19009 * check/gst/gstbus.c: (gstbus_suite):
19010 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19011 * check/gstcheck.h:
19012 Fix up the timeout so that the test does not fail.
19014 2005-04-06 Wim Taymans <wim@fluendo.com>
19017 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19018 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19019 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19020 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19021 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19022 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19023 (gst_basesrc_stop), (gst_basesrc_activate),
19024 (gst_basesrc_change_state), (basesrc_find_peek),
19025 (basesrc_find_suggest), (gst_basesrc_type_find):
19026 * gst/base/gstbasesrc.h:
19027 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19028 (gst_filesrc_class_init), (gst_filesrc_init),
19029 (gst_filesrc_finalize), (gst_filesrc_set_location),
19030 (gst_filesrc_set_property), (gst_filesrc_get_property),
19031 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19032 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19033 (gst_filesrc_create_read), (gst_filesrc_create),
19034 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19035 * gst/elements/gstfilesrc.h:
19036 * gst/gstelement.c: (gst_element_get_state_func),
19037 (gst_element_lost_state), (gst_element_pads_activate):
19038 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19039 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19040 (gst_pad_pull_range):
19042 More work on the generic source base class, implement seeking,
19044 Make filesrc extend the base source class.
19045 Added gst_pad_set_checkgetrange_function to GstPad.
19047 2005-04-06 Andy Wingo <wingo@pobox.com>
19049 * pkgconfig/gstreamer-base.pc.in:
19050 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19052 * pkgconfig/Makefile.am:
19053 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19055 2005-04-04 Wim Taymans <wim@fluendo.com>
19057 * gst/base/Makefile.am:
19059 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19060 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19061 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19062 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19063 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19064 (gst_basesrc_base_init), (gst_basesrc_class_init),
19065 (gst_basesrc_init), (gst_basesrc_get_formats),
19066 (gst_basesrc_get_query_types), (gst_basesrc_query),
19067 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19068 (gst_basesrc_set_property), (gst_basesrc_get_property),
19069 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19070 (gst_basesrc_loop), (gst_basesrc_activate),
19071 (gst_basesrc_change_state):
19072 * gst/base/gstbasesrc.h:
19073 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19074 (gst_fakesrc_class_init), (gst_fakesrc_init),
19075 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19076 (gst_fakesrc_get_property), (gst_fakesrc_create):
19077 * gst/elements/gstfakesrc.h:
19078 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19079 (gst_filesrc_open_file), (gst_filesrc_loop),
19080 (gst_filesrc_activate), (filesrc_find_peek),
19081 (gst_filesrc_type_find):
19082 Made base source class, make fakesrc extend it.
19083 Add comments to basesink class.
19084 Some filesrc cleanup.
19086 2005-03-31 David Schleef <ds@schleef.org>
19088 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19089 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19090 expected to link against libgstreamer.
19091 * gst/base/Makefile.am: link against libgstreamer
19092 * gst/elements/Makefile.am: same
19094 2005-03-31 Andy Wingo <wingo@pobox.com>
19096 * tests/instantiate/Makefile.am:
19097 * tests/instantiate/caps.c: Add test to test speed of caps copy
19100 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19101 GMemChunk to be fair.
19103 * gst/gsttrashstack.h: Remove warning about using the fallback
19104 trash stack implementation, it's still faster than malloc.
19106 2005-03-30 Andy Wingo <wingo@pobox.com>
19108 * tests/complexity.c: Add a copyright.
19110 2005-03-31 Wim Taymans <wim@fluendo.com>
19112 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19113 (gst_base_transform_class_init), (gst_base_transform_init),
19114 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19115 (gst_base_transform_get_property),
19116 (gst_base_transform_sink_activate),
19117 (gst_base_transform_src_activate),
19118 (gst_base_transform_change_state):
19119 * gst/base/gstbasetransform.h:
19120 * gst/elements/gstidentity.c: (gst_identity_class_init),
19121 (gst_identity_event), (gst_identity_check_perfect),
19122 (gst_identity_transform), (gst_identity_start),
19123 (gst_identity_stop):
19124 Added start/stop methods to transform base class so subclasses
19125 don't need to deal with state changes even.
19127 2005-03-31 Wim Taymans <wim@fluendo.com>
19129 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19130 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19133 (gst_pad_pull_range):
19134 Added rate to the discont event to prepare for variable speed
19135 and reverse playback.
19137 2005-03-29 David Schleef <ds@schleef.org>
19140 * testsuite/trigger/Makefile.am:
19141 * testsuite/trigger/trigger.c: A little example program to show
19142 how trigger-based elements can work.
19144 2005-03-29 Wim Taymans <wim@fluendo.com>
19146 * gst/base/Makefile.am:
19148 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19149 (gst_basesink_base_init), (gst_basesink_class_init),
19150 (gst_basesink_pad_getcaps), (gst_basesink_init),
19151 (gst_basesink_activate), (gst_basesink_change_state):
19152 * gst/base/gstbasesink.h:
19153 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19154 (gst_base_transform_base_init), (gst_base_transform_finalize),
19155 (gst_base_transform_class_init), (gst_base_transform_init),
19156 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19157 (gst_base_transform_event), (gst_base_transform_getrange),
19158 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19159 (gst_base_transform_set_property),
19160 (gst_base_transform_get_property),
19161 (gst_base_transform_sink_activate),
19162 (gst_base_transform_src_activate),
19163 (gst_base_transform_change_state):
19164 * gst/base/gstbasetransform.h:
19165 * gst/elements/gstidentity.c: (gst_identity_finalize),
19166 (gst_identity_class_init), (gst_identity_init),
19167 (gst_identity_event), (gst_identity_check_perfect),
19168 (gst_identity_transform), (gst_identity_set_property),
19169 (gst_identity_get_property), (gst_identity_change_state):
19170 * gst/elements/gstidentity.h:
19171 * gst/gstelement.c: (gst_element_get_state_func),
19172 (gst_element_lost_state), (gst_element_pads_activate):
19173 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19174 (gst_pad_check_pull_range), (gst_pad_pull_range):
19176 Simplify pad activation.
19177 Added function to check if pull_range can be performed.
19178 Error out when pulling inactive or flushing pads.
19179 Removed const from refcounted types as it does not make sense.
19180 Simplify pad templates in basesink
19181 Added base class for simple 1-to-1 transforms.
19182 Make identity subclass the base transform.
19184 2005-03-29 Andy Wingo <wingo@pobox.com>
19186 * docs/libs/gstreamer-libs-overrides.txt:
19187 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19188 really don't understand what's going on, but like whatever. I want
19191 * docs/gst/Makefile.am:
19192 * docs/libs/Makefile.am: Dist the overrides files.
19194 * check/Makefile.am (clean-local): Remove .libs directories.
19196 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19197 elements to EXTRA_DIST, so po/ files are happy.
19199 * po/POTFILES.in: Er, remove it here.
19201 * po/POTFILES: Remove gstspider.c.
19203 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19205 * docs/libs/gstreamer-libs-docs.sgml:
19206 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19209 * tests/complexity.c (main): Set the length of the preroll queue
19210 on the sinks to prevent a lockup.
19212 * libs/gst/dataprotocol/Makefile.am:
19213 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19214 the same as the one in check/gst-libs/gdp.c.
19216 * po/, docs/gst/: Commit automatic changes to docs and po files.
19218 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19219 the versioned libgstbase.
19221 * check/Makefile.am: Depend on an unversioned gst-register, seems
19222 to make autoconf happier.
19224 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19226 2005-03-28 Wim Taymans <wim@fluendo.com>
19229 * docs/design/part-gstelement.txt:
19230 * docs/design/part-negotiation.txt:
19231 * docs/design/part-preroll.txt:
19232 * docs/design/part-scheduling.txt:
19233 * docs/design/part-states.txt:
19235 * gst/base/Makefile.am:
19237 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19238 (gst_basesink_base_init), (gst_basesink_class_init),
19239 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19240 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19241 (gst_basesink_set_pad_functions),
19242 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19243 (gst_basesink_set_property), (gst_basesink_get_property),
19244 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19245 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19246 (gst_basesink_preroll_queue_push),
19247 (gst_basesink_preroll_queue_empty),
19248 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19249 (gst_basesink_event), (gst_basesink_get_times),
19250 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19251 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19252 (gst_basesink_loop), (gst_basesink_activate),
19253 (gst_basesink_change_state):
19254 * gst/base/gstbasesink.h:
19255 * gst/elements/Makefile.am:
19256 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19257 (gst_fakesink_class_init), (gst_fakesink_init),
19258 (gst_fakesink_set_property), (gst_fakesink_get_property),
19259 (gst_fakesink_get_times), (gst_fakesink_event),
19260 (gst_fakesink_preroll), (gst_fakesink_render),
19261 (gst_fakesink_change_state):
19262 * gst/elements/gstfakesink.h:
19263 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19264 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19265 * gst/gstelement.c: (gst_element_add_pad),
19266 (gst_element_get_state_func), (gst_element_abort_state),
19267 (gst_element_commit_state), (gst_element_lost_state),
19268 (gst_element_set_state), (gst_element_pads_activate):
19269 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19270 * gst/gstpipeline.c: (gst_pipeline_send_event),
19271 (gst_pipeline_change_state):
19272 Added state change code.
19273 Added/updated docs.
19274 Added sink base class, make fakesink extend the base class.
19275 Small cleanups in GstPipeline.
19277 2005-03-26 David Schleef <ds@schleef.org>
19279 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19280 is broken and should be implemented in a different library.
19281 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19282 * gst/gst.h: remove gstcpu.h
19283 * gst/gstcpu.c: remove
19284 * gst/gstcpu.h: remove
19285 * gst/Makefile.am.future: Remove this file. It's ancient.
19287 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19289 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19290 (gst_bin_send_event):
19291 Add default event/set_manager handlers. The set_manager handler
19292 takes care that the manager is distributed over kids that were
19293 already in the bin before the manager was set. The event handler
19294 is a utility virtual function that sends the event over all sinks,
19295 so that gst_element_send_event (bin, event); has the expected
19297 * gst/gstpad.c: (gst_pad_event_default):
19298 Re-install default event handling for discontinuities, so that
19299 seeking works without requiring hacks in applications or extra
19301 * gst/gstpipeline.c: (gst_pipeline_class_init),
19302 (gst_pipeline_send_event):
19303 Half hack, half utility: set a pipeline to PAUSED for seek events,
19304 since that is the only way we can guarantee a/v sync. Means that
19305 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19306 and it "just works".
19308 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19310 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19311 Lock/unlock mismatch.
19313 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19315 * docs/faq/gst-uninstalled:
19316 add gst-plugins-base
19317 * docs/gst/Makefile.am:
19318 don't error out until docs are fixed
19319 * docs/gst/gstreamer.types:
19322 2005-03-22 Wim Taymans <wim@fluendo.com>
19324 * check/Makefile.am:
19325 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19326 * gst/gststructure.c: (gst_structure_set_valist),
19327 (gst_structure_copy_conditional):
19328 Activated more tests.
19329 Added message test.
19330 Added G_TYPE_POINTER to GstStructure.
19333 2005-03-22 Wim Taymans <wim@fluendo.com>
19335 * docs/design/part-TODO.txt:
19336 * docs/design/part-events.txt:
19337 * docs/design/part-gstbin.txt:
19338 * docs/design/part-gstbus.txt:
19339 * docs/design/part-gstpipeline.txt:
19340 * docs/design/part-messages.txt:
19342 * gst/gstmessage.c:
19345 2005-03-21 Wim Taymans <wim@fluendo.com>
19347 * gst/gstbus.c: (gst_bus_post):
19348 Fix copy-and-paste error.
19350 2005-03-21 Wim Taymans <wim@fluendo.com>
19352 * check/Makefile.am:
19354 * gst/elements/Makefile.am:
19355 * gst/elements/gstelements.c:
19356 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19357 (gst_fakesink_event), (gst_fakesink_chain):
19358 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19359 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19360 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19361 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19362 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19363 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19364 (gst_fakesrc_loop), (gst_fakesrc_activate),
19365 (gst_fakesrc_change_state):
19366 * gst/elements/gstfakesrc.h:
19367 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19368 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19369 (gst_filesrc_open_file), (gst_filesrc_loop),
19370 (gst_filesrc_activate), (gst_filesrc_change_state),
19371 (filesrc_find_peek), (filesrc_find_suggest),
19372 (gst_filesrc_type_find):
19373 * gst/elements/gstidentity.c: (gst_identity_finalize),
19374 (gst_identity_class_init), (gst_identity_init),
19375 (gst_identity_proxy_getcaps), (identity_queue_push),
19376 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19377 (gst_identity_getrange), (gst_identity_chain),
19378 (gst_identity_sink_loop), (gst_identity_src_loop),
19379 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19380 (gst_identity_set_property), (gst_identity_get_property),
19381 (gst_identity_change_state):
19382 * gst/elements/gstidentity.h:
19383 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19384 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19385 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19386 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19387 (gst_tee_sink_activate):
19388 * gst/elements/gsttee.h:
19389 * gst/gst.c: (gst_register_core_elements), (init_post):
19391 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19392 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19393 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19394 (gst_bin_change_state):
19396 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19397 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19398 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19399 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19400 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19401 (bus_watch_callback), (bus_watch_destroy),
19402 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19403 (poll_timeout), (gst_bus_poll):
19407 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19408 (gst_element_post_message), (gst_element_message_full),
19409 (gst_element_get_state_func), (gst_element_get_state),
19410 (gst_element_abort_state), (gst_element_commit_state),
19411 (gst_element_lost_state), (gst_element_set_state),
19412 (gst_element_pads_activate), (gst_element_change_state),
19413 (gst_element_dispose), (gst_element_set_manager_func),
19414 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19415 (gst_element_set_manager), (gst_element_get_manager),
19416 (gst_element_set_bus), (gst_element_get_bus),
19417 (gst_element_set_scheduler), (gst_element_get_scheduler):
19418 * gst/gstelement.h:
19419 * gst/gstevent.c: (gst_event_new_segment_seek),
19420 (gst_event_new_flush):
19422 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19423 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19424 (gst_message_new_eos), (gst_message_new_error),
19425 (gst_message_new_warning), (gst_message_new_tag),
19426 (gst_message_new_state_changed), (gst_message_new_application),
19427 (gst_message_get_structure), (gst_message_parse_tag),
19428 (gst_message_parse_state_changed), (gst_message_parse_error),
19429 (gst_message_parse_warning):
19430 * gst/gstmessage.h:
19431 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19432 (gst_real_pad_set_property), (gst_pad_set_active),
19433 (gst_pad_is_active), (gst_pad_set_blocked_async),
19434 (gst_pad_set_blocked), (gst_pad_is_blocked),
19435 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19436 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19437 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19438 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19439 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19440 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19441 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19442 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19443 (gst_pad_set_caps), (gst_pad_configure_sink),
19444 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19445 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19446 (gst_real_pad_dispose), (gst_real_pad_finalize),
19447 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19448 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19449 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19451 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19452 (pipeline_bus_handler), (gst_pipeline_change_state),
19453 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19454 * gst/gstpipeline.h:
19456 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19457 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19458 (gst_queue_link_src), (gst_queue_bufferalloc),
19459 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19460 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19461 (gst_queue_loop), (gst_queue_handle_src_event),
19462 (gst_queue_handle_src_query), (gst_queue_src_activate),
19463 (gst_queue_change_state):
19465 * gst/gstscheduler.c: (gst_scheduler_init),
19466 (gst_scheduler_dispose), (gst_scheduler_create_task),
19467 (gst_scheduler_factory_create):
19468 * gst/gstscheduler.h:
19469 * gst/gststructure.c: (gst_structure_get_type),
19470 (gst_structure_copy_conditional):
19471 * gst/gststructure.h:
19472 * gst/gsttaginterface.h:
19473 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19474 (gst_task_init), (gst_task_dispose), (gst_task_create),
19475 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19481 * gst/schedulers/Makefile.am:
19482 * gst/schedulers/cothreads_compat.h:
19483 * gst/schedulers/entryscheduler.c:
19484 * gst/schedulers/faircothreads.c:
19485 * gst/schedulers/faircothreads.h:
19486 * gst/schedulers/fairscheduler.c:
19487 * gst/schedulers/gstbasicscheduler.c:
19488 * gst/schedulers/gstoptimalscheduler.c:
19489 * gst/schedulers/gthread-cothreads.h:
19490 * gst/schedulers/threadscheduler.c:
19491 (gst_thread_scheduler_task_get_type),
19492 (gst_thread_scheduler_task_class_init),
19493 (gst_thread_scheduler_task_init),
19494 (gst_thread_scheduler_task_start),
19495 (gst_thread_scheduler_task_stop),
19496 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19497 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19498 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19499 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19501 * libs/gst/Makefile.am:
19502 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19503 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19504 (gst_file_pad_parent_set):
19505 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19506 (gst_dp_event_from_packet):
19507 * tests/complexity.c: (main):
19508 * tests/mass_elements.c: (main):
19509 * testsuite/states/locked.c: (message_received), (main):
19510 * testsuite/states/parent.c: (main):
19511 * tools/gst-inspect.c: (print_element_flag_info),
19512 (print_implementation_info), (print_pad_info):
19513 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19515 * tools/gst-md5sum.c: (event_loop), (main):
19516 * tools/gst-typefind.c: (main):
19517 * tools/gst-xmlinspect.c: (print_element_info):
19519 Added GstBus for mainloop integration.
19520 Added GstMessage for sending notifications on the bus.
19521 Added GstTask as an abstraction for pipeline entry points.
19523 Removed Schedulers.
19524 Simplified GstQueue for multithreaded core.
19525 Made _link threadsafe, removed old capsnego.
19526 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19527 Added pad blocking functions.
19528 Reworked scheduling functions in GstPad to prepare for
19529 scheduling updates soon.
19530 Moved events out of data stream.
19531 Simplified GstEvent types.
19532 Added return values to push/pull.
19533 Removed clocking from GstElement.
19534 Added prototypes for state change function for next merge.
19535 Removed iterate from bins and state change management.
19536 Fixed some elements, disabled others for now.
19537 Fixed -inspect and -launch.
19538 Added check for GstBus.
19540 2005-03-10 Wim Taymans <wim@fluendo.com>
19542 * docs/design/part-MT-refcounting.txt:
19543 * docs/design/part-clocks.txt:
19544 * docs/design/part-gstelement.txt:
19545 * docs/design/part-gstobject.txt:
19546 * docs/design/part-standards.txt:
19547 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19548 (gst_bin_remove_func), (gst_bin_remove):
19552 * testsuite/clock/clock1.c: (main):
19553 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19555 * testsuite/dlopen/loadgst.c: (do_test):
19556 * testsuite/refcounting/bin.c: (add_remove_test1),
19557 (add_remove_test2), (main):
19558 * testsuite/refcounting/element.c: (main):
19559 * testsuite/refcounting/element_pad.c: (main):
19560 * testsuite/refcounting/pad.c: (main):
19561 * tools/gst-launch.c: (sigint_handler_sighandler):
19562 * tools/gst-typefind.c: (main):
19564 Added doc about clock.
19565 removed gst_bin_iterate_recurse_up(), marked methods
19567 Fix more testsuites.
19569 2005-03-09 Wim Taymans <wim@fluendo.com>
19571 * gst/gstpad.c: (gst_pad_get_direction),
19572 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19573 (gst_pad_collect_valist):
19574 * testsuite/bins/interface.c: (main):
19575 * testsuite/caps/audioscale.c: (test_caps):
19576 * testsuite/caps/caps.c: (test1), (test2), (test3):
19577 * testsuite/caps/deserialize.c: (main):
19578 * testsuite/caps/enumcaps.c: (main):
19579 * testsuite/caps/filtercaps.c: (main):
19580 * testsuite/caps/intersect2.c: (main):
19581 * testsuite/caps/random.c: (main):
19582 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19583 * testsuite/caps/sets.c: (check_caps):
19584 * testsuite/caps/simplify.c: (check_caps), (main):
19585 * testsuite/caps/subtract.c: (check_caps):
19586 Fix _pad_get_direction wrt ghostpads.
19587 Fix caps testsuite.
19589 2005-03-09 Wim Taymans <wim@fluendo.com>
19591 * check/Makefile.am:
19592 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19593 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19594 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19595 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19596 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19597 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19598 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19599 (bin_element_is_sink), (gst_bin_iterate_sinks),
19600 (gst_bin_iterate_all_by_interface):
19602 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19603 (gst_element_change_state), (gst_element_dispose),
19604 (gst_element_finalize), (gst_element_set_loop_function):
19605 * gst/gstelement.h:
19606 * gst/gstiterator.c: (find_custom_fold_func):
19607 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19608 (gst_pad_collectv), (gst_pad_collect_valist),
19609 (gst_pad_template_new):
19610 * gst/gstpipeline.c: (gst_pipeline_class_init),
19611 (gst_pipeline_dispose), (gst_pipeline_set_property),
19612 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19613 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19614 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19616 * gst/schedulers/entryscheduler.c:
19617 * gst/schedulers/gstbasicscheduler.c:
19618 (gst_basic_scheduler_cothreaded_chain),
19619 (gst_basic_scheduler_chain_add_element):
19620 * testsuite/bins/interface.c: (main):
19622 Added GstSystemClock test.
19623 Implemented clock distribution code in GstBin.
19624 Implemented iterate sinks method for future use.
19625 Rearranged gstelement.h
19626 Fix GstIterator comparison bug.
19627 Moved some code to GstPipeline, mostly clocking related.
19629 2005-03-09 Wim Taymans <wim@fluendo.com>
19632 * gst/gst_private.h:
19633 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19634 (gst_bin_remove_func), (gst_bin_remove),
19635 (gst_bin_get_by_name_recurse_up):
19636 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19637 (gst_clock_id_compare_func), (gst_clock_id_wait),
19638 (gst_clock_id_wait_async), (gst_clock_init),
19639 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19640 * gst/gstelement.h:
19641 * gst/gstinfo.c: (_gst_debug_init):
19643 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19644 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19646 Bump version number, we're now 0.9.0
19647 Add future debugging category.
19648 Fix NULL _unref() in _get_by_name_recurse_up
19649 Rearrange gstpad.h.
19652 2005-03-08 Wim Taymans <wim@fluendo.com>
19654 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19655 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19656 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19657 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19658 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19659 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19660 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19661 * gst/elements/gstidentity.c: (gst_identity_class_init):
19662 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19663 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19664 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19665 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19666 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19668 * gst/gstelement.c: (gst_element_class_init),
19669 (gst_element_base_class_init), (gst_element_init),
19670 (gst_element_get_random_pad), (gst_element_wait_state_change),
19671 (gst_element_change_state), (gst_element_dispose),
19672 (gst_element_finalize), (gst_element_set_loop_function):
19673 * gst/gstelement.h:
19674 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19675 * gst/gstthread.c: (gst_thread_class_init),
19676 (gst_thread_release_children_locks), (gst_thread_change_state):
19677 * gst/schedulers/gstbasicscheduler.c:
19678 (gst_basic_scheduler_loopfunc_wrapper),
19679 (gst_basic_scheduler_chain_wrapper),
19680 (gst_basic_scheduler_src_wrapper),
19681 (gst_basic_scheduler_remove_element):
19682 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19683 Remove threadsafe properties. Fix elements because GObject
19684 complains when installing a property before declaring a
19685 set/get_property handler.
19686 Rearrange gstelement.h file, use STATE macros for state locks.
19687 Free mutexes in the finalize method instead of dispose.
19689 2005-03-08 Wim Taymans <wim@fluendo.com>
19691 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19692 * gst/gstthread.c: (gst_thread_release_children_locks):
19693 Added parentage check.
19694 Fix build og GstThread again.
19696 2005-03-08 Wim Taymans <wim@fluendo.com>
19698 * docs/design/part-MT-refcounting.txt:
19699 * docs/design/part-conventions.txt:
19700 * docs/design/part-gstobject.txt:
19701 * docs/design/part-relations.txt:
19702 * docs/design/part-standards.txt:
19703 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19704 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19705 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19706 (gst_bin_iterate_all_by_interface):
19709 * gst/gstelement.c: (gst_element_class_init),
19710 (gst_element_change_state), (gst_element_set_loop_function):
19711 * gst/gstelement.h:
19712 * gst/gstiterator.c:
19713 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19714 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19715 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19716 (gst_object_set_parent), (gst_object_unparent),
19717 (gst_object_check_uniqueness):
19719 Docs updates, clean up some headers.
19721 2005-03-07 Wim Taymans <wim@fluendo.com>
19723 * check/.cvsignore:
19724 * check/Makefile.am:
19725 * check/gst-libs/.cvsignore:
19726 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
19727 * check/gst/.cvsignore:
19728 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
19729 (START_TEST), (gstbus_suite), (main):
19730 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
19731 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
19732 (gst_data_suite), (main):
19733 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
19734 (add_fold_func), (gstiterator_suite), (main):
19735 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
19736 (thread_name_object), (thread_name_object_default),
19737 (gst_object_name_compare), (gst_object_suite), (main):
19738 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
19739 (gst_pad_suite), (main):
19740 * check/gstcheck.c: (gst_check_log_message_func),
19741 (gst_check_log_critical_func), (gst_check_init):
19742 * check/gstcheck.h:
19743 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
19744 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
19747 2005-03-07 Wim Taymans <wim@fluendo.com>
19749 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
19750 (gst_list_iterator_next), (gst_list_iterator_resync),
19751 (gst_list_iterator_free), (gst_iterator_new_list),
19752 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
19753 (gst_iterator_free), (gst_iterator_push), (filter_next),
19754 (filter_resync), (filter_uninit), (filter_free),
19755 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
19756 (gst_iterator_foreach), (find_custom_fold_func),
19757 (gst_iterator_find_custom):
19758 * gst/gstiterator.h:
19759 Added missing files.
19761 2005-03-07 Wim Taymans <wim@fluendo.com>
19765 * docs/design/part-MT-refcounting.txt:
19766 * docs/design/part-conventions.txt:
19767 * docs/design/part-gstobject.txt:
19768 * docs/design/part-relations.txt:
19769 * examples/mixer/mixer.c: (main):
19770 * examples/thread/thread.c: (eos), (main):
19772 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
19773 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
19774 (gst_spider_plug_from_srcpad):
19775 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
19776 (gst_spider_identity_change_state),
19777 (gst_spider_identity_sink_loop_type_finding):
19778 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
19779 * gst/elements/gstidentity.c: (gst_identity_init):
19780 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
19781 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
19782 * gst/elements/gsttypefindelement.c: (free_entry):
19785 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
19786 (gst_bin_set_clock_func), (gst_bin_auto_clock),
19787 (gst_bin_set_index), (gst_bin_set_element_sched),
19788 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
19789 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
19790 (gst_bin_iterate_elements), (iterate_child_recurse),
19791 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
19792 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
19793 (compare_interface), (gst_bin_get_by_interface),
19794 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
19796 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
19797 (gst_buffer_default_free), (gst_buffer_default_copy),
19798 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
19799 (gst_buffer_create_sub):
19801 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
19802 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
19803 (gst_caps_unref), (gst_static_caps_get),
19804 (gst_caps_remove_and_get_structure), (gst_caps_append),
19805 (gst_caps_append_structure), (gst_caps_remove_structure),
19806 (gst_caps_copy_nth), (gst_caps_set_simple),
19807 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
19808 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
19809 (gst_caps_structure_intersect_field), (gst_caps_intersect),
19810 (gst_caps_structure_subtract_field), (gst_caps_subtract),
19811 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
19812 (gst_caps_structure_figure_out_union),
19813 (gst_caps_switch_structures), (gst_caps_do_simplify),
19814 (gst_caps_replace), (gst_caps_from_string),
19815 (gst_caps_copy_conditional):
19817 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
19818 (_gst_clock_id_free), (gst_clock_id_unref),
19819 (gst_clock_id_compare_func), (gst_clock_id_wait),
19820 (gst_clock_id_wait_async), (gst_clock_class_init),
19821 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
19822 (gst_clock_get_time), (gst_clock_set_time_adjust),
19823 (gst_clock_set_property), (gst_clock_get_property):
19826 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
19827 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
19829 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19830 (gst_element_requires_clock), (gst_element_provides_clock),
19831 (gst_element_set_clock), (gst_element_clock_wait),
19832 (gst_element_wait), (gst_element_set_time_delay),
19833 (gst_element_is_indexable), (gst_element_add_pad),
19834 (gst_element_add_ghost_pad), (gst_element_remove_pad),
19835 (pad_compare_name), (gst_element_get_static_pad),
19836 (gst_element_request_pad), (gst_element_get_request_pad),
19837 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
19838 (gst_element_class_get_pad_template_list),
19839 (gst_element_class_get_pad_template), (gst_element_error_func),
19840 (gst_element_get_random_pad), (gst_element_get_event_masks),
19841 (gst_element_send_event), (gst_element_seek),
19842 (gst_element_get_query_types), (gst_element_query),
19843 (gst_element_get_formats), (gst_element_convert),
19844 (gst_element_is_locked_state), (gst_element_set_locked_state),
19845 (gst_element_sync_state_with_parent), (gst_element_change_state),
19846 (gst_element_finalize), (gst_element_yield),
19847 (gst_element_interrupt), (gst_element_set_scheduler),
19848 (gst_element_get_scheduler), (gst_element_set_loop_function):
19849 * gst/gstelement.h:
19851 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
19852 (gst_format_get_by_nick), (gst_format_get_details),
19853 (gst_format_iterate_definitions):
19855 * gst/gstindex.c: (gst_index_gtype_resolver):
19858 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
19859 (gst_mem_chunk_free):
19860 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19861 (gst_object_ref), (gst_object_unref), (gst_object_sink),
19862 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
19863 (gst_object_dispatch_properties_changed),
19864 (gst_object_set_name_default), (gst_object_set_name),
19865 (gst_object_get_name), (gst_object_set_name_prefix),
19866 (gst_object_get_name_prefix), (gst_object_set_parent),
19867 (gst_object_get_parent), (gst_object_unparent),
19868 (gst_object_check_uniqueness), (gst_object_save_thyself),
19869 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
19870 (gst_object_set_property), (gst_object_get_property),
19871 (gst_object_get_path_string):
19873 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
19874 (gst_real_pad_init), (gst_real_pad_get_property),
19875 (gst_pad_custom_new), (gst_pad_get_direction),
19876 (gst_pad_set_active), (gst_pad_is_active),
19877 (gst_pad_set_event_function), (gst_pad_is_linked),
19878 (gst_pad_link_free), (gst_pad_link_intersect),
19879 (gst_pad_link_fixate), (gst_pad_set_caps),
19880 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
19881 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
19882 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
19883 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
19884 (gst_pad_get_caps), (gst_pad_peer_get_caps),
19885 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
19886 (gst_pad_realize), (gst_pad_get_allowed_caps),
19887 (gst_real_pad_dispose), (gst_real_pad_finalize),
19888 (gst_pad_collectv), (gst_pad_collect_valist),
19889 (gst_pad_template_dispose), (gst_pad_template_new),
19890 (gst_pad_get_internal_links):
19892 * gst/gstpipeline.c: (gst_pipeline_dispose),
19893 (gst_pipeline_change_state):
19894 * gst/gstpipeline.h:
19896 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
19897 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
19898 * gst/gstpluginfeature.h:
19899 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
19900 * gst/gstquery.c: (_gst_query_type_initialize),
19901 (gst_query_type_register), (gst_query_type_get_by_nick),
19902 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
19904 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
19905 * gst/gstscheduler.c: (gst_scheduler_add_element),
19906 (gst_scheduler_factory_create):
19907 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19908 (gst_structure_free), (gst_structure_set_name),
19909 (gst_structure_id_set_value), (gst_structure_set_value),
19910 (gst_structure_set_valist), (gst_structure_remove_field),
19911 (gst_structure_remove_fields),
19912 (gst_structure_remove_fields_valist),
19913 (gst_structure_remove_all_fields), (gst_structure_foreach),
19914 (gst_structure_map_in_place),
19915 (gst_caps_structure_fixate_field_nearest_int),
19916 (gst_caps_structure_fixate_field_nearest_double):
19917 * gst/gststructure.h:
19918 * gst/gstsystemclock.c: (gst_system_clock_class_init),
19919 (gst_system_clock_init), (gst_system_clock_dispose),
19920 (gst_system_clock_async_thread),
19921 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
19922 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
19923 * gst/gstsystemclock.h:
19924 * gst/gsttag.c: (gst_tag_list_add_value_internal),
19925 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
19926 * gst/gsttaginterface.c:
19927 * gst/gstthread.c: (gst_thread_dispose),
19928 (gst_thread_release_children_locks), (gst_thread_change_state),
19929 (gst_thread_main_loop):
19930 * gst/gsttrashstack.h:
19931 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
19933 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
19934 (gst_element_request_pad), (gst_element_get_pad_from_template),
19935 (gst_element_request_compatible_pad),
19936 (gst_element_get_compatible_pad_filtered),
19937 (gst_element_get_compatible_pad), (gst_element_state_get_name),
19938 (gst_element_link_pads_filtered), (gst_element_link_filtered),
19939 (gst_element_link_many), (gst_element_link),
19940 (gst_element_link_pads), (gst_element_unlink_pads),
19941 (gst_element_unlink_many), (gst_element_unlink),
19942 (gst_pad_can_link_filtered), (gst_pad_can_link),
19943 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
19944 (gst_object_default_error), (gst_bin_add_many),
19945 (gst_bin_remove_many), (gst_element_populate_std_props),
19946 (gst_element_class_install_std_props), (gst_buffer_merge),
19947 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
19948 (link_fold_func), (gst_pad_proxy_setcaps):
19950 * gst/gstvalue.c: (gst_value_deserialize_string):
19951 * gst/parse/grammar.y:
19952 * gst/schedulers/gstbasicscheduler.c:
19953 (gst_basic_scheduler_cothreaded_chain),
19954 (gst_basic_scheduler_chain_recursive_add),
19955 (gst_basic_scheduler_pad_link):
19956 * gst/schedulers/gstoptimalscheduler.c:
19957 (get_group_schedule_function),
19958 (gst_opt_scheduler_state_transition),
19959 (gst_opt_scheduler_add_element), (element_get_reachables_func):
19960 * libs/gst/bytestream/bytestream.c:
19961 * libs/gst/dataprotocol/dataprotocol.c:
19962 (gst_dp_header_from_buffer):
19965 * tests/threadstate/threadstate2.c: (eos):
19966 * tools/gst-compprep.c: (main):
19967 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
19968 (print_pad_info), (print_children_info):
19969 * tools/gst-launch.c: (idle_func), (main):
19970 * tools/gst-md5sum.c: (idle_func), (main):
19971 * tools/gst-xmlinspect.c: (print_element_info):
19972 First THREADED backport attempt, focusing on adding locks and
19973 making sure the API is threadsafe. Needs more work. More docs
19976 2005-02-24 Andy Wingo <wingo@pobox.com>
19978 * tests/bench-complexity.scm:
19979 * tests/complexity.gnuplot: New files, good for running complexity
19982 * tests/Makefile.am:
19983 * tests/complexity.c: New test, sets up N elements, at each level
19984 teeing into M streams per element. Eeeenteresting.
19986 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
19987 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
19988 running bench-mass_elements.scm.
19990 * tests/bench-mass_elements.scm: New script, runs mass_elements
19991 for various numbers of identities, outputting the results to a
19992 file. Requires guile 1.6. Just for testing.
19994 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
19996 * gst/schedulers/fairscheduler.c:
19997 compile with debug disabled
19999 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20002 hunting season on 0.9 is now OPEN